claw-code-parity/rust/crates
Yeachan-Heo a127ad7878 Reduce CLI dead-ends around help and session recovery
The Rust CLI now points users toward the right next step when they hit an
unknown slash command or mistype a flag, and it surfaces session shortcuts
more clearly in both help text and the REPL banner. It also lowers session
friction by accepting `latest` as a managed-session shortcut, allowing
`--resume` without an explicit path, and sorting saved sessions with
millisecond precision so the newest session is stable.

Constraint: Keep the change inside the existing Rust CLI surface and avoid overlapping new handlers
Constraint: Full workspace clippy -D warnings is currently blocked by pre-existing runtime warnings outside this change
Rejected: Add new slash commands for session shortcuts | higher overlap with already-landed handler work
Rejected: Treat unknown bare words as invalid subcommands | would break shorthand prompt mode
Confidence: high
Scope-risk: moderate
Directive: Preserve bare-word prompt mode when adjusting CLI parsing; only surface guidance for flag-like inputs and slash commands
Tested: cargo clippy -p rusty-claude-cli --bin claw --no-deps -- -D warnings
Tested: cargo test -p rusty-claude-cli
Tested: cargo run -q -p rusty-claude-cli -- --help
Tested: cargo run -q -p rusty-claude-cli -- --resum
Tested: cargo run -q -p rusty-claude-cli -- /stats
Not-tested: Full workspace clippy -D warnings still fails in unrelated runtime code
2026-04-02 07:15:03 +00:00
..
api chore: clean up post-merge compiler warnings 2026-04-02 14:00:07 +09:00
commands Merge remote-tracking branch 'origin/rcc/jsonl-session' into integration/dori-cleanroom 2026-04-02 11:10:48 +09:00
compat-harness wip: plugins progress 2026-04-01 07:09:06 +00:00
plugins Merge remote-tracking branch 'origin/rcc/plugins' into integration/dori-cleanroom 2026-04-01 19:13:53 +09:00
runtime chore: clean up post-merge compiler warnings 2026-04-02 14:00:07 +09:00
rusty-claude-cli Reduce CLI dead-ends around help and session recovery 2026-04-02 07:15:03 +00:00
telemetry feat: anthropic SDK header matching + request profile 2026-04-01 05:55:25 +00:00
tools fix: forward prompt cache events through clients 2026-04-02 11:38:24 +09:00