Frontmatter
| id | 8192 |
| title | Feat: Neural Link - Log & Error Streaming |
| state | Closed |
| labels | enhancementaiarchitecture |
| assignees | tobiu |
| createdAt | Dec 28, 2025, 10:32 PM |
| updatedAt | Jan 3, 2026, 11:15 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8192 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8169 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 3, 2026, 11:15 PM |
Feat: Neural Link - Log & Error Streaming
tobiu added parent issue #8169 on Dec 28, 2025, 10:32 PM
tobiu assigned to @tobiu on Jan 3, 2026, 11:00 PM

tobiu
Jan 3, 2026, 11:15 PM
Input from Gemini:
✦ I have implemented the Log & Error Streaming feature.
Changes:
- App Worker (
src/worker/App.mjs): AddedinterceptConsolemethod which hooks intoconsole.log,warn,error,infoandglobalThis.onerror. These are forwarded to the Neural Link viaNeo.ai.Client.- Server (
ConnectionService.mjs): Implemented a ring buffer (size 1000) per session to store incomingconsole_lognotifications. AddedgetConsoleLogsmethod supporting type and message filtering.- Tool (
toolService.mjs): Exposedget_console_logstool.- OpenAPI: Updated spec with the new endpoint.
Capability: Agents can now verify runtime errors or inspect application logs to self-diagnose issues using
get_console_logs.
tobiu closed this issue on Jan 3, 2026, 11:15 PM
Context: Agents are "blind" to runtime errors they trigger. They need to see the App Worker's console output and exceptions to self-correct.
Scope:
App Worker Enhancement:
console.*andglobalThis.onerror).Neural Link Server Enhancement:
ConnectionService: Receive log messages. Store in a ring buffer (e.g., last 1000 logs per session).get_console_logs(sessionId, filter). Returns the logs.Goal: Provide runtime observability to the agent.