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.

docs(agents): permission mode covers terminal nodes, not chat

enesc6c7dce9bc25
diff --git a/src/renderer/components/settings/sections/AgentsSection.tsx b/src/renderer/components/settings/sections/AgentsSection.tsx
index 9b5e519dd..8c9ae9568 100644
--- a/src/renderer/components/settings/sections/AgentsSection.tsx
+++ b/src/renderer/components/settings/sections/AgentsSection.tsx
@@ -94,7 +94,7 @@ export function AgentsSection({ isActive }: { isActive: boolean }): React.JSX.El
<SearchableRow {...ROWS.permissionMode}>
<FieldRow
label="Permission mode"
- description="The mode Claude sessions start in. Shift+Tab still switches modes at any time. Projects can override this from the tab ⌄ menu."
+ description="The mode Claude terminal sessions start in (chat nodes are not affected). Shift+Tab still switches modes at any time. Projects can override this from the tab ⌄ menu."
control={
<Select
aria-label="Claude permission mode"
diff --git a/src/renderer/state/projects.ts b/src/renderer/state/projects.ts
index 893f1ed0d..ede92c69b 100644
--- a/src/renderer/state/projects.ts
+++ b/src/renderer/state/projects.ts
@@ -28,7 +28,7 @@ interface ProjectsState {
/** Sets (or clears, with undefined) the project's default Claude account for new nodes. */
setProjectDefaultAccount(id: string, accountId: string | undefined): void
/** Sets (or clears, with undefined = fall back to the global setting) the project's default
- * permission mode for new Claude/chat sessions. */
+ * permission mode for new Claude terminal (CLI) sessions. Chat nodes are not covered. */
setProjectDefaultPermissionMode(id: string, mode: AgentPermissionMode | undefined): void
/** Raises the project's dino high score (never lowers it). */
setDinoHighScore(id: string, score: number): void
diff --git a/src/shared/types.ts b/src/shared/types.ts
index 5713af8ae..9f22ff249 100644
--- a/src/shared/types.ts
+++ b/src/shared/types.ts
@@ -147,7 +147,8 @@ export interface Project {
nodes: CanvasNodeState[]
/** Default managed Claude account for new Claude/chat nodes in this project. */
defaultAccountId?: string
- /** Permission mode for new Claude/chat sessions in this project. Unset = use the global setting. */
+ /** Permission mode for new Claude TERMINAL (CLI) sessions in this project. SDK chat nodes are
+ * not covered — the chat driver still runs in `default`. Unset = use the global setting. */
defaultPermissionMode?: AgentPermissionMode
/** Best dino-game score in this project — new dino nodes seed from it, so the record survives closing the node. */
dinoHighScore?: number
@@ -374,8 +375,10 @@ export interface Settings {
disabledAgents: AgentId[]
/** Which agent the ⌘⇧C shortcut / quick-add launches. Always a launchable builtin. */
defaultAgent: AgentId
- /** The permission mode Claude sessions START in (Shift+Tab still cycles modes at runtime).
- * Overridable per project via Project.defaultPermissionMode. */
+ /** The permission mode Claude TERMINAL (CLI) sessions START in — passed as `--permission-mode`
+ * at launch; Shift+Tab still cycles modes at runtime. SDK chat nodes are NOT covered (the chat
+ * driver runs in `default`). Overridable per project via Project.defaultPermissionMode.
+ * `auto` is version-gated: CLIs below 2.1.90 reject the value, so it degrades to no flag. */
claudePermissionMode: AgentPermissionMode
/** Send anonymous usage data (version/OS) to the telemetry backend. Opt-in (default off)
* so we never collect without explicit consent (GDPR). Toggle in Settings → Privacy. */