MCPcopy Create free account
hub / github.com/Ark0N/Codeman / getAggregateStats

Method getAggregateStats

src/state-store.ts:641–670  ·  view source on GitHub ↗

* Returns aggregate stats combining global (deleted sessions) + active sessions. * @param activeSessions Map of active session states

(
    activeSessions: Record<string, { inputTokens?: number; outputTokens?: number; totalCost?: number }>
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

getLightStateMethod · 0.80
registerSystemRoutesFunction · 0.80

Calls 2

getGlobalStatsMethod · 0.95
valuesMethod · 0.45

Tested by

no test coverage detected