mirror of
https://github.com/lWolvesl/claw-code.git
synced 2026-04-02 20:51:52 +08:00
This adds the remaining user-facing slash commands, enables non-interactive model and JSON prompt output, and tightens the help and startup copy so the Rust CLI feels coherent as a standalone interface. The implementation keeps the scope narrow by reusing the existing session JSON format and local runtime machinery instead of introducing new storage layers or dependencies. Constraint: No new dependencies allowed for this polish pass Constraint: Do not commit OMX runtime state Rejected: Add a separate session database | unnecessary complexity for local CLI persistence Rejected: Rework argument parsing with clap | too broad for the current delivery window Confidence: medium Scope-risk: moderate Reversibility: clean Directive: Managed sessions currently live under .claude/sessions; keep compatibility in mind before changing that path or file shape Tested: cargo fmt; cargo clippy --workspace --all-targets -- -D warnings; cargo test Not-tested: Live Anthropic prompt execution and interactive manual UX smoke test