@hearsay-tools/squawk 0.18.0-pr3523.6304 → 0.18.0-pr3526.6307

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 (47) hide show
  1. package/dist/delegation/routes.d.ts +62 -62
  2. package/dist/server/reports-api.d.ts +2 -2
  3. package/dist/server/server.d.ts +58 -58
  4. package/dist/voice/routes.d.ts +19 -19
  5. package/package.json +4 -4
  6. package/web/dist/assets/{activity-motion-EQnubAye.js → activity-motion-By-8m7pI.js} +1 -1
  7. package/web/dist/assets/{activity-route-r8W5w3yi.js → activity-route-Zm8yy5P1.js} +1 -1
  8. package/web/dist/assets/commit-diff-panel-DmyU0GfK.js +1 -0
  9. package/web/dist/assets/{diff-chMTLAOx.js → diff-BqjlrPkc.js} +2 -2
  10. package/web/dist/assets/{diff-view-BW1lfwHY.js → diff-view-C951A0eB.js} +3 -3
  11. package/web/dist/assets/{file-preview-CHkgDXDV.js → file-preview-C7lVOoFA.js} +1 -1
  12. package/web/dist/assets/git-toolbar-CAIcI0mv.js +1 -0
  13. package/web/dist/assets/github-62MN8h0b.js +1 -0
  14. package/web/dist/assets/{global-activity-route-BTB-eVuo.js → global-activity-route-Dk-3X7-H.js} +1 -1
  15. package/web/dist/assets/index-CmuvDToK.js +17 -0
  16. package/web/dist/assets/popover-kv3jWQgR.js +1 -0
  17. package/web/dist/assets/{preview-pane-connected-DT7LGLl1.js → preview-pane-connected-DOAlqPpj.js} +3 -3
  18. package/web/dist/assets/prompt-template-menu-DaQL4OL9.js +1 -0
  19. package/web/dist/assets/reference-chip-66Io-vQb.js +1 -0
  20. package/web/dist/assets/repo-git--ig2DHch.js +1 -0
  21. package/web/dist/assets/{report-reader-BWiwqjkj.js → report-reader-CotBEjLg.js} +1 -1
  22. package/web/dist/assets/{reports-Dshiq6sf.js → reports-BYbLOiD2.js} +1 -1
  23. package/web/dist/assets/run-header-SYlZi9sj.js +2 -0
  24. package/web/dist/assets/{skills-C9220-7a.js → skills-CZsBexOn.js} +1 -1
  25. package/web/dist/assets/task-changes-DUVLjwdW.js +1 -0
  26. package/web/dist/assets/task-commits-Cjl-2HyC.js +1 -0
  27. package/web/dist/assets/{task-files-DsZVyYC-.js → task-files-CNvnMbJr.js} +1 -1
  28. package/web/dist/assets/task-github-item-BEymLhut.js +1 -0
  29. package/web/dist/assets/task-thread-CxHxUSs9.js +9 -0
  30. package/web/dist/assets/{thread-state-VqLmoI6u.js → thread-state-DS71Lv1o.js} +1 -1
  31. package/web/dist/assets/use-hand-to-agent-state-SRrk_krH.js +1 -0
  32. package/web/dist/assets/{workflows-Dlef9w9O.js → workflows-DjXsXDQ-.js} +1 -1
  33. package/web/dist/index.html +4 -4
  34. package/web/dist/assets/commit-diff-panel-D5znh9KC.js +0 -1
  35. package/web/dist/assets/git-toolbar-C341Gf_9.js +0 -1
  36. package/web/dist/assets/github-BCvTNEUj.js +0 -1
  37. package/web/dist/assets/index-CyyH67ZV.js +0 -17
  38. package/web/dist/assets/prompt-template-menu-B8VpFfKO.js +0 -1
  39. package/web/dist/assets/reference-chip-DMgD6d01.js +0 -1
  40. package/web/dist/assets/repo-git-DbRTlhfY.js +0 -1
  41. package/web/dist/assets/run-header-CfnMPD0X.js +0 -2
  42. package/web/dist/assets/task-changes-DZjJTxlb.js +0 -1
  43. package/web/dist/assets/task-commits-BD4B1joH.js +0 -1
  44. package/web/dist/assets/task-github-item-CBKDdiMH.js +0 -1
  45. package/web/dist/assets/task-thread-CI3Vr8ly.js +0 -9
  46. package/web/dist/assets/use-desktop-DeG3Ha7y.js +0 -1
  47. package/web/dist/assets/use-hand-to-agent-state-ulIFVdrs.js +0 -1
