@hearsay-tools/squawk 0.17.0-dev.5749 → 0.17.0-dev.5778

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.
Files changed (39) hide show
  1. package/dist/ci-wait/controller.d.ts +37 -37
  2. package/dist/delegation/routes.d.ts +62 -62
  3. package/dist/runs/store-open-error.js +1 -1
  4. package/dist/runs/store-open-error.js.map +1 -1
  5. package/dist/runs/store.js +1 -1
  6. package/dist/runs/store.js.map +1 -1
  7. package/dist/self-update/pulls.d.ts +1 -1
  8. package/dist/self-update/pulls.js +1 -1
  9. package/dist/self-update/pulls.js.map +1 -1
  10. package/dist/server/activity-routes.d.ts +23 -23
  11. package/dist/server/self-update-routes.d.ts +19 -19
  12. package/dist/server/server.d.ts +1554 -1554
  13. package/dist/workflows/run-states.js +8 -8
  14. package/dist/workflows/run-states.js.map +1 -1
  15. package/package.json +5 -5
  16. package/web/dist/assets/{activity-motion-Deqj_hcK.js → activity-motion-2nE59DAT.js} +1 -1
  17. package/web/dist/assets/{activity-route-Z8SMpPLm.js → activity-route-R9lPc2jy.js} +1 -1
  18. package/web/dist/assets/{commit-diff-panel-DZutYRbq.js → commit-diff-panel-BJyNYmCY.js} +1 -1
  19. package/web/dist/assets/{diff-DNAtaTLC.js → diff-D_9MtICR.js} +2 -2
  20. package/web/dist/assets/{diff-view---8Bt-0a.js → diff-view-xRPxXHXl.js} +1 -1
  21. package/web/dist/assets/{git-toolbar-DMDmGits.js → git-toolbar-D9taioU5.js} +1 -1
  22. package/web/dist/assets/{github-DlMu4p0I.js → github-bv_pBGc5.js} +1 -1
  23. package/web/dist/assets/{global-activity-route-mJrrP9I0.js → global-activity-route-QxTPDyx-.js} +1 -1
  24. package/web/dist/assets/{index-FoxgrgAH.js → index-DgU3yYUl.js} +3 -3
  25. package/web/dist/assets/{preview-pane-connected-KzJn9jAG.js → preview-pane-connected-cD-MTiVN.js} +2 -2
  26. package/web/dist/assets/{repo-git-Bf_EfIHt.js → repo-git-E_4Ighvg.js} +1 -1
  27. package/web/dist/assets/{report-reader-ztLhC9gp.js → report-reader-XVNQsXB4.js} +1 -1
  28. package/web/dist/assets/{reports-BxGqf1aC.js → reports-B_PVTBzP.js} +1 -1
  29. package/web/dist/assets/{run-header-CDMGqoPE.js → run-header-wm0gSs6X.js} +1 -1
  30. package/web/dist/assets/{skills-D2r8n5IP.js → skills-D2RLxUIc.js} +1 -1
  31. package/web/dist/assets/{task-changes-CfUCDwcL.js → task-changes-DNtkfFzQ.js} +1 -1
  32. package/web/dist/assets/{task-commits-IOjoz_mL.js → task-commits-CivO-OrN.js} +1 -1
  33. package/web/dist/assets/{task-files-CpUYhIpd.js → task-files-dczkxV_G.js} +1 -1
  34. package/web/dist/assets/{task-github-item-B8YPhQDV.js → task-github-item-DKV4yrcf.js} +1 -1
  35. package/web/dist/assets/{task-thread-2Kme3Fc0.js → task-thread-DIaTTGEF.js} +1 -1
  36. package/web/dist/assets/{thread-state-C136Em0C.js → thread-state-DIozHuHb.js} +1 -1
  37. package/web/dist/assets/{use-hand-to-agent-state-C6u70P2A.js → use-hand-to-agent-state-D58ayxI4.js} +1 -1
  38. package/web/dist/assets/{workflows-CWrdqLII.js → workflows-YMEsGXeB.js} +1 -1
  39. package/web/dist/index.html +1 -1
