@ziggs-ai/api-client 0.9.8 → 0.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -43,6 +43,14 @@ export interface PlanReplaceStep {
|
|
|
43
43
|
description: string;
|
|
44
44
|
/** Omit to use the array index (ZIG-1268). */
|
|
45
45
|
order?: number;
|
|
46
|
+
/**
|
|
47
|
+
* ZIG-1313: step progress. Omit for `pending`. Send `completed` /
|
|
48
|
+
* `in_progress` when replacing the plan so a later task completion does not
|
|
49
|
+
* rewrite finished steps as skipped.
|
|
50
|
+
*/
|
|
51
|
+
status?: 'pending' | 'in_progress' | 'completed' | 'skipped';
|
|
52
|
+
/** Optional step output stored with this replace. */
|
|
53
|
+
result?: unknown;
|
|
46
54
|
}
|
|
47
55
|
export declare function replaceTaskPlan(taskId: string, steps: PlanReplaceStep[], creds: Creds): Promise<Task>;
|
|
48
56
|
export declare function updateTaskPlanStep(taskId: string, stepId: string, status: string, result: unknown, creds: Creds): Promise<Task>;
|