@hearsay-tools/squawk 0.19.0-dev.9229.2 → 0.19.0-dev.9239

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 (144) hide show
  1. package/dist/activity/read-model.js +5 -2
  2. package/dist/activity/read-model.js.map +1 -1
  3. package/dist/ci-wait/controller.d.ts +7 -7
  4. package/dist/contract/index.d.ts +1 -0
  5. package/dist/contract/index.js +2250 -1940
  6. package/dist/contract/runs.d.ts +117 -0
  7. package/dist/contract/task-result.d.ts +1075 -0
  8. package/dist/delegation/readiness.d.ts +8 -5
  9. package/dist/delegation/readiness.js +23 -9
  10. package/dist/delegation/readiness.js.map +1 -1
  11. package/dist/delegation/routes.d.ts +4 -4
  12. package/dist/delegation/service.js +4 -2
  13. package/dist/delegation/service.js.map +1 -1
  14. package/dist/delegation/worker-cleanup.js +1 -1
  15. package/dist/delegation/worker-cleanup.js.map +1 -1
  16. package/dist/features/automations/automations-routes.d.ts +150 -150
  17. package/dist/features/reports/routes.d.ts +2 -2
  18. package/dist/project-migration/journal.d.ts +2 -0
  19. package/dist/project-migration/journal.js +1 -1
  20. package/dist/project-migration/journal.js.map +1 -1
  21. package/dist/project-migration/plan.js +2 -0
  22. package/dist/project-migration/plan.js.map +1 -1
  23. package/dist/runs/legacy-run-rows.d.ts +1 -1
  24. package/dist/runs/legacy-run-rows.js +7 -3
  25. package/dist/runs/legacy-run-rows.js.map +1 -1
  26. package/dist/runs/ports.d.ts +16 -1
  27. package/dist/runs/project-run-connection.d.ts +3 -0
  28. package/dist/runs/project-run-connection.js +57 -10
  29. package/dist/runs/project-run-connection.js.map +1 -1
  30. package/dist/runs/project-run-sources.d.ts +6 -0
  31. package/dist/runs/project-run-sources.js +20 -0
  32. package/dist/runs/project-run-sources.js.map +1 -1
  33. package/dist/runs/run-archive.d.ts +19 -0
  34. package/dist/runs/run-decode.d.ts +58 -0
  35. package/dist/runs/run-decode.js +10 -0
  36. package/dist/runs/run-decode.js.map +1 -1
  37. package/dist/runs/run-exits.d.ts +114 -0
  38. package/dist/runs/run-retention.d.ts +2 -0
  39. package/dist/runs/run-retention.js +11 -2
  40. package/dist/runs/run-retention.js.map +1 -1
  41. package/dist/runs/store.d.ts +3 -0
  42. package/dist/runs/store.js +11 -5
  43. package/dist/runs/store.js.map +1 -1
  44. package/dist/runs/task-result-commit.d.ts +24 -0
  45. package/dist/runs/task-result-commit.js +114 -0
  46. package/dist/runs/task-result-commit.js.map +1 -0
  47. package/dist/runs/task-results.d.ts +61 -0
  48. package/dist/runs/task-results.js +220 -0
  49. package/dist/runs/task-results.js.map +1 -0
  50. package/dist/runs/worker-result-commit.d.ts +12 -12
  51. package/dist/runs/worker-result-commit.js +77 -55
  52. package/dist/runs/worker-result-commit.js.map +1 -1
  53. package/dist/runs/worker-results.d.ts +10 -26
  54. package/dist/runs/worker-results.js +11 -73
  55. package/dist/runs/worker-results.js.map +1 -1
  56. package/dist/server/activity-routes.d.ts +23 -23
  57. package/dist/server/project-settings-routes.d.ts +107 -107
  58. package/dist/server/projects-routes.d.ts +41 -41
  59. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  60. package/dist/server/runner-install-routes.d.ts +10 -10
  61. package/dist/server/runs-routes.d.ts +497 -326
  62. package/dist/server/server.d.ts +2999 -2657
  63. package/dist/server/workspace-identity-routes.d.ts +5 -5
  64. package/dist/workflows/continuation-admission.d.ts +91 -72
  65. package/dist/workflows/input-acknowledgement.d.ts +24 -24
  66. package/dist/workflows/run/completion-gate.js +10 -4
  67. package/dist/workflows/run/completion-gate.js.map +1 -1
  68. package/dist/workflows/run/wait-engine.d.ts +91 -72
  69. package/package.json +4 -4
  70. package/web/dist/assets/{accounts-section-lnMwvHTo.js → accounts-section-BOZ9JyE6.js} +1 -1
  71. package/web/dist/assets/{activity-motion-DBxIOskd.js → activity-motion-D48R7Vry.js} +1 -1
  72. package/web/dist/assets/{activity-route-BYf5OD8Y.js → activity-route-jcGRtnMT.js} +1 -1
  73. package/web/dist/assets/{agent-accounts-BzD14qLU.js → agent-accounts-CUthX0Yh.js} +1 -1
  74. package/web/dist/assets/{agent-config-section-BwmBjoad.js → agent-config-section-BvwoyNZb.js} +1 -1
  75. package/web/dist/assets/{agent-defaults-section-BbFvw0IO.js → agent-defaults-section-Hb-jy4TN.js} +1 -1
  76. package/web/dist/assets/{appearance-CkohbKAs.js → appearance-EXKzoghV.js} +1 -1
  77. package/web/dist/assets/{archive-on-merge-field-CQ8DBqiG.js → archive-on-merge-field-Ni7bKGkG.js} +1 -1
  78. package/web/dist/assets/{ask-card-Bli7vYif.js → ask-card-CkE44gm3.js} +1 -1
  79. package/web/dist/assets/{automations-route-BNYFQeuu.js → automations-route-3bhtdTy3.js} +1 -1
  80. package/web/dist/assets/{commit-list-CJZtpbaw.js → commit-list-DSw7qvVY.js} +1 -1
  81. package/web/dist/assets/{diff-DPSOaO5_.js → diff-BidPzsVK.js} +2 -2
  82. package/web/dist/assets/{diff-controls-rfNgY_Dd.js → diff-controls-DeMSGYln.js} +1 -1
  83. package/web/dist/assets/{diff-view-CswchTTd.js → diff-view-BqU4sJld.js} +1 -1
  84. package/web/dist/assets/{discard-changes-dialog-BMT0YtWx.js → discard-changes-dialog-B1AO0GSt.js} +1 -1
  85. package/web/dist/assets/{file-preview-DoaMlVS3.js → file-preview-BIZXTzkp.js} +1 -1
  86. package/web/dist/assets/{folder-browser-D_q7aPq-.js → folder-browser-C9Phl0rS.js} +1 -1
  87. package/web/dist/assets/{git-toolbar-BCqNvkr5.js → git-toolbar-BBon1yHh.js} +1 -1
  88. package/web/dist/assets/{github-Bv1h-3dP.js → github-QOB5Qi4v.js} +1 -1
  89. package/web/dist/assets/{global-activity-route-CrAG-ji7.js → global-activity-route-lSnYAZE9.js} +1 -1
  90. package/web/dist/assets/{hosts-pzCm30ta.js → hosts-DDwDUxT9.js} +1 -1
  91. package/web/dist/assets/{index-D9hyWO4C.js → index-BuR9xHfb.js} +5 -5
  92. package/web/dist/assets/{label-DEZnEIpB.js → label-D6vgq5lF.js} +1 -1
  93. package/web/dist/assets/{markdown-BRE9fTUI.js → markdown-A6dvDky9.js} +1 -1
  94. package/web/dist/assets/{open-in-menu-DomSOC26.js → open-in-menu-Bb_jc7pm.js} +1 -1
  95. package/web/dist/assets/{option-select-Cqnmt-CB.js → option-select-CCpypHbW.js} +1 -1
  96. package/web/dist/assets/{preferences-section-CC4m45tb.js → preferences-section-B75Zx0mY.js} +1 -1
  97. package/web/dist/assets/{preview-DFL4D2C_.js → preview-DiBpgf-5.js} +1 -1
  98. package/web/dist/assets/{preview-pane-connected-CvF3zJ9A.js → preview-pane-connected-BVu2oO0V.js} +1 -1
  99. package/web/dist/assets/{project-location-D6-Lo1vY.js → project-location-D1etWKHg.js} +1 -1
  100. package/web/dist/assets/{project-router-CARDbdMX.js → project-router-yoWCTDaT.js} +1 -1
  101. package/web/dist/assets/project-scope-context-hfRzPMZ4.js +4 -0
  102. package/web/dist/assets/{projects-section-zeGtqnI3.js → projects-section-BRnIJ47e.js} +1 -1
  103. package/web/dist/assets/{prompt-templates-section--ygct2zC.js → prompt-templates-section-D7JLM5BM.js} +1 -1
  104. package/web/dist/assets/{queries-D7W-eGim.js → queries-ChH9ctc-.js} +1 -1
  105. package/web/dist/assets/{reference-chip-D8ckcrda.js → reference-chip-BPRZm7Kb.js} +1 -1
  106. package/web/dist/assets/{remote-settings-notice-MxDxNXXw.js → remote-settings-notice-Ip6H5hLU.js} +1 -1
  107. package/web/dist/assets/{repo-git-VfTEbVO3.js → repo-git-Wf30akEt.js} +1 -1
  108. package/web/dist/assets/{report-reader-DLCLUfdH.js → report-reader-DhcZcNql.js} +1 -1
  109. package/web/dist/assets/{report-selection-BcsbTczw.js → report-selection-CwPw7vbG.js} +1 -1
  110. package/web/dist/assets/{reports-QoDlngjL.js → reports-DPKDwzxY.js} +1 -1
  111. package/web/dist/assets/{resources-section-CBL0htm5.js → resources-section-DaWcyqur.js} +1 -1
  112. package/web/dist/assets/{review-notes-drafts-DJDQNemf.js → review-notes-drafts-D7QuBuTL.js} +1 -1
  113. package/web/dist/assets/{review-panel-BY05CuXd.js → review-panel-Bpxl4TvO.js} +1 -1
  114. package/web/dist/assets/{review-strip-BWhQ5CIC.js → review-strip-Da5n1k8s.js} +1 -1
  115. package/web/dist/assets/{run-detail-refresh-CecZhU-h.js → run-detail-refresh-CVSK_VKG.js} +1 -1
  116. package/web/dist/assets/{run-diff-CpwwrpXO.js → run-diff-CPuNFD3X.js} +1 -1
  117. package/web/dist/assets/{run-header-CZU3e9Xk.js → run-header-B8EAOHFc.js} +1 -1
  118. package/web/dist/assets/{select-C72KGfnK.js → select-xjUzLrk9.js} +1 -1
  119. package/web/dist/assets/{session-context-section-D8v30mSp.js → session-context-section-C7OTexKU.js} +1 -1
  120. package/web/dist/assets/{settings-agent-picker-DGhJwDIY.js → settings-agent-picker-mESK-hj4.js} +1 -1
  121. package/web/dist/assets/{settings-save-bar-Dp-eEIEF.js → settings-save-bar-BUaa1kHw.js} +1 -1
  122. package/web/dist/assets/{settings-shell-DZzgCmSz.js → settings-shell-BKSsBxqQ.js} +1 -1
  123. package/web/dist/assets/{sidebar-section-B94mdYUS.js → sidebar-section-BFBZlQ-x.js} +1 -1
  124. package/web/dist/assets/{skills-B6jO_f1w.js → skills-BSqszv5g.js} +1 -1
  125. package/web/dist/assets/{status-dot-B5MkhHDP.js → status-dot-Fp5SnPHI.js} +1 -1
  126. package/web/dist/assets/{tab-link-zXPa9LIz.js → tab-link-j06AaWSU.js} +1 -1
  127. package/web/dist/assets/{task-changes-B_2BDWIf.js → task-changes-B4KFHxVa.js} +1 -1
  128. package/web/dist/assets/{task-commits-kxDG4T81.js → task-commits-D-UAUoZ5.js} +1 -1
  129. package/web/dist/assets/{task-file-scope-DVACyrij.js → task-file-scope-BhWG35a8.js} +1 -1
  130. package/web/dist/assets/{task-files-4CxXkPOx.js → task-files-BOCx_Lp0.js} +1 -1
  131. package/web/dist/assets/{task-github-item-C8hMZej3.js → task-github-item-CZqaaxNv.js} +1 -1
  132. package/web/dist/assets/{task-thread-Bv_Fjceh.js → task-thread-D3d419VX.js} +1 -1
  133. package/web/dist/assets/{thread-state-CufNf_fC.js → thread-state-B0pz2Y8K.js} +1 -1
  134. package/web/dist/assets/{use-finish-run-CjYc6ovQ.js → use-finish-run-TX3pIPCS.js} +1 -1
  135. package/web/dist/assets/{use-hand-to-agent-state-B_j_e1kD.js → use-hand-to-agent-state-D2oChRzw.js} +1 -1
  136. package/web/dist/assets/use-path-bases-DFxEHoyU.js +1 -0
  137. package/web/dist/assets/use-workspace-config-save-DR8brU5p.js +1 -0
  138. package/web/dist/assets/{workflows-iMfDerlK.js → workflows-BwzNhxT0.js} +1 -1
  139. package/web/dist/assets/{workspace-tools-CgYFRggf.js → workspace-tools-Be_j9oke.js} +1 -1
  140. package/web/dist/assets/{worktrees-section-CtT9bwKK.js → worktrees-section-cnibWU5-.js} +1 -1
  141. package/web/dist/index.html +14 -14
  142. package/web/dist/assets/project-scope-context-Bz7AAyJ4.js +0 -4
  143. package/web/dist/assets/use-path-bases-BfjK7tem.js +0 -1
  144. package/web/dist/assets/use-workspace-config-save-toCmvqtz.js +0 -1
