@hearsay-tools/squawk 0.19.0-pr4650.9244 → 0.19.0-pr4651.9247

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 (99) hide show
  1. package/dist/features/hosts/routes.d.ts +64 -64
  2. package/dist/features/webhooks/routes.d.ts +38 -38
  3. package/dist/server/models-routes.d.ts +12 -12
  4. package/dist/server/providers-routes.d.ts +58 -58
  5. package/dist/server/runners-routes.d.ts +10 -10
  6. package/dist/server/workspace-live-routes.d.ts +5 -5
  7. package/dist/server/workspace-routes.d.ts +85 -85
  8. package/package.json +4 -4
  9. package/web/dist/assets/accounts-section-BzTWX7FS.js +1 -0
  10. package/web/dist/assets/activity-motion-Dd19aqNH.js +1 -0
  11. package/web/dist/assets/{activity-route-B2N8ZaZ_.js → activity-route-DBIT7Pml.js} +1 -1
  12. package/web/dist/assets/agent-accounts-g0pc-v3w.js +1 -0
  13. package/web/dist/assets/{agent-config-section-Ck4CXMFm.js → agent-config-section-CTQ8t65-.js} +2 -2
  14. package/web/dist/assets/{agent-defaults-section-CSonqNrH.js → agent-defaults-section-BI8fQVXX.js} +1 -1
  15. package/web/dist/assets/{appearance-CtRi80xH.js → appearance-Caq1vBFo.js} +1 -1
  16. package/web/dist/assets/{archive-on-merge-field-DWIBlp84.js → archive-on-merge-field-C-U1AcZK.js} +1 -1
  17. package/web/dist/assets/{ask-card-Cr2AS4K4.js → ask-card-B_u-94aG.js} +2 -2
  18. package/web/dist/assets/automations-route-BN6vNlQk.js +2 -0
  19. package/web/dist/assets/{commit-list-BjI9yFlp.js → commit-list-C9_ki_qC.js} +1 -1
  20. package/web/dist/assets/{diff-BKikntA1.js → diff-3XGuN_T9.js} +2 -2
  21. package/web/dist/assets/{diff-controls-DXLI7YrY.js → diff-controls-C_qF8bYG.js} +1 -1
  22. package/web/dist/assets/{diff-view-NHfT1G3r.js → diff-view-VacmmeA-.js} +1 -1
  23. package/web/dist/assets/{discard-changes-dialog-COQOWWB4.js → discard-changes-dialog-MFu0lOFY.js} +1 -1
  24. package/web/dist/assets/{file-preview-CuynH2GY.js → file-preview-DdmfKxYy.js} +1 -1
  25. package/web/dist/assets/{folder-browser-p1qA81Do.js → folder-browser-zUBw6qvo.js} +1 -1
  26. package/web/dist/assets/{git-toolbar-C27plnSQ.js → git-toolbar-opVNRy9-.js} +1 -1
  27. package/web/dist/assets/github-CQr4wYZt.js +1 -0
  28. package/web/dist/assets/{global-activity-route-DUa3ZKH5.js → global-activity-route-D_LdZ3TC.js} +1 -1
  29. package/web/dist/assets/{hosts-dk-7MbxQ.js → hosts-CH0ccVxB.js} +1 -1
  30. package/web/dist/assets/index-DHb-HKwN.js +21 -0
  31. package/web/dist/assets/label-CIpERq4R.js +1 -0
  32. package/web/dist/assets/{markdown-RyIndDEG.js → markdown-2QigZKVA.js} +1 -1
  33. package/web/dist/assets/{open-in-menu-GSvSbohX.js → open-in-menu-CvyjqRjX.js} +1 -1
  34. package/web/dist/assets/{option-select-DRpdIulm.js → option-select-DWIgcaod.js} +1 -1
  35. package/web/dist/assets/preferences-section-D6CcfRdC.js +1 -0
  36. package/web/dist/assets/{preview-B13nIXDV.js → preview-DXX3jdRy.js} +1 -1
  37. package/web/dist/assets/{preview-pane-connected-B9GKjFwm.js → preview-pane-connected-slFWo_M0.js} +2 -2
  38. package/web/dist/assets/{project-location-BE1vP9ox.js → project-location-DniM0QzX.js} +1 -1
  39. package/web/dist/assets/{project-router-Bl7pejIP.js → project-router-TP6DSj1S.js} +1 -1
  40. package/web/dist/assets/project-scope-context-BWHk0niI.js +4 -0
  41. package/web/dist/assets/{projects-section-B3-nydjA.js → projects-section-DOVIoDf3.js} +1 -1
  42. package/web/dist/assets/{prompt-templates-section-JgrQfgx0.js → prompt-templates-section-CyxEdhAo.js} +2 -2
  43. package/web/dist/assets/queries-DFP_aKde.js +1 -0
  44. package/web/dist/assets/{reference-chip-jxISA5ls.js → reference-chip-V1w0DoC4.js} +1 -1
  45. package/web/dist/assets/{remote-settings-notice-BihAOLqD.js → remote-settings-notice-DQ54dohL.js} +1 -1
  46. package/web/dist/assets/repo-git-CyMIlc0w.js +1 -0
  47. package/web/dist/assets/{report-reader-DjeG4XbX.js → report-reader-CnKu3tJE.js} +1 -1
  48. package/web/dist/assets/{report-selection-DBxcKtc9.js → report-selection-Dm13Gnb_.js} +1 -1
  49. package/web/dist/assets/{reports-DWiYYakL.js → reports-C76Maxdr.js} +1 -1
  50. package/web/dist/assets/{resources-section-DWjxu1Aj.js → resources-section-BbwXpGG5.js} +1 -1
  51. package/web/dist/assets/{review-notes-drafts-iAtTr6a6.js → review-notes-drafts-D8F1TXuj.js} +1 -1
  52. package/web/dist/assets/{review-panel-DPRxBYq7.js → review-panel-mZJ2KmYb.js} +1 -1
  53. package/web/dist/assets/{review-strip-S4KkkMIo.js → review-strip-BQR-Pqf4.js} +1 -1
  54. package/web/dist/assets/{run-detail-refresh-e7rB9lt5.js → run-detail-refresh-DOdX7ViE.js} +1 -1
  55. package/web/dist/assets/run-diff-CBRfeZ7t.js +2 -0
  56. package/web/dist/assets/run-header-C8mA-ovk.js +2 -0
  57. package/web/dist/assets/{select-DlJM2_n-.js → select-ybZ2b7Am.js} +1 -1
  58. package/web/dist/assets/{session-context-section-vdKhbdZx.js → session-context-section-OUczSWJJ.js} +1 -1
  59. package/web/dist/assets/{settings-agent-picker-tNi4Xm3k.js → settings-agent-picker-CzBayuMQ.js} +1 -1
  60. package/web/dist/assets/{settings-save-bar-fQqyWU1c.js → settings-save-bar-BDDENZtu.js} +1 -1
  61. package/web/dist/assets/{settings-shell-B-pmSB5-.js → settings-shell-ywT473J1.js} +1 -1
  62. package/web/dist/assets/{sidebar-section-DBgf2u5s.js → sidebar-section-Dn5SDF8q.js} +1 -1
  63. package/web/dist/assets/{skills-BePs-LtJ.js → skills-C0xjHPdP.js} +1 -1
  64. package/web/dist/assets/{status-dot-BlqTixB7.js → status-dot-Bn3O77El.js} +1 -1
  65. package/web/dist/assets/{tab-link-tv_Wy5eF.js → tab-link-BeONvGY1.js} +1 -1
  66. package/web/dist/assets/task-changes-m4c1Rvip.js +5 -0
  67. package/web/dist/assets/{task-commits-BgDfumUM.js → task-commits-BNvHOSjZ.js} +1 -1
  68. package/web/dist/assets/{task-file-scope-Bqt2wkkO.js → task-file-scope-DmbgF-9p.js} +1 -1
  69. package/web/dist/assets/{task-files-BME7tXzx.js → task-files-CV9Ui3CR.js} +1 -1
  70. package/web/dist/assets/task-github-item-DcawQFlX.js +1 -0
  71. package/web/dist/assets/task-thread-BGzzejkQ.js +2 -0
  72. package/web/dist/assets/{thread-state-DWcNrVOV.js → thread-state-DD7304k3.js} +1 -1
  73. package/web/dist/assets/unified-diff-ZoLnVFyY.js +3 -0
  74. package/web/dist/assets/{use-finish-run-B4gkbFl_.js → use-finish-run-ESdyReuF.js} +1 -1
  75. package/web/dist/assets/{use-hand-to-agent-state-7ItPHT6A.js → use-hand-to-agent-state-DkkmSD45.js} +1 -1
  76. package/web/dist/assets/use-path-bases-DWFoEVya.js +1 -0
  77. package/web/dist/assets/use-workspace-config-save-KrsFxCFQ.js +1 -0
  78. package/web/dist/assets/{workflows-CFKtz_8t.js → workflows-BbUH1j-p.js} +2 -2
  79. package/web/dist/assets/{workspace-tools-CBQyH8IV.js → workspace-tools-Dmn2RqhC.js} +1 -1
  80. package/web/dist/assets/{worktrees-section-CA7lv70p.js → worktrees-section-jhHjrQgr.js} +5 -5
  81. package/web/dist/index.html +14 -14
  82. package/web/dist/assets/accounts-section-BROiR4ew.js +0 -1
  83. package/web/dist/assets/activity-motion-BWSUUfiT.js +0 -1
  84. package/web/dist/assets/agent-accounts-DjIbGucr.js +0 -1
  85. package/web/dist/assets/automations-route-iHpqtQ2V.js +0 -2
  86. package/web/dist/assets/github-BVFqmL19.js +0 -1
  87. package/web/dist/assets/index-BMO-SCLT.js +0 -21
  88. package/web/dist/assets/label-B4KzRUWE.js +0 -1
  89. package/web/dist/assets/preferences-section-PTJo2Ohl.js +0 -1
  90. package/web/dist/assets/project-scope-context-BT4qzyOz.js +0 -4
  91. package/web/dist/assets/queries-CzUiyqt4.js +0 -1
  92. package/web/dist/assets/repo-git-B1q5EsnP.js +0 -1
  93. package/web/dist/assets/run-diff-QWOM0ICK.js +0 -3
  94. package/web/dist/assets/run-header-BNh2z4aw.js +0 -2
  95. package/web/dist/assets/task-changes-D-ehUptL.js +0 -5
  96. package/web/dist/assets/task-github-item-BQL_jlnH.js +0 -1
  97. package/web/dist/assets/task-thread-D-BHmr_Z.js +0 -2
  98. package/web/dist/assets/use-path-bases-DfSirdvs.js +0 -1
  99. package/web/dist/assets/use-workspace-config-save-Dz8Cl7MP.js +0 -1
