Frontmatter
| id | 8181 |
| title | Feat: ConnectionService Lifecycle Tools |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Dec 28, 2025, 7:42 PM |
| updatedAt | Dec 28, 2025, 8:22 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8181 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8169 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 28, 2025, 8:22 PM |
Feat: ConnectionService Lifecycle Tools
tobiu added parent issue #8169 on Dec 28, 2025, 7:42 PM
tobiu assigned to @tobiu on Dec 28, 2025, 8:19 PM

tobiu
Dec 28, 2025, 8:22 PM
Input from Gemini 3.0:
✦ I have implemented the lifecycle management tools for the ConnectionService.
Features:
- WebSocket Control:
ConnectionServicenow has idempotentstartServer()andstopServer()methods.- New Tools:
start_ws_server: Restarts the bridge if it was stopped.stop_ws_server: Shuts down the bridge and closes active connections.- Refactoring:
initAsyncwas updated to reuse thestartServerlogic, ensuring consistency.This empowers agents to perform recovery operations and test connection resilience.
tobiu closed this issue on Dec 28, 2025, 8:22 PM
Enhance
ConnectionServiceto provide lifecycle management tools for the WebSocket server.Scope:
start_ws_servertool: Allows restarting the WebSocket server if it was stopped.stop_ws_servertool: Allows shutting down the WebSocket server (simulating a disconnect or for cleanup).ConnectionServiceis the only service managing the WebSocket lifecycle.Goal: Give agents control over the bridge connection state for recovery and testing scenarios.