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
refactor(core): move model-window into src/core (fix core→main edge from context-tail)
enes5e9c599c66c6
diff --git a/src/core/context-tail.ts b/src/core/context-tail.tsindex bf8819813..dab924d99 100644--- a/src/core/context-tail.ts+++ b/src/core/context-tail.ts@@ -4,7 +4,7 @@// as ContextWindowUsage keyed by sessionId.import fs from 'fs'import type { ContextWindowUsage } from '../shared/types'-import { cachedWindowFor, resolveModelWindow } from '../main/model-window'+import { cachedWindowFor, resolveModelWindow } from './model-window'import { splitCompleteLines } from './subagent-tail'const POLL_MS = 1000diff --git a/src/main/model-window.ts b/src/core/model-window.tssimilarity index 100%rename from src/main/model-window.tsrename to src/core/model-window.tsdiff --git a/src/main/remote-context-tail.ts b/src/main/remote-context-tail.tsindex 31c2602d7..58683d216 100644--- a/src/main/remote-context-tail.ts+++ b/src/main/remote-context-tail.ts@@ -7,7 +7,7 @@import { type BrowserWindow } from 'electron'import { IPC } from '../shared/ipc'import type { ContextWindowUsage } from '../shared/types'-import { cachedWindowFor, resolveModelWindow } from './model-window'+import { cachedWindowFor, resolveModelWindow } from '../core/model-window'import { parseLatestUsage, parseTaskNotifications, type ContextTailOptions } from '../core/context-tail'import { splitCompleteLines } from '../core/subagent-tail'import type { RemoteFile, RemoteFileRef } from './remote-ssh/remote-file'