Artifact fc94c621231520b69fcfbe168002a692960d8b13d346b543525e4636b86a77bf:
- File test/pic/rpc-fixtures/compact.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: 478) [annotate] [blame] [check-ins using] [more...]
{ "type": "response", "command": "compact", "success": true, "data": { "summary": "Summary of conversation...", "firstKeptEntryId": "abc123", "tokensBefore": 150000, "estimatedTokensAfter": 32000, "usage": { "input": 32000, "output": 1200, "cacheRead": 0, "cacheWrite": 0, "totalTokens": 33200, "cost": {"input": 0.01, "output": 0.02, "cacheRead": 0, "cacheWrite": 0, "total": 0.03} }, "details": {} } }