MCPcopy
hub / github.com/codeaashu/claude-code / createBudgetTracker

Function createBudgetTracker

src/query/tokenBudget.ts:13–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11}
12
13export function createBudgetTracker(): BudgetTracker {
14 return {
15 continuationCount: 0,
16 lastDeltaTokens: 0,
17 lastGlobalTurnTokens: 0,
18 startedAt: Date.now(),
19 }
20}
21
22type ContinueDecision = {
23 action: 'continue'

Callers 1

queryLoopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected