Environment:23blocks OS Ai maestro node pty
| 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)