@hearsay-tools/squawk 0.19.0-dev.8946 → 0.19.0-dev.8959

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 (80) hide show
  1. package/dist/features/automations/automations-routes.d.ts +150 -150
  2. package/dist/server/project-settings-routes.d.ts +107 -107
  3. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  4. package/dist/server/providers-routes.d.ts +57 -57
  5. package/dist/server/repo-routes.d.ts +34 -34
  6. package/dist/server/runner-install-routes.d.ts +10 -10
  7. package/dist/server/runners-routes.d.ts +10 -10
  8. package/dist/server/runs-routes.d.ts +277 -277
  9. package/dist/server/server.d.ts +1208 -1208
  10. package/dist/server/workspace-routes.d.ts +85 -85
  11. package/package.json +4 -4
  12. package/web/dist/assets/{accounts-section-WIehcyGw.js → accounts-section-Iuso5EHy.js} +1 -1
  13. package/web/dist/assets/{activity-motion-C6MkKVNw.js → activity-motion-CNZbrIKs.js} +1 -1
  14. package/web/dist/assets/{activity-route-DnkJg2yC.js → activity-route-HjCeTGFh.js} +1 -1
  15. package/web/dist/assets/{agent-config-section-D9CmEBGB.js → agent-config-section-D3ASkT9C.js} +1 -1
  16. package/web/dist/assets/{agent-defaults-section-Dpo7uqt7.js → agent-defaults-section-B9ooGC8t.js} +1 -1
  17. package/web/dist/assets/{appearance-C4ZeV0d7.js → appearance-OFbvt85o.js} +1 -1
  18. package/web/dist/assets/{archive-on-merge-field-CLz5wdcX.js → archive-on-merge-field-BvtuaspW.js} +1 -1
  19. package/web/dist/assets/automations-route-C6uMU-W3.js +2 -0
  20. package/web/dist/assets/{command-BMMjB5k9.js → command-BiBq24zL.js} +1 -1
  21. package/web/dist/assets/{commit-list-BBOPi-5c.js → commit-list-Dg-dPG_J.js} +1 -1
  22. package/web/dist/assets/{design-icons-BZt8Kqs9.js → design-icons-QbNMZniQ.js} +1 -1
  23. package/web/dist/assets/{dialog-CB9ZhEk2.js → dialog-DRZuXvul.js} +1 -1
  24. package/web/dist/assets/{diff-o1vDSmjJ.js → diff-2NATw62W.js} +2 -2
  25. package/web/dist/assets/{diff-controls-RoNLKGo8.js → diff-controls-DkJTGyU5.js} +1 -1
  26. package/web/dist/assets/{diff-view--upGtYuH.js → diff-view-CW-GN8t7.js} +1 -1
  27. package/web/dist/assets/{discard-changes-dialog-C4edQj7U.js → discard-changes-dialog-BXfDdnph.js} +1 -1
  28. package/web/dist/assets/{dropdown-menu-VFda6KAg.js → dropdown-menu-DjtKUK8F.js} +1 -1
  29. package/web/dist/assets/{file-preview-Ba2kwvIA.js → file-preview-BJ6Q-VPN.js} +1 -1
  30. package/web/dist/assets/{git-toolbar-DXDZQtTO.js → git-toolbar-C68CnIDL.js} +1 -1
  31. package/web/dist/assets/github-Dqk0cII6.js +1 -0
  32. package/web/dist/assets/{global-activity-route-H0_KUbFo.js → global-activity-route-CoxiPpqk.js} +1 -1
  33. package/web/dist/assets/index-CM_iAvs4.css +1 -0
  34. package/web/dist/assets/{index-BdwJdyhu.js → index-MCtGGYNa.js} +6 -6
  35. package/web/dist/assets/{markdown-BrCnMalC.js → markdown-Vws-ZDQC.js} +1 -1
  36. package/web/dist/assets/{open-in-menu-Uw-sJhbG.js → open-in-menu-BTa2aBQh.js} +1 -1
  37. package/web/dist/assets/{option-select-DYOZPdHh.js → option-select-C7M2fzIw.js} +1 -1
  38. package/web/dist/assets/{preferences-section-DAHLqdBx.js → preferences-section-C_T_KjBg.js} +1 -1
  39. package/web/dist/assets/{preview-pane-connected-CZ8K6fgu.js → preview-pane-connected-CXUd2utJ.js} +1 -1
  40. package/web/dist/assets/{project-location-BtpH7PdN.js → project-location-Db8_ITcg.js} +1 -1
  41. package/web/dist/assets/{projects-section-C3uSUuUa.js → projects-section-CFTrO5BI.js} +1 -1
  42. package/web/dist/assets/{prompt-templates-section-BqTyw9qv.js → prompt-templates-section-DtlXhJiK.js} +2 -2
  43. package/web/dist/assets/reference-chip-Br0H2srF.js +1 -0
  44. package/web/dist/assets/{remote-settings-notice-C8ISDWAZ.js → remote-settings-notice-BVvV6edA.js} +1 -1
  45. package/web/dist/assets/{repo-git-op-Z42-r.js → repo-git-ymL5_ed2.js} +1 -1
  46. package/web/dist/assets/{report-reader-Czn67eDi.js → report-reader-c0AG1n4k.js} +1 -1
  47. package/web/dist/assets/{report-selection-BH0M_8bk.js → report-selection-dYsm1HEf.js} +1 -1
  48. package/web/dist/assets/{reports-CUTmDw8a.js → reports-BTVWwMou.js} +1 -1
  49. package/web/dist/assets/{resources-section-CrFBkbzV.js → resources-section-BmLG8Lm0.js} +1 -1
  50. package/web/dist/assets/review-panel-B1Mt1hrO.js +11 -0
  51. package/web/dist/assets/{run-header-BuWI-Izb.js → run-header-DyEbB88q.js} +2 -2
  52. package/web/dist/assets/{select-BNkI-J23.js → select-dpKLmgZ_.js} +1 -1
  53. package/web/dist/assets/{session-context-section-Cbnd7mET.js → session-context-section-CXb8kIYJ.js} +1 -1
  54. package/web/dist/assets/{settings-agent-picker-Cc9EbxOn.js → settings-agent-picker-NGLgXFte.js} +1 -1
  55. package/web/dist/assets/{settings-list-detail-DcRsGkGy.js → settings-list-detail-Dn5CWzHj.js} +1 -1
  56. package/web/dist/assets/{settings-save-bar-CXPbykSw.js → settings-save-bar-CfUNcwW4.js} +1 -1
  57. package/web/dist/assets/{settings-shell-he41aRWc.js → settings-shell-Dcv1oVB4.js} +1 -1
  58. package/web/dist/assets/{sidebar-section-DnBL1i6S.js → sidebar-section-BeXW9JPy.js} +1 -1
  59. package/web/dist/assets/{skills-C0ExMlKn.js → skills-BcCvvz3d.js} +1 -1
  60. package/web/dist/assets/{task-changes-CkZAXYzq.js → task-changes-Bj7JpmR_.js} +1 -1
  61. package/web/dist/assets/{task-commits-DvbEh5Ej.js → task-commits-CgjVHKLR.js} +1 -1
  62. package/web/dist/assets/{task-file-scope-u9ReDUkm.js → task-file-scope-CPI1TQ21.js} +1 -1
  63. package/web/dist/assets/{task-files-_ViDE2KM.js → task-files-nBsD7Mvo.js} +1 -1
  64. package/web/dist/assets/{task-github-item-D6HlV5w7.js → task-github-item-Bybg0bs5.js} +1 -1
  65. package/web/dist/assets/{task-thread-DufVSXBG.js → task-thread-CIl3Uj6Y.js} +2 -2
  66. package/web/dist/assets/{thread-state-DyL-5CT_.js → thread-state-DQUYVbcr.js} +1 -1
  67. package/web/dist/assets/use-hand-to-agent-state-CUDqVWwY.js +1 -0
  68. package/web/dist/assets/use-path-bases-BbEKGJNh.js +1 -0
  69. package/web/dist/assets/workflows-aqvasP6w.js +7 -0
  70. package/web/dist/assets/{workspace-tools-D6uFs3zu.js → workspace-tools-BwjfFjb2.js} +1 -1
  71. package/web/dist/assets/{worktrees-section-CzM3pU2A.js → worktrees-section-BcuizqIq.js} +1 -1
  72. package/web/dist/index.html +9 -9
  73. package/web/dist/assets/automations-route-dvKhqCE2.js +0 -2
  74. package/web/dist/assets/github-CZrdkYl7.js +0 -1
  75. package/web/dist/assets/index-erIRmS_2.css +0 -1
  76. package/web/dist/assets/reference-chip-Dk69XD7Q.js +0 -1
  77. package/web/dist/assets/review-panel-DnKKu0ED.js +0 -11
  78. package/web/dist/assets/use-hand-to-agent-state-Bbno11XR.js +0 -1
  79. package/web/dist/assets/use-path-bases-DqgqcOdM.js +0 -1
  80. package/web/dist/assets/workflows-OsxhDzG9.js +0 -7
