mtmsdk 0.0.36 → 0.0.38

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 (243) hide show
  1. package/dist/api_hatchet/client/client.gen.d.ts.map +1 -1
  2. package/dist/api_hatchet/client/client.gen.js +8 -1
  3. package/dist/api_hatchet/client/client.gen.js.map +1 -1
  4. package/dist/api_hatchet/index.d.ts +2 -2
  5. package/dist/api_hatchet/index.d.ts.map +1 -1
  6. package/dist/api_hatchet/index.js +2 -2
  7. package/dist/api_hatchet/index.js.map +1 -1
  8. package/dist/api_hatchet/zod.gen.d.ts +3 -3
  9. package/dist/api_hatchet/zod.gen.js +53 -53
  10. package/dist/api_hatchet/zod.gen.js.map +1 -1
  11. package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts +73 -979
  12. package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts.map +1 -1
  13. package/dist/gomtmapi_v2/@tanstack/react-query.gen.js +208 -1000
  14. package/dist/gomtmapi_v2/@tanstack/react-query.gen.js.map +1 -1
  15. package/dist/gomtmapi_v2/client/client.gen.d.ts.map +1 -1
  16. package/dist/gomtmapi_v2/client/client.gen.js +8 -1
  17. package/dist/gomtmapi_v2/client/client.gen.js.map +1 -1
  18. package/dist/gomtmapi_v2/index.d.ts +2 -2
  19. package/dist/gomtmapi_v2/index.d.ts.map +1 -1
  20. package/dist/gomtmapi_v2/index.js +1 -1
  21. package/dist/gomtmapi_v2/index.js.map +1 -1
  22. package/dist/gomtmapi_v2/schemas.gen.d.ts +305 -1415
  23. package/dist/gomtmapi_v2/schemas.gen.d.ts.map +1 -1
  24. package/dist/gomtmapi_v2/schemas.gen.js +282 -1407
  25. package/dist/gomtmapi_v2/schemas.gen.js.map +1 -1
  26. package/dist/gomtmapi_v2/sdk.gen.d.ts +63 -513
  27. package/dist/gomtmapi_v2/sdk.gen.d.ts.map +1 -1
  28. package/dist/gomtmapi_v2/sdk.gen.js +94 -537
  29. package/dist/gomtmapi_v2/sdk.gen.js.map +1 -1
  30. package/dist/gomtmapi_v2/types.gen.d.ts +443 -1531
  31. package/dist/gomtmapi_v2/types.gen.d.ts.map +1 -1
  32. package/dist/gomtmapi_v2/zod.gen.d.ts +293 -1292
  33. package/dist/gomtmapi_v2/zod.gen.d.ts.map +1 -1
  34. package/dist/gomtmapi_v2/zod.gen.js +187 -793
  35. package/dist/gomtmapi_v2/zod.gen.js.map +1 -1
  36. package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +4 -158
  37. package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
  38. package/dist/mtgate_api/@tanstack/react-query.gen.js +17 -212
  39. package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
  40. package/dist/mtgate_api/client/client.gen.d.ts.map +1 -1
  41. package/dist/mtgate_api/client/client.gen.js +8 -1
  42. package/dist/mtgate_api/client/client.gen.js.map +1 -1
  43. package/dist/mtgate_api/index.d.ts +2 -2
  44. package/dist/mtgate_api/index.d.ts.map +1 -1
  45. package/dist/mtgate_api/index.js +1 -1
  46. package/dist/mtgate_api/index.js.map +1 -1
  47. package/dist/mtgate_api/schemas.gen.d.ts +0 -396
  48. package/dist/mtgate_api/schemas.gen.d.ts.map +1 -1
  49. package/dist/mtgate_api/schemas.gen.js +0 -439
  50. package/dist/mtgate_api/schemas.gen.js.map +1 -1
  51. package/dist/mtgate_api/sdk.gen.d.ts +1 -26
  52. package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
  53. package/dist/mtgate_api/sdk.gen.js +0 -67
  54. package/dist/mtgate_api/sdk.gen.js.map +1 -1
  55. package/dist/mtgate_api/types.gen.d.ts +0 -310
  56. package/dist/mtgate_api/types.gen.d.ts.map +1 -1
  57. package/dist/mtgate_api/zod.gen.d.ts +0 -771
  58. package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
  59. package/dist/mtgate_api/zod.gen.js +0 -249
  60. package/dist/mtgate_api/zod.gen.js.map +1 -1
  61. package/dist/mtmai_api/client/client.gen.d.ts.map +1 -1
  62. package/dist/mtmai_api/client/client.gen.js +8 -1
  63. package/dist/mtmai_api/client/client.gen.js.map +1 -1
  64. package/dist/mtmai_api/index.d.ts +2 -2
  65. package/dist/mtmai_api/index.d.ts.map +1 -1
  66. package/dist/mtmai_api/index.js +2 -2
  67. package/dist/mtmai_api/index.js.map +1 -1
  68. package/dist/opencode/@tanstack/react-query.gen.d.ts +1903 -0
  69. package/dist/opencode/@tanstack/react-query.gen.d.ts.map +1 -0
  70. package/dist/opencode/@tanstack/react-query.gen.js +1696 -0
  71. package/dist/opencode/@tanstack/react-query.gen.js.map +1 -0
  72. package/dist/opencode/client/client.gen.d.ts +3 -0
  73. package/dist/opencode/client/client.gen.d.ts.map +1 -0
  74. package/dist/opencode/client/client.gen.js +236 -0
  75. package/dist/opencode/client/client.gen.js.map +1 -0
  76. package/dist/opencode/client/index.d.ts +9 -0
  77. package/dist/opencode/client/index.d.ts.map +1 -0
  78. package/dist/opencode/client/index.js +7 -0
  79. package/dist/opencode/client/index.js.map +1 -0
  80. package/dist/opencode/client/types.gen.d.ts +118 -0
  81. package/dist/opencode/client/types.gen.d.ts.map +1 -0
  82. package/dist/opencode/client/types.gen.js +3 -0
  83. package/dist/opencode/client/types.gen.js.map +1 -0
  84. package/dist/opencode/client/utils.gen.d.ts +34 -0
  85. package/dist/opencode/client/utils.gen.d.ts.map +1 -0
  86. package/dist/opencode/client/utils.gen.js +232 -0
  87. package/dist/opencode/client/utils.gen.js.map +1 -0
  88. package/dist/opencode/client.gen.d.ts +13 -0
  89. package/dist/opencode/client.gen.d.ts.map +1 -0
  90. package/dist/opencode/client.gen.js +4 -0
  91. package/dist/opencode/client.gen.js.map +1 -0
  92. package/dist/opencode/core/auth.gen.d.ts +19 -0
  93. package/dist/opencode/core/auth.gen.d.ts.map +1 -0
  94. package/dist/opencode/core/auth.gen.js +15 -0
  95. package/dist/opencode/core/auth.gen.js.map +1 -0
  96. package/dist/opencode/core/bodySerializer.gen.d.ts +26 -0
  97. package/dist/opencode/core/bodySerializer.gen.d.ts.map +1 -0
  98. package/dist/opencode/core/bodySerializer.gen.js +58 -0
  99. package/dist/opencode/core/bodySerializer.gen.js.map +1 -0
  100. package/dist/opencode/core/params.gen.d.ts +44 -0
  101. package/dist/opencode/core/params.gen.d.ts.map +1 -0
  102. package/dist/opencode/core/params.gen.js +101 -0
  103. package/dist/opencode/core/params.gen.js.map +1 -0
  104. package/dist/opencode/core/pathSerializer.gen.d.ts +34 -0
  105. package/dist/opencode/core/pathSerializer.gen.d.ts.map +1 -0
  106. package/dist/opencode/core/pathSerializer.gen.js +115 -0
  107. package/dist/opencode/core/pathSerializer.gen.js.map +1 -0
  108. package/dist/opencode/core/queryKeySerializer.gen.d.ts +19 -0
  109. package/dist/opencode/core/queryKeySerializer.gen.d.ts.map +1 -0
  110. package/dist/opencode/core/queryKeySerializer.gen.js +100 -0
  111. package/dist/opencode/core/queryKeySerializer.gen.js.map +1 -0
  112. package/dist/opencode/core/serverSentEvents.gen.d.ts +72 -0
  113. package/dist/opencode/core/serverSentEvents.gen.d.ts.map +1 -0
  114. package/dist/opencode/core/serverSentEvents.gen.js +138 -0
  115. package/dist/opencode/core/serverSentEvents.gen.js.map +1 -0
  116. package/dist/opencode/core/types.gen.d.ts +79 -0
  117. package/dist/opencode/core/types.gen.d.ts.map +1 -0
  118. package/dist/opencode/core/types.gen.js +3 -0
  119. package/dist/opencode/core/types.gen.js.map +1 -0
  120. package/dist/opencode/core/utils.gen.d.ts +20 -0
  121. package/dist/opencode/core/utils.gen.d.ts.map +1 -0
  122. package/dist/opencode/core/utils.gen.js +88 -0
  123. package/dist/opencode/core/utils.gen.js.map +1 -0
  124. package/dist/opencode/index.d.ts +3 -0
  125. package/dist/opencode/index.d.ts.map +1 -0
  126. package/dist/opencode/index.js +4 -0
  127. package/dist/opencode/index.js.map +1 -0
  128. package/dist/opencode/schemas.gen.d.ts +4823 -0
  129. package/dist/opencode/schemas.gen.d.ts.map +1 -0
  130. package/dist/opencode/schemas.gen.js +5816 -0
  131. package/dist/opencode/schemas.gen.js.map +1 -0
  132. package/dist/opencode/sdk.gen.d.ts +562 -0
  133. package/dist/opencode/sdk.gen.d.ts.map +1 -0
  134. package/dist/opencode/sdk.gen.js +766 -0
  135. package/dist/opencode/sdk.gen.js.map +1 -0
  136. package/dist/opencode/types.gen.d.ts +4213 -0
  137. package/dist/opencode/types.gen.d.ts.map +1 -0
  138. package/dist/opencode/types.gen.js +25 -0
  139. package/dist/opencode/types.gen.js.map +1 -0
  140. package/dist/opencode/zod.gen.d.ts +17243 -0
  141. package/dist/opencode/zod.gen.d.ts.map +1 -0
  142. package/dist/opencode/zod.gen.js +2876 -0
  143. package/dist/opencode/zod.gen.js.map +1 -0
  144. package/dist/sbapi/client/client.gen.d.ts.map +1 -1
  145. package/dist/sbapi/client/client.gen.js +8 -1
  146. package/dist/sbapi/client/client.gen.js.map +1 -1
  147. package/dist/sbapi/index.d.ts +2 -2
  148. package/dist/sbapi/index.d.ts.map +1 -1
  149. package/dist/sbapi/index.js +1 -1
  150. package/dist/sbapi/index.js.map +1 -1
  151. package/dist/sbmng/@tanstack/react-query.gen.d.ts +2418 -0
  152. package/dist/sbmng/@tanstack/react-query.gen.d.ts.map +1 -0
  153. package/dist/sbmng/@tanstack/react-query.gen.js +2657 -0
  154. package/dist/sbmng/@tanstack/react-query.gen.js.map +1 -0
  155. package/dist/sbmng/client/client.gen.d.ts +3 -0
  156. package/dist/sbmng/client/client.gen.d.ts.map +1 -0
  157. package/dist/sbmng/client/client.gen.js +236 -0
  158. package/dist/sbmng/client/client.gen.js.map +1 -0
  159. package/dist/sbmng/client/index.d.ts +9 -0
  160. package/dist/sbmng/client/index.d.ts.map +1 -0
  161. package/dist/sbmng/client/index.js +7 -0
  162. package/dist/sbmng/client/index.js.map +1 -0
  163. package/dist/sbmng/client/types.gen.d.ts +118 -0
  164. package/dist/sbmng/client/types.gen.d.ts.map +1 -0
  165. package/dist/sbmng/client/types.gen.js +3 -0
  166. package/dist/sbmng/client/types.gen.js.map +1 -0
  167. package/dist/sbmng/client/utils.gen.d.ts +34 -0
  168. package/dist/sbmng/client/utils.gen.d.ts.map +1 -0
  169. package/dist/sbmng/client/utils.gen.js +232 -0
  170. package/dist/sbmng/client/utils.gen.js.map +1 -0
  171. package/dist/sbmng/client.gen.d.ts +13 -0
  172. package/dist/sbmng/client.gen.d.ts.map +1 -0
  173. package/dist/sbmng/client.gen.js +4 -0
  174. package/dist/sbmng/client.gen.js.map +1 -0
  175. package/dist/sbmng/core/auth.gen.d.ts +19 -0
  176. package/dist/sbmng/core/auth.gen.d.ts.map +1 -0
  177. package/dist/sbmng/core/auth.gen.js +15 -0
  178. package/dist/sbmng/core/auth.gen.js.map +1 -0
  179. package/dist/sbmng/core/bodySerializer.gen.d.ts +26 -0
  180. package/dist/sbmng/core/bodySerializer.gen.d.ts.map +1 -0
  181. package/dist/sbmng/core/bodySerializer.gen.js +58 -0
  182. package/dist/sbmng/core/bodySerializer.gen.js.map +1 -0
  183. package/dist/sbmng/core/params.gen.d.ts +44 -0
  184. package/dist/sbmng/core/params.gen.d.ts.map +1 -0
  185. package/dist/sbmng/core/params.gen.js +101 -0
  186. package/dist/sbmng/core/params.gen.js.map +1 -0
  187. package/dist/sbmng/core/pathSerializer.gen.d.ts +34 -0
  188. package/dist/sbmng/core/pathSerializer.gen.d.ts.map +1 -0
  189. package/dist/sbmng/core/pathSerializer.gen.js +115 -0
  190. package/dist/sbmng/core/pathSerializer.gen.js.map +1 -0
  191. package/dist/sbmng/core/queryKeySerializer.gen.d.ts +19 -0
  192. package/dist/sbmng/core/queryKeySerializer.gen.d.ts.map +1 -0
  193. package/dist/sbmng/core/queryKeySerializer.gen.js +100 -0
  194. package/dist/sbmng/core/queryKeySerializer.gen.js.map +1 -0
  195. package/dist/sbmng/core/serverSentEvents.gen.d.ts +72 -0
  196. package/dist/sbmng/core/serverSentEvents.gen.d.ts.map +1 -0
  197. package/dist/sbmng/core/serverSentEvents.gen.js +138 -0
  198. package/dist/sbmng/core/serverSentEvents.gen.js.map +1 -0
  199. package/dist/sbmng/core/types.gen.d.ts +79 -0
  200. package/dist/sbmng/core/types.gen.d.ts.map +1 -0
  201. package/dist/sbmng/core/types.gen.js +3 -0
  202. package/dist/sbmng/core/types.gen.js.map +1 -0
  203. package/dist/sbmng/core/utils.gen.d.ts +20 -0
  204. package/dist/sbmng/core/utils.gen.d.ts.map +1 -0
  205. package/dist/sbmng/core/utils.gen.js +88 -0
  206. package/dist/sbmng/core/utils.gen.js.map +1 -0
  207. package/dist/sbmng/index.d.ts +3 -0
  208. package/dist/sbmng/index.d.ts.map +1 -0
  209. package/dist/sbmng/index.js +3 -0
  210. package/dist/sbmng/index.js.map +1 -0
  211. package/dist/sbmng/schemas.gen.d.ts +7220 -0
  212. package/dist/sbmng/schemas.gen.d.ts.map +1 -0
  213. package/dist/sbmng/schemas.gen.js +9392 -0
  214. package/dist/sbmng/schemas.gen.js.map +1 -0
  215. package/dist/sbmng/sdk.gen.d.ts +743 -0
  216. package/dist/sbmng/sdk.gen.d.ts.map +1 -0
  217. package/dist/sbmng/sdk.gen.js +1543 -0
  218. package/dist/sbmng/sdk.gen.js.map +1 -0
  219. package/dist/sbmng/types.gen.d.ts +7003 -0
  220. package/dist/sbmng/types.gen.d.ts.map +1 -0
  221. package/dist/sbmng/types.gen.js +3 -0
  222. package/dist/sbmng/types.gen.js.map +1 -0
  223. package/dist/supabase/context.d.ts +14 -0
  224. package/dist/supabase/context.d.ts.map +1 -0
  225. package/dist/supabase/context.js +33 -0
  226. package/dist/supabase/context.js.map +1 -0
  227. package/dist/supabase/supabase-client.d.ts +1625 -304
  228. package/dist/supabase/supabase-client.d.ts.map +1 -1
  229. package/dist/supabase/supabase.d.ts +3551 -909
  230. package/dist/supabase/supabase.d.ts.map +1 -1
  231. package/dist/supabase/supabase.js +1 -34
  232. package/dist/supabase/supabase.js.map +1 -1
  233. package/dist/types/database.types.d.ts +1656 -314
  234. package/dist/types/database.types.d.ts.map +1 -1
  235. package/dist/types/database.types.js +3 -1
  236. package/dist/types/database.types.js.map +1 -1
  237. package/dist/types/index.d.ts +30 -1
  238. package/dist/types/index.d.ts.map +1 -1
  239. package/package.json +45 -42
  240. package/dist/supabase/supabase-browser.d.ts +0 -4
  241. package/dist/supabase/supabase-browser.d.ts.map +0 -1
  242. package/dist/supabase/supabase-browser.js +0 -20
  243. package/dist/supabase/supabase-browser.js.map +0 -1
