Persistent shell support

This commit is contained in:
jacob314
2026-03-06 13:31:54 -08:00
parent 3d4956aa57
commit 39d1a1bf2f
19 changed files with 1119 additions and 47 deletions
+1
View File
@@ -783,6 +783,7 @@ export async function loadCliConfig(
useAlternateBuffer: settings.ui?.useAlternateBuffer,
useRipgrep: settings.tools?.useRipgrep,
enableInteractiveShell: settings.tools?.shell?.enableInteractiveShell,
enablePersistentShell: settings.tools?.shell?.enablePersistentShell,
shellToolInactivityTimeout: settings.tools?.shell?.inactivityTimeout,
enableShellOutputEfficiency:
settings.tools?.shell?.enableShellOutputEfficiency ?? true,
+11
View File
@@ -1282,6 +1282,17 @@ const SETTINGS_SCHEMA = {
`,
showInDialog: true,
},
enablePersistentShell: {
type: 'boolean',
label: 'Enable Persistent Shell',
category: 'Tools',
requiresRestart: true,
default: true,
description: oneLine`
Maintain a persistent shell session across commands to preserve environment variables, directory changes, and aliases.
`,
showInDialog: true,
},
pager: {
type: 'string',
label: 'Pager',