Skip to content

Commit 38858d8

Browse files
committed
docs(server): document transcript line parsing
1 parent e8cb5ed commit 38858d8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎apps/server/src/usage/usageTranscriptReader.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,10 @@ export async function readTranscriptRecords(
217217
resumed = true;
218218
}
219219

220+
/**
221+
* Appends all usage records from one provider transcript line, including
222+
* Claude advisor calls, and updates Codex state even on context-only lines.
223+
*/
220224
const parseLine = (line: string, state: CodexScanState, out: UsageRecord[]): void => {
221225
if (provider === "codex") {
222226
if (

0 commit comments

Comments
 (0)