Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ getContext
Method
getContext
packages/node-sdk/src/session.ts:274–277 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
272
}
273
274
async
getContext(): Promise<AgentContextData> {
275
this.ensureOpen();
276
return
this.rpc.getContext({ sessionId: this.id });
277
}
278
279
async
getUsage(): Promise<SessionUsage> {
280
this.ensureOpen();
Callers
4
getContext
Function · 0.45
getStatus
Function · 0.45
useContext
Function · 0.45
handleExportMdCommand
Function · 0.45
Calls
1
ensureOpen
Method · 0.95
Tested by
no test coverage detected