/** * Dynamic methodology activation for bootstrap mode. * * When the MCP server starts without a methodology profile (no .ido4/ config), * it enters bootstrap mode with only profile-independent tools. After init_project * or create_sandbox writes the config, this module activates the correct methodology * by dynamically registering profile-dependent tools, resources, and prompts. * * Methodology is immutable once set — activation happens at most once per session. */ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import type { MethodologyProfile } from '@ido4/core'; type ActivationCallback = (server: McpServer, profile: MethodologyProfile) => void; /** * Store the callback that will register profile-dependent tools. * Called once during createServer() in bootstrap mode. */ export declare function setActivationCallback(cb: ActivationCallback): void; /** * Activate the methodology by loading the profile from disk and calling the * stored registration callback. Idempotent — does nothing if already activated * or if no callback was set (full mode). */ export declare function activateMethodology(server: McpServer): Promise; /** * Reset activation state. Used in tests and after destroy_sandbox. */ export declare function resetMethodologyActivation(): void; export {}; //# sourceMappingURL=methodology-activation.d.ts.map