feat(daemon+store+api): verdict硬闸+执行期锁+conflict优先+schema
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -10,6 +10,7 @@ export interface ProjectRow {
|
||||
concurrency: number; max_retries: number; timeout_ms: number;
|
||||
status: string; created_at: string;
|
||||
last_sync_at: string | null; logo: string | null; sort_order: number;
|
||||
checks: string | null; auto_approve_plan: number; auto_approve_exec: number;
|
||||
}
|
||||
export interface TaskRow {
|
||||
id: string; project_id: string; parent_id: string | null; depth: number;
|
||||
@@ -41,6 +42,9 @@ export function rowToProject(r: ProjectRow): Project {
|
||||
concurrency: r.concurrency, maxRetries: r.max_retries ?? 2, timeoutMs: r.timeout_ms ?? 1_800_000,
|
||||
status: r.status as Project['status'], createdAt: r.created_at,
|
||||
lastSyncAt: r.last_sync_at, logo: r.logo, sortOrder: r.sort_order,
|
||||
checks: r.checks ?? null,
|
||||
autoApprovePlan: Boolean(r.auto_approve_plan),
|
||||
autoApproveExec: Boolean(r.auto_approve_exec),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user