@@ -141,6 +141,18 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
141
141
  } & {
142
142
  "/hosts/runs-index": {
143
143
  $get: {
144
+ output: {
145
+ error: string;
146
+ code?: "invalid_input" | undefined;
147
+ };
148
+ outputFormat: "json";
149
+ status: 400;
150
+ input: {
151
+ query: {
152
+ hostId?: string | undefined;
153
+ };
154
+ };
155
+ } | {
144
156
  output: {
145
157
  runs: {
146
158
  id: string;
@@ -304,7 +316,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
304
316
  hostId?: string | undefined;
305
317
  };
306
318
  };
307
- } | {
319
+ };
320
+ };
321
+ } & {
322
+ "/hosts/runs-search": {
323
+ $get: {
308
324
  output: {
309
325
  error: string;
310
326
  code?: "invalid_input" | undefined;
@@ -313,14 +329,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
313
329
  status: 400;
314
330
  input: {
315
331
  query: {
316
- hostId?: string | undefined;
332
+ q: string | string[];
333
+ limit?: number | undefined;
317
334
  };
318
335
  };
319
- };
320
- };
321
- } & {
322
- "/hosts/runs-search": {
323
- $get: {
336
+ } | {
324
337
  output: {
325
338
  runs: {
326
339
  id: string;
@@ -474,39 +487,16 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
474
487
  limit?: number | undefined;
475
488
  };
476
489
  };
477
- } | {
478
- output: {
479
- error: string;
480
- code?: "invalid_input" | undefined;
481
- };
482
- outputFormat: "json";
483
- status: 400;
484
- input: {
485
- query: {
486
- q: string | string[];
487
- limit?: number | undefined;
488
- };
489
- };
490
490
  };
491
491
  };
492
492
  } & {
493
493
  "/hosts": {
494
494
  $post: {
495
495
  output: {
496
- host: {
497
- id: string;
498
- label: string;
499
- state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
500
- reason?: string | undefined;
501
- kind?: "ssh" | undefined;
502
- sshAlias?: string | undefined;
503
- installId?: string | undefined;
504
- port?: number | undefined;
505
- addedAt?: string | undefined;
506
- };
496
+ error: string;
507
497
  };
508
498
  outputFormat: "json";
509
- status: 201;
499
+ status: 404;
510
500
  input: {
511
501
  json: {
512
502
  sshAlias: string;
@@ -534,7 +524,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
534
524
  error: string;
535
525
  };
536
526
  outputFormat: "json";
537
- status: 404;
527
+ status: 409;
538
528
  input: {
539
529
  json: {
540
530
  sshAlias: string;
@@ -548,7 +538,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
548
538
  error: string;
549
539
  };
550
540
  outputFormat: "json";
551
- status: 409;
541
+ status: 500;
552
542
  input: {
553
543
  json: {
554
544
  sshAlias: string;
@@ -559,10 +549,20 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
559
549
  };
560
550
  } | {
561
551
  output: {
562
- error: string;
552
+ host: {
553
+ id: string;
554
+ label: string;
555
+ state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
556
+ reason?: string | undefined;
557
+ kind?: "ssh" | undefined;
558
+ sshAlias?: string | undefined;
559
+ installId?: string | undefined;
560
+ port?: number | undefined;
561
+ addedAt?: string | undefined;
562
+ };
563
563
  };
564
564
  outputFormat: "json";
565
- status: 409;
565
+ status: 201;
566
566
  input: {
567
567
  json: {
568
568
  sshAlias: string;
@@ -576,7 +576,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
576
576
  error: string;
577
577
  };
578
578
  outputFormat: "json";
579
- status: 500;
579
+ status: 409;
580
580
  input: {
581
581
  json: {
582
582
  sshAlias: string;
@@ -591,20 +591,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
591
591
  "/hosts/:id": {
592
592
  $patch: {
593
593
  output: {
594
- host: {
595
- id: string;
596
- label: string;
597
- state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
598
- reason?: string | undefined;
599
- kind?: "ssh" | undefined;
600
- sshAlias?: string | undefined;
601
- installId?: string | undefined;
602
- port?: number | undefined;
603
- addedAt?: string | undefined;
604
- };
594
+ error: string;
595
+ code?: "invalid_input" | undefined;
605
596
  };
606
597
  outputFormat: "json";
607
- status: 200;
598
+ status: 400;
608
599
  input: {
609
600
  param: {
610
601
  id: string;
@@ -619,10 +610,9 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
619
610
  } | {
620
611
  output: {
621
612
  error: string;
622
- code?: "invalid_input" | undefined;
623
613
  };
624
614
  outputFormat: "json";
625
- status: 400;
615
+ status: 404;
626
616
  input: {
627
617
  param: {
628
618
  id: string;
@@ -656,7 +646,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
656
646
  error: string;
657
647
  };
658
648
  outputFormat: "json";
659
- status: 404;
649
+ status: 409;
660
650
  input: {
661
651
  param: {
662
652
  id: string;
@@ -673,7 +663,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
673
663
  error: string;
674
664
  };
675
665
  outputFormat: "json";
676
- status: 409;
666
+ status: 500;
677
667
  input: {
678
668
  param: {
679
669
  id: string;
@@ -704,10 +694,20 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
704
694
  };
705
695
  } | {
706
696
  output: {
707
- error: string;
697
+ host: {
698
+ id: string;
699
+ label: string;
700
+ state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
701
+ reason?: string | undefined;
702
+ kind?: "ssh" | undefined;
703
+ sshAlias?: string | undefined;
704
+ installId?: string | undefined;
705
+ port?: number | undefined;
706
+ addedAt?: string | undefined;
707
+ };
708
708
  };
709
709
  outputFormat: "json";
710
- status: 500;
710
+ status: 200;
711
711
  input: {
712
712
  param: {
713
713
  id: string;
@@ -725,11 +725,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
725
725
  "/hosts/:id": {
726
726
  $delete: {
727
727
  output: {
728
- removed: true;
729
- id: string;
728
+ error: string;
729
+ code?: "invalid_input" | undefined;
730
730
  };
731
731
  outputFormat: "json";
732
- status: 200;
732
+ status: 400;
733
733
  input: {
734
734
  param: {
735
735
  id: string;
@@ -738,10 +738,9 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
738
738
  } | {
739
739
  output: {
740
740
  error: string;
741
- code?: "invalid_input" | undefined;
742
741
  };
743
742
  outputFormat: "json";
744
- status: 400;
743
+ status: 404;
745
744
  input: {
746
745
  param: {
747
746
  id: string;
@@ -763,7 +762,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
763
762
  error: string;
764
763
  };
765
764
  outputFormat: "json";
766
- status: 404;
765
+ status: 409;
767
766
  input: {
768
767
  param: {
769
768
  id: string;
@@ -774,7 +773,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
774
773
  error: string;
775
774
  };
776
775
  outputFormat: "json";
777
- status: 409;
776
+ status: 500;
778
777
  input: {
779
778
  param: {
780
779
  id: string;
@@ -793,10 +792,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
793
792
  };
794
793
  } | {
795
794
  output: {
796
- error: string;
795
+ removed: true;
796
+ id: string;
797
797
  };
798
798
  outputFormat: "json";
799
- status: 500;
799
+ status: 200;
800
800
  input: {
801
801
  param: {
802
802
  id: string;
@@ -100,6 +100,18 @@ export interface ProjectWebhooksRouteDeps {
100
100
  export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
101
101
  "/projects/:projectId/webhook/test": {
102
102
  $post: {
103
+ output: {
104
+ error: string;
105
+ code?: "no-boot-project" | undefined;
106
+ };
107
+ outputFormat: "json";
108
+ status: 404 | 409;
109
+ input: {
110
+ param: {
111
+ projectId: string;
112
+ };
113
+ };
114
+ } | {
103
115
  output: {
104
116
  error: string;
105
117
  };
@@ -124,23 +136,33 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
124
136
  projectId: string;
125
137
  };
126
138
  };
127
- } | {
139
+ };
140
+ };
141
+ } & {
142
+ "/projects/:projectId/webhooks": {
143
+ $post: {
128
144
  output: {
129
145
  error: string;
130
146
  code?: "no-boot-project" | undefined;
131
147
  };
132
148
  outputFormat: "json";
133
- status: 404 | 409;
149
+ status: 400 | 404 | 409 | 500;
134
150
  input: {
151
+ json: {
152
+ name: string;
153
+ description?: string | undefined;
154
+ url: string;
155
+ token?: string | undefined;
156
+ tasks?: boolean | undefined;
157
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
158
+ agent?: boolean | undefined;
159
+ };
160
+ } & {
135
161
  param: {
136
162
  projectId: string;
137
163
  };
138
164
  };
139
- };
140
- };
141
- } & {
142
- "/projects/:projectId/webhooks": {
143
- $post: {
165
+ } | {
144
166
  output: {
145
167
  project: {
146
168
  id: string;
@@ -200,28 +222,6 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
200
222
  projectId: string;
201
223
  };
202
224
  };
203
- } | {
204
- output: {
205
- error: string;
206
- code?: "no-boot-project" | undefined;
207
- };
208
- outputFormat: "json";
209
- status: 400 | 404 | 409 | 500;
210
- input: {
211
- json: {
212
- name: string;
213
- description?: string | undefined;
214
- url: string;
215
- token?: string | undefined;
216
- tasks?: boolean | undefined;
217
- triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
218
- agent?: boolean | undefined;
219
- };
220
- } & {
221
- param: {
222
- projectId: string;
223
- };
224
- };
225
225
  };
226
226
  };
227
227
  } & {
@@ -423,10 +423,13 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
423
423
  };
424
424
  } | {
425
425
  output: {
426
- error: string;
426
+ ok: boolean;
427
+ status?: number | undefined;
428
+ error?: string | undefined;
429
+ dryRun?: boolean | undefined;
427
430
  };
428
431
  outputFormat: "json";
429
- status: 404;
432
+ status: import("hono/utils/http-status").ContentfulStatusCode;
430
433
  input: {
431
434
  param: {
432
435
  projectId: string;
@@ -435,13 +438,11 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
435
438
  };
436
439
  } | {
437
440
  output: {
438
- ok: boolean;
439
- status?: number | undefined;
440
- error?: string | undefined;
441
- dryRun?: boolean | undefined;
441
+ error: string;
442
+ code?: "no-boot-project" | undefined;
442
443
  };
443
444
  outputFormat: "json";
444
- status: import("hono/utils/http-status").ContentfulStatusCode;
445
+ status: 404 | 409;
445
446
  input: {
446
447
  param: {
447
448
  projectId: string;
@@ -451,10 +452,9 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
451
452
  } | {
452
453
  output: {
453
454
  error: string;
454
- code?: "no-boot-project" | undefined;
455
455
  };
456
456
  outputFormat: "json";
457
- status: 404 | 409;
457
+ status: 404;
458
458
  input: {
459
459
  param: {
460
460
  projectId: string;
@@ -22,18 +22,6 @@ 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
- };
37
25
  } | {
38
26
  output: {
39
27
  runner: string;
@@ -55,6 +43,18 @@ export declare function createModelsRoutes(options: {
55
43
  profileId?: string | undefined;
56
44
  };
57
45
  };
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">;
@@ -70,10 +70,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
70
70
  };
71
71
  } | {
72
72
  output: {
73
- error: string;
73
+ providers: {
74
+ requiresAccountHome?: boolean | undefined;
75
+ provider: string;
76
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
77
+ enabled?: boolean | undefined;
78
+ hint?: string | undefined;
79
+ authFailureId?: string | undefined;
80
+ profileId?: string | undefined;
81
+ }[];
74
82
  };
75
83
  outputFormat: "json";
76
- status: 500;
84
+ status: import("hono/utils/http-status").ContentfulStatusCode;
77
85
  input: {
78
86
  param: {
79
87
  provider: string;
@@ -85,18 +93,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
85
93
  };
86
94
  } | {
87
95
  output: {
88
- providers: {
89
- requiresAccountHome?: boolean | undefined;
90
- provider: string;
91
- status: "connected" | "disconnected" | "not-installed" | "unknown";
92
- enabled?: boolean | undefined;
93
- hint?: string | undefined;
94
- authFailureId?: string | undefined;
95
- profileId?: string | undefined;
96
- }[];
96
+ error: string;
97
97
  };
98
98
  outputFormat: "json";
99
- status: import("hono/utils/http-status").ContentfulStatusCode;
99
+ status: 500;
100
100
  input: {
101
101
  param: {
102
102
  provider: string;
@@ -128,10 +128,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
128
128
  };
129
129
  } | {
130
130
  output: {
131
- error: string;
131
+ providers: {
132
+ requiresAccountHome?: boolean | undefined;
133
+ provider: string;
134
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
135
+ enabled?: boolean | undefined;
136
+ hint?: string | undefined;
137
+ authFailureId?: string | undefined;
138
+ profileId?: string | undefined;
139
+ }[];
132
140
  };
133
141
  outputFormat: "json";
134
- status: 409;
142
+ status: import("hono/utils/http-status").ContentfulStatusCode;
135
143
  input: {
136
144
  param: {
137
145
  provider: string;
@@ -143,18 +151,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
143
151
  };
144
152
  } | {
145
153
  output: {
146
- providers: {
147
- requiresAccountHome?: boolean | undefined;
148
- provider: string;
149
- status: "connected" | "disconnected" | "not-installed" | "unknown";
150
- enabled?: boolean | undefined;
151
- hint?: string | undefined;
152
- authFailureId?: string | undefined;
153
- profileId?: string | undefined;
154
- }[];
154
+ error: string;
155
155
  };
156
156
  outputFormat: "json";
157
- status: import("hono/utils/http-status").ContentfulStatusCode;
157
+ status: 409;
158
158
  input: {
159
159
  param: {
160
160
  provider: string;
@@ -173,7 +173,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
173
173
  error: string;
174
174
  };
175
175
  outputFormat: "json";
176
- status: 400;
176
+ status: 409;
177
177
  input: {
178
178
  json: {
179
179
  provider: string;
@@ -185,7 +185,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
185
185
  error: string;
186
186
  };
187
187
  outputFormat: "json";
188
- status: 409;
188
+ status: 400;
189
189
  input: {
190
190
  json: {
191
191
  provider: string;
@@ -290,28 +290,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
290
290
  "/workspace/agent-profiles": {
291
291
  $post: {
292
292
  output: {
293
- profile: {
294
- id: string;
295
- provider: string;
296
- label: string;
297
- configDir?: string | undefined;
298
- path?: string | undefined;
299
- exists: boolean;
300
- looksValid: boolean;
301
- isDefault: boolean;
302
- status?: {
303
- requiresAccountHome?: boolean | undefined;
304
- provider: string;
305
- status: "connected" | "disconnected" | "not-installed" | "unknown";
306
- enabled?: boolean | undefined;
307
- hint?: string | undefined;
308
- authFailureId?: string | undefined;
309
- profileId?: string | undefined;
310
- } | undefined;
311
- };
293
+ error: string;
312
294
  };
313
295
  outputFormat: "json";
314
- status: 201;
296
+ status: 409;
315
297
  input: {
316
298
  json: {
317
299
  provider: string;
@@ -337,7 +319,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
337
319
  error: string;
338
320
  };
339
321
  outputFormat: "json";
340
- status: 409;
322
+ status: 500;
341
323
  input: {
342
324
  json: {
343
325
  provider: string;
@@ -347,10 +329,28 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
347
329
  };
348
330
  } | {
349
331
  output: {
350
- error: string;
332
+ profile: {
333
+ id: string;
334
+ provider: string;
335
+ label: string;
336
+ configDir?: string | undefined;
337
+ path?: string | undefined;
338
+ exists: boolean;
339
+ looksValid: boolean;
340
+ isDefault: boolean;
341
+ status?: {
342
+ requiresAccountHome?: boolean | undefined;
343
+ provider: string;
344
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
345
+ enabled?: boolean | undefined;
346
+ hint?: string | undefined;
347
+ authFailureId?: string | undefined;
348
+ profileId?: string | undefined;
349
+ } | undefined;
350
+ };
351
351
  };
352
352
  outputFormat: "json";
353
- status: 500;
353
+ status: 201;
354
354
  input: {
355
355
  json: {
356
356
  provider: string;
@@ -384,7 +384,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
384
384
  error: string;
385
385
  };
386
386
  outputFormat: "json";
387
- status: 400;
387
+ status: 409;
388
388
  input: {
389
389
  param: {
390
390
  id: string;
@@ -400,7 +400,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
400
400
  error: string;
401
401
  };
402
402
  outputFormat: "json";
403
- status: 404;
403
+ status: 400;
404
404
  input: {
405
405
  param: {
406
406
  id: string;
@@ -416,7 +416,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
416
416
  error: string;
417
417
  };
418
418
  outputFormat: "json";
419
- status: 409;
419
+ status: 404;
420
420
  input: {
421
421
  param: {
422
422
  id: string;
@@ -542,9 +542,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
542
542
  $put: {
543
543
  output: {
544
544
  error: string;
545
+ code: "no-boot-project";
545
546
  };
546
547
  outputFormat: "json";
547
- status: 400;
548
+ status: 409;
548
549
  input: {
549
550
  json: {
550
551
  projectId: string;
@@ -568,10 +569,9 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
568
569
  } | {
569
570
  output: {
570
571
  error: string;
571
- code: "no-boot-project";
572
572
  };
573
573
  outputFormat: "json";
574
- status: 409;
574
+ status: 400;
575
575
  input: {
576
576
  json: {
577
577
  projectId: string;
@@ -635,7 +635,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
635
635
  error: string;
636
636
  };
637
637
  outputFormat: "json";
638
- status: 404;
638
+ status: 409;
639
639
  input: {
640
640
  param: {
641
641
  id: string;
@@ -646,7 +646,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
646
646
  error: string;
647
647
  };
648
648
  outputFormat: "json";
649
- status: 409;
649
+ status: 500;
650
650
  input: {
651
651
  param: {
652
652
  id: string;
@@ -657,7 +657,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
657
657
  error: string;
658
658
  };
659
659
  outputFormat: "json";
660
- status: 500;
660
+ status: 404;
661
661
  input: {
662
662
  param: {
663
663
  id: string;