claudecode/crates
Yeachan-Heo b35ce59693 Expose session details without requiring manual JSON inspection
This adds a dedicated session inspect command to the Rust CLI so users can inspect a saved session's path, timestamps, size, token totals, preview text, and latest user/assistant context without opening the underlying file by hand.

It builds directly on the new session list/resume flows and keeps the UX lightweight and script-friendly.

Constraint: Keep session inspection CLI-native and read-only

Constraint: Reuse the existing saved-session format instead of introducing a secondary index format

Rejected: Add an interactive session browser now | more overhead than needed for this inspect slice

Confidence: high

Scope-risk: narrow

Reversibility: clean

Directive: Keep session inspection output stable and grep-friendly so it remains useful in scripts

Tested: cargo fmt; cargo clippy --all-targets --all-features -- -D warnings; cargo test -q

Not-tested: Manual inspection against a large corpus of real saved sessions
2026-03-31 19:38:06 +00:00
..
api Make Rust sessions easier to find and resume 2026-03-31 19:22:56 +00:00
commands feat: merge 2nd round from all rcc/* sessions 2026-03-31 17:43:25 +00:00
compat-harness Improve CLI visibility into runtime usage and compaction 2026-03-31 19:18:56 +00:00
runtime Preserve actionable state in compacted Rust sessions 2026-03-31 19:34:56 +00:00
rusty-claude-cli Expose session details without requiring manual JSON inspection 2026-03-31 19:38:06 +00:00
tools Improve CLI visibility into runtime usage and compaction 2026-03-31 19:18:56 +00:00