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 branch 'feat/win-02-tray-notify' into feat/windows-parity
review26e571d7a415
diff --cc CONTRIBUTING.mdindex 62ae4fff1,94ff64457..06698ffb2--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@@ -520,14 -499,11 +520,19 @@@ anything else. Board-level fields surviarguments and lines above cmd's limit fail explicitly. Keep stdin direct: PowerShell's textpipeline changes Unicode and line endings under Windows PowerShell 5.1.+- **Need a POSIX `sh` on Windows? Resolve Git Bash, never spawn bare `sh`.** A stock Git install+ puts only `Git\cmd` on PATH. `resolveWindowsSh` (`src/core/windows-sh.ts`) walks Git's real+ layouts, then PATH minus WSL shims; the codex hook wrapper's batch candidate list is derived from+ the same data, so add a layout there, once. With no shell, say "Install Git for Windows" — the+ project setup-script runner is the worked example (it also sets `CHERE_INVOKING=1`, or Git Bash's+ login profile leaves the project folder). And do not type a chained command line (`a && b '<x>'`)+ into a terminal for the user: PowerShell 5.1 and cmd parse it differently. Type one bare command+ and do the rest in-process (Source Control's publish fallback, `lib/publishFallback.ts`).+ - **Closing the window on Windows hides it to the tray (background mode), it does not quit.** The+ relay host, hook server and notifications must outlive the window there as they do on macOS. Any+ new app-initiated quit (updater-style) must set `quitting` before `app.quit()`, or the hidden+ window's close handler turns the quit back into a hide. Every new raise (`show`/`focus`) needs a+ user action and an entry in `window-raise.guard.test.ts`.- **The phone reaches a Windows desktop through the relay only.** Everything the iOS app sends overSSH is POSIX sh plus tmux, and Windows OpenSSH hands out `cmd.exe`, so Windows pairing installs nodiff --cc src/main/index.tsindex 963bab170,d46ddcb50..b23ed71b1--- a/src/main/index.ts+++ b/src/main/index.ts@@@ -8,11 -8,11 +8,11 @@@ import { join, resolve, posix } from 'pimport { startSessionNameSweep, displayNodeTitle } from '../core/session-name-sweep'import { startTriggerService } from '../core/trigger-service'import { readAgentSessionName, type AgentSessionNameDeps } from '../core/agent-session-name'-import { readFile, realpath as fsRealpath, lstat as fsLstat, writeFile as fsWriteFile } from 'fs/promises'+import { readFile, readdir as fsReaddir, realpath as fsRealpath, lstat as fsLstat, writeFile as fsWriteFile } from 'fs/promises'- import { existsSync, statSync, openSync, fstatSync, readFileSync, closeSync } from 'fs'+ import { existsSync, statSync, openSync, fstatSync, readFileSync, closeSync, writeFileSync } from 'fs'import { homedir, hostname } from 'os'import { randomUUID } from 'crypto'- import { app, BrowserWindow, clipboard, dialog, ipcMain, Menu, Notification, powerMonitor, safeStorage, screen, shell, systemPreferences, webContents } from 'electron'+ import { app, BrowserWindow, clipboard, dialog, ipcMain, Menu, nativeImage, Notification, powerMonitor, safeStorage, screen, shell, systemPreferences, webContents } from 'electron'import { IPC } from '../shared/ipc'// Debug log ring (issue #78): capture the process console from the first line — a packaged appdiff --cc src/renderer/components/settings/sections/BehaviorSection.tsxindex 2f2075a55,5fee12b7a..6eaf1c4b1--- a/src/renderer/components/settings/sections/BehaviorSection.tsx+++ b/src/renderer/components/settings/sections/BehaviorSection.tsx@@@ -8,7 -8,9 +8,10 @@@ import { Select } from '@renderer/ui/Seimport { SegmentedPill } from '@renderer/ui/SegmentedPill'import { Input } from '@renderer/ui/Input'import { hintLabel, isMacPlatform, isWindowsPlatform } from '@shared/platform-utils'+import { trackpadRoutingSupported } from '@renderer/canvas/wheel-gesture'+ import { isBrowserRuntime } from '@renderer/bridge/runtime'+ import { backgroundCloseDescription, backgroundCloseRowVisible } from '@renderer/lib/backgroundClose'+ import type { BackgroundOnCloseSetting } from '@shared/types'import { clampWheelZoomSpeed } from '@renderer/canvas/wheel-zoom'import { DEFAULT_WORKTREE_PATH_TEMPLATE } from '@shared/worktree'