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/windows-phone-pairing
enesa194d164a6c8
diff --cc .github/workflows/ci.ymlindex c4b875f30,25d538aae..a8b723fe2--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@@ -71,4 -71,4 +71,4 @@@ jobsrun: npm run host:build- name: Windows-relevant tests- run: npx vitest run src/core/fs-atomic.test.ts src/core/fs-atomic.guard.test.ts src/core/exec-path.test.ts src/core/claude-cli.test.ts src/core/codex-identity-caps.test.ts src/core/grok-cli.test.ts src/core/commit-message.test.ts src/core/context-link.windows.test.ts src/core/git-service.windows.test.ts src/core/usage/codex-usage.windows.test.ts src/session-host/ src/core/session-host-client.test.ts src/core/session-host-launch-ledger.test.ts src/core/agent-launch.test.ts src/core/pty-session-host.test.ts src/main/bootstrap-windows.test.ts src/main/media-protocol.test.ts src/main/remote-atomic-write.test.ts src/main/ssh-fs.test.ts src/main/remote-ssh/ssh-project.test.ts src/renderer/terminal/file-links.test.ts src/renderer/terminal/file-links.windows.test.ts src/renderer/terminal/file-link-dialect.test.ts src/renderer/terminal/host-platform.test.ts src/main/pairing-service.windows.test.ts src/main/windows-ssh-keys.test.ts src/shared/pairing-gate.test.ts src/renderer/components/settings/sections/PhoneSection.windows.test.tsx- run: npx vitest run src/core/fs-atomic.test.ts src/core/fs-atomic.guard.test.ts src/core/exec-path.test.ts src/core/claude-cli.test.ts src/core/codex-identity-caps.test.ts src/core/grok-cli.test.ts src/core/commit-message.test.ts src/core/context-link.windows.test.ts src/core/git-service.windows.test.ts src/core/usage/codex-usage.windows.test.ts src/session-host/ src/core/session-host-client.test.ts src/core/session-host-launch-ledger.test.ts src/core/session-host-client-startup-wait.test.ts src/core/agent-launch.test.ts src/core/pty-session-host.test.ts src/main/bootstrap-windows.test.ts src/main/media-protocol.test.ts src/main/remote-atomic-write.test.ts src/main/ssh-fs.test.ts src/main/remote-ssh/ssh-project.test.ts src/renderer/terminal/file-links.test.ts src/renderer/terminal/file-links.windows.test.ts src/renderer/terminal/file-link-dialect.test.ts src/renderer/terminal/host-platform.test.ts++ run: npx vitest run src/core/fs-atomic.test.ts src/core/fs-atomic.guard.test.ts src/core/exec-path.test.ts src/core/claude-cli.test.ts src/core/codex-identity-caps.test.ts src/core/grok-cli.test.ts src/core/commit-message.test.ts src/core/context-link.windows.test.ts src/core/git-service.windows.test.ts src/core/usage/codex-usage.windows.test.ts src/session-host/ src/core/session-host-client.test.ts src/core/session-host-launch-ledger.test.ts src/core/session-host-client-startup-wait.test.ts src/core/agent-launch.test.ts src/core/pty-session-host.test.ts src/main/bootstrap-windows.test.ts src/main/media-protocol.test.ts src/main/remote-atomic-write.test.ts src/main/ssh-fs.test.ts src/main/remote-ssh/ssh-project.test.ts src/renderer/terminal/file-links.test.ts src/renderer/terminal/file-links.windows.test.ts src/renderer/terminal/file-link-dialect.test.ts src/renderer/terminal/host-platform.test.ts src/main/pairing-service.windows.test.ts src/main/windows-ssh-keys.test.ts src/shared/pairing-gate.test.ts src/renderer/components/settings/sections/PhoneSection.windows.test.tsxdiff --cc CLAUDE.mdindex d5ec5a39f,3a36f13d0..b686a7f07--- a/CLAUDE.md+++ b/CLAUDE.md@@@ -4214,20 -4260,6 +4260,21 @@@ shared gate would freeze it permanentl`POST /v1/relay/host-token` / `/v1/relay/device` must admit deviceId (no-entitlement) mints, andthe relay server may rate-limit free hosts independently — a client-side gate must NOT bereintroduced to work around a backend refusal (fix the backend policy instead).+- **A Windows desktop pairs relay-only — no SSH key, and do not "fix" that by writing one.** The+ phone's direct-SSH path is POSIX sh + tmux end to end (nodeterm-ios `HostCommands`, `TmuxBinary`,+ the typed `tmux new-session -A` attach, workspace paths with no `%APPDATA%` candidate). Windows+ OpenSSH hands out `cmd.exe`, and sessions live in the session host, which nothing on the phone+ can attach to over SSH. So on win32 `createPairingService` installs no key, the QR carries+ `"ssh":false`, the QR is gated on the RELAY instead of sshd (`shared/pairing-gate.ts`), and a+ failed relay mint pairs NOTHING (502 to the phone, `reason:'relay-failed'` to the UI) instead of+ the SSH platforms' LAN-only degrade. **A key sshd accepts makes things worse, not better**: the+ phone tries SSH before the relay, so a working key pins it to a path that cannot work, where a+ rejected one lets it fall through. Issue #758's `administrators_authorized_keys` rule is detected+ (`main/windows-ssh-keys.ts`) only to explain the missing key; revoke still sweeps that file IN+ PLACE (a temp + rename would swap its Administrators+SYSTEM ACL for the directory's, and sshd- would then refuse every admin key in it). Relay attach on Windows needs the session host- shipped (#575/#579) — without it `pty.attach` spawns a new plain shell, not the node's session.++ would then refuse every admin key in it). Relay attach on Windows rests on the session host++ being packaged (#575, shipped by #579): without that bundle `pty.attach` spawns a new plain shell++ instead of joining the node's session, while `sessionExists` still answers "warm".## Speech / dictation (desktop + server)