@@ -288,12 +288,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
288
288
  "/api/v1/tools/ask": {
289
289
  $post: {
290
290
  output: {
291
- ok: false;
292
- code: 'unavailable';
291
+ code: 'capability_revoked';
293
292
  message: string;
294
293
  };
295
294
  outputFormat: "json";
296
- status: import("hono/utils/http-status").ContentfulStatusCode;
295
+ status: 401;
297
296
  input: {
298
297
  json: {
299
298
  questions: {
@@ -311,11 +310,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
311
310
  };
312
311
  } | {
313
312
  output: {
314
- code: 'capability_revoked';
313
+ ok: false;
314
+ code: 'unavailable';
315
315
  message: string;
316
316
  };
317
317
  outputFormat: "json";
318
- status: 401;
318
+ status: import("hono/utils/http-status").ContentfulStatusCode;
319
319
  input: {
320
320
  json: {
321
321
  questions: {
@@ -383,12 +383,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
383
383
  "/api/v1/tools/cancel-wait": {
384
384
  $post: {
385
385
  output: {
386
- cancelled: false;
387
- code: 'unavailable';
386
+ code: 'capability_revoked';
388
387
  message: string;
389
388
  };
390
389
  outputFormat: "json";
391
- status: import("hono/utils/http-status").ContentfulStatusCode;
390
+ status: 401;
392
391
  input: {
393
392
  json: {
394
393
  wait_id: string;
@@ -396,11 +395,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
396
395
  };
397
396
  } | {
398
397
  output: {
399
- code: 'capability_revoked';
398
+ cancelled: false;
399
+ code: 'unavailable';
400
400
  message: string;
401
401
  };
402
402
  outputFormat: "json";
403
- status: 401;
403
+ status: import("hono/utils/http-status").ContentfulStatusCode;
404
404
  input: {
405
405
  json: {
406
406
  wait_id: string;
@@ -448,12 +448,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
448
448
  "/api/v1/tools/done": {
449
449
  $post: {
450
450
  output: {
451
- ok: false;
452
- code: 'unavailable';
451
+ code: 'capability_revoked';
453
452
  message: string;
454
453
  };
455
454
  outputFormat: "json";
456
- status: import("hono/utils/http-status").ContentfulStatusCode;
455
+ status: 401;
457
456
  input: {
458
457
  json: {
459
458
  summary?: string | undefined;
@@ -461,11 +460,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
461
460
  };
462
461
  } | {
463
462
  output: {
464
- code: 'capability_revoked';
463
+ ok: false;
464
+ code: 'unavailable';
465
465
  message: string;
466
466
  };
467
467
  outputFormat: "json";
468
- status: 401;
468
+ status: import("hono/utils/http-status").ContentfulStatusCode;
469
469
  input: {
470
470
  json: {
471
471
  summary?: string | undefined;
@@ -533,13 +533,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
533
533
  "/api/v1/tools/preview-stop": {
534
534
  $post: {
535
535
  output: {
536
- ok: boolean;
537
- code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
536
+ code: 'capability_revoked';
538
537
  message: string;
539
- hint: string;
540
538
  };
541
539
  outputFormat: "json";
542
- status: import("hono/utils/http-status").ContentfulStatusCode;
540
+ status: 401;
543
541
  input: {
544
542
  json: {
545
543
  port: number;
@@ -548,11 +546,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
548
546
  };
549
547
  } | {
550
548
  output: {
551
- code: 'capability_revoked';
549
+ ok: boolean;
550
+ code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
552
551
  message: string;
552
+ hint: string;
553
553
  };
554
554
  outputFormat: "json";
555
- status: 401;
555
+ status: import("hono/utils/http-status").ContentfulStatusCode;
556
556
  input: {
557
557
  json: {
558
558
  port: number;
@@ -565,13 +565,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
565
565
  "/api/v1/tools/preview-serve": {
566
566
  $post: {
567
567
  output: {
568
- ok: boolean;
569
- code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
568
+ code: 'capability_revoked';
570
569
  message: string;
571
- hint: string;
572
570
  };
573
571
  outputFormat: "json";
574
- status: import("hono/utils/http-status").ContentfulStatusCode;
572
+ status: 401;
575
573
  input: {
576
574
  json: {
577
575
  command: string;
@@ -583,11 +581,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
583
581
  };
584
582
  } | {
585
583
  output: {
586
- code: 'capability_revoked';
584
+ ok: boolean;
585
+ code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
587
586
  message: string;
587
+ hint: string;
588
588
  };
589
589
  outputFormat: "json";
590
- status: 401;
590
+ status: import("hono/utils/http-status").ContentfulStatusCode;
591
591
  input: {
592
592
  json: {
593
593
  command: string;
@@ -603,12 +603,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
603
603
  "/api/v1/tools/schedule-task": {
604
604
  $post: {
605
605
  output: {
606
- ok: false;
607
- code: import('../contract/index.js').ScheduledTaskRefusalCode;
606
+ code: 'capability_revoked';
608
607
  message: string;
609
608
  };
610
609
  outputFormat: "json";
611
- status: import("hono/utils/http-status").ContentfulStatusCode;
610
+ status: 401;
612
611
  input: {
613
612
  json: {
614
613
  at?: string | undefined;
@@ -625,11 +624,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
625
624
  };
626
625
  } | {
627
626
  output: {
628
- code: 'capability_revoked';
627
+ ok: false;
628
+ code: import('../contract/index.js').ScheduledTaskRefusalCode;
629
629
  message: string;
630
630
  };
631
631
  outputFormat: "json";
632
- status: 401;
632
+ status: import("hono/utils/http-status").ContentfulStatusCode;
633
633
  input: {
634
634
  json: {
635
635
  at?: string | undefined;
@@ -684,12 +684,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
684
684
  "/api/v1/tools/scheduled-tasks": {
685
685
  $post: {
686
686
  output: {
687
- ok: false;
688
- code: import('../contract/index.js').ScheduledTaskRefusalCode;
687
+ code: 'capability_revoked';
689
688
  message: string;
690
689
  };
691
690
  outputFormat: "json";
692
- status: import("hono/utils/http-status").ContentfulStatusCode;
691
+ status: 401;
693
692
  input: {
694
693
  json: {
695
694
  at?: string | undefined;
@@ -722,11 +721,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
722
721
  };
723
722
  } | {
724
723
  output: {
725
- code: 'capability_revoked';
724
+ ok: false;
725
+ code: import('../contract/index.js').ScheduledTaskRefusalCode;
726
726
  message: string;
727
727
  };
728
728
  outputFormat: "json";
729
- status: 401;
729
+ status: import("hono/utils/http-status").ContentfulStatusCode;
730
730
  input: {
731
731
  json: {
732
732
  at?: string | undefined;
@@ -27,18 +27,6 @@ export declare function delegationFailure(error: unknown): {
27
27
  export declare function createDelegationRoutes(service: DelegationService, credentials: CredentialRegistry): import("hono/hono-base").HonoBase<Env, {
28
28
  "/list": {
29
29
  $get: {
30
- output: {
31
- error: string;
32
- code?: "invalid_input" | undefined;
33
- };
34
- outputFormat: "json";
35
- status: 400;
36
- input: {
37
- query: {
38
- offset?: string | undefined;
39
- };
40
- };
41
- } | {
42
30
  output: {
43
31
  workers: {
44
32
  workerId: string;
@@ -76,6 +64,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
76
64
  offset?: string | undefined;
77
65
  };
78
66
  };
67
+ } | {
68
+ output: {
69
+ error: string;
70
+ code?: "invalid_input" | undefined;
71
+ };
72
+ outputFormat: "json";
73
+ status: 400;
74
+ input: {
75
+ query: {
76
+ offset?: string | undefined;
77
+ };
78
+ };
79
79
  };
80
80
  };
81
81
  } & {
@@ -613,18 +613,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
613
613
  } & {
614
614
  "/:workerId": {
615
615
  $get: {
616
- output: {
617
- error: string;
618
- code?: "invalid_input" | undefined;
619
- };
620
- outputFormat: "json";
621
- status: 400;
622
- input: {
623
- param: {
624
- workerId: string;
625
- };
626
- };
627
- } | {
628
616
  output: {
629
617
  workerId: string;
630
618
  parentRunId: string;
@@ -728,11 +716,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
728
716
  workerId: string;
729
717
  };
730
718
  };
731
- };
732
- };
733
- } & {
734
- "/:workerId/collect": {
735
- $post: {
719
+ } | {
736
720
  output: {
737
721
  error: string;
738
722
  code?: "invalid_input" | undefined;
@@ -743,10 +727,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
743
727
  param: {
744
728
  workerId: string;
745
729
  };
746
- } & {
747
- json: Record<string, never>;
748
730
  };
749
- } | {
731
+ };
732
+ };
733
+ } & {
734
+ "/:workerId/collect": {
735
+ $post: {
750
736
  output: {
751
737
  workerId: string;
752
738
  parentRunId: string;
@@ -848,11 +834,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
848
834
  } & {
849
835
  json: Record<string, never>;
850
836
  };
851
- };
852
- };
853
- } & {
854
- "/:workerId/steer": {
855
- $post: {
837
+ } | {
856
838
  output: {
857
839
  error: string;
858
840
  code?: "invalid_input" | undefined;
@@ -864,11 +846,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
864
846
  workerId: string;
865
847
  };
866
848
  } & {
867
- json: {
868
- text: string;
869
- };
849
+ json: Record<string, never>;
870
850
  };
871
- } | {
851
+ };
852
+ };
853
+ } & {
854
+ "/:workerId/steer": {
855
+ $post: {
872
856
  output: {
873
857
  workerId: string;
874
858
  state: "delivered" | "queued";
@@ -884,11 +868,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
884
868
  text: string;
885
869
  };
886
870
  };
887
- };
888
- };
889
- } & {
890
- "/:workerId/stop": {
891
- $post: {
871
+ } | {
892
872
  output: {
893
873
  error: string;
894
874
  code?: "invalid_input" | undefined;
@@ -900,9 +880,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
900
880
  workerId: string;
901
881
  };
902
882
  } & {
903
- json: Record<string, never>;
883
+ json: {
884
+ text: string;
885
+ };
904
886
  };
905
- } | {
887
+ };
888
+ };
889
+ } & {
890
+ "/:workerId/stop": {
891
+ $post: {
906
892
  output: {
907
893
  workerId: string;
908
894
  state: "stopping" | "terminated";
@@ -916,11 +902,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
916
902
  } & {
917
903
  json: Record<string, never>;
918
904
  };
919
- };
920
- };
921
- } & {
922
- "/:workerId/destroy": {
923
- $post: {
905
+ } | {
924
906
  output: {
925
907
  error: string;
926
908
  code?: "invalid_input" | undefined;
@@ -934,7 +916,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
934
916
  } & {
935
917
  json: Record<string, never>;
936
918
  };
937
- } | {
919
+ };
920
+ };
921
+ } & {
922
+ "/:workerId/destroy": {
923
+ $post: {
938
924
  output: {
939
925
  workerId: string;
940
926
  state: "complete" | "incomplete";
@@ -957,6 +943,20 @@ export declare function createDelegationRoutes(service: DelegationService, crede
957
943
  } & {
958
944
  json: Record<string, never>;
959
945
  };
946
+ } | {
947
+ output: {
948
+ error: string;
949
+ code?: "invalid_input" | undefined;
950
+ };
951
+ outputFormat: "json";
952
+ status: 400;
953
+ input: {
954
+ param: {
955
+ workerId: string;
956
+ };
957
+ } & {
958
+ json: Record<string, never>;
959
+ };
960
960
  } | {
961
961
  output: {
962
962
  workerId: string;
@@ -986,11 +986,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
986
986
  "/:workerId/diff": {
987
987
  $get: {
988
988
  output: {
989
- error: string;
990
- code?: "invalid_input" | undefined;
989
+ workerId: string;
990
+ baselineSha: string;
991
+ diff: string;
992
+ truncated: boolean;
991
993
  };
992
994
  outputFormat: "json";
993
- status: 400;
995
+ status: 200;
994
996
  input: {
995
997
  param: {
996
998
  workerId: string;
@@ -998,13 +1000,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
998
1000
  };
999
1001
  } | {
1000
1002
  output: {
1001
- workerId: string;
1002
- baselineSha: string;
1003
- diff: string;
1004
- truncated: boolean;
1003
+ error: string;
1004
+ code?: "invalid_input" | undefined;
1005
1005
  };
1006
1006
  outputFormat: "json";
1007
- status: 200;
1007
+ status: 400;
1008
1008
  input: {
1009
1009
  param: {
1010
1010
  workerId: string;
@@ -42,7 +42,7 @@ export function toRunStoreOpenError(error, path, opts = {}) {
42
42
  const kind = error instanceof RunDatabaseError ? error.kind : errnoKind(error) ?? 'other';
43
43
  switch (kind) {
44
44
  case 'corrupt':
45
- return new RunStoreOpenError(kind, path, `${path} is damaged (${detail}). ${productName('cezar')} left it and its -wal and -shm files exactly as they are: restore them from a backup, or rebuild them from runs.json.pre-sqlite.bak as https://github.com/hearsay-tools/cezarion/blob/main/docs/run-history-recovery.md describes, then restart ${productName('cezar')}.`, cause);
45
+ return new RunStoreOpenError(kind, path, `${path} is damaged (${detail}). ${productName('cezar')} left it and its -wal and -shm files exactly as they are: restore them from a backup, or rebuild them from runs.json.pre-sqlite.bak as https://github.com/hearsay-tools/squawk/blob/main/docs/run-history-recovery.md describes, then restart ${productName('cezar')}.`, cause);
46
46
  case 'busy': {
47
47
  const held = opts.waitedMs ? ` for over ${(opts.waitedMs / 1000).toFixed(1)} s` : '';
48
48
  return new RunStoreOpenError(kind, path, `${path} is busy: another ${productName('cezar')} process has held its write lock${held}. Wait for it to finish, then restart ${productName('cezar')}.`, cause);
@@ -1 +1 @@
1
- {"version":3,"file":"store-open-error.js","sourceRoot":"","sources":["../../src/runs/store-open-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,iCAAiC,EAA6B,MAAM,mBAAmB,CAAC;AAKnH;;;;;GAKG;AACH,MAAM,OAAO,iBAAkB,SAAQ,KAAK;IACjC,IAAI,CAAwB;IACrC,yCAAyC;IAChC,IAAI,CAAS;IAEtB,YAAY,IAA2B,EAAE,IAAY,EAAE,OAAe,EAAE,OAAO,GAAwB,EAAE;QACvG,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,mBAAmB,CAAC;QAChC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF;AAED,qFAAqF;AACrF,SAAS,SAAS,CAAC,KAAc;IAC/B,MAAM,IAAI,GAAI,KAA2C,EAAE,IAAI,CAAC;IAChE,IAAI,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,OAAO,I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EAAE,KAAK,CAAC,CAAC;QAChK,KAAK,oBAAoB,EAAE,CAAC;YAC1B,MAAM,MAAM,GAAG,KAAK,YAAY,iCAAiC,CAAC,CAAC,CAAC,YAAY,KAAK,CAAC,KAAK,UAAU,WAAW,CAAC,OAAO,CAAC,iBAAiB,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;YAClK,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,2BAA2B,WAAW,CAAC,OAAO,CAAC,GAAG,MAAM,aAAa,WAAW,CAAC,OAAO,CAAC,+BAA+B,EAAE,KAAK,CAAC,CAAC;QACnL,CAAC;QACD;YACE,OAAO,IAAI,iBAAiB,CAAC,OAAO,EAAE,IAAI,EAAE,GAAG,IAAI,yBAAyB,MAAM,cAAc,WAAW,CAAC,OAAO,CAAC,gBAAgB,EAAE,KAAK,CAAC,CAAC;IACjJ,CAAC;AACH,CAAC"}
@@ -292,7 +292,7 @@ function importLegacyIndex(db, dataDir) {
292
292
  // Told once, by the import that committed: the marker means no later open reads runs.json again.
293
293
  if (commit.skipped || backup === undefined)
294
294
  return;
295
- const kept = `Its exact bytes are kept in ${join(dataDir, backup)}; https://github.com/hearsay-tools/cezarion/blob/main/docs/run-history-recovery.md says how to import it after a repair.`;
295
+ const kept = `Its exact bytes are kept in ${join(dataDir, backup)}; https://github.com/hearsay-tools/squawk/blob/main/docs/run-history-recovery.md says how to import it after a repair.`;
296
296
  if (!parsed)
297
297
  console.warn(`${logPrefix()} ${LEGACY_INDEX_FILE} could not be read; no run was imported, and this project starts with an empty history. ${kept}`);
298
298
  else if (skipped > 0)