fix(cli): add enableShellOutputEfficiency to settings schema (#15560)

This commit is contained in:
Maple!
2025-12-27 03:07:33 +08:00
committed by GitHub
parent 21388a0a40
commit a26d195404
4 changed files with 24 additions and 0 deletions
+2
View File
@@ -682,6 +682,8 @@ export async function loadCliConfig(
enableInteractiveShell:
settings.tools?.shell?.enableInteractiveShell ?? true,
shellToolInactivityTimeout: settings.tools?.shell?.inactivityTimeout,
enableShellOutputEfficiency:
settings.tools?.shell?.enableShellOutputEfficiency ?? true,
skipNextSpeakerCheck: settings.model?.skipNextSpeakerCheck,
enablePromptCompletion: settings.general?.enablePromptCompletion ?? false,
truncateToolOutputThreshold: settings.tools?.truncateToolOutputThreshold,
+10
View File
@@ -953,6 +953,16 @@ const SETTINGS_SCHEMA = {
'The maximum time in seconds allowed without output from the shell command. Defaults to 5 minutes.',
showInDialog: false,
},
enableShellOutputEfficiency: {
type: 'boolean',
label: 'Enable Shell Output Efficiency',
category: 'Tools',
requiresRestart: false,
default: true,
description:
'Enable shell output efficiency optimizations for better performance.',
showInDialog: false,
},
},
},
autoAccept: {