Frontmatter
| id | 8311 |
| title | Feat: Neural Link - Configurable URL & Graceful Connection |
| state | Closed |
| labels | enhancementaiarchitecture |
| assignees | tobiu |
| createdAt | Jan 4, 2026, 2:34 PM |
| updatedAt | Jan 4, 2026, 2:47 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8311 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 8169 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 4, 2026, 2:47 PM |
Context:
Neo.ai.Clientcurrently defaults tows://localhost:8081. Developers need a convenient way to configure this (e.g.,neo-config.json) without creating class overrides.useAiClientis enabled, connection attempts should be robust. If the WebSocket instantiation fails (e.g., invalid URL scheme), it should not crash the worker.Scope:
src/DefaultConfig.mjs:neuralLinkUrl(default:'ws://localhost:8081').src/ai/Client.mjs:Neo.config.neuralLinkUrlinconnect().try-catchblock to handle synchronous errors (e.g. URL syntax) gracefully.Goal: Make Neural Link configuration more flexible and runtime-safe.