fix: revert default to verbose mode (true) and force-show on Error status

Per maintainer review (tanzhenxin): default verboseMode reverted to true
to preserve existing behavior — compact mode is opt-in via Ctrl+O.

Also addresses wenshao's security concern: in compact mode, tool groups
now force-expand on Error status (in addition to existing Confirming
handling), and ToolMessage force-shows result for both Confirming and
Error statuses so users always see diffs before approval and error
details for debugging.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
chiga0 2026-04-06 22:04:31 +08:00
parent 8d1866ca55
commit 1d639c97fa
7 changed files with 51 additions and 55 deletions

View file

@ -545,7 +545,7 @@ const SETTINGS_SCHEMA = {
label: 'Verbose Mode',
category: 'UI',
requiresRestart: false,
default: false,
default: true,
description:
'Show full tool output and thinking in verbose mode (toggle with Ctrl+O).',
showInDialog: false,