previous-draft/collectors/copilot.py
Comment 1, line 1
previous-draft/collectors/copilot.py:1
# -*- coding: utf-8 -*-Comment 2, line 2
previous-draft/collectors/copilot.py:2
"""Copilot collector: assistant_usage_events in ~/.copilot/session-store.dband each session-state/*/session.db.
input_tokens includes cache hits; split input = input_tokens - cache_read_tokens."""Comment 3, line 32
previous-draft/collectors/copilot.py:32
"""Copy the live database before querying incremental events."""Comment 4, line 75
previous-draft/collectors/copilot.py:75
# Outside the incremental window; request_id deduplication provides idempotency.