/** * batch_execute tool (ctx_batch_execute) — run N shell commands via run-pool. * * Order-preserving (results[i] ↔ commands[i]) and concurrency-capped. The * controller delegates to runPool with the requested concurrency (default * clamped by cpu count). Auto-indexing of outputs is optional and currently * a no-op stub — the core value is parallel gather. */ import type { ToolResponse, IToolHandler } from "@massa-th0th/shared"; export interface BatchCommand { command: string; } export interface BatchExecuteParams { commands: string[]; queries?: string[]; timeout?: number; concurrency?: number; cwd?: string; query_scope?: string; } export declare class BatchExecuteTool implements IToolHandler { name: string; description: string; inputSchema: { type: string; properties: { commands: { type: string; items: { type: string; }; description: string; }; queries: { type: string; items: { type: string; }; description: string; }; timeout: { type: string; description: string; }; concurrency: { type: string; description: string; }; cwd: { type: string; description: string; }; query_scope: { type: string; description: string; }; }; required: string[]; }; private run; constructor(run: (params: BatchExecuteParams) => Promise); handle(params: unknown): Promise; } //# sourceMappingURL=batch_execute.d.ts.map