@hearsay-tools/squawk 0.19.0-dev.9229.2 → 0.19.0-dev.9235
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/activity/read-model.js +5 -2
- package/dist/activity/read-model.js.map +1 -1
- package/dist/contract/index.d.ts +1 -0
- package/dist/contract/index.js +2250 -1940
- package/dist/contract/runs.d.ts +117 -0
- package/dist/contract/task-result.d.ts +1075 -0
- package/dist/delegation/readiness.d.ts +8 -5
- package/dist/delegation/readiness.js +23 -9
- package/dist/delegation/readiness.js.map +1 -1
- package/dist/delegation/routes.d.ts +4 -4
- package/dist/delegation/service.js +4 -2
- package/dist/delegation/service.js.map +1 -1
- package/dist/delegation/worker-cleanup.js +1 -1
- package/dist/delegation/worker-cleanup.js.map +1 -1
- package/dist/project-migration/journal.d.ts +2 -0
- package/dist/project-migration/journal.js +1 -1
- package/dist/project-migration/journal.js.map +1 -1
- package/dist/project-migration/plan.js +2 -0
- package/dist/project-migration/plan.js.map +1 -1
- package/dist/runs/legacy-run-rows.d.ts +1 -1
- package/dist/runs/legacy-run-rows.js +7 -3
- package/dist/runs/legacy-run-rows.js.map +1 -1
- package/dist/runs/ports.d.ts +16 -1
- package/dist/runs/project-run-connection.d.ts +3 -0
- package/dist/runs/project-run-connection.js +57 -10
- package/dist/runs/project-run-connection.js.map +1 -1
- package/dist/runs/project-run-sources.d.ts +6 -0
- package/dist/runs/project-run-sources.js +20 -0
- package/dist/runs/project-run-sources.js.map +1 -1
- package/dist/runs/run-archive.d.ts +19 -0
- package/dist/runs/run-decode.d.ts +58 -0
- package/dist/runs/run-decode.js +10 -0
- package/dist/runs/run-decode.js.map +1 -1
- package/dist/runs/run-exits.d.ts +114 -0
- package/dist/runs/run-retention.d.ts +2 -0
- package/dist/runs/run-retention.js +11 -2
- package/dist/runs/run-retention.js.map +1 -1
- package/dist/runs/store.d.ts +3 -0
- package/dist/runs/store.js +11 -5
- package/dist/runs/store.js.map +1 -1
- package/dist/runs/task-result-commit.d.ts +24 -0
- package/dist/runs/task-result-commit.js +114 -0
- package/dist/runs/task-result-commit.js.map +1 -0
- package/dist/runs/task-results.d.ts +61 -0
- package/dist/runs/task-results.js +220 -0
- package/dist/runs/task-results.js.map +1 -0
- package/dist/runs/worker-result-commit.d.ts +12 -12
- package/dist/runs/worker-result-commit.js +77 -55
- package/dist/runs/worker-result-commit.js.map +1 -1
- package/dist/runs/worker-results.d.ts +10 -26
- package/dist/runs/worker-results.js +11 -73
- package/dist/runs/worker-results.js.map +1 -1
- package/dist/server/runs-routes.d.ts +205 -34
- package/dist/server/server.d.ts +1660 -1318
- package/dist/workflows/continuation-admission.d.ts +91 -72
- package/dist/workflows/input-acknowledgement.d.ts +24 -24
- package/dist/workflows/run/completion-gate.js +10 -4
- package/dist/workflows/run/completion-gate.js.map +1 -1
- package/dist/workflows/run/wait-engine.d.ts +91 -72
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-lnMwvHTo.js → accounts-section-BOZ9JyE6.js} +1 -1
- package/web/dist/assets/{activity-motion-DBxIOskd.js → activity-motion-D48R7Vry.js} +1 -1
- package/web/dist/assets/{activity-route-BYf5OD8Y.js → activity-route-jcGRtnMT.js} +1 -1
- package/web/dist/assets/{agent-accounts-BzD14qLU.js → agent-accounts-CUthX0Yh.js} +1 -1
- package/web/dist/assets/{agent-config-section-BwmBjoad.js → agent-config-section-BvwoyNZb.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-BbFvw0IO.js → agent-defaults-section-Hb-jy4TN.js} +1 -1
- package/web/dist/assets/{appearance-CkohbKAs.js → appearance-EXKzoghV.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-CQ8DBqiG.js → archive-on-merge-field-Ni7bKGkG.js} +1 -1
- package/web/dist/assets/{ask-card-Bli7vYif.js → ask-card-CkE44gm3.js} +1 -1
- package/web/dist/assets/{automations-route-BNYFQeuu.js → automations-route-3bhtdTy3.js} +1 -1
- package/web/dist/assets/{commit-list-CJZtpbaw.js → commit-list-DSw7qvVY.js} +1 -1
- package/web/dist/assets/{diff-DPSOaO5_.js → diff-BidPzsVK.js} +2 -2
- package/web/dist/assets/{diff-controls-rfNgY_Dd.js → diff-controls-DeMSGYln.js} +1 -1
- package/web/dist/assets/{diff-view-CswchTTd.js → diff-view-BqU4sJld.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-BMT0YtWx.js → discard-changes-dialog-B1AO0GSt.js} +1 -1
- package/web/dist/assets/{file-preview-DoaMlVS3.js → file-preview-BIZXTzkp.js} +1 -1
- package/web/dist/assets/{folder-browser-D_q7aPq-.js → folder-browser-C9Phl0rS.js} +1 -1
- package/web/dist/assets/{git-toolbar-BCqNvkr5.js → git-toolbar-BBon1yHh.js} +1 -1
- package/web/dist/assets/{github-Bv1h-3dP.js → github-QOB5Qi4v.js} +1 -1
- package/web/dist/assets/{global-activity-route-CrAG-ji7.js → global-activity-route-lSnYAZE9.js} +1 -1
- package/web/dist/assets/{hosts-pzCm30ta.js → hosts-DDwDUxT9.js} +1 -1
- package/web/dist/assets/{index-D9hyWO4C.js → index-BuR9xHfb.js} +5 -5
- package/web/dist/assets/{label-DEZnEIpB.js → label-D6vgq5lF.js} +1 -1
- package/web/dist/assets/{markdown-BRE9fTUI.js → markdown-A6dvDky9.js} +1 -1
- package/web/dist/assets/{open-in-menu-DomSOC26.js → open-in-menu-Bb_jc7pm.js} +1 -1
- package/web/dist/assets/{option-select-Cqnmt-CB.js → option-select-CCpypHbW.js} +1 -1
- package/web/dist/assets/{preferences-section-CC4m45tb.js → preferences-section-B75Zx0mY.js} +1 -1
- package/web/dist/assets/{preview-DFL4D2C_.js → preview-DiBpgf-5.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-CvF3zJ9A.js → preview-pane-connected-BVu2oO0V.js} +1 -1
- package/web/dist/assets/{project-location-D6-Lo1vY.js → project-location-D1etWKHg.js} +1 -1
- package/web/dist/assets/{project-router-CARDbdMX.js → project-router-yoWCTDaT.js} +1 -1
- package/web/dist/assets/project-scope-context-hfRzPMZ4.js +4 -0
- package/web/dist/assets/{projects-section-zeGtqnI3.js → projects-section-BRnIJ47e.js} +1 -1
- package/web/dist/assets/{prompt-templates-section--ygct2zC.js → prompt-templates-section-D7JLM5BM.js} +1 -1
- package/web/dist/assets/{queries-D7W-eGim.js → queries-ChH9ctc-.js} +1 -1
- package/web/dist/assets/{reference-chip-D8ckcrda.js → reference-chip-BPRZm7Kb.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-MxDxNXXw.js → remote-settings-notice-Ip6H5hLU.js} +1 -1
- package/web/dist/assets/{repo-git-VfTEbVO3.js → repo-git-Wf30akEt.js} +1 -1
- package/web/dist/assets/{report-reader-DLCLUfdH.js → report-reader-DhcZcNql.js} +1 -1
- package/web/dist/assets/{report-selection-BcsbTczw.js → report-selection-CwPw7vbG.js} +1 -1
- package/web/dist/assets/{reports-QoDlngjL.js → reports-DPKDwzxY.js} +1 -1
- package/web/dist/assets/{resources-section-CBL0htm5.js → resources-section-DaWcyqur.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-DJDQNemf.js → review-notes-drafts-D7QuBuTL.js} +1 -1
- package/web/dist/assets/{review-panel-BY05CuXd.js → review-panel-Bpxl4TvO.js} +1 -1
- package/web/dist/assets/{review-strip-BWhQ5CIC.js → review-strip-Da5n1k8s.js} +1 -1
- package/web/dist/assets/{run-detail-refresh-CecZhU-h.js → run-detail-refresh-CVSK_VKG.js} +1 -1
- package/web/dist/assets/{run-diff-CpwwrpXO.js → run-diff-CPuNFD3X.js} +1 -1
- package/web/dist/assets/{run-header-CZU3e9Xk.js → run-header-B8EAOHFc.js} +1 -1
- package/web/dist/assets/{select-C72KGfnK.js → select-xjUzLrk9.js} +1 -1
- package/web/dist/assets/{session-context-section-D8v30mSp.js → session-context-section-C7OTexKU.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-DGhJwDIY.js → settings-agent-picker-mESK-hj4.js} +1 -1
- package/web/dist/assets/{settings-save-bar-Dp-eEIEF.js → settings-save-bar-BUaa1kHw.js} +1 -1
- package/web/dist/assets/{settings-shell-DZzgCmSz.js → settings-shell-BKSsBxqQ.js} +1 -1
- package/web/dist/assets/{sidebar-section-B94mdYUS.js → sidebar-section-BFBZlQ-x.js} +1 -1
- package/web/dist/assets/{skills-B6jO_f1w.js → skills-BSqszv5g.js} +1 -1
- package/web/dist/assets/{status-dot-B5MkhHDP.js → status-dot-Fp5SnPHI.js} +1 -1
- package/web/dist/assets/{tab-link-zXPa9LIz.js → tab-link-j06AaWSU.js} +1 -1
- package/web/dist/assets/{task-changes-B_2BDWIf.js → task-changes-B4KFHxVa.js} +1 -1
- package/web/dist/assets/{task-commits-kxDG4T81.js → task-commits-D-UAUoZ5.js} +1 -1
- package/web/dist/assets/{task-file-scope-DVACyrij.js → task-file-scope-BhWG35a8.js} +1 -1
- package/web/dist/assets/{task-files-4CxXkPOx.js → task-files-BOCx_Lp0.js} +1 -1
- package/web/dist/assets/{task-github-item-C8hMZej3.js → task-github-item-CZqaaxNv.js} +1 -1
- package/web/dist/assets/{task-thread-Bv_Fjceh.js → task-thread-D3d419VX.js} +1 -1
- package/web/dist/assets/{thread-state-CufNf_fC.js → thread-state-B0pz2Y8K.js} +1 -1
- package/web/dist/assets/{use-finish-run-CjYc6ovQ.js → use-finish-run-TX3pIPCS.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-B_j_e1kD.js → use-hand-to-agent-state-D2oChRzw.js} +1 -1
- package/web/dist/assets/use-path-bases-DFxEHoyU.js +1 -0
- package/web/dist/assets/use-workspace-config-save-DR8brU5p.js +1 -0
- package/web/dist/assets/{workflows-iMfDerlK.js → workflows-BwzNhxT0.js} +1 -1
- package/web/dist/assets/{workspace-tools-CgYFRggf.js → workspace-tools-Be_j9oke.js} +1 -1
- package/web/dist/assets/{worktrees-section-CtT9bwKK.js → worktrees-section-cnibWU5-.js} +1 -1
- package/web/dist/index.html +14 -14
- package/web/dist/assets/project-scope-context-Bz7AAyJ4.js +0 -4
- package/web/dist/assets/use-path-bases-BfjK7tem.js +0 -1
- package/web/dist/assets/use-workspace-config-save-toCmvqtz.js +0 -1
|
@@ -92,8 +92,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
92
92
|
} | undefined;
|
|
93
93
|
invalidAsk?: boolean | undefined;
|
|
94
94
|
delegation?: {
|
|
95
|
-
role: "invalid";
|
|
96
|
-
} | {
|
|
97
95
|
role: "root";
|
|
98
96
|
conversation?: {
|
|
99
97
|
messages: {
|
|
@@ -328,6 +326,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
328
326
|
} | undefined;
|
|
329
327
|
executionRevision?: number | undefined;
|
|
330
328
|
executionStartSeq?: number | undefined;
|
|
329
|
+
} | {
|
|
330
|
+
role: "invalid";
|
|
331
331
|
} | undefined;
|
|
332
332
|
agentInputs?: {
|
|
333
333
|
conversation?: {
|
|
@@ -1054,6 +1054,25 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
1054
1054
|
nextAt: string;
|
|
1055
1055
|
needsAttention?: true | undefined;
|
|
1056
1056
|
} | undefined;
|
|
1057
|
+
result?: {
|
|
1058
|
+
revision: number;
|
|
1059
|
+
snapshotId: string;
|
|
1060
|
+
observedAt: string;
|
|
1061
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
1062
|
+
previous?: {
|
|
1063
|
+
revision: number;
|
|
1064
|
+
observedAt: string;
|
|
1065
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
1066
|
+
} | undefined;
|
|
1067
|
+
} | undefined;
|
|
1068
|
+
executionRevision?: number | undefined;
|
|
1069
|
+
executionStartSeq?: number | undefined;
|
|
1070
|
+
workerAcknowledgements?: {
|
|
1071
|
+
workerId: string;
|
|
1072
|
+
revision: number;
|
|
1073
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
1074
|
+
observedAt: string;
|
|
1075
|
+
}[] | undefined;
|
|
1057
1076
|
notify?: boolean | undefined;
|
|
1058
1077
|
webhook?: {
|
|
1059
1078
|
lastDeliveredAt?: string | undefined;
|
|
@@ -1939,8 +1958,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
1939
1958
|
} | undefined;
|
|
1940
1959
|
invalidAsk?: boolean | undefined;
|
|
1941
1960
|
delegation?: {
|
|
1942
|
-
role: "invalid";
|
|
1943
|
-
} | {
|
|
1944
1961
|
role: "root";
|
|
1945
1962
|
conversation?: {
|
|
1946
1963
|
messages: {
|
|
@@ -2175,6 +2192,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
2175
2192
|
} | undefined;
|
|
2176
2193
|
executionRevision?: number | undefined;
|
|
2177
2194
|
executionStartSeq?: number | undefined;
|
|
2195
|
+
} | {
|
|
2196
|
+
role: "invalid";
|
|
2178
2197
|
} | undefined;
|
|
2179
2198
|
agentInputs?: {
|
|
2180
2199
|
conversation?: {
|
|
@@ -2901,6 +2920,25 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
2901
2920
|
nextAt: string;
|
|
2902
2921
|
needsAttention?: true | undefined;
|
|
2903
2922
|
} | undefined;
|
|
2923
|
+
result?: {
|
|
2924
|
+
revision: number;
|
|
2925
|
+
snapshotId: string;
|
|
2926
|
+
observedAt: string;
|
|
2927
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
2928
|
+
previous?: {
|
|
2929
|
+
revision: number;
|
|
2930
|
+
observedAt: string;
|
|
2931
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
2932
|
+
} | undefined;
|
|
2933
|
+
} | undefined;
|
|
2934
|
+
executionRevision?: number | undefined;
|
|
2935
|
+
executionStartSeq?: number | undefined;
|
|
2936
|
+
workerAcknowledgements?: {
|
|
2937
|
+
workerId: string;
|
|
2938
|
+
revision: number;
|
|
2939
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
2940
|
+
observedAt: string;
|
|
2941
|
+
}[] | undefined;
|
|
2904
2942
|
notify?: boolean | undefined;
|
|
2905
2943
|
webhook?: {
|
|
2906
2944
|
lastDeliveredAt?: string | undefined;
|
|
@@ -3154,8 +3192,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
3154
3192
|
} | undefined;
|
|
3155
3193
|
invalidAsk?: boolean | undefined;
|
|
3156
3194
|
delegation?: {
|
|
3157
|
-
role: "invalid";
|
|
3158
|
-
} | {
|
|
3159
3195
|
role: "root";
|
|
3160
3196
|
conversation?: {
|
|
3161
3197
|
messages: {
|
|
@@ -3390,6 +3426,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
3390
3426
|
} | undefined;
|
|
3391
3427
|
executionRevision?: number | undefined;
|
|
3392
3428
|
executionStartSeq?: number | undefined;
|
|
3429
|
+
} | {
|
|
3430
|
+
role: "invalid";
|
|
3393
3431
|
} | undefined;
|
|
3394
3432
|
agentInputs?: {
|
|
3395
3433
|
conversation?: {
|
|
@@ -4116,6 +4154,25 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
4116
4154
|
nextAt: string;
|
|
4117
4155
|
needsAttention?: true | undefined;
|
|
4118
4156
|
} | undefined;
|
|
4157
|
+
result?: {
|
|
4158
|
+
revision: number;
|
|
4159
|
+
snapshotId: string;
|
|
4160
|
+
observedAt: string;
|
|
4161
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
4162
|
+
previous?: {
|
|
4163
|
+
revision: number;
|
|
4164
|
+
observedAt: string;
|
|
4165
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
4166
|
+
} | undefined;
|
|
4167
|
+
} | undefined;
|
|
4168
|
+
executionRevision?: number | undefined;
|
|
4169
|
+
executionStartSeq?: number | undefined;
|
|
4170
|
+
workerAcknowledgements?: {
|
|
4171
|
+
workerId: string;
|
|
4172
|
+
revision: number;
|
|
4173
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
4174
|
+
observedAt: string;
|
|
4175
|
+
}[] | undefined;
|
|
4119
4176
|
notify?: boolean | undefined;
|
|
4120
4177
|
webhook?: {
|
|
4121
4178
|
lastDeliveredAt?: string | undefined;
|
|
@@ -5124,8 +5181,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
5124
5181
|
currentStepId?: string | undefined;
|
|
5125
5182
|
error?: string | undefined;
|
|
5126
5183
|
delegation?: {
|
|
5127
|
-
role: "invalid";
|
|
5128
|
-
} | {
|
|
5129
5184
|
role: "root";
|
|
5130
5185
|
conversation?: {
|
|
5131
5186
|
messages: {
|
|
@@ -5360,6 +5415,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
5360
5415
|
} | undefined;
|
|
5361
5416
|
executionRevision?: number | undefined;
|
|
5362
5417
|
executionStartSeq?: number | undefined;
|
|
5418
|
+
} | {
|
|
5419
|
+
role: "invalid";
|
|
5363
5420
|
} | undefined;
|
|
5364
5421
|
lastWaitsError?: string | undefined;
|
|
5365
5422
|
automaticWakes?: number | undefined;
|
|
@@ -5376,6 +5433,25 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
5376
5433
|
nextAt: string;
|
|
5377
5434
|
needsAttention?: true | undefined;
|
|
5378
5435
|
} | undefined;
|
|
5436
|
+
result?: {
|
|
5437
|
+
revision: number;
|
|
5438
|
+
snapshotId: string;
|
|
5439
|
+
observedAt: string;
|
|
5440
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
5441
|
+
previous?: {
|
|
5442
|
+
revision: number;
|
|
5443
|
+
observedAt: string;
|
|
5444
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
5445
|
+
} | undefined;
|
|
5446
|
+
} | undefined;
|
|
5447
|
+
executionRevision?: number | undefined;
|
|
5448
|
+
executionStartSeq?: number | undefined;
|
|
5449
|
+
workerAcknowledgements?: {
|
|
5450
|
+
workerId: string;
|
|
5451
|
+
revision: number;
|
|
5452
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
5453
|
+
observedAt: string;
|
|
5454
|
+
}[] | undefined;
|
|
5379
5455
|
stopping?: boolean | undefined;
|
|
5380
5456
|
autoResumeAt?: string | undefined;
|
|
5381
5457
|
autoResumeAttempts?: number | undefined;
|
|
@@ -5597,8 +5673,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
5597
5673
|
} | undefined;
|
|
5598
5674
|
invalidAsk?: boolean | undefined;
|
|
5599
5675
|
delegation?: {
|
|
5600
|
-
role: "invalid";
|
|
5601
|
-
} | {
|
|
5602
5676
|
role: "root";
|
|
5603
5677
|
conversation?: {
|
|
5604
5678
|
messages: {
|
|
@@ -5833,6 +5907,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
5833
5907
|
} | undefined;
|
|
5834
5908
|
executionRevision?: number | undefined;
|
|
5835
5909
|
executionStartSeq?: number | undefined;
|
|
5910
|
+
} | {
|
|
5911
|
+
role: "invalid";
|
|
5836
5912
|
} | undefined;
|
|
5837
5913
|
agentInputs?: {
|
|
5838
5914
|
conversation?: {
|
|
@@ -6559,6 +6635,25 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
6559
6635
|
nextAt: string;
|
|
6560
6636
|
needsAttention?: true | undefined;
|
|
6561
6637
|
} | undefined;
|
|
6638
|
+
result?: {
|
|
6639
|
+
revision: number;
|
|
6640
|
+
snapshotId: string;
|
|
6641
|
+
observedAt: string;
|
|
6642
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
6643
|
+
previous?: {
|
|
6644
|
+
revision: number;
|
|
6645
|
+
observedAt: string;
|
|
6646
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
6647
|
+
} | undefined;
|
|
6648
|
+
} | undefined;
|
|
6649
|
+
executionRevision?: number | undefined;
|
|
6650
|
+
executionStartSeq?: number | undefined;
|
|
6651
|
+
workerAcknowledgements?: {
|
|
6652
|
+
workerId: string;
|
|
6653
|
+
revision: number;
|
|
6654
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
6655
|
+
observedAt: string;
|
|
6656
|
+
}[] | undefined;
|
|
6562
6657
|
notify?: boolean | undefined;
|
|
6563
6658
|
webhook?: {
|
|
6564
6659
|
lastDeliveredAt?: string | undefined;
|
|
@@ -6788,8 +6883,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
6788
6883
|
} | undefined;
|
|
6789
6884
|
invalidAsk?: boolean | undefined;
|
|
6790
6885
|
delegation?: {
|
|
6791
|
-
role: "invalid";
|
|
6792
|
-
} | {
|
|
6793
6886
|
role: "root";
|
|
6794
6887
|
conversation?: {
|
|
6795
6888
|
messages: {
|
|
@@ -7024,6 +7117,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
7024
7117
|
} | undefined;
|
|
7025
7118
|
executionRevision?: number | undefined;
|
|
7026
7119
|
executionStartSeq?: number | undefined;
|
|
7120
|
+
} | {
|
|
7121
|
+
role: "invalid";
|
|
7027
7122
|
} | undefined;
|
|
7028
7123
|
agentInputs?: {
|
|
7029
7124
|
conversation?: {
|
|
@@ -7750,6 +7845,25 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
7750
7845
|
nextAt: string;
|
|
7751
7846
|
needsAttention?: true | undefined;
|
|
7752
7847
|
} | undefined;
|
|
7848
|
+
result?: {
|
|
7849
|
+
revision: number;
|
|
7850
|
+
snapshotId: string;
|
|
7851
|
+
observedAt: string;
|
|
7852
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
7853
|
+
previous?: {
|
|
7854
|
+
revision: number;
|
|
7855
|
+
observedAt: string;
|
|
7856
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
7857
|
+
} | undefined;
|
|
7858
|
+
} | undefined;
|
|
7859
|
+
executionRevision?: number | undefined;
|
|
7860
|
+
executionStartSeq?: number | undefined;
|
|
7861
|
+
workerAcknowledgements?: {
|
|
7862
|
+
workerId: string;
|
|
7863
|
+
revision: number;
|
|
7864
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
7865
|
+
observedAt: string;
|
|
7866
|
+
}[] | undefined;
|
|
7753
7867
|
notify?: boolean | undefined;
|
|
7754
7868
|
webhook?: {
|
|
7755
7869
|
lastDeliveredAt?: string | undefined;
|
|
@@ -8717,8 +8831,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
8717
8831
|
currentStepId?: string | undefined;
|
|
8718
8832
|
error?: string | undefined;
|
|
8719
8833
|
delegation?: {
|
|
8720
|
-
role: "invalid";
|
|
8721
|
-
} | {
|
|
8722
8834
|
role: "root";
|
|
8723
8835
|
conversation?: {
|
|
8724
8836
|
messages: {
|
|
@@ -8953,6 +9065,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
8953
9065
|
} | undefined;
|
|
8954
9066
|
executionRevision?: number | undefined;
|
|
8955
9067
|
executionStartSeq?: number | undefined;
|
|
9068
|
+
} | {
|
|
9069
|
+
role: "invalid";
|
|
8956
9070
|
} | undefined;
|
|
8957
9071
|
lastWaitsError?: string | undefined;
|
|
8958
9072
|
automaticWakes?: number | undefined;
|
|
@@ -8969,6 +9083,25 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
8969
9083
|
nextAt: string;
|
|
8970
9084
|
needsAttention?: true | undefined;
|
|
8971
9085
|
} | undefined;
|
|
9086
|
+
result?: {
|
|
9087
|
+
revision: number;
|
|
9088
|
+
snapshotId: string;
|
|
9089
|
+
observedAt: string;
|
|
9090
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
9091
|
+
previous?: {
|
|
9092
|
+
revision: number;
|
|
9093
|
+
observedAt: string;
|
|
9094
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
9095
|
+
} | undefined;
|
|
9096
|
+
} | undefined;
|
|
9097
|
+
executionRevision?: number | undefined;
|
|
9098
|
+
executionStartSeq?: number | undefined;
|
|
9099
|
+
workerAcknowledgements?: {
|
|
9100
|
+
workerId: string;
|
|
9101
|
+
revision: number;
|
|
9102
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
9103
|
+
observedAt: string;
|
|
9104
|
+
}[] | undefined;
|
|
8972
9105
|
stopping?: boolean | undefined;
|
|
8973
9106
|
autoResumeAt?: string | undefined;
|
|
8974
9107
|
autoResumeAttempts?: number | undefined;
|
|
@@ -9250,8 +9383,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
9250
9383
|
} | undefined;
|
|
9251
9384
|
invalidAsk?: boolean | undefined;
|
|
9252
9385
|
delegation?: {
|
|
9253
|
-
role: "invalid";
|
|
9254
|
-
} | {
|
|
9255
9386
|
role: "root";
|
|
9256
9387
|
conversation?: {
|
|
9257
9388
|
messages: {
|
|
@@ -9486,6 +9617,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
9486
9617
|
} | undefined;
|
|
9487
9618
|
executionRevision?: number | undefined;
|
|
9488
9619
|
executionStartSeq?: number | undefined;
|
|
9620
|
+
} | {
|
|
9621
|
+
role: "invalid";
|
|
9489
9622
|
} | undefined;
|
|
9490
9623
|
agentInputs?: {
|
|
9491
9624
|
conversation?: {
|
|
@@ -10212,6 +10345,25 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
10212
10345
|
nextAt: string;
|
|
10213
10346
|
needsAttention?: true | undefined;
|
|
10214
10347
|
} | undefined;
|
|
10348
|
+
result?: {
|
|
10349
|
+
revision: number;
|
|
10350
|
+
snapshotId: string;
|
|
10351
|
+
observedAt: string;
|
|
10352
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
10353
|
+
previous?: {
|
|
10354
|
+
revision: number;
|
|
10355
|
+
observedAt: string;
|
|
10356
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
10357
|
+
} | undefined;
|
|
10358
|
+
} | undefined;
|
|
10359
|
+
executionRevision?: number | undefined;
|
|
10360
|
+
executionStartSeq?: number | undefined;
|
|
10361
|
+
workerAcknowledgements?: {
|
|
10362
|
+
workerId: string;
|
|
10363
|
+
revision: number;
|
|
10364
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
10365
|
+
observedAt: string;
|
|
10366
|
+
}[] | undefined;
|
|
10215
10367
|
notify?: boolean | undefined;
|
|
10216
10368
|
webhook?: {
|
|
10217
10369
|
lastDeliveredAt?: string | undefined;
|
|
@@ -11309,8 +11461,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
11309
11461
|
currentStepId?: string | undefined;
|
|
11310
11462
|
error?: string | undefined;
|
|
11311
11463
|
delegation?: {
|
|
11312
|
-
role: "invalid";
|
|
11313
|
-
} | {
|
|
11314
11464
|
role: "root";
|
|
11315
11465
|
conversation?: {
|
|
11316
11466
|
messages: {
|
|
@@ -11545,6 +11695,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
11545
11695
|
} | undefined;
|
|
11546
11696
|
executionRevision?: number | undefined;
|
|
11547
11697
|
executionStartSeq?: number | undefined;
|
|
11698
|
+
} | {
|
|
11699
|
+
role: "invalid";
|
|
11548
11700
|
} | undefined;
|
|
11549
11701
|
lastWaitsError?: string | undefined;
|
|
11550
11702
|
automaticWakes?: number | undefined;
|
|
@@ -11561,6 +11713,25 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
11561
11713
|
nextAt: string;
|
|
11562
11714
|
needsAttention?: true | undefined;
|
|
11563
11715
|
} | undefined;
|
|
11716
|
+
result?: {
|
|
11717
|
+
revision: number;
|
|
11718
|
+
snapshotId: string;
|
|
11719
|
+
observedAt: string;
|
|
11720
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
11721
|
+
previous?: {
|
|
11722
|
+
revision: number;
|
|
11723
|
+
observedAt: string;
|
|
11724
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
11725
|
+
} | undefined;
|
|
11726
|
+
} | undefined;
|
|
11727
|
+
executionRevision?: number | undefined;
|
|
11728
|
+
executionStartSeq?: number | undefined;
|
|
11729
|
+
workerAcknowledgements?: {
|
|
11730
|
+
workerId: string;
|
|
11731
|
+
revision: number;
|
|
11732
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
11733
|
+
observedAt: string;
|
|
11734
|
+
}[] | undefined;
|
|
11564
11735
|
stopping?: boolean | undefined;
|
|
11565
11736
|
autoResumeAt?: string | undefined;
|
|
11566
11737
|
autoResumeAttempts?: number | undefined;
|
|
@@ -12303,20 +12474,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12303
12474
|
} & {
|
|
12304
12475
|
"/runs/:id/handoff": {
|
|
12305
12476
|
$get: {
|
|
12306
|
-
output:
|
|
12307
|
-
|
|
12308
|
-
|
|
12309
|
-
outputFormat: "json";
|
|
12310
|
-
status: 404;
|
|
12477
|
+
output: string;
|
|
12478
|
+
outputFormat: "text";
|
|
12479
|
+
status: 200;
|
|
12311
12480
|
input: {
|
|
12312
12481
|
param: {
|
|
12313
12482
|
id: string;
|
|
12314
12483
|
};
|
|
12315
12484
|
};
|
|
12316
12485
|
} | {
|
|
12317
|
-
output:
|
|
12318
|
-
|
|
12319
|
-
|
|
12486
|
+
output: {
|
|
12487
|
+
error: string;
|
|
12488
|
+
};
|
|
12489
|
+
outputFormat: "json";
|
|
12490
|
+
status: 404;
|
|
12320
12491
|
input: {
|
|
12321
12492
|
param: {
|
|
12322
12493
|
id: string;
|
|
@@ -12354,20 +12525,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12354
12525
|
} & {
|
|
12355
12526
|
"/runs/:id/diff": {
|
|
12356
12527
|
$get: {
|
|
12357
|
-
output:
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
outputFormat: "json";
|
|
12361
|
-
status: 404 | 409;
|
|
12528
|
+
output: string;
|
|
12529
|
+
outputFormat: "text";
|
|
12530
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12362
12531
|
input: {
|
|
12363
12532
|
param: {
|
|
12364
12533
|
id: string;
|
|
12365
12534
|
};
|
|
12366
12535
|
};
|
|
12367
12536
|
} | {
|
|
12368
|
-
output:
|
|
12369
|
-
|
|
12370
|
-
|
|
12537
|
+
output: {
|
|
12538
|
+
error: string;
|
|
12539
|
+
};
|
|
12540
|
+
outputFormat: "json";
|
|
12541
|
+
status: 404 | 409;
|
|
12371
12542
|
input: {
|
|
12372
12543
|
param: {
|
|
12373
12544
|
id: string;
|