merge: upgrade to upstream v0.50.95 + keep custom additions

Upstream v0.50.95 features merged (Russian localization, slash commands,
mic toggle fix, gateway sync fix, KaTeX/Prism.js, etc.)

Custom additions preserved:
- Tier-2 agent switching commands in commands.js
- MC panel in index.html + MC CSS
- _resolve_cli_toolsets() in config.py
- Custom routes.py, server.py, boot.js, i18n.js, messages.js, workspace.js

Files with conflict resolution (took upstream, custom code in other files):
- CHANGELOG.md, config.py, commands.js, index.html, panels.js, style.css, ui.js
This commit is contained in:
Rose
2026-04-19 10:06:28 +02:00
parent 067d96bb30
commit 3bdf430413
12 changed files with 1736 additions and 2361 deletions

View File

@@ -28,6 +28,8 @@ const LOCALES = {
thinking: 'Thinking',
expand_all: 'Expand all',
collapse_all: 'Collapse all',
show_all_tools: 'Show all tools',
hide_tools: 'Hide tools',
edit_failed: 'Edit failed: ',
regen_failed: 'Regenerate failed: ',
reconnect_active: 'A response is still being generated. Reload when ready?',
@@ -466,6 +468,26 @@ const LOCALES = {
profile_delete_confirm_title: (name) => `Delete profile "${name}"?`,
profile_delete_confirm_message: 'This removes all config, skills, memory, and sessions for this profile.',
profile_deleted: (name) => `Profile deleted: ${name}`,
gateways_no_gateways: 'No gateways configured.',
gateway_running: 'Running',
gateway_stopped: 'Stopped',
gateway_stop: 'Stop',
gateway_start: 'Start',
gateway_restart: 'Restart',
gateway_stop_title: 'Stop this gateway',
gateway_start_title: 'Start this gateway',
gateway_restart_title: 'Restart this gateway',
gateway_started: (name) => `Gateway started: ${name}`,
gateway_stopped_msg: (name) => `Gateway stopped: ${name}`,
gateway_restarted: (name) => `Gateway restarted: ${name}`,
gateway_start_failed: 'Failed to start gateway: ',
gateway_stop_failed: 'Failed to stop gateway: ',
gateway_restart_failed: 'Failed to restart gateway: ',
gateway_add: 'Add Gateway',
gateway_add_title: 'Add New Gateway',
gateway_add_message: 'Enter gateway name (e.g. telegram, openclaw):',
gateway_added: (name) => `Gateway added: ${name}`,
gateway_add_failed: 'Failed to add gateway: ',
active_conversation_none: 'No active conversation selected.',
active_conversation_meta: (title, count) => `${title} · ${count} message${count === 1 ? '' : 's'}`,
settings_unsaved_changes: 'You have unsaved changes.',
@@ -1350,6 +1372,26 @@ const LOCALES = {
profile_delete_confirm_title: (name) => `Delete profile "${name}"?`,
profile_delete_confirm_message: 'This removes all config, skills, memory, and sessions for this profile.',
profile_deleted: (name) => `Profile deleted: ${name}`,
gateways_no_gateways: 'No gateways configured.',
gateway_running: 'Running',
gateway_stopped: 'Stopped',
gateway_stop: 'Stop',
gateway_start: 'Start',
gateway_restart: 'Restart',
gateway_stop_title: 'Stop this gateway',
gateway_start_title: 'Start this gateway',
gateway_restart_title: 'Restart this gateway',
gateway_started: (name) => `Gateway started: ${name}`,
gateway_stopped_msg: (name) => `Gateway stopped: ${name}`,
gateway_restarted: (name) => `Gateway restarted: ${name}`,
gateway_start_failed: 'Failed to start gateway: ',
gateway_stop_failed: 'Failed to stop gateway: ',
gateway_restart_failed: 'Failed to restart gateway: ',
gateway_add: 'Add Gateway',
gateway_add_title: 'Add New Gateway',
gateway_add_message: 'Enter gateway name (e.g. telegram, openclaw):',
gateway_added: (name) => `Gateway added: ${name}`,
gateway_add_failed: 'Failed to add gateway: ',
active_conversation_none: 'No active conversation selected.',
active_conversation_meta: (title, count) => `${title} · ${count} message${count === 1 ? '' : 's'}`,
settings_unsaved_changes: 'You have unsaved changes.',
@@ -1994,6 +2036,26 @@ const LOCALES = {
profile_delete_confirm_title: (name) => `删除配置档“${name}”?`,
profile_delete_confirm_message: '这将删除该配置档的所有配置、技能、记忆和会话。',
profile_deleted: (name) => `配置档已删除:${name}`,
gateways_no_gateways: '未配置网关。',
gateway_running: '运行中',
gateway_stopped: '已停止',
gateway_stop: '停止',
gateway_start: '启动',
gateway_restart: '重启',
gateway_stop_title: '停止此网关',
gateway_start_title: '启动此网关',
gateway_restart_title: '重启此网关',
gateway_started: (name) => `网关已启动:${name}`,
gateway_stopped_msg: (name) => `网关已停止:${name}`,
gateway_restarted: (name) => `网关已重启:${name}`,
gateway_start_failed: '启动网关失败:',
gateway_stop_failed: '停止网关失败:',
gateway_restart_failed: '重启网关失败:',
gateway_add: '添加网关',
gateway_add_title: '添加新网关',
gateway_add_message: '输入网关名称例如telegram, openclaw',
gateway_added: (name) => `网关已添加:${name}`,
gateway_add_failed: '添加网关失败:',
active_conversation_none: '当前未选择活动会话。',
active_conversation_meta: (title, count) => `${title} · ${count} 条消息`,
settings_unsaved_changes: '你有未保存的更改。',