claw-code/rust/crates/rusty-claude-cli/src
Yeachan-Heo 8f1f65dd98 Preserve explicit resume paths while parsing slash command arguments
The release-harness merge taught --resume to keep multi-token slash commands together, but that also misclassified absolute session paths as slash commands. This follow-up keeps the latest-session shortcut for real slash commands while still treating absolute and relative filesystem paths as explicit resume targets, which restores the new integration test and the intended resume flow.

Constraint: --resume must accept both implicit latest-session shortcuts and absolute filesystem paths
Rejected: Require --resume latest for all slash-command-only invocations | breaks the new shortcut UX merged from 9103/9202
Confidence: high
Scope-risk: narrow
Directive: Distinguish slash commands with looks_like_slash_command_token before assuming a leading slash means latest-session shorthand
Tested: cargo build -p rusty-claude-cli; cargo test -p rusty-claude-cli
Not-tested: Non-UTF8 session path handling
2026-04-02 08:40:34 +00:00
..
app.rs test: cover new CLI slash command handlers 2026-04-02 06:05:24 +00:00
args.rs fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
init.rs fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
input.rs Reduce REPL overhead for orchestration-heavy workflows 2026-04-02 07:19:14 +00:00
main.rs Preserve explicit resume paths while parsing slash command arguments 2026-04-02 08:40:34 +00:00
render.rs wip: plugins progress 2026-04-01 07:09:29 +00:00