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

Function cancelShellCommand

packages/node-sdk/src/rpc.ts:262–270  ·  view source on GitHub ↗
(input: { sessionId: string; commandId: string })

Source from the content-addressed store, hash-verified

260 }
261
262 async cancelShellCommand(input: { sessionId: string; commandId: string }): Promise<void> {
263 const agentId = this.interactiveAgentId;
264 const rpc = await this.getRpc();
265 return rpc.cancelShellCommand({
266 sessionId: input.sessionId,
267 agentId,
268 commandId: input.commandId,
269 });
270 }
271
272 async steer(input: SessionPromptRpcInput): Promise<void> {
273 const agentId = this.interactiveAgentId;

Callers

nothing calls this directly

Calls 2

getRpcMethod · 0.45
cancelShellCommandMethod · 0.45

Tested by

no test coverage detected