/** * execute tool (ctx_execute) — run code in a detected runtime. * * Thin MCP handler: schema + delegation to the ExecutorController. The * controller owns the PolyglotExecutor instance and applies the intent * progressive-disclosure pass on large outputs. */ import type { ToolResponse, IToolHandler } from "@massa-th0th/shared"; import type { Language } from "../services/executor/runtime.js"; export interface ExecuteParams { language: Language; code: string; timeout?: number; background?: boolean; cwd?: string; intent?: string; } export declare class ExecuteTool implements IToolHandler { name: string; description: string; inputSchema: { type: string; properties: { language: { type: string; enum: string[]; description: string; }; code: { type: string; description: string; }; timeout: { type: string; description: string; }; background: { type: string; description: string; default: boolean; }; cwd: { type: string; description: string; }; intent: { type: string; description: string; }; }; required: string[]; }; private run; constructor(run: (params: ExecuteParams) => Promise); handle(params: unknown): Promise; } //# sourceMappingURL=execute.d.ts.map