diff options
Diffstat (limited to 'packages/cli/src/config')
| -rw-r--r-- | packages/cli/src/config/config.ts | 1 | ||||
| -rw-r--r-- | packages/cli/src/config/settingsSchema.ts | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/packages/cli/src/config/config.ts b/packages/cli/src/config/config.ts index b66afcc8..d3b73e06 100644 --- a/packages/cli/src/config/config.ts +++ b/packages/cli/src/config/config.ts @@ -539,6 +539,7 @@ export async function loadCliConfig( folderTrust, interactive, trustedFolder, + shouldUseNodePtyShell: settings.shouldUseNodePtyShell, }); } diff --git a/packages/cli/src/config/settingsSchema.ts b/packages/cli/src/config/settingsSchema.ts index ebea3ad5..8c1b5191 100644 --- a/packages/cli/src/config/settingsSchema.ts +++ b/packages/cli/src/config/settingsSchema.ts @@ -277,6 +277,17 @@ export const SETTINGS_SCHEMA = { showInDialog: true, }, + shouldUseNodePtyShell: { + type: 'boolean', + label: 'Use node-pty for Shell Execution', + category: 'Shell', + requiresRestart: true, + default: false, + description: + 'Use node-pty for shell command execution. Fallback to child_process still applies.', + showInDialog: true, + }, + selectedAuthType: { type: 'string', label: 'Selected Auth Type', |
