@kilocode/schema 0.0.0-stage → 0.0.0-v2-9

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 (210) hide show
  1. package/dist/agent.d.ts +179 -0
  2. package/dist/agent.js +45 -0
  3. package/dist/command.d.ts +76 -0
  4. package/dist/command.js +13 -0
  5. package/dist/config/agent.d.ts +42 -0
  6. package/dist/config/agent.js +21 -0
  7. package/dist/config/command.d.ts +28 -0
  8. package/dist/config/command.js +13 -0
  9. package/dist/config/compaction.d.ts +14 -0
  10. package/dist/config/compaction.js +13 -0
  11. package/dist/config/experimental.d.ts +20 -0
  12. package/dist/config/experimental.js +27 -0
  13. package/dist/config/formatter.d.ts +11 -0
  14. package/dist/config/formatter.js +11 -0
  15. package/dist/config/lsp.d.ts +20 -0
  16. package/dist/config/lsp.js +16 -0
  17. package/dist/config/mcp.d.ts +20 -0
  18. package/dist/config/mcp.js +15 -0
  19. package/dist/config/media.d.ts +15 -0
  20. package/dist/config/media.js +14 -0
  21. package/dist/config/model.d.ts +18 -0
  22. package/dist/config/model.js +28 -0
  23. package/dist/config/plugin.d.ts +11 -0
  24. package/dist/config/plugin.js +10 -0
  25. package/dist/config/policy.d.ts +10 -0
  26. package/dist/config/policy.js +8 -0
  27. package/dist/config/provider.d.ts +392 -0
  28. package/dist/config/provider.js +109 -0
  29. package/dist/config/reference.d.ts +21 -0
  30. package/dist/config/reference.js +18 -0
  31. package/dist/config/shell.d.ts +9 -0
  32. package/dist/config/shell.js +7 -0
  33. package/dist/config/tool-output.d.ts +8 -0
  34. package/dist/config/tool-output.js +8 -0
  35. package/dist/config/warming.d.ts +10 -0
  36. package/dist/config/warming.js +16 -0
  37. package/dist/config/watcher.d.ts +7 -0
  38. package/dist/config/watcher.js +7 -0
  39. package/dist/config/websearch.d.ts +9 -0
  40. package/dist/config/websearch.js +13 -0
  41. package/dist/config/worktree.d.ts +7 -0
  42. package/dist/config/worktree.js +7 -0
  43. package/dist/config.d.ts +182 -0
  44. package/dist/config.js +135 -0
  45. package/dist/connection.d.ts +79 -0
  46. package/dist/connection.js +25 -0
  47. package/dist/credential-legacy.d.ts +54 -0
  48. package/dist/credential-legacy.js +19 -0
  49. package/dist/credential.d.ts +255 -0
  50. package/dist/credential.js +56 -0
  51. package/dist/durable-event-manifest.d.ts +3 -0
  52. package/dist/durable-event-manifest.js +5 -0
  53. package/dist/event-log.d.ts +14 -0
  54. package/dist/event-log.js +17 -0
  55. package/dist/event-manifest.d.ts +12865 -0
  56. package/dist/event-manifest.js +48 -0
  57. package/dist/event.d.ts +142 -0
  58. package/dist/event.js +110 -0
  59. package/dist/file-diff.d.ts +21 -0
  60. package/dist/file-diff.js +18 -0
  61. package/dist/filesystem-v1.d.ts +1 -0
  62. package/dist/filesystem-v1.js +1 -0
  63. package/dist/filesystem.d.ts +123 -0
  64. package/dist/filesystem.js +38 -0
  65. package/dist/form.d.ts +1438 -0
  66. package/dist/form.js +128 -0
  67. package/dist/identifier.d.ts +4 -0
  68. package/dist/identifier.js +25 -0
  69. package/dist/index.d.ts +41 -0
  70. package/dist/index.js +41 -0
  71. package/dist/installation-event.d.ts +149 -0
  72. package/dist/installation-event.js +16 -0
  73. package/dist/instruction-entry.d.ts +29 -0
  74. package/dist/instruction-entry.js +26 -0
  75. package/dist/instruction.d.ts +13 -0
  76. package/dist/instruction.js +8 -0
  77. package/dist/integration-id.d.ts +5 -0
  78. package/dist/integration-id.js +3 -0
  79. package/dist/integration.d.ts +2410 -0
  80. package/dist/integration.js +91 -0
  81. package/dist/kilocode/gateway.d.ts +975 -0
  82. package/dist/kilocode/gateway.js +328 -0
  83. package/dist/kilocode/handshake.d.ts +36 -0
  84. package/dist/kilocode/handshake.js +29 -0
  85. package/dist/kilocode/marketplace.d.ts +593 -0
  86. package/dist/kilocode/marketplace.js +122 -0
  87. package/dist/kilocode/provider-usage.d.ts +371 -0
  88. package/dist/kilocode/provider-usage.js +60 -0
  89. package/dist/legacy-event.d.ts +1 -0
  90. package/dist/legacy-event.js +1 -0
  91. package/dist/llm.d.ts +4 -0
  92. package/dist/llm.js +3 -0
  93. package/dist/location-event.d.ts +68 -0
  94. package/dist/location-event.js +5 -0
  95. package/dist/location.d.ts +56 -0
  96. package/dist/location.js +28 -0
  97. package/dist/lsp-event.d.ts +67 -0
  98. package/dist/lsp-event.js +4 -0
  99. package/dist/mcp-event.d.ts +222 -0
  100. package/dist/mcp-event.js +24 -0
  101. package/dist/mcp.d.ts +145 -0
  102. package/dist/mcp.js +120 -0
  103. package/dist/model-compatibility.d.ts +38 -0
  104. package/dist/model-compatibility.js +28 -0
  105. package/dist/model.d.ts +406 -0
  106. package/dist/model.js +115 -0
  107. package/dist/models-dev.d.ts +69 -0
  108. package/dist/models-dev.js +7 -0
  109. package/dist/money.d.ts +10 -0
  110. package/dist/money.js +5 -0
  111. package/dist/permission-saved.d.ts +22 -0
  112. package/dist/permission-saved.js +16 -0
  113. package/dist/permission-v1.d.ts +1 -0
  114. package/dist/permission-v1.js +1 -0
  115. package/dist/permission.d.ts +302 -0
  116. package/dist/permission.js +46 -0
  117. package/dist/persistent-pty.d.ts +539 -0
  118. package/dist/persistent-pty.js +55 -0
  119. package/dist/plugin.d.ts +132 -0
  120. package/dist/plugin.js +37 -0
  121. package/dist/project-id.d.ts +5 -0
  122. package/dist/project-id.js +3 -0
  123. package/dist/project.d.ts +270 -0
  124. package/dist/project.js +47 -0
  125. package/dist/prompt-input.d.ts +110 -0
  126. package/dist/prompt-input.js +21 -0
  127. package/dist/prompt.d.ts +297 -0
  128. package/dist/prompt.js +61 -0
  129. package/dist/provider.d.ts +275 -0
  130. package/dist/provider.js +66 -0
  131. package/dist/pty-ticket.d.ts +8 -0
  132. package/dist/pty-ticket.js +7 -0
  133. package/dist/pty.d.ts +462 -0
  134. package/dist/pty.js +43 -0
  135. package/dist/question.d.ts +15 -0
  136. package/dist/question.js +15 -0
  137. package/dist/reference.d.ts +120 -0
  138. package/dist/reference.js +30 -0
  139. package/dist/rpc.d.ts +111 -0
  140. package/dist/rpc.js +9 -0
  141. package/dist/schema.d.ts +11 -0
  142. package/dist/schema.js +17 -0
  143. package/dist/server-event.d.ts +132 -0
  144. package/dist/server-event.js +5 -0
  145. package/dist/session-error.d.ts +16 -0
  146. package/dist/session-error.js +11 -0
  147. package/dist/session-event.d.ts +21417 -0
  148. package/dist/session-event.js +565 -0
  149. package/dist/session-fork.d.ts +16 -0
  150. package/dist/session-fork.js +7 -0
  151. package/dist/session-id.d.ts +5 -0
  152. package/dist/session-id.js +6 -0
  153. package/dist/session-inbox.d.ts +756 -0
  154. package/dist/session-inbox.js +47 -0
  155. package/dist/session-legacy.d.ts +7 -0
  156. package/dist/session-legacy.js +118 -0
  157. package/dist/session-message.d.ts +2049 -0
  158. package/dist/session-message.js +234 -0
  159. package/dist/session-metadata.d.ts +8 -0
  160. package/dist/session-metadata.js +9 -0
  161. package/dist/session-revert.d.ts +896 -0
  162. package/dist/session-revert.js +63 -0
  163. package/dist/session-stats.d.ts +186 -0
  164. package/dist/session-stats.js +53 -0
  165. package/dist/session-status-event.d.ts +291 -0
  166. package/dist/session-status-event.js +45 -0
  167. package/dist/session-transfer.d.ts +910 -0
  168. package/dist/session-transfer.js +8 -0
  169. package/dist/session-v1.d.ts +1 -0
  170. package/dist/session-v1.js +1 -0
  171. package/dist/session.d.ts +320 -0
  172. package/dist/session.js +116 -0
  173. package/dist/shell.d.ts +386 -0
  174. package/dist/shell.js +61 -0
  175. package/dist/skill.d.ts +130 -0
  176. package/dist/skill.js +47 -0
  177. package/dist/snapshot.d.ts +4 -0
  178. package/dist/snapshot.js +3 -0
  179. package/dist/token-usage.d.ts +14 -0
  180. package/dist/token-usage.js +14 -0
  181. package/dist/tool.d.ts +78 -0
  182. package/dist/tool.js +22 -0
  183. package/dist/tui-event.d.ts +307 -0
  184. package/dist/tui-event.js +52 -0
  185. package/dist/v1/filesystem.d.ts +78 -0
  186. package/dist/v1/filesystem.js +8 -0
  187. package/dist/v1/legacy-event.d.ts +104 -0
  188. package/dist/v1/legacy-event.js +15 -0
  189. package/dist/v1/permission.d.ts +306 -0
  190. package/dist/v1/permission.js +41 -0
  191. package/dist/v1/session.d.ts +6977 -0
  192. package/dist/v1/session.js +531 -0
  193. package/dist/vcs-event.d.ts +76 -0
  194. package/dist/vcs-event.js +11 -0
  195. package/dist/vcs.d.ts +36 -0
  196. package/dist/vcs.js +24 -0
  197. package/dist/websearch.d.ts +108 -0
  198. package/dist/websearch.js +33 -0
  199. package/dist/workspace-event.d.ts +247 -0
  200. package/dist/workspace-event.js +25 -0
  201. package/dist/workspace-id.d.ts +6 -0
  202. package/dist/workspace-id.js +14 -0
  203. package/dist/workspace.d.ts +15 -0
  204. package/dist/workspace.js +14 -0
  205. package/dist/worktree-event.d.ts +153 -0
  206. package/dist/worktree-event.js +18 -0
  207. package/dist/worktree.d.ts +282 -0
  208. package/dist/worktree.js +83 -0
  209. package/package.json +42 -4
  210. package/README.md +0 -3
