Artifact 3f22ebab3064bad9a4cf10fa045135ed291aaf0ce4f410bc8019f745f1cecd24:
- File test/pic/rpc-fixtures/get_session_stats.json — part of check-in [8d5c451daa] at 2026-11-20 21:21:53 on branch rpc-mode — pic --mode rpc: Pi's JSONL RPC protocol with its 33 commands (prompt, steer, follow_up, abort, compact mid-turn, fork, clone, switch_session, models, thinking, queue modes, bash, export_html, stats, tree); the journal is held only while a command runs (user: dmestas, size: 549) [annotate] [blame] [check-ins using] [more...]
{ "type": "response", "command": "get_session_stats", "success": true, "data": { "sessionFile": "/path/to/session.jsonl", "sessionId": "abc123", "userMessages": 5, "assistantMessages": 5, "toolCalls": 12, "toolResults": 12, "totalMessages": 22, "tokens": { "input": 50000, "output": 10000, "cacheRead": 40000, "cacheWrite": 5000, "total": 105000 }, "cost": 0.45, "contextUsage": { "tokens": 60000, "contextWindow": 200000, "percent": 30 } } }