Frontmatter
| id | 8191 |
| title | Feat: Neural Link - Global Config Management |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Dec 28, 2025, 10:30 PM |
| updatedAt | Jan 4, 2026, 11:16 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8191 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8169 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 4, 2026, 11:16 AM |
Feat: Neural Link - Global Config Management
tobiu added parent issue #8169 on Dec 28, 2025, 10:30 PM
tobiu assigned to @tobiu on Jan 4, 2026, 10:45 AM

tobiu
Jan 4, 2026, 11:16 AM
Input from Gemini 2.5 pro:
✦ I have successfully implemented the Global Config Management feature for the Neural Link, enabling runtime inspection and modification of
Neo.config.Enhanced Scope: Multi-Window Awareness
During implementation, we identified a critical need to distinguish between the shared global state and the initial boot configuration of individual windows. We enhanced the
get_neo_configtool to support an optionalwindowIdparameter:
- Global Config (Default): Returns the current, merged
Neo.configshared across the App Worker.- Window Boot Config: If
windowIdis provided, returns the specific configuration used to initialize that window (stored inNeo.windowConfigs), allowing agents to inspect the "origin story" of a specific view.Affected Files
Client-Side:
src/ai/client/RuntimeService.mjs: AddedgetNeoConfigandsetNeoConfigmethods.Server-Side:
ai/mcp/server/neural-link/services/RuntimeService.mjs: Added bridge methods to delegate config requests to the client.ai/mcp/server/neural-link/services/toolService.mjs: Registeredget_neo_configandset_neo_configtools.ai/mcp/server/neural-link/openapi.yaml: Defined the new API endpoints and schemas, including safety warnings for runtime config changes.Documentation Cleanup
We also performed a cleanup pass to ensure
windowIdis consistently typed asString(UUID) across all JSDocs and API definitions, correcting legacyNumber/integerreferences.
tobiu closed this issue on Jan 4, 2026, 11:16 AM
Context:
Neo.configcontrols framework-level behavior. While some configs are boot-time constants (e.g.,useSharedWorkers,environment), others are runtime-mutable (e.g.,themes, custom app flags). Agents need access to this system.Scope:
Enhance
RuntimeService:getNeoConfig(sessionId).Neo.config.setNeoConfig(sessionId, config).Neo.setGlobalConfig(config).Tools:
get_neo_config: Returns theNeo.configobject.set_neo_config: Accepts a partial config object.Goal: Enable runtime configuration management.