From 04db8c0d3b6bff568c407ce3d5300377bb85e0a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=BB=9D=E5=B0=98?= <237809796@qq.com>
Date: Tue, 6 Oct 2026 12:13:33 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E:=20=E5=90=8E=E5=8F=B0?=
=?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=8D=A1=E5=BE=BD=E7=AB=A0+=E8=BD=AE?=
=?UTF-8?q?=E6=AC=A1=E6=8A=95=E5=BD=B1(convRounds),=20=E5=8F=AF=E6=81=A2?=
=?UTF-8?q?=E5=A4=8D=E5=88=86=E5=8C=BA(parked),=20reattachToMain=20i18n=20?=
=?UTF-8?q?=E8=A1=A5=E9=94=AE(#12)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/types.ts | 2 +
src/components/ai/TopBar.vue | 150 ++++++++++++++++++++-
src/composables/ai/aiShared.ts | 20 +++
src/composables/ai/useAiEvents.ts | 51 ++++++-
src/composables/ai/useAiLifecycleEvents.ts | 4 +-
src/composables/ai/useAiSend.ts | 8 +-
src/composables/ai/useAiStreamingEvents.ts | 6 +-
src/composables/ai/useAiWindow.ts | 25 ++--
src/i18n/en/aiChat.ts | 7 +
src/i18n/zh-CN/aiChat.ts | 7 +
src/stores/ai.ts | 2 +-
11 files changed, 250 insertions(+), 32 deletions(-)
diff --git a/src/api/types.ts b/src/api/types.ts
index a532d99..4bef5e4 100644
--- a/src/api/types.ts
+++ b/src/api/types.ts
@@ -781,6 +781,8 @@ export interface AiConversationSummary {
completion_tokens?: number | null
created_at: string
updated_at: string
+ /** V49 断点续跑:running=进行中 / parked=中断可恢复 / null=无任务(2026-10-06 读侧透出) */
+ loop_state?: 'running' | 'parked' | null
}
/** G1 目标钉扎:单条目标记录(含状态追踪) */
diff --git a/src/components/ai/TopBar.vue b/src/components/ai/TopBar.vue
index 78a4ba5..2e5ab59 100644
--- a/src/components/ai/TopBar.vue
+++ b/src/components/ai/TopBar.vue
@@ -151,6 +151,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+