@hearsay-tools/squawk 0.19.0-dev.9172 → 0.19.0-dev.9180

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 (150) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/contract/hosts.d.ts +925 -0
  3. package/dist/contract/index.js +104 -2
  4. package/dist/core/server-hook-registry.d.ts +13 -0
  5. package/dist/core/server-hook-registry.js.map +1 -1
  6. package/dist/delegation/routes.d.ts +78 -78
  7. package/dist/features/hosts/admission.d.ts +52 -0
  8. package/dist/features/hosts/admission.js +89 -0
  9. package/dist/features/hosts/admission.js.map +1 -0
  10. package/dist/features/hosts/gateway.d.ts +14 -3
  11. package/dist/features/hosts/gateway.js +35 -21
  12. package/dist/features/hosts/gateway.js.map +1 -1
  13. package/dist/features/hosts/index.d.ts +7 -3
  14. package/dist/features/hosts/index.js +41 -7
  15. package/dist/features/hosts/index.js.map +1 -1
  16. package/dist/features/hosts/registry-reconciler.d.ts +41 -0
  17. package/dist/features/hosts/registry-reconciler.js +168 -0
  18. package/dist/features/hosts/registry-reconciler.js.map +1 -0
  19. package/dist/features/hosts/routes.d.ts +414 -48
  20. package/dist/features/hosts/routes.js +72 -62
  21. package/dist/features/hosts/routes.js.map +1 -1
  22. package/dist/features/hosts/runs-index-events.d.ts +23 -0
  23. package/dist/features/hosts/runs-index-events.js +116 -0
  24. package/dist/features/hosts/runs-index-events.js.map +1 -0
  25. package/dist/features/hosts/runs-index-patch.d.ts +203 -0
  26. package/dist/features/hosts/runs-index-patch.js +798 -0
  27. package/dist/features/hosts/runs-index-patch.js.map +1 -0
  28. package/dist/features/hosts/runs-index.d.ts +149 -0
  29. package/dist/features/hosts/runs-index.js +762 -0
  30. package/dist/features/hosts/runs-index.js.map +1 -0
  31. package/dist/features/hosts/runs-search.d.ts +28 -0
  32. package/dist/features/hosts/runs-search.js +151 -0
  33. package/dist/features/hosts/runs-search.js.map +1 -0
  34. package/dist/features/hosts/supervisor.d.ts +4 -0
  35. package/dist/features/hosts/supervisor.js +14 -6
  36. package/dist/features/hosts/supervisor.js.map +1 -1
  37. package/dist/features/reports/routes.d.ts +2 -2
  38. package/dist/features/webhooks/routes.d.ts +38 -38
  39. package/dist/plugin/index.d.ts +1 -1
  40. package/dist/plugin/index.js.map +1 -1
  41. package/dist/server/activity-routes.d.ts +23 -23
  42. package/dist/server/models-routes.d.ts +12 -12
  43. package/dist/server/project-settings-routes.d.ts +107 -107
  44. package/dist/server/projects-routes.d.ts +41 -41
  45. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  46. package/dist/server/providers-routes.d.ts +58 -58
  47. package/dist/server/runner-install-routes.d.ts +10 -10
  48. package/dist/server/runners-routes.d.ts +10 -10
  49. package/dist/server/runs-routes.d.ts +344 -344
  50. package/dist/server/server.d.ts +1195 -1195
  51. package/dist/server/server.js +7 -1
  52. package/dist/server/server.js.map +1 -1
  53. package/dist/server/workspace-identity-routes.d.ts +5 -5
  54. package/dist/server/workspace-live-routes.d.ts +5 -5
  55. package/dist/server/workspace-routes.d.ts +85 -85
  56. package/dist/server/workspace-run-feed.d.ts +4 -0
  57. package/dist/server/workspace-run-feed.js +13 -0
  58. package/dist/server/workspace-run-feed.js.map +1 -1
  59. package/package.json +4 -4
  60. package/scripts/benchmark-hosts-runs-index-probes.ts +242 -0
  61. package/scripts/benchmark-hosts-runs-index.ts +776 -0
  62. package/web/dist/assets/accounts-section-BDUoikVg.js +1 -0
  63. package/web/dist/assets/activity-motion-CYdEr0hu.js +1 -0
  64. package/web/dist/assets/{activity-route-C2zP5vVV.js → activity-route-D8BPLoZj.js} +1 -1
  65. package/web/dist/assets/{agent-accounts-D_ZKAmaW.js → agent-accounts-C2ILQhZy.js} +1 -1
  66. package/web/dist/assets/{agent-config-section-CwK_izpU.js → agent-config-section-BO8w2cry.js} +2 -2
  67. package/web/dist/assets/agent-defaults-section-BBcv7Vbh.js +1 -0
  68. package/web/dist/assets/{appearance-DvoRcoRX.js → appearance-yF_NXlq5.js} +1 -1
  69. package/web/dist/assets/{archive-on-merge-field-DWPtF9dh.js → archive-on-merge-field-Dh1M21D6.js} +1 -1
  70. package/web/dist/assets/{ask-card-D-om0EtP.js → ask-card-2E9m5VRA.js} +1 -1
  71. package/web/dist/assets/attention-C7BUdd2s.js +1 -0
  72. package/web/dist/assets/automations-route-D27bK2j6.js +2 -0
  73. package/web/dist/assets/{commit-list-CPJLP4DU.js → commit-list-sFxchD2V.js} +1 -1
  74. package/web/dist/assets/{diff-BQJN6jzN.js → diff-C5-32cRp.js} +2 -2
  75. package/web/dist/assets/{diff-controls-AsSX7gfO.js → diff-controls-Ci36iPlK.js} +1 -1
  76. package/web/dist/assets/{diff-view-BW5bbiaq.js → diff-view-CCtuYJNL.js} +1 -1
  77. package/web/dist/assets/{discard-changes-dialog-Bv4yc0N1.js → discard-changes-dialog-BACqR1hj.js} +1 -1
  78. package/web/dist/assets/{file-preview-CnrFxbea.js → file-preview-B7T7jFYo.js} +1 -1
  79. package/web/dist/assets/{folder-browser-CFd1U5hn.js → folder-browser-3cBLlnE9.js} +1 -1
  80. package/web/dist/assets/{git-toolbar-C7iolhIi.js → git-toolbar-UkRnjuDs.js} +1 -1
  81. package/web/dist/assets/github-CkbZgMnJ.js +1 -0
  82. package/web/dist/assets/{global-activity-route-Dijwg4OL.js → global-activity-route-j37l-BQU.js} +1 -1
  83. package/web/dist/assets/hosts-iUyg8S3j.js +1 -0
  84. package/web/dist/assets/index-DkQ5xrLr.js +21 -0
  85. package/web/dist/assets/{label-CgU9vxuM.js → label-CWlxyeC-.js} +1 -1
  86. package/web/dist/assets/{markdown-Cljq4S1h.js → markdown-FIfZPsax.js} +1 -1
  87. package/web/dist/assets/{open-in-menu-BI7mnPPf.js → open-in-menu-Bf8JA2DJ.js} +1 -1
  88. package/web/dist/assets/{option-select-BcTkv-7t.js → option-select-DylfDjGi.js} +1 -1
  89. package/web/dist/assets/{preferences-section-CEKXGhEj.js → preferences-section-DjWfc1i-.js} +1 -1
  90. package/web/dist/assets/{preview-EtD19mg1.js → preview-BSFJfN4s.js} +1 -1
  91. package/web/dist/assets/{preview-pane-connected-CKRBfx7t.js → preview-pane-connected-CfiPFvTH.js} +2 -2
  92. package/web/dist/assets/{project-location-hufc_p8y.js → project-location-CEX0-MZp.js} +1 -1
  93. package/web/dist/assets/{project-router-Dc6KBQsv.js → project-router-CwD1firw.js} +1 -1
  94. package/web/dist/assets/{projects-section-vOFZ4lbx.js → projects-section-Czmf0wFK.js} +1 -1
  95. package/web/dist/assets/{prompt-templates-section-Caash2nq.js → prompt-templates-section-DK4CV73w.js} +1 -1
  96. package/web/dist/assets/queries-D9mg7sFY.js +1 -0
  97. package/web/dist/assets/{read-state-BeVNfGkB.js → read-state-BsTfJki5.js} +1 -1
  98. package/web/dist/assets/{reference-chip-BjerVjzM.js → reference-chip-CZKBU_Ud.js} +1 -1
  99. package/web/dist/assets/{remote-settings-notice-fNgh5LdN.js → remote-settings-notice-Dott-jyP.js} +1 -1
  100. package/web/dist/assets/repo-git-Djt3N2wP.js +1 -0
  101. package/web/dist/assets/{report-reader-CK1WDtEH.js → report-reader-CrdDix7Z.js} +1 -1
  102. package/web/dist/assets/{report-selection-CZ8eb9QP.js → report-selection-Y2F9NTAs.js} +1 -1
  103. package/web/dist/assets/{reports-B-GImLAo.js → reports-Iw4LUvz2.js} +1 -1
  104. package/web/dist/assets/{resources-section-ApF3gXrw.js → resources-section-D3wUzdUQ.js} +1 -1
  105. package/web/dist/assets/{review-notes-drafts-BdjEFs1G.js → review-notes-drafts-xyC7GvRB.js} +1 -1
  106. package/web/dist/assets/{review-panel-D4zmYH8O.js → review-panel-3x_2lbej.js} +1 -1
  107. package/web/dist/assets/{review-strip-BpHXklAn.js → review-strip-CDYpq9_S.js} +1 -1
  108. package/web/dist/assets/{run-detail-refresh-CE0vyYYA.js → run-detail-refresh-SYZM94ch.js} +1 -1
  109. package/web/dist/assets/{run-diff-ClfLRsHF.js → run-diff-D26PXp6r.js} +1 -1
  110. package/web/dist/assets/run-header-DZ0rkryR.js +2 -0
  111. package/web/dist/assets/{select-CwDhRDtw.js → select-DC_G2no3.js} +1 -1
  112. package/web/dist/assets/{session-context-section-C87jx7RB.js → session-context-section-DEUv-ISr.js} +1 -1
  113. package/web/dist/assets/{settings-agent-picker-Dk8yJ57U.js → settings-agent-picker-BrFN2RaQ.js} +1 -1
  114. package/web/dist/assets/{settings-save-bar-cu8BKCGT.js → settings-save-bar-C0pFHqte.js} +1 -1
  115. package/web/dist/assets/{settings-shell-mhQfQKf1.js → settings-shell-BWWbVxv-.js} +1 -1
  116. package/web/dist/assets/{sidebar-section-DOQ5N1L6.js → sidebar-section-BGo1zjJt.js} +1 -1
  117. package/web/dist/assets/{skills-DXJ1gQBD.js → skills-qFMQz6sm.js} +1 -1
  118. package/web/dist/assets/{status-dot-Bmn4xhch.js → status-dot-DTU7afRv.js} +1 -1
  119. package/web/dist/assets/{tab-link-6TltE1jl.js → tab-link-BJDe5cT4.js} +1 -1
  120. package/web/dist/assets/{task-changes-D9Sdmpmw.js → task-changes-DKJHAtKC.js} +2 -2
  121. package/web/dist/assets/{task-commits-A0UIqxpL.js → task-commits-Dtt60D0o.js} +1 -1
  122. package/web/dist/assets/{task-file-scope-ID220XKo.js → task-file-scope-FTt7SiGn.js} +1 -1
  123. package/web/dist/assets/{task-files-Id2tuAAG.js → task-files-DVz4222z.js} +1 -1
  124. package/web/dist/assets/{task-github-item-YKUcwp2o.js → task-github-item-CJpKQ6cU.js} +1 -1
  125. package/web/dist/assets/{task-groups-DCg4iOB9.js → task-groups-BvVfsQKd.js} +1 -1
  126. package/web/dist/assets/{task-thread-A_vkygGX.js → task-thread-DiYtqka4.js} +2 -2
  127. package/web/dist/assets/{thread-state-6-BzRrJ_.js → thread-state-pO7Wy_7R.js} +1 -1
  128. package/web/dist/assets/toaster-2ud_VdfV.js +4 -0
  129. package/web/dist/assets/{use-finish-run-DO-nnAaa.js → use-finish-run-5S30Eu3d.js} +1 -1
  130. package/web/dist/assets/{use-hand-to-agent-state-CADaL8U8.js → use-hand-to-agent-state-BB_VmbF7.js} +1 -1
  131. package/web/dist/assets/use-path-bases-npA-uKvg.js +1 -0
  132. package/web/dist/assets/use-workspace-config-save-DDI7_WtK.js +1 -0
  133. package/web/dist/assets/{workflows-DOLG-Rns.js → workflows-DLuBawpi.js} +2 -2
  134. package/web/dist/assets/{workspace-tools-DTCJVDTE.js → workspace-tools-D4jshe-2.js} +1 -1
  135. package/web/dist/assets/{worktrees-section-BOHDbywt.js → worktrees-section-CESTBOem.js} +5 -5
  136. package/web/dist/index.html +19 -19
  137. package/web/dist/assets/accounts-section-Bnr89jmC.js +0 -1
  138. package/web/dist/assets/activity-motion-BW0tAmYF.js +0 -1
  139. package/web/dist/assets/agent-defaults-section-RyEogH0g.js +0 -1
  140. package/web/dist/assets/attention-BI6592lk.js +0 -1
  141. package/web/dist/assets/automations-route-DfGE4xWT.js +0 -2
  142. package/web/dist/assets/github-DGElvfMU.js +0 -1
  143. package/web/dist/assets/hosts-CpDMDiQW.js +0 -1
  144. package/web/dist/assets/index-DPfg7xSB.js +0 -21
  145. package/web/dist/assets/queries-IlC9MZgh.js +0 -1
  146. package/web/dist/assets/repo-git-5MK_RAR6.js +0 -1
  147. package/web/dist/assets/run-header-BUe92WWr.js +0 -2
  148. package/web/dist/assets/toaster-DNnL8v10.js +0 -4
  149. package/web/dist/assets/use-path-bases-CFAmFn_E.js +0 -1
  150. package/web/dist/assets/use-workspace-config-save-DScW6_8J.js +0 -1
