Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ getUsage
Method
getUsage
packages/node-sdk/src/session.ts:279–282 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
277
}
278
279
async
getUsage(): Promise<SessionUsage> {
280
this.ensureOpen();
281
return
this.rpc.getUsage({ sessionId: this.id });
282
}
283
284
async
getStatus(): Promise<SessionStatus> {
285
this.ensureOpen();
Callers
4
session-plan-compact-usage-resume.test.ts
File · 0.45
getUsage
Function · 0.45
getStatus
Function · 0.45
loadSessionUsageReport
Function · 0.45
Calls
1
ensureOpen
Method · 0.95
Tested by
no test coverage detected