@@ -112,42 +112,10 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
112
112
  "/ui-state": {
113
113
  $put: {
114
114
  output: {
115
- [x: string]: import("hono/utils/types").JSONValue;
116
- sidebarLimits?: {
117
- overall?: number | null | undefined;
118
- needsYou?: number | null | undefined;
119
- finished?: number | null | undefined;
120
- working?: number | null | undefined;
121
- } | undefined;
122
- lastTask?: {
123
- source: "skill" | "workflow";
124
- ref: string;
125
- } | null | undefined;
126
- recentSources?: {
127
- source: "skill" | "workflow";
128
- ref: string;
129
- }[] | undefined;
130
- lastWorktree?: boolean | undefined;
131
- lastAutonomous?: boolean | undefined;
132
- skillUsage?: {
133
- [x: string]: number;
134
- } | undefined;
135
- runsView?: "list" | "table" | undefined;
136
- githubView?: "issues" | "prs" | undefined;
137
- appearance?: {
138
- accent?: "cezarion" | "lime" | "violet" | undefined;
139
- density?: "comfortable" | "compact" | "ultra" | undefined;
140
- width?: "narrow" | "wide" | undefined;
141
- } | undefined;
142
- promptTemplates?: {
143
- id: string;
144
- label: string;
145
- text: string;
146
- skills?: string[] | undefined;
147
- }[] | undefined;
115
+ error: string;
148
116
  };
149
117
  outputFormat: "json";
150
- status: import("hono/utils/http-status").ContentfulStatusCode;
118
+ status: 500;
151
119
  input: {
152
120
  json: {
153
121
  [x: string]: unknown;
@@ -185,10 +153,42 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
185
153
  };
186
154
  } | {
187
155
  output: {
188
- error: string;
156
+ [x: string]: import("hono/utils/types").JSONValue;
157
+ sidebarLimits?: {
158
+ overall?: number | null | undefined;
159
+ needsYou?: number | null | undefined;
160
+ finished?: number | null | undefined;
161
+ working?: number | null | undefined;
162
+ } | undefined;
163
+ lastTask?: {
164
+ source: "skill" | "workflow";
165
+ ref: string;
166
+ } | null | undefined;
167
+ recentSources?: {
168
+ source: "skill" | "workflow";
169
+ ref: string;
170
+ }[] | undefined;
171
+ lastWorktree?: boolean | undefined;
172
+ lastAutonomous?: boolean | undefined;
173
+ skillUsage?: {
174
+ [x: string]: number;
175
+ } | undefined;
176
+ runsView?: "list" | "table" | undefined;
177
+ githubView?: "issues" | "prs" | undefined;
178
+ appearance?: {
179
+ accent?: "cezarion" | "lime" | "violet" | undefined;
180
+ density?: "comfortable" | "compact" | "ultra" | undefined;
181
+ width?: "narrow" | "wide" | undefined;
182
+ } | undefined;
183
+ promptTemplates?: {
184
+ id: string;
185
+ label: string;
186
+ text: string;
187
+ skills?: string[] | undefined;
188
+ }[] | undefined;
189
189
  };
190
190
  outputFormat: "json";
191
- status: 500;
191
+ status: import("hono/utils/http-status").ContentfulStatusCode;
192
192
  input: {
193
193
  json: {
194
194
  [x: string]: unknown;
@@ -274,10 +274,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
274
274
  "/workflows": {
275
275
  $post: {
276
276
  output: {
277
- error: string;
277
+ path: string;
278
+ name: string;
278
279
  };
279
280
  outputFormat: "json";
280
- status: 400;
281
+ status: 201;
281
282
  input: {
282
283
  json: {
283
284
  name: string;
@@ -310,10 +311,9 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
310
311
  } | {
311
312
  output: {
312
313
  error: string;
313
- exists: true;
314
314
  };
315
315
  outputFormat: "json";
316
- status: 409;
316
+ status: 400;
317
317
  input: {
318
318
  json: {
319
319
  name: string;
@@ -346,9 +346,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
346
346
  } | {
347
347
  output: {
348
348
  error: string;
349
+ exists: true;
349
350
  };
350
351
  outputFormat: "json";
351
- status: 500;
352
+ status: 409;
352
353
  input: {
353
354
  json: {
354
355
  name: string;
@@ -380,11 +381,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
380
381
  };
381
382
  } | {
382
383
  output: {
383
- path: string;
384
- name: string;
384
+ error: string;
385
385
  };
386
386
  outputFormat: "json";
387
- status: 201;
387
+ status: 500;
388
388
  input: {
389
389
  json: {
390
390
  name: string;
@@ -420,10 +420,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
420
420
  "/workflows/:name": {
421
421
  $delete: {
422
422
  output: {
423
- error: string;
423
+ ok: true;
424
+ path: string;
424
425
  };
425
426
  outputFormat: "json";
426
- status: 400 | 404 | 409 | 500;
427
+ status: import("hono/utils/http-status").ContentfulStatusCode;
427
428
  input: {
428
429
  param: {
429
430
  name: string;
@@ -431,11 +432,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
431
432
  };
432
433
  } | {
433
434
  output: {
434
- ok: true;
435
- path: string;
435
+ error: string;
436
436
  };
437
437
  outputFormat: "json";
438
- status: import("hono/utils/http-status").ContentfulStatusCode;
438
+ status: 400 | 404 | 409 | 500;
439
439
  input: {
440
440
  param: {
441
441
  name: string;
@@ -503,18 +503,6 @@ export interface PlanRouteDeps {
503
503
  export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
504
504
  "/plan": {
505
505
  $post: {
506
- output: {
507
- error: string;
508
- };
509
- outputFormat: "json";
510
- status: 400 | 404 | 409;
511
- input: {
512
- json: {
513
- task: string;
514
- agentProfile?: string | undefined;
515
- };
516
- };
517
- } | {
518
506
  output: {
519
507
  name?: string;
520
508
  steps: {
@@ -551,6 +539,18 @@ export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono
551
539
  agentProfile?: string | undefined;
552
540
  };
553
541
  };
542
+ } | {
543
+ output: {
544
+ error: string;
545
+ };
546
+ outputFormat: "json";
547
+ status: 400 | 404 | 409;
548
+ input: {
549
+ json: {
550
+ task: string;
551
+ agentProfile?: string | undefined;
552
+ };
553
+ };
554
554
  };
555
555
  };
556
556
  }, "/", "/plan">;
@@ -598,34 +598,10 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
598
598
  "/config": {
599
599
  $put: {
600
600
  output: {
601
- archiveOnMerge: boolean | null;
602
- effectiveArchiveOnMerge: boolean;
603
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
604
- baseBranch: string | null;
605
- defaultRunner: string;
606
- systemPrompt: string | null;
607
- defaultModels: {
608
- [x: string]: string | undefined;
609
- };
610
- modelsLocked: boolean;
611
- maxParallel: number;
612
- memoryLimitMb: number | null;
613
- worktreeRetention: number;
614
- liveTitleUpdates: boolean | null;
615
- reviewGate: boolean | null;
616
- worktreeSetup: {
617
- commands: string[];
618
- timeoutSeconds: number;
619
- } | null;
620
- worktreeSetupIssue: string | null;
621
- worktreeTeardown: {
622
- commands: string[];
623
- timeoutSeconds: number;
624
- } | null;
625
- worktreeTeardownIssue: string | null;
601
+ error: string;
626
602
  };
627
603
  outputFormat: "json";
628
- status: import("hono/utils/http-status").ContentfulStatusCode;
604
+ status: 409;
629
605
  input: {
630
606
  json: {
631
607
  archiveOnMerge?: boolean | null | undefined;
@@ -653,7 +629,7 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
653
629
  error: string;
654
630
  };
655
631
  outputFormat: "json";
656
- status: 409;
632
+ status: 500;
657
633
  input: {
658
634
  json: {
659
635
  archiveOnMerge?: boolean | null | undefined;
@@ -678,10 +654,34 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
678
654
  };
679
655
  } | {
680
656
  output: {
681
- error: string;
657
+ archiveOnMerge: boolean | null;
658
+ effectiveArchiveOnMerge: boolean;
659
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
660
+ baseBranch: string | null;
661
+ defaultRunner: string;
662
+ systemPrompt: string | null;
663
+ defaultModels: {
664
+ [x: string]: string | undefined;
665
+ };
666
+ modelsLocked: boolean;
667
+ maxParallel: number;
668
+ memoryLimitMb: number | null;
669
+ worktreeRetention: number;
670
+ liveTitleUpdates: boolean | null;
671
+ reviewGate: boolean | null;
672
+ worktreeSetup: {
673
+ commands: string[];
674
+ timeoutSeconds: number;
675
+ } | null;
676
+ worktreeSetupIssue: string | null;
677
+ worktreeTeardown: {
678
+ commands: string[];
679
+ timeoutSeconds: number;
680
+ } | null;
681
+ worktreeTeardownIssue: string | null;
682
682
  };
683
683
  outputFormat: "json";
684
- status: 500;
684
+ status: import("hono/utils/http-status").ContentfulStatusCode;
685
685
  input: {
686
686
  json: {
687
687
  archiveOnMerge?: boolean | null | undefined;
@@ -795,14 +795,10 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
795
795
  "/agent-config/:id": {
796
796
  $put: {
797
797
  output: {
798
- id: string;
799
- path: string;
800
- exists: boolean;
801
- content: string;
802
- version: string | null;
798
+ error: string;
803
799
  };
804
800
  outputFormat: "json";
805
- status: import("hono/utils/http-status").ContentfulStatusCode;
801
+ status: 404;
806
802
  input: {
807
803
  json: {
808
804
  content: string;
@@ -815,10 +811,14 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
815
811
  };
816
812
  } | {
817
813
  output: {
818
- error: string;
814
+ id: string;
815
+ path: string;
816
+ exists: boolean;
817
+ content: string;
818
+ version: string | null;
819
819
  };
820
820
  outputFormat: "json";
821
- status: 404;
821
+ status: import("hono/utils/http-status").ContentfulStatusCode;
822
822
  input: {
823
823
  json: {
824
824
  content: string;
@@ -851,9 +851,12 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
851
851
  export declare function createSseRoutes(): import("hono/hono-base").HonoBase<ProjectApiEnv, {
852
852
  "/runs/:id/events": {
853
853
  $get: {
854
- output: {};
855
- outputFormat: string;
856
- status: import("hono/utils/http-status").StatusCode;
854
+ output: {
855
+ error: string;
856
+ code?: "invalid_input" | undefined;
857
+ };
858
+ outputFormat: "json";
859
+ status: 400;
857
860
  input: {
858
861
  param: {
859
862
  id: string;
@@ -865,12 +868,9 @@ export declare function createSseRoutes(): import("hono/hono-base").HonoBase<Pro
865
868
  };
866
869
  };
867
870
  } | {
868
- output: {
869
- error: string;
870
- code?: "invalid_input" | undefined;
871
- };
872
- outputFormat: "json";
873
- status: 400;
871
+ output: {};
872
+ outputFormat: string;
873
+ status: import("hono/utils/http-status").StatusCode;
874
874
  input: {
875
875
  param: {
876
876
  id: 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;
@@ -105,10 +94,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
105
94
  agent: boolean;
106
95
  }[] | undefined;
107
96
  };
108
- error: string;
97
+ error?: string | undefined;
109
98
  };
110
99
  outputFormat: "json";
111
- status: 409;
100
+ status: 200;
112
101
  input: {
113
102
  json: {
114
103
  root: string;
@@ -146,32 +135,31 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
146
135
  agent: boolean;
147
136
  }[] | undefined;
148
137
  };
149
- error?: string | undefined;
138
+ error: string;
150
139
  };
151
140
  outputFormat: "json";
152
- status: 200;
141
+ status: 409;
153
142
  input: {
154
143
  json: {
155
144
  root: string;
156
145
  };
157
146
  };
158
- };
159
- };
160
- } & {
161
- "/projects/:projectId": {
162
- $delete: {
147
+ } | {
163
148
  output: {
164
149
  error: string;
165
- code?: "no-boot-project" | undefined;
166
150
  };
167
151
  outputFormat: "json";
168
- status: 404 | 409;
152
+ status: 400 | 500;
169
153
  input: {
170
- param: {
171
- projectId: string;
154
+ json: {
155
+ root: string;
172
156
  };
173
157
  };
174
- } | {
158
+ };
159
+ };
160
+ } & {
161
+ "/projects/:projectId": {
162
+ $delete: {
175
163
  output: {
176
164
  error: string;
177
165
  };
@@ -216,11 +204,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
216
204
  projectId: string;
217
205
  };
218
206
  };
219
- };
220
- };
221
- } & {
222
- "/projects/:projectId": {
223
- $patch: {
207
+ } | {
224
208
  output: {
225
209
  error: string;
226
210
  code?: "no-boot-project" | undefined;
@@ -228,21 +212,15 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
228
212
  outputFormat: "json";
229
213
  status: 404 | 409;
230
214
  input: {
231
- json: {
232
- maxParallel?: number | null | undefined;
233
- tags?: string[] | null | undefined;
234
- webhook?: {
235
- url: string;
236
- token?: string | undefined;
237
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
238
- } | null | undefined;
239
- };
240
- } & {
241
215
  param: {
242
216
  projectId: string;
243
217
  };
244
218
  };
245
- } | {
219
+ };
220
+ };
221
+ } & {
222
+ "/projects/:projectId": {
223
+ $patch: {
246
224
  output: {
247
225
  error: string;
248
226
  };
@@ -334,6 +312,28 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
334
312
  projectId: string;
335
313
  };
336
314
  };
315
+ } | {
316
+ output: {
317
+ error: string;
318
+ code?: "no-boot-project" | undefined;
319
+ };
320
+ outputFormat: "json";
321
+ status: 404 | 409;
322
+ input: {
323
+ json: {
324
+ maxParallel?: number | null | undefined;
325
+ tags?: string[] | null | undefined;
326
+ webhook?: {
327
+ url: string;
328
+ token?: string | undefined;
329
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
330
+ } | null | undefined;
331
+ };
332
+ } & {
333
+ param: {
334
+ projectId: string;
335
+ };
336
+ };
337
337
  };
338
338
  };
339
339
  } & {
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
18
18
  error: string;
19
19
  };
20
20
  outputFormat: "json";
21
- status: 409;
21
+ status: 400;
22
22
  input: {
23
23
  json: {
24
24
  provider: string;
@@ -30,7 +30,7 @@ export declare function createProviderSignInRoutes(options: {
30
30
  error: string;
31
31
  };
32
32
  outputFormat: "json";
33
- status: 400;
33
+ status: 409;
34
34
  input: {
35
35
  json: {
36
36
  provider: string;
@@ -52,11 +52,15 @@ export declare function createRunnerInstallRoutes(options: {
52
52
  "/runner-install/:runner": {
53
53
  $post: {
54
54
  output: {
55
- error: string;
56
- code?: "invalid_input" | undefined;
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;
57
61
  };
58
62
  outputFormat: "json";
59
- status: 400;
63
+ status: 202;
60
64
  input: {
61
65
  param: {
62
66
  runner: string;
@@ -68,15 +72,11 @@ export declare function createRunnerInstallRoutes(options: {
68
72
  };
69
73
  } | {
70
74
  output: {
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;
75
+ error: string;
76
+ code?: "invalid_input" | undefined;
77
77
  };
78
78
  outputFormat: "json";
79
- status: 202;
79
+ status: 400;
80
80
  input: {
81
81
  param: {
82
82
  runner: string;