@@ -0,0 +1,975 @@
1
+ export * as KiloGatewayRpc from "./gateway.js";
2
+ import { Schema } from "effect";
3
+ export declare const Profile: Schema.Struct<{
4
+ readonly email: Schema.String;
5
+ readonly name: Schema.optional<Schema.String>;
6
+ readonly organizations: Schema.$Array<Schema.Struct<{
7
+ readonly id: Schema.String;
8
+ readonly name: Schema.String;
9
+ readonly role: Schema.optional<Schema.String>;
10
+ }>>;
11
+ readonly hasPersonalAccount: Schema.Boolean;
12
+ /** The team that requests use now. `null` is the personal account. */
13
+ readonly organizationID: Schema.NullOr<Schema.String>;
14
+ }>;
15
+ export type Profile = typeof Profile.Type;
16
+ export declare const AuthStatus: Schema.Struct<{
17
+ readonly authenticated: Schema.Boolean;
18
+ readonly organizationID: Schema.NullOr<Schema.String>;
19
+ readonly server: Schema.String;
20
+ }>;
21
+ export type AuthStatus = typeof AuthStatus.Type;
22
+ export declare const Balance: Schema.Struct<{
23
+ readonly balance: Schema.NullOr<Schema.Number>;
24
+ readonly isDepleted: Schema.optional<Schema.Boolean>;
25
+ }>;
26
+ export type Balance = typeof Balance.Type;
27
+ export declare const KiloPass: Schema.NullOr<Schema.Struct<{
28
+ readonly currentPeriodBaseCreditsUsd: Schema.Number;
29
+ readonly currentPeriodUsageUsd: Schema.Number;
30
+ readonly currentPeriodBonusCreditsUsd: Schema.Number;
31
+ readonly nextBillingAt: Schema.NullOr<Schema.String>;
32
+ }>>;
33
+ export type KiloPass = typeof KiloPass.Type;
34
+ export declare const ByokEntry: Schema.Struct<{
35
+ readonly id: Schema.String;
36
+ readonly provider_id: Schema.String;
37
+ readonly management_source: Schema.Literals<readonly ["user", "coding_plan"]>;
38
+ readonly is_enabled: Schema.Boolean;
39
+ }>;
40
+ export type ByokEntry = typeof ByokEntry.Type;
41
+ export declare const CodingPlanSubscription: Schema.Struct<{
42
+ readonly id: Schema.String;
43
+ readonly planId: Schema.String;
44
+ readonly planName: Schema.String;
45
+ readonly providerName: Schema.String;
46
+ readonly providerId: Schema.String;
47
+ readonly canQueryUsage: Schema.Boolean;
48
+ readonly hasInstalledByokKey: Schema.Boolean;
49
+ readonly status: Schema.Literals<readonly ["active", "past_due", "canceled"]>;
50
+ readonly cancelAtPeriodEnd: Schema.Boolean;
51
+ }>;
52
+ export type CodingPlanSubscription = typeof CodingPlanSubscription.Type;
53
+ export declare const CodingPlanUsage: Schema.Struct<{
54
+ readonly schemaVersion: Schema.Literal<1>;
55
+ readonly fetchedAt: Schema.String;
56
+ readonly subscription: Schema.Struct<{
57
+ readonly id: Schema.String;
58
+ readonly planName: Schema.String;
59
+ readonly providerId: Schema.String;
60
+ readonly providerName: Schema.String;
61
+ readonly windows: Schema.$Array<Schema.Struct<{
62
+ readonly id: Schema.String;
63
+ readonly remainingPercent: Schema.Number;
64
+ readonly resetsAt: Schema.String;
65
+ readonly startsAt: Schema.optional<Schema.String>;
66
+ readonly period: Schema.Struct<{
67
+ readonly unit: Schema.Literals<readonly ["hour", "day", "week", "month"]>;
68
+ readonly value: Schema.Number;
69
+ }>;
70
+ }>>;
71
+ }>;
72
+ }>;
73
+ export type CodingPlanUsage = typeof CodingPlanUsage.Type;
74
+ export declare const OrganizationMode: Schema.Struct<{
75
+ readonly id: Schema.String;
76
+ readonly organization_id: Schema.String;
77
+ readonly name: Schema.String;
78
+ readonly slug: Schema.String;
79
+ readonly created_by: Schema.String;
80
+ readonly created_at: Schema.String;
81
+ readonly updated_at: Schema.String;
82
+ readonly config: Schema.Struct<{
83
+ readonly roleDefinition: Schema.optional<Schema.String>;
84
+ readonly whenToUse: Schema.optional<Schema.String>;
85
+ readonly description: Schema.optional<Schema.String>;
86
+ readonly customInstructions: Schema.optional<Schema.String>;
87
+ readonly groups: Schema.optional<Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Tuple<readonly [Schema.String, Schema.Struct<{
88
+ readonly fileRegex: Schema.optional<Schema.String>;
89
+ readonly description: Schema.optional<Schema.String>;
90
+ }>]>]>>>;
91
+ }>;
92
+ }>;
93
+ export type OrganizationMode = typeof OrganizationMode.Type;
94
+ export declare const Notification: Schema.Struct<{
95
+ readonly id: Schema.String;
96
+ readonly title: Schema.String;
97
+ readonly message: Schema.String;
98
+ readonly action: Schema.optional<Schema.Struct<{
99
+ readonly actionText: Schema.String;
100
+ readonly actionURL: Schema.String;
101
+ }>>;
102
+ readonly showIn: Schema.optional<Schema.$Array<Schema.String>>;
103
+ readonly suggestModelId: Schema.optional<Schema.String>;
104
+ }>;
105
+ export type Notification = typeof Notification.Type;
106
+ export declare const ImageModel: Schema.Struct<{
107
+ readonly id: Schema.String;
108
+ readonly name: Schema.String;
109
+ readonly description: Schema.optional<Schema.String>;
110
+ }>;
111
+ export type ImageModel = typeof ImageModel.Type;
112
+ export declare const TranscriptionModel: Schema.Struct<{
113
+ readonly id: Schema.String;
114
+ readonly name: Schema.String;
115
+ }>;
116
+ export type TranscriptionModel = typeof TranscriptionModel.Type;
117
+ export declare const EmbeddingCatalog: Schema.Struct<{
118
+ readonly defaultModel: Schema.String;
119
+ readonly models: Schema.$Array<Schema.Struct<{
120
+ readonly id: Schema.String;
121
+ readonly name: Schema.String;
122
+ readonly dimension: Schema.Int;
123
+ readonly scoreThreshold: Schema.Finite;
124
+ readonly note: Schema.optionalKey<Schema.String>;
125
+ }>>;
126
+ readonly aliases: Schema.$Record<Schema.String, Schema.String>;
127
+ }>;
128
+ export type EmbeddingCatalog = typeof EmbeddingCatalog.Type;
129
+ export declare const FimTarget: Schema.Struct<{
130
+ readonly provider: Schema.Literals<readonly ["kilo", "inception", "mistral"]>;
131
+ readonly model: Schema.String;
132
+ readonly url: Schema.optional<Schema.String>;
133
+ }>;
134
+ export declare const EditTarget: Schema.Struct<{
135
+ readonly provider: Schema.Literals<readonly ["kilo", "inception"]>;
136
+ readonly model: Schema.String;
137
+ readonly url: Schema.String;
138
+ }>;
139
+ export declare const ModelEntry: Schema.Struct<{
140
+ readonly id: Schema.String;
141
+ readonly name: Schema.String;
142
+ readonly recommended: Schema.optional<Schema.Boolean>;
143
+ readonly isFree: Schema.Boolean;
144
+ readonly recommendedIndex: Schema.optional<Schema.Number>;
145
+ readonly hasUserByokAvailable: Schema.optional<Schema.Boolean>;
146
+ readonly mayTrainOnYourPrompts: Schema.optional<Schema.Boolean>;
147
+ readonly autoRouting: Schema.optional<Schema.Struct<{
148
+ readonly models: Schema.$Array<Schema.String>;
149
+ }>>;
150
+ readonly terminalBench: Schema.optional<Schema.Struct<{
151
+ readonly overallScore: Schema.Number;
152
+ readonly avgAttemptCostUsd: Schema.Number;
153
+ }>>;
154
+ readonly description: Schema.optional<Schema.String>;
155
+ readonly reasoning: Schema.optional<Schema.Boolean>;
156
+ readonly family: Schema.optional<Schema.String>;
157
+ readonly aiSDKProvider: Schema.optional<Schema.String>;
158
+ }>;
159
+ export type ModelEntry = typeof ModelEntry.Type;
160
+ export declare const CatalogFailure: Schema.Struct<{
161
+ readonly kind: Schema.Literals<readonly ["unauthorized", "network", "schema", "http", "organization_missing"]>;
162
+ readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
163
+ }>;
164
+ export interface CatalogFailure extends Schema.Schema.Type<typeof CatalogFailure> {
165
+ }
166
+ export declare const SessionMetadata: Schema.Struct<{
167
+ readonly routedModelID: Schema.optional<Schema.String>;
168
+ readonly vercelID: Schema.optional<Schema.String>;
169
+ }>;
170
+ export type SessionMetadata = typeof SessionMetadata.Type;
171
+ export declare const PLATFORM_METADATA_KEY = "kilocode.platform";
172
+ export declare const RouterEvalConfig: Schema.Struct<{
173
+ readonly server: Schema.String;
174
+ readonly organizationID: Schema.NullOr<Schema.String>;
175
+ readonly provider: Schema.String;
176
+ readonly model: Schema.String;
177
+ /** Config for the published CLI in the eval container. Has no credentials. */
178
+ readonly config: Schema.Unknown;
179
+ /** Credentials for the published CLI in the eval container. Secret. */
180
+ readonly auth: Schema.Unknown;
181
+ }>;
182
+ export type RouterEvalConfig = typeof RouterEvalConfig.Type;
183
+ export declare const Definition: {
184
+ readonly id: "kilocode.gateway";
185
+ readonly methods: {
186
+ readonly authStatus: {
187
+ input: import("effect/StandardSchema").StandardSchemaV1<{}, {}> & Schema.Struct<{}>;
188
+ output: import("effect/StandardSchema").StandardSchemaV1<{
189
+ readonly authenticated: boolean;
190
+ readonly organizationID: string | null;
191
+ readonly server: string;
192
+ }, {
193
+ readonly authenticated: boolean;
194
+ readonly organizationID: string | null;
195
+ readonly server: string;
196
+ }> & Schema.Struct<{
197
+ readonly authenticated: Schema.Boolean;
198
+ readonly organizationID: Schema.NullOr<Schema.String>;
199
+ readonly server: Schema.String;
200
+ }>;
201
+ errors: {
202
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
203
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
204
+ };
205
+ };
206
+ readonly profile: {
207
+ input: import("effect/StandardSchema").StandardSchemaV1<{}, {}> & Schema.Struct<{}>;
208
+ output: import("effect/StandardSchema").StandardSchemaV1<{
209
+ readonly email: string;
210
+ readonly name?: string | undefined;
211
+ readonly organizations: readonly {
212
+ readonly id: string;
213
+ readonly name: string;
214
+ readonly role?: string | undefined;
215
+ }[];
216
+ readonly hasPersonalAccount: boolean;
217
+ readonly organizationID: string | null;
218
+ }, {
219
+ readonly email: string;
220
+ readonly name?: string | undefined;
221
+ readonly organizations: readonly {
222
+ readonly id: string;
223
+ readonly name: string;
224
+ readonly role?: string | undefined;
225
+ }[];
226
+ readonly hasPersonalAccount: boolean;
227
+ readonly organizationID: string | null;
228
+ }> & Schema.Struct<{
229
+ readonly email: Schema.String;
230
+ readonly name: Schema.optional<Schema.String>;
231
+ readonly organizations: Schema.$Array<Schema.Struct<{
232
+ readonly id: Schema.String;
233
+ readonly name: Schema.String;
234
+ readonly role: Schema.optional<Schema.String>;
235
+ }>>;
236
+ readonly hasPersonalAccount: Schema.Boolean;
237
+ /** The team that requests use now. `null` is the personal account. */
238
+ readonly organizationID: Schema.NullOr<Schema.String>;
239
+ }>;
240
+ errors: {
241
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
242
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
243
+ };
244
+ };
245
+ readonly balance: {
246
+ input: import("effect/StandardSchema").StandardSchemaV1<{}, {}> & Schema.Struct<{}>;
247
+ output: import("effect/StandardSchema").StandardSchemaV1<{
248
+ readonly balance: number | null;
249
+ readonly isDepleted?: boolean | undefined;
250
+ }, {
251
+ readonly balance: number | null;
252
+ readonly isDepleted?: boolean | undefined;
253
+ }> & Schema.Struct<{
254
+ readonly balance: Schema.NullOr<Schema.Number>;
255
+ readonly isDepleted: Schema.optional<Schema.Boolean>;
256
+ }>;
257
+ errors: {
258
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
259
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
260
+ };
261
+ };
262
+ readonly kiloPass: {
263
+ input: import("effect/StandardSchema").StandardSchemaV1<{}, {}> & Schema.Struct<{}>;
264
+ output: import("effect/StandardSchema").StandardSchemaV1<{
265
+ readonly currentPeriodBaseCreditsUsd: number;
266
+ readonly currentPeriodUsageUsd: number;
267
+ readonly currentPeriodBonusCreditsUsd: number;
268
+ readonly nextBillingAt: string | null;
269
+ } | null, {
270
+ readonly currentPeriodBaseCreditsUsd: number;
271
+ readonly currentPeriodUsageUsd: number;
272
+ readonly currentPeriodBonusCreditsUsd: number;
273
+ readonly nextBillingAt: string | null;
274
+ } | null> & Schema.NullOr<Schema.Struct<{
275
+ readonly currentPeriodBaseCreditsUsd: Schema.Number;
276
+ readonly currentPeriodUsageUsd: Schema.Number;
277
+ readonly currentPeriodBonusCreditsUsd: Schema.Number;
278
+ readonly nextBillingAt: Schema.NullOr<Schema.String>;
279
+ }>>;
280
+ errors: {
281
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
282
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
283
+ };
284
+ };
285
+ readonly byok: {
286
+ input: import("effect/StandardSchema").StandardSchemaV1<{}, {}> & Schema.Struct<{}>;
287
+ output: import("effect/StandardSchema").StandardSchemaV1<readonly {
288
+ readonly id: string;
289
+ readonly provider_id: string;
290
+ readonly management_source: "coding_plan" | "user";
291
+ readonly is_enabled: boolean;
292
+ }[], readonly {
293
+ readonly id: string;
294
+ readonly provider_id: string;
295
+ readonly management_source: "coding_plan" | "user";
296
+ readonly is_enabled: boolean;
297
+ }[]> & Schema.$Array<Schema.Struct<{
298
+ readonly id: Schema.String;
299
+ readonly provider_id: Schema.String;
300
+ readonly management_source: Schema.Literals<readonly ["user", "coding_plan"]>;
301
+ readonly is_enabled: Schema.Boolean;
302
+ }>>;
303
+ errors: {
304
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
305
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
306
+ };
307
+ };
308
+ readonly codingPlans: {
309
+ input: import("effect/StandardSchema").StandardSchemaV1<{}, {}> & Schema.Struct<{}>;
310
+ output: import("effect/StandardSchema").StandardSchemaV1<readonly {
311
+ readonly id: string;
312
+ readonly planId: string;
313
+ readonly planName: string;
314
+ readonly providerName: string;
315
+ readonly providerId: string;
316
+ readonly canQueryUsage: boolean;
317
+ readonly hasInstalledByokKey: boolean;
318
+ readonly status: "active" | "canceled" | "past_due";
319
+ readonly cancelAtPeriodEnd: boolean;
320
+ }[], readonly {
321
+ readonly id: string;
322
+ readonly planId: string;
323
+ readonly planName: string;
324
+ readonly providerName: string;
325
+ readonly providerId: string;
326
+ readonly canQueryUsage: boolean;
327
+ readonly hasInstalledByokKey: boolean;
328
+ readonly status: "active" | "canceled" | "past_due";
329
+ readonly cancelAtPeriodEnd: boolean;
330
+ }[]> & Schema.$Array<Schema.Struct<{
331
+ readonly id: Schema.String;
332
+ readonly planId: Schema.String;
333
+ readonly planName: Schema.String;
334
+ readonly providerName: Schema.String;
335
+ readonly providerId: Schema.String;
336
+ readonly canQueryUsage: Schema.Boolean;
337
+ readonly hasInstalledByokKey: Schema.Boolean;
338
+ readonly status: Schema.Literals<readonly ["active", "past_due", "canceled"]>;
339
+ readonly cancelAtPeriodEnd: Schema.Boolean;
340
+ }>>;
341
+ errors: {
342
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
343
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
344
+ };
345
+ };
346
+ readonly codingPlanUsage: {
347
+ input: import("effect/StandardSchema").StandardSchemaV1<{
348
+ readonly subscriptionID: string;
349
+ }, {
350
+ readonly subscriptionID: string;
351
+ }> & Schema.Struct<{
352
+ readonly subscriptionID: Schema.String;
353
+ }>;
354
+ output: import("effect/StandardSchema").StandardSchemaV1<{
355
+ readonly schemaVersion: 1;
356
+ readonly fetchedAt: string;
357
+ readonly subscription: {
358
+ readonly id: string;
359
+ readonly planName: string;
360
+ readonly providerId: string;
361
+ readonly providerName: string;
362
+ readonly windows: readonly {
363
+ readonly id: string;
364
+ readonly remainingPercent: number;
365
+ readonly resetsAt: string;
366
+ readonly startsAt?: string | undefined;
367
+ readonly period: {
368
+ readonly unit: "day" | "hour" | "month" | "week";
369
+ readonly value: number;
370
+ };
371
+ }[];
372
+ };
373
+ }, {
374
+ readonly schemaVersion: 1;
375
+ readonly fetchedAt: string;
376
+ readonly subscription: {
377
+ readonly id: string;
378
+ readonly planName: string;
379
+ readonly providerId: string;
380
+ readonly providerName: string;
381
+ readonly windows: readonly {
382
+ readonly id: string;
383
+ readonly remainingPercent: number;
384
+ readonly resetsAt: string;
385
+ readonly startsAt?: string | undefined;
386
+ readonly period: {
387
+ readonly unit: "day" | "hour" | "month" | "week";
388
+ readonly value: number;
389
+ };
390
+ }[];
391
+ };
392
+ }> & Schema.Struct<{
393
+ readonly schemaVersion: Schema.Literal<1>;
394
+ readonly fetchedAt: Schema.String;
395
+ readonly subscription: Schema.Struct<{
396
+ readonly id: Schema.String;
397
+ readonly planName: Schema.String;
398
+ readonly providerId: Schema.String;
399
+ readonly providerName: Schema.String;
400
+ readonly windows: Schema.$Array<Schema.Struct<{
401
+ readonly id: Schema.String;
402
+ readonly remainingPercent: Schema.Number;
403
+ readonly resetsAt: Schema.String;
404
+ readonly startsAt: Schema.optional<Schema.String>;
405
+ readonly period: Schema.Struct<{
406
+ readonly unit: Schema.Literals<readonly ["hour", "day", "week", "month"]>;
407
+ readonly value: Schema.Number;
408
+ }>;
409
+ }>>;
410
+ }>;
411
+ }>;
412
+ errors: {
413
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
414
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
415
+ };
416
+ };
417
+ readonly "organization.set": {
418
+ input: import("effect/StandardSchema").StandardSchemaV1<{
419
+ readonly organizationID: string | null;
420
+ }, {
421
+ readonly organizationID: string | null;
422
+ }> & Schema.Struct<{
423
+ readonly organizationID: Schema.NullOr<Schema.String>;
424
+ }>;
425
+ output: import("effect/StandardSchema").StandardSchemaV1<{}, {}> & Schema.Struct<{}>;
426
+ errors: {
427
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
428
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
429
+ };
430
+ };
431
+ readonly modes: {
432
+ input: import("effect/StandardSchema").StandardSchemaV1<{}, {}> & Schema.Struct<{}>;
433
+ output: import("effect/StandardSchema").StandardSchemaV1<readonly {
434
+ readonly id: string;
435
+ readonly organization_id: string;
436
+ readonly name: string;
437
+ readonly slug: string;
438
+ readonly created_by: string;
439
+ readonly created_at: string;
440
+ readonly updated_at: string;
441
+ readonly config: {
442
+ readonly roleDefinition?: string | undefined;
443
+ readonly whenToUse?: string | undefined;
444
+ readonly description?: string | undefined;
445
+ readonly customInstructions?: string | undefined;
446
+ readonly groups?: readonly (string | readonly [string, {
447
+ readonly fileRegex?: string | undefined;
448
+ readonly description?: string | undefined;
449
+ }])[] | undefined;
450
+ };
451
+ }[], readonly {
452
+ readonly id: string;
453
+ readonly organization_id: string;
454
+ readonly name: string;
455
+ readonly slug: string;
456
+ readonly created_by: string;
457
+ readonly created_at: string;
458
+ readonly updated_at: string;
459
+ readonly config: {
460
+ readonly roleDefinition?: string | undefined;
461
+ readonly whenToUse?: string | undefined;
462
+ readonly description?: string | undefined;
463
+ readonly customInstructions?: string | undefined;
464
+ readonly groups?: readonly (string | readonly [string, {
465
+ readonly fileRegex?: string | undefined;
466
+ readonly description?: string | undefined;
467
+ }])[] | undefined;
468
+ };
469
+ }[]> & Schema.$Array<Schema.Struct<{
470
+ readonly id: Schema.String;
471
+ readonly organization_id: Schema.String;
472
+ readonly name: Schema.String;
473
+ readonly slug: Schema.String;
474
+ readonly created_by: Schema.String;
475
+ readonly created_at: Schema.String;
476
+ readonly updated_at: Schema.String;
477
+ readonly config: Schema.Struct<{
478
+ readonly roleDefinition: Schema.optional<Schema.String>;
479
+ readonly whenToUse: Schema.optional<Schema.String>;
480
+ readonly description: Schema.optional<Schema.String>;
481
+ readonly customInstructions: Schema.optional<Schema.String>;
482
+ readonly groups: Schema.optional<Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Tuple<readonly [Schema.String, Schema.Struct<{
483
+ readonly fileRegex: Schema.optional<Schema.String>;
484
+ readonly description: Schema.optional<Schema.String>;
485
+ }>]>]>>>;
486
+ }>;
487
+ }>>;
488
+ errors: {
489
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
490
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
491
+ };
492
+ };
493
+ readonly notifications: {
494
+ input: import("effect/StandardSchema").StandardSchemaV1<{}, {}> & Schema.Struct<{}>;
495
+ output: import("effect/StandardSchema").StandardSchemaV1<readonly {
496
+ readonly id: string;
497
+ readonly title: string;
498
+ readonly message: string;
499
+ readonly action?: {
500
+ readonly actionText: string;
501
+ readonly actionURL: string;
502
+ } | undefined;
503
+ readonly showIn?: readonly string[] | undefined;
504
+ readonly suggestModelId?: string | undefined;
505
+ }[], readonly {
506
+ readonly id: string;
507
+ readonly title: string;
508
+ readonly message: string;
509
+ readonly action?: {
510
+ readonly actionText: string;
511
+ readonly actionURL: string;
512
+ } | undefined;
513
+ readonly showIn?: readonly string[] | undefined;
514
+ readonly suggestModelId?: string | undefined;
515
+ }[]> & Schema.$Array<Schema.Struct<{
516
+ readonly id: Schema.String;
517
+ readonly title: Schema.String;
518
+ readonly message: Schema.String;
519
+ readonly action: Schema.optional<Schema.Struct<{
520
+ readonly actionText: Schema.String;
521
+ readonly actionURL: Schema.String;
522
+ }>>;
523
+ readonly showIn: Schema.optional<Schema.$Array<Schema.String>>;
524
+ readonly suggestModelId: Schema.optional<Schema.String>;
525
+ }>>;
526
+ errors: {
527
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
528
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
529
+ };
530
+ };
531
+ readonly models: {
532
+ readonly input: import("effect/StandardSchema").StandardSchemaV1<{}, {}> & Schema.Struct<{}>;
533
+ readonly output: import("effect/StandardSchema").StandardSchemaV1<readonly {
534
+ readonly id: string;
535
+ readonly name: string;
536
+ readonly recommended?: boolean | undefined;
537
+ readonly isFree: boolean;
538
+ readonly recommendedIndex?: number | undefined;
539
+ readonly hasUserByokAvailable?: boolean | undefined;
540
+ readonly mayTrainOnYourPrompts?: boolean | undefined;
541
+ readonly autoRouting?: {
542
+ readonly models: readonly string[];
543
+ } | undefined;
544
+ readonly terminalBench?: {
545
+ readonly overallScore: number;
546
+ readonly avgAttemptCostUsd: number;
547
+ } | undefined;
548
+ readonly description?: string | undefined;
549
+ readonly reasoning?: boolean | undefined;
550
+ readonly family?: string | undefined;
551
+ readonly aiSDKProvider?: string | undefined;
552
+ }[], readonly {
553
+ readonly id: string;
554
+ readonly name: string;
555
+ readonly recommended?: boolean | undefined;
556
+ readonly isFree: boolean;
557
+ readonly recommendedIndex?: number | undefined;
558
+ readonly hasUserByokAvailable?: boolean | undefined;
559
+ readonly mayTrainOnYourPrompts?: boolean | undefined;
560
+ readonly autoRouting?: {
561
+ readonly models: readonly string[];
562
+ } | undefined;
563
+ readonly terminalBench?: {
564
+ readonly overallScore: number;
565
+ readonly avgAttemptCostUsd: number;
566
+ } | undefined;
567
+ readonly description?: string | undefined;
568
+ readonly reasoning?: boolean | undefined;
569
+ readonly family?: string | undefined;
570
+ readonly aiSDKProvider?: string | undefined;
571
+ }[]> & Schema.$Array<Schema.Struct<{
572
+ readonly id: Schema.String;
573
+ readonly name: Schema.String;
574
+ readonly recommended: Schema.optional<Schema.Boolean>;
575
+ readonly isFree: Schema.Boolean;
576
+ readonly recommendedIndex: Schema.optional<Schema.Number>;
577
+ readonly hasUserByokAvailable: Schema.optional<Schema.Boolean>;
578
+ readonly mayTrainOnYourPrompts: Schema.optional<Schema.Boolean>;
579
+ readonly autoRouting: Schema.optional<Schema.Struct<{
580
+ readonly models: Schema.$Array<Schema.String>;
581
+ }>>;
582
+ readonly terminalBench: Schema.optional<Schema.Struct<{
583
+ readonly overallScore: Schema.Number;
584
+ readonly avgAttemptCostUsd: Schema.Number;
585
+ }>>;
586
+ readonly description: Schema.optional<Schema.String>;
587
+ readonly reasoning: Schema.optional<Schema.Boolean>;
588
+ readonly family: Schema.optional<Schema.String>;
589
+ readonly aiSDKProvider: Schema.optional<Schema.String>;
590
+ }>>;
591
+ readonly errors: {
592
+ readonly unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
593
+ readonly failed: import("effect/StandardSchema").StandardSchemaV1<{
594
+ readonly kind: "http" | "network" | "organization_missing" | "schema" | "unauthorized";
595
+ readonly status?: number | undefined;
596
+ }, {
597
+ readonly kind: "http" | "network" | "organization_missing" | "schema" | "unauthorized";
598
+ readonly status?: number | undefined;
599
+ }> & Schema.Struct<{
600
+ readonly kind: Schema.Literals<readonly ["unauthorized", "network", "schema", "http", "organization_missing"]>;
601
+ readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
602
+ }>;
603
+ };
604
+ };
605
+ readonly "models.images": {
606
+ input: import("effect/StandardSchema").StandardSchemaV1<{}, {}> & Schema.Struct<{}>;
607
+ output: import("effect/StandardSchema").StandardSchemaV1<readonly {
608
+ readonly id: string;
609
+ readonly name: string;
610
+ readonly description?: string | undefined;
611
+ }[], readonly {
612
+ readonly id: string;
613
+ readonly name: string;
614
+ readonly description?: string | undefined;
615
+ }[]> & Schema.$Array<Schema.Struct<{
616
+ readonly id: Schema.String;
617
+ readonly name: Schema.String;
618
+ readonly description: Schema.optional<Schema.String>;
619
+ }>>;
620
+ errors: {
621
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
622
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
623
+ };
624
+ };
625
+ readonly "models.transcriptions": {
626
+ input: import("effect/StandardSchema").StandardSchemaV1<{}, {}> & Schema.Struct<{}>;
627
+ output: import("effect/StandardSchema").StandardSchemaV1<readonly {
628
+ readonly id: string;
629
+ readonly name: string;
630
+ }[], readonly {
631
+ readonly id: string;
632
+ readonly name: string;
633
+ }[]> & Schema.$Array<Schema.Struct<{
634
+ readonly id: Schema.String;
635
+ readonly name: Schema.String;
636
+ }>>;
637
+ errors: {
638
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
639
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
640
+ };
641
+ };
642
+ readonly "models.embeddings": {
643
+ input: import("effect/StandardSchema").StandardSchemaV1<{}, {}> & Schema.Struct<{}>;
644
+ output: import("effect/StandardSchema").StandardSchemaV1<{
645
+ readonly defaultModel: string;
646
+ readonly models: readonly {
647
+ readonly id: string;
648
+ readonly name: string;
649
+ readonly dimension: number;
650
+ readonly scoreThreshold: number;
651
+ readonly note?: string | undefined;
652
+ }[];
653
+ readonly aliases: {
654
+ readonly [x: string]: string;
655
+ };
656
+ }, {
657
+ readonly defaultModel: string;
658
+ readonly models: readonly {
659
+ readonly id: string;
660
+ readonly name: string;
661
+ readonly dimension: number;
662
+ readonly scoreThreshold: number;
663
+ readonly note?: string | undefined;
664
+ }[];
665
+ readonly aliases: {
666
+ readonly [x: string]: string;
667
+ };
668
+ }> & Schema.Struct<{
669
+ readonly defaultModel: Schema.String;
670
+ readonly models: Schema.$Array<Schema.Struct<{
671
+ readonly id: Schema.String;
672
+ readonly name: Schema.String;
673
+ readonly dimension: Schema.Int;
674
+ readonly scoreThreshold: Schema.Finite;
675
+ readonly note: Schema.optionalKey<Schema.String>;
676
+ }>>;
677
+ readonly aliases: Schema.$Record<Schema.String, Schema.String>;
678
+ }>;
679
+ errors: {
680
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
681
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
682
+ };
683
+ };
684
+ readonly "autocomplete.fimTarget": {
685
+ input: import("effect/StandardSchema").StandardSchemaV1<{
686
+ readonly provider?: string | undefined;
687
+ readonly model?: string | undefined;
688
+ }, {
689
+ readonly provider?: string | undefined;
690
+ readonly model?: string | undefined;
691
+ }> & Schema.Struct<{
692
+ readonly provider: Schema.optional<Schema.String>;
693
+ readonly model: Schema.optional<Schema.String>;
694
+ }>;
695
+ output: import("effect/StandardSchema").StandardSchemaV1<{
696
+ readonly provider: "inception" | "kilo" | "mistral";
697
+ readonly model: string;
698
+ readonly url?: string | undefined;
699
+ }, {
700
+ readonly provider: "inception" | "kilo" | "mistral";
701
+ readonly model: string;
702
+ readonly url?: string | undefined;
703
+ }> & Schema.Struct<{
704
+ readonly provider: Schema.Literals<readonly ["kilo", "inception", "mistral"]>;
705
+ readonly model: Schema.String;
706
+ readonly url: Schema.optional<Schema.String>;
707
+ }>;
708
+ errors: {
709
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
710
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
711
+ };
712
+ };
713
+ readonly "autocomplete.editTarget": {
714
+ input: import("effect/StandardSchema").StandardSchemaV1<{
715
+ readonly provider?: string | undefined;
716
+ readonly model?: string | undefined;
717
+ }, {
718
+ readonly provider?: string | undefined;
719
+ readonly model?: string | undefined;
720
+ }> & Schema.Struct<{
721
+ readonly provider: Schema.optional<Schema.String>;
722
+ readonly model: Schema.optional<Schema.String>;
723
+ }>;
724
+ output: import("effect/StandardSchema").StandardSchemaV1<{
725
+ readonly provider: "inception" | "kilo";
726
+ readonly model: string;
727
+ readonly url: string;
728
+ }, {
729
+ readonly provider: "inception" | "kilo";
730
+ readonly model: string;
731
+ readonly url: string;
732
+ }> & Schema.Struct<{
733
+ readonly provider: Schema.Literals<readonly ["kilo", "inception"]>;
734
+ readonly model: Schema.String;
735
+ readonly url: Schema.String;
736
+ }>;
737
+ errors: {
738
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
739
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
740
+ };
741
+ };
742
+ readonly "session.metadata": {
743
+ input: import("effect/StandardSchema").StandardSchemaV1<{
744
+ readonly sessionID: string;
745
+ }, {
746
+ readonly sessionID: string;
747
+ }> & Schema.Struct<{
748
+ readonly sessionID: Schema.String;
749
+ }>;
750
+ output: import("effect/StandardSchema").StandardSchemaV1<{
751
+ readonly routedModelID?: string | undefined;
752
+ readonly vercelID?: string | undefined;
753
+ }, {
754
+ readonly routedModelID?: string | undefined;
755
+ readonly vercelID?: string | undefined;
756
+ }> & Schema.Struct<{
757
+ readonly routedModelID: Schema.optional<Schema.String>;
758
+ readonly vercelID: Schema.optional<Schema.String>;
759
+ }>;
760
+ errors: {
761
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
762
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
763
+ };
764
+ };
765
+ readonly "routers.list": {
766
+ input: import("effect/StandardSchema").StandardSchemaV1<{}, {}> & Schema.Struct<{}>;
767
+ output: import("effect/StandardSchema").StandardSchemaV1<unknown, unknown> & Schema.Unknown;
768
+ errors: {
769
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
770
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
771
+ router: import("effect/StandardSchema").StandardSchemaV1<{
772
+ readonly code: string;
773
+ readonly retryAt?: string | undefined;
774
+ }, {
775
+ readonly code: string;
776
+ readonly retryAt?: string | undefined;
777
+ }> & Schema.Struct<{
778
+ readonly code: Schema.String;
779
+ readonly retryAt: Schema.optional<Schema.String>;
780
+ }>;
781
+ };
782
+ };
783
+ readonly "routers.add": {
784
+ input: import("effect/StandardSchema").StandardSchemaV1<{
785
+ readonly router: string;
786
+ readonly model: string;
787
+ }, {
788
+ readonly router: string;
789
+ readonly model: string;
790
+ }> & Schema.Struct<{
791
+ /** Router model ID or slug, as `kilo auto router` accepts it. */
792
+ readonly router: Schema.String;
793
+ /** `<provider>/<model>` of a catalog model. */
794
+ readonly model: Schema.String;
795
+ }>;
796
+ output: import("effect/StandardSchema").StandardSchemaV1<unknown, unknown> & Schema.Unknown;
797
+ errors: {
798
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
799
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
800
+ router: import("effect/StandardSchema").StandardSchemaV1<{
801
+ readonly code: string;
802
+ readonly retryAt?: string | undefined;
803
+ }, {
804
+ readonly code: string;
805
+ readonly retryAt?: string | undefined;
806
+ }> & Schema.Struct<{
807
+ readonly code: Schema.String;
808
+ readonly retryAt: Schema.optional<Schema.String>;
809
+ }>;
810
+ };
811
+ };
812
+ readonly "routers.remove": {
813
+ input: import("effect/StandardSchema").StandardSchemaV1<{
814
+ readonly router: string;
815
+ readonly model: string;
816
+ }, {
817
+ readonly router: string;
818
+ readonly model: string;
819
+ }> & Schema.Struct<{
820
+ /** Router model ID or slug, as `kilo auto router` accepts it. */
821
+ readonly router: Schema.String;
822
+ /** `<provider>/<model>` of a catalog model. */
823
+ readonly model: Schema.String;
824
+ }>;
825
+ output: import("effect/StandardSchema").StandardSchemaV1<unknown, unknown> & Schema.Unknown;
826
+ errors: {
827
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
828
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
829
+ router: import("effect/StandardSchema").StandardSchemaV1<{
830
+ readonly code: string;
831
+ readonly retryAt?: string | undefined;
832
+ }, {
833
+ readonly code: string;
834
+ readonly retryAt?: string | undefined;
835
+ }> & Schema.Struct<{
836
+ readonly code: Schema.String;
837
+ readonly retryAt: Schema.optional<Schema.String>;
838
+ }>;
839
+ };
840
+ };
841
+ readonly "routers.evalPlan": {
842
+ input: import("effect/StandardSchema").StandardSchemaV1<{
843
+ readonly routerID: string;
844
+ }, {
845
+ readonly routerID: string;
846
+ }> & Schema.Struct<{
847
+ readonly routerID: Schema.String;
848
+ }>;
849
+ output: import("effect/StandardSchema").StandardSchemaV1<unknown, unknown> & Schema.Unknown;
850
+ errors: {
851
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
852
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
853
+ router: import("effect/StandardSchema").StandardSchemaV1<{
854
+ readonly code: string;
855
+ readonly retryAt?: string | undefined;
856
+ }, {
857
+ readonly code: string;
858
+ readonly retryAt?: string | undefined;
859
+ }> & Schema.Struct<{
860
+ readonly code: Schema.String;
861
+ readonly retryAt: Schema.optional<Schema.String>;
862
+ }>;
863
+ };
864
+ };
865
+ readonly "routers.evalCase": {
866
+ input: import("effect/StandardSchema").StandardSchemaV1<{
867
+ readonly routerID: string;
868
+ readonly caseID: string;
869
+ }, {
870
+ readonly routerID: string;
871
+ readonly caseID: string;
872
+ }> & Schema.Struct<{
873
+ readonly routerID: Schema.String;
874
+ readonly caseID: Schema.String;
875
+ }>;
876
+ output: import("effect/StandardSchema").StandardSchemaV1<unknown, unknown> & Schema.Unknown;
877
+ errors: {
878
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
879
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
880
+ router: import("effect/StandardSchema").StandardSchemaV1<{
881
+ readonly code: string;
882
+ readonly retryAt?: string | undefined;
883
+ }, {
884
+ readonly code: string;
885
+ readonly retryAt?: string | undefined;
886
+ }> & Schema.Struct<{
887
+ readonly code: Schema.String;
888
+ readonly retryAt: Schema.optional<Schema.String>;
889
+ }>;
890
+ };
891
+ };
892
+ readonly "routers.evalConfig": {
893
+ input: import("effect/StandardSchema").StandardSchemaV1<{
894
+ readonly entry: unknown;
895
+ }, {
896
+ readonly entry: unknown;
897
+ }> & Schema.Struct<{
898
+ readonly entry: Schema.Unknown;
899
+ }>;
900
+ output: import("effect/StandardSchema").StandardSchemaV1<{
901
+ readonly server: string;
902
+ readonly organizationID: string | null;
903
+ readonly provider: string;
904
+ readonly model: string;
905
+ readonly config: unknown;
906
+ readonly auth: unknown;
907
+ }, {
908
+ readonly server: string;
909
+ readonly organizationID: string | null;
910
+ readonly provider: string;
911
+ readonly model: string;
912
+ readonly config: unknown;
913
+ readonly auth: unknown;
914
+ }> & Schema.Struct<{
915
+ readonly server: Schema.String;
916
+ readonly organizationID: Schema.NullOr<Schema.String>;
917
+ readonly provider: Schema.String;
918
+ readonly model: Schema.String;
919
+ /** Config for the published CLI in the eval container. Has no credentials. */
920
+ readonly config: Schema.Unknown;
921
+ /** Credentials for the published CLI in the eval container. Secret. */
922
+ readonly auth: Schema.Unknown;
923
+ }>;
924
+ errors: {
925
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
926
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
927
+ router: import("effect/StandardSchema").StandardSchemaV1<{
928
+ readonly code: string;
929
+ readonly retryAt?: string | undefined;
930
+ }, {
931
+ readonly code: string;
932
+ readonly retryAt?: string | undefined;
933
+ }> & Schema.Struct<{
934
+ readonly code: Schema.String;
935
+ readonly retryAt: Schema.optional<Schema.String>;
936
+ }>;
937
+ };
938
+ };
939
+ readonly "routers.evalResult": {
940
+ input: import("effect/StandardSchema").StandardSchemaV1<{
941
+ readonly result: unknown;
942
+ }, {
943
+ readonly result: unknown;
944
+ }> & Schema.Struct<{
945
+ readonly result: Schema.Unknown;
946
+ }>;
947
+ output: import("effect/StandardSchema").StandardSchemaV1<unknown, unknown> & Schema.Unknown;
948
+ errors: {
949
+ unauthorized: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
950
+ failed: import("effect/StandardSchema").StandardSchemaV1<undefined, undefined> & Schema.Undefined;
951
+ router: import("effect/StandardSchema").StandardSchemaV1<{
952
+ readonly code: string;
953
+ readonly retryAt?: string | undefined;
954
+ }, {
955
+ readonly code: string;
956
+ readonly retryAt?: string | undefined;
957
+ }> & Schema.Struct<{
958
+ readonly code: Schema.String;
959
+ readonly retryAt: Schema.optional<Schema.String>;
960
+ }>;
961
+ };
962
+ };
963
+ };
964
+ readonly events: {
965
+ organization: {
966
+ schema: import("effect/StandardSchema").StandardSchemaV1<{
967
+ readonly organizationID: string | null;
968
+ }, {
969
+ readonly organizationID: string | null;
970
+ }> & Schema.Struct<{
971
+ readonly organizationID: Schema.NullOr<Schema.String>;
972
+ }>;
973
+ };
974
+ };
975
+ };