@@ -113,42 +113,10 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
113
113
  "/ui-state": {
114
114
  $put: {
115
115
  output: {
116
- [x: string]: import("hono/utils/types").JSONValue;
117
- sidebarLimits?: {
118
- overall?: number | null | undefined;
119
- needsYou?: number | null | undefined;
120
- finished?: number | null | undefined;
121
- working?: number | null | undefined;
122
- } | undefined;
123
- lastTask?: {
124
- source: "skill" | "workflow";
125
- ref: string;
126
- } | null | undefined;
127
- recentSources?: {
128
- source: "skill" | "workflow";
129
- ref: string;
130
- }[] | undefined;
131
- lastWorktree?: boolean | undefined;
132
- lastAutonomous?: boolean | undefined;
133
- skillUsage?: {
134
- [x: string]: number;
135
- } | undefined;
136
- runsView?: "list" | "table" | undefined;
137
- githubView?: "issues" | "prs" | undefined;
138
- appearance?: {
139
- accent?: "cezarion" | "lime" | "violet" | undefined;
140
- density?: "comfortable" | "compact" | "ultra" | undefined;
141
- width?: "narrow" | "wide" | undefined;
142
- } | undefined;
143
- promptTemplates?: {
144
- id: string;
145
- label: string;
146
- text: string;
147
- skills?: string[] | undefined;
148
- }[] | undefined;
116
+ error: string;
149
117
  };
150
118
  outputFormat: "json";
151
- status: import("hono/utils/http-status").ContentfulStatusCode;
119
+ status: 500;
152
120
  input: {
153
121
  json: {
154
122
  [x: string]: unknown;
@@ -186,10 +154,42 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
186
154
  };
187
155
  } | {
188
156
  output: {
189
- error: string;
157
+ [x: string]: import("hono/utils/types").JSONValue;
158
+ sidebarLimits?: {
159
+ overall?: number | null | undefined;
160
+ needsYou?: number | null | undefined;
161
+ finished?: number | null | undefined;
162
+ working?: number | null | undefined;
163
+ } | undefined;
164
+ lastTask?: {
165
+ source: "skill" | "workflow";
166
+ ref: string;
167
+ } | null | undefined;
168
+ recentSources?: {
169
+ source: "skill" | "workflow";
170
+ ref: string;
171
+ }[] | undefined;
172
+ lastWorktree?: boolean | undefined;
173
+ lastAutonomous?: boolean | undefined;
174
+ skillUsage?: {
175
+ [x: string]: number;
176
+ } | undefined;
177
+ runsView?: "list" | "table" | undefined;
178
+ githubView?: "issues" | "prs" | undefined;
179
+ appearance?: {
180
+ accent?: "cezarion" | "lime" | "violet" | undefined;
181
+ density?: "comfortable" | "compact" | "ultra" | undefined;
182
+ width?: "narrow" | "wide" | undefined;
183
+ } | undefined;
184
+ promptTemplates?: {
185
+ id: string;
186
+ label: string;
187
+ text: string;
188
+ skills?: string[] | undefined;
189
+ }[] | undefined;
190
190
  };
191
191
  outputFormat: "json";
192
- status: 500;
192
+ status: import("hono/utils/http-status").ContentfulStatusCode;
193
193
  input: {
194
194
  json: {
195
195
  [x: string]: unknown;
@@ -275,10 +275,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
275
275
  "/workflows": {
276
276
  $post: {
277
277
  output: {
278
- error: string;
278
+ path: string;
279
+ name: string;
279
280
  };
280
281
  outputFormat: "json";
281
- status: 400;
282
+ status: 201;
282
283
  input: {
283
284
  json: {
284
285
  name: string;
@@ -311,10 +312,9 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
311
312
  } | {
312
313
  output: {
313
314
  error: string;
314
- exists: true;
315
315
  };
316
316
  outputFormat: "json";
317
- status: 409;
317
+ status: 400;
318
318
  input: {
319
319
  json: {
320
320
  name: string;
@@ -347,9 +347,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
347
347
  } | {
348
348
  output: {
349
349
  error: string;
350
+ exists: true;
350
351
  };
351
352
  outputFormat: "json";
352
- status: 500;
353
+ status: 409;
353
354
  input: {
354
355
  json: {
355
356
  name: string;
@@ -381,11 +382,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
381
382
  };
382
383
  } | {
383
384
  output: {
384
- path: string;
385
- name: string;
385
+ error: string;
386
386
  };
387
387
  outputFormat: "json";
388
- status: 201;
388
+ status: 500;
389
389
  input: {
390
390
  json: {
391
391
  name: string;
@@ -421,10 +421,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
421
421
  "/workflows/:name": {
422
422
  $delete: {
423
423
  output: {
424
- error: string;
424
+ ok: true;
425
+ path: string;
425
426
  };
426
427
  outputFormat: "json";
427
- status: 400 | 404 | 409 | 500;
428
+ status: import("hono/utils/http-status").ContentfulStatusCode;
428
429
  input: {
429
430
  param: {
430
431
  name: string;
@@ -432,11 +433,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
432
433
  };
433
434
  } | {
434
435
  output: {
435
- ok: true;
436
- path: string;
436
+ error: string;
437
437
  };
438
438
  outputFormat: "json";
439
- status: import("hono/utils/http-status").ContentfulStatusCode;
439
+ status: 400 | 404 | 409 | 500;
440
440
  input: {
441
441
  param: {
442
442
  name: string;
@@ -504,18 +504,6 @@ export interface PlanRouteDeps {
504
504
  export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
505
505
  "/plan": {
506
506
  $post: {
507
- output: {
508
- error: string;
509
- };
510
- outputFormat: "json";
511
- status: 400 | 404 | 409;
512
- input: {
513
- json: {
514
- task: string;
515
- agentProfile?: string | undefined;
516
- };
517
- };
518
- } | {
519
507
  output: {
520
508
  name?: string;
521
509
  steps: {
@@ -552,6 +540,18 @@ export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono
552
540
  agentProfile?: string | undefined;
553
541
  };
554
542
  };
543
+ } | {
544
+ output: {
545
+ error: string;
546
+ };
547
+ outputFormat: "json";
548
+ status: 400 | 404 | 409;
549
+ input: {
550
+ json: {
551
+ task: string;
552
+ agentProfile?: string | undefined;
553
+ };
554
+ };
555
555
  };
556
556
  };
557
557
  }, "/", "/plan">;
@@ -599,34 +599,10 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
599
599
  "/config": {
600
600
  $put: {
601
601
  output: {
602
- archiveOnMerge: boolean | null;
603
- effectiveArchiveOnMerge: boolean;
604
- archiveOnMergeSource: "default" | "environment" | "global" | "project";
605
- baseBranch: string | null;
606
- defaultRunner: string;
607
- systemPrompt: string | null;
608
- defaultModels: {
609
- [x: string]: string | undefined;
610
- };
611
- modelsLocked: boolean;
612
- maxParallel: number;
613
- memoryLimitMb: number | null;
614
- worktreeRetention: number;
615
- liveTitleUpdates: boolean | null;
616
- reviewGate: boolean | null;
617
- worktreeSetup: {
618
- commands: string[];
619
- timeoutSeconds: number;
620
- } | null;
621
- worktreeSetupIssue: string | null;
622
- worktreeTeardown: {
623
- commands: string[];
624
- timeoutSeconds: number;
625
- } | null;
626
- worktreeTeardownIssue: string | null;
602
+ error: string;
627
603
  };
628
604
  outputFormat: "json";
629
- status: import("hono/utils/http-status").ContentfulStatusCode;
605
+ status: 409;
630
606
  input: {
631
607
  json: {
632
608
  archiveOnMerge?: boolean | null | undefined;
@@ -654,7 +630,7 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
654
630
  error: string;
655
631
  };
656
632
  outputFormat: "json";
657
- status: 409;
633
+ status: 500;
658
634
  input: {
659
635
  json: {
660
636
  archiveOnMerge?: boolean | null | undefined;
@@ -679,10 +655,34 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
679
655
  };
680
656
  } | {
681
657
  output: {
682
- error: string;
658
+ archiveOnMerge: boolean | null;
659
+ effectiveArchiveOnMerge: boolean;
660
+ archiveOnMergeSource: "default" | "environment" | "global" | "project";
661
+ baseBranch: string | null;
662
+ defaultRunner: string;
663
+ systemPrompt: string | null;
664
+ defaultModels: {
665
+ [x: string]: string | undefined;
666
+ };
667
+ modelsLocked: boolean;
668
+ maxParallel: number;
669
+ memoryLimitMb: number | null;
670
+ worktreeRetention: number;
671
+ liveTitleUpdates: boolean | null;
672
+ reviewGate: boolean | null;
673
+ worktreeSetup: {
674
+ commands: string[];
675
+ timeoutSeconds: number;
676
+ } | null;
677
+ worktreeSetupIssue: string | null;
678
+ worktreeTeardown: {
679
+ commands: string[];
680
+ timeoutSeconds: number;
681
+ } | null;
682
+ worktreeTeardownIssue: string | null;
683
683
  };
684
684
  outputFormat: "json";
685
- status: 500;
685
+ status: import("hono/utils/http-status").ContentfulStatusCode;
686
686
  input: {
687
687
  json: {
688
688
  archiveOnMerge?: boolean | null | undefined;
@@ -796,14 +796,10 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
796
796
  "/agent-config/:id": {
797
797
  $put: {
798
798
  output: {
799
- id: string;
800
- path: string;
801
- exists: boolean;
802
- content: string;
803
- version: string | null;
799
+ error: string;
804
800
  };
805
801
  outputFormat: "json";
806
- status: import("hono/utils/http-status").ContentfulStatusCode;
802
+ status: 404;
807
803
  input: {
808
804
  json: {
809
805
  content: string;
@@ -816,10 +812,14 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
816
812
  };
817
813
  } | {
818
814
  output: {
819
- error: string;
815
+ id: string;
816
+ path: string;
817
+ exists: boolean;
818
+ content: string;
819
+ version: string | null;
820
820
  };
821
821
  outputFormat: "json";
822
- status: 404;
822
+ status: import("hono/utils/http-status").ContentfulStatusCode;
823
823
  input: {
824
824
  json: {
825
825
  content: string;
@@ -941,9 +941,12 @@ export declare function createAgentWebhooksRoutes(deps: AgentWebhooksRouteDeps):
941
941
  export declare function createSseRoutes(): import("hono/hono-base").HonoBase<ProjectApiEnv, {
942
942
  "/runs/:id/events": {
943
943
  $get: {
944
- output: {};
945
- outputFormat: string;
946
- status: import("hono/utils/http-status").StatusCode;
944
+ output: {
945
+ error: string;
946
+ code?: "invalid_input" | undefined;
947
+ };
948
+ outputFormat: "json";
949
+ status: 400;
947
950
  input: {
948
951
  param: {
949
952
  id: string;
@@ -955,12 +958,9 @@ export declare function createSseRoutes(): import("hono/hono-base").HonoBase<Pro
955
958
  };
956
959
  };
957
960
  } | {
958
- output: {
959
- error: string;
960
- code?: "invalid_input" | undefined;
961
- };
962
- outputFormat: "json";
963
- status: 400;
961
+ output: {};
962
+ outputFormat: string;
963
+ status: import("hono/utils/http-status").StatusCode;
964
964
  input: {
965
965
  param: {
966
966
  id: string;
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
18
18
  error: string;
19
19
  };
20
20
  outputFormat: "json";
21
- status: 409;
21
+ status: 400;
22
22
  input: {
23
23
  json: {
24
24
  provider: string;
@@ -30,7 +30,7 @@ export declare function createProviderSignInRoutes(options: {
30
30
  error: string;
31
31
  };
32
32
  outputFormat: "json";
33
- status: 400;
33
+ status: 409;
34
34
  input: {
35
35
  json: {
36
36
  provider: string;
@@ -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;
@@ -544,7 +544,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
544
544
  error: string;
545
545
  };
546
546
  outputFormat: "json";
547
- status: 400;
547
+ status: 404;
548
548
  input: {
549
549
  json: {
550
550
  projectId: string;
@@ -557,7 +557,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
557
557
  error: string;
558
558
  };
559
559
  outputFormat: "json";
560
- status: 404;
560
+ status: 400;
561
561
  input: {
562
562
  json: {
563
563
  projectId: string;
@@ -621,7 +621,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
621
621
  error: string;
622
622
  };
623
623
  outputFormat: "json";
624
- status: 404;
624
+ status: 409;
625
625
  input: {
626
626
  param: {
627
627
  id: string;
@@ -632,7 +632,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
632
632
  error: string;
633
633
  };
634
634
  outputFormat: "json";
635
- status: 409;
635
+ status: 500;
636
636
  input: {
637
637
  param: {
638
638
  id: string;
@@ -643,7 +643,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
643
643
  error: string;
644
644
  };
645
645
  outputFormat: "json";
646
- status: 500;
646
+ status: 404;
647
647
  input: {
648
648
  param: {
649
649
  id: string;