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 pty

From Leeroopedia
Knowledge Sources
Domains Terminal, Infrastructure
Last Updated 2026-10-26 18:00 GMT

Overview

node-pty: the native Node.js module that spawns pseudo-terminals, used by AI Maestro's server-side PTY pool and diagnostics to inspect live terminal sessions.

Description

AI Maestro's `server.mjs` maintains a pool of node-pty processes for headless terminal access and streaming. The diagnostics service uses node-pty (and tmux capture) to inspect agent terminal state for self-diagnostics. Because node-pty is a native addon, it requires compilation on install and ties AI Maestro to the host's libc and kernel.

Usage

Use this environment for server-side implementations that spawn or inspect pseudo-terminals. Requires a build toolchain on install.

System Requirements

Category Requirement Notes
Build Python 3 + make + C++ Native addon compilation
OS Linux / macOS Not supported on Windows for AI Maestro

Dependencies

  • `node-pty` (npm native addon)

Related Pages

Page Connections

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