Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
Merge remote-tracking branch 'origin/main' into fix/log-sink-stdio-eio
enes8f3983b5bbde
diff --cc CONTRIBUTING.mdindex 8db9d21dc,b7089aff8..2af6e84e5--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@@ -134,14 -134,15 +134,23 @@@ here has: not while the kanban board coreasoning. A comment that restates the code is noise; one that says "do not simplify this back,here is what broke" is the point.+ **A generated sh client reads its node token through the one resolver.** Every POSIX-sh client we+ emit (the managed hook script, `nodeterm.sh`, `context.sh`) presents this node's per-node identity by+ calling `nt_read_node_token` from `core/agents/node-token-sh.ts` — never by re-typing+ `head -n 1 "$NODETERM_NODE_TOKEN_DIR/$NODETERM_NODE_ID"`. That copy was issue #384: a session is+ pinned for life to the endpoint FILE path it got at tmux creation, so a client that trusts only what+ that file advertises presents nothing forever when the file is old or unreadable — and because the+ hook script alone could heal itself, the same node proved itself through one client and was refused+ through another for the life of the session.++**A stream error is not a throw you can catch.** When a write to `process.stdout`/`stderr` fails —+`EPIPE` down a closed pipe, `EIO` after macOS revokes a closed terminal's tty — node reports it by+emitting `'error'` on the stream a tick later, and the default for an unhandled `'error'` event is+to kill the process. The stack it carries was captured at the write, so the crash *reads* as if it+happened synchronously at your `console.log`, and wrapping that call in `try/catch` changes nothing+(measured on node 22). If you write to a stream that can go away, attach an `'error'` listener and+latch the writer off — `installLogSink` (`src/core/log-sink.ts`) is the worked example. Issue #382.+**Agent features attach to base harness capabilities, not frontend allowlists.** A custom agent caninherit a builtin harness, so add the capability and its one shared leaf (`src/shared/agents`) andlet every UI ask the helper. Repeating Claude/Codex/etc. cases in menus breaks that inheritance and