diff --git a/mateclaw-ui/src/components/common/MateDrawer.vue b/mateclaw-ui/src/components/common/MateDrawer.vue new file mode 100644 index 00000000..6f5fd0dd --- /dev/null +++ b/mateclaw-ui/src/components/common/MateDrawer.vue @@ -0,0 +1,276 @@ + + + + + diff --git a/mateclaw-ui/src/i18n/locales/en-US.ts b/mateclaw-ui/src/i18n/locales/en-US.ts index 3d8f1d7a..4889dac5 100644 --- a/mateclaw-ui/src/i18n/locales/en-US.ts +++ b/mateclaw-ui/src/i18n/locales/en-US.ts @@ -510,6 +510,7 @@ export default { }, doctor: { title: 'System Diagnostics', + subtitle: 'Local instance health snapshot', checking: 'Checking...', allGood: 'All systems healthy', hasWarnings: '{count} warning(s)', @@ -517,6 +518,8 @@ export default { refresh: 'Re-check', lastChecked: 'Checked {time} ago', diagnose: 'Diagnose', + checksPassed: '{healthy}/{total} checks passed', + checksLoading: 'Sampling system signals', }, // Issue #81: provider-level hint / status text shared across chat popup and ModelSelector. provider: { diff --git a/mateclaw-ui/src/i18n/locales/zh-CN.ts b/mateclaw-ui/src/i18n/locales/zh-CN.ts index 43b3776e..853d957b 100644 --- a/mateclaw-ui/src/i18n/locales/zh-CN.ts +++ b/mateclaw-ui/src/i18n/locales/zh-CN.ts @@ -1823,6 +1823,7 @@ export default { }, doctor: { title: '系统诊断', + subtitle: '本地实例健康概览', checking: '检查中...', allGood: '所有系统正常', hasWarnings: '{count} 个警告', @@ -1830,6 +1831,8 @@ export default { refresh: '重新检查', lastChecked: '{time} 前检查', diagnose: '诊断问题', + checksPassed: '{healthy}/{total} 项检查通过', + checksLoading: '正在采样系统指标', }, wiki: { kicker: '知识引擎', diff --git a/mateclaw-ui/src/views/Doctor/DoctorDrawer.vue b/mateclaw-ui/src/views/Doctor/DoctorDrawer.vue index efef652c..f3f92aa6 100644 --- a/mateclaw-ui/src/views/Doctor/DoctorDrawer.vue +++ b/mateclaw-ui/src/views/Doctor/DoctorDrawer.vue @@ -1,60 +1,95 @@ diff --git a/mateclaw-ui/src/views/SkillMarket.vue b/mateclaw-ui/src/views/SkillMarket.vue index 2a0fa40a..d64ae729 100644 --- a/mateclaw-ui/src/views/SkillMarket.vue +++ b/mateclaw-ui/src/views/SkillMarket.vue @@ -199,41 +199,21 @@ :skill-name="preflightSkillName" /> - - - -
-
-
-
- - - -
-

{{ resolveSkillName(detailSkill) }}

-

- {{ editingBody ? t('skills.detail.editingSource') : (detailSkill.description || detailSkill.name) }} -

-
-
- -
+ + + +