core-agent-ide/codex-rs/tui/src
Michael Bolin 50f53e7071
feat: add path field to ParsedCommand::Read variant (#5275)
`ParsedCommand::Read` has a `name` field that attempts to identify the
name of the file being read, but the file may not be in the `cwd` in
which the command is invoked as demonstrated by this existing unit test:


0139f6780c/codex-rs/core/src/parse_command.rs (L250-L260)

As you can see, `tui/Cargo.toml` is the relative path to the file being
read.

This PR introduces a new `path: PathBuf` field to `ParsedCommand::Read`
that attempts to capture this information. When possible, this is an
absolute path, though when relative, it should be resolved against the
`cwd` that will be used to run the command to derive the absolute path.

This should make it easier for clients to provide UI for a "read file"
event that corresponds to the command execution.
2025-10-17 06:19:54 +00:00
..
bin replace tui_markdown with a custom markdown renderer (#3396) 2025-09-10 12:13:53 -07:00
bottom_pane Add log upload support (#5257) 2025-10-16 21:03:23 -07:00
chatwidget feat: add path field to ParsedCommand::Read variant (#5275) 2025-10-17 06:19:54 +00:00
exec_cell fix: the 7 omitted lines issue (#5141) 2025-10-14 18:15:47 +01:00
onboarding feat: Auto update approval (#5185) 2025-10-15 16:11:20 -07:00
public_widgets Add cloud tasks (#3197) 2025-09-30 10:10:33 +00:00
render tui: fix wrapping in trust_directory (#5007) 2025-10-09 17:39:45 +00:00
snapshots feat: Auto update approval (#5185) 2025-10-15 16:11:20 -07:00
status Fix status usage ratio (#4584) 2025-10-02 10:27:10 -07:00
streaming tui: bring the transcript closer to display mode (#4848) 2025-10-07 16:18:48 -07:00
app.rs Add log upload support (#5257) 2025-10-16 21:03:23 -07:00
app_backtrack.rs Add log upload support (#5257) 2025-10-16 21:03:23 -07:00
app_event.rs feat(tui): Add confirmation prompt for enabling full access approvals (#4980) 2025-10-16 17:31:46 -07:00
app_event_sender.rs tui: switch to using tokio + EventStream for processing crossterm events (#2489) 2025-08-20 17:11:09 +00:00
ascii_animation.rs chore: remove model upgrade popup (#4332) 2025-09-27 13:25:09 -07:00
chatwidget.rs [MCP] Add support for resources (#5239) 2025-10-17 01:05:15 -04:00
citation_regex.rs Added allow-expect-in-tests / allow-unwrap-in-tests (#2328) 2025-08-14 17:59:01 -07:00
cli.rs cli: fix zsh completion (#4692) 2025-10-07 08:07:31 -07:00
clipboard_paste.rs chore: clippy on redundant closure (#4058) 2025-09-22 19:30:16 +00:00
color.rs update composer + user message styling (#4240) 2025-09-26 16:35:56 -07:00
custom_terminal.rs tui: bring the transcript closer to display mode (#4848) 2025-10-07 16:18:48 -07:00
diff_render.rs tui: fix wrapping in trust_directory (#5007) 2025-10-09 17:39:45 +00:00
exec_command.rs chore: clippy on redundant closure (#4058) 2025-09-22 19:30:16 +00:00
file_search.rs chore: upgrade to Rust 1.89 (#2465) 2025-08-19 13:22:02 -07:00
frames.rs Login flow polish (#3632) 2025-09-15 00:42:53 -07:00
get_git_diff.rs Show progress indicator for /diff command (#2245) 2025-08-15 15:32:41 -07:00
history_cell.rs feat: add path field to ParsedCommand::Read variant (#5275) 2025-10-17 06:19:54 +00:00
insert_history.rs update composer + user message styling (#4240) 2025-09-26 16:35:56 -07:00
key_hint.rs normalize key hints (#4586) 2025-10-02 18:34:47 +00:00
lib.rs Add log upload support (#5257) 2025-10-16 21:03:23 -07:00
live_wrap.rs Stream model responses (#1810) 2025-08-05 04:23:22 +00:00
main.rs fix codex resume message at end of session (#3957) 2025-09-22 22:24:31 +00:00
markdown.rs wrap markdown at render time (#4506) 2025-09-30 23:13:55 +00:00
markdown_render.rs wrap markdown at render time (#4506) 2025-09-30 23:13:55 +00:00
markdown_render_tests.rs replace tui_markdown with a custom markdown renderer (#3396) 2025-09-10 12:13:53 -07:00
markdown_stream.rs add(core): managed config (#3868) 2025-10-03 13:02:26 -07:00
pager_overlay.rs tui: /diff mode wraps long lines (#4891) 2025-10-09 14:01:45 -07:00
resume_picker.rs revert /name for now (#4978) 2025-10-08 17:13:49 -07:00
selection_list.rs feat: Auto update approval (#5185) 2025-10-15 16:11:20 -07:00
session_log.rs tui: bring the transcript closer to display mode (#4848) 2025-10-07 16:18:48 -07:00
shimmer.rs tui: hardcode xterm palette, shimmer blends between fg and bg (#4957) 2025-10-08 20:23:13 +00:00
slash_command.rs Add log upload support (#5257) 2025-10-16 21:03:23 -07:00
status_indicator_widget.rs feat: message when stream get correctly resumed (#4988) 2025-10-10 09:07:14 +00:00
style.rs tui: hardcode xterm palette, shimmer blends between fg and bg (#4957) 2025-10-08 20:23:13 +00:00
terminal_palette.rs tui: fix off-by-16 in terminal_palette (#4967) 2025-10-08 14:57:32 -07:00
test_backend.rs tui: fix wrapping in trust_directory (#5007) 2025-10-09 17:39:45 +00:00
text_formatting.rs feat: update splash (#3631) 2025-09-15 06:44:40 -07:00
tui.rs tui: hardcode xterm palette, shimmer blends between fg and bg (#4957) 2025-10-08 20:23:13 +00:00
ui_consts.rs Fixes (#4458) 2025-09-30 00:10:04 +00:00
update_prompt.rs feat: Auto update approval (#5185) 2025-10-15 16:11:20 -07:00
updates.rs feat: Auto update approval (#5185) 2025-10-15 16:11:20 -07:00
version.rs Added CLI version to /status output (#3223) 2025-09-05 16:27:31 -07:00
wrapping.rs tui: fix wrapping in trust_directory (#5007) 2025-10-09 17:39:45 +00:00