From 47dc5373d1c4096b7fd1e081cd14ea212ae57efa Mon Sep 17 00:00:00 2001 From: matevip Date: Wed, 24 Jun 2026 15:53:58 +0800 Subject: [PATCH] feat(chat): in-chat run overview side panel for live plan progress and sub-agent status --- .../src/components/chat/RunOverviewPanel.vue | 275 ++++++++++++++++++ mateclaw-ui/src/i18n/locales/en-US.ts | 10 + mateclaw-ui/src/i18n/locales/zh-CN.ts | 10 + mateclaw-ui/src/views/ChatConsole.vue | 7 + 4 files changed, 302 insertions(+) create mode 100644 mateclaw-ui/src/components/chat/RunOverviewPanel.vue diff --git a/mateclaw-ui/src/components/chat/RunOverviewPanel.vue b/mateclaw-ui/src/components/chat/RunOverviewPanel.vue new file mode 100644 index 00000000..a8af62e3 --- /dev/null +++ b/mateclaw-ui/src/components/chat/RunOverviewPanel.vue @@ -0,0 +1,275 @@ + + + + + diff --git a/mateclaw-ui/src/i18n/locales/en-US.ts b/mateclaw-ui/src/i18n/locales/en-US.ts index c5ed6e98..17af8966 100644 --- a/mateclaw-ui/src/i18n/locales/en-US.ts +++ b/mateclaw-ui/src/i18n/locales/en-US.ts @@ -97,6 +97,16 @@ export default { subagentAsync: 'Running in background — result via task_output', executionPlan: 'Execution Plan', planDone: 'done', + runOverview: { + title: 'Run Overview', + plan: 'Plan Progress', + subagents: 'Sub-agents', + noPlan: 'No execution plan yet', + noSubagents: 'No sub-agents yet', + collapse: 'Collapse', + expand: 'Expand', + running: 'running', + }, detail: { viewDetail: 'View details', request: 'Request', diff --git a/mateclaw-ui/src/i18n/locales/zh-CN.ts b/mateclaw-ui/src/i18n/locales/zh-CN.ts index 85ff93fe..389bae04 100644 --- a/mateclaw-ui/src/i18n/locales/zh-CN.ts +++ b/mateclaw-ui/src/i18n/locales/zh-CN.ts @@ -97,6 +97,16 @@ export default { subagentAsync: '后台运行中,结果稍后获取', executionPlan: '执行计划', planDone: '已完成', + runOverview: { + title: '运行总览', + plan: '计划进度', + subagents: '子 Agent', + noPlan: '暂无执行计划', + noSubagents: '暂无子 Agent', + collapse: '收起总览', + expand: '展开总览', + running: '运行中', + }, detail: { viewDetail: '查看详情', request: '请求参数', diff --git a/mateclaw-ui/src/views/ChatConsole.vue b/mateclaw-ui/src/views/ChatConsole.vue index 823cc723..83dbafcd 100644 --- a/mateclaw-ui/src/views/ChatConsole.vue +++ b/mateclaw-ui/src/views/ChatConsole.vue @@ -243,6 +243,12 @@ /> + + +