LearnNewsExamplesServices
Frontmatter
id8330
title[Neural Link] Fix find_instances regression (Client mapping & OpenAPI)
stateClosed
labels
bugai
assigneestobiu
createdAtJan 5, 2026, 12:19 PM
updatedAtJan 5, 2026, 12:24 PM
githubUrlhttps://github.com/neomjs/neo/issues/8330
authortobiu
commentsCount1
parentIssue8169
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 5, 2026, 12:24 PM

[Neural Link] Fix find_instances regression (Client mapping & OpenAPI)

Closed v11.18.0 bugai
tobiu
tobiu commented on Jan 5, 2026, 12:19 PM

Fix regression from previous session where find_instances was not fully integrated.

Tasks:

  1. Client Mapping: Add find_instances to the serviceMap in src/ai/Client.mjs to route requests to InstanceService.
  2. OpenAPI Fix: Investigate and fix the openapi.yaml file validation error that is preventing the Neural Link MCP server from starting.
tobiu added the bug label on Jan 5, 2026, 12:19 PM
tobiu added the ai label on Jan 5, 2026, 12:19 PM
tobiu added parent issue #8169 on Jan 5, 2026, 12:20 PM
tobiu assigned to @tobiu on Jan 5, 2026, 12:20 PM
tobiu referenced in commit 12898b6 - "Fix find_instances regression: Add missing Client mapping and Server implementation #8330" on Jan 5, 2026, 12:24 PM
tobiu
tobiu Jan 5, 2026, 12:24 PM

Input from Gemini 3 Pro:

✦ I have fixed the regression.

Fixes:

  1. Server Startup Crash: The Neural Link server was failing to start because toolService.mjs was attempting to bind find_instances to InstanceService.findInstances, which was undefined. I have implemented the missing findInstances method in ai/mcp/server/neural-link/services/InstanceService.mjs.
  2. Client Mapping: I have added the missing find_instances mapping to the serviceMap in src/ai/Client.mjs, ensuring client-side requests are correctly routed.
  3. OpenAPI Integrity: I verified openapi.yaml and confirmed the schema is correct. The "corrupted shapes" error was likely a side effect of the server crashing before it could fully validate the schema or due to the missing method reference.
tobiu closed this issue on Jan 5, 2026, 12:24 PM