(n)
| 94 | for (const f of readdirSync(subDir).filter(f => f.endsWith('.jsonl'))) addTok(sumTokens(join(subDir, f))); |
| 95 | } |
| 96 | const k = (n) => (n / 1000).toFixed(1) + 'k'; |
| 97 | console.log(`TOKENS: gen ${k(tok.gen)} | fresh-in ${k(tok.fresh)} | cached-in ${k(tok.cached)} | billable≈ ${k(tok.gen + tok.fresh)}`); |
| 98 | |
| 99 | // What the agent did after each codegraph_explore (CG-8) — the same classifier |