@hearsay-tools/squawk 0.18.0-pr3389.5932 → 0.18.0-pr3391.5936
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/contract/automation-schedule.d.ts +9 -0
- package/dist/contract/automations.d.ts +1 -9
- package/dist/contract/index.js +1956 -1960
- package/dist/contract/run-status.d.ts +32 -0
- package/dist/contract/runs.d.ts +1 -21
- package/dist/delegation/routes.d.ts +11 -11
- package/dist/delegation/transport.d.ts +4 -4
- package/dist/runs/run-exits.d.ts +290 -290
- package/dist/server/server.d.ts +58 -58
- package/dist/workflows/run/wait-engine.d.ts +72 -72
- package/package.json +4 -4
- package/web/dist/assets/{activity-motion-XsGcc9eM.js → activity-motion-Bqd8S9Xy.js} +2 -2
- package/web/dist/assets/{activity-route-DIDXHV7J.js → activity-route-DQI_8J09.js} +1 -1
- package/web/dist/assets/{agent-accounts-CuRvwNoA.js → agent-accounts-C6eyz75V.js} +1 -1
- package/web/dist/assets/{cez-idle-DtpdVf_5.js → cez-idle-NomdGTfa.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-DtHg36xc.js → commit-diff-panel-C7BUSPzE.js} +1 -1
- package/web/dist/assets/{control-locations-CljaLD_b.js → control-locations-DlrUP5vD.js} +1 -1
- package/web/dist/assets/{diff-ImdJ4tPA.js → diff-Bwy0qFul.js} +2 -2
- package/web/dist/assets/{diff-view-BMqNpcSH.js → diff-view-B9kgeZTm.js} +1 -1
- package/web/dist/assets/{file-preview-C58stPPw.js → file-preview-DrXgM1-S.js} +1 -1
- package/web/dist/assets/{git-toolbar-Dzp24LO7.js → git-toolbar-B1gOn_1U.js} +1 -1
- package/web/dist/assets/{github-Cn0hlJsH.js → github-g-ZOTwHQ.js} +1 -1
- package/web/dist/assets/{github-sidebar-model-BSNdxNKJ.js → github-sidebar-model-BdoLA7qT.js} +1 -1
- package/web/dist/assets/{global-activity-route-D5ke1ZQa.js → global-activity-route-CZ_xwiz3.js} +1 -1
- package/web/dist/assets/index-75IttVLX.js +17 -0
- package/web/dist/assets/{live-protocol-BAiIX_Mf.js → live-protocol-DBPXI6ks.js} +1 -1
- package/web/dist/assets/{live-refetch-CstQIN6c.js → live-refetch-pzhdhNS_.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-Cl-W1pDv.js → preview-pane-connected-Cx8q-Yrh.js} +1 -1
- package/web/dist/assets/{project-router-Dd63wBeA.js → project-router-BFKfAFvq.js} +1 -1
- package/web/dist/assets/project-scope-context-DSkcNKO7.js +4 -0
- package/web/dist/assets/{queries-BPdWfTBN.js → queries-BtScxiQP.js} +1 -1
- package/web/dist/assets/{repo-git-YYivBJ2x.js → repo-git-DgZuI4FP.js} +1 -1
- package/web/dist/assets/{report-reader-gGAlVnKU.js → report-reader-CeBtx_Sf.js} +1 -1
- package/web/dist/assets/reports-CRPxIRMM.js +1 -0
- package/web/dist/assets/{run-header-CxRJxVsR.js → run-header-C8Eeonkx.js} +2 -2
- package/web/dist/assets/{skills-CEFXcZA5.js → skills-DDoJCcmD.js} +1 -1
- package/web/dist/assets/{tab-link-CDrve3Rf.js → tab-link-DDpdYMnv.js} +1 -1
- package/web/dist/assets/{task-changes-Bm4gjXBb.js → task-changes-XAcKfebn.js} +1 -1
- package/web/dist/assets/{task-commits-DYHV533w.js → task-commits-D5V0Q0au.js} +1 -1
- package/web/dist/assets/{task-files-Bqvj0rbX.js → task-files-CkPJZE0w.js} +1 -1
- package/web/dist/assets/{task-github-item-YkTV2--_.js → task-github-item-CbCOKkvp.js} +1 -1
- package/web/dist/assets/{task-thread-CempX7k0.js → task-thread-DyR8HsDz.js} +5 -5
- package/web/dist/assets/{thread-state-BpcneWuV.js → thread-state-BtmIMbkZ.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-B9qtivFb.js → use-hand-to-agent-state-BUpbMYM9.js} +1 -1
- package/web/dist/assets/{useInfiniteQuery-hrWYY8aw.js → useInfiniteQuery-BmfExLUr.js} +1 -1
- package/web/dist/assets/useQuery-8pHkglP4.js +1 -0
- package/web/dist/assets/{workflows-z-CqJ0JW.js → workflows-CEFtJj_h.js} +1 -1
- package/web/dist/assets/{ws-Cn8d-Fu-.js → ws-CEQH0TUT.js} +1 -1
- package/web/dist/index.html +13 -13
- package/web/dist/live-worker.js +1 -1
- package/web/dist/assets/index-lMBPAedr.js +0 -17
- package/web/dist/assets/project-scope-context-wlB-Y0ii.js +0 -4
- package/web/dist/assets/reports-B_xpuTvK.js +0 -1
- package/web/dist/assets/useQuery-BHmKi9_o.js +0 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* The lifecycle enums a run, a step, and a step kind can hold. This module imports only zod:
|
|
4
|
+
* activity.ts and the testkit need the enums without the run record
|
|
5
|
+
* (hearsay-tools/cezarion#3369). `runs.ts` re-exports the names.
|
|
6
|
+
*/
|
|
7
|
+
export declare const runStatusSchema: z.ZodEnum<{
|
|
8
|
+
cancelled: "cancelled";
|
|
9
|
+
done: "done";
|
|
10
|
+
failed: "failed";
|
|
11
|
+
queued: "queued";
|
|
12
|
+
review: "review";
|
|
13
|
+
running: "running";
|
|
14
|
+
waiting: "waiting";
|
|
15
|
+
}>;
|
|
16
|
+
export type RunStatus = z.infer<typeof runStatusSchema>;
|
|
17
|
+
export declare const stepStatusSchema: z.ZodEnum<{
|
|
18
|
+
cancelled: "cancelled";
|
|
19
|
+
done: "done";
|
|
20
|
+
failed: "failed";
|
|
21
|
+
pending: "pending";
|
|
22
|
+
review: "review";
|
|
23
|
+
running: "running";
|
|
24
|
+
skipped: "skipped";
|
|
25
|
+
waiting: "waiting";
|
|
26
|
+
}>;
|
|
27
|
+
export type StepStatus = z.infer<typeof stepStatusSchema>;
|
|
28
|
+
export declare const stepKindSchema: z.ZodEnum<{
|
|
29
|
+
agent: "agent";
|
|
30
|
+
check: "check";
|
|
31
|
+
}>;
|
|
32
|
+
export type StepKind = z.infer<typeof stepKindSchema>;
|
package/dist/contract/runs.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export { runStatusSchema, type RunStatus, stepStatusSchema, type StepStatus, stepKindSchema, type StepKind } from './run-status.ts';
|
|
2
3
|
/**
|
|
3
4
|
* The RUNS family of `/api/v1` — a task's record, its lifecycle mutations, and the artifacts
|
|
4
5
|
* (queued prompt stack, commits, git actions) that hang off one run.
|
|
@@ -42,16 +43,6 @@ export declare const autoArchiveReceiptSchema: z.ZodObject<{
|
|
|
42
43
|
mergedAt: z.ZodString;
|
|
43
44
|
}, z.core.$strip>>;
|
|
44
45
|
}, z.core.$strip>;
|
|
45
|
-
export declare const runStatusSchema: z.ZodEnum<{
|
|
46
|
-
cancelled: "cancelled";
|
|
47
|
-
done: "done";
|
|
48
|
-
failed: "failed";
|
|
49
|
-
queued: "queued";
|
|
50
|
-
review: "review";
|
|
51
|
-
running: "running";
|
|
52
|
-
waiting: "waiting";
|
|
53
|
-
}>;
|
|
54
|
-
export type RunStatus = z.infer<typeof runStatusSchema>;
|
|
55
46
|
/** Durable completion work. The id fences replies from a previous completion or setting. */
|
|
56
47
|
export declare const completionActionSchema: z.ZodObject<{
|
|
57
48
|
id: z.ZodString;
|
|
@@ -62,17 +53,6 @@ export declare const completionActionSchema: z.ZodObject<{
|
|
|
62
53
|
}>;
|
|
63
54
|
message: z.ZodOptional<z.ZodString>;
|
|
64
55
|
}, z.core.$strip>;
|
|
65
|
-
export declare const stepStatusSchema: z.ZodEnum<{
|
|
66
|
-
cancelled: "cancelled";
|
|
67
|
-
done: "done";
|
|
68
|
-
failed: "failed";
|
|
69
|
-
pending: "pending";
|
|
70
|
-
review: "review";
|
|
71
|
-
running: "running";
|
|
72
|
-
skipped: "skipped";
|
|
73
|
-
waiting: "waiting";
|
|
74
|
-
}>;
|
|
75
|
-
export type StepStatus = z.infer<typeof stepStatusSchema>;
|
|
76
56
|
/** Cursor native session transport; legacy ones omit it (ACP). `cursor-acp` is only read (hearsay-tools/cezarion#1267). */
|
|
77
57
|
export declare const sessionTransportSchema: z.ZodEnum<{
|
|
78
58
|
"cursor-acp": "cursor-acp";
|
|
@@ -82,17 +82,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
82
82
|
"/discover": {
|
|
83
83
|
$post: {
|
|
84
84
|
output: {
|
|
85
|
-
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
86
|
-
models: {
|
|
87
|
-
id: string;
|
|
88
|
-
label: string;
|
|
89
|
-
description: string;
|
|
90
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
91
|
-
}[];
|
|
92
|
-
source: "cache" | "live" | "unavailable";
|
|
93
|
-
stale: boolean;
|
|
94
|
-
reason?: string | undefined;
|
|
95
|
-
} | {
|
|
96
85
|
tasks: {
|
|
97
86
|
id: string;
|
|
98
87
|
title: string;
|
|
@@ -113,6 +102,17 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
113
102
|
authFailureId?: string | undefined;
|
|
114
103
|
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
115
104
|
}[];
|
|
105
|
+
} | {
|
|
106
|
+
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
107
|
+
models: {
|
|
108
|
+
id: string;
|
|
109
|
+
label: string;
|
|
110
|
+
description: string;
|
|
111
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
112
|
+
}[];
|
|
113
|
+
source: "cache" | "live" | "unavailable";
|
|
114
|
+
stale: boolean;
|
|
115
|
+
reason?: string | undefined;
|
|
116
116
|
};
|
|
117
117
|
outputFormat: "json";
|
|
118
118
|
status: 200;
|
|
@@ -196,13 +196,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
196
196
|
status: 200;
|
|
197
197
|
input: {
|
|
198
198
|
json: {
|
|
199
|
-
workerIds: string[];
|
|
200
|
-
timeoutSeconds?: number | undefined;
|
|
201
|
-
mode?: "all" | "any" | "one" | undefined;
|
|
202
|
-
} | {
|
|
203
199
|
requestIds: string[];
|
|
204
200
|
mode?: "all" | "any" | "one" | undefined;
|
|
205
201
|
timeoutSeconds?: number | undefined;
|
|
202
|
+
} | {
|
|
203
|
+
workerIds: string[];
|
|
204
|
+
timeoutSeconds?: number | undefined;
|
|
205
|
+
mode?: "all" | "any" | "one" | undefined;
|
|
206
206
|
} | {
|
|
207
207
|
peerIds: string[];
|
|
208
208
|
timeoutSeconds?: number | undefined;
|