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 origin/main into PR871 retaining durable launch and IME paths

review97158484dbd2
diff --cc CONTRIBUTING.md
index 8554e809f,a2fd848e4..9c1f1ea9e
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@@ -691,7 -796,6 +796,11 @@@ Two files, two audiences
invariant that only lives in a commit message is one refactor away from being violated by someone
who never saw it.
+- Media URLs live for the app run. Remote cache pruning must keep files already handed to
+ players; the cache cap is soft until restart. Use the existing `video` node for audio too.
+- Subagent reload replay is display-only and current-host-only. Never replay status/permission
+ events or treat a replayed card as verified process ownership; subscribe before taking its snapshot.
++
+ Managed Codex login terminals are agent-less: core identifies their provider from the saved
+ account list. Before opening one, await `useSettings.getState().flush()` after adding the account.
+ The normal 300 ms coalesced save is too late: an unknown id can launch against the system home.
diff --cc src/renderer/nodes/TerminalNode.tsx
index 22b7519bb,c5f1deb32..5c0b6db6a
--- a/src/renderer/nodes/TerminalNode.tsx
+++ b/src/renderer/nodes/TerminalNode.tsx
@@@ -1,4 -1,7 +1,9 @@@
+import { patchImeModeSwitch } from '../terminal/ime-mode-switch'
++
+ import { deliverRelayInitialLaunch } from '../terminal/relay-initial-launch'
+ import { commitLaunch } from '../terminal/launch-attempt'
+ import { isLaunchShell } from '@shared/agents/pane'
+ import { createLaunchWriter, deliverInitialLaunch, launchCommand, registerLaunchWriter } from '../terminal/launch-command'
import { Suspense, lazy, useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react'
import { NODE_MIN_SIZES } from '../lib/nodeSizing'
import {