mirror of
https://github.com/ultraworkers/claw-code.git
synced 2026-04-11 14:11:44 +08:00
Add SlashCommand::slash_name() to the commands crate — returns the
canonical '/name' string for any variant. Used in the REPL's stub
catch-all arm to surface which command was typed instead of printing
the opaque 'Command registered but not yet implemented.'
Before: typing /rewind → 'Command registered but not yet implemented.'
After: typing /rewind → '/rewind is not yet implemented in this build.'
Also update the compacts_sessions_via_slash_command test assertion to
tolerate the boundary-guard fix from
|
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||