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
perf(claude): drop the signal-dir polling, rely on event-driven fs.watch
enes3815aef1f46f
diff --git a/src/main/claude-hooks.ts b/src/main/claude-hooks.tsindex 7f994d10b..8320a28fa 100644--- a/src/main/claude-hooks.ts+++ b/src/main/claude-hooks.ts@@ -143,6 +143,8 @@ export function initClaudeHooks(win: BrowserWindow): void {}}+ // Event-driven only (no polling): fs.watch on the dir fires on every append here, and+ // scan() reads offset-based, so each line is delivered exactly once.let timer: ReturnType<typeof setTimeout> | null = nulltry {fs.watch(dir, () => {@@ -152,6 +154,4 @@ export function initClaudeHooks(win: BrowserWindow): void {} catch (e) {console.error('[claude-hooks] watch failed', e)}- // Poll too: fs.watch can miss in-file appends on macOS.- setInterval(scan, 800)}