LearnNewsExamplesServices
Frontmatter
id8197
titleFeat: Neural Link - Export Domain Services in AI SDK
stateClosed
labels
enhancementaiarchitecture
assigneestobiu
createdAtDec 29, 2025, 1:03 AM
updatedAtJan 5, 2026, 5:04 PM
githubUrlhttps://github.com/neomjs/neo/issues/8197
authortobiu
commentsCount0
parentIssue8169
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 5, 2026, 5:04 PM

Feat: Neural Link - Export Domain Services in AI SDK

Closed v11.18.0 enhancementaiarchitecture
tobiu
tobiu commented on Dec 29, 2025, 1:03 AM

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:

  1. Export Domain Services: Update ai/services.mjs to export:
    • NeuralLink_ComponentService
    • NeuralLink_DataService
    • NeuralLink_InteractionService (etc.)
  2. Ensure Safety: Apply the makeSafe() wrapper to these services to enforce OpenAPI validation.
  3. 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.

tobiu added the enhancement label on Dec 29, 2025, 1:03 AM
tobiu added the ai label on Dec 29, 2025, 1:03 AM
tobiu added the architecture label on Dec 29, 2025, 1:03 AM
tobiu assigned to @tobiu on Dec 29, 2025, 1:03 AM
tobiu added parent issue #8169 on Dec 29, 2025, 1:03 AM
tobiu referenced in commit 4a80bff - "feat(ai): Export Neural Link services in AI SDK and enforce bridge connection (#8197)" on Jan 5, 2026, 5:03 PM
tobiu closed this issue on Jan 5, 2026, 5:04 PM