@butlerbot/sdk 0.0.41 → 0.0.42
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.
package/dist/types/jobs/job.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { Delivery } from "../outreach/delivery";
|
|
|
5
5
|
* These are the shapes the jobs routes answer with. The server flattens a job row into a
|
|
6
6
|
* `JobView` before it leaves, and this is that view rather than the row.
|
|
7
7
|
*/
|
|
8
|
-
export declare const JOB_STATUSES: readonly ["queued", "running", "blocked", "waiting_user", "waiting_approval", "waiting_child", "waiting_budget", "review", "done", "failed", "cancelled"];
|
|
8
|
+
export declare const JOB_STATUSES: readonly ["queued", "running", "blocked", "waiting_user", "waiting_approval", "waiting_child", "waiting_task", "waiting_budget", "review", "done", "failed", "cancelled"];
|
|
9
9
|
export type JobStatus = typeof JOB_STATUSES[number];
|
|
10
10
|
/** The statuses a job never leaves. */
|
|
11
11
|
export declare const TERMINAL_JOB_STATUSES: readonly JobStatus[];
|
package/dist/types/jobs/job.js
CHANGED
|
@@ -15,6 +15,11 @@ exports.JOB_STATUSES = [
|
|
|
15
15
|
"waiting_user",
|
|
16
16
|
"waiting_approval",
|
|
17
17
|
"waiting_child",
|
|
18
|
+
/**
|
|
19
|
+
* Parked with no wake time, on a tool call one of its shifts started that is still
|
|
20
|
+
* running in the background as a task; the task settling re-queues the job.
|
|
21
|
+
*/
|
|
22
|
+
"waiting_task",
|
|
18
23
|
"waiting_budget",
|
|
19
24
|
"review",
|
|
20
25
|
"done",
|