mirror of
https://github.com/ThearchyHelios/AgentLab.git
synced 2026-11-24 02:52:00 +00:00
合入 W1-b 已知遗留:人工驳回记成已取消 + end_reason=rejected(不重试、不被出错时继续吞掉),各处照实写「被驳回」;个人渠道「我发起的实例完成 / 失败」生效;导入清单如实记「是否认证」;使用者选人按候选池、开登录时服务端核对;自由形蓝图按导入的图列「谁来做」;tick 按 id 断言
This commit is contained in:
+15
-3
@@ -1260,6 +1260,8 @@ export interface ImportRecord {
|
||||
period_start: string | null
|
||||
period_end: string | null
|
||||
signed_by: string | null
|
||||
/** 署名是不是认证过的身份:按这一期导入清单里记下的(05-已知遗留 (c)),旧清单记的是 false。老后端不给 */
|
||||
signed_by_verified?: boolean
|
||||
/** 接受的条数 */
|
||||
overrides: number
|
||||
waivers: number
|
||||
@@ -1582,10 +1584,10 @@ export interface Conversation {
|
||||
/** 列表里的副标题,让人一眼认出是哪次聊天 */
|
||||
last_question: string
|
||||
/**
|
||||
* 最后一轮停在哪。左栏对这次没打开过的会话也能标出运行中、待审批、失败。
|
||||
* 没有轮次时为 null;老后端不给
|
||||
* 最后一轮停在哪。左栏对这次没打开过的会话也能标出运行中、待审批、失败、被驳回(rejected:运行被审批人驳回结束,
|
||||
* 服务端 cancelled + end_reason=rejected)。没有轮次时为 null;老后端不给
|
||||
*/
|
||||
last_status?: 'running' | 'waiting' | 'error' | 'cancelled' | 'suspended' | 'done' | null
|
||||
last_status?: 'running' | 'waiting' | 'error' | 'cancelled' | 'rejected' | 'suspended' | 'done' | null
|
||||
/** 最后一轮的运行。建图阶段就断了的没有 */
|
||||
last_run_id?: string | null
|
||||
}
|
||||
@@ -4482,3 +4484,13 @@ export interface DataSourceName {
|
||||
kind?: string
|
||||
enabled?: boolean
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// 驳回 ≠ 失败(docs/design/next-round/05-已知遗留.md (a),总方案 X9)
|
||||
|
||||
/** 运行为什么结束在 cancelled(服务端 Run.end_reason):rejected 人工驳回,stopped 手动停止。其余终态、老运行为空 */
|
||||
export type RunEndReason = 'rejected' | 'stopped'
|
||||
|
||||
export interface Run {
|
||||
end_reason?: RunEndReason | null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user