Context:
To enable advanced "Self-Healing" and "Active Monitoring" workflows, standalone scripts (like ai/examples/self-healing.mjs) need direct access to Neural Link capabilities without going through the MCP protocol.
Current State:
ai/services.mjs (the SDK entry point) only exports NeuralLink_ConnectionService.
Requirement:
- Export Domain Services: Update
ai/services.mjs to export:
NeuralLink_ComponentService
NeuralLink_DataService
NeuralLink_InteractionService (etc.)
- Ensure Safety: Apply the
makeSafe() wrapper to these services to enforce OpenAPI validation.
- Lifecycle Management: Ensure these services correctly handle initialization (
initAsync) and dependency checks (e.g., waiting for ConnectionService to be ready/connected) before executing commands. This mimics the pattern used in Knowledge Base and Memory Core services.
Goal:
Empower standalone AI scripts to "import and use" the full power of the Neural Link.
Context: To enable advanced "Self-Healing" and "Active Monitoring" workflows, standalone scripts (like
ai/examples/self-healing.mjs) need direct access to Neural Link capabilities without going through the MCP protocol.Current State:
ai/services.mjs(the SDK entry point) only exportsNeuralLink_ConnectionService.Requirement:
ai/services.mjsto export:NeuralLink_ComponentServiceNeuralLink_DataServiceNeuralLink_InteractionService(etc.)makeSafe()wrapper to these services to enforce OpenAPI validation.initAsync) and dependency checks (e.g., waiting forConnectionServiceto be ready/connected) before executing commands. This mimics the pattern used in Knowledge Base and Memory Core services.Goal: Empower standalone AI scripts to "import and use" the full power of the Neural Link.