@@ -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;
@@ -40,7 +40,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
40
40
  error: string;
41
41
  };
42
42
  outputFormat: "json";
43
- status: 409;
43
+ status: 400;
44
44
  input: {
45
45
  query: {
46
46
  q?: string | undefined;
@@ -53,7 +53,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
53
53
  error: string;
54
54
  };
55
55
  outputFormat: "json";
56
- status: 400;
56
+ status: 409;
57
57
  input: {
58
58
  query: {
59
59
  q?: string | undefined;
@@ -4952,6 +4952,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4952
4952
  } & {
4953
4953
  "/repo/commit/:sha": {
4954
4954
  $get: {
4955
+ output: string;
4956
+ outputFormat: "text";
4957
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4958
+ input: {
4959
+ query: {
4960
+ structured?: string | undefined;
4961
+ };
4962
+ } & {
4963
+ param: {
4964
+ sha: string;
4965
+ };
4966
+ };
4967
+ } | {
4955
4968
  output: {
4956
4969
  error: string;
4957
4970
  code?: "invalid_input" | undefined;
@@ -5015,19 +5028,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5015
5028
  sha: string;
5016
5029
  };
5017
5030
  };
5018
- } | {
5019
- output: string;
5020
- outputFormat: "text";
5021
- status: import("hono/utils/http-status").ContentfulStatusCode;
5022
- input: {
5023
- query: {
5024
- structured?: string | undefined;
5025
- };
5026
- } & {
5027
- param: {
5028
- sha: string;
5029
- };
5030
- };
5031
5031
  };
5032
5032
  };
5033
5033
  } & {
@@ -18365,20 +18365,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18365
18365
  } & {
18366
18366
  "/runs/:id/handoff": {
18367
18367
  $get: {
18368
- output: {
18369
- error: string;
18370
- };
18371
- outputFormat: "json";
18372
- status: 404;
18368
+ output: string;
18369
+ outputFormat: "text";
18370
+ status: 200;
18373
18371
  input: {
18374
18372
  param: {
18375
18373
  id: string;
18376
18374
  };
18377
18375
  };
18378
18376
  } | {
18379
- output: string;
18380
- outputFormat: "text";
18381
- status: 200;
18377
+ output: {
18378
+ error: string;
18379
+ };
18380
+ outputFormat: "json";
18381
+ status: 404;
18382
18382
  input: {
18383
18383
  param: {
18384
18384
  id: string;
@@ -18416,20 +18416,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18416
18416
  } & {
18417
18417
  "/runs/:id/diff": {
18418
18418
  $get: {
18419
- output: {
18420
- error: string;
18421
- };
18422
- outputFormat: "json";
18423
- status: 404 | 409;
18419
+ output: string;
18420
+ outputFormat: "text";
18421
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18424
18422
  input: {
18425
18423
  param: {
18426
18424
  id: string;
18427
18425
  };
18428
18426
  };
18429
18427
  } | {
18430
- output: string;
18431
- outputFormat: "text";
18432
- status: import("hono/utils/http-status").ContentfulStatusCode;
18428
+ output: {
18429
+ error: string;
18430
+ };
18431
+ outputFormat: "json";
18432
+ status: 404 | 409;
18433
18433
  input: {
18434
18434
  param: {
18435
18435
  id: string;
@@ -20829,6 +20829,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20829
20829
  } & {
20830
20830
  "/repo/commit/:sha": {
20831
20831
  $get: {
20832
+ output: string;
20833
+ outputFormat: "text";
20834
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20835
+ input: {
20836
+ query: {
20837
+ structured?: string | undefined;
20838
+ };
20839
+ } & {
20840
+ param: {
20841
+ sha: string;
20842
+ };
20843
+ };
20844
+ } | {
20832
20845
  output: {
20833
20846
  error: string;
20834
20847
  code?: "invalid_input" | undefined;
@@ -20892,19 +20905,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20892
20905
  sha: string;
20893
20906
  };
20894
20907
  };
20895
- } | {
20896
- output: string;
20897
- outputFormat: "text";
20898
- status: import("hono/utils/http-status").ContentfulStatusCode;
20899
- input: {
20900
- query: {
20901
- structured?: string | undefined;
20902
- };
20903
- } & {
20904
- param: {
20905
- sha: string;
20906
- };
20907
- };
20908
20908
  };
20909
20909
  };
20910
20910
  } & {
@@ -34242,20 +34242,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34242
34242
  } & {
34243
34243
  "/runs/:id/handoff": {
34244
34244
  $get: {
34245
- output: {
34246
- error: string;
34247
- };
34248
- outputFormat: "json";
34249
- status: 404;
34245
+ output: string;
34246
+ outputFormat: "text";
34247
+ status: 200;
34250
34248
  input: {
34251
34249
  param: {
34252
34250
  id: string;
34253
34251
  };
34254
34252
  };
34255
34253
  } | {
34256
- output: string;
34257
- outputFormat: "text";
34258
- status: 200;
34254
+ output: {
34255
+ error: string;
34256
+ };
34257
+ outputFormat: "json";
34258
+ status: 404;
34259
34259
  input: {
34260
34260
  param: {
34261
34261
  id: string;
@@ -34293,20 +34293,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34293
34293
  } & {
34294
34294
  "/runs/:id/diff": {
34295
34295
  $get: {
34296
- output: {
34297
- error: string;
34298
- };
34299
- outputFormat: "json";
34300
- status: 404 | 409;
34296
+ output: string;
34297
+ outputFormat: "text";
34298
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34301
34299
  input: {
34302
34300
  param: {
34303
34301
  id: string;
34304
34302
  };
34305
34303
  };
34306
34304
  } | {
34307
- output: string;
34308
- outputFormat: "text";
34309
- status: import("hono/utils/http-status").ContentfulStatusCode;
34305
+ output: {
34306
+ error: string;
34307
+ };
34308
+ outputFormat: "json";
34309
+ status: 404 | 409;
34310
34310
  input: {
34311
34311
  param: {
34312
34312
  id: string;
@@ -18,25 +18,6 @@ export interface VoiceRouteDeps {
18
18
  export declare function createVoiceRoutes(deps: VoiceRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
19
19
  "/voice/decide": {
20
20
  $post: {
21
- output: {
22
- error: string;
23
- };
24
- outputFormat: "json";
25
- status: 503;
26
- input: {
27
- json: {
28
- text: string;
29
- sidebarView: "active" | "automations";
30
- openRunId?: string | undefined;
31
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
32
- askRequestId?: string | null | undefined;
33
- proposal?: {
34
- decisionId: string;
35
- action: "answer" | "tell";
36
- } | undefined;
37
- };
38
- };
39
- } | {
40
21
  output: {
41
22
  action: "open";
42
23
  decisionId: string;
@@ -94,6 +75,25 @@ export declare function createVoiceRoutes(deps: VoiceRouteDeps): import("hono/ho
94
75
  } | undefined;
95
76
  };
96
77
  };
78
+ } | {
79
+ output: {
80
+ error: string;
81
+ };
82
+ outputFormat: "json";
83
+ status: 503;
84
+ input: {
85
+ json: {
86
+ text: string;
87
+ sidebarView: "active" | "automations";
88
+ openRunId?: string | undefined;
89
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
90
+ askRequestId?: string | null | undefined;
91
+ proposal?: {
92
+ decisionId: string;
93
+ action: "answer" | "tell";
94
+ } | undefined;
95
+ };
96
+ };
97
97
  };
98
98
  };
99
99
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.18.0-pr3523.6304",
3
+ "version": "0.18.0-pr3526.6307",
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",
@@ -60,8 +60,8 @@
60
60
  "devDependencies": {
61
61
  "@babel/parser": "^8.0.8",
62
62
  "@babel/types": "^8.0.8",
63
- "@open-mercato/cezar-api-client": "0.18.0-pr3523.6304",
64
- "@open-mercato/cezar-contract": "0.18.0-pr3523.6304",
63
+ "@open-mercato/cezar-api-client": "0.18.0-pr3526.6307",
64
+ "@open-mercato/cezar-contract": "0.18.0-pr3526.6307",
65
65
  "@types/node": "^24.19.1",
66
66
  "@types/ws": "^8.18.1",
67
67
  "esbuild": "^0.28.1",
@@ -78,5 +78,5 @@
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  },
81
- "gitHead": "b93af441f811e14bddf68d9077d3d92c4f1de1b1"
81
+ "gitHead": "2bcd93d0922152e283600efe5d993ba63643492d"
82
82
  }