Skip to content

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.

Merge pull request #1107 from eneskirca/feat/integration-consent

eneskirca96c7803515b8
diff --cc CONTRIBUTING.md
index 1501a4fce,9fab8fed1..c0ddf27e0
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@@ -1162,15 -1153,15 +1172,22 @@@ not the ssh binary. If you add an ssh c
others, and if you add an ssh option to `control-master.ts`, teach `ssh-argv.ts` about it (the
parser refuses unknown options on purpose). Test from macOS/Linux with `NODETERM_NATIVE_SSH=1`.
+**A dependency with a native addon that the Server Edition reaches is `--external:` in
+`server:build`.** Hosts build the bundle after `npm ci --ignore-scripts`, so no addon is compiled
+there, and esbuild fails on a `.node` require it cannot resolve (or, where the addon IS compiled,
+on a file it has no loader for). No CI job builds the server bundle, but
+`src/server/server-build.test.ts` builds it in both views and goes red. The server runs from a
+`node_modules` tree, so an external is resolved at runtime.
+
## Testing
+ **Run the suite with a scratch `HOME`, and know what else points at your real config.** The worker
+ setup (`test/setup/agent-env.ts`) strips `CLAUDE_CONFIG_DIR`, `CODEX_HOME`, `GROK_HOME`,
+ `COPILOT_HOME`, `GEMINI_CLI_HOME`, `XDG_CONFIG_HOME` and the `NODETERM_*` session variables, because
+ a suite run from inside a nodeterm agent session inherits them and code under test resolves the
+ LIVE agent config dir from them — a scratch `HOME` alone did not stop a test from rewriting the
+ running session's own skills and hooks (#744). A test that needs one sets it itself.
+
**Screenshot paste has one route per gesture.** On macOS, Cmd+V saves/uploads a file and
pastes its path; Ctrl+V belongs to the foreground program. A node's configured agent is not
proof of foreground clipboard-image support. Keep shell/SSH/Server file routing and capture