/** * swarm/command — /swarm slash command handler. * * Supports: * /swarm — show usage hint * /swarm — directly invoke the Swarm tool with the given task * * Also accepts on/off to enable/disable swarm mode. * Architecture reference: AgentSwarm pattern. */ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent"; import type { SwarmModeTrigger } from "./mode.js"; export interface SwarmCommandHost { /** The pi extension API. */ readonly pi: ExtensionAPI; /** Current swarm mode state. */ swarmActive: boolean; /** Set swarm mode state. */ setSwarmActive(active: boolean, trigger: SwarmModeTrigger): void; /** Log / status helpers. */ /** Send a normal user input prompt. */ sendNormalUserInput(prompt: string): void; /** Show a status message to the user. */ showStatus(message: string): void; /** Show an error message to the user. */ showError(message: string): void; /** Check if a model is configured. */ hasModel(): boolean; } export declare function registerSwarmCommand(pi: ExtensionAPI, host: SwarmCommandHost): void; //# sourceMappingURL=command.d.ts.map