@@ -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">;
@@ -22,6 +22,18 @@ export declare function createModelsRoutes(options: {
22
22
  profileId?: string | undefined;
23
23
  };
24
24
  };
25
+ } | {
26
+ output: {
27
+ error: string;
28
+ };
29
+ outputFormat: "json";
30
+ status: 400;
31
+ input: {
32
+ query: {
33
+ runner: string | string[];
34
+ profileId?: string | undefined;
35
+ };
36
+ };
25
37
  } | {
26
38
  output: {
27
39
  runner: string;
@@ -43,18 +55,6 @@ export declare function createModelsRoutes(options: {
43
55
  profileId?: string | undefined;
44
56
  };
45
57
  };
46
- } | {
47
- output: {
48
- error: string;
49
- };
50
- outputFormat: "json";
51
- status: 400;
52
- input: {
53
- query: {
54
- runner: string | string[];
55
- profileId?: string | undefined;
56
- };
57
- };
58
58
  };
59
59
  };
60
60
  }, "/", "/models">;
@@ -112,10 +112,42 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
112
112
  "/ui-state": {
113
113
  $put: {
114
114
  output: {
115
- error: string;
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;
116
148
  };
117
149
  outputFormat: "json";
118
- status: 500;
150
+ status: import("hono/utils/http-status").ContentfulStatusCode;
119
151
  input: {
120
152
  json: {
121
153
  [x: string]: unknown;
@@ -153,42 +185,10 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
153
185
  };
154
186
  } | {
155
187
  output: {
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;
188
+ error: string;
189
189
  };
190
190
  outputFormat: "json";
191
- status: import("hono/utils/http-status").ContentfulStatusCode;
191
+ status: 500;
192
192
  input: {
193
193
  json: {
194
194
  [x: string]: unknown;
@@ -274,11 +274,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
274
274
  "/workflows": {
275
275
  $post: {
276
276
  output: {
277
- path: string;
278
- name: string;
277
+ error: string;
279
278
  };
280
279
  outputFormat: "json";
281
- status: 201;
280
+ status: 400;
282
281
  input: {
283
282
  json: {
284
283
  name: string;
@@ -311,9 +310,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
311
310
  } | {
312
311
  output: {
313
312
  error: string;
313
+ exists: true;
314
314
  };
315
315
  outputFormat: "json";
316
- status: 400;
316
+ status: 409;
317
317
  input: {
318
318
  json: {
319
319
  name: string;
@@ -346,10 +346,9 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
346
346
  } | {
347
347
  output: {
348
348
  error: string;
349
- exists: true;
350
349
  };
351
350
  outputFormat: "json";
352
- status: 409;
351
+ status: 500;
353
352
  input: {
354
353
  json: {
355
354
  name: string;
@@ -381,10 +380,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
381
380
  };
382
381
  } | {
383
382
  output: {
384
- error: string;
383
+ path: string;
384
+ name: string;
385
385
  };
386
386
  outputFormat: "json";
387
- status: 500;
387
+ status: 201;
388
388
  input: {
389
389
  json: {
390
390
  name: string;
@@ -420,11 +420,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
420
420
  "/workflows/:name": {
421
421
  $delete: {
422
422
  output: {
423
- ok: true;
424
- path: string;
423
+ error: string;
425
424
  };
426
425
  outputFormat: "json";
427
- status: import("hono/utils/http-status").ContentfulStatusCode;
426
+ status: 400 | 404 | 409 | 500;
428
427
  input: {
429
428
  param: {
430
429
  name: string;
@@ -432,10 +431,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
432
431
  };
433
432
  } | {
434
433
  output: {
435
- error: string;
434
+ ok: true;
435
+ path: string;
436
436
  };
437
437
  outputFormat: "json";
438
- status: 400 | 404 | 409 | 500;
438
+ status: import("hono/utils/http-status").ContentfulStatusCode;
439
439
  input: {
440
440
  param: {
441
441
  name: string;
@@ -503,6 +503,18 @@ 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
+ } | {
506
518
  output: {
507
519
  name?: string;
508
520
  steps: {
@@ -539,18 +551,6 @@ export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono
539
551
  agentProfile?: string | undefined;
540
552
  };
541
553
  };
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,10 +598,34 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
598
598
  "/config": {
599
599
  $put: {
600
600
  output: {
601
- error: string;
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;
602
626
  };
603
627
  outputFormat: "json";
604
- status: 409;
628
+ status: import("hono/utils/http-status").ContentfulStatusCode;
605
629
  input: {
606
630
  json: {
607
631
  archiveOnMerge?: boolean | null | undefined;
@@ -629,7 +653,7 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
629
653
  error: string;
630
654
  };
631
655
  outputFormat: "json";
632
- status: 500;
656
+ status: 409;
633
657
  input: {
634
658
  json: {
635
659
  archiveOnMerge?: boolean | null | undefined;
@@ -654,34 +678,10 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
654
678
  };
655
679
  } | {
656
680
  output: {
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;
681
+ error: string;
682
682
  };
683
683
  outputFormat: "json";
684
- status: import("hono/utils/http-status").ContentfulStatusCode;
684
+ status: 500;
685
685
  input: {
686
686
  json: {
687
687
  archiveOnMerge?: boolean | null | undefined;
@@ -795,10 +795,14 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
795
795
  "/agent-config/:id": {
796
796
  $put: {
797
797
  output: {
798
- error: string;
798
+ id: string;
799
+ path: string;
800
+ exists: boolean;
801
+ content: string;
802
+ version: string | null;
799
803
  };
800
804
  outputFormat: "json";
801
- status: 404;
805
+ status: import("hono/utils/http-status").ContentfulStatusCode;
802
806
  input: {
803
807
  json: {
804
808
  content: string;
@@ -811,14 +815,10 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
811
815
  };
812
816
  } | {
813
817
  output: {
814
- id: string;
815
- path: string;
816
- exists: boolean;
817
- content: string;
818
- version: string | null;
818
+ error: string;
819
819
  };
820
820
  outputFormat: "json";
821
- status: import("hono/utils/http-status").ContentfulStatusCode;
821
+ status: 404;
822
822
  input: {
823
823
  json: {
824
824
  content: string;
@@ -851,12 +851,9 @@ 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
- error: string;
856
- code?: "invalid_input" | undefined;
857
- };
858
- outputFormat: "json";
859
- status: 400;
854
+ output: {};
855
+ outputFormat: string;
856
+ status: import("hono/utils/http-status").StatusCode;
860
857
  input: {
861
858
  param: {
862
859
  id: string;
@@ -868,9 +865,12 @@ export declare function createSseRoutes(): import("hono/hono-base").HonoBase<Pro
868
865
  };
869
866
  };
870
867
  } | {
871
- output: {};
872
- outputFormat: string;
873
- status: import("hono/utils/http-status").StatusCode;
868
+ output: {
869
+ error: string;
870
+ code?: "invalid_input" | undefined;
871
+ };
872
+ outputFormat: "json";
873
+ status: 400;
874
874
  input: {
875
875
  param: {
876
876
  id: string;
@@ -62,17 +62,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
62
62
  } & {
63
63
  "/projects": {
64
64
  $post: {
65
- output: {
66
- error: string;
67
- };
68
- outputFormat: "json";
69
- status: 400 | 500;
70
- input: {
71
- json: {
72
- root: string;
73
- };
74
- };
75
- } | {
76
65
  output: {
77
66
  project: {
78
67
  id: string;
@@ -103,10 +92,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
103
92
  agent: boolean;
104
93
  }[] | undefined;
105
94
  };
106
- error: string;
95
+ error?: string | undefined;
107
96
  };
108
97
  outputFormat: "json";
109
- status: 409;
98
+ status: 200;
110
99
  input: {
111
100
  json: {
112
101
  root: string;
@@ -143,32 +132,31 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
143
132
  agent: boolean;
144
133
  }[] | undefined;
145
134
  };
146
- error?: string | undefined;
135
+ error: string;
147
136
  };
148
137
  outputFormat: "json";
149
- status: 200;
138
+ status: 409;
150
139
  input: {
151
140
  json: {
152
141
  root: string;
153
142
  };
154
143
  };
155
- };
156
- };
157
- } & {
158
- "/projects/:projectId": {
159
- $delete: {
144
+ } | {
160
145
  output: {
161
146
  error: string;
162
- code?: "no-boot-project" | undefined;
163
147
  };
164
148
  outputFormat: "json";
165
- status: 404 | 409;
149
+ status: 400 | 500;
166
150
  input: {
167
- param: {
168
- projectId: string;
151
+ json: {
152
+ root: string;
169
153
  };
170
154
  };
171
- } | {
155
+ };
156
+ };
157
+ } & {
158
+ "/projects/:projectId": {
159
+ $delete: {
172
160
  output: {
173
161
  error: string;
174
162
  };
@@ -213,11 +201,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
213
201
  projectId: string;
214
202
  };
215
203
  };
216
- };
217
- };
218
- } & {
219
- "/projects/:projectId": {
220
- $patch: {
204
+ } | {
221
205
  output: {
222
206
  error: string;
223
207
  code?: "no-boot-project" | undefined;
@@ -225,21 +209,15 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
225
209
  outputFormat: "json";
226
210
  status: 404 | 409;
227
211
  input: {
228
- json: {
229
- maxParallel?: number | null | undefined;
230
- tags?: string[] | null | undefined;
231
- webhook?: {
232
- url: string;
233
- token?: string | undefined;
234
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
235
- } | null | undefined;
236
- };
237
- } & {
238
212
  param: {
239
213
  projectId: string;
240
214
  };
241
215
  };
242
- } | {
216
+ };
217
+ };
218
+ } & {
219
+ "/projects/:projectId": {
220
+ $patch: {
243
221
  output: {
244
222
  error: string;
245
223
  };
@@ -330,6 +308,28 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
330
308
  projectId: string;
331
309
  };
332
310
  };
311
+ } | {
312
+ output: {
313
+ error: string;
314
+ code?: "no-boot-project" | undefined;
315
+ };
316
+ outputFormat: "json";
317
+ status: 404 | 409;
318
+ input: {
319
+ json: {
320
+ maxParallel?: number | null | undefined;
321
+ tags?: string[] | null | undefined;
322
+ webhook?: {
323
+ url: string;
324
+ token?: string | undefined;
325
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
326
+ } | null | undefined;
327
+ };
328
+ } & {
329
+ param: {
330
+ projectId: string;
331
+ };
332
+ };
333
333
  };
334
334
  };
335
335
  } & {
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
18
18
  error: string;
19
19
  };
20
20
  outputFormat: "json";
21
- status: 400;
21
+ status: 409;
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: 409;
33
+ status: 400;
34
34
  input: {
35
35
  json: {
36
36
  provider: string;