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
feat(settings): permission mode control in Settings → Agents
enesf45634c6c97e
diff --git a/src/renderer/components/settings/sections/AgentsSection.tsx b/src/renderer/components/settings/sections/AgentsSection.tsxindex 633d4ce42..9b5e519dd 100644--- a/src/renderer/components/settings/sections/AgentsSection.tsx+++ b/src/renderer/components/settings/sections/AgentsSection.tsx@@ -4,17 +4,42 @@ import {setAgentEnabled,setDefaultAgent} from '../../../state/agentAvailability'-import { AGENT_CONFIG, BUILTIN_AGENT_IDS, type AgentId } from '@shared/agents/config'+import {+ AGENT_CONFIG,+ ALL_PERMISSION_MODES,+ BUILTIN_AGENT_IDS,+ PERMISSION_MODE_LABELS,+ type AgentId,+ type AgentPermissionMode+} from '@shared/agents/config'import { AgentIcon } from '../../../lib/agentIcons'import { SegmentedPill } from '@renderer/ui/SegmentedPill'import { Button } from '@renderer/ui/Button'+import { Select } from '@renderer/ui/Select'import { SettingsSection } from '../SettingsSection'import { SearchableRow } from '../SearchableRow'+import { FieldRow } from '../FieldRow'const ROWS = {agents: {title: 'Agents',keywords: ['agent', 'claude', 'codex', 'gemini', 'enable', 'disable', 'default']+ },+ permissionMode: {+ title: 'Permission mode',+ keywords: [+ 'permission',+ 'mode',+ 'auto',+ 'auto mode',+ 'accept edits',+ 'plan',+ 'bypass',+ 'approve',+ 'ask',+ 'claude',+ 'shift tab'+ ]}}const ENTRIES = Object.values(ROWS)@@ -66,6 +91,29 @@ export function AgentsSection({ isActive }: { isActive: boolean }): React.JSX.El})}</div></SearchableRow>+ <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."+ control={+ <Select+ aria-label="Claude permission mode"+ value={settings.claudePermissionMode}+ onChange={(e) =>+ update({ claudePermissionMode: e.target.value as AgentPermissionMode })+ }+ >+ {ALL_PERMISSION_MODES.map((m) => (+ <option key={m} value={m}>+ {m === 'bypassPermissions'+ ? `${PERMISSION_MODE_LABELS[m]} ⚠︎`+ : PERMISSION_MODE_LABELS[m]}+ </option>+ ))}+ </Select>+ }+ />+ </SearchableRow></SettingsSection>)}