When running claw --output-format json --resume <session> /status, the JSON output had 'session' (full file path) but no 'session_id' field, making it impossible for scripts to extract the loaded session ID. Now extracts the session-id directory component from the session path (e.g. .claw/sessions/<session-id>/session-xxx.jsonl → session-id) and includes it as 'session_id' in the JSON status envelope. 159 CLI tests pass, fmt clean. |
||
|---|---|---|
| .. | ||
| .claw/sessions | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| build.rs | ||