From 16aeacc37be0f6144ab755d805a69b35cbd34032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=9D=E5=B0=98?= <237809796@qq.com> Date: Mon, 15 Jun 2026 07:48:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=20CR-22=20types.ts=20?= =?UTF-8?q?=E6=9E=9A=E4=B8=BE=E6=B3=A8=E9=87=8A=E5=AF=B9=E9=BD=90=E5=90=8E?= =?UTF-8?q?=E7=AB=AF+=E5=88=A0=20models=20=E5=86=97=E4=BD=99(CR-23=20?= =?UTF-8?q?=E4=B8=8D=E9=80=82=E7=94=A8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ①TaskRecord.status 注释 review_ready/merged/abandoned 错,改 todo/in_progress/in_review/testing/done/blocked/cancelled(后端 TaskStatus 7 态 types.rs:131);②IdeaRecord.status 补 archived(后端 IdeaStatus 含);③ProjectRecord.status 补 testing/releasing+删 cancelled(后端 ProjectStatus 无 Cancelled);④AiConversationSummary.models 删(前端零消费 grep 确认,冗余)。 CR-23 走查过时不适用:B-34「Tauri 不转」注释在批6 ARC-05 拆分时已简化(workflow.ts:81 无错误说明,:58 只说风格对齐)。cron 巡检捕获另一会话走查第5轮 CR-22/23,vue-tsc 0 --- src/api/types.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/api/types.ts b/src/api/types.ts index 1d5202f..2086480 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -8,7 +8,7 @@ export interface IdeaRecord { id: string title: string description: string - status: string // draft | pending_review | approved | promoted | rejected + status: string // draft | pending_review | approved | rejected | promoted | archived priority: number score: number | null tags: string | null // JSON 数组字符串 @@ -36,7 +36,7 @@ export interface ProjectRecord { id: string name: string description: string - status: string // planning | in_progress | paused | completed | cancelled + status: string // planning | in_progress | testing | releasing | completed | paused idea_id: string | null /** 绑定的本地代码目录绝对路径(null=未绑定) */ path: string | null @@ -85,7 +85,7 @@ export interface TaskRecord { project_id: string title: string description: string - status: string // todo | in_progress | review_ready | merged | abandoned + status: string // todo | in_progress | in_review | testing | done | blocked | cancelled priority: number // 0=critical, 1=high, 2=medium, 3=low branch_name: string | null assignee: string | null @@ -230,7 +230,6 @@ export interface AiConversationSummary { title: string | null provider_id: string | null model: string | null - models?: string[] | null archived: boolean prompt_tokens?: number | null completion_tokens?: number | null