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 chore/retire-live-links

review6b588e66b075
diff --cc src/renderer/components/icons.tsx
index 17f8687ed,787c4f9ce..27ec3dfc1
--- a/src/renderer/components/icons.tsx
+++ b/src/renderer/components/icons.tsx
@@@ -175,8 -175,8 +175,8 @@@ export const IconRemote = () =>
</svg>
)
- /** Remote access (phone relay) on/off — an antenna with signal arcs. Not `IconRemote` (the globe
- * already means "web view"). */
+ /** Claude Remote Control on/off in a terminal header — an antenna with signal arcs. Not
- * `IconRemote` (the globe already means "web view") and not `IconBroadcast` ("share live link"). */
++ * `IconRemote` (the globe already means "web view"). */
export const IconRemoteAccess = () => (
<svg {...S}>
<circle cx="12" cy="9" r="1.8" />
diff --cc src/renderer/components/kanban/CardModal.tsx
index 5f05f3320,6c52984da..72fbee36e
--- a/src/renderer/components/kanban/CardModal.tsx
+++ b/src/renderer/components/kanban/CardModal.tsx
@@@ -23,8 -24,12 +23,9 @@@ import { nodeIconDialog } from '../Node
import { applyIconChoice } from '../../lib/nodeIconChoice'
import { normalizeNodeIcon, type NodeIcon } from '@shared/node-icon'
import { ContextMeter } from '../ContextMeter'
+ import { RemoteControlButton } from '../RemoteControlButton'
import { isRemoteSessionNode } from '@shared/worktree'
import { AccountChip, useAccountChip } from '../AccountChip'
-import { LiveLinkChip, projectSessionSource } from '../LiveLinkChip'
-import { useWatchLinks } from '../../state/watchLinks'
-import { liveLinkUnavailable } from '../../lib/liveLinkEntry'
import { isBrowserRuntime } from '@renderer/bridge/runtime'
import { IssueRefChip } from '../IssueRefChip'
import { TeamProgressChip } from '../TeamProgressChip'
@@@ -65,9 -70,10 +66,9 @@@ import { ModalTerminal } from './ModalT
import { BrowserSurface } from '../../nodes/BrowserSurface'
import { BrowserDrivingIndicator } from '../../nodes/BrowserDrivingChip'
import { NoteMarkdown } from '../NoteMarkdown'
-import { inLiveChatDrawer } from '../../lib/liveChatPin'
import { relativeTime } from '../../lib/relativeTime'
import { TerminalMarkdownView } from '../../nodes/TerminalMarkdownView'
- import { canChat } from '@shared/agents/config'
+ import { canChat, canRemoteControl } from '@shared/agents/config'
import { transcriptSessionFor } from '../../lib/transcriptSession'
import { effectiveAccountId } from '../../lib/accountChip'
import { useSettings } from '../../state/settings'
diff --cc src/renderer/lib/ui-visibility.test.ts
index fb4350222,024fb7566..4e3c289bd
--- a/src/renderer/lib/ui-visibility.test.ts
+++ b/src/renderer/lib/ui-visibility.test.ts
@@@ -32,10 -28,10 +32,10 @@@ describe('hideable inventories', () =>
it('list the agreed ids and nothing destructive', () => {
expect(HIDEABLE_MENU_ITEMS.map((r) => r.id)).toEqual([
'group', 'remove-from-group', 'colors', 'icon', 'duplicate', 'snap-zone', 'collapse',
- 'markdown-view', 'refresh-terminal', 'live-link', 'vanilla-restart'
+ 'markdown-view', 'refresh-terminal', 'vanilla-restart'
])
expect(HIDEABLE_HEADER_BUTTONS.map((r) => r.id)).toEqual([
- 'context-meter', 'maximize', 'refresh', 'mic', 'ai-name', 'comments', 'hide-fanout', 'tidy-fanout', 'md-hint'
- 'context-meter', 'remote-control', 'maximize', 'refresh', 'mic', 'ai-name', 'comments', 'share-link', 'hide-fanout', 'tidy-fanout', 'md-hint'
++ 'context-meter', 'remote-control', 'maximize', 'refresh', 'mic', 'ai-name', 'comments', 'hide-fanout', 'tidy-fanout', 'md-hint'
])
})
it('gives every entry a user-facing label', () => {
diff --cc src/renderer/nodes/TerminalNode.tsx
index 061d15dd0,67c767cac..6b31cd7c0
--- a/src/renderer/nodes/TerminalNode.tsx
+++ b/src/renderer/nodes/TerminalNode.tsx
@@@ -6394,8 -6415,21 +6403,18 @@@ export function TerminalNode(
</span>
) : null}
{showUsage && <ContextMeter sessionId={transcript.sessionId ?? null} fromLaunchId={transcript.fallback} nodeId={id} remote={!!remoteSession} agentId={agentId} />}
+ {showRemoteControl && (
+ <RemoteControlButton
+ className="term-node__remote-control"
+ nodeId={id}
+ sessionId={transcript.sessionId}
+ readState={() => agentStatusStore.getState().byId[id]?.state}
+ pty={session.api.pty}
+ write={(d) => rawWriteRef.current?.(d)}
+ />
+ )}
{/* Who else is in this node. Subscribes to presence itself — see PresenceChips. */}
<PresenceChips nodeId={id} />
- {/* This terminal is broadcast by a live link — never hideable (live-link.guard.test.ts).
- Only through the LOCAL session: a relay tab's node with the same id is not ours (R57). */}
- <LiveLinkChip nodeId={id} source={session.source} />
{status?.state === 'working' && (
<span className="term-node__status term-node__status--busy" title={`${agentLabel} is working`}>
<AgentMascot agentId={agentId} />