@hearsay-tools/squawk 0.19.0-dev.9012 → 0.19.0-dev.9025

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 (76) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/contract/index.js +5 -1
  3. package/dist/contract/scheduled-tasks.d.ts +6 -0
  4. package/dist/delegation/transport.d.ts +65 -65
  5. package/dist/features/automations/automations-routes.d.ts +150 -150
  6. package/dist/features/automations/prompts.js +1 -1
  7. package/dist/features/automations/task-template.js +4 -1
  8. package/dist/features/automations/task-template.js.map +1 -1
  9. package/dist/features/automations/tool-adapter.js +9 -3
  10. package/dist/features/automations/tool-adapter.js.map +1 -1
  11. package/dist/features/automations/tool-catalog.d.ts +1 -0
  12. package/dist/features/automations/tool-catalog.js +1 -1
  13. package/dist/features/automations/tool-catalog.js.map +1 -1
  14. package/dist/features/automations/tools.d.ts +6 -0
  15. package/dist/server/models-routes.d.ts +12 -12
  16. package/dist/server/project-settings-routes.d.ts +107 -107
  17. package/dist/server/projects-routes.d.ts +45 -45
  18. package/dist/server/reports-api.d.ts +2 -2
  19. package/dist/server/runs-routes.d.ts +18 -18
  20. package/dist/server/server.d.ts +1196 -1196
  21. package/package.json +4 -4
  22. package/web/dist/assets/{accounts-section-Wc73jQ4s.js → accounts-section-DINhWaKE.js} +1 -1
  23. package/web/dist/assets/{activity-motion-BPRLw_I9.js → activity-motion-BzO8epGW.js} +1 -1
  24. package/web/dist/assets/{activity-route-Da5ta_G-.js → activity-route-BTHXYoE4.js} +1 -1
  25. package/web/dist/assets/{agent-config-section-ZOyd2cRC.js → agent-config-section-tjZMzOZC.js} +1 -1
  26. package/web/dist/assets/{agent-defaults-section-_X3y2Omu.js → agent-defaults-section-CYGoNzJ-.js} +1 -1
  27. package/web/dist/assets/{appearance-BmdfStvY.js → appearance-CCuTu0sL.js} +1 -1
  28. package/web/dist/assets/{archive-on-merge-field-CAF2EWzH.js → archive-on-merge-field-CeUWkcwK.js} +1 -1
  29. package/web/dist/assets/{automations-route-_7obPTdz.js → automations-route-CJmcm2Vr.js} +1 -1
  30. package/web/dist/assets/{commit-list-CO8vRunh.js → commit-list-DHm1bCGH.js} +1 -1
  31. package/web/dist/assets/{diff-9Oy07HJg.js → diff-CZJXpxat.js} +2 -2
  32. package/web/dist/assets/{diff-controls-DWdkazFx.js → diff-controls-Cr1qbI1O.js} +1 -1
  33. package/web/dist/assets/{diff-view-BSehoQ7R.js → diff-view-BxzlLybI.js} +1 -1
  34. package/web/dist/assets/{discard-changes-dialog-BhaVmNO6.js → discard-changes-dialog-aAzdjye-.js} +1 -1
  35. package/web/dist/assets/{file-preview-C83OUAjD.js → file-preview-DE1-2MRD.js} +1 -1
  36. package/web/dist/assets/{git-toolbar--xUjN-yG.js → git-toolbar-CKcT_0rO.js} +1 -1
  37. package/web/dist/assets/{github-CU_L3Gzq.js → github-DYJRmmIn.js} +1 -1
  38. package/web/dist/assets/{global-activity-route-JAN35ZZ7.js → global-activity-route-BsG3-J8A.js} +1 -1
  39. package/web/dist/assets/index-aGnZVJo_.css +1 -0
  40. package/web/dist/assets/{index-CpBnI67l.js → index-lCPcoWSv.js} +4 -4
  41. package/web/dist/assets/{markdown-CRffTry_.js → markdown-CfYkmPQA.js} +1 -1
  42. package/web/dist/assets/{option-select-CANEdKB3.js → option-select-BakZdSgu.js} +1 -1
  43. package/web/dist/assets/{preferences-section-ChSaVzf5.js → preferences-section-D8yX5A40.js} +1 -1
  44. package/web/dist/assets/{preview-pane-connected-DEoWwg1D.js → preview-pane-connected-677KPPpd.js} +1 -1
  45. package/web/dist/assets/{project-location-C6kWal8h.js → project-location-l_7MLXzp.js} +1 -1
  46. package/web/dist/assets/{projects-section-C2ILzM0u.js → projects-section-aX9WMTbw.js} +1 -1
  47. package/web/dist/assets/{prompt-templates-section-DR2g3ICn.js → prompt-templates-section-DV_VhZ8D.js} +1 -1
  48. package/web/dist/assets/{remote-settings-notice-mR8dmhH6.js → remote-settings-notice-9x62rpqO.js} +1 -1
  49. package/web/dist/assets/{repo-git-DYTJUaV2.js → repo-git-m0GYtWKT.js} +1 -1
  50. package/web/dist/assets/{report-reader-CHCeip_w.js → report-reader-C-YM9WMx.js} +1 -1
  51. package/web/dist/assets/{reports-fVt2woJj.js → reports-Bdpvl1tm.js} +1 -1
  52. package/web/dist/assets/{resources-section-CvKw1n42.js → resources-section-CIrP33CN.js} +1 -1
  53. package/web/dist/assets/{review-panel-KthwDPFp.js → review-panel-B8zs0CSP.js} +1 -1
  54. package/web/dist/assets/{run-header-qJ9QeZZe.js → run-header-B6l8_e9X.js} +1 -1
  55. package/web/dist/assets/{select-DGiv2EMm.js → select-fYRFfIZp.js} +1 -1
  56. package/web/dist/assets/{session-context-section-1M2fJo4z.js → session-context-section-DwmxBYhL.js} +1 -1
  57. package/web/dist/assets/{settings-agent-picker-BJY-YMtE.js → settings-agent-picker-B0Q0ke-Q.js} +1 -1
  58. package/web/dist/assets/{settings-save-bar-BPJUUAP3.js → settings-save-bar-D_OxLOmj.js} +1 -1
  59. package/web/dist/assets/{settings-shell-DrNPCX8c.js → settings-shell-tteBTOed.js} +1 -1
  60. package/web/dist/assets/{sidebar-section-DOWp6Dmy.js → sidebar-section-gGolq8j8.js} +1 -1
  61. package/web/dist/assets/{skills-CkVpnXS3.js → skills-BB3x_sd8.js} +1 -1
  62. package/web/dist/assets/{task-changes-DdbXePt5.js → task-changes-Yj9HftST.js} +1 -1
  63. package/web/dist/assets/{task-commits-D2JgTdX6.js → task-commits-D_J1D_WR.js} +1 -1
  64. package/web/dist/assets/{task-file-scope-B1WT9BWp.js → task-file-scope-BZFb10De.js} +1 -1
  65. package/web/dist/assets/{task-files-DGsexDEU.js → task-files-Cc4ZU-AA.js} +1 -1
  66. package/web/dist/assets/{task-github-item-q7DCEOfn.js → task-github-item-DSuJFWRJ.js} +1 -1
  67. package/web/dist/assets/{task-thread-_SnaFIGF.js → task-thread-D2korRS1.js} +1 -1
  68. package/web/dist/assets/{thread-state-BM9FWd8L.js → thread-state-C3TBW7mO.js} +1 -1
  69. package/web/dist/assets/{use-hand-to-agent-state-Bep2f9LG.js → use-hand-to-agent-state-CQB8qtWC.js} +1 -1
  70. package/web/dist/assets/use-path-bases-BYeWywf7.js +1 -0
  71. package/web/dist/assets/{workflows-CU7SKlFm.js → workflows-m3fecleC.js} +1 -1
  72. package/web/dist/assets/{workspace-tools-DO5szf7G.js → workspace-tools-B0HwrAFS.js} +1 -1
  73. package/web/dist/assets/{worktrees-section-Ct-gx72w.js → worktrees-section-D92EMSjm.js} +1 -1
  74. package/web/dist/index.html +2 -2
  75. package/web/dist/assets/index-HPYKV4O4.css +0 -1
  76. package/web/dist/assets/use-path-bases-CS-lRH5B.js +0 -1
