@hearsay-tools/squawk 0.19.0-pr4470.8810 → 0.19.0-pr4470.8813

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 (56) hide show
  1. package/dist/delegation/routes.d.ts +65 -65
  2. package/dist/delegation/transport.d.ts +65 -65
  3. package/dist/server/activity-routes.d.ts +23 -23
  4. package/dist/server/automations-routes.d.ts +150 -150
  5. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  6. package/dist/server/providers-routes.d.ts +53 -53
  7. package/dist/server/reports-api.d.ts +2 -2
  8. package/dist/server/runner-install-routes.d.ts +10 -10
  9. package/dist/server/runs-routes.d.ts +323 -323
  10. package/package.json +4 -4
  11. package/web/dist/assets/{accounts-section-ZJaxa0ws.js → accounts-section-B6L_eCge.js} +1 -1
  12. package/web/dist/assets/{activity-motion-Bkwo8yxQ.js → activity-motion-uHV9WVWW.js} +1 -1
  13. package/web/dist/assets/{activity-route-CJFHNp7p.js → activity-route-ZvBSfbJa.js} +1 -1
  14. package/web/dist/assets/{agent-config-section-Cz3tUJvw.js → agent-config-section-Czu88iFQ.js} +1 -1
  15. package/web/dist/assets/{agent-defaults-section-CnGHJN7R.js → agent-defaults-section-kdQ9hwMn.js} +1 -1
  16. package/web/dist/assets/{appearance-CKjPrzE3.js → appearance-ELzA_Y-r.js} +1 -1
  17. package/web/dist/assets/{automations-route-CymdfMBx.js → automations-route-wgVmxFuL.js} +1 -1
  18. package/web/dist/assets/{commit-list-B1SpTAaS.js → commit-list-Cg2wU-b9.js} +1 -1
  19. package/web/dist/assets/{diff-BrbNWj7y.js → diff-KCTM2Wz-.js} +2 -2
  20. package/web/dist/assets/{diff-controls-CZLbdxkK.js → diff-controls-LZ-ro_V5.js} +1 -1
  21. package/web/dist/assets/{diff-view-DkfvBxrR.js → diff-view-ClhSIhOU.js} +1 -1
  22. package/web/dist/assets/{file-preview-8vqhlX0I.js → file-preview-DaPUicrL.js} +1 -1
  23. package/web/dist/assets/{git-toolbar-CTEYJh9R.js → git-toolbar-BxqFj5Ea.js} +1 -1
  24. package/web/dist/assets/{github-8Oo1wlOz.js → github-C-fDvzWv.js} +1 -1
  25. package/web/dist/assets/{global-activity-route-CWjJ7KMi.js → global-activity-route-ccfZhHur.js} +1 -1
  26. package/web/dist/assets/{index-BCMM9kwB.js → index-_l5gcUqA.js} +4 -4
  27. package/web/dist/assets/{markdown-CDwLT_Zo.js → markdown-Ce-c_H3H.js} +1 -1
  28. package/web/dist/assets/{notifications-section-CufMQ_aA.js → notifications-section-Bn2KqIj5.js} +1 -1
  29. package/web/dist/assets/{preview-pane-connected-D-p-Wo1e.js → preview-pane-connected-BZv6a88f.js} +1 -1
  30. package/web/dist/assets/{projects-section-Du4mWaBG.js → projects-section-HvvoRCCN.js} +1 -1
  31. package/web/dist/assets/{prompt-templates-section-Cn5Dm2Kq.js → prompt-templates-section-Bp1Lpuah.js} +1 -1
  32. package/web/dist/assets/{remote-settings-notice-C2F0S6Xi.js → remote-settings-notice-C2WnWH7Z.js} +1 -1
  33. package/web/dist/assets/{repo-git-nOej5vaY.js → repo-git-B4-HsX3H.js} +1 -1
  34. package/web/dist/assets/{report-reader-DXDyHLI5.js → report-reader-BDC1M3FH.js} +1 -1
  35. package/web/dist/assets/{reports-BXQWu0D9.js → reports-ByXyb8Qq.js} +1 -1
  36. package/web/dist/assets/{resources-section-DnBDtF-Z.js → resources-section-a6pURXjH.js} +1 -1
  37. package/web/dist/assets/{review-panel-CD7INzpv.js → review-panel-DO8pEdxG.js} +1 -1
  38. package/web/dist/assets/{run-header-ga6LpZ6B.js → run-header-ZKCViZcp.js} +1 -1
  39. package/web/dist/assets/{select-DjVfqZIf.js → select-DyUG6Pq0.js} +1 -1
  40. package/web/dist/assets/{session-context-section-Dmdr9D-0.js → session-context-section-BK-gaYfD.js} +1 -1
  41. package/web/dist/assets/{settings-agent-picker-BRxcREGz.js → settings-agent-picker-BWIzThpj.js} +1 -1
  42. package/web/dist/assets/{settings-shell-hMtuWlW6.js → settings-shell-Kpi86jxR.js} +1 -1
  43. package/web/dist/assets/{sidebar-section-CRU1Yozo.js → sidebar-section-uIA0bp4R.js} +1 -1
  44. package/web/dist/assets/{skills-D-YA6r4J.js → skills-F_PlpaAj.js} +1 -1
  45. package/web/dist/assets/{task-changes-Dpmk7-jn.js → task-changes-B0OznsI4.js} +1 -1
  46. package/web/dist/assets/{task-commits-BbUcysrh.js → task-commits-YLAnUoUT.js} +1 -1
  47. package/web/dist/assets/{task-file-scope-CAsvHxYZ.js → task-file-scope-lYm3HhO-.js} +1 -1
  48. package/web/dist/assets/{task-files-D-j1krBy.js → task-files-CBWCKg1N.js} +1 -1
  49. package/web/dist/assets/{task-github-item-BCZfCytm.js → task-github-item-BoBW3pWI.js} +1 -1
  50. package/web/dist/assets/{task-thread-C1wBylDY.js → task-thread-QCh0XSC9.js} +1 -1
  51. package/web/dist/assets/{thread-state-B68mfXy-.js → thread-state-UskdtPpY.js} +1 -1
  52. package/web/dist/assets/{use-hand-to-agent-state-Cms9HEqR.js → use-hand-to-agent-state-BAIAj5y3.js} +1 -1
  53. package/web/dist/assets/{workflows-XdR2S8G_.js → workflows-Czz1Sh3f.js} +1 -1
  54. package/web/dist/assets/{workspace-tools-CvzIyMXI.js → workspace-tools-NblPQmRw.js} +1 -1
  55. package/web/dist/assets/{worktrees-section-Ca51lQOw.js → worktrees-section-Wvpc1NIq.js} +1 -1
  56. package/web/dist/index.html +1 -1
