/** * Code Execution Internal MCP * * Exposes the code:run tool for executing TypeScript code * with access to all other MCPs as namespaces. * * This enables the automation powerhouse: * - Schedule CODE that orchestrates multiple MCPs * - Code can access any MCP in the system * - Supports complex workflows in single execution */ import { InternalMCP, InternalTool, InternalToolResult } from './types.js'; import { NCPOrchestrator } from '../orchestrator/ncp-orchestrator.js'; export declare class CodeMCP implements InternalMCP { name: string; description: string; private orchestrator; tools: InternalTool[]; constructor(); /** * Set the orchestrator instance (called after construction) */ setOrchestrator(orchestrator: NCPOrchestrator): void; /** * Execute code tool or manage execution runs */ executeTool(toolName: string, parameters: any): Promise; /** * Execute code with MCP access */ private executeRun; /** * List recent code execution runs */ private listRuns; /** * Get details of a specific code execution run */ private getRun; /** * Convert a code execution into a reusable Photon */ private saveAsPhoton; } //# sourceMappingURL=code.d.ts.map