@@ -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;
@@ -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;
@@ -94,8 +94,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
94
94
  } | undefined;
95
95
  invalidAsk?: boolean | undefined;
96
96
  delegation?: {
97
- role: "invalid";
98
- } | {
99
97
  role: "root";
100
98
  conversation?: {
101
99
  messages: {
@@ -330,6 +328,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
330
328
  } | undefined;
331
329
  executionRevision?: number | undefined;
332
330
  executionStartSeq?: number | undefined;
331
+ } | {
332
+ role: "invalid";
333
333
  } | undefined;
334
334
  agentInputs?: {
335
335
  conversation?: {
@@ -1941,8 +1941,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1941
1941
  } | undefined;
1942
1942
  invalidAsk?: boolean | undefined;
1943
1943
  delegation?: {
1944
- role: "invalid";
1945
- } | {
1946
1944
  role: "root";
1947
1945
  conversation?: {
1948
1946
  messages: {
@@ -2177,6 +2175,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
2177
2175
  } | undefined;
2178
2176
  executionRevision?: number | undefined;
2179
2177
  executionStartSeq?: number | undefined;
2178
+ } | {
2179
+ role: "invalid";
2180
2180
  } | undefined;
2181
2181
  agentInputs?: {
2182
2182
  conversation?: {
@@ -3156,8 +3156,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3156
3156
  } | undefined;
3157
3157
  invalidAsk?: boolean | undefined;
3158
3158
  delegation?: {
3159
- role: "invalid";
3160
- } | {
3161
3159
  role: "root";
3162
3160
  conversation?: {
3163
3161
  messages: {
@@ -3392,6 +3390,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3392
3390
  } | undefined;
3393
3391
  executionRevision?: number | undefined;
3394
3392
  executionStartSeq?: number | undefined;
3393
+ } | {
3394
+ role: "invalid";
3395
3395
  } | undefined;
3396
3396
  agentInputs?: {
3397
3397
  conversation?: {
@@ -5142,8 +5142,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5142
5142
  currentStepId?: string | undefined;
5143
5143
  error?: string | undefined;
5144
5144
  delegation?: {
5145
- role: "invalid";
5146
- } | {
5147
5145
  role: "root";
5148
5146
  conversation?: {
5149
5147
  messages: {
@@ -5378,6 +5376,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5378
5376
  } | undefined;
5379
5377
  executionRevision?: number | undefined;
5380
5378
  executionStartSeq?: number | undefined;
5379
+ } | {
5380
+ role: "invalid";
5381
5381
  } | undefined;
5382
5382
  lastWaitsError?: string | undefined;
5383
5383
  automaticWakes?: number | undefined;
@@ -5615,8 +5615,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5615
5615
  } | undefined;
5616
5616
  invalidAsk?: boolean | undefined;
5617
5617
  delegation?: {
5618
- role: "invalid";
5619
- } | {
5620
5618
  role: "root";
5621
5619
  conversation?: {
5622
5620
  messages: {
@@ -5851,6 +5849,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5851
5849
  } | undefined;
5852
5850
  executionRevision?: number | undefined;
5853
5851
  executionStartSeq?: number | undefined;
5852
+ } | {
5853
+ role: "invalid";
5854
5854
  } | undefined;
5855
5855
  agentInputs?: {
5856
5856
  conversation?: {
@@ -6806,8 +6806,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6806
6806
  } | undefined;
6807
6807
  invalidAsk?: boolean | undefined;
6808
6808
  delegation?: {
6809
- role: "invalid";
6810
- } | {
6811
6809
  role: "root";
6812
6810
  conversation?: {
6813
6811
  messages: {
@@ -7042,6 +7040,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7042
7040
  } | undefined;
7043
7041
  executionRevision?: number | undefined;
7044
7042
  executionStartSeq?: number | undefined;
7043
+ } | {
7044
+ role: "invalid";
7045
7045
  } | undefined;
7046
7046
  agentInputs?: {
7047
7047
  conversation?: {
@@ -8735,8 +8735,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8735
8735
  currentStepId?: string | undefined;
8736
8736
  error?: string | undefined;
8737
8737
  delegation?: {
8738
- role: "invalid";
8739
- } | {
8740
8738
  role: "root";
8741
8739
  conversation?: {
8742
8740
  messages: {
@@ -8971,6 +8969,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
8971
8969
  } | undefined;
8972
8970
  executionRevision?: number | undefined;
8973
8971
  executionStartSeq?: number | undefined;
8972
+ } | {
8973
+ role: "invalid";
8974
8974
  } | undefined;
8975
8975
  lastWaitsError?: string | undefined;
8976
8976
  automaticWakes?: number | undefined;
@@ -9268,8 +9268,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9268
9268
  } | undefined;
9269
9269
  invalidAsk?: boolean | undefined;
9270
9270
  delegation?: {
9271
- role: "invalid";
9272
- } | {
9273
9271
  role: "root";
9274
9272
  conversation?: {
9275
9273
  messages: {
@@ -9504,6 +9502,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9504
9502
  } | undefined;
9505
9503
  executionRevision?: number | undefined;
9506
9504
  executionStartSeq?: number | undefined;
9505
+ } | {
9506
+ role: "invalid";
9507
9507
  } | undefined;
9508
9508
  agentInputs?: {
9509
9509
  conversation?: {
@@ -11327,8 +11327,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11327
11327
  currentStepId?: string | undefined;
11328
11328
  error?: string | undefined;
11329
11329
  delegation?: {
11330
- role: "invalid";
11331
- } | {
11332
11330
  role: "root";
11333
11331
  conversation?: {
11334
11332
  messages: {
@@ -11563,6 +11561,8 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11563
11561
  } | undefined;
11564
11562
  executionRevision?: number | undefined;
11565
11563
  executionStartSeq?: number | undefined;
11564
+ } | {
11565
+ role: "invalid";
11566
11566
  } | undefined;
11567
11567
  lastWaitsError?: string | undefined;
11568
11568
  automaticWakes?: number | undefined;