@hearsay-tools/squawk 0.18.0-dev.8525 → 0.18.0-dev.8526

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 (50) hide show
  1. package/dist/delegation/routes.d.ts +65 -65
  2. package/dist/server/projects-routes.d.ts +45 -45
  3. package/dist/server/repo-routes.d.ts +13 -13
  4. package/dist/server/runners-routes.d.ts +10 -10
  5. package/dist/server/runs-routes.d.ts +16 -16
  6. package/dist/server/server.d.ts +58 -58
  7. package/package.json +4 -4
  8. package/web/dist/assets/{accounts-section-D0y3orCa.js → accounts-section-C4cUskp7.js} +1 -1
  9. package/web/dist/assets/{activity-motion-CFeIt-pC.js → activity-motion-DIX3bcyB.js} +1 -1
  10. package/web/dist/assets/{activity-route-BVbWS5Q5.js → activity-route-a6v44jSV.js} +1 -1
  11. package/web/dist/assets/{agent-config-section-COtfc6N7.js → agent-config-section-CazTT2mr.js} +1 -1
  12. package/web/dist/assets/{agent-defaults-section-B--HJaZT.js → agent-defaults-section-CsAvxnzW.js} +1 -1
  13. package/web/dist/assets/{appearance-CHIIs31D.js → appearance-Bk8WVWHF.js} +1 -1
  14. package/web/dist/assets/{automations-route-Bp4kXc55.js → automations-route--30oSCSi.js} +1 -1
  15. package/web/dist/assets/{commit-diff-panel-CDcHiHON.js → commit-diff-panel-B5u3nzBH.js} +1 -1
  16. package/web/dist/assets/{diff-Dm2WIoEL.js → diff-CVqwOFJx.js} +2 -2
  17. package/web/dist/assets/{diff-view-C43jYPPE.js → diff-view-CfDyBNLk.js} +1 -1
  18. package/web/dist/assets/{file-preview-LlYpNJFW.js → file-preview-BXBSy4MR.js} +1 -1
  19. package/web/dist/assets/{git-toolbar-CWfJ9oU_.js → git-toolbar-CKOW2Bjf.js} +1 -1
  20. package/web/dist/assets/{github-BziZeaWA.js → github-A2sjbmuv.js} +1 -1
  21. package/web/dist/assets/{global-activity-route-CZt_UpfZ.js → global-activity-route-CZY9ssbt.js} +1 -1
  22. package/web/dist/assets/{index-DpGDjVpg.js → index-Clu9VXJs.js} +4 -4
  23. package/web/dist/assets/{markdown-BWdW9XRr.js → markdown-C6YMilQS.js} +1 -1
  24. package/web/dist/assets/{notifications-section-taTezn_8.js → notifications-section-Ceh7_qob.js} +1 -1
  25. package/web/dist/assets/preview-pane-connected-Ca9btxCQ.js +3 -0
  26. package/web/dist/assets/{projects-section-laTG394n.js → projects-section-C6TNM8uI.js} +1 -1
  27. package/web/dist/assets/{prompt-templates-section-DPUJ8_cS.js → prompt-templates-section-DHqBQdL-.js} +1 -1
  28. package/web/dist/assets/{remote-settings-notice-D94MJpB5.js → remote-settings-notice-mnASAu6Z.js} +1 -1
  29. package/web/dist/assets/{repo-git-G3ku9G_N.js → repo-git-Dc7y1A-S.js} +1 -1
  30. package/web/dist/assets/{report-reader-CJ6cp2kG.js → report-reader-CAi5A1hx.js} +1 -1
  31. package/web/dist/assets/{reports-CWTw3eQX.js → reports-C8NVgUwM.js} +1 -1
  32. package/web/dist/assets/{resources-section-CO2A8gbs.js → resources-section-CcCHCo4b.js} +1 -1
  33. package/web/dist/assets/{run-header-BqoJkEiw.js → run-header-Dpr7e1J3.js} +1 -1
  34. package/web/dist/assets/{session-context-section-DLsDHuRy.js → session-context-section-Ga1E-Y_8.js} +1 -1
  35. package/web/dist/assets/{settings-agent-picker-CAkQQ44N.js → settings-agent-picker-DTDM4RXo.js} +1 -1
  36. package/web/dist/assets/{settings-shell-B7pg-fwi.js → settings-shell-CTuW5ilp.js} +1 -1
  37. package/web/dist/assets/{sidebar-section-CVy7g4_W.js → sidebar-section-D9xKMCxo.js} +1 -1
  38. package/web/dist/assets/{skills-Ca0Mt5pt.js → skills-QSp2j0Ei.js} +1 -1
  39. package/web/dist/assets/{task-changes-UGkjb4wT.js → task-changes-C_1yQ3pc.js} +1 -1
  40. package/web/dist/assets/{task-commits-CfEQc81X.js → task-commits-B156s4Br.js} +1 -1
  41. package/web/dist/assets/{task-files-2W_kt5bL.js → task-files-DQyZkvNF.js} +1 -1
  42. package/web/dist/assets/{task-github-item-CWb8Loh2.js → task-github-item-trHnGX_B.js} +1 -1
  43. package/web/dist/assets/{task-thread-YdiWnqlo.js → task-thread-B4DPy4Lk.js} +1 -1
  44. package/web/dist/assets/{thread-state-0FhmMvvC.js → thread-state-BsUveC05.js} +1 -1
  45. package/web/dist/assets/{use-hand-to-agent-state-D2K59hO0.js → use-hand-to-agent-state-CtDcLIHc.js} +1 -1
  46. package/web/dist/assets/{workflows-DxMmoBEB.js → workflows-BQkr2ayW.js} +1 -1
  47. package/web/dist/assets/{workspace-tools-DZOAAbLs.js → workspace-tools-aucXH9WE.js} +1 -1
  48. package/web/dist/assets/{worktrees-section-B2BoNa7k.js → worktrees-section-A8b6TByx.js} +1 -1
  49. package/web/dist/index.html +1 -1
  50. package/web/dist/assets/preview-pane-connected-CB4hFcz8.js +0 -3
