@hearsay-tools/squawk 0.19.0-pr4484.8849 → 0.19.0-pr4484.8850

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 (59) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/delegation/routes.d.ts +65 -65
  3. package/dist/server/models-routes.d.ts +12 -12
  4. package/dist/server/project-settings-routes.d.ts +107 -107
  5. package/dist/server/projects-routes.d.ts +45 -45
  6. package/dist/server/providers-routes.d.ts +57 -57
  7. package/dist/server/repo-routes.d.ts +13 -13
  8. package/dist/server/reports-api.d.ts +2 -2
  9. package/dist/server/runner-install-routes.d.ts +10 -10
  10. package/dist/server/runs-routes.d.ts +304 -304
  11. package/dist/server/server.d.ts +58 -58
  12. package/package.json +4 -4
  13. package/web/dist/assets/{accounts-section-BeOGiodx.js → accounts-section-CALgfypx.js} +1 -1
  14. package/web/dist/assets/{activity-motion-BraTC90V.js → activity-motion-CwoTyLTc.js} +1 -1
  15. package/web/dist/assets/{activity-route-BxxLXnNb.js → activity-route-W1NRNWvq.js} +1 -1
  16. package/web/dist/assets/{agent-config-section-iEj2kh_m.js → agent-config-section-DXWsanys.js} +1 -1
  17. package/web/dist/assets/{agent-defaults-section-CV2XEvs5.js → agent-defaults-section-D0NeN7qN.js} +1 -1
  18. package/web/dist/assets/{appearance-DEmDeQ3l.js → appearance-Bmi9MU9W.js} +1 -1
  19. package/web/dist/assets/{automations-route-OZkTyuRX.js → automations-route-Dxg-qV2s.js} +1 -1
  20. package/web/dist/assets/{commit-list-PAtV8gyX.js → commit-list-MNqrZTck.js} +1 -1
  21. package/web/dist/assets/{diff-DQk0ICL-.js → diff-BReXk0AE.js} +2 -2
  22. package/web/dist/assets/{diff-controls-Dd5I6mOy.js → diff-controls-DqY4cehO.js} +1 -1
  23. package/web/dist/assets/{diff-view-B3e1YF2x.js → diff-view-D1nb3txV.js} +1 -1
  24. package/web/dist/assets/{discard-changes-dialog-BoWRfvhX.js → discard-changes-dialog-BEr4Gv5U.js} +1 -1
  25. package/web/dist/assets/{file-preview-ifi0Ad8c.js → file-preview-UQdEe36n.js} +1 -1
  26. package/web/dist/assets/{git-toolbar-D6uMb1LN.js → git-toolbar-D_dDC5ZE.js} +1 -1
  27. package/web/dist/assets/{github-A5MyAvjo.js → github-C9W4I6yD.js} +1 -1
  28. package/web/dist/assets/{global-activity-route-BkuMl-UC.js → global-activity-route-DNpbLFDu.js} +1 -1
  29. package/web/dist/assets/{index-VBdx5s7U.js → index-C7ukwJOO.js} +4 -4
  30. package/web/dist/assets/{markdown-CsP_OLyU.js → markdown-b8MyAUDp.js} +1 -1
  31. package/web/dist/assets/{notifications-section-KQJtCs-m.js → notifications-section-Bvy3LbOJ.js} +1 -1
  32. package/web/dist/assets/{preview-pane-connected-VjTQEceM.js → preview-pane-connected-C6IuOaT9.js} +1 -1
  33. package/web/dist/assets/{projects-section-BhabP8vd.js → projects-section-K0fhDrEj.js} +1 -1
  34. package/web/dist/assets/{prompt-templates-section-AYpiCjmf.js → prompt-templates-section-DP-GGexo.js} +1 -1
  35. package/web/dist/assets/{remote-settings-notice-C3iWEGmH.js → remote-settings-notice-KcdQBtL-.js} +1 -1
  36. package/web/dist/assets/{repo-git-C01PFB-E.js → repo-git-Bl-UGHLp.js} +1 -1
  37. package/web/dist/assets/{report-reader-nz3V3Lz7.js → report-reader-DxXVIDXb.js} +1 -1
  38. package/web/dist/assets/{reports-DtZK4jOB.js → reports-BkjJG38e.js} +1 -1
  39. package/web/dist/assets/{resources-section-BRzB_Bhb.js → resources-section-CFGOWc9f.js} +1 -1
  40. package/web/dist/assets/{review-panel-DHJjHeaB.js → review-panel-DisWpJts.js} +2 -2
  41. package/web/dist/assets/{run-header-CSijv-YH.js → run-header-D9u31K9U.js} +1 -1
  42. package/web/dist/assets/{select-DlNVtWqZ.js → select-YPuWqDgO.js} +1 -1
  43. package/web/dist/assets/{session-context-section-Dv1cDixc.js → session-context-section-CzvC0X_b.js} +1 -1
  44. package/web/dist/assets/{settings-agent-picker-MdqbXV9H.js → settings-agent-picker-Z02e6RVV.js} +1 -1
  45. package/web/dist/assets/{settings-shell-CjvGzEXE.js → settings-shell-DR-433HV.js} +1 -1
  46. package/web/dist/assets/{sidebar-section-DZuA4Izw.js → sidebar-section-D-wqzWNv.js} +1 -1
  47. package/web/dist/assets/{skills-t0jRn0UI.js → skills-BDyzULcE.js} +1 -1
  48. package/web/dist/assets/{task-changes-BNpDXPcl.js → task-changes-C11YZQq2.js} +1 -1
  49. package/web/dist/assets/{task-commits-DPP79bjM.js → task-commits-BxqPChxL.js} +1 -1
  50. package/web/dist/assets/{task-file-scope-BpAU1GLy.js → task-file-scope-BoeMnbud.js} +1 -1
  51. package/web/dist/assets/{task-files-CcXwu4EQ.js → task-files-B4JXJy2m.js} +1 -1
  52. package/web/dist/assets/{task-github-item-DMFboxqX.js → task-github-item-B0f6abVK.js} +1 -1
  53. package/web/dist/assets/{task-thread-CoRkm48o.js → task-thread-DY8o4YFd.js} +1 -1
  54. package/web/dist/assets/{thread-state-BNR1qG2X.js → thread-state-BxL_gQIw.js} +1 -1
  55. package/web/dist/assets/{use-hand-to-agent-state-BFEdVZQu.js → use-hand-to-agent-state-DpXcBcBs.js} +1 -1
  56. package/web/dist/assets/{workflows-D9I4QGot.js → workflows-Wo4RiUBL.js} +3 -3
  57. package/web/dist/assets/{workspace-tools-Jy35o1XD.js → workspace-tools-ClZG9T6v.js} +1 -1
  58. package/web/dist/assets/{worktrees-section-DjWQgjF3.js → worktrees-section-BCuaXANJ.js} +1 -1
  59. package/web/dist/index.html +1 -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;
