feat(cli): support LLM output language configuration in Settings Dialog

This commit is contained in:
tanzhenxin 2026-01-20 17:00:19 +08:00
parent 0c960add8d
commit 4ae8584c81
15 changed files with 1122 additions and 474 deletions

View file

@ -163,7 +163,7 @@ const SETTINGS_SCHEMA = {
},
gitCoAuthor: {
type: 'boolean',
label: 'Add AI Co-Author to Commits',
label: 'Attribution: commit',
category: 'General',
requiresRestart: false,
default: true,
@ -202,7 +202,7 @@ const SETTINGS_SCHEMA = {
},
language: {
type: 'enum',
label: 'Language',
label: 'Language: UI',
category: 'General',
requiresRestart: true,
default: 'auto',
@ -219,6 +219,17 @@ const SETTINGS_SCHEMA = {
{ value: 'de', label: 'Deutsch (German)' },
],
},
outputLanguage: {
type: 'string',
label: 'Language: Model',
category: 'General',
requiresRestart: true,
default: 'auto',
description:
'The language for LLM output. Use "auto" to detect from system settings, ' +
'or set a specific language (e.g., "English", "中文", "日本語").',
showInDialog: true,
},
terminalBell: {
type: 'boolean',
label: 'Terminal Bell Notification',
@ -1143,7 +1154,7 @@ const SETTINGS_SCHEMA = {
properties: {
skills: {
type: 'boolean',
label: 'Skills',
label: 'Experimental: Skills',
category: 'Experimental',
requiresRestart: true,
default: false,