Environment:23blocks OS Ai maestro Node js WebSocket
| Knowledge Sources | |
|---|---|
| Domains | Network, Infrastructure |
| Last Updated | 2026-10-26 18:00 GMT |
Overview
The `ws` Node.js WebSocket library: the server-side WebSocket implementation used by AI Maestro's WebSocket proxy and `server.mjs` to serve terminal, status, AMP, and companion channels.
Description
AI Maestro's `server.mjs` uses the `ws` package to serve multiple WebSocket channels (terminal, status, AMP relay, companion voice) on the same port as HTTP. The WebSocket proxy (`lib/websocket-proxy.mjs`) bridges a remote host's terminal WebSocket to a local client so users can view agents on peer hosts without a separate connection. `ws` provides the server lifecycle, connection registry, and message framing.
Usage
Use this environment for server-side implementations that accept or proxy WebSocket connections.
System Requirements
| Category | Requirement | Notes |
|---|---|---|
| Runtime | Node.js >= 18 | ws runs on the server |
Dependencies
- `ws` (npm)