Skip to main content

Module transcript

Module transcript 

Source

Modules§

claude
Claude Code session JSONL -> Vec. Reconciled with AgentsView internal/parser/claude.go (MIT, © 2026 Kenn Software LLC).
codex
Codex rollout JSONL -> Vec. Reconciled with AgentsView internal/parser/codex.go (MIT, © 2026 Kenn Software LLC).
copilot
Copilot CLI events.jsonl -> Vec. Reconciled with AgentsView internal/parser/copilot.go (MIT, © 2026 Kenn Software LLC). Authoritative per-model usage is the session.shutdown aggregate (data.modelMetrics.<model>.usage). inputTokens is a total -> uncached is input - cacheRead - cacheWrite. reasoningTokens billed as output. No shutdown event -> no usage (documented limitation).
gemini
Gemini CLI chat transcript -> Vec. Reconciled with AgentsView internal/parser/gemini.go (MIT, © 2026 Kenn Software LLC). On-disk form is a $set-mutation JSONL: each $set.messages is a full snapshot of the conversation; the latest one wins. Usage lives on type:"gemini" messages; tokens.thoughts (thinking) is billed as output.
kimi
Kimi Code wire.jsonl -> Vec. Targets quorum’s usage.record rows (full input/cache fidelity + model), not agentsview’s lower-fidelity StatusUpdate path. Prefer usageScope:"turn" rows; fall back to the latest session row. Never mix turn + session (double-counts).
obol
The obol house dialect: a provider-tagged raw-usage sidecar (usage.jsonl) that in-house harnesses emit. One row per billable LLM call:
opencode
OpenCode opencode export JSON -> Vec. Reconciled with AgentsView internal/parser/opencode.go (MIT, © 2026 Kenn Software LLC). Single document {info, messages:[…]}; per-assistant usage on the message or its step-finish part. tokens.reasoning is a separate additive bucket billed as output. Model = modelID (bare); provider routed by providerID.
pi
Pi (pi --mode json) transcript -> Vec. Reconciled with AgentsView internal/parser/pi.go (MIT, © 2026 Kenn Software LLC).
provider
Provider-keyed usage normalizers. Each turns a provider’s raw usage object into token buckets. The agent dialects and the obol house dialect share these so the per-provider accounting — the cache-bucket split, the OpenAI cached-subtraction, the part naive summers get wrong — lives in one place, not once per dialect.

Enums§

Dialect

Functions§

detect
Detect dialect from content: Codex lines carry a top-level payload (session_meta/response_item/event_msg); Claude lines carry message with type user/assistant.
parse