@@ -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;
@@ -91,6 +79,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
91
79
  offset?: string | undefined;
92
80
  };
93
81
  };
82
+ } | {
83
+ output: {
84
+ error: string;
85
+ code?: "invalid_input" | undefined;
86
+ };
87
+ outputFormat: "json";
88
+ status: 400;
89
+ input: {
90
+ query: {
91
+ offset?: string | undefined;
92
+ };
93
+ };
94
94
  };
95
95
  };
96
96
  } & {
@@ -677,18 +677,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
677
677
  } & {
678
678
  "/:workerId": {
679
679
  $get: {
680
- output: {
681
- error: string;
682
- code?: "invalid_input" | undefined;
683
- };
684
- outputFormat: "json";
685
- status: 400;
686
- input: {
687
- param: {
688
- workerId: string;
689
- };
690
- };
691
- } | {
692
680
  output: {
693
681
  workerId: string;
694
682
  settled: boolean;
@@ -813,11 +801,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
813
801
  workerId: string;
814
802
  };
815
803
  };
816
- };
817
- };
818
- } & {
819
- "/:workerId/collect": {
820
- $post: {
804
+ } | {
821
805
  output: {
822
806
  error: string;
823
807
  code?: "invalid_input" | undefined;
@@ -828,10 +812,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
828
812
  param: {
829
813
  workerId: string;
830
814
  };
831
- } & {
832
- json: Record<string, never>;
833
815
  };
834
- } | {
816
+ };
817
+ };
818
+ } & {
819
+ "/:workerId/collect": {
820
+ $post: {
835
821
  output: {
836
822
  workerId: string;
837
823
  parentRunId: string;
@@ -954,11 +940,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
954
940
  } & {
955
941
  json: Record<string, never>;
956
942
  };
957
- };
958
- };
959
- } & {
960
- "/:workerId/steer": {
961
- $post: {
943
+ } | {
962
944
  output: {
963
945
  error: string;
964
946
  code?: "invalid_input" | undefined;
@@ -970,11 +952,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
970
952
  workerId: string;
971
953
  };
972
954
  } & {
973
- json: {
974
- text: string;
975
- };
955
+ json: Record<string, never>;
976
956
  };
977
- } | {
957
+ };
958
+ };
959
+ } & {
960
+ "/:workerId/steer": {
961
+ $post: {
978
962
  output: {
979
963
  workerId: string;
980
964
  state: "delivered" | "queued";
@@ -990,11 +974,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
990
974
  text: string;
991
975
  };
992
976
  };
993
- };
994
- };
995
- } & {
996
- "/:workerId/stop": {
997
- $post: {
977
+ } | {
998
978
  output: {
999
979
  error: string;
1000
980
  code?: "invalid_input" | undefined;
@@ -1006,9 +986,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1006
986
  workerId: string;
1007
987
  };
1008
988
  } & {
1009
- json: Record<string, never>;
989
+ json: {
990
+ text: string;
991
+ };
1010
992
  };
1011
- } | {
993
+ };
994
+ };
995
+ } & {
996
+ "/:workerId/stop": {
997
+ $post: {
1012
998
  output: {
1013
999
  workerId: string;
1014
1000
  state: "stopping" | "terminated";
@@ -1022,11 +1008,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1022
1008
  } & {
1023
1009
  json: Record<string, never>;
1024
1010
  };
1025
- };
1026
- };
1027
- } & {
1028
- "/:workerId/destroy": {
1029
- $post: {
1011
+ } | {
1030
1012
  output: {
1031
1013
  error: string;
1032
1014
  code?: "invalid_input" | undefined;
@@ -1038,11 +1020,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1038
1020
  workerId: string;
1039
1021
  };
1040
1022
  } & {
1041
- json: {
1042
- discardWork?: true | undefined;
1043
- };
1023
+ json: Record<string, never>;
1044
1024
  };
1045
- } | {
1025
+ };
1026
+ };
1027
+ } & {
1028
+ "/:workerId/destroy": {
1029
+ $post: {
1046
1030
  output: {
1047
1031
  workerId: string;
1048
1032
  state: "complete" | "incomplete";
@@ -1071,6 +1055,22 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1071
1055
  discardWork?: true | undefined;
1072
1056
  };
1073
1057
  };
1058
+ } | {
1059
+ output: {
1060
+ error: string;
1061
+ code?: "invalid_input" | undefined;
1062
+ };
1063
+ outputFormat: "json";
1064
+ status: 400;
1065
+ input: {
1066
+ param: {
1067
+ workerId: string;
1068
+ };
1069
+ } & {
1070
+ json: {
1071
+ discardWork?: true | undefined;
1072
+ };
1073
+ };
1074
1074
  } | {
1075
1075
  output: {
1076
1076
  workerId: string;
@@ -1106,11 +1106,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1106
1106
  "/:workerId/diff": {
1107
1107
  $get: {
1108
1108
  output: {
1109
- error: string;
1110
- code?: "invalid_input" | undefined;
1109
+ workerId: string;
1110
+ baselineSha: string;
1111
+ diff: string;
1112
+ truncated: boolean;
1111
1113
  };
1112
1114
  outputFormat: "json";
1113
- status: 400;
1115
+ status: 200;
1114
1116
  input: {
1115
1117
  param: {
1116
1118
  workerId: string;
@@ -1118,13 +1120,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1118
1120
  };
1119
1121
  } | {
1120
1122
  output: {
1121
- workerId: string;
1122
- baselineSha: string;
1123
- diff: string;
1124
- truncated: boolean;
1123
+ error: string;
1124
+ code?: "invalid_input" | undefined;
1125
1125
  };
1126
1126
  outputFormat: "json";
1127
- status: 200;
1127
+ status: 400;
1128
1128
  input: {
1129
1129
  param: {
1130
1130
  workerId: string;
@@ -63,17 +63,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
63
63
  } & {
64
64
  "/projects": {
65
65
  $post: {
66
- output: {
67
- error: string;
68
- };
69
- outputFormat: "json";
70
- status: 400 | 500;
71
- input: {
72
- json: {
73
- root: string;
74
- };
75
- };
76
- } | {
77
66
  output: {
78
67
  project: {
79
68
  id: string;
@@ -104,10 +93,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
104
93
  agent: boolean;
105
94
  }[] | undefined;
106
95
  };
107
- error: string;
96
+ error?: string | undefined;
108
97
  };
109
98
  outputFormat: "json";
110
- status: 409;
99
+ status: 200;
111
100
  input: {
112
101
  json: {
113
102
  root: string;
@@ -144,10 +133,21 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
144
133
  agent: boolean;
145
134
  }[] | undefined;
146
135
  };
147
- error?: string | undefined;
136
+ error: string;
148
137
  };
149
138
  outputFormat: "json";
150
- status: 200;
139
+ status: 409;
140
+ input: {
141
+ json: {
142
+ root: string;
143
+ };
144
+ };
145
+ } | {
146
+ output: {
147
+ error: string;
148
+ };
149
+ outputFormat: "json";
150
+ status: 400 | 500;
151
151
  input: {
152
152
  json: {
153
153
  root: string;
@@ -306,7 +306,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
306
306
  error: string;
307
307
  };
308
308
  outputFormat: "json";
309
- status: 404;
309
+ status: 400;
310
310
  input: {
311
311
  param: {
312
312
  projectId: string;
@@ -317,7 +317,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
317
317
  error: string;
318
318
  };
319
319
  outputFormat: "json";
320
- status: 400;
320
+ status: 404;
321
321
  input: {
322
322
  param: {
323
323
  projectId: string;
@@ -342,27 +342,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
342
342
  } & {
343
343
  "/projects/:projectId/webhooks": {
344
344
  $post: {
345
- output: {
346
- error: string;
347
- };
348
- outputFormat: "json";
349
- status: 400 | 404 | 409 | 500;
350
- input: {
351
- json: {
352
- name: string;
353
- description?: string | undefined;
354
- url: string;
355
- token?: string | undefined;
356
- tasks?: boolean | undefined;
357
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
358
- agent?: boolean | undefined;
359
- };
360
- } & {
361
- param: {
362
- projectId: string;
363
- };
364
- };
365
- } | {
366
345
  output: {
367
346
  project: {
368
347
  id: string;
@@ -421,6 +400,27 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
421
400
  projectId: string;
422
401
  };
423
402
  };
403
+ } | {
404
+ output: {
405
+ error: string;
406
+ };
407
+ outputFormat: "json";
408
+ status: 400 | 404 | 409 | 500;
409
+ input: {
410
+ json: {
411
+ name: string;
412
+ description?: string | undefined;
413
+ url: string;
414
+ token?: string | undefined;
415
+ tasks?: boolean | undefined;
416
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
417
+ agent?: boolean | undefined;
418
+ };
419
+ } & {
420
+ param: {
421
+ projectId: string;
422
+ };
423
+ };
424
424
  };
425
425
  };
426
426
  } & {
@@ -618,13 +618,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
618
618
  };
619
619
  } | {
620
620
  output: {
621
- ok: boolean;
622
- status?: number | undefined;
623
- error?: string | undefined;
624
- dryRun?: boolean | undefined;
621
+ error: string;
625
622
  };
626
623
  outputFormat: "json";
627
- status: import("hono/utils/http-status").ContentfulStatusCode;
624
+ status: 404;
628
625
  input: {
629
626
  param: {
630
627
  projectId: string;
@@ -633,10 +630,13 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
633
630
  };
634
631
  } | {
635
632
  output: {
636
- error: string;
633
+ ok: boolean;
634
+ status?: number | undefined;
635
+ error?: string | undefined;
636
+ dryRun?: boolean | undefined;
637
637
  };
638
638
  outputFormat: "json";
639
- status: 404;
639
+ status: import("hono/utils/http-status").ContentfulStatusCode;
640
640
  input: {
641
641
  param: {
642
642
  projectId: string;
@@ -315,19 +315,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
315
315
  } & {
316
316
  "/repo/commit/:sha": {
317
317
  $get: {
318
- output: string;
319
- outputFormat: "text";
320
- status: import("hono/utils/http-status").ContentfulStatusCode;
321
- input: {
322
- query: {
323
- structured?: string | undefined;
324
- };
325
- } & {
326
- param: {
327
- sha: string;
328
- };
329
- };
330
- } | {
331
318
  output: {
332
319
  error: string;
333
320
  code?: "invalid_input" | undefined;
@@ -391,6 +378,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
391
378
  sha: string;
392
379
  };
393
380
  };
381
+ } | {
382
+ output: string;
383
+ outputFormat: "text";
384
+ status: import("hono/utils/http-status").ContentfulStatusCode;
385
+ input: {
386
+ query: {
387
+ structured?: string | undefined;
388
+ };
389
+ } & {
390
+ param: {
391
+ sha: string;
392
+ };
393
+ };
394
394
  };
395
395
  };
396
396
  } & {
@@ -58,11 +58,15 @@ export declare function createRunnersRoutes(options: {
58
58
  "/runner-install/:runner": {
59
59
  $post: {
60
60
  output: {
61
- error: string;
62
- code?: "invalid_input" | undefined;
61
+ supported: boolean;
62
+ installedVersion: string | null;
63
+ latestVersion: string | null;
64
+ updateAvailable: boolean;
65
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
66
+ error: string | null;
63
67
  };
64
68
  outputFormat: "json";
65
- status: 400;
69
+ status: 202;
66
70
  input: {
67
71
  param: {
68
72
  runner: string;
@@ -74,15 +78,11 @@ export declare function createRunnersRoutes(options: {
74
78
  };
75
79
  } | {
76
80
  output: {
77
- supported: boolean;
78
- installedVersion: string | null;
79
- latestVersion: string | null;
80
- updateAvailable: boolean;
81
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
82
- error: string | null;
81
+ error: string;
82
+ code?: "invalid_input" | undefined;
83
83
  };
84
84
  outputFormat: "json";
85
- status: 202;
85
+ status: 400;
86
86
  input: {
87
87
  param: {
88
88
  runner: string;
@@ -12273,20 +12273,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12273
12273
  } & {
12274
12274
  "/runs/:id/handoff": {
12275
12275
  $get: {
12276
- output: string;
12277
- outputFormat: "text";
12278
- status: 200;
12276
+ output: {
12277
+ error: string;
12278
+ };
12279
+ outputFormat: "json";
12280
+ status: 404;
12279
12281
  input: {
12280
12282
  param: {
12281
12283
  id: string;
12282
12284
  };
12283
12285
  };
12284
12286
  } | {
12285
- output: {
12286
- error: string;
12287
- };
12288
- outputFormat: "json";
12289
- status: 404;
12287
+ output: string;
12288
+ outputFormat: "text";
12289
+ status: 200;
12290
12290
  input: {
12291
12291
  param: {
12292
12292
  id: string;
@@ -12324,20 +12324,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12324
12324
  } & {
12325
12325
  "/runs/:id/diff": {
12326
12326
  $get: {
12327
- output: string;
12328
- outputFormat: "text";
12329
- status: import("hono/utils/http-status").ContentfulStatusCode;
12327
+ output: {
12328
+ error: string;
12329
+ };
12330
+ outputFormat: "json";
12331
+ status: 404 | 409;
12330
12332
  input: {
12331
12333
  param: {
12332
12334
  id: string;
12333
12335
  };
12334
12336
  };
12335
12337
  } | {
12336
- output: {
12337
- error: string;
12338
- };
12339
- outputFormat: "json";
12340
- status: 404 | 409;
12338
+ output: string;
12339
+ outputFormat: "text";
12340
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12341
12341
  input: {
12342
12342
  param: {
12343
12343
  id: string;