@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
|
@@ -303,30 +303,6 @@ export declare class ContinuationChecks {
|
|
|
303
303
|
deadline: string;
|
|
304
304
|
seconds: number;
|
|
305
305
|
note?: string | undefined;
|
|
306
|
-
} | {
|
|
307
|
-
id: string;
|
|
308
|
-
source: "agent" | "cezar";
|
|
309
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
310
|
-
registeredAt: string;
|
|
311
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
312
|
-
resolvedAt?: string | undefined;
|
|
313
|
-
deliveredAt?: string | undefined;
|
|
314
|
-
cancelledAt?: string | undefined;
|
|
315
|
-
turnId: string;
|
|
316
|
-
kind: "process";
|
|
317
|
-
deadline: string;
|
|
318
|
-
timeoutSeconds: number;
|
|
319
|
-
pid: number;
|
|
320
|
-
startToken?: string | undefined;
|
|
321
|
-
exitFile?: string | undefined;
|
|
322
|
-
note?: string | undefined;
|
|
323
|
-
result?: {
|
|
324
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
325
|
-
observedAt: string;
|
|
326
|
-
exitCode?: number | undefined;
|
|
327
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
328
|
-
diagnostic?: string | undefined;
|
|
329
|
-
} | undefined;
|
|
330
306
|
} | {
|
|
331
307
|
id: string;
|
|
332
308
|
source: "agent" | "cezar";
|
|
@@ -388,6 +364,30 @@ export declare class ContinuationChecks {
|
|
|
388
364
|
reason: "outcome" | "timeout";
|
|
389
365
|
} | undefined;
|
|
390
366
|
wakeInputId?: string | undefined;
|
|
367
|
+
} | {
|
|
368
|
+
id: string;
|
|
369
|
+
source: "agent" | "cezar";
|
|
370
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
371
|
+
registeredAt: string;
|
|
372
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
373
|
+
resolvedAt?: string | undefined;
|
|
374
|
+
deliveredAt?: string | undefined;
|
|
375
|
+
cancelledAt?: string | undefined;
|
|
376
|
+
turnId: string;
|
|
377
|
+
kind: "process";
|
|
378
|
+
deadline: string;
|
|
379
|
+
timeoutSeconds: number;
|
|
380
|
+
pid: number;
|
|
381
|
+
startToken?: string | undefined;
|
|
382
|
+
exitFile?: string | undefined;
|
|
383
|
+
note?: string | undefined;
|
|
384
|
+
result?: {
|
|
385
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
386
|
+
observedAt: string;
|
|
387
|
+
exitCode?: number | undefined;
|
|
388
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
389
|
+
diagnostic?: string | undefined;
|
|
390
|
+
} | undefined;
|
|
391
391
|
} | {
|
|
392
392
|
id: string;
|
|
393
393
|
source: "agent" | "cezar";
|
|
@@ -516,30 +516,6 @@ export declare class ContinuationChecks {
|
|
|
516
516
|
deadline: string;
|
|
517
517
|
seconds: number;
|
|
518
518
|
note?: string | undefined;
|
|
519
|
-
} | {
|
|
520
|
-
id: string;
|
|
521
|
-
source: "agent" | "cezar";
|
|
522
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
523
|
-
registeredAt: string;
|
|
524
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
525
|
-
resolvedAt?: string | undefined;
|
|
526
|
-
deliveredAt?: string | undefined;
|
|
527
|
-
cancelledAt?: string | undefined;
|
|
528
|
-
turnId: string;
|
|
529
|
-
kind: "process";
|
|
530
|
-
deadline: string;
|
|
531
|
-
timeoutSeconds: number;
|
|
532
|
-
pid: number;
|
|
533
|
-
startToken?: string | undefined;
|
|
534
|
-
exitFile?: string | undefined;
|
|
535
|
-
note?: string | undefined;
|
|
536
|
-
result?: {
|
|
537
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
538
|
-
observedAt: string;
|
|
539
|
-
exitCode?: number | undefined;
|
|
540
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
541
|
-
diagnostic?: string | undefined;
|
|
542
|
-
} | undefined;
|
|
543
519
|
} | {
|
|
544
520
|
id: string;
|
|
545
521
|
source: "agent" | "cezar";
|
|
@@ -601,6 +577,30 @@ export declare class ContinuationChecks {
|
|
|
601
577
|
reason: "outcome" | "timeout";
|
|
602
578
|
} | undefined;
|
|
603
579
|
wakeInputId?: string | undefined;
|
|
580
|
+
} | {
|
|
581
|
+
id: string;
|
|
582
|
+
source: "agent" | "cezar";
|
|
583
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
584
|
+
registeredAt: string;
|
|
585
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
586
|
+
resolvedAt?: string | undefined;
|
|
587
|
+
deliveredAt?: string | undefined;
|
|
588
|
+
cancelledAt?: string | undefined;
|
|
589
|
+
turnId: string;
|
|
590
|
+
kind: "process";
|
|
591
|
+
deadline: string;
|
|
592
|
+
timeoutSeconds: number;
|
|
593
|
+
pid: number;
|
|
594
|
+
startToken?: string | undefined;
|
|
595
|
+
exitFile?: string | undefined;
|
|
596
|
+
note?: string | undefined;
|
|
597
|
+
result?: {
|
|
598
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
599
|
+
observedAt: string;
|
|
600
|
+
exitCode?: number | undefined;
|
|
601
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
602
|
+
diagnostic?: string | undefined;
|
|
603
|
+
} | undefined;
|
|
604
604
|
} | {
|
|
605
605
|
id: string;
|
|
606
606
|
source: "agent" | "cezar";
|
|
@@ -728,30 +728,6 @@ export declare class ContinuationChecks {
|
|
|
728
728
|
deadline: string;
|
|
729
729
|
seconds: number;
|
|
730
730
|
note?: string | undefined;
|
|
731
|
-
} | {
|
|
732
|
-
id: string;
|
|
733
|
-
source: "agent" | "cezar";
|
|
734
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
735
|
-
registeredAt: string;
|
|
736
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
737
|
-
resolvedAt?: string | undefined;
|
|
738
|
-
deliveredAt?: string | undefined;
|
|
739
|
-
cancelledAt?: string | undefined;
|
|
740
|
-
turnId: string;
|
|
741
|
-
kind: "process";
|
|
742
|
-
deadline: string;
|
|
743
|
-
timeoutSeconds: number;
|
|
744
|
-
pid: number;
|
|
745
|
-
startToken?: string | undefined;
|
|
746
|
-
exitFile?: string | undefined;
|
|
747
|
-
note?: string | undefined;
|
|
748
|
-
result?: {
|
|
749
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
750
|
-
observedAt: string;
|
|
751
|
-
exitCode?: number | undefined;
|
|
752
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
753
|
-
diagnostic?: string | undefined;
|
|
754
|
-
} | undefined;
|
|
755
731
|
} | {
|
|
756
732
|
id: string;
|
|
757
733
|
source: "agent" | "cezar";
|
|
@@ -813,6 +789,30 @@ export declare class ContinuationChecks {
|
|
|
813
789
|
reason: "outcome" | "timeout";
|
|
814
790
|
} | undefined;
|
|
815
791
|
wakeInputId?: string | undefined;
|
|
792
|
+
} | {
|
|
793
|
+
id: string;
|
|
794
|
+
source: "agent" | "cezar";
|
|
795
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
796
|
+
registeredAt: string;
|
|
797
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
798
|
+
resolvedAt?: string | undefined;
|
|
799
|
+
deliveredAt?: string | undefined;
|
|
800
|
+
cancelledAt?: string | undefined;
|
|
801
|
+
turnId: string;
|
|
802
|
+
kind: "process";
|
|
803
|
+
deadline: string;
|
|
804
|
+
timeoutSeconds: number;
|
|
805
|
+
pid: number;
|
|
806
|
+
startToken?: string | undefined;
|
|
807
|
+
exitFile?: string | undefined;
|
|
808
|
+
note?: string | undefined;
|
|
809
|
+
result?: {
|
|
810
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
811
|
+
observedAt: string;
|
|
812
|
+
exitCode?: number | undefined;
|
|
813
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
814
|
+
diagnostic?: string | undefined;
|
|
815
|
+
} | undefined;
|
|
816
816
|
} | {
|
|
817
817
|
id: string;
|
|
818
818
|
source: "agent" | "cezar";
|
|
@@ -1205,6 +1205,25 @@ export declare class ContinuationChecks {
|
|
|
1205
1205
|
nextAt: string;
|
|
1206
1206
|
needsAttention?: true | undefined;
|
|
1207
1207
|
} | undefined;
|
|
1208
|
+
result?: {
|
|
1209
|
+
revision: number;
|
|
1210
|
+
snapshotId: string;
|
|
1211
|
+
observedAt: string;
|
|
1212
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
1213
|
+
previous?: {
|
|
1214
|
+
revision: number;
|
|
1215
|
+
observedAt: string;
|
|
1216
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
1217
|
+
} | undefined;
|
|
1218
|
+
} | undefined;
|
|
1219
|
+
executionRevision?: number | undefined;
|
|
1220
|
+
executionStartSeq?: number | undefined;
|
|
1221
|
+
workerAcknowledgements?: {
|
|
1222
|
+
workerId: string;
|
|
1223
|
+
revision: number;
|
|
1224
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
1225
|
+
observedAt: string;
|
|
1226
|
+
}[] | undefined;
|
|
1208
1227
|
stopping?: boolean | undefined;
|
|
1209
1228
|
autoResumeAt?: string | undefined;
|
|
1210
1229
|
autoResumeAttempts?: number | undefined;
|
|
@@ -75,6 +75,30 @@ export declare function analyseAcknowledgedInput(runId: string, state: ActiveRun
|
|
|
75
75
|
deadline: string;
|
|
76
76
|
seconds: number;
|
|
77
77
|
note?: string | undefined;
|
|
78
|
+
} | {
|
|
79
|
+
id: string;
|
|
80
|
+
source: "agent" | "cezar";
|
|
81
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
82
|
+
registeredAt: string;
|
|
83
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
84
|
+
resolvedAt?: string | undefined;
|
|
85
|
+
deliveredAt?: string | undefined;
|
|
86
|
+
cancelledAt?: string | undefined;
|
|
87
|
+
turnId: string;
|
|
88
|
+
kind: "process";
|
|
89
|
+
deadline: string;
|
|
90
|
+
timeoutSeconds: number;
|
|
91
|
+
pid: number;
|
|
92
|
+
startToken?: string | undefined;
|
|
93
|
+
exitFile?: string | undefined;
|
|
94
|
+
note?: string | undefined;
|
|
95
|
+
result?: {
|
|
96
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
97
|
+
observedAt: string;
|
|
98
|
+
exitCode?: number | undefined;
|
|
99
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
100
|
+
diagnostic?: string | undefined;
|
|
101
|
+
} | undefined;
|
|
78
102
|
} | {
|
|
79
103
|
id: string;
|
|
80
104
|
source: "agent" | "cezar";
|
|
@@ -136,30 +160,6 @@ export declare function analyseAcknowledgedInput(runId: string, state: ActiveRun
|
|
|
136
160
|
reason: "outcome" | "timeout";
|
|
137
161
|
} | undefined;
|
|
138
162
|
wakeInputId?: string | undefined;
|
|
139
|
-
} | {
|
|
140
|
-
id: string;
|
|
141
|
-
source: "agent" | "cezar";
|
|
142
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
143
|
-
registeredAt: string;
|
|
144
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
145
|
-
resolvedAt?: string | undefined;
|
|
146
|
-
deliveredAt?: string | undefined;
|
|
147
|
-
cancelledAt?: string | undefined;
|
|
148
|
-
turnId: string;
|
|
149
|
-
kind: "process";
|
|
150
|
-
deadline: string;
|
|
151
|
-
timeoutSeconds: number;
|
|
152
|
-
pid: number;
|
|
153
|
-
startToken?: string | undefined;
|
|
154
|
-
exitFile?: string | undefined;
|
|
155
|
-
note?: string | undefined;
|
|
156
|
-
result?: {
|
|
157
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
158
|
-
observedAt: string;
|
|
159
|
-
exitCode?: number | undefined;
|
|
160
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
161
|
-
diagnostic?: string | undefined;
|
|
162
|
-
} | undefined;
|
|
163
163
|
} | {
|
|
164
164
|
id: string;
|
|
165
165
|
source: "agent" | "cezar";
|
|
@@ -22,10 +22,16 @@ export function parentCompletionBlockers(context, host, runId) {
|
|
|
22
22
|
const family = familyRecordOf(parent, id => context.store.getRun(id));
|
|
23
23
|
if (!parent || !family)
|
|
24
24
|
return [];
|
|
25
|
-
const workers = parentReadiness(parent, family
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
const workers = parentReadiness(parent, family, completionWorkerIds(context.store.queries, parent, family).map(workerId => {
|
|
26
|
+
const run = context.store.getRun(workerId);
|
|
27
|
+
return {
|
|
28
|
+
workerId,
|
|
29
|
+
run,
|
|
30
|
+
terminated: context.store.workerExecutions.readWorkerExecution(workerId)?.phase === 'complete',
|
|
31
|
+
result: run ? undefined : context.store.workerResults.readDeletedWorkerResult(family.id, workerId),
|
|
32
|
+
legacyResult: run ? context.store.workerResults.readLegacyWorkerResult(family.id, workerId) : undefined,
|
|
33
|
+
};
|
|
34
|
+
}));
|
|
29
35
|
return [...workers, ...openCompletionRequests(context.store, runId).sent.map(request => ({ workerId: request.recipientRunId, reason: 'request', request }))];
|
|
30
36
|
}
|
|
31
37
|
/** A settled-but-uncollected result is work for the parent, not a live worker.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"completion-gate.js","sourceRoot":"","sources":["../../../src/workflows/run/completion-gate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAI7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC9H,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpF,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAA0B,MAAM,yBAAyB,CAAC;AAChH,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAY5D;kDACkD;AAClD,MAAM,UAAU,eAAe,CAAC,OAAyB,EAAE,GAA0B;IACnF,OAAO,mBAAmB,CAAC,GAAG,EAAE,cAAc,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,OAAO,CAAC,K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,qBAAqB,CAAC,OAAyB,EAAE,IAAwB,EAAE,KAAa;IACtG,OAAO,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,OAAO,KAAK,oBAAoB,CAAC,CAAC;AACjI,CAAC;AAED;;;iFAGiF;AACjF,MAAM,UAAU,iBAAiB,CAAC,OAAyB,EAAE,IAAwB,EAAE,KAAa;IAClG,OAAO,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,IAAI,qBAAqB,CAAC,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;AACpF,CAAC"}
|
|
@@ -238,30 +238,6 @@ export declare class WaitEngine {
|
|
|
238
238
|
deadline: string;
|
|
239
239
|
seconds: number;
|
|
240
240
|
note?: string | undefined;
|
|
241
|
-
} | {
|
|
242
|
-
id: string;
|
|
243
|
-
source: "agent" | "cezar";
|
|
244
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
245
|
-
registeredAt: string;
|
|
246
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
247
|
-
resolvedAt?: string | undefined;
|
|
248
|
-
deliveredAt?: string | undefined;
|
|
249
|
-
cancelledAt?: string | undefined;
|
|
250
|
-
turnId: string;
|
|
251
|
-
kind: "process";
|
|
252
|
-
deadline: string;
|
|
253
|
-
timeoutSeconds: number;
|
|
254
|
-
pid: number;
|
|
255
|
-
startToken?: string | undefined;
|
|
256
|
-
exitFile?: string | undefined;
|
|
257
|
-
note?: string | undefined;
|
|
258
|
-
result?: {
|
|
259
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
260
|
-
observedAt: string;
|
|
261
|
-
exitCode?: number | undefined;
|
|
262
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
263
|
-
diagnostic?: string | undefined;
|
|
264
|
-
} | undefined;
|
|
265
241
|
} | {
|
|
266
242
|
id: string;
|
|
267
243
|
source: "agent" | "cezar";
|
|
@@ -323,6 +299,30 @@ export declare class WaitEngine {
|
|
|
323
299
|
reason: "outcome" | "timeout";
|
|
324
300
|
} | undefined;
|
|
325
301
|
wakeInputId?: string | undefined;
|
|
302
|
+
} | {
|
|
303
|
+
id: string;
|
|
304
|
+
source: "agent" | "cezar";
|
|
305
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
306
|
+
registeredAt: string;
|
|
307
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
308
|
+
resolvedAt?: string | undefined;
|
|
309
|
+
deliveredAt?: string | undefined;
|
|
310
|
+
cancelledAt?: string | undefined;
|
|
311
|
+
turnId: string;
|
|
312
|
+
kind: "process";
|
|
313
|
+
deadline: string;
|
|
314
|
+
timeoutSeconds: number;
|
|
315
|
+
pid: number;
|
|
316
|
+
startToken?: string | undefined;
|
|
317
|
+
exitFile?: string | undefined;
|
|
318
|
+
note?: string | undefined;
|
|
319
|
+
result?: {
|
|
320
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
321
|
+
observedAt: string;
|
|
322
|
+
exitCode?: number | undefined;
|
|
323
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
324
|
+
diagnostic?: string | undefined;
|
|
325
|
+
} | undefined;
|
|
326
326
|
} | {
|
|
327
327
|
id: string;
|
|
328
328
|
source: "agent" | "cezar";
|
|
@@ -451,30 +451,6 @@ export declare class WaitEngine {
|
|
|
451
451
|
deadline: string;
|
|
452
452
|
seconds: number;
|
|
453
453
|
note?: string | undefined;
|
|
454
|
-
} | {
|
|
455
|
-
id: string;
|
|
456
|
-
source: "agent" | "cezar";
|
|
457
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
458
|
-
registeredAt: string;
|
|
459
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
460
|
-
resolvedAt?: string | undefined;
|
|
461
|
-
deliveredAt?: string | undefined;
|
|
462
|
-
cancelledAt?: string | undefined;
|
|
463
|
-
turnId: string;
|
|
464
|
-
kind: "process";
|
|
465
|
-
deadline: string;
|
|
466
|
-
timeoutSeconds: number;
|
|
467
|
-
pid: number;
|
|
468
|
-
startToken?: string | undefined;
|
|
469
|
-
exitFile?: string | undefined;
|
|
470
|
-
note?: string | undefined;
|
|
471
|
-
result?: {
|
|
472
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
473
|
-
observedAt: string;
|
|
474
|
-
exitCode?: number | undefined;
|
|
475
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
476
|
-
diagnostic?: string | undefined;
|
|
477
|
-
} | undefined;
|
|
478
454
|
} | {
|
|
479
455
|
id: string;
|
|
480
456
|
source: "agent" | "cezar";
|
|
@@ -536,6 +512,30 @@ export declare class WaitEngine {
|
|
|
536
512
|
reason: "outcome" | "timeout";
|
|
537
513
|
} | undefined;
|
|
538
514
|
wakeInputId?: string | undefined;
|
|
515
|
+
} | {
|
|
516
|
+
id: string;
|
|
517
|
+
source: "agent" | "cezar";
|
|
518
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
519
|
+
registeredAt: string;
|
|
520
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
521
|
+
resolvedAt?: string | undefined;
|
|
522
|
+
deliveredAt?: string | undefined;
|
|
523
|
+
cancelledAt?: string | undefined;
|
|
524
|
+
turnId: string;
|
|
525
|
+
kind: "process";
|
|
526
|
+
deadline: string;
|
|
527
|
+
timeoutSeconds: number;
|
|
528
|
+
pid: number;
|
|
529
|
+
startToken?: string | undefined;
|
|
530
|
+
exitFile?: string | undefined;
|
|
531
|
+
note?: string | undefined;
|
|
532
|
+
result?: {
|
|
533
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
534
|
+
observedAt: string;
|
|
535
|
+
exitCode?: number | undefined;
|
|
536
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
537
|
+
diagnostic?: string | undefined;
|
|
538
|
+
} | undefined;
|
|
539
539
|
} | {
|
|
540
540
|
id: string;
|
|
541
541
|
source: "agent" | "cezar";
|
|
@@ -663,30 +663,6 @@ export declare class WaitEngine {
|
|
|
663
663
|
deadline: string;
|
|
664
664
|
seconds: number;
|
|
665
665
|
note?: string | undefined;
|
|
666
|
-
} | {
|
|
667
|
-
id: string;
|
|
668
|
-
source: "agent" | "cezar";
|
|
669
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
670
|
-
registeredAt: string;
|
|
671
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
672
|
-
resolvedAt?: string | undefined;
|
|
673
|
-
deliveredAt?: string | undefined;
|
|
674
|
-
cancelledAt?: string | undefined;
|
|
675
|
-
turnId: string;
|
|
676
|
-
kind: "process";
|
|
677
|
-
deadline: string;
|
|
678
|
-
timeoutSeconds: number;
|
|
679
|
-
pid: number;
|
|
680
|
-
startToken?: string | undefined;
|
|
681
|
-
exitFile?: string | undefined;
|
|
682
|
-
note?: string | undefined;
|
|
683
|
-
result?: {
|
|
684
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
685
|
-
observedAt: string;
|
|
686
|
-
exitCode?: number | undefined;
|
|
687
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
688
|
-
diagnostic?: string | undefined;
|
|
689
|
-
} | undefined;
|
|
690
666
|
} | {
|
|
691
667
|
id: string;
|
|
692
668
|
source: "agent" | "cezar";
|
|
@@ -748,6 +724,30 @@ export declare class WaitEngine {
|
|
|
748
724
|
reason: "outcome" | "timeout";
|
|
749
725
|
} | undefined;
|
|
750
726
|
wakeInputId?: string | undefined;
|
|
727
|
+
} | {
|
|
728
|
+
id: string;
|
|
729
|
+
source: "agent" | "cezar";
|
|
730
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
731
|
+
registeredAt: string;
|
|
732
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
733
|
+
resolvedAt?: string | undefined;
|
|
734
|
+
deliveredAt?: string | undefined;
|
|
735
|
+
cancelledAt?: string | undefined;
|
|
736
|
+
turnId: string;
|
|
737
|
+
kind: "process";
|
|
738
|
+
deadline: string;
|
|
739
|
+
timeoutSeconds: number;
|
|
740
|
+
pid: number;
|
|
741
|
+
startToken?: string | undefined;
|
|
742
|
+
exitFile?: string | undefined;
|
|
743
|
+
note?: string | undefined;
|
|
744
|
+
result?: {
|
|
745
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
746
|
+
observedAt: string;
|
|
747
|
+
exitCode?: number | undefined;
|
|
748
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
749
|
+
diagnostic?: string | undefined;
|
|
750
|
+
} | undefined;
|
|
751
751
|
} | {
|
|
752
752
|
id: string;
|
|
753
753
|
source: "agent" | "cezar";
|
|
@@ -1140,6 +1140,25 @@ export declare class WaitEngine {
|
|
|
1140
1140
|
nextAt: string;
|
|
1141
1141
|
needsAttention?: true | undefined;
|
|
1142
1142
|
} | undefined;
|
|
1143
|
+
result?: {
|
|
1144
|
+
revision: number;
|
|
1145
|
+
snapshotId: string;
|
|
1146
|
+
observedAt: string;
|
|
1147
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
1148
|
+
previous?: {
|
|
1149
|
+
revision: number;
|
|
1150
|
+
observedAt: string;
|
|
1151
|
+
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
1152
|
+
} | undefined;
|
|
1153
|
+
} | undefined;
|
|
1154
|
+
executionRevision?: number | undefined;
|
|
1155
|
+
executionStartSeq?: number | undefined;
|
|
1156
|
+
workerAcknowledgements?: {
|
|
1157
|
+
workerId: string;
|
|
1158
|
+
revision: number;
|
|
1159
|
+
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
1160
|
+
observedAt: string;
|
|
1161
|
+
}[] | undefined;
|
|
1143
1162
|
stopping?: boolean | undefined;
|
|
1144
1163
|
autoResumeAt?: string | undefined;
|
|
1145
1164
|
autoResumeAttempts?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.19.0-dev.
|
|
3
|
+
"version": "0.19.0-dev.9235",
|
|
4
4
|
"description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@babel/parser": "^8.0.8",
|
|
71
71
|
"@babel/types": "^8.0.8",
|
|
72
|
-
"@open-mercato/cezar-api-client": "0.19.0-dev.
|
|
73
|
-
"@open-mercato/cezar-contract": "0.19.0-dev.
|
|
72
|
+
"@open-mercato/cezar-api-client": "0.19.0-dev.9235",
|
|
73
|
+
"@open-mercato/cezar-contract": "0.19.0-dev.9235",
|
|
74
74
|
"@types/node": "^24.19.1",
|
|
75
75
|
"@types/ws": "^8.18.1",
|
|
76
76
|
"esbuild": "^0.28.1",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"publishConfig": {
|
|
88
88
|
"access": "public"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "5d2f3e54a47d1f8401f667788e0978d369f165be"
|
|
91
91
|
}
|