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

Method createGoal

packages/agent-core/src/rpc/core-impl.ts:809–814  ·  view source on GitHub ↗
({
    sessionId,
    ...payload
  }: SessionAgentPayload<CreateGoalPayload>)

Source from the content-addressed store, hash-verified

807 }
808
809 createGoal({
810 sessionId,
811 ...payload
812 }: SessionAgentPayload<CreateGoalPayload>): Promise<GoalSnapshot> {
813 return Promise.resolve(this.sessionApi(sessionId).createGoal(payload));
814 }
815
816 getGoal({ sessionId, ...payload }: SessionAgentPayload<EmptyPayload>): Promise<GoalToolResult> {
817 return Promise.resolve(this.sessionApi(sessionId).getGoal(payload));

Callers 5

goal.test.tsFile · 0.45
goal.test.tsFile · 0.45
goal.test.tsFile · 0.45
resolveExecutionMethod · 0.45

Calls 2

sessionApiMethod · 0.95
resolveMethod · 0.65

Tested by

no test coverage detected