@hearsay-tools/squawk 0.18.0-pr3768.6979 → 0.18.0-pr3769.6980

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 (28) hide show
  1. package/dist/ci-wait/controller.d.ts +37 -37
  2. package/dist/delegation/transport.d.ts +62 -62
  3. package/package.json +4 -4
  4. package/web/dist/assets/{activity-motion-jtXo23BH.js → activity-motion-1wJZMIjN.js} +1 -1
  5. package/web/dist/assets/{activity-route-BMQTuzfV.js → activity-route-DfMGUe0o.js} +1 -1
  6. package/web/dist/assets/{commit-diff-panel-Cc19k61n.js → commit-diff-panel-DaUrFTk5.js} +1 -1
  7. package/web/dist/assets/{diff-D81v0XSv.js → diff-DnVhyv10.js} +2 -2
  8. package/web/dist/assets/{diff-view-DGqayt94.js → diff-view-p2f664l7.js} +1 -1
  9. package/web/dist/assets/{file-preview-CvFWYfZe.js → file-preview-BIKUhrIl.js} +1 -1
  10. package/web/dist/assets/{git-toolbar-CEgI-Xxh.js → git-toolbar-BVNUg8Uf.js} +1 -1
  11. package/web/dist/assets/{github-BBpDYcnE.js → github-BDzfeU3h.js} +1 -1
  12. package/web/dist/assets/{global-activity-route-BtAy1ibD.js → global-activity-route-BRAFKIp8.js} +1 -1
  13. package/web/dist/assets/{index-DdUN3xKQ.js → index-D7_AVe_s.js} +3 -3
  14. package/web/dist/assets/{preview-pane-connected-B6Mk-4Z6.js → preview-pane-connected-BvjhcHic.js} +1 -1
  15. package/web/dist/assets/{repo-git-6S7sePGj.js → repo-git-CJiZjWzt.js} +1 -1
  16. package/web/dist/assets/{report-reader-DTbLfexd.js → report-reader-Dd5llmAX.js} +1 -1
  17. package/web/dist/assets/{reports-D_HD3irC.js → reports-0GKKDVC6.js} +1 -1
  18. package/web/dist/assets/{run-header-OGi1iR5p.js → run-header-BLEueQpG.js} +1 -1
  19. package/web/dist/assets/{skills-BxpbZtzV.js → skills-ElB3alpT.js} +1 -1
  20. package/web/dist/assets/{task-changes-C2wVYoQg.js → task-changes-DL5rLEBw.js} +1 -1
  21. package/web/dist/assets/{task-commits-BdRhOyZV.js → task-commits-2F2UCAmG.js} +1 -1
  22. package/web/dist/assets/{task-files-DIX9_aVh.js → task-files-DyL6tbeK.js} +1 -1
  23. package/web/dist/assets/{task-github-item-DzLaicwO.js → task-github-item-C6miC-6i.js} +1 -1
  24. package/web/dist/assets/{task-thread-lzT8biTV.js → task-thread-DKzCOmwO.js} +1 -1
  25. package/web/dist/assets/{thread-state-BCHiZaAg.js → thread-state-CVgd0gdP.js} +1 -1
  26. package/web/dist/assets/{use-hand-to-agent-state-BLGpj2jQ.js → use-hand-to-agent-state-vfX-C03d.js} +1 -1
  27. package/web/dist/assets/{workflows-FPGd3Fjx.js → workflows-DVJdcPbB.js} +1 -1
  28. package/web/dist/index.html +1 -1
