Cotton code
4 lines · 883 BRaw
{"timestamp":"2026-09-18T09:00:00.000Z","type":"session_meta","payload":{"id":"019a0000-0000-7000-8000-000000000001","cwd":"/work/repo"}}{"timestamp":"2026-09-18T09:00:01.000Z","type":"response_item","payload":{"type":"message","role":"user","content":[{"type":"input_text","text":"Add a test for the scrollback ring."}]}}{"timestamp":"2026-09-18T09:01:00.000Z","type":"response_item","payload":{"type":"message","role":"assistant","content":[{"type":"output_text","text":"I added two: one for the bound and one for the replay tail."}]}}{"timestamp":"2026-09-18T09:01:01.000Z","type":"event_msg","payload":{"type":"token_count","info":{"total_token_usage":{"input_tokens":1200,"output_tokens":340}},"rate_limits":{"primary":{"used_percent":37.5,"window_minutes":300,"resets_in_seconds":7200},"secondary":{"used_percent":12.25,"window_minutes":10080,"resets_in_seconds":259200}}}}