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 remote-tracking branch 'origin/main' into feat/auto-hide-finished-subagent-cards

Shogun10604e3b850e
diff --cc src/renderer/components/settings/sections/AgentsSection.tsx
index d6a2f4426,6a8b922c5..7a9b34285
--- a/src/renderer/components/settings/sections/AgentsSection.tsx
+++ b/src/renderer/components/settings/sections/AgentsSection.tsx
@@@ -91,21 -96,25 +96,40 @@@ const ROWS =
title: 'One-click approvals',
keywords: ['approve', 'deny', 'approval', 'permission', 'hook', 'phone', 'canvas', 'one click', 'claude']
},
+ autoHideFinishedSubagentCards: {
+ title: 'Hide finished subagent cards',
+ keywords: [
+ 'subagent',
+ 'card',
+ 'fan out',
+ 'hide',
+ 'remove',
+ 'finished',
+ 'done',
+ 'clutter',
+ 'canvas',
+ 'task'
+ ]
+ },
+ controlConfirm: {
+ title: 'Destructive canvas-control confirmations',
+ keywords: [
+ 'confirm',
+ 'confirmation',
+ 'dialog',
+ 'ask',
+ "don't ask again",
+ 'dont ask again',
+ 'waive',
+ 'write',
+ 'close',
+ 'destructive',
+ 'canvas control',
+ 'bypass',
+ 'permission mode',
+ 'security'
+ ]
+ },
nodeIdentity: {
title: 'Verified node identity',
keywords: [
@@@ -415,19 -478,65 +493,78 @@@ export function AgentsSection({ isActiv
}
/>
</SearchableRow>
+ <SearchableRow {...ROWS.autoHideFinishedSubagentCards}>
+ <FieldRow
+ label="Hide finished subagent cards"
+ description="Remove a subagent's card from the canvas as soon as that subagent finishes, instead of keeping it until the agent's next turn. Cards for subagents that are still running are never removed."
+ control={
+ <Switch
+ checked={settings.autoHideFinishedSubagentCards}
+ ariaLabel="Hide finished subagent cards"
+ onChange={(on) => update({ autoHideFinishedSubagentCards: on })}
+ />
+ }
+ />
+ </SearchableRow>
+ <SearchableRow {...ROWS.controlConfirm}>
+ <div className="space-y-4">
+ {waivableVerbs.map((v) => {
+ const copy =
+ CONTROL_CONFIRM_VERB_COPY[v] ??
+ ({ label: `Ask before an agent runs \`${v}\``, description: '' } as const)
+ const sessionWaived = sessionWaivedVerbs.includes(v)
+ const always = (waivers.always ?? []).includes(v)
+ return (
+ <FieldRow
+ key={v}
+ label={copy.label}
+ description={copy.description}
+ // A live app-run waiver is a STATE, not help text — the warning accent is right,
+ // and it must name how to end it, because the dialog that granted it is gone.
+ note={
+ sessionWaived && !always
+ ? 'Waived until nodeterm quits (you ticked "Don\u2019t ask again"). Revoke restores the dialog now.'
+ : undefined
+ }
+ control={
+ <div className="flex items-center gap-2">
+ {sessionWaived && !always ? (
+ <Button
+ variant="default"
+ onClick={() => useControlConfirm.getState().revokeForSession(v)}
+ >
+ Revoke
+ </Button>
+ ) : null}
+ <Select
+ aria-label={copy.label}
+ value={always ? 'never' : 'ask'}
+ onChange={(e) => setAlwaysWaived(v, e.target.value === 'never')}
+ >
+ {CONTROL_CONFIRM_CHOICES.map((c) => (
+ <option key={c} value={c}>
+ {CONTROL_CONFIRM_LABELS[c]}
+ </option>
+ ))}
+ </Select>
+ </div>
+ }
+ />
+ )
+ })}
+ <FieldRow
+ label="Also skip them while your permission mode is Bypass"
+ description="When YOUR global permission mode (above) is Bypass permissions, treat that as covering these dialogs too. A project that overrides the mode never counts \u2014 an override is saved in .nodeterm/project.json and travels to everyone who clones the repo, so a repository you cloned must not be able to switch your confirmations off."
+ control={
+ <Switch
+ checked={waivers.bypassMode === true}
+ ariaLabel="Skip destructive canvas-control confirmations in Bypass permissions mode"
+ onChange={setBypassWaived}
+ />
+ }
+ />
+ </div>
+ </SearchableRow>
<SearchableRow {...ROWS.nodeIdentity}>
<FieldRow
label="Require verified node identity for canvas control"