MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / status

Method status

packages/agent-core/src/agent/usage/index.ts:54–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 }
53
54 status(): UsageStatus | undefined {
55 const status = this.data();
56 if (
57 status.byModel === undefined &&
58 status.total === undefined &&
59 status.currentTurn === undefined
60 ) {
61 return undefined;
62 }
63 return status;
64 }
65
66 private byModelSnapshot(): Record<string, TokenUsage> {
67 return Object.fromEntries(

Callers

nothing calls this directly

Calls 1

dataMethod · 0.95

Tested by

no test coverage detected