@@ -121,6 +167,10 @@ const hasContent = computed(() => !!currentPlan.value || subagentNodes.value.len
:plan="currentPlan"
:is-generating="isGenerating"
/>
+
+
+ {{ $t('chat.runOverview.planning') }}
+
{{ $t('chat.runOverview.noPlan') }}
@@ -162,6 +212,24 @@ const hasContent = computed(() => !!currentPlan.value || subagentNodes.value.len
width: 44px;
}
+/* Narrow viewports: the expanded rail floats over the chat as a drawer instead
+ of squeezing the conversation column. The collapsed rail (44px) stays in flow. */
+.run-overview.is-narrow:not(.is-collapsed) {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ width: min(340px, 88vw);
+ z-index: 2000;
+ box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
+}
+.run-overview__backdrop {
+ position: fixed;
+ inset: 0;
+ z-index: 1999;
+ background: rgba(0, 0, 0, 0.3);
+}
+
.run-overview__rail {
display: flex;
flex-direction: column;
@@ -192,6 +260,9 @@ const hasContent = computed(() => !!currentPlan.value || subagentNodes.value.len
.run-overview__rail-badge.is-sub {
color: var(--mc-primary);
}
+.run-overview__rail-live {
+ color: var(--mc-primary);
+}
.run-overview__header {
display: flex;
@@ -260,16 +331,17 @@ const hasContent = computed(() => !!currentPlan.value || subagentNodes.value.len
color: var(--mc-text-quaternary, #c0bfbc);
text-align: center;
}
+.run-overview__empty.is-planning {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 6px;
+ color: var(--mc-primary);
+}
.run-overview__subagents {
display: flex;
flex-direction: column;
gap: 6px;
}
-
-@media (max-width: 1280px) {
- .run-overview {
- display: none;
- }
-}
diff --git a/mateclaw-ui/src/i18n/locales/en-US.ts b/mateclaw-ui/src/i18n/locales/en-US.ts
index 17af8966..3d487e51 100644
--- a/mateclaw-ui/src/i18n/locales/en-US.ts
+++ b/mateclaw-ui/src/i18n/locales/en-US.ts
@@ -106,6 +106,7 @@ export default {
collapse: 'Collapse',
expand: 'Expand',
running: 'running',
+ planning: 'Planning…',
},
detail: {
viewDetail: 'View details',
diff --git a/mateclaw-ui/src/i18n/locales/zh-CN.ts b/mateclaw-ui/src/i18n/locales/zh-CN.ts
index 389bae04..328a54de 100644
--- a/mateclaw-ui/src/i18n/locales/zh-CN.ts
+++ b/mateclaw-ui/src/i18n/locales/zh-CN.ts
@@ -106,6 +106,7 @@ export default {
collapse: '收起总览',
expand: '展开总览',
running: '运行中',
+ planning: '规划中…',
},
detail: {
viewDetail: '查看详情',
diff --git a/mateclaw-ui/src/views/ChatConsole.vue b/mateclaw-ui/src/views/ChatConsole.vue
index 83dbafcd..97a4e042 100644
--- a/mateclaw-ui/src/views/ChatConsole.vue
+++ b/mateclaw-ui/src/views/ChatConsole.vue
@@ -247,6 +247,7 @@