@@ -1215,6 +1215,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1215
1215
  } & {
1216
1216
  "/run-summaries": {
1217
1217
  $get: {
1218
+ output: {
1219
+ error: string;
1220
+ code?: "invalid_input" | undefined;
1221
+ };
1222
+ outputFormat: "json";
1223
+ status: 400;
1224
+ input: {
1225
+ query: {
1226
+ archived?: "all" | "recent" | undefined;
1227
+ };
1228
+ };
1229
+ } | {
1218
1230
  output: {
1219
1231
  id: string;
1220
1232
  title: string;
@@ -1352,18 +1364,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1352
1364
  archived?: "all" | "recent" | undefined;
1353
1365
  };
1354
1366
  };
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
- };
1367
1367
  };
1368
1368
  };
1369
1369
  } & {
@@ -1725,11 +1725,24 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1725
1725
  "/runs/:id/worker-destroy": {
1726
1726
  $post: {
1727
1727
  output: {
1728
- error: string;
1729
- code?: "invalid_input" | undefined;
1728
+ workerId: string;
1729
+ state: "complete" | "incomplete";
1730
+ work?: {
1731
+ uncommittedFiles: number;
1732
+ commits: number;
1733
+ } | undefined;
1734
+ deleted?: ({
1735
+ kind: "worktree";
1736
+ path: string;
1737
+ } | {
1738
+ kind: "branch";
1739
+ ref: string;
1740
+ })[] | undefined;
1741
+ remaining: ("branch" | "process" | "worktree")[];
1742
+ error?: string | undefined;
1730
1743
  };
1731
1744
  outputFormat: "json";
1732
- status: 400;
1745
+ status: 200;
1733
1746
  input: {
1734
1747
  query: {
1735
1748
  [x: string]: string | string[];
@@ -1745,22 +1758,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1745
1758
  };
1746
1759
  } | {
1747
1760
  output: {
1748
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1749
- readonly error: string;
1750
- readonly modelChoices?: {
1751
- runner: string;
1752
- requestedModel: string;
1753
- availableModels: {
1754
- id: string;
1755
- label: string;
1756
- description: string;
1757
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1758
- }[];
1759
- otherRunners: string[];
1760
- } | undefined;
1761
+ error: string;
1762
+ code?: "invalid_input" | undefined;
1761
1763
  };
1762
1764
  outputFormat: "json";
1763
- status: 400 | 401 | 403 | 409 | 503;
1765
+ status: 400;
1764
1766
  input: {
1765
1767
  query: {
1766
1768
  [x: string]: string | string[];
@@ -1793,7 +1795,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1793
1795
  error?: string | undefined;
1794
1796
  };
1795
1797
  outputFormat: "json";
1796
- status: 200;
1798
+ status: 409;
1797
1799
  input: {
1798
1800
  query: {
1799
1801
  [x: string]: string | string[];
@@ -1809,24 +1811,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1809
1811
  };
1810
1812
  } | {
1811
1813
  output: {
1812
- workerId: string;
1813
- state: "complete" | "incomplete";
1814
- work?: {
1815
- uncommittedFiles: number;
1816
- commits: number;
1814
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
1815
+ readonly error: string;
1816
+ readonly modelChoices?: {
1817
+ runner: string;
1818
+ requestedModel: string;
1819
+ availableModels: {
1820
+ id: string;
1821
+ label: string;
1822
+ description: string;
1823
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
1824
+ }[];
1825
+ otherRunners: string[];
1817
1826
  } | undefined;
1818
- deleted?: ({
1819
- kind: "worktree";
1820
- path: string;
1821
- } | {
1822
- kind: "branch";
1823
- ref: string;
1824
- })[] | undefined;
1825
- remaining: ("branch" | "process" | "worktree")[];
1826
- error?: string | undefined;
1827
1827
  };
1828
1828
  outputFormat: "json";
1829
- status: 409;
1829
+ status: 400 | 401 | 403 | 409 | 503;
1830
1830
  input: {
1831
1831
  query: {
1832
1832
  [x: string]: string | string[];
@@ -1878,6 +1878,21 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
1878
1878
  } & {
1879
1879
  "/runs/:id/archive": {
1880
1880
  $post: {
1881
+ output: {
1882
+ error: string;
1883
+ };
1884
+ outputFormat: "json";
1885
+ status: 404;
1886
+ input: {
1887
+ json: {
1888
+ archived?: boolean | undefined;
1889
+ };
1890
+ } & {
1891
+ param: {
1892
+ id: string;
1893
+ };
1894
+ };
1895
+ } | {
1881
1896
  output: {
1882
1897
  archiveWhenDone?: boolean | undefined;
1883
1898
  autoMergePr?: boolean | undefined;
@@ -3056,32 +3071,32 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
3056
3071
  id: string;
3057
3072
  };
3058
3073
  };
3059
- } | {
3074
+ };
3075
+ };
3076
+ } & {
3077
+ "/runs/:id/pin": {
3078
+ $post: {
3060
3079
  output: {
3061
3080
  error: string;
3081
+ code?: "invalid_input" | undefined;
3062
3082
  };
3063
3083
  outputFormat: "json";
3064
- status: 404;
3084
+ status: 400;
3065
3085
  input: {
3066
- json: {
3067
- archived?: boolean | undefined;
3068
- };
3069
- } & {
3070
3086
  param: {
3071
3087
  id: string;
3072
3088
  };
3089
+ } & {
3090
+ json: {
3091
+ pinned?: boolean | undefined;
3092
+ };
3073
3093
  };
3074
- };
3075
- };
3076
- } & {
3077
- "/runs/:id/pin": {
3078
- $post: {
3094
+ } | {
3079
3095
  output: {
3080
3096
  error: string;
3081
- code?: "invalid_input" | undefined;
3082
3097
  };
3083
3098
  outputFormat: "json";
3084
- status: 400;
3099
+ status: 404;
3085
3100
  input: {
3086
3101
  param: {
3087
3102
  id: string;
@@ -4270,21 +4285,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4270
4285
  pinned?: boolean | undefined;
4271
4286
  };
4272
4287
  };
4273
- } | {
4274
- output: {
4275
- error: string;
4276
- };
4277
- outputFormat: "json";
4278
- status: 404;
4279
- input: {
4280
- param: {
4281
- id: string;
4282
- };
4283
- } & {
4284
- json: {
4285
- pinned?: boolean | undefined;
4286
- };
4287
- };
4288
4288
  };
4289
4289
  };
4290
4290
  } & {
@@ -4311,7 +4311,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4311
4311
  error: string;
4312
4312
  };
4313
4313
  outputFormat: "json";
4314
- status: 404;
4314
+ status: 400;
4315
4315
  input: {
4316
4316
  param: {
4317
4317
  id: string;
@@ -4327,7 +4327,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
4327
4327
  error: string;
4328
4328
  };
4329
4329
  outputFormat: "json";
4330
- status: 400;
4330
+ status: 404;
4331
4331
  input: {
4332
4332
  param: {
4333
4333
  id: string;
@@ -5549,6 +5549,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
5549
5549
  } & {
5550
5550
  "/runs/:id/read": {
5551
5551
  $post: {
5552
+ output: {
5553
+ error: string;
5554
+ };
5555
+ outputFormat: "json";
5556
+ status: 404;
5557
+ input: {
5558
+ param: {
5559
+ id: string;
5560
+ };
5561
+ };
5562
+ } | {
5552
5563
  output: {
5553
5564
  archiveWhenDone?: boolean | undefined;
5554
5565
  autoMergePr?: boolean | undefined;
@@ -6723,7 +6734,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6723
6734
  id: string;
6724
6735
  };
6725
6736
  };
6726
- } | {
6737
+ };
6738
+ };
6739
+ } & {
6740
+ "/runs/:id/unread": {
6741
+ $post: {
6727
6742
  output: {
6728
6743
  error: string;
6729
6744
  };
@@ -6734,11 +6749,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
6734
6749
  id: string;
6735
6750
  };
6736
6751
  };
6737
- };
6738
- };
6739
- } & {
6740
- "/runs/:id/unread": {
6741
- $post: {
6752
+ } | {
6742
6753
  output: {
6743
6754
  archiveWhenDone?: boolean | undefined;
6744
6755
  autoMergePr?: boolean | undefined;
@@ -7913,17 +7924,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
7913
7924
  id: string;
7914
7925
  };
7915
7926
  };
7916
- } | {
7917
- output: {
7918
- error: string;
7919
- };
7920
- outputFormat: "json";
7921
- status: 404;
7922
- input: {
7923
- param: {
7924
- id: string;
7925
- };
7926
- };
7927
7927
  };
7928
7928
  };
7929
7929
  } & {
@@ -9199,6 +9199,17 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
9199
9199
  } & {
9200
9200
  "/runs/:id": {
9201
9201
  $get: {
9202
+ output: {
9203
+ error: string;
9204
+ };
9205
+ outputFormat: "json";
9206
+ status: 404;
9207
+ input: {
9208
+ param: {
9209
+ id: string;
9210
+ };
9211
+ };
9212
+ } | {
9202
9213
  output: {
9203
9214
  archiveWhenDone?: boolean | undefined;
9204
9215
  autoMergePr?: boolean | undefined;
@@ -10381,17 +10392,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10381
10392
  id: string;
10382
10393
  };
10383
10394
  };
10384
- } | {
10385
- output: {
10386
- error: string;
10387
- };
10388
- outputFormat: "json";
10389
- status: 404;
10390
- input: {
10391
- param: {
10392
- id: string;
10393
- };
10394
- };
10395
10395
  };
10396
10396
  };
10397
10397
  } & {
@@ -10520,46 +10520,106 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
10520
10520
  "/runs/:id": {
10521
10521
  $patch: {
10522
10522
  output: {
10523
- archiveWhenDone?: boolean | undefined;
10524
- autoMergePr?: boolean | undefined;
10525
- allowWorkers?: boolean | undefined;
10526
- allowMessaging?: boolean | undefined;
10527
- id: string;
10528
- title: string;
10529
- titleSummary?: string | undefined;
10530
- diffStat?: {
10531
- adds: number;
10532
- dels: number;
10533
- files: number;
10534
- repointed?: boolean | undefined;
10535
- } | undefined;
10536
- workflow: string;
10537
- task: string;
10538
- queuedMessages?: {
10539
- replayAfterOpen?: true | undefined;
10540
- id: string;
10541
- text: string;
10542
- images?: string[] | undefined;
10543
- createdAt: string;
10544
- }[] | undefined;
10545
- continuationMessage?: {
10546
- replayAfterOpen?: true | undefined;
10547
- id: string;
10548
- text: string;
10549
- images?: string[] | undefined;
10550
- createdAt: string;
10551
- origin?: "human" | "lifecycle" | undefined;
10552
- agentInputId?: string | undefined;
10523
+ error: string;
10524
+ };
10525
+ outputFormat: "json";
10526
+ status: 400;
10527
+ input: {
10528
+ json: {
10529
+ archiveWhenDone?: boolean | undefined;
10530
+ autoMergePr?: boolean | undefined;
10531
+ allowWorkers?: boolean | undefined;
10532
+ allowMessaging?: boolean | undefined;
10533
+ title?: string | undefined;
10553
10534
  task?: string | undefined;
10554
- resumeContext?: {
10555
- failure?: {
10556
- stepId?: string | undefined;
10557
- error: string;
10558
- } | undefined;
10559
- restarted?: true | undefined;
10560
- cutOff?: {
10561
- tools?: string[] | undefined;
10562
- subagents?: string[] | undefined;
10535
+ };
10536
+ } & {
10537
+ param: {
10538
+ id: string;
10539
+ };
10540
+ };
10541
+ } | {
10542
+ output: {
10543
+ error: string;
10544
+ };
10545
+ outputFormat: "json";
10546
+ status: 404;
10547
+ input: {
10548
+ json: {
10549
+ archiveWhenDone?: boolean | undefined;
10550
+ autoMergePr?: boolean | undefined;
10551
+ allowWorkers?: boolean | undefined;
10552
+ allowMessaging?: boolean | undefined;
10553
+ title?: string | undefined;
10554
+ task?: string | undefined;
10555
+ };
10556
+ } & {
10557
+ param: {
10558
+ id: string;
10559
+ };
10560
+ };
10561
+ } | {
10562
+ output: {
10563
+ error: string;
10564
+ };
10565
+ outputFormat: "json";
10566
+ status: 409;
10567
+ input: {
10568
+ json: {
10569
+ archiveWhenDone?: boolean | undefined;
10570
+ autoMergePr?: boolean | undefined;
10571
+ allowWorkers?: boolean | undefined;
10572
+ allowMessaging?: boolean | undefined;
10573
+ title?: string | undefined;
10574
+ task?: string | undefined;
10575
+ };
10576
+ } & {
10577
+ param: {
10578
+ id: string;
10579
+ };
10580
+ };
10581
+ } | {
10582
+ output: {
10583
+ archiveWhenDone?: boolean | undefined;
10584
+ autoMergePr?: boolean | undefined;
10585
+ allowWorkers?: boolean | undefined;
10586
+ allowMessaging?: boolean | undefined;
10587
+ id: string;
10588
+ title: string;
10589
+ titleSummary?: string | undefined;
10590
+ diffStat?: {
10591
+ adds: number;
10592
+ dels: number;
10593
+ files: number;
10594
+ repointed?: boolean | undefined;
10595
+ } | undefined;
10596
+ workflow: string;
10597
+ task: string;
10598
+ queuedMessages?: {
10599
+ replayAfterOpen?: true | undefined;
10600
+ id: string;
10601
+ text: string;
10602
+ images?: string[] | undefined;
10603
+ createdAt: string;
10604
+ }[] | undefined;
10605
+ continuationMessage?: {
10606
+ replayAfterOpen?: true | undefined;
10607
+ id: string;
10608
+ text: string;
10609
+ images?: string[] | undefined;
10610
+ createdAt: string;
10611
+ origin?: "human" | "lifecycle" | undefined;
10612
+ agentInputId?: string | undefined;
10613
+ task?: string | undefined;
10614
+ resumeContext?: {
10615
+ failure?: {
10616
+ stepId?: string | undefined;
10617
+ error: string;
10618
+ } | undefined;
10619
+ restarted?: true | undefined;
10620
+ cutOff?: {
10621
+ tools?: string[] | undefined;
10622
+ subagents?: string[] | undefined;
10563
10623
  } | undefined;
10564
10624
  } | undefined;
10565
10625
  } | undefined;
@@ -11702,66 +11762,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11702
11762
  id: string;
11703
11763
  };
11704
11764
  };
11705
- } | {
11706
- output: {
11707
- error: string;
11708
- };
11709
- outputFormat: "json";
11710
- status: 404;
11711
- input: {
11712
- json: {
11713
- archiveWhenDone?: boolean | undefined;
11714
- autoMergePr?: boolean | undefined;
11715
- allowWorkers?: boolean | undefined;
11716
- allowMessaging?: boolean | undefined;
11717
- title?: string | undefined;
11718
- task?: string | undefined;
11719
- };
11720
- } & {
11721
- param: {
11722
- id: string;
11723
- };
11724
- };
11725
- } | {
11726
- output: {
11727
- error: string;
11728
- };
11729
- outputFormat: "json";
11730
- status: 400;
11731
- input: {
11732
- json: {
11733
- archiveWhenDone?: boolean | undefined;
11734
- autoMergePr?: boolean | undefined;
11735
- allowWorkers?: boolean | undefined;
11736
- allowMessaging?: boolean | undefined;
11737
- title?: string | undefined;
11738
- task?: string | undefined;
11739
- };
11740
- } & {
11741
- param: {
11742
- id: string;
11743
- };
11744
- };
11745
- } | {
11746
- output: {
11747
- error: string;
11748
- };
11749
- outputFormat: "json";
11750
- status: 409;
11751
- input: {
11752
- json: {
11753
- archiveWhenDone?: boolean | undefined;
11754
- autoMergePr?: boolean | undefined;
11755
- allowWorkers?: boolean | undefined;
11756
- allowMessaging?: boolean | undefined;
11757
- title?: string | undefined;
11758
- task?: string | undefined;
11759
- };
11760
- } & {
11761
- param: {
11762
- id: string;
11763
- };
11764
- };
11765
11765
  };
11766
11766
  };
11767
11767
  } & {
@@ -11866,7 +11866,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11866
11866
  error: string;
11867
11867
  };
11868
11868
  outputFormat: "json";
11869
- status: 404;
11869
+ status: 400;
11870
11870
  input: {
11871
11871
  json: {
11872
11872
  text?: string | undefined;
@@ -11885,7 +11885,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11885
11885
  error: string;
11886
11886
  };
11887
11887
  outputFormat: "json";
11888
- status: 409;
11888
+ status: 404;
11889
11889
  input: {
11890
11890
  json: {
11891
11891
  text?: string | undefined;
@@ -11901,10 +11901,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11901
11901
  };
11902
11902
  } | {
11903
11903
  output: {
11904
- delivered: true;
11904
+ error: string;
11905
11905
  };
11906
11906
  outputFormat: "json";
11907
- status: import("hono/utils/http-status").ContentfulStatusCode;
11907
+ status: 409;
11908
11908
  input: {
11909
11909
  json: {
11910
11910
  text?: string | undefined;
@@ -11920,10 +11920,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11920
11920
  };
11921
11921
  } | {
11922
11922
  output: {
11923
- error: string;
11923
+ delivered: true;
11924
11924
  };
11925
11925
  outputFormat: "json";
11926
- status: 400;
11926
+ status: import("hono/utils/http-status").ContentfulStatusCode;
11927
11927
  input: {
11928
11928
  json: {
11929
11929
  text?: string | undefined;
@@ -11991,7 +11991,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
11991
11991
  error: string;
11992
11992
  };
11993
11993
  outputFormat: "json";
11994
- status: 404;
11994
+ status: 400;
11995
11995
  input: {
11996
11996
  json: {
11997
11997
  text?: string | undefined;
@@ -12012,7 +12012,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12012
12012
  error: string;
12013
12013
  };
12014
12014
  outputFormat: "json";
12015
- status: 400;
12015
+ status: 404;
12016
12016
  input: {
12017
12017
  json: {
12018
12018
  text?: string | undefined;
@@ -12232,10 +12232,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12232
12232
  "/runs/:id/open-in-cli": {
12233
12233
  $post: {
12234
12234
  output: {
12235
- error: string;
12235
+ opened: true;
12236
+ command: string;
12236
12237
  };
12237
12238
  outputFormat: "json";
12238
- status: 404 | 409;
12239
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12239
12240
  input: {
12240
12241
  param: {
12241
12242
  id: string;
@@ -12243,11 +12244,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12243
12244
  };
12244
12245
  } | {
12245
12246
  output: {
12246
- opened: true;
12247
- command: string;
12247
+ error: string;
12248
12248
  };
12249
12249
  outputFormat: "json";
12250
- status: import("hono/utils/http-status").ContentfulStatusCode;
12250
+ status: 404 | 409;
12251
12251
  input: {
12252
12252
  param: {
12253
12253
  id: string;
@@ -12262,7 +12262,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12262
12262
  error: string;
12263
12263
  };
12264
12264
  outputFormat: "json";
12265
- status: 404 | 409;
12265
+ status: 400;
12266
12266
  input: {
12267
12267
  json: {
12268
12268
  target: string;
@@ -12275,10 +12275,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12275
12275
  };
12276
12276
  } | {
12277
12277
  output: {
12278
- error: string;
12278
+ opened: true;
12279
+ path: string;
12279
12280
  };
12280
12281
  outputFormat: "json";
12281
- status: 400;
12282
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12282
12283
  input: {
12283
12284
  json: {
12284
12285
  target: string;
@@ -12291,11 +12292,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12291
12292
  };
12292
12293
  } | {
12293
12294
  output: {
12294
- opened: true;
12295
- path: string;
12295
+ error: string;
12296
12296
  };
12297
12297
  outputFormat: "json";
12298
- status: import("hono/utils/http-status").ContentfulStatusCode;
12298
+ status: 404 | 409;
12299
12299
  input: {
12300
12300
  json: {
12301
12301
  target: string;
@@ -12335,9 +12335,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12335
12335
  } & {
12336
12336
  "/runs/:id/images/:file": {
12337
12337
  $get: {
12338
- output: {};
12339
- outputFormat: string;
12340
- status: import("hono/utils/http-status").StatusCode;
12338
+ output: {
12339
+ error: string;
12340
+ code?: "invalid_input" | undefined;
12341
+ };
12342
+ outputFormat: "json";
12343
+ status: 400;
12341
12344
  input: {
12342
12345
  param: {
12343
12346
  id: string;
@@ -12345,12 +12348,9 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12345
12348
  };
12346
12349
  };
12347
12350
  } | {
12348
- output: {
12349
- error: string;
12350
- code?: "invalid_input" | undefined;
12351
- };
12352
- outputFormat: "json";
12353
- status: 400;
12351
+ output: {};
12352
+ outputFormat: string;
12353
+ status: import("hono/utils/http-status").StatusCode;
12354
12354
  input: {
12355
12355
  param: {
12356
12356
  id: string;
@@ -12386,17 +12386,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12386
12386
  } & {
12387
12387
  "/runs/:id/changes": {
12388
12388
  $get: {
12389
- output: {
12390
- error: string;
12391
- };
12392
- outputFormat: "json";
12393
- status: 404 | 409;
12394
- input: {
12395
- param: {
12396
- id: string;
12397
- };
12398
- };
12399
- } | {
12400
12389
  output: {
12401
12390
  files: {
12402
12391
  path: string;
@@ -12425,11 +12414,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12425
12414
  id: string;
12426
12415
  };
12427
12416
  };
12428
- };
12429
- };
12430
- } & {
12431
- "/runs/:id/commits": {
12432
- $get: {
12417
+ } | {
12433
12418
  output: {
12434
12419
  error: string;
12435
12420
  };
@@ -12440,7 +12425,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12440
12425
  id: string;
12441
12426
  };
12442
12427
  };
12443
- } | {
12428
+ };
12429
+ };
12430
+ } & {
12431
+ "/runs/:id/commits": {
12432
+ $get: {
12444
12433
  output: {
12445
12434
  commits: {
12446
12435
  sha: string;
@@ -12456,11 +12445,7 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12456
12445
  id: string;
12457
12446
  };
12458
12447
  };
12459
- };
12460
- };
12461
- } & {
12462
- "/runs/:id/commit/:sha": {
12463
- $get: {
12448
+ } | {
12464
12449
  output: {
12465
12450
  error: string;
12466
12451
  };
@@ -12469,11 +12454,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12469
12454
  input: {
12470
12455
  param: {
12471
12456
  id: string;
12472
- } & {
12473
- sha: string;
12474
12457
  };
12475
12458
  };
12476
- } | {
12459
+ };
12460
+ };
12461
+ } & {
12462
+ "/runs/:id/commit/:sha": {
12463
+ $get: {
12477
12464
  output: {
12478
12465
  sha: string;
12479
12466
  subject: string;
@@ -12504,6 +12491,19 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12504
12491
  sha: string;
12505
12492
  };
12506
12493
  };
12494
+ } | {
12495
+ output: {
12496
+ error: string;
12497
+ };
12498
+ outputFormat: "json";
12499
+ status: 404 | 409;
12500
+ input: {
12501
+ param: {
12502
+ id: string;
12503
+ } & {
12504
+ sha: string;
12505
+ };
12506
+ };
12507
12507
  };
12508
12508
  };
12509
12509
  } & {
@@ -12539,22 +12539,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12539
12539
  raw?: "1" | undefined;
12540
12540
  };
12541
12541
  };
12542
- } | {
12543
- output: {
12544
- error: string;
12545
- };
12546
- outputFormat: "json";
12547
- status: 404 | 409;
12548
- input: {
12549
- param: {
12550
- id: string;
12551
- };
12552
- } & {
12553
- query: {
12554
- path: string | string[];
12555
- raw?: "1" | undefined;
12556
- };
12557
- };
12558
12542
  } | {
12559
12543
  output: {
12560
12544
  type: "file";
@@ -12591,6 +12575,22 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12591
12575
  raw?: "1" | undefined;
12592
12576
  };
12593
12577
  };
12578
+ } | {
12579
+ output: {
12580
+ error: string;
12581
+ };
12582
+ outputFormat: "json";
12583
+ status: 404 | 409;
12584
+ input: {
12585
+ param: {
12586
+ id: string;
12587
+ };
12588
+ } & {
12589
+ query: {
12590
+ path: string | string[];
12591
+ raw?: "1" | undefined;
12592
+ };
12593
+ };
12594
12594
  };
12595
12595
  };
12596
12596
  } & {
@@ -12655,6 +12655,18 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12655
12655
  artifactId: string;
12656
12656
  };
12657
12657
  };
12658
+ } | {
12659
+ output: {
12660
+ error: string;
12661
+ };
12662
+ outputFormat: "json";
12663
+ status: 404;
12664
+ input: {
12665
+ param: {
12666
+ id: string;
12667
+ artifactId: string;
12668
+ };
12669
+ };
12658
12670
  } | {
12659
12671
  output: {
12660
12672
  type: "file";
@@ -12683,18 +12695,6 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12683
12695
  artifactId: string;
12684
12696
  };
12685
12697
  };
12686
- } | {
12687
- output: {
12688
- error: string;
12689
- };
12690
- outputFormat: "json";
12691
- status: 404;
12692
- input: {
12693
- param: {
12694
- id: string;
12695
- artifactId: string;
12696
- };
12697
- };
12698
12698
  };
12699
12699
  };
12700
12700
  } & {
@@ -12872,10 +12872,16 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12872
12872
  };
12873
12873
  } | {
12874
12874
  output: {
12875
- error: string;
12875
+ type: 'dir';
12876
+ path: string;
12877
+ entries: {
12878
+ name: string;
12879
+ type: 'dir' | 'file';
12880
+ size?: number;
12881
+ }[];
12876
12882
  };
12877
12883
  outputFormat: "json";
12878
- status: 404 | 409;
12884
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12879
12885
  input: {
12880
12886
  query: {
12881
12887
  path?: string | undefined;
@@ -12888,13 +12894,12 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12888
12894
  };
12889
12895
  } | {
12890
12896
  output: {
12891
- type: 'dir';
12897
+ type: 'file';
12892
12898
  path: string;
12893
- entries: {
12894
- name: string;
12895
- type: 'dir' | 'file';
12896
- size?: number;
12897
- }[];
12899
+ size: number;
12900
+ binary: boolean;
12901
+ tooLarge: boolean;
12902
+ content?: string | undefined;
12898
12903
  };
12899
12904
  outputFormat: "json";
12900
12905
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -12910,15 +12915,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12910
12915
  };
12911
12916
  } | {
12912
12917
  output: {
12913
- type: 'file';
12914
- path: string;
12915
- size: number;
12916
- binary: boolean;
12917
- tooLarge: boolean;
12918
- content?: string | undefined;
12918
+ error: string;
12919
12919
  };
12920
12920
  outputFormat: "json";
12921
- status: import("hono/utils/http-status").ContentfulStatusCode;
12921
+ status: 404 | 409;
12922
12922
  input: {
12923
12923
  query: {
12924
12924
  path?: string | undefined;
@@ -12935,10 +12935,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12935
12935
  "/runs/:id/git/commit": {
12936
12936
  $post: {
12937
12937
  output: {
12938
- error: string;
12938
+ committed: true;
12939
+ sha: string;
12939
12940
  };
12940
12941
  outputFormat: "json";
12941
- status: 404 | 409;
12942
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12942
12943
  input: {
12943
12944
  json: {
12944
12945
  message: string;
@@ -12950,11 +12951,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12950
12951
  };
12951
12952
  } | {
12952
12953
  output: {
12953
- committed: true;
12954
- sha: string;
12954
+ error: string;
12955
12955
  };
12956
12956
  outputFormat: "json";
12957
- status: import("hono/utils/http-status").ContentfulStatusCode;
12957
+ status: 404 | 409;
12958
12958
  input: {
12959
12959
  json: {
12960
12960
  message: string;
@@ -12970,10 +12970,13 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12970
12970
  "/runs/:id/git/push": {
12971
12971
  $post: {
12972
12972
  output: {
12973
- error: string;
12973
+ pushed: true;
12974
+ branch: string;
12975
+ remote: string;
12976
+ upstreamSet: boolean;
12974
12977
  };
12975
12978
  outputFormat: "json";
12976
- status: 404 | 409;
12979
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12977
12980
  input: {
12978
12981
  param: {
12979
12982
  id: string;
@@ -12981,13 +12984,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12981
12984
  };
12982
12985
  } | {
12983
12986
  output: {
12984
- pushed: true;
12985
- branch: string;
12986
- remote: string;
12987
- upstreamSet: boolean;
12987
+ error: string;
12988
12988
  };
12989
12989
  outputFormat: "json";
12990
- status: import("hono/utils/http-status").ContentfulStatusCode;
12990
+ status: 404 | 409;
12991
12991
  input: {
12992
12992
  param: {
12993
12993
  id: string;
@@ -12999,10 +12999,11 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
12999
12999
  "/runs/:id/pr": {
13000
13000
  $post: {
13001
13001
  output: {
13002
- error: string;
13002
+ url: string;
13003
+ dryRun: boolean;
13003
13004
  };
13004
13005
  outputFormat: "json";
13005
- status: 404 | 409;
13006
+ status: 201;
13006
13007
  input: {
13007
13008
  param: {
13008
13009
  id: string;
@@ -13010,11 +13011,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13010
13011
  };
13011
13012
  } | {
13012
13013
  output: {
13013
- url: string;
13014
- dryRun: boolean;
13014
+ error: string;
13015
13015
  };
13016
13016
  outputFormat: "json";
13017
- status: 201;
13017
+ status: 404 | 409;
13018
13018
  input: {
13019
13019
  param: {
13020
13020
  id: string;
@@ -13026,10 +13026,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13026
13026
  "/runs/:id/remove-worktree": {
13027
13027
  $post: {
13028
13028
  output: {
13029
- error: string;
13029
+ removed: true;
13030
13030
  };
13031
13031
  outputFormat: "json";
13032
- status: 404 | 409;
13032
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13033
13033
  input: {
13034
13034
  param: {
13035
13035
  id: string;
@@ -13037,10 +13037,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13037
13037
  };
13038
13038
  } | {
13039
13039
  output: {
13040
- removed: true;
13040
+ error: string;
13041
13041
  };
13042
13042
  outputFormat: "json";
13043
- status: import("hono/utils/http-status").ContentfulStatusCode;
13043
+ status: 404 | 409;
13044
13044
  input: {
13045
13045
  param: {
13046
13046
  id: string;
@@ -13052,10 +13052,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13052
13052
  "/runs/:id": {
13053
13053
  $delete: {
13054
13054
  output: {
13055
- error: string;
13055
+ deleted: true;
13056
13056
  };
13057
13057
  outputFormat: "json";
13058
- status: 404 | 409;
13058
+ status: import("hono/utils/http-status").ContentfulStatusCode;
13059
13059
  input: {
13060
13060
  param: {
13061
13061
  id: string;
@@ -13063,10 +13063,10 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
13063
13063
  };
13064
13064
  } | {
13065
13065
  output: {
13066
- deleted: true;
13066
+ error: string;
13067
13067
  };
13068
13068
  outputFormat: "json";
13069
- status: import("hono/utils/http-status").ContentfulStatusCode;
13069
+ status: 404 | 409;
13070
13070
  input: {
13071
13071
  param: {
13072
13072
  id: string;