Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ getGoal
Method
getGoal
packages/node-sdk/src/session.ts:403–406 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
401
}
402
403
async
getGoal(): Promise<GoalToolResult> {
404
this.ensureOpen();
405
return
this.rpc.getGoal({ sessionId: this.id });
406
}
407
408
async
pauseGoal(): Promise<GoalSnapshot> {
409
this.ensureOpen();
Callers
7
session-goal.test.ts
File · 0.45
session-plan-compact-usage-resume.test.ts
File · 0.45
getGoal
Function · 0.45
syncRuntimeState
Method · 0.45
queueNextGoal
Function · 0.45
showGoalStatus
Function · 0.45
runHeadlessGoal
Function · 0.45
Calls
1
ensureOpen
Method · 0.95
Tested by
no test coverage detected