@hearsay-tools/squawk 0.19.0-dev.9128 → 0.19.0-dev.9130

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/features/hosts/routes.d.ts +44 -44
  3. package/dist/features/webhooks/routes.d.ts +38 -38
  4. package/dist/server/activity-routes.d.ts +23 -23
  5. package/dist/server/project-settings-routes.d.ts +107 -107
  6. package/dist/server/projects-routes.d.ts +41 -41
  7. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  8. package/dist/server/repo-routes.d.ts +13 -13
  9. package/dist/server/runner-install-routes.d.ts +10 -10
  10. package/dist/server/runs-routes.d.ts +333 -333
  11. package/dist/server/server.d.ts +1170 -1170
  12. package/dist/server/workspace-identity-routes.d.ts +5 -5
  13. package/package.json +4 -4
  14. package/web/dist/assets/{accounts-section-DL3fIJ3Y.js → accounts-section-CB4vkCsb.js} +1 -1
  15. package/web/dist/assets/{activity-motion-nt1FXMrF.js → activity-motion-CWVqj0za.js} +1 -1
  16. package/web/dist/assets/{activity-route-xVy2K_Fi.js → activity-route-D_1WO5Z1.js} +1 -1
  17. package/web/dist/assets/{agent-config-section-nFavGeR2.js → agent-config-section-DoqyETC4.js} +1 -1
  18. package/web/dist/assets/{agent-defaults-section-CN0pC4xG.js → agent-defaults-section-OS2L78-e.js} +1 -1
  19. package/web/dist/assets/{appearance-zGuTSgIy.js → appearance-CLcSBCp1.js} +1 -1
  20. package/web/dist/assets/{archive-on-merge-field-BaKNf-j4.js → archive-on-merge-field-C2Byigt_.js} +1 -1
  21. package/web/dist/assets/{ask-card-huOW3GMV.js → ask-card-C4IYkE2O.js} +1 -1
  22. package/web/dist/assets/{automations-route-GBaRU2IS.js → automations-route-BZHu5YyF.js} +1 -1
  23. package/web/dist/assets/{commit-list-x-75vYko.js → commit-list-B8WibZ6m.js} +1 -1
  24. package/web/dist/assets/{diff-Bhh_CAtI.js → diff-B_8aWFPC.js} +2 -2
  25. package/web/dist/assets/{diff-controls-BOnMrLuP.js → diff-controls-QX-jSmyx.js} +1 -1
  26. package/web/dist/assets/{diff-view-DiPeQi9D.js → diff-view-BS1q2trQ.js} +1 -1
  27. package/web/dist/assets/{discard-changes-dialog-BMofaFwH.js → discard-changes-dialog-_XKURVyg.js} +1 -1
  28. package/web/dist/assets/{file-preview-ChwOU1Uc.js → file-preview-Dfpn6tQe.js} +1 -1
  29. package/web/dist/assets/{git-toolbar-BdhjSQLm.js → git-toolbar-DuUdRzI1.js} +1 -1
  30. package/web/dist/assets/{github-DqXXUCBy.js → github-CPC8EK-y.js} +1 -1
  31. package/web/dist/assets/{global-activity-route-CZJRu2G1.js → global-activity-route-B7WkPq9M.js} +1 -1
  32. package/web/dist/assets/{index-CbSPKU4g.js → index-BovBmPyJ.js} +4 -4
  33. package/web/dist/assets/index-FmHk4o3n.css +1 -0
  34. package/web/dist/assets/{markdown-DMFXz4xY.js → markdown-B0yqWHDP.js} +1 -1
  35. package/web/dist/assets/{option-select-Cq_bhgu6.js → option-select-COXy_9e6.js} +1 -1
  36. package/web/dist/assets/{preferences-section-CHhUi72X.js → preferences-section-Bbzs9RW1.js} +1 -1
  37. package/web/dist/assets/{preview-pane-connected-DH9rjYI7.js → preview-pane-connected-dMTWNhX8.js} +1 -1
  38. package/web/dist/assets/{project-location-CSXt_Yk6.js → project-location-B-O2lQQU.js} +1 -1
  39. package/web/dist/assets/{projects-section-CSBdiEM-.js → projects-section-BjffHvrf.js} +1 -1
  40. package/web/dist/assets/{prompt-templates-section-DaJbpROr.js → prompt-templates-section--SsT2vbo.js} +1 -1
  41. package/web/dist/assets/{remote-settings-notice-Chx8LxP6.js → remote-settings-notice-DyWrqTzR.js} +1 -1
  42. package/web/dist/assets/{repo-git-D8Sn_897.js → repo-git-CAX7JKaD.js} +1 -1
  43. package/web/dist/assets/{report-reader-Ccymt9jp.js → report-reader-Cu5tL1Ph.js} +1 -1
  44. package/web/dist/assets/{reports-GvAw7DYA.js → reports-D9ouruqt.js} +1 -1
  45. package/web/dist/assets/{resources-section-BWqoBxtC.js → resources-section-D21Lq0Jb.js} +1 -1
  46. package/web/dist/assets/{review-notes-drafts-BKzyNpXo.js → review-notes-drafts-AEBwPEaV.js} +1 -1
  47. package/web/dist/assets/{review-panel-DxAlY6hQ.js → review-panel-Cy1EYoBI.js} +1 -1
  48. package/web/dist/assets/{review-strip-QDKNuOm9.js → review-strip-ClN1AfmS.js} +1 -1
  49. package/web/dist/assets/run-header-C7L9lspH.js +2 -0
  50. package/web/dist/assets/{run-header-788Dmvef.css → run-header-Ytho20Wt.css} +1 -1
  51. package/web/dist/assets/{select-DVQEFrtF.js → select-JCfCIElu.js} +1 -1
  52. package/web/dist/assets/{session-context-section-YxCcDlRl.js → session-context-section-Cbzxxjcu.js} +1 -1
  53. package/web/dist/assets/{settings-agent-picker-CDyluV99.js → settings-agent-picker-1H6fIPXo.js} +1 -1
  54. package/web/dist/assets/{settings-save-bar-CMJaZn_P.js → settings-save-bar-BUi6H-gE.js} +1 -1
  55. package/web/dist/assets/{settings-shell-DHVB7FYt.js → settings-shell-lj--GRCk.js} +1 -1
  56. package/web/dist/assets/{sidebar-section-hphp-63V.js → sidebar-section-Cv1ulfXy.js} +1 -1
  57. package/web/dist/assets/{skills-BlHcP8uc.js → skills-DAJzu767.js} +1 -1
  58. package/web/dist/assets/{task-changes-DWMFWq5g.js → task-changes-GTdXC-dZ.js} +1 -1
  59. package/web/dist/assets/{task-commits-q5Cn_tdG.js → task-commits-6ZKh7FRW.js} +1 -1
  60. package/web/dist/assets/{task-file-scope-BKjO7lKK.js → task-file-scope-CaJR98S8.js} +1 -1
  61. package/web/dist/assets/{task-files-DbRJAKAg.js → task-files-DRnSkRoC.js} +1 -1
  62. package/web/dist/assets/{task-github-item-DV6uUcx2.js → task-github-item-080YJpbP.js} +1 -1
  63. package/web/dist/assets/{task-thread-i16nxSQv.css → task-thread-C70CCqyd.css} +1 -1
  64. package/web/dist/assets/task-thread-D1bM1I_e.js +2 -0
  65. package/web/dist/assets/{thread-state-uf_28v2G.js → thread-state-CmjIQNn7.js} +1 -1
  66. package/web/dist/assets/{use-finish-run-BsTPLn1d.js → use-finish-run-BE6ugaLE.js} +1 -1
  67. package/web/dist/assets/{use-hand-to-agent-state-DyjrAs-3.js → use-hand-to-agent-state-CK_1_QCG.js} +1 -1
  68. package/web/dist/assets/use-path-bases-RiQd3y2m.js +1 -0
  69. package/web/dist/assets/{workflows-B5xr64g0.js → workflows-D9hqYoNT.js} +1 -1
  70. package/web/dist/assets/{workspace-tools-DGlrX2Uj.js → workspace-tools-DuYt1zu5.js} +1 -1
  71. package/web/dist/assets/{worktrees-section-D2bbdi3Y.js → worktrees-section-JViXzzNC.js} +1 -1
  72. package/web/dist/index.html +2 -2
  73. package/web/dist/assets/index-CSgBel_0.css +0 -1
  74. package/web/dist/assets/run-header-BS7SXYup.js +0 -2
  75. package/web/dist/assets/task-thread-05LMMzIs.js +0 -2
  76. package/web/dist/assets/use-path-bases-hbJkikc4.js +0 -1
