Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Environment:23blocks OS Ai maestro Node js WebSocket

From Leeroopedia
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)

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment