@hearsay-tools/squawk 0.19.0-dev.9088 → 0.19.0-dev.9100

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 (138) hide show
  1. package/dist/built-in-cli-commands.js +0 -4
  2. package/dist/built-in-cli-commands.js.map +1 -1
  3. package/dist/built-in-launch-parts.d.ts +0 -4
  4. package/dist/built-in-launch-parts.js +1 -17
  5. package/dist/built-in-launch-parts.js.map +1 -1
  6. package/dist/ci-wait/controller.d.ts +7 -7
  7. package/dist/core/server-hook-registry.d.ts +17 -2
  8. package/dist/core/server-hook-registry.js +1 -0
  9. package/dist/core/server-hook-registry.js.map +1 -1
  10. package/dist/features/webhooks/capability.d.ts +3 -0
  11. package/dist/features/webhooks/capability.js +6 -0
  12. package/dist/features/webhooks/capability.js.map +1 -0
  13. package/dist/features/webhooks/cli-command.d.ts +3 -0
  14. package/dist/features/webhooks/cli-command.js +10 -0
  15. package/dist/features/webhooks/cli-command.js.map +1 -0
  16. package/dist/{webhooks → features/webhooks}/cli.d.ts +2 -2
  17. package/dist/{webhooks → features/webhooks}/cli.js +7 -7
  18. package/dist/features/webhooks/cli.js.map +1 -0
  19. package/dist/features/webhooks/index.d.ts +13 -0
  20. package/dist/features/webhooks/index.js +14 -0
  21. package/dist/features/webhooks/index.js.map +1 -0
  22. package/dist/features/webhooks/launch-part.d.ts +7 -0
  23. package/dist/features/webhooks/launch-part.js +19 -0
  24. package/dist/features/webhooks/launch-part.js.map +1 -0
  25. package/dist/{webhooks → features/webhooks}/prompt.d.ts +1 -1
  26. package/dist/{webhooks → features/webhooks}/prompt.js +1 -1
  27. package/dist/features/webhooks/prompt.js.map +1 -0
  28. package/dist/features/webhooks/routes.d.ts +463 -0
  29. package/dist/features/webhooks/routes.js +177 -0
  30. package/dist/features/webhooks/routes.js.map +1 -0
  31. package/dist/features/webhooks/server-plugin.d.ts +16 -0
  32. package/dist/features/webhooks/server-plugin.js +98 -0
  33. package/dist/features/webhooks/server-plugin.js.map +1 -0
  34. package/dist/{runs → features/webhooks}/webhook.d.ts +5 -5
  35. package/dist/{runs → features/webhooks}/webhook.js +16 -10
  36. package/dist/features/webhooks/webhook.js.map +1 -0
  37. package/dist/plugin/index.d.ts +1 -1
  38. package/dist/plugin/index.js.map +1 -1
  39. package/dist/serve-command.d.ts +2 -2
  40. package/dist/serve-command.js +13 -9
  41. package/dist/serve-command.js.map +1 -1
  42. package/dist/server/plugin-server-hooks.d.ts +12 -1
  43. package/dist/server/plugin-server-hooks.js +33 -0
  44. package/dist/server/plugin-server-hooks.js.map +1 -1
  45. package/dist/server/project-settings-routes.d.ts +0 -90
  46. package/dist/server/project-settings-routes.js +0 -30
  47. package/dist/server/project-settings-routes.js.map +1 -1
  48. package/dist/server/projects-routes.d.ts +1 -376
  49. package/dist/server/projects-routes.js +2 -137
  50. package/dist/server/projects-routes.js.map +1 -1
  51. package/dist/server/providers-routes.d.ts +58 -58
  52. package/dist/server/runner-install-routes.d.ts +10 -10
  53. package/dist/server/runs-routes.d.ts +279 -297
  54. package/dist/server/runs-routes.js +6 -11
  55. package/dist/server/runs-routes.js.map +1 -1
  56. package/dist/server/server-deps.d.ts +1 -4
  57. package/dist/server/server-deps.js +3 -7
  58. package/dist/server/server-deps.js.map +1 -1
  59. package/dist/server/server.d.ts +296 -876
  60. package/dist/server/server.js +10 -16
  61. package/dist/server/server.js.map +1 -1
  62. package/dist/server/start-run-options.d.ts +5 -3
  63. package/dist/server/start-run-options.js +8 -3
  64. package/dist/server/start-run-options.js.map +1 -1
  65. package/dist/server/start-server.js +8 -11
  66. package/dist/server/start-server.js.map +1 -1
  67. package/dist/server/workspace-identity-routes.d.ts +5 -5
  68. package/dist/server/workspace-live-routes.d.ts +6 -6
  69. package/dist/server/workspace-projects.d.ts +2 -5
  70. package/dist/server/workspace-projects.js +10 -11
  71. package/dist/server/workspace-projects.js.map +1 -1
  72. package/dist/server/workspace-routes.d.ts +85 -85
  73. package/package.json +4 -4
  74. package/web/dist/assets/{accounts-section-DrA0kndh.js → accounts-section-DL3fIJ3Y.js} +1 -1
  75. package/web/dist/assets/{activity-motion-C23PnhhH.js → activity-motion-nt1FXMrF.js} +1 -1
  76. package/web/dist/assets/{activity-route-CWGPbwtG.js → activity-route-xVy2K_Fi.js} +1 -1
  77. package/web/dist/assets/{agent-config-section-DWZQ2DSW.js → agent-config-section-nFavGeR2.js} +1 -1
  78. package/web/dist/assets/{agent-defaults-section-Da4tKbp7.js → agent-defaults-section-CN0pC4xG.js} +1 -1
  79. package/web/dist/assets/{appearance-Bm4ePfiH.js → appearance-zGuTSgIy.js} +1 -1
  80. package/web/dist/assets/{archive-on-merge-field-DuRmMR6k.js → archive-on-merge-field-BaKNf-j4.js} +1 -1
  81. package/web/dist/assets/{ask-card-vM_Z-WAg.js → ask-card-huOW3GMV.js} +3 -3
  82. package/web/dist/assets/{automations-route-B8zD3wux.js → automations-route-GBaRU2IS.js} +2 -2
  83. package/web/dist/assets/{commit-list-lwVhwbS8.js → commit-list-x-75vYko.js} +1 -1
  84. package/web/dist/assets/{diff-CC5UqjNZ.js → diff-Bhh_CAtI.js} +2 -2
  85. package/web/dist/assets/{diff-controls-C8KWZ5S-.js → diff-controls-BOnMrLuP.js} +1 -1
  86. package/web/dist/assets/{diff-view-DiuQQoKq.js → diff-view-DiPeQi9D.js} +1 -1
  87. package/web/dist/assets/{discard-changes-dialog-CX7M4k9n.js → discard-changes-dialog-BMofaFwH.js} +1 -1
  88. package/web/dist/assets/{file-preview-C_0CRYAr.js → file-preview-ChwOU1Uc.js} +1 -1
  89. package/web/dist/assets/{git-toolbar-PM540i_A.js → git-toolbar-BdhjSQLm.js} +1 -1
  90. package/web/dist/assets/{github-CeBvZzjo.js → github-DqXXUCBy.js} +1 -1
  91. package/web/dist/assets/{global-activity-route-CiTt7W6o.js → global-activity-route-CZJRu2G1.js} +1 -1
  92. package/web/dist/assets/index-CbSPKU4g.js +21 -0
  93. package/web/dist/assets/{markdown-CqzDs1kO.js → markdown-DMFXz4xY.js} +1 -1
  94. package/web/dist/assets/{option-select-CDOKbUov.js → option-select-Cq_bhgu6.js} +1 -1
  95. package/web/dist/assets/{preferences-section-cdbIMfEU.js → preferences-section-CHhUi72X.js} +1 -1
  96. package/web/dist/assets/{preview-pane-connected-BcU9ryyW.js → preview-pane-connected-DH9rjYI7.js} +2 -2
  97. package/web/dist/assets/{project-location-BpBbcl3v.js → project-location-CSXt_Yk6.js} +1 -1
  98. package/web/dist/assets/{projects-section-CX1WJq4d.js → projects-section-CSBdiEM-.js} +1 -1
  99. package/web/dist/assets/{prompt-templates-section-DrQthAY7.js → prompt-templates-section-DaJbpROr.js} +2 -2
  100. package/web/dist/assets/{remote-settings-notice-_MtFnktv.js → remote-settings-notice-Chx8LxP6.js} +1 -1
  101. package/web/dist/assets/repo-git-D8Sn_897.js +1 -0
  102. package/web/dist/assets/{report-reader-iboN3k6l.js → report-reader-Ccymt9jp.js} +1 -1
  103. package/web/dist/assets/reports-GvAw7DYA.js +1 -0
  104. package/web/dist/assets/{resources-section-BmDbIpaO.js → resources-section-BWqoBxtC.js} +1 -1
  105. package/web/dist/assets/{review-notes-drafts-DXxIudVB.js → review-notes-drafts-BKzyNpXo.js} +1 -1
  106. package/web/dist/assets/{review-panel-BjWbFGev.js → review-panel-DxAlY6hQ.js} +1 -1
  107. package/web/dist/assets/{review-strip-QIghY88F.js → review-strip-QDKNuOm9.js} +1 -1
  108. package/web/dist/assets/run-header-BS7SXYup.js +2 -0
  109. package/web/dist/assets/{select-BxuV2GlN.js → select-DVQEFrtF.js} +1 -1
  110. package/web/dist/assets/{session-context-section-OLW5UTvx.js → session-context-section-YxCcDlRl.js} +2 -2
  111. package/web/dist/assets/{settings-agent-picker-Dasyc6Qo.js → settings-agent-picker-CDyluV99.js} +1 -1
  112. package/web/dist/assets/{settings-save-bar-Mrc6Vm7P.js → settings-save-bar-CMJaZn_P.js} +1 -1
  113. package/web/dist/assets/settings-shell-DHVB7FYt.js +1 -0
  114. package/web/dist/assets/{sidebar-section-CVNvjM29.js → sidebar-section-hphp-63V.js} +1 -1
  115. package/web/dist/assets/{skills-7MwCp2i_.js → skills-BlHcP8uc.js} +1 -1
  116. package/web/dist/assets/{task-changes-DSZjztX7.js → task-changes-DWMFWq5g.js} +1 -1
  117. package/web/dist/assets/{task-commits-P_ElCQ4M.js → task-commits-q5Cn_tdG.js} +1 -1
  118. package/web/dist/assets/{task-file-scope-B63NmSov.js → task-file-scope-BKjO7lKK.js} +1 -1
  119. package/web/dist/assets/{task-files-CSFB6sG7.js → task-files-DbRJAKAg.js} +1 -1
  120. package/web/dist/assets/{task-github-item-BJ1rGyc6.js → task-github-item-DV6uUcx2.js} +1 -1
  121. package/web/dist/assets/{task-thread-C0DbAGi_.js → task-thread-05LMMzIs.js} +1 -1
  122. package/web/dist/assets/{thread-state-B7pyjJYO.js → thread-state-uf_28v2G.js} +1 -1
  123. package/web/dist/assets/{use-finish-run-B1Gy5JPt.js → use-finish-run-BsTPLn1d.js} +1 -1
  124. package/web/dist/assets/{use-hand-to-agent-state-CMyKCFeb.js → use-hand-to-agent-state-DyjrAs-3.js} +1 -1
  125. package/web/dist/assets/use-path-bases-hbJkikc4.js +1 -0
  126. package/web/dist/assets/{workflows-seQiL2pi.js → workflows-B5xr64g0.js} +3 -3
  127. package/web/dist/assets/{workspace-tools-BDf7nsE5.js → workspace-tools-DGlrX2Uj.js} +1 -1
  128. package/web/dist/assets/{worktrees-section-x7r5wRhx.js → worktrees-section-D2bbdi3Y.js} +1 -1
  129. package/web/dist/index.html +1 -1
  130. package/dist/runs/webhook.js.map +0 -1
  131. package/dist/webhooks/cli.js.map +0 -1
  132. package/dist/webhooks/prompt.js.map +0 -1
  133. package/web/dist/assets/index-UFO7Bk2I.js +0 -21
  134. package/web/dist/assets/repo-git-5JS3oL12.js +0 -1
  135. package/web/dist/assets/reports-Cn3kWlK7.js +0 -1
  136. package/web/dist/assets/run-header-BWLcG57S.js +0 -2
  137. package/web/dist/assets/settings-shell-DWRk12-i.js +0 -1
  138. package/web/dist/assets/use-path-bases-wGc__G57.js +0 -1
@@ -4,7 +4,6 @@ import type { DelegationController } from '../delegation/provision.ts';
4
4
  import { type WorkerCleanupFactory } from '../delegation/service.ts';
5
5
  import type { Home } from '../home/home.ts';
6
6
  import type { PreviewHost } from '../preview/host.ts';
7
- import type { TaskWebhooks } from '../runs/webhook.ts';
8
7
  import { type ProjectForgeResolver } from './project-forge.ts';
9
8
  import type { ProjectContext } from './project-context.ts';
10
9
  import type { ProjectApiEnv, ProviderStatusBundle, ResolvedServerDeps, ResolveWorkspaceProfileFn, ServerCapabilitiesFn } from './server-types.ts';
@@ -23,7 +22,6 @@ export interface RunsRouteDeps {
23
22
  providerActionError: ProviderStatusBundle['providerActionError'];
24
23
  resolveWorkspaceProfile: ResolveWorkspaceProfileFn;
25
24
  projectRegistryEntry: WorkspaceProjects['registryEntry'];
26
- taskWebhooks: TaskWebhooks;
27
25
  openTerminal: ResolvedServerDeps['openTerminal'];
28
26
  openFile: ResolvedServerDeps['openFile'];
29
27
  openApp: ResolvedServerDeps['openApp'];
@@ -1217,18 +1215,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1217
1215
  } & {
1218
1216
  "/run-summaries": {
1219
1217
  $get: {
1220
- output: {
1221
- error: string;
1222
- code?: "invalid_input" | undefined;
1223
- };
1224
- outputFormat: "json";
1225
- status: 400;
1226
- input: {
1227
- query: {
1228
- archived?: "all" | "recent" | undefined;
1229
- };
1230
- };
1231
- } | {
1232
1218
  output: {
1233
1219
  id: string;
1234
1220
  title: string;
@@ -1366,6 +1352,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1366
1352
  archived?: "all" | "recent" | undefined;
1367
1353
  };
1368
1354
  };
1355
+ } | {
1356
+ output: {
1357
+ error: string;
1358
+ code?: "invalid_input" | undefined;
1359
+ };
1360
+ outputFormat: "json";
1361
+ status: 400;
1362
+ input: {
1363
+ query: {
1364
+ archived?: "all" | "recent" | undefined;
1365
+ };
1366
+ };
1369
1367
  };
1370
1368
  };
1371
1369
  } & {
@@ -1727,24 +1725,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1727
1725
  "/runs/:id/worker-destroy": {
1728
1726
  $post: {
1729
1727
  output: {
1730
- workerId: string;
1731
- state: "complete" | "incomplete";
1732
- work?: {
1733
- uncommittedFiles: number;
1734
- commits: number;
1735
- } | undefined;
1736
- deleted?: ({
1737
- kind: "worktree";
1738
- path: string;
1739
- } | {
1740
- kind: "branch";
1741
- ref: string;
1742
- })[] | undefined;
1743
- remaining: ("branch" | "process" | "worktree")[];
1744
- error?: string | undefined;
1728
+ error: string;
1729
+ code?: "invalid_input" | undefined;
1745
1730
  };
1746
1731
  outputFormat: "json";
1747
- status: 200;
1732
+ status: 400;
1748
1733
  input: {
1749
1734
  query: {
1750
1735
  [x: string]: string | string[];
@@ -1760,11 +1745,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1760
1745
  };
1761
1746
  } | {
1762
1747
  output: {
1763
- error: string;
1764
- code?: "invalid_input" | undefined;
1748
+ workerId: string;
1749
+ state: "complete" | "incomplete";
1750
+ work?: {
1751
+ uncommittedFiles: number;
1752
+ commits: number;
1753
+ } | undefined;
1754
+ deleted?: ({
1755
+ kind: "worktree";
1756
+ path: string;
1757
+ } | {
1758
+ kind: "branch";
1759
+ ref: string;
1760
+ })[] | undefined;
1761
+ remaining: ("branch" | "process" | "worktree")[];
1762
+ error?: string | undefined;
1765
1763
  };
1766
1764
  outputFormat: "json";
1767
- status: 400;
1765
+ status: 200;
1768
1766
  input: {
1769
1767
  query: {
1770
1768
  [x: string]: string | string[];
@@ -1880,21 +1878,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1880
1878
  } & {
1881
1879
  "/runs/:id/archive": {
1882
1880
  $post: {
1883
- output: {
1884
- error: string;
1885
- };
1886
- outputFormat: "json";
1887
- status: 404;
1888
- input: {
1889
- json: {
1890
- archived?: boolean | undefined;
1891
- };
1892
- } & {
1893
- param: {
1894
- id: string;
1895
- };
1896
- };
1897
- } | {
1898
1881
  output: {
1899
1882
  archiveWhenDone?: boolean | undefined;
1900
1883
  autoMergePr?: boolean | undefined;
@@ -3074,32 +3057,32 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3074
3057
  id: string;
3075
3058
  };
3076
3059
  };
3077
- };
3078
- };
3079
- } & {
3080
- "/runs/:id/pin": {
3081
- $post: {
3060
+ } | {
3082
3061
  output: {
3083
3062
  error: string;
3084
- code?: "invalid_input" | undefined;
3085
3063
  };
3086
3064
  outputFormat: "json";
3087
- status: 400;
3065
+ status: 404;
3088
3066
  input: {
3089
- param: {
3090
- id: string;
3067
+ json: {
3068
+ archived?: boolean | undefined;
3091
3069
  };
3092
3070
  } & {
3093
- json: {
3094
- pinned?: boolean | undefined;
3071
+ param: {
3072
+ id: string;
3095
3073
  };
3096
3074
  };
3097
- } | {
3075
+ };
3076
+ };
3077
+ } & {
3078
+ "/runs/:id/pin": {
3079
+ $post: {
3098
3080
  output: {
3099
3081
  error: string;
3082
+ code?: "invalid_input" | undefined;
3100
3083
  };
3101
3084
  outputFormat: "json";
3102
- status: 404;
3085
+ status: 400;
3103
3086
  input: {
3104
3087
  param: {
3105
3088
  id: string;
@@ -4289,30 +4272,29 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4289
4272
  pinned?: boolean | undefined;
4290
4273
  };
4291
4274
  };
4292
- };
4293
- };
4294
- } & {
4295
- "/runs/:id/notify": {
4296
- $post: {
4275
+ } | {
4297
4276
  output: {
4298
4277
  error: string;
4299
- code?: "invalid_input" | undefined;
4300
4278
  };
4301
4279
  outputFormat: "json";
4302
- status: 400;
4280
+ status: 404;
4303
4281
  input: {
4304
4282
  param: {
4305
4283
  id: string;
4306
4284
  };
4307
4285
  } & {
4308
4286
  json: {
4309
- notify: boolean;
4310
- message?: string | undefined;
4287
+ pinned?: boolean | undefined;
4311
4288
  };
4312
4289
  };
4313
- } | {
4290
+ };
4291
+ };
4292
+ } & {
4293
+ "/runs/:id/notify": {
4294
+ $post: {
4314
4295
  output: {
4315
4296
  error: string;
4297
+ code?: "invalid_input" | undefined;
4316
4298
  };
4317
4299
  outputFormat: "json";
4318
4300
  status: 400;
@@ -4331,7 +4313,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4331
4313
  error: string;
4332
4314
  };
4333
4315
  outputFormat: "json";
4334
- status: 404;
4316
+ status: 400 | 404 | 409;
4335
4317
  input: {
4336
4318
  param: {
4337
4319
  id: string;
@@ -5554,17 +5536,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5554
5536
  } & {
5555
5537
  "/runs/:id/read": {
5556
5538
  $post: {
5557
- output: {
5558
- error: string;
5559
- };
5560
- outputFormat: "json";
5561
- status: 404;
5562
- input: {
5563
- param: {
5564
- id: string;
5565
- };
5566
- };
5567
- } | {
5568
5539
  output: {
5569
5540
  archiveWhenDone?: boolean | undefined;
5570
5541
  autoMergePr?: boolean | undefined;
@@ -6740,11 +6711,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6740
6711
  id: string;
6741
6712
  };
6742
6713
  };
6743
- };
6744
- };
6745
- } & {
6746
- "/runs/:id/unread": {
6747
- $post: {
6714
+ } | {
6748
6715
  output: {
6749
6716
  error: string;
6750
6717
  };
@@ -6755,7 +6722,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6755
6722
  id: string;
6756
6723
  };
6757
6724
  };
6758
- } | {
6725
+ };
6726
+ };
6727
+ } & {
6728
+ "/runs/:id/unread": {
6729
+ $post: {
6759
6730
  output: {
6760
6731
  archiveWhenDone?: boolean | undefined;
6761
6732
  autoMergePr?: boolean | undefined;
@@ -7931,6 +7902,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7931
7902
  id: string;
7932
7903
  };
7933
7904
  };
7905
+ } | {
7906
+ output: {
7907
+ error: string;
7908
+ };
7909
+ outputFormat: "json";
7910
+ status: 404;
7911
+ input: {
7912
+ param: {
7913
+ id: string;
7914
+ };
7915
+ };
7934
7916
  };
7935
7917
  };
7936
7918
  } & {
@@ -9207,17 +9189,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9207
9189
  } & {
9208
9190
  "/runs/:id": {
9209
9191
  $get: {
9210
- output: {
9211
- error: string;
9212
- };
9213
- outputFormat: "json";
9214
- status: 404;
9215
- input: {
9216
- param: {
9217
- id: string;
9218
- };
9219
- };
9220
- } | {
9221
9192
  output: {
9222
9193
  archiveWhenDone?: boolean | undefined;
9223
9194
  autoMergePr?: boolean | undefined;
@@ -10401,6 +10372,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10401
10372
  id: string;
10402
10373
  };
10403
10374
  };
10375
+ } | {
10376
+ output: {
10377
+ error: string;
10378
+ };
10379
+ outputFormat: "json";
10380
+ status: 404;
10381
+ input: {
10382
+ param: {
10383
+ id: string;
10384
+ };
10385
+ };
10404
10386
  };
10405
10387
  };
10406
10388
  } & {
@@ -10528,66 +10510,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10528
10510
  } & {
10529
10511
  "/runs/:id": {
10530
10512
  $patch: {
10531
- output: {
10532
- error: string;
10533
- };
10534
- outputFormat: "json";
10535
- status: 400;
10536
- input: {
10537
- json: {
10538
- archiveWhenDone?: boolean | undefined;
10539
- autoMergePr?: boolean | undefined;
10540
- allowWorkers?: boolean | undefined;
10541
- allowMessaging?: boolean | undefined;
10542
- title?: string | undefined;
10543
- task?: string | undefined;
10544
- };
10545
- } & {
10546
- param: {
10547
- id: string;
10548
- };
10549
- };
10550
- } | {
10551
- output: {
10552
- error: string;
10553
- };
10554
- outputFormat: "json";
10555
- status: 404;
10556
- input: {
10557
- json: {
10558
- archiveWhenDone?: boolean | undefined;
10559
- autoMergePr?: boolean | undefined;
10560
- allowWorkers?: boolean | undefined;
10561
- allowMessaging?: boolean | undefined;
10562
- title?: string | undefined;
10563
- task?: string | undefined;
10564
- };
10565
- } & {
10566
- param: {
10567
- id: string;
10568
- };
10569
- };
10570
- } | {
10571
- output: {
10572
- error: string;
10573
- };
10574
- outputFormat: "json";
10575
- status: 409;
10576
- input: {
10577
- json: {
10578
- archiveWhenDone?: boolean | undefined;
10579
- autoMergePr?: boolean | undefined;
10580
- allowWorkers?: boolean | undefined;
10581
- allowMessaging?: boolean | undefined;
10582
- title?: string | undefined;
10583
- task?: string | undefined;
10584
- };
10585
- } & {
10586
- param: {
10587
- id: string;
10588
- };
10589
- };
10590
- } | {
10591
10513
  output: {
10592
10514
  archiveWhenDone?: boolean | undefined;
10593
10515
  autoMergePr?: boolean | undefined;
@@ -11772,24 +11694,84 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11772
11694
  id: string;
11773
11695
  };
11774
11696
  };
11775
- };
11776
- };
11777
- } & {
11778
- "/runs/:id/cancel": {
11779
- $post: {
11697
+ } | {
11780
11698
  output: {
11781
11699
  error: string;
11782
11700
  };
11783
11701
  outputFormat: "json";
11784
11702
  status: 404;
11785
11703
  input: {
11704
+ json: {
11705
+ archiveWhenDone?: boolean | undefined;
11706
+ autoMergePr?: boolean | undefined;
11707
+ allowWorkers?: boolean | undefined;
11708
+ allowMessaging?: boolean | undefined;
11709
+ title?: string | undefined;
11710
+ task?: string | undefined;
11711
+ };
11712
+ } & {
11786
11713
  param: {
11787
11714
  id: string;
11788
11715
  };
11789
11716
  };
11790
11717
  } | {
11791
11718
  output: {
11792
- cancelled: boolean;
11719
+ error: string;
11720
+ };
11721
+ outputFormat: "json";
11722
+ status: 400;
11723
+ input: {
11724
+ json: {
11725
+ archiveWhenDone?: boolean | undefined;
11726
+ autoMergePr?: boolean | undefined;
11727
+ allowWorkers?: boolean | undefined;
11728
+ allowMessaging?: boolean | undefined;
11729
+ title?: string | undefined;
11730
+ task?: string | undefined;
11731
+ };
11732
+ } & {
11733
+ param: {
11734
+ id: string;
11735
+ };
11736
+ };
11737
+ } | {
11738
+ output: {
11739
+ error: string;
11740
+ };
11741
+ outputFormat: "json";
11742
+ status: 409;
11743
+ input: {
11744
+ json: {
11745
+ archiveWhenDone?: boolean | undefined;
11746
+ autoMergePr?: boolean | undefined;
11747
+ allowWorkers?: boolean | undefined;
11748
+ allowMessaging?: boolean | undefined;
11749
+ title?: string | undefined;
11750
+ task?: string | undefined;
11751
+ };
11752
+ } & {
11753
+ param: {
11754
+ id: string;
11755
+ };
11756
+ };
11757
+ };
11758
+ };
11759
+ } & {
11760
+ "/runs/:id/cancel": {
11761
+ $post: {
11762
+ output: {
11763
+ error: string;
11764
+ };
11765
+ outputFormat: "json";
11766
+ status: 404;
11767
+ input: {
11768
+ param: {
11769
+ id: string;
11770
+ };
11771
+ };
11772
+ } | {
11773
+ output: {
11774
+ cancelled: boolean;
11793
11775
  };
11794
11776
  outputFormat: "json";
11795
11777
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -11876,7 +11858,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11876
11858
  error: string;
11877
11859
  };
11878
11860
  outputFormat: "json";
11879
- status: 400;
11861
+ status: 404;
11880
11862
  input: {
11881
11863
  json: {
11882
11864
  text?: string | undefined;
@@ -11895,7 +11877,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11895
11877
  error: string;
11896
11878
  };
11897
11879
  outputFormat: "json";
11898
- status: 404;
11880
+ status: 409;
11899
11881
  input: {
11900
11882
  json: {
11901
11883
  text?: string | undefined;
@@ -11911,10 +11893,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11911
11893
  };
11912
11894
  } | {
11913
11895
  output: {
11914
- error: string;
11896
+ delivered: true;
11915
11897
  };
11916
11898
  outputFormat: "json";
11917
- status: 409;
11899
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11918
11900
  input: {
11919
11901
  json: {
11920
11902
  text?: string | undefined;
@@ -11930,10 +11912,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11930
11912
  };
11931
11913
  } | {
11932
11914
  output: {
11933
- delivered: true;
11915
+ error: string;
11934
11916
  };
11935
11917
  outputFormat: "json";
11936
- status: import("hono/utils/http-status").ContentfulStatusCode;
11918
+ status: 400;
11937
11919
  input: {
11938
11920
  json: {
11939
11921
  text?: string | undefined;
@@ -12001,7 +11983,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12001
11983
  error: string;
12002
11984
  };
12003
11985
  outputFormat: "json";
12004
- status: 400;
11986
+ status: 404;
12005
11987
  input: {
12006
11988
  json: {
12007
11989
  text?: string | undefined;
@@ -12022,7 +12004,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12022
12004
  error: string;
12023
12005
  };
12024
12006
  outputFormat: "json";
12025
- status: 404;
12007
+ status: 400;
12026
12008
  input: {
12027
12009
  json: {
12028
12010
  text?: string | undefined;
@@ -12242,11 +12224,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12242
12224
  "/runs/:id/open-in-cli": {
12243
12225
  $post: {
12244
12226
  output: {
12245
- opened: true;
12246
- command: string;
12227
+ error: string;
12247
12228
  };
12248
12229
  outputFormat: "json";
12249
- status: import("hono/utils/http-status").ContentfulStatusCode;
12230
+ status: 404 | 409;
12250
12231
  input: {
12251
12232
  param: {
12252
12233
  id: string;
@@ -12254,10 +12235,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12254
12235
  };
12255
12236
  } | {
12256
12237
  output: {
12257
- error: string;
12238
+ opened: true;
12239
+ command: string;
12258
12240
  };
12259
12241
  outputFormat: "json";
12260
- status: 404 | 409;
12242
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12261
12243
  input: {
12262
12244
  param: {
12263
12245
  id: string;
@@ -12272,7 +12254,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12272
12254
  error: string;
12273
12255
  };
12274
12256
  outputFormat: "json";
12275
- status: 400;
12257
+ status: 404 | 409;
12276
12258
  input: {
12277
12259
  json: {
12278
12260
  target: string;
@@ -12285,11 +12267,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12285
12267
  };
12286
12268
  } | {
12287
12269
  output: {
12288
- opened: true;
12289
- path: string;
12270
+ error: string;
12290
12271
  };
12291
12272
  outputFormat: "json";
12292
- status: import("hono/utils/http-status").ContentfulStatusCode;
12273
+ status: 400;
12293
12274
  input: {
12294
12275
  json: {
12295
12276
  target: string;
@@ -12302,10 +12283,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12302
12283
  };
12303
12284
  } | {
12304
12285
  output: {
12305
- error: string;
12286
+ opened: true;
12287
+ path: string;
12306
12288
  };
12307
12289
  outputFormat: "json";
12308
- status: 404 | 409;
12290
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12309
12291
  input: {
12310
12292
  json: {
12311
12293
  target: string;
@@ -12345,12 +12327,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12345
12327
  } & {
12346
12328
  "/runs/:id/images/:file": {
12347
12329
  $get: {
12348
- output: {
12349
- error: string;
12350
- code?: "invalid_input" | undefined;
12351
- };
12352
- outputFormat: "json";
12353
- status: 400;
12330
+ output: {};
12331
+ outputFormat: string;
12332
+ status: import("hono/utils/http-status").StatusCode;
12354
12333
  input: {
12355
12334
  param: {
12356
12335
  id: string;
@@ -12358,9 +12337,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12358
12337
  };
12359
12338
  };
12360
12339
  } | {
12361
- output: {};
12362
- outputFormat: string;
12363
- status: import("hono/utils/http-status").StatusCode;
12340
+ output: {
12341
+ error: string;
12342
+ code?: "invalid_input" | undefined;
12343
+ };
12344
+ outputFormat: "json";
12345
+ status: 400;
12364
12346
  input: {
12365
12347
  param: {
12366
12348
  id: string;
@@ -12396,6 +12378,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12396
12378
  } & {
12397
12379
  "/runs/:id/changes": {
12398
12380
  $get: {
12381
+ output: {
12382
+ error: string;
12383
+ };
12384
+ outputFormat: "json";
12385
+ status: 404 | 409;
12386
+ input: {
12387
+ param: {
12388
+ id: string;
12389
+ };
12390
+ };
12391
+ } | {
12399
12392
  output: {
12400
12393
  files: {
12401
12394
  path: string;
@@ -12424,7 +12417,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12424
12417
  id: string;
12425
12418
  };
12426
12419
  };
12427
- } | {
12420
+ };
12421
+ };
12422
+ } & {
12423
+ "/runs/:id/commits": {
12424
+ $get: {
12428
12425
  output: {
12429
12426
  error: string;
12430
12427
  };
@@ -12435,11 +12432,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12435
12432
  id: string;
12436
12433
  };
12437
12434
  };
12438
- };
12439
- };
12440
- } & {
12441
- "/runs/:id/commits": {
12442
- $get: {
12435
+ } | {
12443
12436
  output: {
12444
12437
  commits: {
12445
12438
  sha: string;
@@ -12455,7 +12448,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12455
12448
  id: string;
12456
12449
  };
12457
12450
  };
12458
- } | {
12451
+ };
12452
+ };
12453
+ } & {
12454
+ "/runs/:id/commit/:sha": {
12455
+ $get: {
12459
12456
  output: {
12460
12457
  error: string;
12461
12458
  };
@@ -12464,13 +12461,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12464
12461
  input: {
12465
12462
  param: {
12466
12463
  id: string;
12464
+ } & {
12465
+ sha: string;
12467
12466
  };
12468
12467
  };
12469
- };
12470
- };
12471
- } & {
12472
- "/runs/:id/commit/:sha": {
12473
- $get: {
12468
+ } | {
12474
12469
  output: {
12475
12470
  sha: string;
12476
12471
  subject: string;
@@ -12501,19 +12496,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12501
12496
  sha: string;
12502
12497
  };
12503
12498
  };
12504
- } | {
12505
- output: {
12506
- error: string;
12507
- };
12508
- outputFormat: "json";
12509
- status: 404 | 409;
12510
- input: {
12511
- param: {
12512
- id: string;
12513
- } & {
12514
- sha: string;
12515
- };
12516
- };
12517
12499
  };
12518
12500
  };
12519
12501
  } & {
@@ -12537,15 +12519,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12537
12519
  };
12538
12520
  } | {
12539
12521
  output: {
12540
- type: 'file';
12541
- path: string;
12542
- size: number;
12543
- binary: boolean;
12544
- tooLarge: boolean;
12545
- content?: string | undefined;
12522
+ error: string;
12546
12523
  };
12547
12524
  outputFormat: "json";
12548
- status: import("hono/utils/http-status").ContentfulStatusCode;
12525
+ status: 404 | 409;
12549
12526
  input: {
12550
12527
  param: {
12551
12528
  sha: string;
@@ -12558,10 +12535,15 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12558
12535
  };
12559
12536
  } | {
12560
12537
  output: {
12561
- error: string;
12538
+ type: 'file';
12539
+ path: string;
12540
+ size: number;
12541
+ binary: boolean;
12542
+ tooLarge: boolean;
12543
+ content?: string | undefined;
12562
12544
  };
12563
12545
  outputFormat: "json";
12564
- status: 404 | 409;
12546
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12565
12547
  input: {
12566
12548
  param: {
12567
12549
  sha: string;
@@ -12607,6 +12589,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12607
12589
  raw?: "1" | undefined;
12608
12590
  };
12609
12591
  };
12592
+ } | {
12593
+ output: {
12594
+ error: string;
12595
+ };
12596
+ outputFormat: "json";
12597
+ status: 404 | 409;
12598
+ input: {
12599
+ param: {
12600
+ id: string;
12601
+ };
12602
+ } & {
12603
+ query: {
12604
+ path: string | string[];
12605
+ raw?: "1" | undefined;
12606
+ };
12607
+ };
12610
12608
  } | {
12611
12609
  output: {
12612
12610
  type: "file";
@@ -12643,22 +12641,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12643
12641
  raw?: "1" | undefined;
12644
12642
  };
12645
12643
  };
12646
- } | {
12647
- output: {
12648
- error: string;
12649
- };
12650
- outputFormat: "json";
12651
- status: 404 | 409;
12652
- input: {
12653
- param: {
12654
- id: string;
12655
- };
12656
- } & {
12657
- query: {
12658
- path: string | string[];
12659
- raw?: "1" | undefined;
12660
- };
12661
- };
12662
12644
  };
12663
12645
  };
12664
12646
  } & {
@@ -12723,18 +12705,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12723
12705
  artifactId: string;
12724
12706
  };
12725
12707
  };
12726
- } | {
12727
- output: {
12728
- error: string;
12729
- };
12730
- outputFormat: "json";
12731
- status: 404;
12732
- input: {
12733
- param: {
12734
- id: string;
12735
- artifactId: string;
12736
- };
12737
- };
12738
12708
  } | {
12739
12709
  output: {
12740
12710
  type: "file";
@@ -12763,6 +12733,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12763
12733
  artifactId: string;
12764
12734
  };
12765
12735
  };
12736
+ } | {
12737
+ output: {
12738
+ error: string;
12739
+ };
12740
+ outputFormat: "json";
12741
+ status: 404;
12742
+ input: {
12743
+ param: {
12744
+ id: string;
12745
+ artifactId: string;
12746
+ };
12747
+ };
12766
12748
  };
12767
12749
  };
12768
12750
  } & {
@@ -12940,15 +12922,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12940
12922
  };
12941
12923
  } | {
12942
12924
  output: {
12943
- type: 'file';
12944
- path: string;
12945
- size: number;
12946
- binary: boolean;
12947
- tooLarge: boolean;
12948
- content?: string | undefined;
12925
+ error: string;
12949
12926
  };
12950
12927
  outputFormat: "json";
12951
- status: import("hono/utils/http-status").ContentfulStatusCode;
12928
+ status: 404 | 409;
12952
12929
  input: {
12953
12930
  query: {
12954
12931
  path?: string | undefined;
@@ -12961,14 +12938,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12961
12938
  };
12962
12939
  } | {
12963
12940
  output: {
12964
- type: 'dir';
12941
+ type: 'file';
12965
12942
  path: string;
12966
- entries: {
12967
- name: string;
12968
- type: 'dir' | 'file';
12969
- size?: number;
12970
- chain?: string;
12971
- }[];
12943
+ size: number;
12944
+ binary: boolean;
12945
+ tooLarge: boolean;
12946
+ content?: string | undefined;
12972
12947
  };
12973
12948
  outputFormat: "json";
12974
12949
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -12984,10 +12959,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12984
12959
  };
12985
12960
  } | {
12986
12961
  output: {
12987
- error: string;
12962
+ type: 'dir';
12963
+ path: string;
12964
+ entries: {
12965
+ name: string;
12966
+ type: 'dir' | 'file';
12967
+ size?: number;
12968
+ chain?: string;
12969
+ }[];
12988
12970
  };
12989
12971
  outputFormat: "json";
12990
- status: 404 | 409;
12972
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12991
12973
  input: {
12992
12974
  query: {
12993
12975
  path?: string | undefined;
@@ -13004,11 +12986,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13004
12986
  "/runs/:id/git/commit": {
13005
12987
  $post: {
13006
12988
  output: {
13007
- committed: true;
13008
- sha: string;
12989
+ error: string;
13009
12990
  };
13010
12991
  outputFormat: "json";
13011
- status: import("hono/utils/http-status").ContentfulStatusCode;
12992
+ status: 404 | 409;
13012
12993
  input: {
13013
12994
  json: {
13014
12995
  message: string;
@@ -13020,10 +13001,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13020
13001
  };
13021
13002
  } | {
13022
13003
  output: {
13023
- error: string;
13004
+ committed: true;
13005
+ sha: string;
13024
13006
  };
13025
13007
  outputFormat: "json";
13026
- status: 404 | 409;
13008
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13027
13009
  input: {
13028
13010
  json: {
13029
13011
  message: string;
@@ -13039,13 +13021,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13039
13021
  "/runs/:id/git/push": {
13040
13022
  $post: {
13041
13023
  output: {
13042
- pushed: true;
13043
- branch: string;
13044
- remote: string;
13045
- upstreamSet: boolean;
13024
+ error: string;
13046
13025
  };
13047
13026
  outputFormat: "json";
13048
- status: import("hono/utils/http-status").ContentfulStatusCode;
13027
+ status: 404 | 409;
13049
13028
  input: {
13050
13029
  param: {
13051
13030
  id: string;
@@ -13053,10 +13032,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13053
13032
  };
13054
13033
  } | {
13055
13034
  output: {
13056
- error: string;
13035
+ pushed: true;
13036
+ branch: string;
13037
+ remote: string;
13038
+ upstreamSet: boolean;
13057
13039
  };
13058
13040
  outputFormat: "json";
13059
- status: 404 | 409;
13041
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13060
13042
  input: {
13061
13043
  param: {
13062
13044
  id: string;
@@ -13068,11 +13050,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13068
13050
  "/runs/:id/pr": {
13069
13051
  $post: {
13070
13052
  output: {
13071
- url: string;
13072
- dryRun: boolean;
13053
+ error: string;
13073
13054
  };
13074
13055
  outputFormat: "json";
13075
- status: 201;
13056
+ status: 404 | 409;
13076
13057
  input: {
13077
13058
  param: {
13078
13059
  id: string;
@@ -13080,10 +13061,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13080
13061
  };
13081
13062
  } | {
13082
13063
  output: {
13083
- error: string;
13064
+ url: string;
13065
+ dryRun: boolean;
13084
13066
  };
13085
13067
  outputFormat: "json";
13086
- status: 404 | 409;
13068
+ status: 201;
13087
13069
  input: {
13088
13070
  param: {
13089
13071
  id: string;
@@ -13095,10 +13077,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13095
13077
  "/runs/:id/remove-worktree": {
13096
13078
  $post: {
13097
13079
  output: {
13098
- removed: true;
13080
+ error: string;
13099
13081
  };
13100
13082
  outputFormat: "json";
13101
- status: import("hono/utils/http-status").ContentfulStatusCode;
13083
+ status: 404 | 409;
13102
13084
  input: {
13103
13085
  param: {
13104
13086
  id: string;
@@ -13106,10 +13088,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13106
13088
  };
13107
13089
  } | {
13108
13090
  output: {
13109
- error: string;
13091
+ removed: true;
13110
13092
  };
13111
13093
  outputFormat: "json";
13112
- status: 404 | 409;
13094
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13113
13095
  input: {
13114
13096
  param: {
13115
13097
  id: string;
@@ -13121,10 +13103,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13121
13103
  "/runs/:id": {
13122
13104
  $delete: {
13123
13105
  output: {
13124
- deleted: true;
13106
+ error: string;
13125
13107
  };
13126
13108
  outputFormat: "json";
13127
- status: import("hono/utils/http-status").ContentfulStatusCode;
13109
+ status: 404 | 409;
13128
13110
  input: {
13129
13111
  param: {
13130
13112
  id: string;
@@ -13132,10 +13114,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13132
13114
  };
13133
13115
  } | {
13134
13116
  output: {
13135
- error: string;
13117
+ deleted: true;
13136
13118
  };
13137
13119
  outputFormat: "json";
13138
- status: 404 | 409;
13120
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13139
13121
  input: {
13140
13122
  param: {
13141
13123
  id: string;