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

Method swarm

packages/node-sdk/src/session.ts:141–147  ·  view source on GitHub ↗
(input: string | PromptInput)

Source from the content-addressed store, hash-verified

139 }
140
141 async swarm(input: string | PromptInput): Promise<void> {
142 this.ensureOpen();
143 await this.rpc.swarm({
144 sessionId: this.id,
145 input: normalizePromptInput(input),
146 });
147 }
148
149 async init(): Promise<void> {
150 this.ensureOpen();

Callers

nothing calls this directly

Calls 2

ensureOpenMethod · 0.95
normalizePromptInputFunction · 0.85

Tested by

no test coverage detected