@@ -280,11 +280,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
280
280
  "/api/v1/tools/ask": {
281
281
  $post: {
282
282
  output: {
283
- code: 'capability_revoked';
283
+ ok: false;
284
+ code: 'unavailable';
284
285
  message: string;
285
286
  };
286
287
  outputFormat: "json";
287
- status: 401;
288
+ status: import("hono/utils/http-status").ContentfulStatusCode;
288
289
  input: {
289
290
  json: {
290
291
  questions: {
@@ -302,12 +303,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
302
303
  };
303
304
  } | {
304
305
  output: {
305
- ok: false;
306
- code: 'unavailable';
306
+ code: 'capability_revoked';
307
307
  message: string;
308
308
  };
309
309
  outputFormat: "json";
310
- status: import("hono/utils/http-status").ContentfulStatusCode;
310
+ status: 401;
311
311
  input: {
312
312
  json: {
313
313
  questions: {
@@ -375,11 +375,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
375
375
  "/api/v1/tools/cancel-wait": {
376
376
  $post: {
377
377
  output: {
378
- code: 'capability_revoked';
378
+ cancelled: false;
379
+ code: 'unavailable';
379
380
  message: string;
380
381
  };
381
382
  outputFormat: "json";
382
- status: 401;
383
+ status: import("hono/utils/http-status").ContentfulStatusCode;
383
384
  input: {
384
385
  json: {
385
386
  wait_id: string;
@@ -387,12 +388,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
387
388
  };
388
389
  } | {
389
390
  output: {
390
- cancelled: false;
391
- code: 'unavailable';
391
+ code: 'capability_revoked';
392
392
  message: string;
393
393
  };
394
394
  outputFormat: "json";
395
- status: import("hono/utils/http-status").ContentfulStatusCode;
395
+ status: 401;
396
396
  input: {
397
397
  json: {
398
398
  wait_id: string;
@@ -440,11 +440,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
440
440
  "/api/v1/tools/done": {
441
441
  $post: {
442
442
  output: {
443
- code: 'capability_revoked';
443
+ ok: false;
444
+ code: 'unavailable';
444
445
  message: string;
445
446
  };
446
447
  outputFormat: "json";
447
- status: 401;
448
+ status: import("hono/utils/http-status").ContentfulStatusCode;
448
449
  input: {
449
450
  json: {
450
451
  summary?: string | undefined;
@@ -452,12 +453,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
452
453
  };
453
454
  } | {
454
455
  output: {
455
- ok: false;
456
- code: 'unavailable';
456
+ code: 'capability_revoked';
457
457
  message: string;
458
458
  };
459
459
  outputFormat: "json";
460
- status: import("hono/utils/http-status").ContentfulStatusCode;
460
+ status: 401;
461
461
  input: {
462
462
  json: {
463
463
  summary?: string | undefined;
@@ -540,11 +540,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
540
540
  "/api/v1/tools/preview-stop": {
541
541
  $post: {
542
542
  output: {
543
- code: 'capability_revoked';
543
+ ok: boolean;
544
+ code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
544
545
  message: string;
546
+ hint: string;
545
547
  };
546
548
  outputFormat: "json";
547
- status: 401;
549
+ status: import("hono/utils/http-status").ContentfulStatusCode;
548
550
  input: {
549
551
  json: {
550
552
  port: number;
@@ -553,13 +555,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
553
555
  };
554
556
  } | {
555
557
  output: {
556
- ok: boolean;
557
- code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
558
+ code: 'capability_revoked';
558
559
  message: string;
559
- hint: string;
560
560
  };
561
561
  outputFormat: "json";
562
- status: import("hono/utils/http-status").ContentfulStatusCode;
562
+ status: 401;
563
563
  input: {
564
564
  json: {
565
565
  port: number;
@@ -572,11 +572,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
572
572
  "/api/v1/tools/preview-serve": {
573
573
  $post: {
574
574
  output: {
575
- code: 'capability_revoked';
575
+ ok: boolean;
576
+ code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
576
577
  message: string;
578
+ hint: string;
577
579
  };
578
580
  outputFormat: "json";
579
- status: 401;
581
+ status: import("hono/utils/http-status").ContentfulStatusCode;
580
582
  input: {
581
583
  json: {
582
584
  command: string;
@@ -588,13 +590,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
588
590
  };
589
591
  } | {
590
592
  output: {
591
- ok: boolean;
592
- code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
593
+ code: 'capability_revoked';
593
594
  message: string;
594
- hint: string;
595
595
  };
596
596
  outputFormat: "json";
597
- status: import("hono/utils/http-status").ContentfulStatusCode;
597
+ status: 401;
598
598
  input: {
599
599
  json: {
600
600
  command: string;
@@ -610,11 +610,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
610
610
  "/api/v1/tools/schedule-task": {
611
611
  $post: {
612
612
  output: {
613
- code: 'capability_revoked';
613
+ ok: false;
614
+ code: import('../contract/index.js').ScheduledTaskRefusalCode;
614
615
  message: string;
615
616
  };
616
617
  outputFormat: "json";
617
- status: 401;
618
+ status: import("hono/utils/http-status").ContentfulStatusCode;
618
619
  input: {
619
620
  json: {
620
621
  at?: string | undefined;
@@ -631,12 +632,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
631
632
  };
632
633
  } | {
633
634
  output: {
634
- ok: false;
635
- code: import('../contract/index.js').ScheduledTaskRefusalCode;
635
+ code: 'capability_revoked';
636
636
  message: string;
637
637
  };
638
638
  outputFormat: "json";
639
- status: import("hono/utils/http-status").ContentfulStatusCode;
639
+ status: 401;
640
640
  input: {
641
641
  json: {
642
642
  at?: string | undefined;
@@ -691,11 +691,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
691
691
  "/api/v1/tools/scheduled-tasks": {
692
692
  $post: {
693
693
  output: {
694
- code: 'capability_revoked';
694
+ ok: false;
695
+ code: import('../contract/index.js').ScheduledTaskRefusalCode;
695
696
  message: string;
696
697
  };
697
698
  outputFormat: "json";
698
- status: 401;
699
+ status: import("hono/utils/http-status").ContentfulStatusCode;
699
700
  input: {
700
701
  json: {
701
702
  at?: string | undefined;
@@ -728,12 +729,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
728
729
  };
729
730
  } | {
730
731
  output: {
731
- ok: false;
732
- code: import('../contract/index.js').ScheduledTaskRefusalCode;
732
+ code: 'capability_revoked';
733
733
  message: string;
734
734
  };
735
735
  outputFormat: "json";
736
- status: import("hono/utils/http-status").ContentfulStatusCode;
736
+ status: 401;
737
737
  input: {
738
738
  json: {
739
739
  at?: string | undefined;
@@ -2,6 +2,18 @@ import type { DelegationRoutes } from './routes.ts';
2
2
  export declare function createDelegationApp(routes: DelegationRoutes): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
3
3
  "/list": {
4
4
  $get: {
5
+ output: {
6
+ error: string;
7
+ code?: "invalid_input" | undefined;
8
+ };
9
+ outputFormat: "json";
10
+ status: 400;
11
+ input: {
12
+ query: {
13
+ offset?: string | undefined;
14
+ };
15
+ };
16
+ } | {
5
17
  output: {
6
18
  workers: {
7
19
  workerId: string;
@@ -39,18 +51,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
39
51
  offset?: string | undefined;
40
52
  };
41
53
  };
42
- } | {
43
- output: {
44
- error: string;
45
- code?: "invalid_input" | undefined;
46
- };
47
- outputFormat: "json";
48
- status: 400;
49
- input: {
50
- query: {
51
- offset?: string | undefined;
52
- };
53
- };
54
54
  };
55
55
  };
56
56
  } & {
@@ -588,6 +588,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
588
588
  } & {
589
589
  "/:workerId": {
590
590
  $get: {
591
+ output: {
592
+ error: string;
593
+ code?: "invalid_input" | undefined;
594
+ };
595
+ outputFormat: "json";
596
+ status: 400;
597
+ input: {
598
+ param: {
599
+ workerId: string;
600
+ };
601
+ };
602
+ } | {
591
603
  output: {
592
604
  workerId: string;
593
605
  parentRunId: string;
@@ -695,7 +707,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
695
707
  workerId: string;
696
708
  };
697
709
  };
698
- } | {
710
+ };
711
+ };
712
+ } & {
713
+ "/:workerId/collect": {
714
+ $post: {
699
715
  output: {
700
716
  error: string;
701
717
  code?: "invalid_input" | undefined;
@@ -706,12 +722,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
706
722
  param: {
707
723
  workerId: string;
708
724
  };
725
+ } & {
726
+ json: Record<string, never>;
709
727
  };
710
- };
711
- };
712
- } & {
713
- "/:workerId/collect": {
714
- $post: {
728
+ } | {
715
729
  output: {
716
730
  workerId: string;
717
731
  parentRunId: string;
@@ -813,7 +827,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
813
827
  } & {
814
828
  json: Record<string, never>;
815
829
  };
816
- } | {
830
+ };
831
+ };
832
+ } & {
833
+ "/:workerId/steer": {
834
+ $post: {
817
835
  output: {
818
836
  error: string;
819
837
  code?: "invalid_input" | undefined;
@@ -825,13 +843,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
825
843
  workerId: string;
826
844
  };
827
845
  } & {
828
- json: Record<string, never>;
846
+ json: {
847
+ text: string;
848
+ };
829
849
  };
830
- };
831
- };
832
- } & {
833
- "/:workerId/steer": {
834
- $post: {
850
+ } | {
835
851
  output: {
836
852
  workerId: string;
837
853
  state: "delivered" | "queued";
@@ -847,7 +863,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
847
863
  text: string;
848
864
  };
849
865
  };
850
- } | {
866
+ };
867
+ };
868
+ } & {
869
+ "/:workerId/stop": {
870
+ $post: {
851
871
  output: {
852
872
  error: string;
853
873
  code?: "invalid_input" | undefined;
@@ -859,15 +879,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
859
879
  workerId: string;
860
880
  };
861
881
  } & {
862
- json: {
863
- text: string;
864
- };
882
+ json: Record<string, never>;
865
883
  };
866
- };
867
- };
868
- } & {
869
- "/:workerId/stop": {
870
- $post: {
884
+ } | {
871
885
  output: {
872
886
  workerId: string;
873
887
  state: "stopping" | "terminated";
@@ -881,7 +895,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
881
895
  } & {
882
896
  json: Record<string, never>;
883
897
  };
884
- } | {
898
+ };
899
+ };
900
+ } & {
901
+ "/:workerId/destroy": {
902
+ $post: {
885
903
  output: {
886
904
  error: string;
887
905
  code?: "invalid_input" | undefined;
@@ -895,11 +913,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
895
913
  } & {
896
914
  json: Record<string, never>;
897
915
  };
898
- };
899
- };
900
- } & {
901
- "/:workerId/destroy": {
902
- $post: {
916
+ } | {
903
917
  output: {
904
918
  workerId: string;
905
919
  state: "complete" | "incomplete";
@@ -922,20 +936,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
922
936
  } & {
923
937
  json: Record<string, never>;
924
938
  };
925
- } | {
926
- output: {
927
- error: string;
928
- code?: "invalid_input" | undefined;
929
- };
930
- outputFormat: "json";
931
- status: 400;
932
- input: {
933
- param: {
934
- workerId: string;
935
- };
936
- } & {
937
- json: Record<string, never>;
938
- };
939
939
  } | {
940
940
  output: {
941
941
  workerId: string;
@@ -965,13 +965,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
965
965
  "/:workerId/diff": {
966
966
  $get: {
967
967
  output: {
968
- workerId: string;
969
- baselineSha: string;
970
- diff: string;
971
- truncated: boolean;
968
+ error: string;
969
+ code?: "invalid_input" | undefined;
972
970
  };
973
971
  outputFormat: "json";
974
- status: 200;
972
+ status: 400;
975
973
  input: {
976
974
  param: {
977
975
  workerId: string;
@@ -979,11 +977,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
979
977
  };
980
978
  } | {
981
979
  output: {
982
- error: string;
983
- code?: "invalid_input" | undefined;
980
+ workerId: string;
981
+ baselineSha: string;
982
+ diff: string;
983
+ truncated: boolean;
984
984
  };
985
985
  outputFormat: "json";
986
- status: 400;
986
+ status: 200;
987
987
  input: {
988
988
  param: {
989
989
  workerId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.18.0-pr3768.6979",
3
+ "version": "0.18.0-pr3769.6980",
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",
@@ -63,8 +63,8 @@
63
63
  "devDependencies": {
64
64
  "@babel/parser": "^8.0.8",
65
65
  "@babel/types": "^8.0.8",
66
- "@open-mercato/cezar-api-client": "0.18.0-pr3768.6979",
67
- "@open-mercato/cezar-contract": "0.18.0-pr3768.6979",
66
+ "@open-mercato/cezar-api-client": "0.18.0-pr3769.6980",
67
+ "@open-mercato/cezar-contract": "0.18.0-pr3769.6980",
68
68
  "@types/node": "^24.19.1",
69
69
  "@types/ws": "^8.18.1",
70
70
  "esbuild": "^0.28.1",
@@ -81,5 +81,5 @@
81
81
  "publishConfig": {
82
82
  "access": "public"
83
83
  },
84
- "gitHead": "6671f9562a231a33cefd11088a2df3ddb46612b3"
84
+ "gitHead": "b17b1f909ea31a5977227c4e0a071d6e3fc55776"
85
85
  }