@@ -70,10 +70,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
70
70
  };
71
71
  } | {
72
72
  output: {
73
- error: string;
73
+ providers: {
74
+ requiresAccountHome?: boolean | undefined;
75
+ provider: string;
76
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
77
+ enabled?: boolean | undefined;
78
+ hint?: string | undefined;
79
+ authFailureId?: string | undefined;
80
+ profileId?: string | undefined;
81
+ }[];
74
82
  };
75
83
  outputFormat: "json";
76
- status: 500;
84
+ status: import("hono/utils/http-status").ContentfulStatusCode;
77
85
  input: {
78
86
  param: {
79
87
  provider: string;
@@ -85,18 +93,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
85
93
  };
86
94
  } | {
87
95
  output: {
88
- providers: {
89
- requiresAccountHome?: boolean | undefined;
90
- provider: string;
91
- status: "connected" | "disconnected" | "not-installed" | "unknown";
92
- enabled?: boolean | undefined;
93
- hint?: string | undefined;
94
- authFailureId?: string | undefined;
95
- profileId?: string | undefined;
96
- }[];
96
+ error: string;
97
97
  };
98
98
  outputFormat: "json";
99
- status: import("hono/utils/http-status").ContentfulStatusCode;
99
+ status: 500;
100
100
  input: {
101
101
  param: {
102
102
  provider: string;
@@ -128,10 +128,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
128
128
  };
129
129
  } | {
130
130
  output: {
131
- error: string;
131
+ providers: {
132
+ requiresAccountHome?: boolean | undefined;
133
+ provider: string;
134
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
135
+ enabled?: boolean | undefined;
136
+ hint?: string | undefined;
137
+ authFailureId?: string | undefined;
138
+ profileId?: string | undefined;
139
+ }[];
132
140
  };
133
141
  outputFormat: "json";
134
- status: 409;
142
+ status: import("hono/utils/http-status").ContentfulStatusCode;
135
143
  input: {
136
144
  param: {
137
145
  provider: string;
@@ -143,18 +151,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
143
151
  };
144
152
  } | {
145
153
  output: {
146
- providers: {
147
- requiresAccountHome?: boolean | undefined;
148
- provider: string;
149
- status: "connected" | "disconnected" | "not-installed" | "unknown";
150
- enabled?: boolean | undefined;
151
- hint?: string | undefined;
152
- authFailureId?: string | undefined;
153
- profileId?: string | undefined;
154
- }[];
154
+ error: string;
155
155
  };
156
156
  outputFormat: "json";
157
- status: import("hono/utils/http-status").ContentfulStatusCode;
157
+ status: 409;
158
158
  input: {
159
159
  param: {
160
160
  provider: string;
@@ -173,7 +173,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
173
173
  error: string;
174
174
  };
175
175
  outputFormat: "json";
176
- status: 400;
176
+ status: 409;
177
177
  input: {
178
178
  json: {
179
179
  provider: string;
@@ -185,7 +185,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
185
185
  error: string;
186
186
  };
187
187
  outputFormat: "json";
188
- status: 409;
188
+ status: 400;
189
189
  input: {
190
190
  json: {
191
191
  provider: string;
@@ -290,28 +290,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
290
290
  "/workspace/agent-profiles": {
291
291
  $post: {
292
292
  output: {
293
- profile: {
294
- id: string;
295
- provider: string;
296
- label: string;
297
- configDir?: string | undefined;
298
- path?: string | undefined;
299
- exists: boolean;
300
- looksValid: boolean;
301
- isDefault: boolean;
302
- status?: {
303
- requiresAccountHome?: boolean | undefined;
304
- provider: string;
305
- status: "connected" | "disconnected" | "not-installed" | "unknown";
306
- enabled?: boolean | undefined;
307
- hint?: string | undefined;
308
- authFailureId?: string | undefined;
309
- profileId?: string | undefined;
310
- } | undefined;
311
- };
293
+ error: string;
312
294
  };
313
295
  outputFormat: "json";
314
- status: 201;
296
+ status: 409;
315
297
  input: {
316
298
  json: {
317
299
  provider: string;
@@ -337,7 +319,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
337
319
  error: string;
338
320
  };
339
321
  outputFormat: "json";
340
- status: 409;
322
+ status: 500;
341
323
  input: {
342
324
  json: {
343
325
  provider: string;
@@ -347,10 +329,28 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
347
329
  };
348
330
  } | {
349
331
  output: {
350
- error: string;
332
+ profile: {
333
+ id: string;
334
+ provider: string;
335
+ label: string;
336
+ configDir?: string | undefined;
337
+ path?: string | undefined;
338
+ exists: boolean;
339
+ looksValid: boolean;
340
+ isDefault: boolean;
341
+ status?: {
342
+ requiresAccountHome?: boolean | undefined;
343
+ provider: string;
344
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
345
+ enabled?: boolean | undefined;
346
+ hint?: string | undefined;
347
+ authFailureId?: string | undefined;
348
+ profileId?: string | undefined;
349
+ } | undefined;
350
+ };
351
351
  };
352
352
  outputFormat: "json";
353
- status: 500;
353
+ status: 201;
354
354
  input: {
355
355
  json: {
356
356
  provider: string;
@@ -384,7 +384,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
384
384
  error: string;
385
385
  };
386
386
  outputFormat: "json";
387
- status: 400;
387
+ status: 409;
388
388
  input: {
389
389
  param: {
390
390
  id: string;
@@ -400,7 +400,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
400
400
  error: string;
401
401
  };
402
402
  outputFormat: "json";
403
- status: 404;
403
+ status: 400;
404
404
  input: {
405
405
  param: {
406
406
  id: string;
@@ -416,7 +416,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
416
416
  error: string;
417
417
  };
418
418
  outputFormat: "json";
419
- status: 409;
419
+ status: 404;
420
420
  input: {
421
421
  param: {
422
422
  id: string;
@@ -544,7 +544,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
544
544
  error: string;
545
545
  };
546
546
  outputFormat: "json";
547
- status: 400;
547
+ status: 404;
548
548
  input: {
549
549
  json: {
550
550
  projectId: string;
@@ -557,7 +557,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
557
557
  error: string;
558
558
  };
559
559
  outputFormat: "json";
560
- status: 404;
560
+ status: 400;
561
561
  input: {
562
562
  json: {
563
563
  projectId: string;
@@ -621,7 +621,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
621
621
  error: string;
622
622
  };
623
623
  outputFormat: "json";
624
- status: 404;
624
+ status: 409;
625
625
  input: {
626
626
  param: {
627
627
  id: string;
@@ -632,7 +632,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
632
632
  error: string;
633
633
  };
634
634
  outputFormat: "json";
635
- status: 409;
635
+ status: 500;
636
636
  input: {
637
637
  param: {
638
638
  id: string;
@@ -643,7 +643,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
643
643
  error: string;
644
644
  };
645
645
  outputFormat: "json";
646
- status: 500;
646
+ status: 404;
647
647
  input: {
648
648
  param: {
649
649
  id: string;
@@ -341,19 +341,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
341
341
  } & {
342
342
  "/repo/commit/:sha": {
343
343
  $get: {
344
- output: string;
345
- outputFormat: "text";
346
- status: import("hono/utils/http-status").ContentfulStatusCode;
347
- input: {
348
- query: {
349
- structured?: string | undefined;
350
- };
351
- } & {
352
- param: {
353
- sha: string;
354
- };
355
- };
356
- } | {
357
344
  output: {
358
345
  error: string;
359
346
  code?: "invalid_input" | undefined;
@@ -417,6 +404,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
417
404
  sha: string;
418
405
  };
419
406
  };
407
+ } | {
408
+ output: string;
409
+ outputFormat: "text";
410
+ status: import("hono/utils/http-status").ContentfulStatusCode;
411
+ input: {
412
+ query: {
413
+ structured?: string | undefined;
414
+ };
415
+ } & {
416
+ param: {
417
+ sha: string;
418
+ };
419
+ };
420
420
  };
421
421
  };
422
422
  } & {
@@ -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;
@@ -52,15 +52,11 @@ export declare function createRunnerInstallRoutes(options: {
52
52
  "/runner-install/:runner": {
53
53
  $post: {
54
54
  output: {
55
- supported: boolean;
56
- installedVersion: string | null;
57
- latestVersion: string | null;
58
- updateAvailable: boolean;
59
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
60
- error: string | null;
55
+ error: string;
56
+ code?: "invalid_input" | undefined;
61
57
  };
62
58
  outputFormat: "json";
63
- status: 202;
59
+ status: 400;
64
60
  input: {
65
61
  param: {
66
62
  runner: string;
@@ -72,11 +68,15 @@ export declare function createRunnerInstallRoutes(options: {
72
68
  };
73
69
  } | {
74
70
  output: {
75
- error: string;
76
- code?: "invalid_input" | undefined;
71
+ supported: boolean;
72
+ installedVersion: string | null;
73
+ latestVersion: string | null;
74
+ updateAvailable: boolean;
75
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
76
+ error: string | null;
77
77
  };
78
78
  outputFormat: "json";
79
- status: 400;
79
+ status: 202;
80
80
  input: {
81
81
  param: {
82
82
  runner: string;