@@ -121,9 +121,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
121
121
  } & {
122
122
  "/api/v1/tools/:name": {
123
123
  $post: {
124
- output: never;
124
+ output: {
125
+ code: string;
126
+ message: string;
127
+ };
125
128
  outputFormat: "json";
126
- status: import("hono/utils/http-status").ContentfulStatusCode;
129
+ status: 401;
127
130
  input: {
128
131
  json: unknown;
129
132
  } & {
@@ -146,12 +149,9 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
146
149
  };
147
150
  };
148
151
  } | {
149
- output: {
150
- code: string;
151
- message: string;
152
- };
152
+ output: never;
153
153
  outputFormat: "json";
154
- status: 401;
154
+ status: import("hono/utils/http-status").ContentfulStatusCode;
155
155
  input: {
156
156
  json: unknown;
157
157
  } & {
@@ -36,10 +36,20 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
36
36
  "/hosts": {
37
37
  $post: {
38
38
  output: {
39
- error: string;
39
+ host: {
40
+ id: string;
41
+ label: string;
42
+ state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
43
+ reason?: string | undefined;
44
+ kind?: "ssh" | undefined;
45
+ sshAlias?: string | undefined;
46
+ installId?: string | undefined;
47
+ port?: number | undefined;
48
+ addedAt?: string | undefined;
49
+ };
40
50
  };
41
51
  outputFormat: "json";
42
- status: 404;
52
+ status: 201;
43
53
  input: {
44
54
  json: {
45
55
  sshAlias: string;
@@ -67,7 +77,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
67
77
  error: string;
68
78
  };
69
79
  outputFormat: "json";
70
- status: 409;
80
+ status: 404;
71
81
  input: {
72
82
  json: {
73
83
  sshAlias: string;
@@ -81,7 +91,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
81
91
  error: string;
82
92
  };
83
93
  outputFormat: "json";
84
- status: 500;
94
+ status: 409;
85
95
  input: {
86
96
  json: {
87
97
  sshAlias: string;
@@ -92,20 +102,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
92
102
  };
93
103
  } | {
94
104
  output: {
95
- host: {
96
- id: string;
97
- label: string;
98
- state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
99
- reason?: string | undefined;
100
- kind?: "ssh" | undefined;
101
- sshAlias?: string | undefined;
102
- installId?: string | undefined;
103
- port?: number | undefined;
104
- addedAt?: string | undefined;
105
- };
105
+ error: string;
106
106
  };
107
107
  outputFormat: "json";
108
- status: 201;
108
+ status: 409;
109
109
  input: {
110
110
  json: {
111
111
  sshAlias: string;
@@ -119,7 +119,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
119
119
  error: string;
120
120
  };
121
121
  outputFormat: "json";
122
- status: 409;
122
+ status: 500;
123
123
  input: {
124
124
  json: {
125
125
  sshAlias: string;
@@ -134,11 +134,20 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
134
134
  "/hosts/:id": {
135
135
  $patch: {
136
136
  output: {
137
- error: string;
138
- code?: "invalid_input" | undefined;
137
+ host: {
138
+ id: string;
139
+ label: string;
140
+ state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
141
+ reason?: string | undefined;
142
+ kind?: "ssh" | undefined;
143
+ sshAlias?: string | undefined;
144
+ installId?: string | undefined;
145
+ port?: number | undefined;
146
+ addedAt?: string | undefined;
147
+ };
139
148
  };
140
149
  outputFormat: "json";
141
- status: 400;
150
+ status: 200;
142
151
  input: {
143
152
  param: {
144
153
  id: string;
@@ -153,9 +162,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
153
162
  } | {
154
163
  output: {
155
164
  error: string;
165
+ code?: "invalid_input" | undefined;
156
166
  };
157
167
  outputFormat: "json";
158
- status: 404;
168
+ status: 400;
159
169
  input: {
160
170
  param: {
161
171
  id: string;
@@ -189,7 +199,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
189
199
  error: string;
190
200
  };
191
201
  outputFormat: "json";
192
- status: 409;
202
+ status: 404;
193
203
  input: {
194
204
  param: {
195
205
  id: string;
@@ -206,7 +216,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
206
216
  error: string;
207
217
  };
208
218
  outputFormat: "json";
209
- status: 500;
219
+ status: 409;
210
220
  input: {
211
221
  param: {
212
222
  id: string;
@@ -237,20 +247,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
237
247
  };
238
248
  } | {
239
249
  output: {
240
- host: {
241
- id: string;
242
- label: string;
243
- state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
244
- reason?: string | undefined;
245
- kind?: "ssh" | undefined;
246
- sshAlias?: string | undefined;
247
- installId?: string | undefined;
248
- port?: number | undefined;
249
- addedAt?: string | undefined;
250
- };
250
+ error: string;
251
251
  };
252
252
  outputFormat: "json";
253
- status: 200;
253
+ status: 500;
254
254
  input: {
255
255
  param: {
256
256
  id: string;
@@ -268,11 +268,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
268
268
  "/hosts/:id": {
269
269
  $delete: {
270
270
  output: {
271
- error: string;
272
- code?: "invalid_input" | undefined;
271
+ removed: true;
272
+ id: string;
273
273
  };
274
274
  outputFormat: "json";
275
- status: 400;
275
+ status: 200;
276
276
  input: {
277
277
  param: {
278
278
  id: string;
@@ -281,9 +281,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
281
281
  } | {
282
282
  output: {
283
283
  error: string;
284
+ code?: "invalid_input" | undefined;
284
285
  };
285
286
  outputFormat: "json";
286
- status: 404;
287
+ status: 400;
287
288
  input: {
288
289
  param: {
289
290
  id: string;
@@ -305,7 +306,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
305
306
  error: string;
306
307
  };
307
308
  outputFormat: "json";
308
- status: 409;
309
+ status: 404;
309
310
  input: {
310
311
  param: {
311
312
  id: string;
@@ -316,7 +317,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
316
317
  error: string;
317
318
  };
318
319
  outputFormat: "json";
319
- status: 500;
320
+ status: 409;
320
321
  input: {
321
322
  param: {
322
323
  id: string;
@@ -335,11 +336,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
335
336
  };
336
337
  } | {
337
338
  output: {
338
- removed: true;
339
- id: string;
339
+ error: string;
340
340
  };
341
341
  outputFormat: "json";
342
- status: 200;
342
+ status: 500;
343
343
  input: {
344
344
  param: {
345
345
  id: string;
@@ -100,18 +100,6 @@ export interface ProjectWebhooksRouteDeps {
100
100
  export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
101
101
  "/projects/:projectId/webhook/test": {
102
102
  $post: {
103
- output: {
104
- error: string;
105
- code?: "no-boot-project" | undefined;
106
- };
107
- outputFormat: "json";
108
- status: 404 | 409;
109
- input: {
110
- param: {
111
- projectId: string;
112
- };
113
- };
114
- } | {
115
103
  output: {
116
104
  error: string;
117
105
  };
@@ -136,33 +124,23 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
136
124
  projectId: string;
137
125
  };
138
126
  };
139
- };
140
- };
141
- } & {
142
- "/projects/:projectId/webhooks": {
143
- $post: {
127
+ } | {
144
128
  output: {
145
129
  error: string;
146
130
  code?: "no-boot-project" | undefined;
147
131
  };
148
132
  outputFormat: "json";
149
- status: 400 | 404 | 409 | 500;
133
+ status: 404 | 409;
150
134
  input: {
151
- json: {
152
- name: string;
153
- description?: string | undefined;
154
- url: string;
155
- token?: string | undefined;
156
- tasks?: boolean | undefined;
157
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
158
- agent?: boolean | undefined;
159
- };
160
- } & {
161
135
  param: {
162
136
  projectId: string;
163
137
  };
164
138
  };
165
- } | {
139
+ };
140
+ };
141
+ } & {
142
+ "/projects/:projectId/webhooks": {
143
+ $post: {
166
144
  output: {
167
145
  project: {
168
146
  id: string;
@@ -221,6 +199,28 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
221
199
  projectId: string;
222
200
  };
223
201
  };
202
+ } | {
203
+ output: {
204
+ error: string;
205
+ code?: "no-boot-project" | undefined;
206
+ };
207
+ outputFormat: "json";
208
+ status: 400 | 404 | 409 | 500;
209
+ input: {
210
+ json: {
211
+ name: string;
212
+ description?: string | undefined;
213
+ url: string;
214
+ token?: string | undefined;
215
+ tasks?: boolean | undefined;
216
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
217
+ agent?: boolean | undefined;
218
+ };
219
+ } & {
220
+ param: {
221
+ projectId: string;
222
+ };
223
+ };
224
224
  };
225
225
  };
226
226
  } & {
@@ -420,13 +420,10 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
420
420
  };
421
421
  } | {
422
422
  output: {
423
- ok: boolean;
424
- status?: number | undefined;
425
- error?: string | undefined;
426
- dryRun?: boolean | undefined;
423
+ error: string;
427
424
  };
428
425
  outputFormat: "json";
429
- status: import("hono/utils/http-status").ContentfulStatusCode;
426
+ status: 404;
430
427
  input: {
431
428
  param: {
432
429
  projectId: string;
@@ -435,11 +432,13 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
435
432
  };
436
433
  } | {
437
434
  output: {
438
- error: string;
439
- code?: "no-boot-project" | undefined;
435
+ ok: boolean;
436
+ status?: number | undefined;
437
+ error?: string | undefined;
438
+ dryRun?: boolean | undefined;
440
439
  };
441
440
  outputFormat: "json";
442
- status: 404 | 409;
441
+ status: import("hono/utils/http-status").ContentfulStatusCode;
443
442
  input: {
444
443
  param: {
445
444
  projectId: string;
@@ -449,9 +448,10 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
449
448
  } | {
450
449
  output: {
451
450
  error: string;
451
+ code?: "no-boot-project" | undefined;
452
452
  };
453
453
  outputFormat: "json";
454
- status: 404;
454
+ status: 404 | 409;
455
455
  input: {
456
456
  param: {
457
457
  projectId: string;
@@ -58,29 +58,6 @@ export declare function ciProgressPlugs(): {
58
58
  export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
59
59
  "/workspace/activity": {
60
60
  $get: {
61
- output: {
62
- error: string;
63
- code?: "invalid_input" | undefined;
64
- };
65
- outputFormat: "json";
66
- status: 400;
67
- input: {
68
- query: {
69
- project?: string | undefined;
70
- };
71
- };
72
- } | {
73
- output: {
74
- error: string;
75
- };
76
- outputFormat: "json";
77
- status: 404 | 409 | 503;
78
- input: {
79
- query: {
80
- project?: string | undefined;
81
- };
82
- };
83
- } | {
84
61
  output: {
85
62
  generatedAt: string;
86
63
  projects: {
@@ -331,6 +308,29 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
331
308
  project?: string | undefined;
332
309
  };
333
310
  };
311
+ } | {
312
+ output: {
313
+ error: string;
314
+ code?: "invalid_input" | undefined;
315
+ };
316
+ outputFormat: "json";
317
+ status: 400;
318
+ input: {
319
+ query: {
320
+ project?: string | undefined;
321
+ };
322
+ };
323
+ } | {
324
+ output: {
325
+ error: string;
326
+ };
327
+ outputFormat: "json";
328
+ status: 404 | 409 | 503;
329
+ input: {
330
+ query: {
331
+ project?: string | undefined;
332
+ };
333
+ };
334
334
  };
335
335
  };
336
336
  }, "/", "/workspace/activity">;