@@ -0,0 +1,4823 @@
1
+ export declare const Event_installation_updatedSchema: {
2
+ readonly type: "object";
3
+ readonly properties: {
4
+ readonly type: {
5
+ readonly type: "string";
6
+ readonly const: "installation.updated";
7
+ };
8
+ readonly properties: {
9
+ readonly type: "object";
10
+ readonly properties: {
11
+ readonly version: {
12
+ readonly type: "string";
13
+ };
14
+ };
15
+ readonly required: readonly ["version"];
16
+ };
17
+ };
18
+ readonly required: readonly ["type", "properties"];
19
+ };
20
+ export declare const Event_installation_update_availableSchema: {
21
+ readonly type: "object";
22
+ readonly properties: {
23
+ readonly type: {
24
+ readonly type: "string";
25
+ readonly const: "installation.update-available";
26
+ };
27
+ readonly properties: {
28
+ readonly type: "object";
29
+ readonly properties: {
30
+ readonly version: {
31
+ readonly type: "string";
32
+ };
33
+ };
34
+ readonly required: readonly ["version"];
35
+ };
36
+ };
37
+ readonly required: readonly ["type", "properties"];
38
+ };
39
+ export declare const ProjectSchema: {
40
+ readonly type: "object";
41
+ readonly properties: {
42
+ readonly id: {
43
+ readonly type: "string";
44
+ };
45
+ readonly worktree: {
46
+ readonly type: "string";
47
+ };
48
+ readonly vcs: {
49
+ readonly type: "string";
50
+ readonly const: "git";
51
+ };
52
+ readonly name: {
53
+ readonly type: "string";
54
+ };
55
+ readonly icon: {
56
+ readonly type: "object";
57
+ readonly properties: {
58
+ readonly url: {
59
+ readonly type: "string";
60
+ };
61
+ readonly color: {
62
+ readonly type: "string";
63
+ };
64
+ };
65
+ };
66
+ readonly time: {
67
+ readonly type: "object";
68
+ readonly properties: {
69
+ readonly created: {
70
+ readonly type: "number";
71
+ };
72
+ readonly updated: {
73
+ readonly type: "number";
74
+ };
75
+ readonly initialized: {
76
+ readonly type: "number";
77
+ };
78
+ };
79
+ readonly required: readonly ["created", "updated"];
80
+ };
81
+ readonly sandboxes: {
82
+ readonly type: "array";
83
+ readonly items: {
84
+ readonly type: "string";
85
+ };
86
+ };
87
+ };
88
+ readonly required: readonly ["id", "worktree", "time", "sandboxes"];
89
+ };
90
+ export declare const Event_project_updatedSchema: {
91
+ readonly type: "object";
92
+ readonly properties: {
93
+ readonly type: {
94
+ readonly type: "string";
95
+ readonly const: "project.updated";
96
+ };
97
+ readonly properties: {
98
+ readonly $ref: "#/components/schemas/Project";
99
+ };
100
+ };
101
+ readonly required: readonly ["type", "properties"];
102
+ };
103
+ export declare const Event_server_instance_disposedSchema: {
104
+ readonly type: "object";
105
+ readonly properties: {
106
+ readonly type: {
107
+ readonly type: "string";
108
+ readonly const: "server.instance.disposed";
109
+ };
110
+ readonly properties: {
111
+ readonly type: "object";
112
+ readonly properties: {
113
+ readonly directory: {
114
+ readonly type: "string";
115
+ };
116
+ };
117
+ readonly required: readonly ["directory"];
118
+ };
119
+ };
120
+ readonly required: readonly ["type", "properties"];
121
+ };
122
+ export declare const Event_lsp_client_diagnosticsSchema: {
123
+ readonly type: "object";
124
+ readonly properties: {
125
+ readonly type: {
126
+ readonly type: "string";
127
+ readonly const: "lsp.client.diagnostics";
128
+ };
129
+ readonly properties: {
130
+ readonly type: "object";
131
+ readonly properties: {
132
+ readonly serverID: {
133
+ readonly type: "string";
134
+ };
135
+ readonly path: {
136
+ readonly type: "string";
137
+ };
138
+ };
139
+ readonly required: readonly ["serverID", "path"];
140
+ };
141
+ };
142
+ readonly required: readonly ["type", "properties"];
143
+ };
144
+ export declare const Event_lsp_updatedSchema: {
145
+ readonly type: "object";
146
+ readonly properties: {
147
+ readonly type: {
148
+ readonly type: "string";
149
+ readonly const: "lsp.updated";
150
+ };
151
+ readonly properties: {
152
+ readonly type: "object";
153
+ readonly properties: {};
154
+ };
155
+ };
156
+ readonly required: readonly ["type", "properties"];
157
+ };
158
+ export declare const FileDiffSchema: {
159
+ readonly type: "object";
160
+ readonly properties: {
161
+ readonly file: {
162
+ readonly type: "string";
163
+ };
164
+ readonly before: {
165
+ readonly type: "string";
166
+ };
167
+ readonly after: {
168
+ readonly type: "string";
169
+ };
170
+ readonly additions: {
171
+ readonly type: "number";
172
+ };
173
+ readonly deletions: {
174
+ readonly type: "number";
175
+ };
176
+ };
177
+ readonly required: readonly ["file", "before", "after", "additions", "deletions"];
178
+ };
179
+ export declare const UserMessageSchema: {
180
+ readonly type: "object";
181
+ readonly properties: {
182
+ readonly id: {
183
+ readonly type: "string";
184
+ };
185
+ readonly sessionID: {
186
+ readonly type: "string";
187
+ };
188
+ readonly role: {
189
+ readonly type: "string";
190
+ readonly const: "user";
191
+ };
192
+ readonly time: {
193
+ readonly type: "object";
194
+ readonly properties: {
195
+ readonly created: {
196
+ readonly type: "number";
197
+ };
198
+ };
199
+ readonly required: readonly ["created"];
200
+ };
201
+ readonly summary: {
202
+ readonly type: "object";
203
+ readonly properties: {
204
+ readonly title: {
205
+ readonly type: "string";
206
+ };
207
+ readonly body: {
208
+ readonly type: "string";
209
+ };
210
+ readonly diffs: {
211
+ readonly type: "array";
212
+ readonly items: {
213
+ readonly $ref: "#/components/schemas/FileDiff";
214
+ };
215
+ };
216
+ };
217
+ readonly required: readonly ["diffs"];
218
+ };
219
+ readonly agent: {
220
+ readonly type: "string";
221
+ };
222
+ readonly model: {
223
+ readonly type: "object";
224
+ readonly properties: {
225
+ readonly providerID: {
226
+ readonly type: "string";
227
+ };
228
+ readonly modelID: {
229
+ readonly type: "string";
230
+ };
231
+ };
232
+ readonly required: readonly ["providerID", "modelID"];
233
+ };
234
+ readonly system: {
235
+ readonly type: "string";
236
+ };
237
+ readonly tools: {
238
+ readonly type: "object";
239
+ readonly propertyNames: {
240
+ readonly type: "string";
241
+ };
242
+ readonly additionalProperties: {
243
+ readonly type: "boolean";
244
+ };
245
+ };
246
+ readonly variant: {
247
+ readonly type: "string";
248
+ };
249
+ };
250
+ readonly required: readonly ["id", "sessionID", "role", "time", "agent", "model"];
251
+ };
252
+ export declare const ProviderAuthErrorSchema: {
253
+ readonly type: "object";
254
+ readonly properties: {
255
+ readonly name: {
256
+ readonly type: "string";
257
+ readonly const: "ProviderAuthError";
258
+ };
259
+ readonly data: {
260
+ readonly type: "object";
261
+ readonly properties: {
262
+ readonly providerID: {
263
+ readonly type: "string";
264
+ };
265
+ readonly message: {
266
+ readonly type: "string";
267
+ };
268
+ };
269
+ readonly required: readonly ["providerID", "message"];
270
+ };
271
+ };
272
+ readonly required: readonly ["name", "data"];
273
+ };
274
+ export declare const UnknownErrorSchema: {
275
+ readonly type: "object";
276
+ readonly properties: {
277
+ readonly name: {
278
+ readonly type: "string";
279
+ readonly const: "UnknownError";
280
+ };
281
+ readonly data: {
282
+ readonly type: "object";
283
+ readonly properties: {
284
+ readonly message: {
285
+ readonly type: "string";
286
+ };
287
+ };
288
+ readonly required: readonly ["message"];
289
+ };
290
+ };
291
+ readonly required: readonly ["name", "data"];
292
+ };
293
+ export declare const MessageOutputLengthErrorSchema: {
294
+ readonly type: "object";
295
+ readonly properties: {
296
+ readonly name: {
297
+ readonly type: "string";
298
+ readonly const: "MessageOutputLengthError";
299
+ };
300
+ readonly data: {
301
+ readonly type: "object";
302
+ readonly properties: {};
303
+ };
304
+ };
305
+ readonly required: readonly ["name", "data"];
306
+ };
307
+ export declare const MessageAbortedErrorSchema: {
308
+ readonly type: "object";
309
+ readonly properties: {
310
+ readonly name: {
311
+ readonly type: "string";
312
+ readonly const: "MessageAbortedError";
313
+ };
314
+ readonly data: {
315
+ readonly type: "object";
316
+ readonly properties: {
317
+ readonly message: {
318
+ readonly type: "string";
319
+ };
320
+ };
321
+ readonly required: readonly ["message"];
322
+ };
323
+ };
324
+ readonly required: readonly ["name", "data"];
325
+ };
326
+ export declare const APIErrorSchema: {
327
+ readonly type: "object";
328
+ readonly properties: {
329
+ readonly name: {
330
+ readonly type: "string";
331
+ readonly const: "APIError";
332
+ };
333
+ readonly data: {
334
+ readonly type: "object";
335
+ readonly properties: {
336
+ readonly message: {
337
+ readonly type: "string";
338
+ };
339
+ readonly statusCode: {
340
+ readonly type: "number";
341
+ };
342
+ readonly isRetryable: {
343
+ readonly type: "boolean";
344
+ };
345
+ readonly responseHeaders: {
346
+ readonly type: "object";
347
+ readonly propertyNames: {
348
+ readonly type: "string";
349
+ };
350
+ readonly additionalProperties: {
351
+ readonly type: "string";
352
+ };
353
+ };
354
+ readonly responseBody: {
355
+ readonly type: "string";
356
+ };
357
+ readonly metadata: {
358
+ readonly type: "object";
359
+ readonly propertyNames: {
360
+ readonly type: "string";
361
+ };
362
+ readonly additionalProperties: {
363
+ readonly type: "string";
364
+ };
365
+ };
366
+ };
367
+ readonly required: readonly ["message", "isRetryable"];
368
+ };
369
+ };
370
+ readonly required: readonly ["name", "data"];
371
+ };
372
+ export declare const AssistantMessageSchema: {
373
+ readonly type: "object";
374
+ readonly properties: {
375
+ readonly id: {
376
+ readonly type: "string";
377
+ };
378
+ readonly sessionID: {
379
+ readonly type: "string";
380
+ };
381
+ readonly role: {
382
+ readonly type: "string";
383
+ readonly const: "assistant";
384
+ };
385
+ readonly time: {
386
+ readonly type: "object";
387
+ readonly properties: {
388
+ readonly created: {
389
+ readonly type: "number";
390
+ };
391
+ readonly completed: {
392
+ readonly type: "number";
393
+ };
394
+ };
395
+ readonly required: readonly ["created"];
396
+ };
397
+ readonly error: {
398
+ readonly anyOf: readonly [{
399
+ readonly $ref: "#/components/schemas/ProviderAuthError";
400
+ }, {
401
+ readonly $ref: "#/components/schemas/UnknownError";
402
+ }, {
403
+ readonly $ref: "#/components/schemas/MessageOutputLengthError";
404
+ }, {
405
+ readonly $ref: "#/components/schemas/MessageAbortedError";
406
+ }, {
407
+ readonly $ref: "#/components/schemas/APIError";
408
+ }];
409
+ };
410
+ readonly parentID: {
411
+ readonly type: "string";
412
+ };
413
+ readonly modelID: {
414
+ readonly type: "string";
415
+ };
416
+ readonly providerID: {
417
+ readonly type: "string";
418
+ };
419
+ readonly mode: {
420
+ readonly type: "string";
421
+ };
422
+ readonly agent: {
423
+ readonly type: "string";
424
+ };
425
+ readonly path: {
426
+ readonly type: "object";
427
+ readonly properties: {
428
+ readonly cwd: {
429
+ readonly type: "string";
430
+ };
431
+ readonly root: {
432
+ readonly type: "string";
433
+ };
434
+ };
435
+ readonly required: readonly ["cwd", "root"];
436
+ };
437
+ readonly summary: {
438
+ readonly type: "boolean";
439
+ };
440
+ readonly cost: {
441
+ readonly type: "number";
442
+ };
443
+ readonly tokens: {
444
+ readonly type: "object";
445
+ readonly properties: {
446
+ readonly input: {
447
+ readonly type: "number";
448
+ };
449
+ readonly output: {
450
+ readonly type: "number";
451
+ };
452
+ readonly reasoning: {
453
+ readonly type: "number";
454
+ };
455
+ readonly cache: {
456
+ readonly type: "object";
457
+ readonly properties: {
458
+ readonly read: {
459
+ readonly type: "number";
460
+ };
461
+ readonly write: {
462
+ readonly type: "number";
463
+ };
464
+ };
465
+ readonly required: readonly ["read", "write"];
466
+ };
467
+ };
468
+ readonly required: readonly ["input", "output", "reasoning", "cache"];
469
+ };
470
+ readonly finish: {
471
+ readonly type: "string";
472
+ };
473
+ };
474
+ readonly required: readonly ["id", "sessionID", "role", "time", "parentID", "modelID", "providerID", "mode", "agent", "path", "cost", "tokens"];
475
+ };
476
+ export declare const MessageSchema: {
477
+ readonly anyOf: readonly [{
478
+ readonly $ref: "#/components/schemas/UserMessage";
479
+ }, {
480
+ readonly $ref: "#/components/schemas/AssistantMessage";
481
+ }];
482
+ };
483
+ export declare const Event_message_updatedSchema: {
484
+ readonly type: "object";
485
+ readonly properties: {
486
+ readonly type: {
487
+ readonly type: "string";
488
+ readonly const: "message.updated";
489
+ };
490
+ readonly properties: {
491
+ readonly type: "object";
492
+ readonly properties: {
493
+ readonly info: {
494
+ readonly $ref: "#/components/schemas/Message";
495
+ };
496
+ };
497
+ readonly required: readonly ["info"];
498
+ };
499
+ };
500
+ readonly required: readonly ["type", "properties"];
501
+ };
502
+ export declare const Event_message_removedSchema: {
503
+ readonly type: "object";
504
+ readonly properties: {
505
+ readonly type: {
506
+ readonly type: "string";
507
+ readonly const: "message.removed";
508
+ };
509
+ readonly properties: {
510
+ readonly type: "object";
511
+ readonly properties: {
512
+ readonly sessionID: {
513
+ readonly type: "string";
514
+ };
515
+ readonly messageID: {
516
+ readonly type: "string";
517
+ };
518
+ };
519
+ readonly required: readonly ["sessionID", "messageID"];
520
+ };
521
+ };
522
+ readonly required: readonly ["type", "properties"];
523
+ };
524
+ export declare const TextPartSchema: {
525
+ readonly type: "object";
526
+ readonly properties: {
527
+ readonly id: {
528
+ readonly type: "string";
529
+ };
530
+ readonly sessionID: {
531
+ readonly type: "string";
532
+ };
533
+ readonly messageID: {
534
+ readonly type: "string";
535
+ };
536
+ readonly type: {
537
+ readonly type: "string";
538
+ readonly const: "text";
539
+ };
540
+ readonly text: {
541
+ readonly type: "string";
542
+ };
543
+ readonly synthetic: {
544
+ readonly type: "boolean";
545
+ };
546
+ readonly ignored: {
547
+ readonly type: "boolean";
548
+ };
549
+ readonly time: {
550
+ readonly type: "object";
551
+ readonly properties: {
552
+ readonly start: {
553
+ readonly type: "number";
554
+ };
555
+ readonly end: {
556
+ readonly type: "number";
557
+ };
558
+ };
559
+ readonly required: readonly ["start"];
560
+ };
561
+ readonly metadata: {
562
+ readonly type: "object";
563
+ readonly propertyNames: {
564
+ readonly type: "string";
565
+ };
566
+ readonly additionalProperties: {};
567
+ };
568
+ };
569
+ readonly required: readonly ["id", "sessionID", "messageID", "type", "text"];
570
+ };
571
+ export declare const ReasoningPartSchema: {
572
+ readonly type: "object";
573
+ readonly properties: {
574
+ readonly id: {
575
+ readonly type: "string";
576
+ };
577
+ readonly sessionID: {
578
+ readonly type: "string";
579
+ };
580
+ readonly messageID: {
581
+ readonly type: "string";
582
+ };
583
+ readonly type: {
584
+ readonly type: "string";
585
+ readonly const: "reasoning";
586
+ };
587
+ readonly text: {
588
+ readonly type: "string";
589
+ };
590
+ readonly metadata: {
591
+ readonly type: "object";
592
+ readonly propertyNames: {
593
+ readonly type: "string";
594
+ };
595
+ readonly additionalProperties: {};
596
+ };
597
+ readonly time: {
598
+ readonly type: "object";
599
+ readonly properties: {
600
+ readonly start: {
601
+ readonly type: "number";
602
+ };
603
+ readonly end: {
604
+ readonly type: "number";
605
+ };
606
+ };
607
+ readonly required: readonly ["start"];
608
+ };
609
+ };
610
+ readonly required: readonly ["id", "sessionID", "messageID", "type", "text", "time"];
611
+ };
612
+ export declare const FilePartSourceTextSchema: {
613
+ readonly type: "object";
614
+ readonly properties: {
615
+ readonly value: {
616
+ readonly type: "string";
617
+ };
618
+ readonly start: {
619
+ readonly type: "integer";
620
+ readonly minimum: -9007199254740991;
621
+ readonly maximum: 9007199254740991;
622
+ };
623
+ readonly end: {
624
+ readonly type: "integer";
625
+ readonly minimum: -9007199254740991;
626
+ readonly maximum: 9007199254740991;
627
+ };
628
+ };
629
+ readonly required: readonly ["value", "start", "end"];
630
+ };
631
+ export declare const FileSourceSchema: {
632
+ readonly type: "object";
633
+ readonly properties: {
634
+ readonly text: {
635
+ readonly $ref: "#/components/schemas/FilePartSourceText";
636
+ };
637
+ readonly type: {
638
+ readonly type: "string";
639
+ readonly const: "file";
640
+ };
641
+ readonly path: {
642
+ readonly type: "string";
643
+ };
644
+ };
645
+ readonly required: readonly ["text", "type", "path"];
646
+ };
647
+ export declare const RangeSchema: {
648
+ readonly type: "object";
649
+ readonly properties: {
650
+ readonly start: {
651
+ readonly type: "object";
652
+ readonly properties: {
653
+ readonly line: {
654
+ readonly type: "number";
655
+ };
656
+ readonly character: {
657
+ readonly type: "number";
658
+ };
659
+ };
660
+ readonly required: readonly ["line", "character"];
661
+ };
662
+ readonly end: {
663
+ readonly type: "object";
664
+ readonly properties: {
665
+ readonly line: {
666
+ readonly type: "number";
667
+ };
668
+ readonly character: {
669
+ readonly type: "number";
670
+ };
671
+ };
672
+ readonly required: readonly ["line", "character"];
673
+ };
674
+ };
675
+ readonly required: readonly ["start", "end"];
676
+ };
677
+ export declare const SymbolSourceSchema: {
678
+ readonly type: "object";
679
+ readonly properties: {
680
+ readonly text: {
681
+ readonly $ref: "#/components/schemas/FilePartSourceText";
682
+ };
683
+ readonly type: {
684
+ readonly type: "string";
685
+ readonly const: "symbol";
686
+ };
687
+ readonly path: {
688
+ readonly type: "string";
689
+ };
690
+ readonly range: {
691
+ readonly $ref: "#/components/schemas/Range";
692
+ };
693
+ readonly name: {
694
+ readonly type: "string";
695
+ };
696
+ readonly kind: {
697
+ readonly type: "integer";
698
+ readonly minimum: -9007199254740991;
699
+ readonly maximum: 9007199254740991;
700
+ };
701
+ };
702
+ readonly required: readonly ["text", "type", "path", "range", "name", "kind"];
703
+ };
704
+ export declare const ResourceSourceSchema: {
705
+ readonly type: "object";
706
+ readonly properties: {
707
+ readonly text: {
708
+ readonly $ref: "#/components/schemas/FilePartSourceText";
709
+ };
710
+ readonly type: {
711
+ readonly type: "string";
712
+ readonly const: "resource";
713
+ };
714
+ readonly clientName: {
715
+ readonly type: "string";
716
+ };
717
+ readonly uri: {
718
+ readonly type: "string";
719
+ };
720
+ };
721
+ readonly required: readonly ["text", "type", "clientName", "uri"];
722
+ };
723
+ export declare const FilePartSourceSchema: {
724
+ readonly anyOf: readonly [{
725
+ readonly $ref: "#/components/schemas/FileSource";
726
+ }, {
727
+ readonly $ref: "#/components/schemas/SymbolSource";
728
+ }, {
729
+ readonly $ref: "#/components/schemas/ResourceSource";
730
+ }];
731
+ };
732
+ export declare const FilePartSchema: {
733
+ readonly type: "object";
734
+ readonly properties: {
735
+ readonly id: {
736
+ readonly type: "string";
737
+ };
738
+ readonly sessionID: {
739
+ readonly type: "string";
740
+ };
741
+ readonly messageID: {
742
+ readonly type: "string";
743
+ };
744
+ readonly type: {
745
+ readonly type: "string";
746
+ readonly const: "file";
747
+ };
748
+ readonly mime: {
749
+ readonly type: "string";
750
+ };
751
+ readonly filename: {
752
+ readonly type: "string";
753
+ };
754
+ readonly url: {
755
+ readonly type: "string";
756
+ };
757
+ readonly source: {
758
+ readonly $ref: "#/components/schemas/FilePartSource";
759
+ };
760
+ };
761
+ readonly required: readonly ["id", "sessionID", "messageID", "type", "mime", "url"];
762
+ };
763
+ export declare const ToolStatePendingSchema: {
764
+ readonly type: "object";
765
+ readonly properties: {
766
+ readonly status: {
767
+ readonly type: "string";
768
+ readonly const: "pending";
769
+ };
770
+ readonly input: {
771
+ readonly type: "object";
772
+ readonly propertyNames: {
773
+ readonly type: "string";
774
+ };
775
+ readonly additionalProperties: {};
776
+ };
777
+ readonly raw: {
778
+ readonly type: "string";
779
+ };
780
+ };
781
+ readonly required: readonly ["status", "input", "raw"];
782
+ };
783
+ export declare const ToolStateRunningSchema: {
784
+ readonly type: "object";
785
+ readonly properties: {
786
+ readonly status: {
787
+ readonly type: "string";
788
+ readonly const: "running";
789
+ };
790
+ readonly input: {
791
+ readonly type: "object";
792
+ readonly propertyNames: {
793
+ readonly type: "string";
794
+ };
795
+ readonly additionalProperties: {};
796
+ };
797
+ readonly title: {
798
+ readonly type: "string";
799
+ };
800
+ readonly metadata: {
801
+ readonly type: "object";
802
+ readonly propertyNames: {
803
+ readonly type: "string";
804
+ };
805
+ readonly additionalProperties: {};
806
+ };
807
+ readonly time: {
808
+ readonly type: "object";
809
+ readonly properties: {
810
+ readonly start: {
811
+ readonly type: "number";
812
+ };
813
+ };
814
+ readonly required: readonly ["start"];
815
+ };
816
+ };
817
+ readonly required: readonly ["status", "input", "time"];
818
+ };
819
+ export declare const ToolStateCompletedSchema: {
820
+ readonly type: "object";
821
+ readonly properties: {
822
+ readonly status: {
823
+ readonly type: "string";
824
+ readonly const: "completed";
825
+ };
826
+ readonly input: {
827
+ readonly type: "object";
828
+ readonly propertyNames: {
829
+ readonly type: "string";
830
+ };
831
+ readonly additionalProperties: {};
832
+ };
833
+ readonly output: {
834
+ readonly type: "string";
835
+ };
836
+ readonly title: {
837
+ readonly type: "string";
838
+ };
839
+ readonly metadata: {
840
+ readonly type: "object";
841
+ readonly propertyNames: {
842
+ readonly type: "string";
843
+ };
844
+ readonly additionalProperties: {};
845
+ };
846
+ readonly time: {
847
+ readonly type: "object";
848
+ readonly properties: {
849
+ readonly start: {
850
+ readonly type: "number";
851
+ };
852
+ readonly end: {
853
+ readonly type: "number";
854
+ };
855
+ readonly compacted: {
856
+ readonly type: "number";
857
+ };
858
+ };
859
+ readonly required: readonly ["start", "end"];
860
+ };
861
+ readonly attachments: {
862
+ readonly type: "array";
863
+ readonly items: {
864
+ readonly $ref: "#/components/schemas/FilePart";
865
+ };
866
+ };
867
+ };
868
+ readonly required: readonly ["status", "input", "output", "title", "metadata", "time"];
869
+ };
870
+ export declare const ToolStateErrorSchema: {
871
+ readonly type: "object";
872
+ readonly properties: {
873
+ readonly status: {
874
+ readonly type: "string";
875
+ readonly const: "error";
876
+ };
877
+ readonly input: {
878
+ readonly type: "object";
879
+ readonly propertyNames: {
880
+ readonly type: "string";
881
+ };
882
+ readonly additionalProperties: {};
883
+ };
884
+ readonly error: {
885
+ readonly type: "string";
886
+ };
887
+ readonly metadata: {
888
+ readonly type: "object";
889
+ readonly propertyNames: {
890
+ readonly type: "string";
891
+ };
892
+ readonly additionalProperties: {};
893
+ };
894
+ readonly time: {
895
+ readonly type: "object";
896
+ readonly properties: {
897
+ readonly start: {
898
+ readonly type: "number";
899
+ };
900
+ readonly end: {
901
+ readonly type: "number";
902
+ };
903
+ };
904
+ readonly required: readonly ["start", "end"];
905
+ };
906
+ };
907
+ readonly required: readonly ["status", "input", "error", "time"];
908
+ };
909
+ export declare const ToolStateSchema: {
910
+ readonly anyOf: readonly [{
911
+ readonly $ref: "#/components/schemas/ToolStatePending";
912
+ }, {
913
+ readonly $ref: "#/components/schemas/ToolStateRunning";
914
+ }, {
915
+ readonly $ref: "#/components/schemas/ToolStateCompleted";
916
+ }, {
917
+ readonly $ref: "#/components/schemas/ToolStateError";
918
+ }];
919
+ };
920
+ export declare const ToolPartSchema: {
921
+ readonly type: "object";
922
+ readonly properties: {
923
+ readonly id: {
924
+ readonly type: "string";
925
+ };
926
+ readonly sessionID: {
927
+ readonly type: "string";
928
+ };
929
+ readonly messageID: {
930
+ readonly type: "string";
931
+ };
932
+ readonly type: {
933
+ readonly type: "string";
934
+ readonly const: "tool";
935
+ };
936
+ readonly callID: {
937
+ readonly type: "string";
938
+ };
939
+ readonly tool: {
940
+ readonly type: "string";
941
+ };
942
+ readonly state: {
943
+ readonly $ref: "#/components/schemas/ToolState";
944
+ };
945
+ readonly metadata: {
946
+ readonly type: "object";
947
+ readonly propertyNames: {
948
+ readonly type: "string";
949
+ };
950
+ readonly additionalProperties: {};
951
+ };
952
+ };
953
+ readonly required: readonly ["id", "sessionID", "messageID", "type", "callID", "tool", "state"];
954
+ };
955
+ export declare const StepStartPartSchema: {
956
+ readonly type: "object";
957
+ readonly properties: {
958
+ readonly id: {
959
+ readonly type: "string";
960
+ };
961
+ readonly sessionID: {
962
+ readonly type: "string";
963
+ };
964
+ readonly messageID: {
965
+ readonly type: "string";
966
+ };
967
+ readonly type: {
968
+ readonly type: "string";
969
+ readonly const: "step-start";
970
+ };
971
+ readonly snapshot: {
972
+ readonly type: "string";
973
+ };
974
+ };
975
+ readonly required: readonly ["id", "sessionID", "messageID", "type"];
976
+ };
977
+ export declare const StepFinishPartSchema: {
978
+ readonly type: "object";
979
+ readonly properties: {
980
+ readonly id: {
981
+ readonly type: "string";
982
+ };
983
+ readonly sessionID: {
984
+ readonly type: "string";
985
+ };
986
+ readonly messageID: {
987
+ readonly type: "string";
988
+ };
989
+ readonly type: {
990
+ readonly type: "string";
991
+ readonly const: "step-finish";
992
+ };
993
+ readonly reason: {
994
+ readonly type: "string";
995
+ };
996
+ readonly snapshot: {
997
+ readonly type: "string";
998
+ };
999
+ readonly cost: {
1000
+ readonly type: "number";
1001
+ };
1002
+ readonly tokens: {
1003
+ readonly type: "object";
1004
+ readonly properties: {
1005
+ readonly input: {
1006
+ readonly type: "number";
1007
+ };
1008
+ readonly output: {
1009
+ readonly type: "number";
1010
+ };
1011
+ readonly reasoning: {
1012
+ readonly type: "number";
1013
+ };
1014
+ readonly cache: {
1015
+ readonly type: "object";
1016
+ readonly properties: {
1017
+ readonly read: {
1018
+ readonly type: "number";
1019
+ };
1020
+ readonly write: {
1021
+ readonly type: "number";
1022
+ };
1023
+ };
1024
+ readonly required: readonly ["read", "write"];
1025
+ };
1026
+ };
1027
+ readonly required: readonly ["input", "output", "reasoning", "cache"];
1028
+ };
1029
+ };
1030
+ readonly required: readonly ["id", "sessionID", "messageID", "type", "reason", "cost", "tokens"];
1031
+ };
1032
+ export declare const SnapshotPartSchema: {
1033
+ readonly type: "object";
1034
+ readonly properties: {
1035
+ readonly id: {
1036
+ readonly type: "string";
1037
+ };
1038
+ readonly sessionID: {
1039
+ readonly type: "string";
1040
+ };
1041
+ readonly messageID: {
1042
+ readonly type: "string";
1043
+ };
1044
+ readonly type: {
1045
+ readonly type: "string";
1046
+ readonly const: "snapshot";
1047
+ };
1048
+ readonly snapshot: {
1049
+ readonly type: "string";
1050
+ };
1051
+ };
1052
+ readonly required: readonly ["id", "sessionID", "messageID", "type", "snapshot"];
1053
+ };
1054
+ export declare const PatchPartSchema: {
1055
+ readonly type: "object";
1056
+ readonly properties: {
1057
+ readonly id: {
1058
+ readonly type: "string";
1059
+ };
1060
+ readonly sessionID: {
1061
+ readonly type: "string";
1062
+ };
1063
+ readonly messageID: {
1064
+ readonly type: "string";
1065
+ };
1066
+ readonly type: {
1067
+ readonly type: "string";
1068
+ readonly const: "patch";
1069
+ };
1070
+ readonly hash: {
1071
+ readonly type: "string";
1072
+ };
1073
+ readonly files: {
1074
+ readonly type: "array";
1075
+ readonly items: {
1076
+ readonly type: "string";
1077
+ };
1078
+ };
1079
+ };
1080
+ readonly required: readonly ["id", "sessionID", "messageID", "type", "hash", "files"];
1081
+ };
1082
+ export declare const AgentPartSchema: {
1083
+ readonly type: "object";
1084
+ readonly properties: {
1085
+ readonly id: {
1086
+ readonly type: "string";
1087
+ };
1088
+ readonly sessionID: {
1089
+ readonly type: "string";
1090
+ };
1091
+ readonly messageID: {
1092
+ readonly type: "string";
1093
+ };
1094
+ readonly type: {
1095
+ readonly type: "string";
1096
+ readonly const: "agent";
1097
+ };
1098
+ readonly name: {
1099
+ readonly type: "string";
1100
+ };
1101
+ readonly source: {
1102
+ readonly type: "object";
1103
+ readonly properties: {
1104
+ readonly value: {
1105
+ readonly type: "string";
1106
+ };
1107
+ readonly start: {
1108
+ readonly type: "integer";
1109
+ readonly minimum: -9007199254740991;
1110
+ readonly maximum: 9007199254740991;
1111
+ };
1112
+ readonly end: {
1113
+ readonly type: "integer";
1114
+ readonly minimum: -9007199254740991;
1115
+ readonly maximum: 9007199254740991;
1116
+ };
1117
+ };
1118
+ readonly required: readonly ["value", "start", "end"];
1119
+ };
1120
+ };
1121
+ readonly required: readonly ["id", "sessionID", "messageID", "type", "name"];
1122
+ };
1123
+ export declare const RetryPartSchema: {
1124
+ readonly type: "object";
1125
+ readonly properties: {
1126
+ readonly id: {
1127
+ readonly type: "string";
1128
+ };
1129
+ readonly sessionID: {
1130
+ readonly type: "string";
1131
+ };
1132
+ readonly messageID: {
1133
+ readonly type: "string";
1134
+ };
1135
+ readonly type: {
1136
+ readonly type: "string";
1137
+ readonly const: "retry";
1138
+ };
1139
+ readonly attempt: {
1140
+ readonly type: "number";
1141
+ };
1142
+ readonly error: {
1143
+ readonly $ref: "#/components/schemas/APIError";
1144
+ };
1145
+ readonly time: {
1146
+ readonly type: "object";
1147
+ readonly properties: {
1148
+ readonly created: {
1149
+ readonly type: "number";
1150
+ };
1151
+ };
1152
+ readonly required: readonly ["created"];
1153
+ };
1154
+ };
1155
+ readonly required: readonly ["id", "sessionID", "messageID", "type", "attempt", "error", "time"];
1156
+ };
1157
+ export declare const CompactionPartSchema: {
1158
+ readonly type: "object";
1159
+ readonly properties: {
1160
+ readonly id: {
1161
+ readonly type: "string";
1162
+ };
1163
+ readonly sessionID: {
1164
+ readonly type: "string";
1165
+ };
1166
+ readonly messageID: {
1167
+ readonly type: "string";
1168
+ };
1169
+ readonly type: {
1170
+ readonly type: "string";
1171
+ readonly const: "compaction";
1172
+ };
1173
+ readonly auto: {
1174
+ readonly type: "boolean";
1175
+ };
1176
+ };
1177
+ readonly required: readonly ["id", "sessionID", "messageID", "type", "auto"];
1178
+ };
1179
+ export declare const PartSchema: {
1180
+ readonly anyOf: readonly [{
1181
+ readonly $ref: "#/components/schemas/TextPart";
1182
+ }, {
1183
+ readonly type: "object";
1184
+ readonly properties: {
1185
+ readonly id: {
1186
+ readonly type: "string";
1187
+ };
1188
+ readonly sessionID: {
1189
+ readonly type: "string";
1190
+ };
1191
+ readonly messageID: {
1192
+ readonly type: "string";
1193
+ };
1194
+ readonly type: {
1195
+ readonly type: "string";
1196
+ readonly const: "subtask";
1197
+ };
1198
+ readonly prompt: {
1199
+ readonly type: "string";
1200
+ };
1201
+ readonly description: {
1202
+ readonly type: "string";
1203
+ };
1204
+ readonly agent: {
1205
+ readonly type: "string";
1206
+ };
1207
+ readonly model: {
1208
+ readonly type: "object";
1209
+ readonly properties: {
1210
+ readonly providerID: {
1211
+ readonly type: "string";
1212
+ };
1213
+ readonly modelID: {
1214
+ readonly type: "string";
1215
+ };
1216
+ };
1217
+ readonly required: readonly ["providerID", "modelID"];
1218
+ };
1219
+ readonly command: {
1220
+ readonly type: "string";
1221
+ };
1222
+ };
1223
+ readonly required: readonly ["id", "sessionID", "messageID", "type", "prompt", "description", "agent"];
1224
+ }, {
1225
+ readonly $ref: "#/components/schemas/ReasoningPart";
1226
+ }, {
1227
+ readonly $ref: "#/components/schemas/FilePart";
1228
+ }, {
1229
+ readonly $ref: "#/components/schemas/ToolPart";
1230
+ }, {
1231
+ readonly $ref: "#/components/schemas/StepStartPart";
1232
+ }, {
1233
+ readonly $ref: "#/components/schemas/StepFinishPart";
1234
+ }, {
1235
+ readonly $ref: "#/components/schemas/SnapshotPart";
1236
+ }, {
1237
+ readonly $ref: "#/components/schemas/PatchPart";
1238
+ }, {
1239
+ readonly $ref: "#/components/schemas/AgentPart";
1240
+ }, {
1241
+ readonly $ref: "#/components/schemas/RetryPart";
1242
+ }, {
1243
+ readonly $ref: "#/components/schemas/CompactionPart";
1244
+ }];
1245
+ };
1246
+ export declare const Event_message_part_updatedSchema: {
1247
+ readonly type: "object";
1248
+ readonly properties: {
1249
+ readonly type: {
1250
+ readonly type: "string";
1251
+ readonly const: "message.part.updated";
1252
+ };
1253
+ readonly properties: {
1254
+ readonly type: "object";
1255
+ readonly properties: {
1256
+ readonly part: {
1257
+ readonly $ref: "#/components/schemas/Part";
1258
+ };
1259
+ readonly delta: {
1260
+ readonly type: "string";
1261
+ };
1262
+ };
1263
+ readonly required: readonly ["part"];
1264
+ };
1265
+ };
1266
+ readonly required: readonly ["type", "properties"];
1267
+ };
1268
+ export declare const Event_message_part_removedSchema: {
1269
+ readonly type: "object";
1270
+ readonly properties: {
1271
+ readonly type: {
1272
+ readonly type: "string";
1273
+ readonly const: "message.part.removed";
1274
+ };
1275
+ readonly properties: {
1276
+ readonly type: "object";
1277
+ readonly properties: {
1278
+ readonly sessionID: {
1279
+ readonly type: "string";
1280
+ };
1281
+ readonly messageID: {
1282
+ readonly type: "string";
1283
+ };
1284
+ readonly partID: {
1285
+ readonly type: "string";
1286
+ };
1287
+ };
1288
+ readonly required: readonly ["sessionID", "messageID", "partID"];
1289
+ };
1290
+ };
1291
+ readonly required: readonly ["type", "properties"];
1292
+ };
1293
+ export declare const PermissionRequestSchema: {
1294
+ readonly type: "object";
1295
+ readonly properties: {
1296
+ readonly id: {
1297
+ readonly type: "string";
1298
+ readonly pattern: "^per.*";
1299
+ };
1300
+ readonly sessionID: {
1301
+ readonly type: "string";
1302
+ readonly pattern: "^ses.*";
1303
+ };
1304
+ readonly permission: {
1305
+ readonly type: "string";
1306
+ };
1307
+ readonly patterns: {
1308
+ readonly type: "array";
1309
+ readonly items: {
1310
+ readonly type: "string";
1311
+ };
1312
+ };
1313
+ readonly metadata: {
1314
+ readonly type: "object";
1315
+ readonly propertyNames: {
1316
+ readonly type: "string";
1317
+ };
1318
+ readonly additionalProperties: {};
1319
+ };
1320
+ readonly always: {
1321
+ readonly type: "array";
1322
+ readonly items: {
1323
+ readonly type: "string";
1324
+ };
1325
+ };
1326
+ readonly tool: {
1327
+ readonly type: "object";
1328
+ readonly properties: {
1329
+ readonly messageID: {
1330
+ readonly type: "string";
1331
+ };
1332
+ readonly callID: {
1333
+ readonly type: "string";
1334
+ };
1335
+ };
1336
+ readonly required: readonly ["messageID", "callID"];
1337
+ };
1338
+ };
1339
+ readonly required: readonly ["id", "sessionID", "permission", "patterns", "metadata", "always"];
1340
+ };
1341
+ export declare const Event_permission_askedSchema: {
1342
+ readonly type: "object";
1343
+ readonly properties: {
1344
+ readonly type: {
1345
+ readonly type: "string";
1346
+ readonly const: "permission.asked";
1347
+ };
1348
+ readonly properties: {
1349
+ readonly $ref: "#/components/schemas/PermissionRequest";
1350
+ };
1351
+ };
1352
+ readonly required: readonly ["type", "properties"];
1353
+ };
1354
+ export declare const Event_permission_repliedSchema: {
1355
+ readonly type: "object";
1356
+ readonly properties: {
1357
+ readonly type: {
1358
+ readonly type: "string";
1359
+ readonly const: "permission.replied";
1360
+ };
1361
+ readonly properties: {
1362
+ readonly type: "object";
1363
+ readonly properties: {
1364
+ readonly sessionID: {
1365
+ readonly type: "string";
1366
+ };
1367
+ readonly requestID: {
1368
+ readonly type: "string";
1369
+ };
1370
+ readonly reply: {
1371
+ readonly type: "string";
1372
+ readonly enum: readonly ["once", "always", "reject"];
1373
+ };
1374
+ };
1375
+ readonly required: readonly ["sessionID", "requestID", "reply"];
1376
+ };
1377
+ };
1378
+ readonly required: readonly ["type", "properties"];
1379
+ };
1380
+ export declare const SessionStatusSchema: {
1381
+ readonly anyOf: readonly [{
1382
+ readonly type: "object";
1383
+ readonly properties: {
1384
+ readonly type: {
1385
+ readonly type: "string";
1386
+ readonly const: "idle";
1387
+ };
1388
+ };
1389
+ readonly required: readonly ["type"];
1390
+ }, {
1391
+ readonly type: "object";
1392
+ readonly properties: {
1393
+ readonly type: {
1394
+ readonly type: "string";
1395
+ readonly const: "retry";
1396
+ };
1397
+ readonly attempt: {
1398
+ readonly type: "number";
1399
+ };
1400
+ readonly message: {
1401
+ readonly type: "string";
1402
+ };
1403
+ readonly next: {
1404
+ readonly type: "number";
1405
+ };
1406
+ };
1407
+ readonly required: readonly ["type", "attempt", "message", "next"];
1408
+ }, {
1409
+ readonly type: "object";
1410
+ readonly properties: {
1411
+ readonly type: {
1412
+ readonly type: "string";
1413
+ readonly const: "busy";
1414
+ };
1415
+ };
1416
+ readonly required: readonly ["type"];
1417
+ }];
1418
+ };
1419
+ export declare const Event_session_statusSchema: {
1420
+ readonly type: "object";
1421
+ readonly properties: {
1422
+ readonly type: {
1423
+ readonly type: "string";
1424
+ readonly const: "session.status";
1425
+ };
1426
+ readonly properties: {
1427
+ readonly type: "object";
1428
+ readonly properties: {
1429
+ readonly sessionID: {
1430
+ readonly type: "string";
1431
+ };
1432
+ readonly status: {
1433
+ readonly $ref: "#/components/schemas/SessionStatus";
1434
+ };
1435
+ };
1436
+ readonly required: readonly ["sessionID", "status"];
1437
+ };
1438
+ };
1439
+ readonly required: readonly ["type", "properties"];
1440
+ };
1441
+ export declare const Event_session_idleSchema: {
1442
+ readonly type: "object";
1443
+ readonly properties: {
1444
+ readonly type: {
1445
+ readonly type: "string";
1446
+ readonly const: "session.idle";
1447
+ };
1448
+ readonly properties: {
1449
+ readonly type: "object";
1450
+ readonly properties: {
1451
+ readonly sessionID: {
1452
+ readonly type: "string";
1453
+ };
1454
+ };
1455
+ readonly required: readonly ["sessionID"];
1456
+ };
1457
+ };
1458
+ readonly required: readonly ["type", "properties"];
1459
+ };
1460
+ export declare const QuestionOptionSchema: {
1461
+ readonly type: "object";
1462
+ readonly properties: {
1463
+ readonly label: {
1464
+ readonly description: "Display text (1-5 words, concise)";
1465
+ readonly type: "string";
1466
+ };
1467
+ readonly description: {
1468
+ readonly description: "Explanation of choice";
1469
+ readonly type: "string";
1470
+ };
1471
+ };
1472
+ readonly required: readonly ["label", "description"];
1473
+ };
1474
+ export declare const QuestionInfoSchema: {
1475
+ readonly type: "object";
1476
+ readonly properties: {
1477
+ readonly question: {
1478
+ readonly description: "Complete question";
1479
+ readonly type: "string";
1480
+ };
1481
+ readonly header: {
1482
+ readonly description: "Very short label (max 12 chars)";
1483
+ readonly type: "string";
1484
+ readonly maxLength: 12;
1485
+ };
1486
+ readonly options: {
1487
+ readonly description: "Available choices";
1488
+ readonly type: "array";
1489
+ readonly items: {
1490
+ readonly $ref: "#/components/schemas/QuestionOption";
1491
+ };
1492
+ };
1493
+ readonly multiple: {
1494
+ readonly description: "Allow selecting multiple choices";
1495
+ readonly type: "boolean";
1496
+ };
1497
+ readonly custom: {
1498
+ readonly description: "Allow typing a custom answer (default: true)";
1499
+ readonly type: "boolean";
1500
+ };
1501
+ };
1502
+ readonly required: readonly ["question", "header", "options"];
1503
+ };
1504
+ export declare const QuestionRequestSchema: {
1505
+ readonly type: "object";
1506
+ readonly properties: {
1507
+ readonly id: {
1508
+ readonly type: "string";
1509
+ readonly pattern: "^que.*";
1510
+ };
1511
+ readonly sessionID: {
1512
+ readonly type: "string";
1513
+ readonly pattern: "^ses.*";
1514
+ };
1515
+ readonly questions: {
1516
+ readonly description: "Questions to ask";
1517
+ readonly type: "array";
1518
+ readonly items: {
1519
+ readonly $ref: "#/components/schemas/QuestionInfo";
1520
+ };
1521
+ };
1522
+ readonly tool: {
1523
+ readonly type: "object";
1524
+ readonly properties: {
1525
+ readonly messageID: {
1526
+ readonly type: "string";
1527
+ };
1528
+ readonly callID: {
1529
+ readonly type: "string";
1530
+ };
1531
+ };
1532
+ readonly required: readonly ["messageID", "callID"];
1533
+ };
1534
+ };
1535
+ readonly required: readonly ["id", "sessionID", "questions"];
1536
+ };
1537
+ export declare const Event_question_askedSchema: {
1538
+ readonly type: "object";
1539
+ readonly properties: {
1540
+ readonly type: {
1541
+ readonly type: "string";
1542
+ readonly const: "question.asked";
1543
+ };
1544
+ readonly properties: {
1545
+ readonly $ref: "#/components/schemas/QuestionRequest";
1546
+ };
1547
+ };
1548
+ readonly required: readonly ["type", "properties"];
1549
+ };
1550
+ export declare const QuestionAnswerSchema: {
1551
+ readonly type: "array";
1552
+ readonly items: {
1553
+ readonly type: "string";
1554
+ };
1555
+ };
1556
+ export declare const Event_question_repliedSchema: {
1557
+ readonly type: "object";
1558
+ readonly properties: {
1559
+ readonly type: {
1560
+ readonly type: "string";
1561
+ readonly const: "question.replied";
1562
+ };
1563
+ readonly properties: {
1564
+ readonly type: "object";
1565
+ readonly properties: {
1566
+ readonly sessionID: {
1567
+ readonly type: "string";
1568
+ };
1569
+ readonly requestID: {
1570
+ readonly type: "string";
1571
+ };
1572
+ readonly answers: {
1573
+ readonly type: "array";
1574
+ readonly items: {
1575
+ readonly $ref: "#/components/schemas/QuestionAnswer";
1576
+ };
1577
+ };
1578
+ };
1579
+ readonly required: readonly ["sessionID", "requestID", "answers"];
1580
+ };
1581
+ };
1582
+ readonly required: readonly ["type", "properties"];
1583
+ };
1584
+ export declare const Event_question_rejectedSchema: {
1585
+ readonly type: "object";
1586
+ readonly properties: {
1587
+ readonly type: {
1588
+ readonly type: "string";
1589
+ readonly const: "question.rejected";
1590
+ };
1591
+ readonly properties: {
1592
+ readonly type: "object";
1593
+ readonly properties: {
1594
+ readonly sessionID: {
1595
+ readonly type: "string";
1596
+ };
1597
+ readonly requestID: {
1598
+ readonly type: "string";
1599
+ };
1600
+ };
1601
+ readonly required: readonly ["sessionID", "requestID"];
1602
+ };
1603
+ };
1604
+ readonly required: readonly ["type", "properties"];
1605
+ };
1606
+ export declare const Event_session_compactedSchema: {
1607
+ readonly type: "object";
1608
+ readonly properties: {
1609
+ readonly type: {
1610
+ readonly type: "string";
1611
+ readonly const: "session.compacted";
1612
+ };
1613
+ readonly properties: {
1614
+ readonly type: "object";
1615
+ readonly properties: {
1616
+ readonly sessionID: {
1617
+ readonly type: "string";
1618
+ };
1619
+ };
1620
+ readonly required: readonly ["sessionID"];
1621
+ };
1622
+ };
1623
+ readonly required: readonly ["type", "properties"];
1624
+ };
1625
+ export declare const Event_file_editedSchema: {
1626
+ readonly type: "object";
1627
+ readonly properties: {
1628
+ readonly type: {
1629
+ readonly type: "string";
1630
+ readonly const: "file.edited";
1631
+ };
1632
+ readonly properties: {
1633
+ readonly type: "object";
1634
+ readonly properties: {
1635
+ readonly file: {
1636
+ readonly type: "string";
1637
+ };
1638
+ };
1639
+ readonly required: readonly ["file"];
1640
+ };
1641
+ };
1642
+ readonly required: readonly ["type", "properties"];
1643
+ };
1644
+ export declare const TodoSchema: {
1645
+ readonly type: "object";
1646
+ readonly properties: {
1647
+ readonly content: {
1648
+ readonly description: "Brief description of the task";
1649
+ readonly type: "string";
1650
+ };
1651
+ readonly status: {
1652
+ readonly description: "Current status of the task: pending, in_progress, completed, cancelled";
1653
+ readonly type: "string";
1654
+ };
1655
+ readonly priority: {
1656
+ readonly description: "Priority level of the task: high, medium, low";
1657
+ readonly type: "string";
1658
+ };
1659
+ readonly id: {
1660
+ readonly description: "Unique identifier for the todo item";
1661
+ readonly type: "string";
1662
+ };
1663
+ };
1664
+ readonly required: readonly ["content", "status", "priority", "id"];
1665
+ };
1666
+ export declare const Event_todo_updatedSchema: {
1667
+ readonly type: "object";
1668
+ readonly properties: {
1669
+ readonly type: {
1670
+ readonly type: "string";
1671
+ readonly const: "todo.updated";
1672
+ };
1673
+ readonly properties: {
1674
+ readonly type: "object";
1675
+ readonly properties: {
1676
+ readonly sessionID: {
1677
+ readonly type: "string";
1678
+ };
1679
+ readonly todos: {
1680
+ readonly type: "array";
1681
+ readonly items: {
1682
+ readonly $ref: "#/components/schemas/Todo";
1683
+ };
1684
+ };
1685
+ };
1686
+ readonly required: readonly ["sessionID", "todos"];
1687
+ };
1688
+ };
1689
+ readonly required: readonly ["type", "properties"];
1690
+ };
1691
+ export declare const Event_tui_prompt_appendSchema: {
1692
+ readonly type: "object";
1693
+ readonly properties: {
1694
+ readonly type: {
1695
+ readonly type: "string";
1696
+ readonly const: "tui.prompt.append";
1697
+ };
1698
+ readonly properties: {
1699
+ readonly type: "object";
1700
+ readonly properties: {
1701
+ readonly text: {
1702
+ readonly type: "string";
1703
+ };
1704
+ };
1705
+ readonly required: readonly ["text"];
1706
+ };
1707
+ };
1708
+ readonly required: readonly ["type", "properties"];
1709
+ };
1710
+ export declare const Event_tui_command_executeSchema: {
1711
+ readonly type: "object";
1712
+ readonly properties: {
1713
+ readonly type: {
1714
+ readonly type: "string";
1715
+ readonly const: "tui.command.execute";
1716
+ };
1717
+ readonly properties: {
1718
+ readonly type: "object";
1719
+ readonly properties: {
1720
+ readonly command: {
1721
+ readonly anyOf: readonly [{
1722
+ readonly type: "string";
1723
+ readonly enum: readonly ["session.list", "session.new", "session.share", "session.interrupt", "session.compact", "session.page.up", "session.page.down", "session.half.page.up", "session.half.page.down", "session.first", "session.last", "prompt.clear", "prompt.submit", "agent.cycle"];
1724
+ }, {
1725
+ readonly type: "string";
1726
+ }];
1727
+ };
1728
+ };
1729
+ readonly required: readonly ["command"];
1730
+ };
1731
+ };
1732
+ readonly required: readonly ["type", "properties"];
1733
+ };
1734
+ export declare const Event_tui_toast_showSchema: {
1735
+ readonly type: "object";
1736
+ readonly properties: {
1737
+ readonly type: {
1738
+ readonly type: "string";
1739
+ readonly const: "tui.toast.show";
1740
+ };
1741
+ readonly properties: {
1742
+ readonly type: "object";
1743
+ readonly properties: {
1744
+ readonly title: {
1745
+ readonly type: "string";
1746
+ };
1747
+ readonly message: {
1748
+ readonly type: "string";
1749
+ };
1750
+ readonly variant: {
1751
+ readonly type: "string";
1752
+ readonly enum: readonly ["info", "success", "warning", "error"];
1753
+ };
1754
+ readonly duration: {
1755
+ readonly description: "Duration in milliseconds";
1756
+ readonly default: 5000;
1757
+ readonly type: "number";
1758
+ };
1759
+ };
1760
+ readonly required: readonly ["message", "variant"];
1761
+ };
1762
+ };
1763
+ readonly required: readonly ["type", "properties"];
1764
+ };
1765
+ export declare const Event_tui_session_selectSchema: {
1766
+ readonly type: "object";
1767
+ readonly properties: {
1768
+ readonly type: {
1769
+ readonly type: "string";
1770
+ readonly const: "tui.session.select";
1771
+ };
1772
+ readonly properties: {
1773
+ readonly type: "object";
1774
+ readonly properties: {
1775
+ readonly sessionID: {
1776
+ readonly description: "Session ID to navigate to";
1777
+ readonly type: "string";
1778
+ readonly pattern: "^ses";
1779
+ };
1780
+ };
1781
+ readonly required: readonly ["sessionID"];
1782
+ };
1783
+ };
1784
+ readonly required: readonly ["type", "properties"];
1785
+ };
1786
+ export declare const Event_mcp_tools_changedSchema: {
1787
+ readonly type: "object";
1788
+ readonly properties: {
1789
+ readonly type: {
1790
+ readonly type: "string";
1791
+ readonly const: "mcp.tools.changed";
1792
+ };
1793
+ readonly properties: {
1794
+ readonly type: "object";
1795
+ readonly properties: {
1796
+ readonly server: {
1797
+ readonly type: "string";
1798
+ };
1799
+ };
1800
+ readonly required: readonly ["server"];
1801
+ };
1802
+ };
1803
+ readonly required: readonly ["type", "properties"];
1804
+ };
1805
+ export declare const Event_mcp_browser_open_failedSchema: {
1806
+ readonly type: "object";
1807
+ readonly properties: {
1808
+ readonly type: {
1809
+ readonly type: "string";
1810
+ readonly const: "mcp.browser.open.failed";
1811
+ };
1812
+ readonly properties: {
1813
+ readonly type: "object";
1814
+ readonly properties: {
1815
+ readonly mcpName: {
1816
+ readonly type: "string";
1817
+ };
1818
+ readonly url: {
1819
+ readonly type: "string";
1820
+ };
1821
+ };
1822
+ readonly required: readonly ["mcpName", "url"];
1823
+ };
1824
+ };
1825
+ readonly required: readonly ["type", "properties"];
1826
+ };
1827
+ export declare const Event_command_executedSchema: {
1828
+ readonly type: "object";
1829
+ readonly properties: {
1830
+ readonly type: {
1831
+ readonly type: "string";
1832
+ readonly const: "command.executed";
1833
+ };
1834
+ readonly properties: {
1835
+ readonly type: "object";
1836
+ readonly properties: {
1837
+ readonly name: {
1838
+ readonly type: "string";
1839
+ };
1840
+ readonly sessionID: {
1841
+ readonly type: "string";
1842
+ readonly pattern: "^ses.*";
1843
+ };
1844
+ readonly arguments: {
1845
+ readonly type: "string";
1846
+ };
1847
+ readonly messageID: {
1848
+ readonly type: "string";
1849
+ readonly pattern: "^msg.*";
1850
+ };
1851
+ };
1852
+ readonly required: readonly ["name", "sessionID", "arguments", "messageID"];
1853
+ };
1854
+ };
1855
+ readonly required: readonly ["type", "properties"];
1856
+ };
1857
+ export declare const PermissionActionSchema: {
1858
+ readonly type: "string";
1859
+ readonly enum: readonly ["allow", "deny", "ask"];
1860
+ };
1861
+ export declare const PermissionRuleSchema: {
1862
+ readonly type: "object";
1863
+ readonly properties: {
1864
+ readonly permission: {
1865
+ readonly type: "string";
1866
+ };
1867
+ readonly pattern: {
1868
+ readonly type: "string";
1869
+ };
1870
+ readonly action: {
1871
+ readonly $ref: "#/components/schemas/PermissionAction";
1872
+ };
1873
+ };
1874
+ readonly required: readonly ["permission", "pattern", "action"];
1875
+ };
1876
+ export declare const PermissionRulesetSchema: {
1877
+ readonly type: "array";
1878
+ readonly items: {
1879
+ readonly $ref: "#/components/schemas/PermissionRule";
1880
+ };
1881
+ };
1882
+ export declare const SessionSchema: {
1883
+ readonly type: "object";
1884
+ readonly properties: {
1885
+ readonly id: {
1886
+ readonly type: "string";
1887
+ readonly pattern: "^ses.*";
1888
+ };
1889
+ readonly slug: {
1890
+ readonly type: "string";
1891
+ };
1892
+ readonly projectID: {
1893
+ readonly type: "string";
1894
+ };
1895
+ readonly directory: {
1896
+ readonly type: "string";
1897
+ };
1898
+ readonly parentID: {
1899
+ readonly type: "string";
1900
+ readonly pattern: "^ses.*";
1901
+ };
1902
+ readonly summary: {
1903
+ readonly type: "object";
1904
+ readonly properties: {
1905
+ readonly additions: {
1906
+ readonly type: "number";
1907
+ };
1908
+ readonly deletions: {
1909
+ readonly type: "number";
1910
+ };
1911
+ readonly files: {
1912
+ readonly type: "number";
1913
+ };
1914
+ readonly diffs: {
1915
+ readonly type: "array";
1916
+ readonly items: {
1917
+ readonly $ref: "#/components/schemas/FileDiff";
1918
+ };
1919
+ };
1920
+ };
1921
+ readonly required: readonly ["additions", "deletions", "files"];
1922
+ };
1923
+ readonly share: {
1924
+ readonly type: "object";
1925
+ readonly properties: {
1926
+ readonly url: {
1927
+ readonly type: "string";
1928
+ };
1929
+ };
1930
+ readonly required: readonly ["url"];
1931
+ };
1932
+ readonly title: {
1933
+ readonly type: "string";
1934
+ };
1935
+ readonly version: {
1936
+ readonly type: "string";
1937
+ };
1938
+ readonly time: {
1939
+ readonly type: "object";
1940
+ readonly properties: {
1941
+ readonly created: {
1942
+ readonly type: "number";
1943
+ };
1944
+ readonly updated: {
1945
+ readonly type: "number";
1946
+ };
1947
+ readonly compacting: {
1948
+ readonly type: "number";
1949
+ };
1950
+ readonly archived: {
1951
+ readonly type: "number";
1952
+ };
1953
+ };
1954
+ readonly required: readonly ["created", "updated"];
1955
+ };
1956
+ readonly permission: {
1957
+ readonly $ref: "#/components/schemas/PermissionRuleset";
1958
+ };
1959
+ readonly revert: {
1960
+ readonly type: "object";
1961
+ readonly properties: {
1962
+ readonly messageID: {
1963
+ readonly type: "string";
1964
+ };
1965
+ readonly partID: {
1966
+ readonly type: "string";
1967
+ };
1968
+ readonly snapshot: {
1969
+ readonly type: "string";
1970
+ };
1971
+ readonly diff: {
1972
+ readonly type: "string";
1973
+ };
1974
+ };
1975
+ readonly required: readonly ["messageID"];
1976
+ };
1977
+ };
1978
+ readonly required: readonly ["id", "slug", "projectID", "directory", "title", "version", "time"];
1979
+ };
1980
+ export declare const Event_session_createdSchema: {
1981
+ readonly type: "object";
1982
+ readonly properties: {
1983
+ readonly type: {
1984
+ readonly type: "string";
1985
+ readonly const: "session.created";
1986
+ };
1987
+ readonly properties: {
1988
+ readonly type: "object";
1989
+ readonly properties: {
1990
+ readonly info: {
1991
+ readonly $ref: "#/components/schemas/Session";
1992
+ };
1993
+ };
1994
+ readonly required: readonly ["info"];
1995
+ };
1996
+ };
1997
+ readonly required: readonly ["type", "properties"];
1998
+ };
1999
+ export declare const Event_session_updatedSchema: {
2000
+ readonly type: "object";
2001
+ readonly properties: {
2002
+ readonly type: {
2003
+ readonly type: "string";
2004
+ readonly const: "session.updated";
2005
+ };
2006
+ readonly properties: {
2007
+ readonly type: "object";
2008
+ readonly properties: {
2009
+ readonly info: {
2010
+ readonly $ref: "#/components/schemas/Session";
2011
+ };
2012
+ };
2013
+ readonly required: readonly ["info"];
2014
+ };
2015
+ };
2016
+ readonly required: readonly ["type", "properties"];
2017
+ };
2018
+ export declare const Event_session_deletedSchema: {
2019
+ readonly type: "object";
2020
+ readonly properties: {
2021
+ readonly type: {
2022
+ readonly type: "string";
2023
+ readonly const: "session.deleted";
2024
+ };
2025
+ readonly properties: {
2026
+ readonly type: "object";
2027
+ readonly properties: {
2028
+ readonly info: {
2029
+ readonly $ref: "#/components/schemas/Session";
2030
+ };
2031
+ };
2032
+ readonly required: readonly ["info"];
2033
+ };
2034
+ };
2035
+ readonly required: readonly ["type", "properties"];
2036
+ };
2037
+ export declare const Event_session_diffSchema: {
2038
+ readonly type: "object";
2039
+ readonly properties: {
2040
+ readonly type: {
2041
+ readonly type: "string";
2042
+ readonly const: "session.diff";
2043
+ };
2044
+ readonly properties: {
2045
+ readonly type: "object";
2046
+ readonly properties: {
2047
+ readonly sessionID: {
2048
+ readonly type: "string";
2049
+ };
2050
+ readonly diff: {
2051
+ readonly type: "array";
2052
+ readonly items: {
2053
+ readonly $ref: "#/components/schemas/FileDiff";
2054
+ };
2055
+ };
2056
+ };
2057
+ readonly required: readonly ["sessionID", "diff"];
2058
+ };
2059
+ };
2060
+ readonly required: readonly ["type", "properties"];
2061
+ };
2062
+ export declare const Event_session_errorSchema: {
2063
+ readonly type: "object";
2064
+ readonly properties: {
2065
+ readonly type: {
2066
+ readonly type: "string";
2067
+ readonly const: "session.error";
2068
+ };
2069
+ readonly properties: {
2070
+ readonly type: "object";
2071
+ readonly properties: {
2072
+ readonly sessionID: {
2073
+ readonly type: "string";
2074
+ };
2075
+ readonly error: {
2076
+ readonly anyOf: readonly [{
2077
+ readonly $ref: "#/components/schemas/ProviderAuthError";
2078
+ }, {
2079
+ readonly $ref: "#/components/schemas/UnknownError";
2080
+ }, {
2081
+ readonly $ref: "#/components/schemas/MessageOutputLengthError";
2082
+ }, {
2083
+ readonly $ref: "#/components/schemas/MessageAbortedError";
2084
+ }, {
2085
+ readonly $ref: "#/components/schemas/APIError";
2086
+ }];
2087
+ };
2088
+ };
2089
+ };
2090
+ };
2091
+ readonly required: readonly ["type", "properties"];
2092
+ };
2093
+ export declare const Event_file_watcher_updatedSchema: {
2094
+ readonly type: "object";
2095
+ readonly properties: {
2096
+ readonly type: {
2097
+ readonly type: "string";
2098
+ readonly const: "file.watcher.updated";
2099
+ };
2100
+ readonly properties: {
2101
+ readonly type: "object";
2102
+ readonly properties: {
2103
+ readonly file: {
2104
+ readonly type: "string";
2105
+ };
2106
+ readonly event: {
2107
+ readonly anyOf: readonly [{
2108
+ readonly type: "string";
2109
+ readonly const: "add";
2110
+ }, {
2111
+ readonly type: "string";
2112
+ readonly const: "change";
2113
+ }, {
2114
+ readonly type: "string";
2115
+ readonly const: "unlink";
2116
+ }];
2117
+ };
2118
+ };
2119
+ readonly required: readonly ["file", "event"];
2120
+ };
2121
+ };
2122
+ readonly required: readonly ["type", "properties"];
2123
+ };
2124
+ export declare const Event_vcs_branch_updatedSchema: {
2125
+ readonly type: "object";
2126
+ readonly properties: {
2127
+ readonly type: {
2128
+ readonly type: "string";
2129
+ readonly const: "vcs.branch.updated";
2130
+ };
2131
+ readonly properties: {
2132
+ readonly type: "object";
2133
+ readonly properties: {
2134
+ readonly branch: {
2135
+ readonly type: "string";
2136
+ };
2137
+ };
2138
+ };
2139
+ };
2140
+ readonly required: readonly ["type", "properties"];
2141
+ };
2142
+ export declare const PtySchema: {
2143
+ readonly type: "object";
2144
+ readonly properties: {
2145
+ readonly id: {
2146
+ readonly type: "string";
2147
+ readonly pattern: "^pty.*";
2148
+ };
2149
+ readonly title: {
2150
+ readonly type: "string";
2151
+ };
2152
+ readonly command: {
2153
+ readonly type: "string";
2154
+ };
2155
+ readonly args: {
2156
+ readonly type: "array";
2157
+ readonly items: {
2158
+ readonly type: "string";
2159
+ };
2160
+ };
2161
+ readonly cwd: {
2162
+ readonly type: "string";
2163
+ };
2164
+ readonly status: {
2165
+ readonly type: "string";
2166
+ readonly enum: readonly ["running", "exited"];
2167
+ };
2168
+ readonly pid: {
2169
+ readonly type: "number";
2170
+ };
2171
+ };
2172
+ readonly required: readonly ["id", "title", "command", "args", "cwd", "status", "pid"];
2173
+ };
2174
+ export declare const Event_pty_createdSchema: {
2175
+ readonly type: "object";
2176
+ readonly properties: {
2177
+ readonly type: {
2178
+ readonly type: "string";
2179
+ readonly const: "pty.created";
2180
+ };
2181
+ readonly properties: {
2182
+ readonly type: "object";
2183
+ readonly properties: {
2184
+ readonly info: {
2185
+ readonly $ref: "#/components/schemas/Pty";
2186
+ };
2187
+ };
2188
+ readonly required: readonly ["info"];
2189
+ };
2190
+ };
2191
+ readonly required: readonly ["type", "properties"];
2192
+ };
2193
+ export declare const Event_pty_updatedSchema: {
2194
+ readonly type: "object";
2195
+ readonly properties: {
2196
+ readonly type: {
2197
+ readonly type: "string";
2198
+ readonly const: "pty.updated";
2199
+ };
2200
+ readonly properties: {
2201
+ readonly type: "object";
2202
+ readonly properties: {
2203
+ readonly info: {
2204
+ readonly $ref: "#/components/schemas/Pty";
2205
+ };
2206
+ };
2207
+ readonly required: readonly ["info"];
2208
+ };
2209
+ };
2210
+ readonly required: readonly ["type", "properties"];
2211
+ };
2212
+ export declare const Event_pty_exitedSchema: {
2213
+ readonly type: "object";
2214
+ readonly properties: {
2215
+ readonly type: {
2216
+ readonly type: "string";
2217
+ readonly const: "pty.exited";
2218
+ };
2219
+ readonly properties: {
2220
+ readonly type: "object";
2221
+ readonly properties: {
2222
+ readonly id: {
2223
+ readonly type: "string";
2224
+ readonly pattern: "^pty.*";
2225
+ };
2226
+ readonly exitCode: {
2227
+ readonly type: "number";
2228
+ };
2229
+ };
2230
+ readonly required: readonly ["id", "exitCode"];
2231
+ };
2232
+ };
2233
+ readonly required: readonly ["type", "properties"];
2234
+ };
2235
+ export declare const Event_pty_deletedSchema: {
2236
+ readonly type: "object";
2237
+ readonly properties: {
2238
+ readonly type: {
2239
+ readonly type: "string";
2240
+ readonly const: "pty.deleted";
2241
+ };
2242
+ readonly properties: {
2243
+ readonly type: "object";
2244
+ readonly properties: {
2245
+ readonly id: {
2246
+ readonly type: "string";
2247
+ readonly pattern: "^pty.*";
2248
+ };
2249
+ };
2250
+ readonly required: readonly ["id"];
2251
+ };
2252
+ };
2253
+ readonly required: readonly ["type", "properties"];
2254
+ };
2255
+ export declare const Event_server_connectedSchema: {
2256
+ readonly type: "object";
2257
+ readonly properties: {
2258
+ readonly type: {
2259
+ readonly type: "string";
2260
+ readonly const: "server.connected";
2261
+ };
2262
+ readonly properties: {
2263
+ readonly type: "object";
2264
+ readonly properties: {};
2265
+ };
2266
+ };
2267
+ readonly required: readonly ["type", "properties"];
2268
+ };
2269
+ export declare const Event_global_disposedSchema: {
2270
+ readonly type: "object";
2271
+ readonly properties: {
2272
+ readonly type: {
2273
+ readonly type: "string";
2274
+ readonly const: "global.disposed";
2275
+ };
2276
+ readonly properties: {
2277
+ readonly type: "object";
2278
+ readonly properties: {};
2279
+ };
2280
+ };
2281
+ readonly required: readonly ["type", "properties"];
2282
+ };
2283
+ export declare const EventSchema: {
2284
+ readonly anyOf: readonly [{
2285
+ readonly $ref: "#/components/schemas/Event.installation.updated";
2286
+ }, {
2287
+ readonly $ref: "#/components/schemas/Event.installation.update-available";
2288
+ }, {
2289
+ readonly $ref: "#/components/schemas/Event.project.updated";
2290
+ }, {
2291
+ readonly $ref: "#/components/schemas/Event.server.instance.disposed";
2292
+ }, {
2293
+ readonly $ref: "#/components/schemas/Event.lsp.client.diagnostics";
2294
+ }, {
2295
+ readonly $ref: "#/components/schemas/Event.lsp.updated";
2296
+ }, {
2297
+ readonly $ref: "#/components/schemas/Event.message.updated";
2298
+ }, {
2299
+ readonly $ref: "#/components/schemas/Event.message.removed";
2300
+ }, {
2301
+ readonly $ref: "#/components/schemas/Event.message.part.updated";
2302
+ }, {
2303
+ readonly $ref: "#/components/schemas/Event.message.part.removed";
2304
+ }, {
2305
+ readonly $ref: "#/components/schemas/Event.permission.asked";
2306
+ }, {
2307
+ readonly $ref: "#/components/schemas/Event.permission.replied";
2308
+ }, {
2309
+ readonly $ref: "#/components/schemas/Event.session.status";
2310
+ }, {
2311
+ readonly $ref: "#/components/schemas/Event.session.idle";
2312
+ }, {
2313
+ readonly $ref: "#/components/schemas/Event.question.asked";
2314
+ }, {
2315
+ readonly $ref: "#/components/schemas/Event.question.replied";
2316
+ }, {
2317
+ readonly $ref: "#/components/schemas/Event.question.rejected";
2318
+ }, {
2319
+ readonly $ref: "#/components/schemas/Event.session.compacted";
2320
+ }, {
2321
+ readonly $ref: "#/components/schemas/Event.file.edited";
2322
+ }, {
2323
+ readonly $ref: "#/components/schemas/Event.todo.updated";
2324
+ }, {
2325
+ readonly $ref: "#/components/schemas/Event.tui.prompt.append";
2326
+ }, {
2327
+ readonly $ref: "#/components/schemas/Event.tui.command.execute";
2328
+ }, {
2329
+ readonly $ref: "#/components/schemas/Event.tui.toast.show";
2330
+ }, {
2331
+ readonly $ref: "#/components/schemas/Event.tui.session.select";
2332
+ }, {
2333
+ readonly $ref: "#/components/schemas/Event.mcp.tools.changed";
2334
+ }, {
2335
+ readonly $ref: "#/components/schemas/Event.mcp.browser.open.failed";
2336
+ }, {
2337
+ readonly $ref: "#/components/schemas/Event.command.executed";
2338
+ }, {
2339
+ readonly $ref: "#/components/schemas/Event.session.created";
2340
+ }, {
2341
+ readonly $ref: "#/components/schemas/Event.session.updated";
2342
+ }, {
2343
+ readonly $ref: "#/components/schemas/Event.session.deleted";
2344
+ }, {
2345
+ readonly $ref: "#/components/schemas/Event.session.diff";
2346
+ }, {
2347
+ readonly $ref: "#/components/schemas/Event.session.error";
2348
+ }, {
2349
+ readonly $ref: "#/components/schemas/Event.file.watcher.updated";
2350
+ }, {
2351
+ readonly $ref: "#/components/schemas/Event.vcs.branch.updated";
2352
+ }, {
2353
+ readonly $ref: "#/components/schemas/Event.pty.created";
2354
+ }, {
2355
+ readonly $ref: "#/components/schemas/Event.pty.updated";
2356
+ }, {
2357
+ readonly $ref: "#/components/schemas/Event.pty.exited";
2358
+ }, {
2359
+ readonly $ref: "#/components/schemas/Event.pty.deleted";
2360
+ }, {
2361
+ readonly $ref: "#/components/schemas/Event.server.connected";
2362
+ }, {
2363
+ readonly $ref: "#/components/schemas/Event.global.disposed";
2364
+ }];
2365
+ };
2366
+ export declare const GlobalEventSchema: {
2367
+ readonly type: "object";
2368
+ readonly properties: {
2369
+ readonly directory: {
2370
+ readonly type: "string";
2371
+ };
2372
+ readonly payload: {
2373
+ readonly $ref: "#/components/schemas/Event";
2374
+ };
2375
+ };
2376
+ readonly required: readonly ["directory", "payload"];
2377
+ };
2378
+ export declare const BadRequestErrorSchema: {
2379
+ readonly type: "object";
2380
+ readonly properties: {
2381
+ readonly data: {};
2382
+ readonly errors: {
2383
+ readonly type: "array";
2384
+ readonly items: {
2385
+ readonly type: "object";
2386
+ readonly propertyNames: {
2387
+ readonly type: "string";
2388
+ };
2389
+ readonly additionalProperties: {};
2390
+ };
2391
+ };
2392
+ readonly success: {
2393
+ readonly type: "boolean";
2394
+ readonly const: false;
2395
+ };
2396
+ };
2397
+ readonly required: readonly ["data", "errors", "success"];
2398
+ };
2399
+ export declare const NotFoundErrorSchema: {
2400
+ readonly type: "object";
2401
+ readonly properties: {
2402
+ readonly name: {
2403
+ readonly type: "string";
2404
+ readonly const: "NotFoundError";
2405
+ };
2406
+ readonly data: {
2407
+ readonly type: "object";
2408
+ readonly properties: {
2409
+ readonly message: {
2410
+ readonly type: "string";
2411
+ };
2412
+ };
2413
+ readonly required: readonly ["message"];
2414
+ };
2415
+ };
2416
+ readonly required: readonly ["name", "data"];
2417
+ };
2418
+ export declare const KeybindsConfigSchema: {
2419
+ readonly description: "Custom keybind configurations";
2420
+ readonly type: "object";
2421
+ readonly properties: {
2422
+ readonly leader: {
2423
+ readonly description: "Leader key for keybind combinations";
2424
+ readonly default: "ctrl+x";
2425
+ readonly type: "string";
2426
+ };
2427
+ readonly app_exit: {
2428
+ readonly description: "Exit the application";
2429
+ readonly default: "ctrl+c,ctrl+d,<leader>q";
2430
+ readonly type: "string";
2431
+ };
2432
+ readonly editor_open: {
2433
+ readonly description: "Open external editor";
2434
+ readonly default: "<leader>e";
2435
+ readonly type: "string";
2436
+ };
2437
+ readonly theme_list: {
2438
+ readonly description: "List available themes";
2439
+ readonly default: "<leader>t";
2440
+ readonly type: "string";
2441
+ };
2442
+ readonly sidebar_toggle: {
2443
+ readonly description: "Toggle sidebar";
2444
+ readonly default: "<leader>b";
2445
+ readonly type: "string";
2446
+ };
2447
+ readonly scrollbar_toggle: {
2448
+ readonly description: "Toggle session scrollbar";
2449
+ readonly default: "none";
2450
+ readonly type: "string";
2451
+ };
2452
+ readonly username_toggle: {
2453
+ readonly description: "Toggle username visibility";
2454
+ readonly default: "none";
2455
+ readonly type: "string";
2456
+ };
2457
+ readonly status_view: {
2458
+ readonly description: "View status";
2459
+ readonly default: "<leader>s";
2460
+ readonly type: "string";
2461
+ };
2462
+ readonly session_export: {
2463
+ readonly description: "Export session to editor";
2464
+ readonly default: "<leader>x";
2465
+ readonly type: "string";
2466
+ };
2467
+ readonly session_new: {
2468
+ readonly description: "Create a new session";
2469
+ readonly default: "<leader>n";
2470
+ readonly type: "string";
2471
+ };
2472
+ readonly session_list: {
2473
+ readonly description: "List all sessions";
2474
+ readonly default: "<leader>l";
2475
+ readonly type: "string";
2476
+ };
2477
+ readonly session_timeline: {
2478
+ readonly description: "Show session timeline";
2479
+ readonly default: "<leader>g";
2480
+ readonly type: "string";
2481
+ };
2482
+ readonly session_fork: {
2483
+ readonly description: "Fork session from message";
2484
+ readonly default: "none";
2485
+ readonly type: "string";
2486
+ };
2487
+ readonly session_rename: {
2488
+ readonly description: "Rename session";
2489
+ readonly default: "ctrl+r";
2490
+ readonly type: "string";
2491
+ };
2492
+ readonly session_delete: {
2493
+ readonly description: "Delete session";
2494
+ readonly default: "ctrl+d";
2495
+ readonly type: "string";
2496
+ };
2497
+ readonly stash_delete: {
2498
+ readonly description: "Delete stash entry";
2499
+ readonly default: "ctrl+d";
2500
+ readonly type: "string";
2501
+ };
2502
+ readonly model_provider_list: {
2503
+ readonly description: "Open provider list from model dialog";
2504
+ readonly default: "ctrl+a";
2505
+ readonly type: "string";
2506
+ };
2507
+ readonly model_favorite_toggle: {
2508
+ readonly description: "Toggle model favorite status";
2509
+ readonly default: "ctrl+f";
2510
+ readonly type: "string";
2511
+ };
2512
+ readonly session_share: {
2513
+ readonly description: "Share current session";
2514
+ readonly default: "none";
2515
+ readonly type: "string";
2516
+ };
2517
+ readonly session_unshare: {
2518
+ readonly description: "Unshare current session";
2519
+ readonly default: "none";
2520
+ readonly type: "string";
2521
+ };
2522
+ readonly session_interrupt: {
2523
+ readonly description: "Interrupt current session";
2524
+ readonly default: "escape";
2525
+ readonly type: "string";
2526
+ };
2527
+ readonly session_compact: {
2528
+ readonly description: "Compact the session";
2529
+ readonly default: "<leader>c";
2530
+ readonly type: "string";
2531
+ };
2532
+ readonly messages_page_up: {
2533
+ readonly description: "Scroll messages up by one page";
2534
+ readonly default: "pageup";
2535
+ readonly type: "string";
2536
+ };
2537
+ readonly messages_page_down: {
2538
+ readonly description: "Scroll messages down by one page";
2539
+ readonly default: "pagedown";
2540
+ readonly type: "string";
2541
+ };
2542
+ readonly messages_half_page_up: {
2543
+ readonly description: "Scroll messages up by half page";
2544
+ readonly default: "ctrl+alt+u";
2545
+ readonly type: "string";
2546
+ };
2547
+ readonly messages_half_page_down: {
2548
+ readonly description: "Scroll messages down by half page";
2549
+ readonly default: "ctrl+alt+d";
2550
+ readonly type: "string";
2551
+ };
2552
+ readonly messages_first: {
2553
+ readonly description: "Navigate to first message";
2554
+ readonly default: "ctrl+g,home";
2555
+ readonly type: "string";
2556
+ };
2557
+ readonly messages_last: {
2558
+ readonly description: "Navigate to last message";
2559
+ readonly default: "ctrl+alt+g,end";
2560
+ readonly type: "string";
2561
+ };
2562
+ readonly messages_next: {
2563
+ readonly description: "Navigate to next message";
2564
+ readonly default: "none";
2565
+ readonly type: "string";
2566
+ };
2567
+ readonly messages_previous: {
2568
+ readonly description: "Navigate to previous message";
2569
+ readonly default: "none";
2570
+ readonly type: "string";
2571
+ };
2572
+ readonly messages_last_user: {
2573
+ readonly description: "Navigate to last user message";
2574
+ readonly default: "none";
2575
+ readonly type: "string";
2576
+ };
2577
+ readonly messages_copy: {
2578
+ readonly description: "Copy message";
2579
+ readonly default: "<leader>y";
2580
+ readonly type: "string";
2581
+ };
2582
+ readonly messages_undo: {
2583
+ readonly description: "Undo message";
2584
+ readonly default: "<leader>u";
2585
+ readonly type: "string";
2586
+ };
2587
+ readonly messages_redo: {
2588
+ readonly description: "Redo message";
2589
+ readonly default: "<leader>r";
2590
+ readonly type: "string";
2591
+ };
2592
+ readonly messages_toggle_conceal: {
2593
+ readonly description: "Toggle code block concealment in messages";
2594
+ readonly default: "<leader>h";
2595
+ readonly type: "string";
2596
+ };
2597
+ readonly tool_details: {
2598
+ readonly description: "Toggle tool details visibility";
2599
+ readonly default: "none";
2600
+ readonly type: "string";
2601
+ };
2602
+ readonly model_list: {
2603
+ readonly description: "List available models";
2604
+ readonly default: "<leader>m";
2605
+ readonly type: "string";
2606
+ };
2607
+ readonly model_cycle_recent: {
2608
+ readonly description: "Next recently used model";
2609
+ readonly default: "f2";
2610
+ readonly type: "string";
2611
+ };
2612
+ readonly model_cycle_recent_reverse: {
2613
+ readonly description: "Previous recently used model";
2614
+ readonly default: "shift+f2";
2615
+ readonly type: "string";
2616
+ };
2617
+ readonly model_cycle_favorite: {
2618
+ readonly description: "Next favorite model";
2619
+ readonly default: "none";
2620
+ readonly type: "string";
2621
+ };
2622
+ readonly model_cycle_favorite_reverse: {
2623
+ readonly description: "Previous favorite model";
2624
+ readonly default: "none";
2625
+ readonly type: "string";
2626
+ };
2627
+ readonly command_list: {
2628
+ readonly description: "List available commands";
2629
+ readonly default: "ctrl+p";
2630
+ readonly type: "string";
2631
+ };
2632
+ readonly agent_list: {
2633
+ readonly description: "List agents";
2634
+ readonly default: "<leader>a";
2635
+ readonly type: "string";
2636
+ };
2637
+ readonly agent_cycle: {
2638
+ readonly description: "Next agent";
2639
+ readonly default: "tab";
2640
+ readonly type: "string";
2641
+ };
2642
+ readonly agent_cycle_reverse: {
2643
+ readonly description: "Previous agent";
2644
+ readonly default: "shift+tab";
2645
+ readonly type: "string";
2646
+ };
2647
+ readonly variant_cycle: {
2648
+ readonly description: "Cycle model variants";
2649
+ readonly default: "ctrl+t";
2650
+ readonly type: "string";
2651
+ };
2652
+ readonly input_clear: {
2653
+ readonly description: "Clear input field";
2654
+ readonly default: "ctrl+c";
2655
+ readonly type: "string";
2656
+ };
2657
+ readonly input_paste: {
2658
+ readonly description: "Paste from clipboard";
2659
+ readonly default: "ctrl+v";
2660
+ readonly type: "string";
2661
+ };
2662
+ readonly input_submit: {
2663
+ readonly description: "Submit input";
2664
+ readonly default: "return";
2665
+ readonly type: "string";
2666
+ };
2667
+ readonly input_newline: {
2668
+ readonly description: "Insert newline in input";
2669
+ readonly default: "shift+return,ctrl+return,alt+return,ctrl+j";
2670
+ readonly type: "string";
2671
+ };
2672
+ readonly input_move_left: {
2673
+ readonly description: "Move cursor left in input";
2674
+ readonly default: "left,ctrl+b";
2675
+ readonly type: "string";
2676
+ };
2677
+ readonly input_move_right: {
2678
+ readonly description: "Move cursor right in input";
2679
+ readonly default: "right,ctrl+f";
2680
+ readonly type: "string";
2681
+ };
2682
+ readonly input_move_up: {
2683
+ readonly description: "Move cursor up in input";
2684
+ readonly default: "up";
2685
+ readonly type: "string";
2686
+ };
2687
+ readonly input_move_down: {
2688
+ readonly description: "Move cursor down in input";
2689
+ readonly default: "down";
2690
+ readonly type: "string";
2691
+ };
2692
+ readonly input_select_left: {
2693
+ readonly description: "Select left in input";
2694
+ readonly default: "shift+left";
2695
+ readonly type: "string";
2696
+ };
2697
+ readonly input_select_right: {
2698
+ readonly description: "Select right in input";
2699
+ readonly default: "shift+right";
2700
+ readonly type: "string";
2701
+ };
2702
+ readonly input_select_up: {
2703
+ readonly description: "Select up in input";
2704
+ readonly default: "shift+up";
2705
+ readonly type: "string";
2706
+ };
2707
+ readonly input_select_down: {
2708
+ readonly description: "Select down in input";
2709
+ readonly default: "shift+down";
2710
+ readonly type: "string";
2711
+ };
2712
+ readonly input_line_home: {
2713
+ readonly description: "Move to start of line in input";
2714
+ readonly default: "ctrl+a";
2715
+ readonly type: "string";
2716
+ };
2717
+ readonly input_line_end: {
2718
+ readonly description: "Move to end of line in input";
2719
+ readonly default: "ctrl+e";
2720
+ readonly type: "string";
2721
+ };
2722
+ readonly input_select_line_home: {
2723
+ readonly description: "Select to start of line in input";
2724
+ readonly default: "ctrl+shift+a";
2725
+ readonly type: "string";
2726
+ };
2727
+ readonly input_select_line_end: {
2728
+ readonly description: "Select to end of line in input";
2729
+ readonly default: "ctrl+shift+e";
2730
+ readonly type: "string";
2731
+ };
2732
+ readonly input_visual_line_home: {
2733
+ readonly description: "Move to start of visual line in input";
2734
+ readonly default: "alt+a";
2735
+ readonly type: "string";
2736
+ };
2737
+ readonly input_visual_line_end: {
2738
+ readonly description: "Move to end of visual line in input";
2739
+ readonly default: "alt+e";
2740
+ readonly type: "string";
2741
+ };
2742
+ readonly input_select_visual_line_home: {
2743
+ readonly description: "Select to start of visual line in input";
2744
+ readonly default: "alt+shift+a";
2745
+ readonly type: "string";
2746
+ };
2747
+ readonly input_select_visual_line_end: {
2748
+ readonly description: "Select to end of visual line in input";
2749
+ readonly default: "alt+shift+e";
2750
+ readonly type: "string";
2751
+ };
2752
+ readonly input_buffer_home: {
2753
+ readonly description: "Move to start of buffer in input";
2754
+ readonly default: "home";
2755
+ readonly type: "string";
2756
+ };
2757
+ readonly input_buffer_end: {
2758
+ readonly description: "Move to end of buffer in input";
2759
+ readonly default: "end";
2760
+ readonly type: "string";
2761
+ };
2762
+ readonly input_select_buffer_home: {
2763
+ readonly description: "Select to start of buffer in input";
2764
+ readonly default: "shift+home";
2765
+ readonly type: "string";
2766
+ };
2767
+ readonly input_select_buffer_end: {
2768
+ readonly description: "Select to end of buffer in input";
2769
+ readonly default: "shift+end";
2770
+ readonly type: "string";
2771
+ };
2772
+ readonly input_delete_line: {
2773
+ readonly description: "Delete line in input";
2774
+ readonly default: "ctrl+shift+d";
2775
+ readonly type: "string";
2776
+ };
2777
+ readonly input_delete_to_line_end: {
2778
+ readonly description: "Delete to end of line in input";
2779
+ readonly default: "ctrl+k";
2780
+ readonly type: "string";
2781
+ };
2782
+ readonly input_delete_to_line_start: {
2783
+ readonly description: "Delete to start of line in input";
2784
+ readonly default: "ctrl+u";
2785
+ readonly type: "string";
2786
+ };
2787
+ readonly input_backspace: {
2788
+ readonly description: "Backspace in input";
2789
+ readonly default: "backspace,shift+backspace";
2790
+ readonly type: "string";
2791
+ };
2792
+ readonly input_delete: {
2793
+ readonly description: "Delete character in input";
2794
+ readonly default: "ctrl+d,delete,shift+delete";
2795
+ readonly type: "string";
2796
+ };
2797
+ readonly input_undo: {
2798
+ readonly description: "Undo in input";
2799
+ readonly default: "ctrl+-,super+z";
2800
+ readonly type: "string";
2801
+ };
2802
+ readonly input_redo: {
2803
+ readonly description: "Redo in input";
2804
+ readonly default: "ctrl+.,super+shift+z";
2805
+ readonly type: "string";
2806
+ };
2807
+ readonly input_word_forward: {
2808
+ readonly description: "Move word forward in input";
2809
+ readonly default: "alt+f,alt+right,ctrl+right";
2810
+ readonly type: "string";
2811
+ };
2812
+ readonly input_word_backward: {
2813
+ readonly description: "Move word backward in input";
2814
+ readonly default: "alt+b,alt+left,ctrl+left";
2815
+ readonly type: "string";
2816
+ };
2817
+ readonly input_select_word_forward: {
2818
+ readonly description: "Select word forward in input";
2819
+ readonly default: "alt+shift+f,alt+shift+right";
2820
+ readonly type: "string";
2821
+ };
2822
+ readonly input_select_word_backward: {
2823
+ readonly description: "Select word backward in input";
2824
+ readonly default: "alt+shift+b,alt+shift+left";
2825
+ readonly type: "string";
2826
+ };
2827
+ readonly input_delete_word_forward: {
2828
+ readonly description: "Delete word forward in input";
2829
+ readonly default: "alt+d,alt+delete,ctrl+delete";
2830
+ readonly type: "string";
2831
+ };
2832
+ readonly input_delete_word_backward: {
2833
+ readonly description: "Delete word backward in input";
2834
+ readonly default: "ctrl+w,ctrl+backspace,alt+backspace";
2835
+ readonly type: "string";
2836
+ };
2837
+ readonly history_previous: {
2838
+ readonly description: "Previous history item";
2839
+ readonly default: "up";
2840
+ readonly type: "string";
2841
+ };
2842
+ readonly history_next: {
2843
+ readonly description: "Next history item";
2844
+ readonly default: "down";
2845
+ readonly type: "string";
2846
+ };
2847
+ readonly session_child_cycle: {
2848
+ readonly description: "Next child session";
2849
+ readonly default: "<leader>right";
2850
+ readonly type: "string";
2851
+ };
2852
+ readonly session_child_cycle_reverse: {
2853
+ readonly description: "Previous child session";
2854
+ readonly default: "<leader>left";
2855
+ readonly type: "string";
2856
+ };
2857
+ readonly session_parent: {
2858
+ readonly description: "Go to parent session";
2859
+ readonly default: "<leader>up";
2860
+ readonly type: "string";
2861
+ };
2862
+ readonly terminal_suspend: {
2863
+ readonly description: "Suspend terminal";
2864
+ readonly default: "ctrl+z";
2865
+ readonly type: "string";
2866
+ };
2867
+ readonly terminal_title_toggle: {
2868
+ readonly description: "Toggle terminal title";
2869
+ readonly default: "none";
2870
+ readonly type: "string";
2871
+ };
2872
+ readonly tips_toggle: {
2873
+ readonly description: "Toggle tips on home screen";
2874
+ readonly default: "<leader>h";
2875
+ readonly type: "string";
2876
+ };
2877
+ };
2878
+ readonly additionalProperties: false;
2879
+ };
2880
+ export declare const LogLevelSchema: {
2881
+ readonly description: "Log level";
2882
+ readonly type: "string";
2883
+ readonly enum: readonly ["DEBUG", "INFO", "WARN", "ERROR"];
2884
+ };
2885
+ export declare const ServerConfigSchema: {
2886
+ readonly description: "Server configuration for opencode serve and web commands";
2887
+ readonly type: "object";
2888
+ readonly properties: {
2889
+ readonly port: {
2890
+ readonly description: "Port to listen on";
2891
+ readonly type: "integer";
2892
+ readonly exclusiveMinimum: 0;
2893
+ readonly maximum: 9007199254740991;
2894
+ };
2895
+ readonly hostname: {
2896
+ readonly description: "Hostname to listen on";
2897
+ readonly type: "string";
2898
+ };
2899
+ readonly mdns: {
2900
+ readonly description: "Enable mDNS service discovery";
2901
+ readonly type: "boolean";
2902
+ };
2903
+ readonly cors: {
2904
+ readonly description: "Additional domains to allow for CORS";
2905
+ readonly type: "array";
2906
+ readonly items: {
2907
+ readonly type: "string";
2908
+ };
2909
+ };
2910
+ };
2911
+ readonly additionalProperties: false;
2912
+ };
2913
+ export declare const PermissionActionConfigSchema: {
2914
+ readonly type: "string";
2915
+ readonly enum: readonly ["ask", "allow", "deny"];
2916
+ };
2917
+ export declare const PermissionObjectConfigSchema: {
2918
+ readonly type: "object";
2919
+ readonly propertyNames: {
2920
+ readonly type: "string";
2921
+ };
2922
+ readonly additionalProperties: {
2923
+ readonly $ref: "#/components/schemas/PermissionActionConfig";
2924
+ };
2925
+ };
2926
+ export declare const PermissionRuleConfigSchema: {
2927
+ readonly anyOf: readonly [{
2928
+ readonly $ref: "#/components/schemas/PermissionActionConfig";
2929
+ }, {
2930
+ readonly $ref: "#/components/schemas/PermissionObjectConfig";
2931
+ }];
2932
+ };
2933
+ export declare const PermissionConfigSchema: {
2934
+ readonly anyOf: readonly [{
2935
+ readonly type: "object";
2936
+ readonly properties: {
2937
+ readonly __originalKeys: {
2938
+ readonly type: "array";
2939
+ readonly items: {
2940
+ readonly type: "string";
2941
+ };
2942
+ };
2943
+ readonly read: {
2944
+ readonly $ref: "#/components/schemas/PermissionRuleConfig";
2945
+ };
2946
+ readonly edit: {
2947
+ readonly $ref: "#/components/schemas/PermissionRuleConfig";
2948
+ };
2949
+ readonly glob: {
2950
+ readonly $ref: "#/components/schemas/PermissionRuleConfig";
2951
+ };
2952
+ readonly grep: {
2953
+ readonly $ref: "#/components/schemas/PermissionRuleConfig";
2954
+ };
2955
+ readonly list: {
2956
+ readonly $ref: "#/components/schemas/PermissionRuleConfig";
2957
+ };
2958
+ readonly bash: {
2959
+ readonly $ref: "#/components/schemas/PermissionRuleConfig";
2960
+ };
2961
+ readonly task: {
2962
+ readonly $ref: "#/components/schemas/PermissionRuleConfig";
2963
+ };
2964
+ readonly external_directory: {
2965
+ readonly $ref: "#/components/schemas/PermissionRuleConfig";
2966
+ };
2967
+ readonly todowrite: {
2968
+ readonly $ref: "#/components/schemas/PermissionActionConfig";
2969
+ };
2970
+ readonly todoread: {
2971
+ readonly $ref: "#/components/schemas/PermissionActionConfig";
2972
+ };
2973
+ readonly question: {
2974
+ readonly $ref: "#/components/schemas/PermissionActionConfig";
2975
+ };
2976
+ readonly webfetch: {
2977
+ readonly $ref: "#/components/schemas/PermissionActionConfig";
2978
+ };
2979
+ readonly websearch: {
2980
+ readonly $ref: "#/components/schemas/PermissionActionConfig";
2981
+ };
2982
+ readonly codesearch: {
2983
+ readonly $ref: "#/components/schemas/PermissionActionConfig";
2984
+ };
2985
+ readonly lsp: {
2986
+ readonly $ref: "#/components/schemas/PermissionRuleConfig";
2987
+ };
2988
+ readonly doom_loop: {
2989
+ readonly $ref: "#/components/schemas/PermissionActionConfig";
2990
+ };
2991
+ };
2992
+ readonly additionalProperties: {
2993
+ readonly $ref: "#/components/schemas/PermissionRuleConfig";
2994
+ };
2995
+ }, {
2996
+ readonly $ref: "#/components/schemas/PermissionActionConfig";
2997
+ }];
2998
+ };
2999
+ export declare const AgentConfigSchema: {
3000
+ readonly type: "object";
3001
+ readonly properties: {
3002
+ readonly model: {
3003
+ readonly type: "string";
3004
+ };
3005
+ readonly temperature: {
3006
+ readonly type: "number";
3007
+ };
3008
+ readonly top_p: {
3009
+ readonly type: "number";
3010
+ };
3011
+ readonly prompt: {
3012
+ readonly type: "string";
3013
+ };
3014
+ readonly tools: {
3015
+ readonly description: "@deprecated Use 'permission' field instead";
3016
+ readonly type: "object";
3017
+ readonly propertyNames: {
3018
+ readonly type: "string";
3019
+ };
3020
+ readonly additionalProperties: {
3021
+ readonly type: "boolean";
3022
+ };
3023
+ };
3024
+ readonly disable: {
3025
+ readonly type: "boolean";
3026
+ };
3027
+ readonly description: {
3028
+ readonly description: "Description of when to use the agent";
3029
+ readonly type: "string";
3030
+ };
3031
+ readonly mode: {
3032
+ readonly type: "string";
3033
+ readonly enum: readonly ["subagent", "primary", "all"];
3034
+ };
3035
+ readonly hidden: {
3036
+ readonly description: "Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)";
3037
+ readonly type: "boolean";
3038
+ };
3039
+ readonly options: {
3040
+ readonly type: "object";
3041
+ readonly propertyNames: {
3042
+ readonly type: "string";
3043
+ };
3044
+ readonly additionalProperties: {};
3045
+ };
3046
+ readonly color: {
3047
+ readonly description: "Hex color code for the agent (e.g., #FF5733)";
3048
+ readonly type: "string";
3049
+ readonly pattern: "^#[0-9a-fA-F]{6}$";
3050
+ };
3051
+ readonly steps: {
3052
+ readonly description: "Maximum number of agentic iterations before forcing text-only response";
3053
+ readonly type: "integer";
3054
+ readonly exclusiveMinimum: 0;
3055
+ readonly maximum: 9007199254740991;
3056
+ };
3057
+ readonly maxSteps: {
3058
+ readonly description: "@deprecated Use 'steps' field instead.";
3059
+ readonly type: "integer";
3060
+ readonly exclusiveMinimum: 0;
3061
+ readonly maximum: 9007199254740991;
3062
+ };
3063
+ readonly permission: {
3064
+ readonly $ref: "#/components/schemas/PermissionConfig";
3065
+ };
3066
+ };
3067
+ readonly additionalProperties: {};
3068
+ };
3069
+ export declare const ProviderConfigSchema: {
3070
+ readonly type: "object";
3071
+ readonly properties: {
3072
+ readonly api: {
3073
+ readonly type: "string";
3074
+ };
3075
+ readonly name: {
3076
+ readonly type: "string";
3077
+ };
3078
+ readonly env: {
3079
+ readonly type: "array";
3080
+ readonly items: {
3081
+ readonly type: "string";
3082
+ };
3083
+ };
3084
+ readonly id: {
3085
+ readonly type: "string";
3086
+ };
3087
+ readonly npm: {
3088
+ readonly type: "string";
3089
+ };
3090
+ readonly models: {
3091
+ readonly type: "object";
3092
+ readonly propertyNames: {
3093
+ readonly type: "string";
3094
+ };
3095
+ readonly additionalProperties: {
3096
+ readonly type: "object";
3097
+ readonly properties: {
3098
+ readonly id: {
3099
+ readonly type: "string";
3100
+ };
3101
+ readonly name: {
3102
+ readonly type: "string";
3103
+ };
3104
+ readonly family: {
3105
+ readonly type: "string";
3106
+ };
3107
+ readonly release_date: {
3108
+ readonly type: "string";
3109
+ };
3110
+ readonly attachment: {
3111
+ readonly type: "boolean";
3112
+ };
3113
+ readonly reasoning: {
3114
+ readonly type: "boolean";
3115
+ };
3116
+ readonly temperature: {
3117
+ readonly type: "boolean";
3118
+ };
3119
+ readonly tool_call: {
3120
+ readonly type: "boolean";
3121
+ };
3122
+ readonly interleaved: {
3123
+ readonly anyOf: readonly [{
3124
+ readonly type: "boolean";
3125
+ readonly const: true;
3126
+ }, {
3127
+ readonly type: "object";
3128
+ readonly properties: {
3129
+ readonly field: {
3130
+ readonly type: "string";
3131
+ readonly enum: readonly ["reasoning_content", "reasoning_details"];
3132
+ };
3133
+ };
3134
+ readonly required: readonly ["field"];
3135
+ readonly additionalProperties: false;
3136
+ }];
3137
+ };
3138
+ readonly cost: {
3139
+ readonly type: "object";
3140
+ readonly properties: {
3141
+ readonly input: {
3142
+ readonly type: "number";
3143
+ };
3144
+ readonly output: {
3145
+ readonly type: "number";
3146
+ };
3147
+ readonly cache_read: {
3148
+ readonly type: "number";
3149
+ };
3150
+ readonly cache_write: {
3151
+ readonly type: "number";
3152
+ };
3153
+ readonly context_over_200k: {
3154
+ readonly type: "object";
3155
+ readonly properties: {
3156
+ readonly input: {
3157
+ readonly type: "number";
3158
+ };
3159
+ readonly output: {
3160
+ readonly type: "number";
3161
+ };
3162
+ readonly cache_read: {
3163
+ readonly type: "number";
3164
+ };
3165
+ readonly cache_write: {
3166
+ readonly type: "number";
3167
+ };
3168
+ };
3169
+ readonly required: readonly ["input", "output"];
3170
+ };
3171
+ };
3172
+ readonly required: readonly ["input", "output"];
3173
+ };
3174
+ readonly limit: {
3175
+ readonly type: "object";
3176
+ readonly properties: {
3177
+ readonly context: {
3178
+ readonly type: "number";
3179
+ };
3180
+ readonly input: {
3181
+ readonly type: "number";
3182
+ };
3183
+ readonly output: {
3184
+ readonly type: "number";
3185
+ };
3186
+ };
3187
+ readonly required: readonly ["context", "output"];
3188
+ };
3189
+ readonly modalities: {
3190
+ readonly type: "object";
3191
+ readonly properties: {
3192
+ readonly input: {
3193
+ readonly type: "array";
3194
+ readonly items: {
3195
+ readonly type: "string";
3196
+ readonly enum: readonly ["text", "audio", "image", "video", "pdf"];
3197
+ };
3198
+ };
3199
+ readonly output: {
3200
+ readonly type: "array";
3201
+ readonly items: {
3202
+ readonly type: "string";
3203
+ readonly enum: readonly ["text", "audio", "image", "video", "pdf"];
3204
+ };
3205
+ };
3206
+ };
3207
+ readonly required: readonly ["input", "output"];
3208
+ };
3209
+ readonly experimental: {
3210
+ readonly type: "boolean";
3211
+ };
3212
+ readonly status: {
3213
+ readonly type: "string";
3214
+ readonly enum: readonly ["alpha", "beta", "deprecated"];
3215
+ };
3216
+ readonly options: {
3217
+ readonly type: "object";
3218
+ readonly propertyNames: {
3219
+ readonly type: "string";
3220
+ };
3221
+ readonly additionalProperties: {};
3222
+ };
3223
+ readonly headers: {
3224
+ readonly type: "object";
3225
+ readonly propertyNames: {
3226
+ readonly type: "string";
3227
+ };
3228
+ readonly additionalProperties: {
3229
+ readonly type: "string";
3230
+ };
3231
+ };
3232
+ readonly provider: {
3233
+ readonly type: "object";
3234
+ readonly properties: {
3235
+ readonly npm: {
3236
+ readonly type: "string";
3237
+ };
3238
+ };
3239
+ readonly required: readonly ["npm"];
3240
+ };
3241
+ readonly variants: {
3242
+ readonly description: "Variant-specific configuration";
3243
+ readonly type: "object";
3244
+ readonly propertyNames: {
3245
+ readonly type: "string";
3246
+ };
3247
+ readonly additionalProperties: {
3248
+ readonly type: "object";
3249
+ readonly properties: {
3250
+ readonly disabled: {
3251
+ readonly description: "Disable this variant for the model";
3252
+ readonly type: "boolean";
3253
+ };
3254
+ };
3255
+ readonly additionalProperties: {};
3256
+ };
3257
+ };
3258
+ };
3259
+ };
3260
+ };
3261
+ readonly whitelist: {
3262
+ readonly type: "array";
3263
+ readonly items: {
3264
+ readonly type: "string";
3265
+ };
3266
+ };
3267
+ readonly blacklist: {
3268
+ readonly type: "array";
3269
+ readonly items: {
3270
+ readonly type: "string";
3271
+ };
3272
+ };
3273
+ readonly options: {
3274
+ readonly type: "object";
3275
+ readonly properties: {
3276
+ readonly apiKey: {
3277
+ readonly type: "string";
3278
+ };
3279
+ readonly baseURL: {
3280
+ readonly type: "string";
3281
+ };
3282
+ readonly enterpriseUrl: {
3283
+ readonly description: "GitHub Enterprise URL for copilot authentication";
3284
+ readonly type: "string";
3285
+ };
3286
+ readonly setCacheKey: {
3287
+ readonly description: "Enable promptCacheKey for this provider (default false)";
3288
+ readonly type: "boolean";
3289
+ };
3290
+ readonly timeout: {
3291
+ readonly description: "Timeout in milliseconds for requests to this provider. Default is 300000 (5 minutes). Set to false to disable timeout.";
3292
+ readonly anyOf: readonly [{
3293
+ readonly description: "Timeout in milliseconds for requests to this provider. Default is 300000 (5 minutes). Set to false to disable timeout.";
3294
+ readonly type: "integer";
3295
+ readonly exclusiveMinimum: 0;
3296
+ readonly maximum: 9007199254740991;
3297
+ }, {
3298
+ readonly description: "Disable timeout for this provider entirely.";
3299
+ readonly type: "boolean";
3300
+ readonly const: false;
3301
+ }];
3302
+ };
3303
+ };
3304
+ readonly additionalProperties: {};
3305
+ };
3306
+ };
3307
+ readonly additionalProperties: false;
3308
+ };
3309
+ export declare const McpLocalConfigSchema: {
3310
+ readonly type: "object";
3311
+ readonly properties: {
3312
+ readonly type: {
3313
+ readonly description: "Type of MCP server connection";
3314
+ readonly type: "string";
3315
+ readonly const: "local";
3316
+ };
3317
+ readonly command: {
3318
+ readonly description: "Command and arguments to run the MCP server";
3319
+ readonly type: "array";
3320
+ readonly items: {
3321
+ readonly type: "string";
3322
+ };
3323
+ };
3324
+ readonly environment: {
3325
+ readonly description: "Environment variables to set when running the MCP server";
3326
+ readonly type: "object";
3327
+ readonly propertyNames: {
3328
+ readonly type: "string";
3329
+ };
3330
+ readonly additionalProperties: {
3331
+ readonly type: "string";
3332
+ };
3333
+ };
3334
+ readonly enabled: {
3335
+ readonly description: "Enable or disable the MCP server on startup";
3336
+ readonly type: "boolean";
3337
+ };
3338
+ readonly timeout: {
3339
+ readonly description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified.";
3340
+ readonly type: "integer";
3341
+ readonly exclusiveMinimum: 0;
3342
+ readonly maximum: 9007199254740991;
3343
+ };
3344
+ };
3345
+ readonly required: readonly ["type", "command"];
3346
+ readonly additionalProperties: false;
3347
+ };
3348
+ export declare const McpOAuthConfigSchema: {
3349
+ readonly type: "object";
3350
+ readonly properties: {
3351
+ readonly clientId: {
3352
+ readonly description: "OAuth client ID. If not provided, dynamic client registration (RFC 7591) will be attempted.";
3353
+ readonly type: "string";
3354
+ };
3355
+ readonly clientSecret: {
3356
+ readonly description: "OAuth client secret (if required by the authorization server)";
3357
+ readonly type: "string";
3358
+ };
3359
+ readonly scope: {
3360
+ readonly description: "OAuth scopes to request during authorization";
3361
+ readonly type: "string";
3362
+ };
3363
+ readonly redirectUri: {
3364
+ readonly description: "OAuth redirect URI (default: http://127.0.0.1:19876/mcp/oauth/callback).";
3365
+ readonly type: "string";
3366
+ };
3367
+ };
3368
+ readonly additionalProperties: false;
3369
+ };
3370
+ export declare const McpRemoteConfigSchema: {
3371
+ readonly type: "object";
3372
+ readonly properties: {
3373
+ readonly type: {
3374
+ readonly description: "Type of MCP server connection";
3375
+ readonly type: "string";
3376
+ readonly const: "remote";
3377
+ };
3378
+ readonly url: {
3379
+ readonly description: "URL of the remote MCP server";
3380
+ readonly type: "string";
3381
+ };
3382
+ readonly enabled: {
3383
+ readonly description: "Enable or disable the MCP server on startup";
3384
+ readonly type: "boolean";
3385
+ };
3386
+ readonly headers: {
3387
+ readonly description: "Headers to send with the request";
3388
+ readonly type: "object";
3389
+ readonly propertyNames: {
3390
+ readonly type: "string";
3391
+ };
3392
+ readonly additionalProperties: {
3393
+ readonly type: "string";
3394
+ };
3395
+ };
3396
+ readonly oauth: {
3397
+ readonly description: "OAuth authentication configuration for the MCP server. Set to false to disable OAuth auto-detection.";
3398
+ readonly anyOf: readonly [{
3399
+ readonly $ref: "#/components/schemas/McpOAuthConfig";
3400
+ }, {
3401
+ readonly type: "boolean";
3402
+ readonly const: false;
3403
+ }];
3404
+ };
3405
+ readonly timeout: {
3406
+ readonly description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified.";
3407
+ readonly type: "integer";
3408
+ readonly exclusiveMinimum: 0;
3409
+ readonly maximum: 9007199254740991;
3410
+ };
3411
+ };
3412
+ readonly required: readonly ["type", "url"];
3413
+ readonly additionalProperties: false;
3414
+ };
3415
+ export declare const LayoutConfigSchema: {
3416
+ readonly description: "@deprecated Always uses stretch layout.";
3417
+ readonly type: "string";
3418
+ readonly enum: readonly ["auto", "stretch"];
3419
+ };
3420
+ export declare const ConfigSchema: {
3421
+ readonly type: "object";
3422
+ readonly properties: {
3423
+ readonly $schema: {
3424
+ readonly description: "JSON schema reference for configuration validation";
3425
+ readonly type: "string";
3426
+ };
3427
+ readonly theme: {
3428
+ readonly description: "Theme name to use for the interface";
3429
+ readonly type: "string";
3430
+ };
3431
+ readonly keybinds: {
3432
+ readonly $ref: "#/components/schemas/KeybindsConfig";
3433
+ };
3434
+ readonly logLevel: {
3435
+ readonly $ref: "#/components/schemas/LogLevel";
3436
+ };
3437
+ readonly tui: {
3438
+ readonly description: "TUI specific settings";
3439
+ readonly type: "object";
3440
+ readonly properties: {
3441
+ readonly scroll_speed: {
3442
+ readonly description: "TUI scroll speed";
3443
+ readonly type: "number";
3444
+ readonly minimum: 0.001;
3445
+ };
3446
+ readonly scroll_acceleration: {
3447
+ readonly description: "Scroll acceleration settings";
3448
+ readonly type: "object";
3449
+ readonly properties: {
3450
+ readonly enabled: {
3451
+ readonly description: "Enable scroll acceleration";
3452
+ readonly type: "boolean";
3453
+ };
3454
+ };
3455
+ readonly required: readonly ["enabled"];
3456
+ };
3457
+ readonly diff_style: {
3458
+ readonly description: "Control diff rendering style: 'auto' adapts to terminal width, 'stacked' always shows single column";
3459
+ readonly type: "string";
3460
+ readonly enum: readonly ["auto", "stacked"];
3461
+ };
3462
+ };
3463
+ };
3464
+ readonly server: {
3465
+ readonly $ref: "#/components/schemas/ServerConfig";
3466
+ };
3467
+ readonly command: {
3468
+ readonly description: "Command configuration, see https://opencode.ai/docs/commands";
3469
+ readonly type: "object";
3470
+ readonly propertyNames: {
3471
+ readonly type: "string";
3472
+ };
3473
+ readonly additionalProperties: {
3474
+ readonly type: "object";
3475
+ readonly properties: {
3476
+ readonly template: {
3477
+ readonly type: "string";
3478
+ };
3479
+ readonly description: {
3480
+ readonly type: "string";
3481
+ };
3482
+ readonly agent: {
3483
+ readonly type: "string";
3484
+ };
3485
+ readonly model: {
3486
+ readonly type: "string";
3487
+ };
3488
+ readonly subtask: {
3489
+ readonly type: "boolean";
3490
+ };
3491
+ };
3492
+ readonly required: readonly ["template"];
3493
+ };
3494
+ };
3495
+ readonly watcher: {
3496
+ readonly type: "object";
3497
+ readonly properties: {
3498
+ readonly ignore: {
3499
+ readonly type: "array";
3500
+ readonly items: {
3501
+ readonly type: "string";
3502
+ };
3503
+ };
3504
+ };
3505
+ };
3506
+ readonly plugin: {
3507
+ readonly type: "array";
3508
+ readonly items: {
3509
+ readonly type: "string";
3510
+ };
3511
+ };
3512
+ readonly snapshot: {
3513
+ readonly type: "boolean";
3514
+ };
3515
+ readonly share: {
3516
+ readonly description: "Control sharing behavior:'manual' allows manual sharing via commands, 'auto' enables automatic sharing, 'disabled' disables all sharing";
3517
+ readonly type: "string";
3518
+ readonly enum: readonly ["manual", "auto", "disabled"];
3519
+ };
3520
+ readonly autoshare: {
3521
+ readonly description: "@deprecated Use 'share' field instead. Share newly created sessions automatically";
3522
+ readonly type: "boolean";
3523
+ };
3524
+ readonly autoupdate: {
3525
+ readonly description: "Automatically update to the latest version. Set to true to auto-update, false to disable, or 'notify' to show update notifications";
3526
+ readonly anyOf: readonly [{
3527
+ readonly type: "boolean";
3528
+ }, {
3529
+ readonly type: "string";
3530
+ readonly const: "notify";
3531
+ }];
3532
+ };
3533
+ readonly disabled_providers: {
3534
+ readonly description: "Disable providers that are loaded automatically";
3535
+ readonly type: "array";
3536
+ readonly items: {
3537
+ readonly type: "string";
3538
+ };
3539
+ };
3540
+ readonly enabled_providers: {
3541
+ readonly description: "When set, ONLY these providers will be enabled. All other providers will be ignored";
3542
+ readonly type: "array";
3543
+ readonly items: {
3544
+ readonly type: "string";
3545
+ };
3546
+ };
3547
+ readonly model: {
3548
+ readonly description: "Model to use in the format of provider/model, eg anthropic/claude-2";
3549
+ readonly type: "string";
3550
+ };
3551
+ readonly small_model: {
3552
+ readonly description: "Small model to use for tasks like title generation in the format of provider/model";
3553
+ readonly type: "string";
3554
+ };
3555
+ readonly default_agent: {
3556
+ readonly description: "Default agent to use when none is specified. Must be a primary agent. Falls back to 'build' if not set or if the specified agent is invalid.";
3557
+ readonly type: "string";
3558
+ };
3559
+ readonly username: {
3560
+ readonly description: "Custom username to display in conversations instead of system username";
3561
+ readonly type: "string";
3562
+ };
3563
+ readonly mode: {
3564
+ readonly description: "@deprecated Use `agent` field instead.";
3565
+ readonly type: "object";
3566
+ readonly properties: {
3567
+ readonly build: {
3568
+ readonly $ref: "#/components/schemas/AgentConfig";
3569
+ };
3570
+ readonly plan: {
3571
+ readonly $ref: "#/components/schemas/AgentConfig";
3572
+ };
3573
+ };
3574
+ readonly additionalProperties: {
3575
+ readonly $ref: "#/components/schemas/AgentConfig";
3576
+ };
3577
+ };
3578
+ readonly agent: {
3579
+ readonly description: "Agent configuration, see https://opencode.ai/docs/agent";
3580
+ readonly type: "object";
3581
+ readonly properties: {
3582
+ readonly plan: {
3583
+ readonly $ref: "#/components/schemas/AgentConfig";
3584
+ };
3585
+ readonly build: {
3586
+ readonly $ref: "#/components/schemas/AgentConfig";
3587
+ };
3588
+ readonly general: {
3589
+ readonly $ref: "#/components/schemas/AgentConfig";
3590
+ };
3591
+ readonly explore: {
3592
+ readonly $ref: "#/components/schemas/AgentConfig";
3593
+ };
3594
+ readonly title: {
3595
+ readonly $ref: "#/components/schemas/AgentConfig";
3596
+ };
3597
+ readonly summary: {
3598
+ readonly $ref: "#/components/schemas/AgentConfig";
3599
+ };
3600
+ readonly compaction: {
3601
+ readonly $ref: "#/components/schemas/AgentConfig";
3602
+ };
3603
+ };
3604
+ readonly additionalProperties: {
3605
+ readonly $ref: "#/components/schemas/AgentConfig";
3606
+ };
3607
+ };
3608
+ readonly provider: {
3609
+ readonly description: "Custom provider configurations and model overrides";
3610
+ readonly type: "object";
3611
+ readonly propertyNames: {
3612
+ readonly type: "string";
3613
+ };
3614
+ readonly additionalProperties: {
3615
+ readonly $ref: "#/components/schemas/ProviderConfig";
3616
+ };
3617
+ };
3618
+ readonly mcp: {
3619
+ readonly description: "MCP (Model Context Protocol) server configurations";
3620
+ readonly type: "object";
3621
+ readonly propertyNames: {
3622
+ readonly type: "string";
3623
+ };
3624
+ readonly additionalProperties: {
3625
+ readonly anyOf: readonly [{
3626
+ readonly anyOf: readonly [{
3627
+ readonly $ref: "#/components/schemas/McpLocalConfig";
3628
+ }, {
3629
+ readonly $ref: "#/components/schemas/McpRemoteConfig";
3630
+ }];
3631
+ }, {
3632
+ readonly type: "object";
3633
+ readonly properties: {
3634
+ readonly enabled: {
3635
+ readonly type: "boolean";
3636
+ };
3637
+ };
3638
+ readonly required: readonly ["enabled"];
3639
+ readonly additionalProperties: false;
3640
+ }];
3641
+ };
3642
+ };
3643
+ readonly formatter: {
3644
+ readonly anyOf: readonly [{
3645
+ readonly type: "boolean";
3646
+ readonly const: false;
3647
+ }, {
3648
+ readonly type: "object";
3649
+ readonly propertyNames: {
3650
+ readonly type: "string";
3651
+ };
3652
+ readonly additionalProperties: {
3653
+ readonly type: "object";
3654
+ readonly properties: {
3655
+ readonly disabled: {
3656
+ readonly type: "boolean";
3657
+ };
3658
+ readonly command: {
3659
+ readonly type: "array";
3660
+ readonly items: {
3661
+ readonly type: "string";
3662
+ };
3663
+ };
3664
+ readonly environment: {
3665
+ readonly type: "object";
3666
+ readonly propertyNames: {
3667
+ readonly type: "string";
3668
+ };
3669
+ readonly additionalProperties: {
3670
+ readonly type: "string";
3671
+ };
3672
+ };
3673
+ readonly extensions: {
3674
+ readonly type: "array";
3675
+ readonly items: {
3676
+ readonly type: "string";
3677
+ };
3678
+ };
3679
+ };
3680
+ };
3681
+ }];
3682
+ };
3683
+ readonly lsp: {
3684
+ readonly anyOf: readonly [{
3685
+ readonly type: "boolean";
3686
+ readonly const: false;
3687
+ }, {
3688
+ readonly type: "object";
3689
+ readonly propertyNames: {
3690
+ readonly type: "string";
3691
+ };
3692
+ readonly additionalProperties: {
3693
+ readonly anyOf: readonly [{
3694
+ readonly type: "object";
3695
+ readonly properties: {
3696
+ readonly disabled: {
3697
+ readonly type: "boolean";
3698
+ readonly const: true;
3699
+ };
3700
+ };
3701
+ readonly required: readonly ["disabled"];
3702
+ }, {
3703
+ readonly type: "object";
3704
+ readonly properties: {
3705
+ readonly command: {
3706
+ readonly type: "array";
3707
+ readonly items: {
3708
+ readonly type: "string";
3709
+ };
3710
+ };
3711
+ readonly extensions: {
3712
+ readonly type: "array";
3713
+ readonly items: {
3714
+ readonly type: "string";
3715
+ };
3716
+ };
3717
+ readonly disabled: {
3718
+ readonly type: "boolean";
3719
+ };
3720
+ readonly env: {
3721
+ readonly type: "object";
3722
+ readonly propertyNames: {
3723
+ readonly type: "string";
3724
+ };
3725
+ readonly additionalProperties: {
3726
+ readonly type: "string";
3727
+ };
3728
+ };
3729
+ readonly initialization: {
3730
+ readonly type: "object";
3731
+ readonly propertyNames: {
3732
+ readonly type: "string";
3733
+ };
3734
+ readonly additionalProperties: {};
3735
+ };
3736
+ };
3737
+ readonly required: readonly ["command"];
3738
+ }];
3739
+ };
3740
+ }];
3741
+ };
3742
+ readonly instructions: {
3743
+ readonly description: "Additional instruction files or patterns to include";
3744
+ readonly type: "array";
3745
+ readonly items: {
3746
+ readonly type: "string";
3747
+ };
3748
+ };
3749
+ readonly layout: {
3750
+ readonly $ref: "#/components/schemas/LayoutConfig";
3751
+ };
3752
+ readonly permission: {
3753
+ readonly $ref: "#/components/schemas/PermissionConfig";
3754
+ };
3755
+ readonly tools: {
3756
+ readonly type: "object";
3757
+ readonly propertyNames: {
3758
+ readonly type: "string";
3759
+ };
3760
+ readonly additionalProperties: {
3761
+ readonly type: "boolean";
3762
+ };
3763
+ };
3764
+ readonly enterprise: {
3765
+ readonly type: "object";
3766
+ readonly properties: {
3767
+ readonly url: {
3768
+ readonly description: "Enterprise URL";
3769
+ readonly type: "string";
3770
+ };
3771
+ };
3772
+ };
3773
+ readonly compaction: {
3774
+ readonly type: "object";
3775
+ readonly properties: {
3776
+ readonly auto: {
3777
+ readonly description: "Enable automatic compaction when context is full (default: true)";
3778
+ readonly type: "boolean";
3779
+ };
3780
+ readonly prune: {
3781
+ readonly description: "Enable pruning of old tool outputs (default: true)";
3782
+ readonly type: "boolean";
3783
+ };
3784
+ };
3785
+ };
3786
+ readonly experimental: {
3787
+ readonly type: "object";
3788
+ readonly properties: {
3789
+ readonly hook: {
3790
+ readonly type: "object";
3791
+ readonly properties: {
3792
+ readonly file_edited: {
3793
+ readonly type: "object";
3794
+ readonly propertyNames: {
3795
+ readonly type: "string";
3796
+ };
3797
+ readonly additionalProperties: {
3798
+ readonly type: "array";
3799
+ readonly items: {
3800
+ readonly type: "object";
3801
+ readonly properties: {
3802
+ readonly command: {
3803
+ readonly type: "array";
3804
+ readonly items: {
3805
+ readonly type: "string";
3806
+ };
3807
+ };
3808
+ readonly environment: {
3809
+ readonly type: "object";
3810
+ readonly propertyNames: {
3811
+ readonly type: "string";
3812
+ };
3813
+ readonly additionalProperties: {
3814
+ readonly type: "string";
3815
+ };
3816
+ };
3817
+ };
3818
+ readonly required: readonly ["command"];
3819
+ };
3820
+ };
3821
+ };
3822
+ readonly session_completed: {
3823
+ readonly type: "array";
3824
+ readonly items: {
3825
+ readonly type: "object";
3826
+ readonly properties: {
3827
+ readonly command: {
3828
+ readonly type: "array";
3829
+ readonly items: {
3830
+ readonly type: "string";
3831
+ };
3832
+ };
3833
+ readonly environment: {
3834
+ readonly type: "object";
3835
+ readonly propertyNames: {
3836
+ readonly type: "string";
3837
+ };
3838
+ readonly additionalProperties: {
3839
+ readonly type: "string";
3840
+ };
3841
+ };
3842
+ };
3843
+ readonly required: readonly ["command"];
3844
+ };
3845
+ };
3846
+ };
3847
+ };
3848
+ readonly chatMaxRetries: {
3849
+ readonly description: "Number of retries for chat completions on failure";
3850
+ readonly type: "number";
3851
+ };
3852
+ readonly disable_paste_summary: {
3853
+ readonly type: "boolean";
3854
+ };
3855
+ readonly batch_tool: {
3856
+ readonly description: "Enable the batch tool";
3857
+ readonly type: "boolean";
3858
+ };
3859
+ readonly openTelemetry: {
3860
+ readonly description: "Enable OpenTelemetry spans for AI SDK calls (using the 'experimental_telemetry' flag)";
3861
+ readonly type: "boolean";
3862
+ };
3863
+ readonly primary_tools: {
3864
+ readonly description: "Tools that should only be available to primary agents.";
3865
+ readonly type: "array";
3866
+ readonly items: {
3867
+ readonly type: "string";
3868
+ };
3869
+ };
3870
+ readonly continue_loop_on_deny: {
3871
+ readonly description: "Continue the agent loop when a tool call is denied";
3872
+ readonly type: "boolean";
3873
+ };
3874
+ readonly mcp_timeout: {
3875
+ readonly description: "Timeout in milliseconds for model context protocol (MCP) requests";
3876
+ readonly type: "integer";
3877
+ readonly exclusiveMinimum: 0;
3878
+ readonly maximum: 9007199254740991;
3879
+ };
3880
+ };
3881
+ };
3882
+ };
3883
+ readonly additionalProperties: false;
3884
+ };
3885
+ export declare const ToolIDsSchema: {
3886
+ readonly type: "array";
3887
+ readonly items: {
3888
+ readonly type: "string";
3889
+ };
3890
+ };
3891
+ export declare const ToolListItemSchema: {
3892
+ readonly type: "object";
3893
+ readonly properties: {
3894
+ readonly id: {
3895
+ readonly type: "string";
3896
+ };
3897
+ readonly description: {
3898
+ readonly type: "string";
3899
+ };
3900
+ readonly parameters: {};
3901
+ };
3902
+ readonly required: readonly ["id", "description", "parameters"];
3903
+ };
3904
+ export declare const ToolListSchema: {
3905
+ readonly type: "array";
3906
+ readonly items: {
3907
+ readonly $ref: "#/components/schemas/ToolListItem";
3908
+ };
3909
+ };
3910
+ export declare const PathSchema: {
3911
+ readonly type: "object";
3912
+ readonly properties: {
3913
+ readonly home: {
3914
+ readonly type: "string";
3915
+ };
3916
+ readonly state: {
3917
+ readonly type: "string";
3918
+ };
3919
+ readonly config: {
3920
+ readonly type: "string";
3921
+ };
3922
+ readonly worktree: {
3923
+ readonly type: "string";
3924
+ };
3925
+ readonly directory: {
3926
+ readonly type: "string";
3927
+ };
3928
+ };
3929
+ readonly required: readonly ["home", "state", "config", "worktree", "directory"];
3930
+ };
3931
+ export declare const WorktreeSchema: {
3932
+ readonly type: "object";
3933
+ readonly properties: {
3934
+ readonly name: {
3935
+ readonly type: "string";
3936
+ };
3937
+ readonly branch: {
3938
+ readonly type: "string";
3939
+ };
3940
+ readonly directory: {
3941
+ readonly type: "string";
3942
+ };
3943
+ };
3944
+ readonly required: readonly ["name", "branch", "directory"];
3945
+ };
3946
+ export declare const WorktreeCreateInputSchema: {
3947
+ readonly type: "object";
3948
+ readonly properties: {
3949
+ readonly name: {
3950
+ readonly type: "string";
3951
+ };
3952
+ readonly startCommand: {
3953
+ readonly type: "string";
3954
+ };
3955
+ };
3956
+ };
3957
+ export declare const VcsInfoSchema: {
3958
+ readonly type: "object";
3959
+ readonly properties: {
3960
+ readonly branch: {
3961
+ readonly type: "string";
3962
+ };
3963
+ };
3964
+ readonly required: readonly ["branch"];
3965
+ };
3966
+ export declare const TextPartInputSchema: {
3967
+ readonly type: "object";
3968
+ readonly properties: {
3969
+ readonly id: {
3970
+ readonly type: "string";
3971
+ };
3972
+ readonly type: {
3973
+ readonly type: "string";
3974
+ readonly const: "text";
3975
+ };
3976
+ readonly text: {
3977
+ readonly type: "string";
3978
+ };
3979
+ readonly synthetic: {
3980
+ readonly type: "boolean";
3981
+ };
3982
+ readonly ignored: {
3983
+ readonly type: "boolean";
3984
+ };
3985
+ readonly time: {
3986
+ readonly type: "object";
3987
+ readonly properties: {
3988
+ readonly start: {
3989
+ readonly type: "number";
3990
+ };
3991
+ readonly end: {
3992
+ readonly type: "number";
3993
+ };
3994
+ };
3995
+ readonly required: readonly ["start"];
3996
+ };
3997
+ readonly metadata: {
3998
+ readonly type: "object";
3999
+ readonly propertyNames: {
4000
+ readonly type: "string";
4001
+ };
4002
+ readonly additionalProperties: {};
4003
+ };
4004
+ };
4005
+ readonly required: readonly ["type", "text"];
4006
+ };
4007
+ export declare const FilePartInputSchema: {
4008
+ readonly type: "object";
4009
+ readonly properties: {
4010
+ readonly id: {
4011
+ readonly type: "string";
4012
+ };
4013
+ readonly type: {
4014
+ readonly type: "string";
4015
+ readonly const: "file";
4016
+ };
4017
+ readonly mime: {
4018
+ readonly type: "string";
4019
+ };
4020
+ readonly filename: {
4021
+ readonly type: "string";
4022
+ };
4023
+ readonly url: {
4024
+ readonly type: "string";
4025
+ };
4026
+ readonly source: {
4027
+ readonly $ref: "#/components/schemas/FilePartSource";
4028
+ };
4029
+ };
4030
+ readonly required: readonly ["type", "mime", "url"];
4031
+ };
4032
+ export declare const AgentPartInputSchema: {
4033
+ readonly type: "object";
4034
+ readonly properties: {
4035
+ readonly id: {
4036
+ readonly type: "string";
4037
+ };
4038
+ readonly type: {
4039
+ readonly type: "string";
4040
+ readonly const: "agent";
4041
+ };
4042
+ readonly name: {
4043
+ readonly type: "string";
4044
+ };
4045
+ readonly source: {
4046
+ readonly type: "object";
4047
+ readonly properties: {
4048
+ readonly value: {
4049
+ readonly type: "string";
4050
+ };
4051
+ readonly start: {
4052
+ readonly type: "integer";
4053
+ readonly minimum: -9007199254740991;
4054
+ readonly maximum: 9007199254740991;
4055
+ };
4056
+ readonly end: {
4057
+ readonly type: "integer";
4058
+ readonly minimum: -9007199254740991;
4059
+ readonly maximum: 9007199254740991;
4060
+ };
4061
+ };
4062
+ readonly required: readonly ["value", "start", "end"];
4063
+ };
4064
+ };
4065
+ readonly required: readonly ["type", "name"];
4066
+ };
4067
+ export declare const SubtaskPartInputSchema: {
4068
+ readonly type: "object";
4069
+ readonly properties: {
4070
+ readonly id: {
4071
+ readonly type: "string";
4072
+ };
4073
+ readonly type: {
4074
+ readonly type: "string";
4075
+ readonly const: "subtask";
4076
+ };
4077
+ readonly prompt: {
4078
+ readonly type: "string";
4079
+ };
4080
+ readonly description: {
4081
+ readonly type: "string";
4082
+ };
4083
+ readonly agent: {
4084
+ readonly type: "string";
4085
+ };
4086
+ readonly model: {
4087
+ readonly type: "object";
4088
+ readonly properties: {
4089
+ readonly providerID: {
4090
+ readonly type: "string";
4091
+ };
4092
+ readonly modelID: {
4093
+ readonly type: "string";
4094
+ };
4095
+ };
4096
+ readonly required: readonly ["providerID", "modelID"];
4097
+ };
4098
+ readonly command: {
4099
+ readonly type: "string";
4100
+ };
4101
+ };
4102
+ readonly required: readonly ["type", "prompt", "description", "agent"];
4103
+ };
4104
+ export declare const CommandSchema: {
4105
+ readonly type: "object";
4106
+ readonly properties: {
4107
+ readonly name: {
4108
+ readonly type: "string";
4109
+ };
4110
+ readonly description: {
4111
+ readonly type: "string";
4112
+ };
4113
+ readonly agent: {
4114
+ readonly type: "string";
4115
+ };
4116
+ readonly model: {
4117
+ readonly type: "string";
4118
+ };
4119
+ readonly mcp: {
4120
+ readonly type: "boolean";
4121
+ };
4122
+ readonly template: {
4123
+ readonly anyOf: readonly [{
4124
+ readonly type: "string";
4125
+ }, {
4126
+ readonly type: "string";
4127
+ }];
4128
+ };
4129
+ readonly subtask: {
4130
+ readonly type: "boolean";
4131
+ };
4132
+ readonly hints: {
4133
+ readonly type: "array";
4134
+ readonly items: {
4135
+ readonly type: "string";
4136
+ };
4137
+ };
4138
+ };
4139
+ readonly required: readonly ["name", "template", "hints"];
4140
+ };
4141
+ export declare const ModelSchema: {
4142
+ readonly type: "object";
4143
+ readonly properties: {
4144
+ readonly id: {
4145
+ readonly type: "string";
4146
+ };
4147
+ readonly providerID: {
4148
+ readonly type: "string";
4149
+ };
4150
+ readonly api: {
4151
+ readonly type: "object";
4152
+ readonly properties: {
4153
+ readonly id: {
4154
+ readonly type: "string";
4155
+ };
4156
+ readonly url: {
4157
+ readonly type: "string";
4158
+ };
4159
+ readonly npm: {
4160
+ readonly type: "string";
4161
+ };
4162
+ };
4163
+ readonly required: readonly ["id", "url", "npm"];
4164
+ };
4165
+ readonly name: {
4166
+ readonly type: "string";
4167
+ };
4168
+ readonly family: {
4169
+ readonly type: "string";
4170
+ };
4171
+ readonly capabilities: {
4172
+ readonly type: "object";
4173
+ readonly properties: {
4174
+ readonly temperature: {
4175
+ readonly type: "boolean";
4176
+ };
4177
+ readonly reasoning: {
4178
+ readonly type: "boolean";
4179
+ };
4180
+ readonly attachment: {
4181
+ readonly type: "boolean";
4182
+ };
4183
+ readonly toolcall: {
4184
+ readonly type: "boolean";
4185
+ };
4186
+ readonly input: {
4187
+ readonly type: "object";
4188
+ readonly properties: {
4189
+ readonly text: {
4190
+ readonly type: "boolean";
4191
+ };
4192
+ readonly audio: {
4193
+ readonly type: "boolean";
4194
+ };
4195
+ readonly image: {
4196
+ readonly type: "boolean";
4197
+ };
4198
+ readonly video: {
4199
+ readonly type: "boolean";
4200
+ };
4201
+ readonly pdf: {
4202
+ readonly type: "boolean";
4203
+ };
4204
+ };
4205
+ readonly required: readonly ["text", "audio", "image", "video", "pdf"];
4206
+ };
4207
+ readonly output: {
4208
+ readonly type: "object";
4209
+ readonly properties: {
4210
+ readonly text: {
4211
+ readonly type: "boolean";
4212
+ };
4213
+ readonly audio: {
4214
+ readonly type: "boolean";
4215
+ };
4216
+ readonly image: {
4217
+ readonly type: "boolean";
4218
+ };
4219
+ readonly video: {
4220
+ readonly type: "boolean";
4221
+ };
4222
+ readonly pdf: {
4223
+ readonly type: "boolean";
4224
+ };
4225
+ };
4226
+ readonly required: readonly ["text", "audio", "image", "video", "pdf"];
4227
+ };
4228
+ readonly interleaved: {
4229
+ readonly anyOf: readonly [{
4230
+ readonly type: "boolean";
4231
+ }, {
4232
+ readonly type: "object";
4233
+ readonly properties: {
4234
+ readonly field: {
4235
+ readonly type: "string";
4236
+ readonly enum: readonly ["reasoning_content", "reasoning_details"];
4237
+ };
4238
+ };
4239
+ readonly required: readonly ["field"];
4240
+ }];
4241
+ };
4242
+ };
4243
+ readonly required: readonly ["temperature", "reasoning", "attachment", "toolcall", "input", "output", "interleaved"];
4244
+ };
4245
+ readonly cost: {
4246
+ readonly type: "object";
4247
+ readonly properties: {
4248
+ readonly input: {
4249
+ readonly type: "number";
4250
+ };
4251
+ readonly output: {
4252
+ readonly type: "number";
4253
+ };
4254
+ readonly cache: {
4255
+ readonly type: "object";
4256
+ readonly properties: {
4257
+ readonly read: {
4258
+ readonly type: "number";
4259
+ };
4260
+ readonly write: {
4261
+ readonly type: "number";
4262
+ };
4263
+ };
4264
+ readonly required: readonly ["read", "write"];
4265
+ };
4266
+ readonly experimentalOver200K: {
4267
+ readonly type: "object";
4268
+ readonly properties: {
4269
+ readonly input: {
4270
+ readonly type: "number";
4271
+ };
4272
+ readonly output: {
4273
+ readonly type: "number";
4274
+ };
4275
+ readonly cache: {
4276
+ readonly type: "object";
4277
+ readonly properties: {
4278
+ readonly read: {
4279
+ readonly type: "number";
4280
+ };
4281
+ readonly write: {
4282
+ readonly type: "number";
4283
+ };
4284
+ };
4285
+ readonly required: readonly ["read", "write"];
4286
+ };
4287
+ };
4288
+ readonly required: readonly ["input", "output", "cache"];
4289
+ };
4290
+ };
4291
+ readonly required: readonly ["input", "output", "cache"];
4292
+ };
4293
+ readonly limit: {
4294
+ readonly type: "object";
4295
+ readonly properties: {
4296
+ readonly context: {
4297
+ readonly type: "number";
4298
+ };
4299
+ readonly input: {
4300
+ readonly type: "number";
4301
+ };
4302
+ readonly output: {
4303
+ readonly type: "number";
4304
+ };
4305
+ };
4306
+ readonly required: readonly ["context", "output"];
4307
+ };
4308
+ readonly status: {
4309
+ readonly type: "string";
4310
+ readonly enum: readonly ["alpha", "beta", "deprecated", "active"];
4311
+ };
4312
+ readonly options: {
4313
+ readonly type: "object";
4314
+ readonly propertyNames: {
4315
+ readonly type: "string";
4316
+ };
4317
+ readonly additionalProperties: {};
4318
+ };
4319
+ readonly headers: {
4320
+ readonly type: "object";
4321
+ readonly propertyNames: {
4322
+ readonly type: "string";
4323
+ };
4324
+ readonly additionalProperties: {
4325
+ readonly type: "string";
4326
+ };
4327
+ };
4328
+ readonly release_date: {
4329
+ readonly type: "string";
4330
+ };
4331
+ readonly variants: {
4332
+ readonly type: "object";
4333
+ readonly propertyNames: {
4334
+ readonly type: "string";
4335
+ };
4336
+ readonly additionalProperties: {
4337
+ readonly type: "object";
4338
+ readonly propertyNames: {
4339
+ readonly type: "string";
4340
+ };
4341
+ readonly additionalProperties: {};
4342
+ };
4343
+ };
4344
+ };
4345
+ readonly required: readonly ["id", "providerID", "api", "name", "capabilities", "cost", "limit", "status", "options", "headers", "release_date"];
4346
+ };
4347
+ export declare const ProviderSchema: {
4348
+ readonly type: "object";
4349
+ readonly properties: {
4350
+ readonly id: {
4351
+ readonly type: "string";
4352
+ };
4353
+ readonly name: {
4354
+ readonly type: "string";
4355
+ };
4356
+ readonly source: {
4357
+ readonly type: "string";
4358
+ readonly enum: readonly ["env", "config", "custom", "api"];
4359
+ };
4360
+ readonly env: {
4361
+ readonly type: "array";
4362
+ readonly items: {
4363
+ readonly type: "string";
4364
+ };
4365
+ };
4366
+ readonly key: {
4367
+ readonly type: "string";
4368
+ };
4369
+ readonly options: {
4370
+ readonly type: "object";
4371
+ readonly propertyNames: {
4372
+ readonly type: "string";
4373
+ };
4374
+ readonly additionalProperties: {};
4375
+ };
4376
+ readonly models: {
4377
+ readonly type: "object";
4378
+ readonly propertyNames: {
4379
+ readonly type: "string";
4380
+ };
4381
+ readonly additionalProperties: {
4382
+ readonly $ref: "#/components/schemas/Model";
4383
+ };
4384
+ };
4385
+ };
4386
+ readonly required: readonly ["id", "name", "source", "env", "options", "models"];
4387
+ };
4388
+ export declare const ProviderAuthMethodSchema: {
4389
+ readonly type: "object";
4390
+ readonly properties: {
4391
+ readonly type: {
4392
+ readonly anyOf: readonly [{
4393
+ readonly type: "string";
4394
+ readonly const: "oauth";
4395
+ }, {
4396
+ readonly type: "string";
4397
+ readonly const: "api";
4398
+ }];
4399
+ };
4400
+ readonly label: {
4401
+ readonly type: "string";
4402
+ };
4403
+ };
4404
+ readonly required: readonly ["type", "label"];
4405
+ };
4406
+ export declare const ProviderAuthAuthorizationSchema: {
4407
+ readonly type: "object";
4408
+ readonly properties: {
4409
+ readonly url: {
4410
+ readonly type: "string";
4411
+ };
4412
+ readonly method: {
4413
+ readonly anyOf: readonly [{
4414
+ readonly type: "string";
4415
+ readonly const: "auto";
4416
+ }, {
4417
+ readonly type: "string";
4418
+ readonly const: "code";
4419
+ }];
4420
+ };
4421
+ readonly instructions: {
4422
+ readonly type: "string";
4423
+ };
4424
+ };
4425
+ readonly required: readonly ["url", "method", "instructions"];
4426
+ };
4427
+ export declare const SymbolSchema: {
4428
+ readonly type: "object";
4429
+ readonly properties: {
4430
+ readonly name: {
4431
+ readonly type: "string";
4432
+ };
4433
+ readonly kind: {
4434
+ readonly type: "number";
4435
+ };
4436
+ readonly location: {
4437
+ readonly type: "object";
4438
+ readonly properties: {
4439
+ readonly uri: {
4440
+ readonly type: "string";
4441
+ };
4442
+ readonly range: {
4443
+ readonly $ref: "#/components/schemas/Range";
4444
+ };
4445
+ };
4446
+ readonly required: readonly ["uri", "range"];
4447
+ };
4448
+ };
4449
+ readonly required: readonly ["name", "kind", "location"];
4450
+ };
4451
+ export declare const FileNodeSchema: {
4452
+ readonly type: "object";
4453
+ readonly properties: {
4454
+ readonly name: {
4455
+ readonly type: "string";
4456
+ };
4457
+ readonly path: {
4458
+ readonly type: "string";
4459
+ };
4460
+ readonly absolute: {
4461
+ readonly type: "string";
4462
+ };
4463
+ readonly type: {
4464
+ readonly type: "string";
4465
+ readonly enum: readonly ["file", "directory"];
4466
+ };
4467
+ readonly ignored: {
4468
+ readonly type: "boolean";
4469
+ };
4470
+ };
4471
+ readonly required: readonly ["name", "path", "absolute", "type", "ignored"];
4472
+ };
4473
+ export declare const FileContentSchema: {
4474
+ readonly type: "object";
4475
+ readonly properties: {
4476
+ readonly type: {
4477
+ readonly type: "string";
4478
+ readonly const: "text";
4479
+ };
4480
+ readonly content: {
4481
+ readonly type: "string";
4482
+ };
4483
+ readonly diff: {
4484
+ readonly type: "string";
4485
+ };
4486
+ readonly patch: {
4487
+ readonly type: "object";
4488
+ readonly properties: {
4489
+ readonly oldFileName: {
4490
+ readonly type: "string";
4491
+ };
4492
+ readonly newFileName: {
4493
+ readonly type: "string";
4494
+ };
4495
+ readonly oldHeader: {
4496
+ readonly type: "string";
4497
+ };
4498
+ readonly newHeader: {
4499
+ readonly type: "string";
4500
+ };
4501
+ readonly hunks: {
4502
+ readonly type: "array";
4503
+ readonly items: {
4504
+ readonly type: "object";
4505
+ readonly properties: {
4506
+ readonly oldStart: {
4507
+ readonly type: "number";
4508
+ };
4509
+ readonly oldLines: {
4510
+ readonly type: "number";
4511
+ };
4512
+ readonly newStart: {
4513
+ readonly type: "number";
4514
+ };
4515
+ readonly newLines: {
4516
+ readonly type: "number";
4517
+ };
4518
+ readonly lines: {
4519
+ readonly type: "array";
4520
+ readonly items: {
4521
+ readonly type: "string";
4522
+ };
4523
+ };
4524
+ };
4525
+ readonly required: readonly ["oldStart", "oldLines", "newStart", "newLines", "lines"];
4526
+ };
4527
+ };
4528
+ readonly index: {
4529
+ readonly type: "string";
4530
+ };
4531
+ };
4532
+ readonly required: readonly ["oldFileName", "newFileName", "hunks"];
4533
+ };
4534
+ readonly encoding: {
4535
+ readonly type: "string";
4536
+ readonly const: "base64";
4537
+ };
4538
+ readonly mimeType: {
4539
+ readonly type: "string";
4540
+ };
4541
+ };
4542
+ readonly required: readonly ["type", "content"];
4543
+ };
4544
+ export declare const FileSchema: {
4545
+ readonly type: "object";
4546
+ readonly properties: {
4547
+ readonly path: {
4548
+ readonly type: "string";
4549
+ };
4550
+ readonly added: {
4551
+ readonly type: "integer";
4552
+ readonly minimum: -9007199254740991;
4553
+ readonly maximum: 9007199254740991;
4554
+ };
4555
+ readonly removed: {
4556
+ readonly type: "integer";
4557
+ readonly minimum: -9007199254740991;
4558
+ readonly maximum: 9007199254740991;
4559
+ };
4560
+ readonly status: {
4561
+ readonly type: "string";
4562
+ readonly enum: readonly ["added", "deleted", "modified"];
4563
+ };
4564
+ };
4565
+ readonly required: readonly ["path", "added", "removed", "status"];
4566
+ };
4567
+ export declare const AgentSchema: {
4568
+ readonly type: "object";
4569
+ readonly properties: {
4570
+ readonly name: {
4571
+ readonly type: "string";
4572
+ };
4573
+ readonly description: {
4574
+ readonly type: "string";
4575
+ };
4576
+ readonly mode: {
4577
+ readonly type: "string";
4578
+ readonly enum: readonly ["subagent", "primary", "all"];
4579
+ };
4580
+ readonly native: {
4581
+ readonly type: "boolean";
4582
+ };
4583
+ readonly hidden: {
4584
+ readonly type: "boolean";
4585
+ };
4586
+ readonly topP: {
4587
+ readonly type: "number";
4588
+ };
4589
+ readonly temperature: {
4590
+ readonly type: "number";
4591
+ };
4592
+ readonly color: {
4593
+ readonly type: "string";
4594
+ };
4595
+ readonly permission: {
4596
+ readonly $ref: "#/components/schemas/PermissionRuleset";
4597
+ };
4598
+ readonly model: {
4599
+ readonly type: "object";
4600
+ readonly properties: {
4601
+ readonly modelID: {
4602
+ readonly type: "string";
4603
+ };
4604
+ readonly providerID: {
4605
+ readonly type: "string";
4606
+ };
4607
+ };
4608
+ readonly required: readonly ["modelID", "providerID"];
4609
+ };
4610
+ readonly prompt: {
4611
+ readonly type: "string";
4612
+ };
4613
+ readonly options: {
4614
+ readonly type: "object";
4615
+ readonly propertyNames: {
4616
+ readonly type: "string";
4617
+ };
4618
+ readonly additionalProperties: {};
4619
+ };
4620
+ readonly steps: {
4621
+ readonly type: "integer";
4622
+ readonly exclusiveMinimum: 0;
4623
+ readonly maximum: 9007199254740991;
4624
+ };
4625
+ };
4626
+ readonly required: readonly ["name", "mode", "permission", "options"];
4627
+ };
4628
+ export declare const MCPStatusConnectedSchema: {
4629
+ readonly type: "object";
4630
+ readonly properties: {
4631
+ readonly status: {
4632
+ readonly type: "string";
4633
+ readonly const: "connected";
4634
+ };
4635
+ };
4636
+ readonly required: readonly ["status"];
4637
+ };
4638
+ export declare const MCPStatusDisabledSchema: {
4639
+ readonly type: "object";
4640
+ readonly properties: {
4641
+ readonly status: {
4642
+ readonly type: "string";
4643
+ readonly const: "disabled";
4644
+ };
4645
+ };
4646
+ readonly required: readonly ["status"];
4647
+ };
4648
+ export declare const MCPStatusFailedSchema: {
4649
+ readonly type: "object";
4650
+ readonly properties: {
4651
+ readonly status: {
4652
+ readonly type: "string";
4653
+ readonly const: "failed";
4654
+ };
4655
+ readonly error: {
4656
+ readonly type: "string";
4657
+ };
4658
+ };
4659
+ readonly required: readonly ["status", "error"];
4660
+ };
4661
+ export declare const MCPStatusNeedsAuthSchema: {
4662
+ readonly type: "object";
4663
+ readonly properties: {
4664
+ readonly status: {
4665
+ readonly type: "string";
4666
+ readonly const: "needs_auth";
4667
+ };
4668
+ };
4669
+ readonly required: readonly ["status"];
4670
+ };
4671
+ export declare const MCPStatusNeedsClientRegistrationSchema: {
4672
+ readonly type: "object";
4673
+ readonly properties: {
4674
+ readonly status: {
4675
+ readonly type: "string";
4676
+ readonly const: "needs_client_registration";
4677
+ };
4678
+ readonly error: {
4679
+ readonly type: "string";
4680
+ };
4681
+ };
4682
+ readonly required: readonly ["status", "error"];
4683
+ };
4684
+ export declare const MCPStatusSchema: {
4685
+ readonly anyOf: readonly [{
4686
+ readonly $ref: "#/components/schemas/MCPStatusConnected";
4687
+ }, {
4688
+ readonly $ref: "#/components/schemas/MCPStatusDisabled";
4689
+ }, {
4690
+ readonly $ref: "#/components/schemas/MCPStatusFailed";
4691
+ }, {
4692
+ readonly $ref: "#/components/schemas/MCPStatusNeedsAuth";
4693
+ }, {
4694
+ readonly $ref: "#/components/schemas/MCPStatusNeedsClientRegistration";
4695
+ }];
4696
+ };
4697
+ export declare const McpResourceSchema: {
4698
+ readonly type: "object";
4699
+ readonly properties: {
4700
+ readonly name: {
4701
+ readonly type: "string";
4702
+ };
4703
+ readonly uri: {
4704
+ readonly type: "string";
4705
+ };
4706
+ readonly description: {
4707
+ readonly type: "string";
4708
+ };
4709
+ readonly mimeType: {
4710
+ readonly type: "string";
4711
+ };
4712
+ readonly client: {
4713
+ readonly type: "string";
4714
+ };
4715
+ };
4716
+ readonly required: readonly ["name", "uri", "client"];
4717
+ };
4718
+ export declare const LSPStatusSchema: {
4719
+ readonly type: "object";
4720
+ readonly properties: {
4721
+ readonly id: {
4722
+ readonly type: "string";
4723
+ };
4724
+ readonly name: {
4725
+ readonly type: "string";
4726
+ };
4727
+ readonly root: {
4728
+ readonly type: "string";
4729
+ };
4730
+ readonly status: {
4731
+ readonly anyOf: readonly [{
4732
+ readonly type: "string";
4733
+ readonly const: "connected";
4734
+ }, {
4735
+ readonly type: "string";
4736
+ readonly const: "error";
4737
+ }];
4738
+ };
4739
+ };
4740
+ readonly required: readonly ["id", "name", "root", "status"];
4741
+ };
4742
+ export declare const FormatterStatusSchema: {
4743
+ readonly type: "object";
4744
+ readonly properties: {
4745
+ readonly name: {
4746
+ readonly type: "string";
4747
+ };
4748
+ readonly extensions: {
4749
+ readonly type: "array";
4750
+ readonly items: {
4751
+ readonly type: "string";
4752
+ };
4753
+ };
4754
+ readonly enabled: {
4755
+ readonly type: "boolean";
4756
+ };
4757
+ };
4758
+ readonly required: readonly ["name", "extensions", "enabled"];
4759
+ };
4760
+ export declare const OAuthSchema: {
4761
+ readonly type: "object";
4762
+ readonly properties: {
4763
+ readonly type: {
4764
+ readonly type: "string";
4765
+ readonly const: "oauth";
4766
+ };
4767
+ readonly refresh: {
4768
+ readonly type: "string";
4769
+ };
4770
+ readonly access: {
4771
+ readonly type: "string";
4772
+ };
4773
+ readonly expires: {
4774
+ readonly type: "number";
4775
+ };
4776
+ readonly accountId: {
4777
+ readonly type: "string";
4778
+ };
4779
+ readonly enterpriseUrl: {
4780
+ readonly type: "string";
4781
+ };
4782
+ };
4783
+ readonly required: readonly ["type", "refresh", "access", "expires"];
4784
+ };
4785
+ export declare const ApiAuthSchema: {
4786
+ readonly type: "object";
4787
+ readonly properties: {
4788
+ readonly type: {
4789
+ readonly type: "string";
4790
+ readonly const: "api";
4791
+ };
4792
+ readonly key: {
4793
+ readonly type: "string";
4794
+ };
4795
+ };
4796
+ readonly required: readonly ["type", "key"];
4797
+ };
4798
+ export declare const WellKnownAuthSchema: {
4799
+ readonly type: "object";
4800
+ readonly properties: {
4801
+ readonly type: {
4802
+ readonly type: "string";
4803
+ readonly const: "wellknown";
4804
+ };
4805
+ readonly key: {
4806
+ readonly type: "string";
4807
+ };
4808
+ readonly token: {
4809
+ readonly type: "string";
4810
+ };
4811
+ };
4812
+ readonly required: readonly ["type", "key", "token"];
4813
+ };
4814
+ export declare const AuthSchema: {
4815
+ readonly anyOf: readonly [{
4816
+ readonly $ref: "#/components/schemas/OAuth";
4817
+ }, {
4818
+ readonly $ref: "#/components/schemas/ApiAuth";
4819
+ }, {
4820
+ readonly $ref: "#/components/schemas/WellKnownAuth";
4821
+ }];
4822
+ };
4823
+ //# sourceMappingURL=schemas.gen.d.ts.map