feat(cloud): add targeted task governance foundation
Tests / Test passed: 659

This commit is contained in:
2026-07-13 22:21:12 +08:00
parent a3ba94be04
commit 2cd314b183
41 changed files with 2099 additions and 15 deletions
+13
View File
@@ -14,9 +14,22 @@ export interface TaskListItem {
assigned_host_id: string | null;
attempt_count: number;
failure_reason: string | null;
target_host_id: string | null;
target_device_id: string | null;
created_at: string;
}
export interface TaskSubmissionPayload {
goal?: string;
workflow_definition_id?: string;
constraints?: {
driver_type?: string;
capability_tags?: string[];
target_host_id?: string;
target_device_id?: string;
};
}
export interface TaskListResponse {
items: TaskListItem[];
total: number;