relay-opencode 0.0.0-stage → 0.2.0
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.
- package/LICENSE +21 -0
- package/README.md +122 -2
- package/dist/artificial-analysis.d.ts +50 -0
- package/dist/artificial-analysis.js +153 -0
- package/dist/chat-facts.d.ts +26 -0
- package/dist/chat-facts.js +96 -0
- package/dist/contract.d.ts +2727 -0
- package/dist/contract.js +111 -0
- package/dist/costs.d.ts +14 -0
- package/dist/costs.js +47 -0
- package/dist/decider.d.ts +73 -0
- package/dist/decider.js +199 -0
- package/dist/gui-experimental.cjs +92 -0
- package/dist/gui-styles.d.ts +5 -0
- package/dist/gui-styles.js +95 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +62 -0
- package/dist/intelligence.d.ts +38 -0
- package/dist/intelligence.js +123 -0
- package/dist/inventory.d.ts +34 -0
- package/dist/inventory.js +28 -0
- package/dist/ranking.d.ts +31 -0
- package/dist/ranking.js +78 -0
- package/dist/relay-auto.d.ts +39 -0
- package/dist/relay-auto.js +96 -0
- package/dist/relay-command.d.ts +74 -0
- package/dist/relay-command.js +211 -0
- package/dist/relay-store.d.ts +124 -0
- package/dist/relay-store.js +196 -0
- package/dist/relay-view.d.ts +124 -0
- package/dist/relay-view.js +189 -0
- package/dist/review-helper.d.ts +8 -0
- package/dist/review-helper.js +68 -0
- package/dist/router.d.ts +122 -0
- package/dist/router.js +209 -0
- package/dist/rpc.d.ts +2725 -0
- package/dist/rpc.js +116 -0
- package/dist/settings.d.ts +16 -0
- package/dist/settings.js +22 -0
- package/dist/standings.d.ts +18 -0
- package/dist/standings.js +34 -0
- package/dist/tui.d.ts +3 -0
- package/dist/tui.js +26 -0
- package/dist/usage-log.d.ts +135 -0
- package/dist/usage-log.js +210 -0
- package/dist/usage-view.d.ts +70 -0
- package/dist/usage-view.js +104 -0
- package/package.json +46 -4
package/dist/rpc.d.ts
ADDED
|
@@ -0,0 +1,2725 @@
|
|
|
1
|
+
export { RelayRpc } from './contract.js';
|
|
2
|
+
import type { Plugin } from '@opencode/plugin';
|
|
3
|
+
/** The panel's and the pill's calls. Relay's settings are one set for every project; only the model lists come from this project's host. */
|
|
4
|
+
export declare function registerRpc(context: Pick<Plugin.Context, 'rpc' | 'location' | 'model' | 'storage' | 'experimental'>, options?: {
|
|
5
|
+
fetcher?: typeof fetch;
|
|
6
|
+
now?: () => number;
|
|
7
|
+
}): Promise<import("@opencode/plugin/promise/rpc").RpcRegistration<{
|
|
8
|
+
readonly id: "relay-opencode";
|
|
9
|
+
readonly events: {};
|
|
10
|
+
readonly methods: {
|
|
11
|
+
readonly getRelay: {
|
|
12
|
+
readonly errors: {
|
|
13
|
+
readonly rejected: {
|
|
14
|
+
readonly type: "object";
|
|
15
|
+
readonly properties: {};
|
|
16
|
+
readonly additionalProperties: false;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
readonly input: {
|
|
20
|
+
readonly type: "object";
|
|
21
|
+
readonly properties: {};
|
|
22
|
+
readonly additionalProperties: false;
|
|
23
|
+
};
|
|
24
|
+
readonly output: {
|
|
25
|
+
readonly type: "object";
|
|
26
|
+
readonly properties: {
|
|
27
|
+
readonly directory: {
|
|
28
|
+
readonly type: "string";
|
|
29
|
+
};
|
|
30
|
+
readonly settings: {
|
|
31
|
+
readonly type: "object";
|
|
32
|
+
readonly properties: {
|
|
33
|
+
readonly revision: {
|
|
34
|
+
readonly type: "integer";
|
|
35
|
+
readonly minimum: 0;
|
|
36
|
+
};
|
|
37
|
+
readonly modes: {
|
|
38
|
+
readonly type: "object";
|
|
39
|
+
readonly properties: {
|
|
40
|
+
readonly plan: {
|
|
41
|
+
readonly type: "array";
|
|
42
|
+
readonly items: {
|
|
43
|
+
readonly type: "object";
|
|
44
|
+
readonly properties: {
|
|
45
|
+
readonly useFor: {
|
|
46
|
+
readonly type: "string";
|
|
47
|
+
};
|
|
48
|
+
readonly providerID: {
|
|
49
|
+
readonly type: "string";
|
|
50
|
+
};
|
|
51
|
+
readonly id: {
|
|
52
|
+
readonly type: "string";
|
|
53
|
+
};
|
|
54
|
+
readonly variant: {
|
|
55
|
+
readonly anyOf: readonly [{
|
|
56
|
+
readonly type: "string";
|
|
57
|
+
}, {
|
|
58
|
+
readonly type: "null";
|
|
59
|
+
}];
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
readonly required: readonly ["providerID", "id", "variant", "useFor"];
|
|
63
|
+
readonly additionalProperties: false;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
readonly execute: {
|
|
67
|
+
readonly type: "array";
|
|
68
|
+
readonly items: {
|
|
69
|
+
readonly type: "object";
|
|
70
|
+
readonly properties: {
|
|
71
|
+
readonly useFor: {
|
|
72
|
+
readonly type: "string";
|
|
73
|
+
};
|
|
74
|
+
readonly providerID: {
|
|
75
|
+
readonly type: "string";
|
|
76
|
+
};
|
|
77
|
+
readonly id: {
|
|
78
|
+
readonly type: "string";
|
|
79
|
+
};
|
|
80
|
+
readonly variant: {
|
|
81
|
+
readonly anyOf: readonly [{
|
|
82
|
+
readonly type: "string";
|
|
83
|
+
}, {
|
|
84
|
+
readonly type: "null";
|
|
85
|
+
}];
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
readonly required: readonly ["providerID", "id", "variant", "useFor"];
|
|
89
|
+
readonly additionalProperties: false;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
readonly review: {
|
|
93
|
+
readonly type: "array";
|
|
94
|
+
readonly items: {
|
|
95
|
+
readonly type: "object";
|
|
96
|
+
readonly properties: {
|
|
97
|
+
readonly useFor: {
|
|
98
|
+
readonly type: "string";
|
|
99
|
+
};
|
|
100
|
+
readonly providerID: {
|
|
101
|
+
readonly type: "string";
|
|
102
|
+
};
|
|
103
|
+
readonly id: {
|
|
104
|
+
readonly type: "string";
|
|
105
|
+
};
|
|
106
|
+
readonly variant: {
|
|
107
|
+
readonly anyOf: readonly [{
|
|
108
|
+
readonly type: "string";
|
|
109
|
+
}, {
|
|
110
|
+
readonly type: "null";
|
|
111
|
+
}];
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
readonly required: readonly ["providerID", "id", "variant", "useFor"];
|
|
115
|
+
readonly additionalProperties: false;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
readonly required: readonly ["plan", "execute", "review"];
|
|
120
|
+
readonly additionalProperties: false;
|
|
121
|
+
};
|
|
122
|
+
readonly decider: {
|
|
123
|
+
readonly anyOf: readonly [{
|
|
124
|
+
readonly type: "object";
|
|
125
|
+
readonly properties: {
|
|
126
|
+
readonly providerID: {
|
|
127
|
+
readonly type: "string";
|
|
128
|
+
};
|
|
129
|
+
readonly id: {
|
|
130
|
+
readonly type: "string";
|
|
131
|
+
};
|
|
132
|
+
readonly variant: {
|
|
133
|
+
readonly anyOf: readonly [{
|
|
134
|
+
readonly type: "string";
|
|
135
|
+
}, {
|
|
136
|
+
readonly type: "null";
|
|
137
|
+
}];
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
readonly required: readonly ["providerID", "id", "variant"];
|
|
141
|
+
readonly additionalProperties: false;
|
|
142
|
+
}, {
|
|
143
|
+
readonly type: "null";
|
|
144
|
+
}];
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
readonly required: readonly ["revision", "modes", "decider"];
|
|
148
|
+
readonly additionalProperties: false;
|
|
149
|
+
};
|
|
150
|
+
readonly decisions: {
|
|
151
|
+
readonly type: "array";
|
|
152
|
+
readonly items: {
|
|
153
|
+
readonly type: "object";
|
|
154
|
+
readonly properties: {
|
|
155
|
+
readonly at: {
|
|
156
|
+
readonly type: "string";
|
|
157
|
+
};
|
|
158
|
+
readonly sessionID: {
|
|
159
|
+
readonly type: "string";
|
|
160
|
+
};
|
|
161
|
+
readonly kind: {
|
|
162
|
+
readonly type: "string";
|
|
163
|
+
readonly enum: readonly ["chat", "helper"];
|
|
164
|
+
};
|
|
165
|
+
readonly mode: {
|
|
166
|
+
readonly anyOf: readonly [{
|
|
167
|
+
readonly type: "string";
|
|
168
|
+
readonly enum: readonly ["plan", "execute", "review"];
|
|
169
|
+
}, {
|
|
170
|
+
readonly type: "null";
|
|
171
|
+
}];
|
|
172
|
+
};
|
|
173
|
+
readonly confidence: {
|
|
174
|
+
readonly anyOf: readonly [{
|
|
175
|
+
readonly type: "number";
|
|
176
|
+
}, {
|
|
177
|
+
readonly type: "null";
|
|
178
|
+
}];
|
|
179
|
+
};
|
|
180
|
+
readonly fit: {
|
|
181
|
+
readonly anyOf: readonly [{
|
|
182
|
+
readonly type: "number";
|
|
183
|
+
}, {
|
|
184
|
+
readonly type: "null";
|
|
185
|
+
}];
|
|
186
|
+
};
|
|
187
|
+
readonly model: {
|
|
188
|
+
readonly anyOf: readonly [{
|
|
189
|
+
readonly type: "string";
|
|
190
|
+
}, {
|
|
191
|
+
readonly type: "null";
|
|
192
|
+
}];
|
|
193
|
+
};
|
|
194
|
+
readonly ms: {
|
|
195
|
+
readonly type: "number";
|
|
196
|
+
};
|
|
197
|
+
readonly costUsd: {
|
|
198
|
+
readonly anyOf: readonly [{
|
|
199
|
+
readonly type: "string";
|
|
200
|
+
}, {
|
|
201
|
+
readonly type: "null";
|
|
202
|
+
}];
|
|
203
|
+
};
|
|
204
|
+
readonly note: {
|
|
205
|
+
readonly anyOf: readonly [{
|
|
206
|
+
readonly type: "string";
|
|
207
|
+
}, {
|
|
208
|
+
readonly type: "null";
|
|
209
|
+
}];
|
|
210
|
+
};
|
|
211
|
+
readonly messageID: {
|
|
212
|
+
readonly anyOf: readonly [{
|
|
213
|
+
readonly type: "string";
|
|
214
|
+
}, {
|
|
215
|
+
readonly type: "null";
|
|
216
|
+
}];
|
|
217
|
+
};
|
|
218
|
+
readonly reply: {
|
|
219
|
+
readonly anyOf: readonly [{
|
|
220
|
+
readonly type: "object";
|
|
221
|
+
readonly properties: {
|
|
222
|
+
readonly requests: {
|
|
223
|
+
readonly type: "number";
|
|
224
|
+
};
|
|
225
|
+
readonly fresh: {
|
|
226
|
+
readonly type: "number";
|
|
227
|
+
};
|
|
228
|
+
readonly cached: {
|
|
229
|
+
readonly type: "number";
|
|
230
|
+
};
|
|
231
|
+
readonly costUsd: {
|
|
232
|
+
readonly anyOf: readonly [{
|
|
233
|
+
readonly type: "string";
|
|
234
|
+
}, {
|
|
235
|
+
readonly type: "null";
|
|
236
|
+
}];
|
|
237
|
+
};
|
|
238
|
+
readonly seconds: {
|
|
239
|
+
readonly anyOf: readonly [{
|
|
240
|
+
readonly type: "number";
|
|
241
|
+
}, {
|
|
242
|
+
readonly type: "null";
|
|
243
|
+
}];
|
|
244
|
+
};
|
|
245
|
+
readonly model: {
|
|
246
|
+
readonly anyOf: readonly [{
|
|
247
|
+
readonly type: "string";
|
|
248
|
+
}, {
|
|
249
|
+
readonly type: "null";
|
|
250
|
+
}];
|
|
251
|
+
};
|
|
252
|
+
readonly total: {
|
|
253
|
+
readonly anyOf: readonly [{
|
|
254
|
+
readonly type: "object";
|
|
255
|
+
readonly properties: {
|
|
256
|
+
readonly input: {
|
|
257
|
+
readonly type: "number";
|
|
258
|
+
};
|
|
259
|
+
readonly output: {
|
|
260
|
+
readonly type: "number";
|
|
261
|
+
};
|
|
262
|
+
readonly reasoning: {
|
|
263
|
+
readonly type: "number";
|
|
264
|
+
};
|
|
265
|
+
readonly cacheRead: {
|
|
266
|
+
readonly type: "number";
|
|
267
|
+
};
|
|
268
|
+
readonly cacheWrite: {
|
|
269
|
+
readonly type: "number";
|
|
270
|
+
};
|
|
271
|
+
readonly costUsd: {
|
|
272
|
+
readonly anyOf: readonly [{
|
|
273
|
+
readonly type: "string";
|
|
274
|
+
}, {
|
|
275
|
+
readonly type: "null";
|
|
276
|
+
}];
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
readonly required: readonly ["input", "output", "reasoning", "cacheRead", "cacheWrite", "costUsd"];
|
|
280
|
+
readonly additionalProperties: false;
|
|
281
|
+
}, {
|
|
282
|
+
readonly type: "null";
|
|
283
|
+
}];
|
|
284
|
+
};
|
|
285
|
+
readonly prices: {
|
|
286
|
+
readonly anyOf: readonly [{
|
|
287
|
+
readonly type: "object";
|
|
288
|
+
readonly properties: {
|
|
289
|
+
readonly inputPerMillion: {
|
|
290
|
+
readonly anyOf: readonly [{
|
|
291
|
+
readonly type: "string";
|
|
292
|
+
}, {
|
|
293
|
+
readonly type: "null";
|
|
294
|
+
}];
|
|
295
|
+
};
|
|
296
|
+
readonly outputPerMillion: {
|
|
297
|
+
readonly anyOf: readonly [{
|
|
298
|
+
readonly type: "string";
|
|
299
|
+
}, {
|
|
300
|
+
readonly type: "null";
|
|
301
|
+
}];
|
|
302
|
+
};
|
|
303
|
+
readonly cacheReadPerMillion: {
|
|
304
|
+
readonly anyOf: readonly [{
|
|
305
|
+
readonly type: "string";
|
|
306
|
+
}, {
|
|
307
|
+
readonly type: "null";
|
|
308
|
+
}];
|
|
309
|
+
};
|
|
310
|
+
readonly cacheWritePerMillion: {
|
|
311
|
+
readonly anyOf: readonly [{
|
|
312
|
+
readonly type: "string";
|
|
313
|
+
}, {
|
|
314
|
+
readonly type: "null";
|
|
315
|
+
}];
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
readonly required: readonly ["inputPerMillion", "outputPerMillion", "cacheReadPerMillion", "cacheWritePerMillion"];
|
|
319
|
+
readonly additionalProperties: false;
|
|
320
|
+
}, {
|
|
321
|
+
readonly type: "null";
|
|
322
|
+
}];
|
|
323
|
+
};
|
|
324
|
+
readonly pricesFrom: {
|
|
325
|
+
readonly anyOf: readonly [{
|
|
326
|
+
readonly type: "string";
|
|
327
|
+
readonly enum: readonly ["opencode", "artificial-analysis"];
|
|
328
|
+
}, {
|
|
329
|
+
readonly type: "null";
|
|
330
|
+
}];
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
readonly required: readonly ["requests", "fresh", "cached", "costUsd", "seconds", "model", "total", "prices", "pricesFrom"];
|
|
334
|
+
readonly additionalProperties: false;
|
|
335
|
+
}, {
|
|
336
|
+
readonly type: "null";
|
|
337
|
+
}];
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
readonly required: readonly ["at", "sessionID", "kind", "mode", "confidence", "fit", "model", "ms", "costUsd", "note", "messageID", "reply"];
|
|
341
|
+
readonly additionalProperties: false;
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
readonly deciders: {
|
|
345
|
+
readonly type: "array";
|
|
346
|
+
readonly items: {
|
|
347
|
+
readonly type: "object";
|
|
348
|
+
readonly properties: {
|
|
349
|
+
readonly providerID: {
|
|
350
|
+
readonly type: "string";
|
|
351
|
+
};
|
|
352
|
+
readonly id: {
|
|
353
|
+
readonly type: "string";
|
|
354
|
+
};
|
|
355
|
+
readonly name: {
|
|
356
|
+
readonly type: "string";
|
|
357
|
+
};
|
|
358
|
+
readonly enabled: {
|
|
359
|
+
readonly type: "boolean";
|
|
360
|
+
};
|
|
361
|
+
readonly status: {
|
|
362
|
+
readonly type: "string";
|
|
363
|
+
};
|
|
364
|
+
readonly variants: {
|
|
365
|
+
readonly type: "array";
|
|
366
|
+
readonly items: {
|
|
367
|
+
readonly type: "string";
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
readonly capabilities: {
|
|
371
|
+
readonly type: "object";
|
|
372
|
+
readonly properties: {
|
|
373
|
+
readonly input: {
|
|
374
|
+
readonly type: "array";
|
|
375
|
+
readonly items: {
|
|
376
|
+
readonly type: "string";
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
readonly output: {
|
|
380
|
+
readonly type: "array";
|
|
381
|
+
readonly items: {
|
|
382
|
+
readonly type: "string";
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
readonly tools: {
|
|
386
|
+
readonly type: "boolean";
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
readonly required: readonly ["input", "output", "tools"];
|
|
390
|
+
readonly additionalProperties: false;
|
|
391
|
+
};
|
|
392
|
+
readonly limit: {
|
|
393
|
+
readonly type: "object";
|
|
394
|
+
readonly properties: {
|
|
395
|
+
readonly context: {
|
|
396
|
+
readonly type: "number";
|
|
397
|
+
};
|
|
398
|
+
readonly output: {
|
|
399
|
+
readonly type: "number";
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
readonly required: readonly ["context", "output"];
|
|
403
|
+
readonly additionalProperties: false;
|
|
404
|
+
};
|
|
405
|
+
readonly cost: {
|
|
406
|
+
readonly type: "object";
|
|
407
|
+
readonly properties: {
|
|
408
|
+
readonly tiered: {
|
|
409
|
+
readonly type: "boolean";
|
|
410
|
+
};
|
|
411
|
+
readonly steps: {
|
|
412
|
+
readonly type: "array";
|
|
413
|
+
readonly items: {
|
|
414
|
+
readonly type: "object";
|
|
415
|
+
readonly properties: {
|
|
416
|
+
readonly inputPerMillion: {
|
|
417
|
+
readonly anyOf: readonly [{
|
|
418
|
+
readonly type: "string";
|
|
419
|
+
}, {
|
|
420
|
+
readonly type: "null";
|
|
421
|
+
}];
|
|
422
|
+
};
|
|
423
|
+
readonly outputPerMillion: {
|
|
424
|
+
readonly anyOf: readonly [{
|
|
425
|
+
readonly type: "string";
|
|
426
|
+
}, {
|
|
427
|
+
readonly type: "null";
|
|
428
|
+
}];
|
|
429
|
+
};
|
|
430
|
+
readonly cacheReadPerMillion: {
|
|
431
|
+
readonly anyOf: readonly [{
|
|
432
|
+
readonly type: "string";
|
|
433
|
+
}, {
|
|
434
|
+
readonly type: "null";
|
|
435
|
+
}];
|
|
436
|
+
};
|
|
437
|
+
readonly cacheWritePerMillion: {
|
|
438
|
+
readonly anyOf: readonly [{
|
|
439
|
+
readonly type: "string";
|
|
440
|
+
}, {
|
|
441
|
+
readonly type: "null";
|
|
442
|
+
}];
|
|
443
|
+
};
|
|
444
|
+
readonly above: {
|
|
445
|
+
readonly type: "number";
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
readonly required: readonly ["above", "inputPerMillion", "outputPerMillion", "cacheReadPerMillion", "cacheWritePerMillion"];
|
|
449
|
+
readonly additionalProperties: false;
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
readonly inputPerMillion: {
|
|
453
|
+
readonly anyOf: readonly [{
|
|
454
|
+
readonly type: "string";
|
|
455
|
+
}, {
|
|
456
|
+
readonly type: "null";
|
|
457
|
+
}];
|
|
458
|
+
};
|
|
459
|
+
readonly outputPerMillion: {
|
|
460
|
+
readonly anyOf: readonly [{
|
|
461
|
+
readonly type: "string";
|
|
462
|
+
}, {
|
|
463
|
+
readonly type: "null";
|
|
464
|
+
}];
|
|
465
|
+
};
|
|
466
|
+
readonly cacheReadPerMillion: {
|
|
467
|
+
readonly anyOf: readonly [{
|
|
468
|
+
readonly type: "string";
|
|
469
|
+
}, {
|
|
470
|
+
readonly type: "null";
|
|
471
|
+
}];
|
|
472
|
+
};
|
|
473
|
+
readonly cacheWritePerMillion: {
|
|
474
|
+
readonly anyOf: readonly [{
|
|
475
|
+
readonly type: "string";
|
|
476
|
+
}, {
|
|
477
|
+
readonly type: "null";
|
|
478
|
+
}];
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
readonly required: readonly ["inputPerMillion", "outputPerMillion", "cacheReadPerMillion", "cacheWritePerMillion", "tiered", "steps"];
|
|
482
|
+
readonly additionalProperties: false;
|
|
483
|
+
};
|
|
484
|
+
};
|
|
485
|
+
readonly required: readonly ["providerID", "id", "name", "enabled", "status", "variants", "capabilities", "limit", "cost"];
|
|
486
|
+
readonly additionalProperties: false;
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
readonly checks: {
|
|
490
|
+
readonly type: "object";
|
|
491
|
+
readonly properties: {
|
|
492
|
+
readonly active: {
|
|
493
|
+
readonly type: "boolean";
|
|
494
|
+
};
|
|
495
|
+
readonly note: {
|
|
496
|
+
readonly anyOf: readonly [{
|
|
497
|
+
readonly type: "string";
|
|
498
|
+
}, {
|
|
499
|
+
readonly type: "null";
|
|
500
|
+
}];
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
readonly required: readonly ["active", "note"];
|
|
504
|
+
readonly additionalProperties: false;
|
|
505
|
+
};
|
|
506
|
+
readonly priceKey: {
|
|
507
|
+
readonly type: "boolean";
|
|
508
|
+
};
|
|
509
|
+
};
|
|
510
|
+
readonly required: readonly ["directory", "settings", "decisions", "deciders", "checks", "priceKey"];
|
|
511
|
+
readonly additionalProperties: false;
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
readonly saveRelay: {
|
|
515
|
+
readonly errors: {
|
|
516
|
+
readonly rejected: {
|
|
517
|
+
readonly type: "object";
|
|
518
|
+
readonly properties: {};
|
|
519
|
+
readonly additionalProperties: false;
|
|
520
|
+
};
|
|
521
|
+
};
|
|
522
|
+
readonly input: {
|
|
523
|
+
readonly type: "object";
|
|
524
|
+
readonly properties: {
|
|
525
|
+
readonly revision: {
|
|
526
|
+
readonly type: "integer";
|
|
527
|
+
readonly minimum: 0;
|
|
528
|
+
};
|
|
529
|
+
readonly modes: {
|
|
530
|
+
readonly type: "object";
|
|
531
|
+
readonly properties: {
|
|
532
|
+
readonly plan: {
|
|
533
|
+
readonly type: "array";
|
|
534
|
+
readonly items: {
|
|
535
|
+
readonly type: "object";
|
|
536
|
+
readonly properties: {
|
|
537
|
+
readonly useFor: {
|
|
538
|
+
readonly type: "string";
|
|
539
|
+
};
|
|
540
|
+
readonly providerID: {
|
|
541
|
+
readonly type: "string";
|
|
542
|
+
};
|
|
543
|
+
readonly id: {
|
|
544
|
+
readonly type: "string";
|
|
545
|
+
};
|
|
546
|
+
readonly variant: {
|
|
547
|
+
readonly anyOf: readonly [{
|
|
548
|
+
readonly type: "string";
|
|
549
|
+
}, {
|
|
550
|
+
readonly type: "null";
|
|
551
|
+
}];
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
readonly required: readonly ["providerID", "id", "variant"];
|
|
555
|
+
readonly additionalProperties: false;
|
|
556
|
+
};
|
|
557
|
+
};
|
|
558
|
+
readonly execute: {
|
|
559
|
+
readonly type: "array";
|
|
560
|
+
readonly items: {
|
|
561
|
+
readonly type: "object";
|
|
562
|
+
readonly properties: {
|
|
563
|
+
readonly useFor: {
|
|
564
|
+
readonly type: "string";
|
|
565
|
+
};
|
|
566
|
+
readonly providerID: {
|
|
567
|
+
readonly type: "string";
|
|
568
|
+
};
|
|
569
|
+
readonly id: {
|
|
570
|
+
readonly type: "string";
|
|
571
|
+
};
|
|
572
|
+
readonly variant: {
|
|
573
|
+
readonly anyOf: readonly [{
|
|
574
|
+
readonly type: "string";
|
|
575
|
+
}, {
|
|
576
|
+
readonly type: "null";
|
|
577
|
+
}];
|
|
578
|
+
};
|
|
579
|
+
};
|
|
580
|
+
readonly required: readonly ["providerID", "id", "variant"];
|
|
581
|
+
readonly additionalProperties: false;
|
|
582
|
+
};
|
|
583
|
+
};
|
|
584
|
+
readonly review: {
|
|
585
|
+
readonly type: "array";
|
|
586
|
+
readonly items: {
|
|
587
|
+
readonly type: "object";
|
|
588
|
+
readonly properties: {
|
|
589
|
+
readonly useFor: {
|
|
590
|
+
readonly type: "string";
|
|
591
|
+
};
|
|
592
|
+
readonly providerID: {
|
|
593
|
+
readonly type: "string";
|
|
594
|
+
};
|
|
595
|
+
readonly id: {
|
|
596
|
+
readonly type: "string";
|
|
597
|
+
};
|
|
598
|
+
readonly variant: {
|
|
599
|
+
readonly anyOf: readonly [{
|
|
600
|
+
readonly type: "string";
|
|
601
|
+
}, {
|
|
602
|
+
readonly type: "null";
|
|
603
|
+
}];
|
|
604
|
+
};
|
|
605
|
+
};
|
|
606
|
+
readonly required: readonly ["providerID", "id", "variant"];
|
|
607
|
+
readonly additionalProperties: false;
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
};
|
|
611
|
+
readonly required: readonly ["plan", "execute", "review"];
|
|
612
|
+
readonly additionalProperties: false;
|
|
613
|
+
};
|
|
614
|
+
readonly decider: {
|
|
615
|
+
readonly anyOf: readonly [{
|
|
616
|
+
readonly type: "object";
|
|
617
|
+
readonly properties: {
|
|
618
|
+
readonly providerID: {
|
|
619
|
+
readonly type: "string";
|
|
620
|
+
};
|
|
621
|
+
readonly id: {
|
|
622
|
+
readonly type: "string";
|
|
623
|
+
};
|
|
624
|
+
readonly variant: {
|
|
625
|
+
readonly anyOf: readonly [{
|
|
626
|
+
readonly type: "string";
|
|
627
|
+
}, {
|
|
628
|
+
readonly type: "null";
|
|
629
|
+
}];
|
|
630
|
+
};
|
|
631
|
+
};
|
|
632
|
+
readonly required: readonly ["providerID", "id", "variant"];
|
|
633
|
+
readonly additionalProperties: false;
|
|
634
|
+
}, {
|
|
635
|
+
readonly type: "null";
|
|
636
|
+
}];
|
|
637
|
+
};
|
|
638
|
+
};
|
|
639
|
+
readonly required: readonly ["revision", "modes", "decider"];
|
|
640
|
+
readonly additionalProperties: false;
|
|
641
|
+
};
|
|
642
|
+
readonly output: {
|
|
643
|
+
readonly type: "object";
|
|
644
|
+
readonly properties: {
|
|
645
|
+
readonly directory: {
|
|
646
|
+
readonly type: "string";
|
|
647
|
+
};
|
|
648
|
+
readonly settings: {
|
|
649
|
+
readonly type: "object";
|
|
650
|
+
readonly properties: {
|
|
651
|
+
readonly revision: {
|
|
652
|
+
readonly type: "integer";
|
|
653
|
+
readonly minimum: 0;
|
|
654
|
+
};
|
|
655
|
+
readonly modes: {
|
|
656
|
+
readonly type: "object";
|
|
657
|
+
readonly properties: {
|
|
658
|
+
readonly plan: {
|
|
659
|
+
readonly type: "array";
|
|
660
|
+
readonly items: {
|
|
661
|
+
readonly type: "object";
|
|
662
|
+
readonly properties: {
|
|
663
|
+
readonly useFor: {
|
|
664
|
+
readonly type: "string";
|
|
665
|
+
};
|
|
666
|
+
readonly providerID: {
|
|
667
|
+
readonly type: "string";
|
|
668
|
+
};
|
|
669
|
+
readonly id: {
|
|
670
|
+
readonly type: "string";
|
|
671
|
+
};
|
|
672
|
+
readonly variant: {
|
|
673
|
+
readonly anyOf: readonly [{
|
|
674
|
+
readonly type: "string";
|
|
675
|
+
}, {
|
|
676
|
+
readonly type: "null";
|
|
677
|
+
}];
|
|
678
|
+
};
|
|
679
|
+
};
|
|
680
|
+
readonly required: readonly ["providerID", "id", "variant", "useFor"];
|
|
681
|
+
readonly additionalProperties: false;
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
readonly execute: {
|
|
685
|
+
readonly type: "array";
|
|
686
|
+
readonly items: {
|
|
687
|
+
readonly type: "object";
|
|
688
|
+
readonly properties: {
|
|
689
|
+
readonly useFor: {
|
|
690
|
+
readonly type: "string";
|
|
691
|
+
};
|
|
692
|
+
readonly providerID: {
|
|
693
|
+
readonly type: "string";
|
|
694
|
+
};
|
|
695
|
+
readonly id: {
|
|
696
|
+
readonly type: "string";
|
|
697
|
+
};
|
|
698
|
+
readonly variant: {
|
|
699
|
+
readonly anyOf: readonly [{
|
|
700
|
+
readonly type: "string";
|
|
701
|
+
}, {
|
|
702
|
+
readonly type: "null";
|
|
703
|
+
}];
|
|
704
|
+
};
|
|
705
|
+
};
|
|
706
|
+
readonly required: readonly ["providerID", "id", "variant", "useFor"];
|
|
707
|
+
readonly additionalProperties: false;
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
readonly review: {
|
|
711
|
+
readonly type: "array";
|
|
712
|
+
readonly items: {
|
|
713
|
+
readonly type: "object";
|
|
714
|
+
readonly properties: {
|
|
715
|
+
readonly useFor: {
|
|
716
|
+
readonly type: "string";
|
|
717
|
+
};
|
|
718
|
+
readonly providerID: {
|
|
719
|
+
readonly type: "string";
|
|
720
|
+
};
|
|
721
|
+
readonly id: {
|
|
722
|
+
readonly type: "string";
|
|
723
|
+
};
|
|
724
|
+
readonly variant: {
|
|
725
|
+
readonly anyOf: readonly [{
|
|
726
|
+
readonly type: "string";
|
|
727
|
+
}, {
|
|
728
|
+
readonly type: "null";
|
|
729
|
+
}];
|
|
730
|
+
};
|
|
731
|
+
};
|
|
732
|
+
readonly required: readonly ["providerID", "id", "variant", "useFor"];
|
|
733
|
+
readonly additionalProperties: false;
|
|
734
|
+
};
|
|
735
|
+
};
|
|
736
|
+
};
|
|
737
|
+
readonly required: readonly ["plan", "execute", "review"];
|
|
738
|
+
readonly additionalProperties: false;
|
|
739
|
+
};
|
|
740
|
+
readonly decider: {
|
|
741
|
+
readonly anyOf: readonly [{
|
|
742
|
+
readonly type: "object";
|
|
743
|
+
readonly properties: {
|
|
744
|
+
readonly providerID: {
|
|
745
|
+
readonly type: "string";
|
|
746
|
+
};
|
|
747
|
+
readonly id: {
|
|
748
|
+
readonly type: "string";
|
|
749
|
+
};
|
|
750
|
+
readonly variant: {
|
|
751
|
+
readonly anyOf: readonly [{
|
|
752
|
+
readonly type: "string";
|
|
753
|
+
}, {
|
|
754
|
+
readonly type: "null";
|
|
755
|
+
}];
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
readonly required: readonly ["providerID", "id", "variant"];
|
|
759
|
+
readonly additionalProperties: false;
|
|
760
|
+
}, {
|
|
761
|
+
readonly type: "null";
|
|
762
|
+
}];
|
|
763
|
+
};
|
|
764
|
+
};
|
|
765
|
+
readonly required: readonly ["revision", "modes", "decider"];
|
|
766
|
+
readonly additionalProperties: false;
|
|
767
|
+
};
|
|
768
|
+
readonly decisions: {
|
|
769
|
+
readonly type: "array";
|
|
770
|
+
readonly items: {
|
|
771
|
+
readonly type: "object";
|
|
772
|
+
readonly properties: {
|
|
773
|
+
readonly at: {
|
|
774
|
+
readonly type: "string";
|
|
775
|
+
};
|
|
776
|
+
readonly sessionID: {
|
|
777
|
+
readonly type: "string";
|
|
778
|
+
};
|
|
779
|
+
readonly kind: {
|
|
780
|
+
readonly type: "string";
|
|
781
|
+
readonly enum: readonly ["chat", "helper"];
|
|
782
|
+
};
|
|
783
|
+
readonly mode: {
|
|
784
|
+
readonly anyOf: readonly [{
|
|
785
|
+
readonly type: "string";
|
|
786
|
+
readonly enum: readonly ["plan", "execute", "review"];
|
|
787
|
+
}, {
|
|
788
|
+
readonly type: "null";
|
|
789
|
+
}];
|
|
790
|
+
};
|
|
791
|
+
readonly confidence: {
|
|
792
|
+
readonly anyOf: readonly [{
|
|
793
|
+
readonly type: "number";
|
|
794
|
+
}, {
|
|
795
|
+
readonly type: "null";
|
|
796
|
+
}];
|
|
797
|
+
};
|
|
798
|
+
readonly fit: {
|
|
799
|
+
readonly anyOf: readonly [{
|
|
800
|
+
readonly type: "number";
|
|
801
|
+
}, {
|
|
802
|
+
readonly type: "null";
|
|
803
|
+
}];
|
|
804
|
+
};
|
|
805
|
+
readonly model: {
|
|
806
|
+
readonly anyOf: readonly [{
|
|
807
|
+
readonly type: "string";
|
|
808
|
+
}, {
|
|
809
|
+
readonly type: "null";
|
|
810
|
+
}];
|
|
811
|
+
};
|
|
812
|
+
readonly ms: {
|
|
813
|
+
readonly type: "number";
|
|
814
|
+
};
|
|
815
|
+
readonly costUsd: {
|
|
816
|
+
readonly anyOf: readonly [{
|
|
817
|
+
readonly type: "string";
|
|
818
|
+
}, {
|
|
819
|
+
readonly type: "null";
|
|
820
|
+
}];
|
|
821
|
+
};
|
|
822
|
+
readonly note: {
|
|
823
|
+
readonly anyOf: readonly [{
|
|
824
|
+
readonly type: "string";
|
|
825
|
+
}, {
|
|
826
|
+
readonly type: "null";
|
|
827
|
+
}];
|
|
828
|
+
};
|
|
829
|
+
readonly messageID: {
|
|
830
|
+
readonly anyOf: readonly [{
|
|
831
|
+
readonly type: "string";
|
|
832
|
+
}, {
|
|
833
|
+
readonly type: "null";
|
|
834
|
+
}];
|
|
835
|
+
};
|
|
836
|
+
readonly reply: {
|
|
837
|
+
readonly anyOf: readonly [{
|
|
838
|
+
readonly type: "object";
|
|
839
|
+
readonly properties: {
|
|
840
|
+
readonly requests: {
|
|
841
|
+
readonly type: "number";
|
|
842
|
+
};
|
|
843
|
+
readonly fresh: {
|
|
844
|
+
readonly type: "number";
|
|
845
|
+
};
|
|
846
|
+
readonly cached: {
|
|
847
|
+
readonly type: "number";
|
|
848
|
+
};
|
|
849
|
+
readonly costUsd: {
|
|
850
|
+
readonly anyOf: readonly [{
|
|
851
|
+
readonly type: "string";
|
|
852
|
+
}, {
|
|
853
|
+
readonly type: "null";
|
|
854
|
+
}];
|
|
855
|
+
};
|
|
856
|
+
readonly seconds: {
|
|
857
|
+
readonly anyOf: readonly [{
|
|
858
|
+
readonly type: "number";
|
|
859
|
+
}, {
|
|
860
|
+
readonly type: "null";
|
|
861
|
+
}];
|
|
862
|
+
};
|
|
863
|
+
readonly model: {
|
|
864
|
+
readonly anyOf: readonly [{
|
|
865
|
+
readonly type: "string";
|
|
866
|
+
}, {
|
|
867
|
+
readonly type: "null";
|
|
868
|
+
}];
|
|
869
|
+
};
|
|
870
|
+
readonly total: {
|
|
871
|
+
readonly anyOf: readonly [{
|
|
872
|
+
readonly type: "object";
|
|
873
|
+
readonly properties: {
|
|
874
|
+
readonly input: {
|
|
875
|
+
readonly type: "number";
|
|
876
|
+
};
|
|
877
|
+
readonly output: {
|
|
878
|
+
readonly type: "number";
|
|
879
|
+
};
|
|
880
|
+
readonly reasoning: {
|
|
881
|
+
readonly type: "number";
|
|
882
|
+
};
|
|
883
|
+
readonly cacheRead: {
|
|
884
|
+
readonly type: "number";
|
|
885
|
+
};
|
|
886
|
+
readonly cacheWrite: {
|
|
887
|
+
readonly type: "number";
|
|
888
|
+
};
|
|
889
|
+
readonly costUsd: {
|
|
890
|
+
readonly anyOf: readonly [{
|
|
891
|
+
readonly type: "string";
|
|
892
|
+
}, {
|
|
893
|
+
readonly type: "null";
|
|
894
|
+
}];
|
|
895
|
+
};
|
|
896
|
+
};
|
|
897
|
+
readonly required: readonly ["input", "output", "reasoning", "cacheRead", "cacheWrite", "costUsd"];
|
|
898
|
+
readonly additionalProperties: false;
|
|
899
|
+
}, {
|
|
900
|
+
readonly type: "null";
|
|
901
|
+
}];
|
|
902
|
+
};
|
|
903
|
+
readonly prices: {
|
|
904
|
+
readonly anyOf: readonly [{
|
|
905
|
+
readonly type: "object";
|
|
906
|
+
readonly properties: {
|
|
907
|
+
readonly inputPerMillion: {
|
|
908
|
+
readonly anyOf: readonly [{
|
|
909
|
+
readonly type: "string";
|
|
910
|
+
}, {
|
|
911
|
+
readonly type: "null";
|
|
912
|
+
}];
|
|
913
|
+
};
|
|
914
|
+
readonly outputPerMillion: {
|
|
915
|
+
readonly anyOf: readonly [{
|
|
916
|
+
readonly type: "string";
|
|
917
|
+
}, {
|
|
918
|
+
readonly type: "null";
|
|
919
|
+
}];
|
|
920
|
+
};
|
|
921
|
+
readonly cacheReadPerMillion: {
|
|
922
|
+
readonly anyOf: readonly [{
|
|
923
|
+
readonly type: "string";
|
|
924
|
+
}, {
|
|
925
|
+
readonly type: "null";
|
|
926
|
+
}];
|
|
927
|
+
};
|
|
928
|
+
readonly cacheWritePerMillion: {
|
|
929
|
+
readonly anyOf: readonly [{
|
|
930
|
+
readonly type: "string";
|
|
931
|
+
}, {
|
|
932
|
+
readonly type: "null";
|
|
933
|
+
}];
|
|
934
|
+
};
|
|
935
|
+
};
|
|
936
|
+
readonly required: readonly ["inputPerMillion", "outputPerMillion", "cacheReadPerMillion", "cacheWritePerMillion"];
|
|
937
|
+
readonly additionalProperties: false;
|
|
938
|
+
}, {
|
|
939
|
+
readonly type: "null";
|
|
940
|
+
}];
|
|
941
|
+
};
|
|
942
|
+
readonly pricesFrom: {
|
|
943
|
+
readonly anyOf: readonly [{
|
|
944
|
+
readonly type: "string";
|
|
945
|
+
readonly enum: readonly ["opencode", "artificial-analysis"];
|
|
946
|
+
}, {
|
|
947
|
+
readonly type: "null";
|
|
948
|
+
}];
|
|
949
|
+
};
|
|
950
|
+
};
|
|
951
|
+
readonly required: readonly ["requests", "fresh", "cached", "costUsd", "seconds", "model", "total", "prices", "pricesFrom"];
|
|
952
|
+
readonly additionalProperties: false;
|
|
953
|
+
}, {
|
|
954
|
+
readonly type: "null";
|
|
955
|
+
}];
|
|
956
|
+
};
|
|
957
|
+
};
|
|
958
|
+
readonly required: readonly ["at", "sessionID", "kind", "mode", "confidence", "fit", "model", "ms", "costUsd", "note", "messageID", "reply"];
|
|
959
|
+
readonly additionalProperties: false;
|
|
960
|
+
};
|
|
961
|
+
};
|
|
962
|
+
readonly deciders: {
|
|
963
|
+
readonly type: "array";
|
|
964
|
+
readonly items: {
|
|
965
|
+
readonly type: "object";
|
|
966
|
+
readonly properties: {
|
|
967
|
+
readonly providerID: {
|
|
968
|
+
readonly type: "string";
|
|
969
|
+
};
|
|
970
|
+
readonly id: {
|
|
971
|
+
readonly type: "string";
|
|
972
|
+
};
|
|
973
|
+
readonly name: {
|
|
974
|
+
readonly type: "string";
|
|
975
|
+
};
|
|
976
|
+
readonly enabled: {
|
|
977
|
+
readonly type: "boolean";
|
|
978
|
+
};
|
|
979
|
+
readonly status: {
|
|
980
|
+
readonly type: "string";
|
|
981
|
+
};
|
|
982
|
+
readonly variants: {
|
|
983
|
+
readonly type: "array";
|
|
984
|
+
readonly items: {
|
|
985
|
+
readonly type: "string";
|
|
986
|
+
};
|
|
987
|
+
};
|
|
988
|
+
readonly capabilities: {
|
|
989
|
+
readonly type: "object";
|
|
990
|
+
readonly properties: {
|
|
991
|
+
readonly input: {
|
|
992
|
+
readonly type: "array";
|
|
993
|
+
readonly items: {
|
|
994
|
+
readonly type: "string";
|
|
995
|
+
};
|
|
996
|
+
};
|
|
997
|
+
readonly output: {
|
|
998
|
+
readonly type: "array";
|
|
999
|
+
readonly items: {
|
|
1000
|
+
readonly type: "string";
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
1003
|
+
readonly tools: {
|
|
1004
|
+
readonly type: "boolean";
|
|
1005
|
+
};
|
|
1006
|
+
};
|
|
1007
|
+
readonly required: readonly ["input", "output", "tools"];
|
|
1008
|
+
readonly additionalProperties: false;
|
|
1009
|
+
};
|
|
1010
|
+
readonly limit: {
|
|
1011
|
+
readonly type: "object";
|
|
1012
|
+
readonly properties: {
|
|
1013
|
+
readonly context: {
|
|
1014
|
+
readonly type: "number";
|
|
1015
|
+
};
|
|
1016
|
+
readonly output: {
|
|
1017
|
+
readonly type: "number";
|
|
1018
|
+
};
|
|
1019
|
+
};
|
|
1020
|
+
readonly required: readonly ["context", "output"];
|
|
1021
|
+
readonly additionalProperties: false;
|
|
1022
|
+
};
|
|
1023
|
+
readonly cost: {
|
|
1024
|
+
readonly type: "object";
|
|
1025
|
+
readonly properties: {
|
|
1026
|
+
readonly tiered: {
|
|
1027
|
+
readonly type: "boolean";
|
|
1028
|
+
};
|
|
1029
|
+
readonly steps: {
|
|
1030
|
+
readonly type: "array";
|
|
1031
|
+
readonly items: {
|
|
1032
|
+
readonly type: "object";
|
|
1033
|
+
readonly properties: {
|
|
1034
|
+
readonly inputPerMillion: {
|
|
1035
|
+
readonly anyOf: readonly [{
|
|
1036
|
+
readonly type: "string";
|
|
1037
|
+
}, {
|
|
1038
|
+
readonly type: "null";
|
|
1039
|
+
}];
|
|
1040
|
+
};
|
|
1041
|
+
readonly outputPerMillion: {
|
|
1042
|
+
readonly anyOf: readonly [{
|
|
1043
|
+
readonly type: "string";
|
|
1044
|
+
}, {
|
|
1045
|
+
readonly type: "null";
|
|
1046
|
+
}];
|
|
1047
|
+
};
|
|
1048
|
+
readonly cacheReadPerMillion: {
|
|
1049
|
+
readonly anyOf: readonly [{
|
|
1050
|
+
readonly type: "string";
|
|
1051
|
+
}, {
|
|
1052
|
+
readonly type: "null";
|
|
1053
|
+
}];
|
|
1054
|
+
};
|
|
1055
|
+
readonly cacheWritePerMillion: {
|
|
1056
|
+
readonly anyOf: readonly [{
|
|
1057
|
+
readonly type: "string";
|
|
1058
|
+
}, {
|
|
1059
|
+
readonly type: "null";
|
|
1060
|
+
}];
|
|
1061
|
+
};
|
|
1062
|
+
readonly above: {
|
|
1063
|
+
readonly type: "number";
|
|
1064
|
+
};
|
|
1065
|
+
};
|
|
1066
|
+
readonly required: readonly ["above", "inputPerMillion", "outputPerMillion", "cacheReadPerMillion", "cacheWritePerMillion"];
|
|
1067
|
+
readonly additionalProperties: false;
|
|
1068
|
+
};
|
|
1069
|
+
};
|
|
1070
|
+
readonly inputPerMillion: {
|
|
1071
|
+
readonly anyOf: readonly [{
|
|
1072
|
+
readonly type: "string";
|
|
1073
|
+
}, {
|
|
1074
|
+
readonly type: "null";
|
|
1075
|
+
}];
|
|
1076
|
+
};
|
|
1077
|
+
readonly outputPerMillion: {
|
|
1078
|
+
readonly anyOf: readonly [{
|
|
1079
|
+
readonly type: "string";
|
|
1080
|
+
}, {
|
|
1081
|
+
readonly type: "null";
|
|
1082
|
+
}];
|
|
1083
|
+
};
|
|
1084
|
+
readonly cacheReadPerMillion: {
|
|
1085
|
+
readonly anyOf: readonly [{
|
|
1086
|
+
readonly type: "string";
|
|
1087
|
+
}, {
|
|
1088
|
+
readonly type: "null";
|
|
1089
|
+
}];
|
|
1090
|
+
};
|
|
1091
|
+
readonly cacheWritePerMillion: {
|
|
1092
|
+
readonly anyOf: readonly [{
|
|
1093
|
+
readonly type: "string";
|
|
1094
|
+
}, {
|
|
1095
|
+
readonly type: "null";
|
|
1096
|
+
}];
|
|
1097
|
+
};
|
|
1098
|
+
};
|
|
1099
|
+
readonly required: readonly ["inputPerMillion", "outputPerMillion", "cacheReadPerMillion", "cacheWritePerMillion", "tiered", "steps"];
|
|
1100
|
+
readonly additionalProperties: false;
|
|
1101
|
+
};
|
|
1102
|
+
};
|
|
1103
|
+
readonly required: readonly ["providerID", "id", "name", "enabled", "status", "variants", "capabilities", "limit", "cost"];
|
|
1104
|
+
readonly additionalProperties: false;
|
|
1105
|
+
};
|
|
1106
|
+
};
|
|
1107
|
+
readonly checks: {
|
|
1108
|
+
readonly type: "object";
|
|
1109
|
+
readonly properties: {
|
|
1110
|
+
readonly active: {
|
|
1111
|
+
readonly type: "boolean";
|
|
1112
|
+
};
|
|
1113
|
+
readonly note: {
|
|
1114
|
+
readonly anyOf: readonly [{
|
|
1115
|
+
readonly type: "string";
|
|
1116
|
+
}, {
|
|
1117
|
+
readonly type: "null";
|
|
1118
|
+
}];
|
|
1119
|
+
};
|
|
1120
|
+
};
|
|
1121
|
+
readonly required: readonly ["active", "note"];
|
|
1122
|
+
readonly additionalProperties: false;
|
|
1123
|
+
};
|
|
1124
|
+
readonly priceKey: {
|
|
1125
|
+
readonly type: "boolean";
|
|
1126
|
+
};
|
|
1127
|
+
};
|
|
1128
|
+
readonly required: readonly ["directory", "settings", "decisions", "deciders", "checks", "priceKey"];
|
|
1129
|
+
readonly additionalProperties: false;
|
|
1130
|
+
};
|
|
1131
|
+
};
|
|
1132
|
+
readonly getRelayChat: {
|
|
1133
|
+
readonly errors: {
|
|
1134
|
+
readonly rejected: {
|
|
1135
|
+
readonly type: "object";
|
|
1136
|
+
readonly properties: {};
|
|
1137
|
+
readonly additionalProperties: false;
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
readonly input: {
|
|
1141
|
+
readonly type: "object";
|
|
1142
|
+
readonly properties: {
|
|
1143
|
+
readonly sessionID: {
|
|
1144
|
+
readonly type: "string";
|
|
1145
|
+
};
|
|
1146
|
+
};
|
|
1147
|
+
readonly required: readonly ["sessionID"];
|
|
1148
|
+
readonly additionalProperties: false;
|
|
1149
|
+
};
|
|
1150
|
+
readonly output: {
|
|
1151
|
+
readonly type: "object";
|
|
1152
|
+
readonly properties: {
|
|
1153
|
+
readonly on: {
|
|
1154
|
+
readonly type: "boolean";
|
|
1155
|
+
};
|
|
1156
|
+
readonly last: {
|
|
1157
|
+
readonly anyOf: readonly [{
|
|
1158
|
+
readonly type: "object";
|
|
1159
|
+
readonly properties: {
|
|
1160
|
+
readonly at: {
|
|
1161
|
+
readonly type: "string";
|
|
1162
|
+
};
|
|
1163
|
+
readonly sessionID: {
|
|
1164
|
+
readonly type: "string";
|
|
1165
|
+
};
|
|
1166
|
+
readonly kind: {
|
|
1167
|
+
readonly type: "string";
|
|
1168
|
+
readonly enum: readonly ["chat", "helper"];
|
|
1169
|
+
};
|
|
1170
|
+
readonly mode: {
|
|
1171
|
+
readonly anyOf: readonly [{
|
|
1172
|
+
readonly type: "string";
|
|
1173
|
+
readonly enum: readonly ["plan", "execute", "review"];
|
|
1174
|
+
}, {
|
|
1175
|
+
readonly type: "null";
|
|
1176
|
+
}];
|
|
1177
|
+
};
|
|
1178
|
+
readonly confidence: {
|
|
1179
|
+
readonly anyOf: readonly [{
|
|
1180
|
+
readonly type: "number";
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly type: "null";
|
|
1183
|
+
}];
|
|
1184
|
+
};
|
|
1185
|
+
readonly fit: {
|
|
1186
|
+
readonly anyOf: readonly [{
|
|
1187
|
+
readonly type: "number";
|
|
1188
|
+
}, {
|
|
1189
|
+
readonly type: "null";
|
|
1190
|
+
}];
|
|
1191
|
+
};
|
|
1192
|
+
readonly model: {
|
|
1193
|
+
readonly anyOf: readonly [{
|
|
1194
|
+
readonly type: "string";
|
|
1195
|
+
}, {
|
|
1196
|
+
readonly type: "null";
|
|
1197
|
+
}];
|
|
1198
|
+
};
|
|
1199
|
+
readonly ms: {
|
|
1200
|
+
readonly type: "number";
|
|
1201
|
+
};
|
|
1202
|
+
readonly costUsd: {
|
|
1203
|
+
readonly anyOf: readonly [{
|
|
1204
|
+
readonly type: "string";
|
|
1205
|
+
}, {
|
|
1206
|
+
readonly type: "null";
|
|
1207
|
+
}];
|
|
1208
|
+
};
|
|
1209
|
+
readonly note: {
|
|
1210
|
+
readonly anyOf: readonly [{
|
|
1211
|
+
readonly type: "string";
|
|
1212
|
+
}, {
|
|
1213
|
+
readonly type: "null";
|
|
1214
|
+
}];
|
|
1215
|
+
};
|
|
1216
|
+
readonly messageID: {
|
|
1217
|
+
readonly anyOf: readonly [{
|
|
1218
|
+
readonly type: "string";
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly type: "null";
|
|
1221
|
+
}];
|
|
1222
|
+
};
|
|
1223
|
+
readonly reply: {
|
|
1224
|
+
readonly anyOf: readonly [{
|
|
1225
|
+
readonly type: "object";
|
|
1226
|
+
readonly properties: {
|
|
1227
|
+
readonly requests: {
|
|
1228
|
+
readonly type: "number";
|
|
1229
|
+
};
|
|
1230
|
+
readonly fresh: {
|
|
1231
|
+
readonly type: "number";
|
|
1232
|
+
};
|
|
1233
|
+
readonly cached: {
|
|
1234
|
+
readonly type: "number";
|
|
1235
|
+
};
|
|
1236
|
+
readonly costUsd: {
|
|
1237
|
+
readonly anyOf: readonly [{
|
|
1238
|
+
readonly type: "string";
|
|
1239
|
+
}, {
|
|
1240
|
+
readonly type: "null";
|
|
1241
|
+
}];
|
|
1242
|
+
};
|
|
1243
|
+
readonly seconds: {
|
|
1244
|
+
readonly anyOf: readonly [{
|
|
1245
|
+
readonly type: "number";
|
|
1246
|
+
}, {
|
|
1247
|
+
readonly type: "null";
|
|
1248
|
+
}];
|
|
1249
|
+
};
|
|
1250
|
+
readonly model: {
|
|
1251
|
+
readonly anyOf: readonly [{
|
|
1252
|
+
readonly type: "string";
|
|
1253
|
+
}, {
|
|
1254
|
+
readonly type: "null";
|
|
1255
|
+
}];
|
|
1256
|
+
};
|
|
1257
|
+
readonly total: {
|
|
1258
|
+
readonly anyOf: readonly [{
|
|
1259
|
+
readonly type: "object";
|
|
1260
|
+
readonly properties: {
|
|
1261
|
+
readonly input: {
|
|
1262
|
+
readonly type: "number";
|
|
1263
|
+
};
|
|
1264
|
+
readonly output: {
|
|
1265
|
+
readonly type: "number";
|
|
1266
|
+
};
|
|
1267
|
+
readonly reasoning: {
|
|
1268
|
+
readonly type: "number";
|
|
1269
|
+
};
|
|
1270
|
+
readonly cacheRead: {
|
|
1271
|
+
readonly type: "number";
|
|
1272
|
+
};
|
|
1273
|
+
readonly cacheWrite: {
|
|
1274
|
+
readonly type: "number";
|
|
1275
|
+
};
|
|
1276
|
+
readonly costUsd: {
|
|
1277
|
+
readonly anyOf: readonly [{
|
|
1278
|
+
readonly type: "string";
|
|
1279
|
+
}, {
|
|
1280
|
+
readonly type: "null";
|
|
1281
|
+
}];
|
|
1282
|
+
};
|
|
1283
|
+
};
|
|
1284
|
+
readonly required: readonly ["input", "output", "reasoning", "cacheRead", "cacheWrite", "costUsd"];
|
|
1285
|
+
readonly additionalProperties: false;
|
|
1286
|
+
}, {
|
|
1287
|
+
readonly type: "null";
|
|
1288
|
+
}];
|
|
1289
|
+
};
|
|
1290
|
+
readonly prices: {
|
|
1291
|
+
readonly anyOf: readonly [{
|
|
1292
|
+
readonly type: "object";
|
|
1293
|
+
readonly properties: {
|
|
1294
|
+
readonly inputPerMillion: {
|
|
1295
|
+
readonly anyOf: readonly [{
|
|
1296
|
+
readonly type: "string";
|
|
1297
|
+
}, {
|
|
1298
|
+
readonly type: "null";
|
|
1299
|
+
}];
|
|
1300
|
+
};
|
|
1301
|
+
readonly outputPerMillion: {
|
|
1302
|
+
readonly anyOf: readonly [{
|
|
1303
|
+
readonly type: "string";
|
|
1304
|
+
}, {
|
|
1305
|
+
readonly type: "null";
|
|
1306
|
+
}];
|
|
1307
|
+
};
|
|
1308
|
+
readonly cacheReadPerMillion: {
|
|
1309
|
+
readonly anyOf: readonly [{
|
|
1310
|
+
readonly type: "string";
|
|
1311
|
+
}, {
|
|
1312
|
+
readonly type: "null";
|
|
1313
|
+
}];
|
|
1314
|
+
};
|
|
1315
|
+
readonly cacheWritePerMillion: {
|
|
1316
|
+
readonly anyOf: readonly [{
|
|
1317
|
+
readonly type: "string";
|
|
1318
|
+
}, {
|
|
1319
|
+
readonly type: "null";
|
|
1320
|
+
}];
|
|
1321
|
+
};
|
|
1322
|
+
};
|
|
1323
|
+
readonly required: readonly ["inputPerMillion", "outputPerMillion", "cacheReadPerMillion", "cacheWritePerMillion"];
|
|
1324
|
+
readonly additionalProperties: false;
|
|
1325
|
+
}, {
|
|
1326
|
+
readonly type: "null";
|
|
1327
|
+
}];
|
|
1328
|
+
};
|
|
1329
|
+
readonly pricesFrom: {
|
|
1330
|
+
readonly anyOf: readonly [{
|
|
1331
|
+
readonly type: "string";
|
|
1332
|
+
readonly enum: readonly ["opencode", "artificial-analysis"];
|
|
1333
|
+
}, {
|
|
1334
|
+
readonly type: "null";
|
|
1335
|
+
}];
|
|
1336
|
+
};
|
|
1337
|
+
};
|
|
1338
|
+
readonly required: readonly ["requests", "fresh", "cached", "costUsd", "seconds", "model", "total", "prices", "pricesFrom"];
|
|
1339
|
+
readonly additionalProperties: false;
|
|
1340
|
+
}, {
|
|
1341
|
+
readonly type: "null";
|
|
1342
|
+
}];
|
|
1343
|
+
};
|
|
1344
|
+
};
|
|
1345
|
+
readonly required: readonly ["at", "sessionID", "kind", "mode", "confidence", "fit", "model", "ms", "costUsd", "note", "messageID", "reply"];
|
|
1346
|
+
readonly additionalProperties: false;
|
|
1347
|
+
}, {
|
|
1348
|
+
readonly type: "null";
|
|
1349
|
+
}];
|
|
1350
|
+
};
|
|
1351
|
+
readonly decider: {
|
|
1352
|
+
readonly type: "boolean";
|
|
1353
|
+
};
|
|
1354
|
+
};
|
|
1355
|
+
readonly required: readonly ["on", "last", "decider"];
|
|
1356
|
+
readonly additionalProperties: false;
|
|
1357
|
+
};
|
|
1358
|
+
};
|
|
1359
|
+
readonly getRelayDecisions: {
|
|
1360
|
+
readonly errors: {
|
|
1361
|
+
readonly rejected: {
|
|
1362
|
+
readonly type: "object";
|
|
1363
|
+
readonly properties: {};
|
|
1364
|
+
readonly additionalProperties: false;
|
|
1365
|
+
};
|
|
1366
|
+
};
|
|
1367
|
+
readonly input: {
|
|
1368
|
+
readonly type: "object";
|
|
1369
|
+
readonly properties: {};
|
|
1370
|
+
readonly additionalProperties: false;
|
|
1371
|
+
};
|
|
1372
|
+
readonly output: {
|
|
1373
|
+
readonly type: "object";
|
|
1374
|
+
readonly properties: {
|
|
1375
|
+
readonly directory: {
|
|
1376
|
+
readonly type: "string";
|
|
1377
|
+
};
|
|
1378
|
+
readonly decisions: {
|
|
1379
|
+
readonly type: "array";
|
|
1380
|
+
readonly items: {
|
|
1381
|
+
readonly type: "object";
|
|
1382
|
+
readonly properties: {
|
|
1383
|
+
readonly at: {
|
|
1384
|
+
readonly type: "string";
|
|
1385
|
+
};
|
|
1386
|
+
readonly sessionID: {
|
|
1387
|
+
readonly type: "string";
|
|
1388
|
+
};
|
|
1389
|
+
readonly kind: {
|
|
1390
|
+
readonly type: "string";
|
|
1391
|
+
readonly enum: readonly ["chat", "helper"];
|
|
1392
|
+
};
|
|
1393
|
+
readonly mode: {
|
|
1394
|
+
readonly anyOf: readonly [{
|
|
1395
|
+
readonly type: "string";
|
|
1396
|
+
readonly enum: readonly ["plan", "execute", "review"];
|
|
1397
|
+
}, {
|
|
1398
|
+
readonly type: "null";
|
|
1399
|
+
}];
|
|
1400
|
+
};
|
|
1401
|
+
readonly confidence: {
|
|
1402
|
+
readonly anyOf: readonly [{
|
|
1403
|
+
readonly type: "number";
|
|
1404
|
+
}, {
|
|
1405
|
+
readonly type: "null";
|
|
1406
|
+
}];
|
|
1407
|
+
};
|
|
1408
|
+
readonly fit: {
|
|
1409
|
+
readonly anyOf: readonly [{
|
|
1410
|
+
readonly type: "number";
|
|
1411
|
+
}, {
|
|
1412
|
+
readonly type: "null";
|
|
1413
|
+
}];
|
|
1414
|
+
};
|
|
1415
|
+
readonly model: {
|
|
1416
|
+
readonly anyOf: readonly [{
|
|
1417
|
+
readonly type: "string";
|
|
1418
|
+
}, {
|
|
1419
|
+
readonly type: "null";
|
|
1420
|
+
}];
|
|
1421
|
+
};
|
|
1422
|
+
readonly ms: {
|
|
1423
|
+
readonly type: "number";
|
|
1424
|
+
};
|
|
1425
|
+
readonly costUsd: {
|
|
1426
|
+
readonly anyOf: readonly [{
|
|
1427
|
+
readonly type: "string";
|
|
1428
|
+
}, {
|
|
1429
|
+
readonly type: "null";
|
|
1430
|
+
}];
|
|
1431
|
+
};
|
|
1432
|
+
readonly note: {
|
|
1433
|
+
readonly anyOf: readonly [{
|
|
1434
|
+
readonly type: "string";
|
|
1435
|
+
}, {
|
|
1436
|
+
readonly type: "null";
|
|
1437
|
+
}];
|
|
1438
|
+
};
|
|
1439
|
+
readonly messageID: {
|
|
1440
|
+
readonly anyOf: readonly [{
|
|
1441
|
+
readonly type: "string";
|
|
1442
|
+
}, {
|
|
1443
|
+
readonly type: "null";
|
|
1444
|
+
}];
|
|
1445
|
+
};
|
|
1446
|
+
readonly reply: {
|
|
1447
|
+
readonly anyOf: readonly [{
|
|
1448
|
+
readonly type: "object";
|
|
1449
|
+
readonly properties: {
|
|
1450
|
+
readonly requests: {
|
|
1451
|
+
readonly type: "number";
|
|
1452
|
+
};
|
|
1453
|
+
readonly fresh: {
|
|
1454
|
+
readonly type: "number";
|
|
1455
|
+
};
|
|
1456
|
+
readonly cached: {
|
|
1457
|
+
readonly type: "number";
|
|
1458
|
+
};
|
|
1459
|
+
readonly costUsd: {
|
|
1460
|
+
readonly anyOf: readonly [{
|
|
1461
|
+
readonly type: "string";
|
|
1462
|
+
}, {
|
|
1463
|
+
readonly type: "null";
|
|
1464
|
+
}];
|
|
1465
|
+
};
|
|
1466
|
+
readonly seconds: {
|
|
1467
|
+
readonly anyOf: readonly [{
|
|
1468
|
+
readonly type: "number";
|
|
1469
|
+
}, {
|
|
1470
|
+
readonly type: "null";
|
|
1471
|
+
}];
|
|
1472
|
+
};
|
|
1473
|
+
readonly model: {
|
|
1474
|
+
readonly anyOf: readonly [{
|
|
1475
|
+
readonly type: "string";
|
|
1476
|
+
}, {
|
|
1477
|
+
readonly type: "null";
|
|
1478
|
+
}];
|
|
1479
|
+
};
|
|
1480
|
+
readonly total: {
|
|
1481
|
+
readonly anyOf: readonly [{
|
|
1482
|
+
readonly type: "object";
|
|
1483
|
+
readonly properties: {
|
|
1484
|
+
readonly input: {
|
|
1485
|
+
readonly type: "number";
|
|
1486
|
+
};
|
|
1487
|
+
readonly output: {
|
|
1488
|
+
readonly type: "number";
|
|
1489
|
+
};
|
|
1490
|
+
readonly reasoning: {
|
|
1491
|
+
readonly type: "number";
|
|
1492
|
+
};
|
|
1493
|
+
readonly cacheRead: {
|
|
1494
|
+
readonly type: "number";
|
|
1495
|
+
};
|
|
1496
|
+
readonly cacheWrite: {
|
|
1497
|
+
readonly type: "number";
|
|
1498
|
+
};
|
|
1499
|
+
readonly costUsd: {
|
|
1500
|
+
readonly anyOf: readonly [{
|
|
1501
|
+
readonly type: "string";
|
|
1502
|
+
}, {
|
|
1503
|
+
readonly type: "null";
|
|
1504
|
+
}];
|
|
1505
|
+
};
|
|
1506
|
+
};
|
|
1507
|
+
readonly required: readonly ["input", "output", "reasoning", "cacheRead", "cacheWrite", "costUsd"];
|
|
1508
|
+
readonly additionalProperties: false;
|
|
1509
|
+
}, {
|
|
1510
|
+
readonly type: "null";
|
|
1511
|
+
}];
|
|
1512
|
+
};
|
|
1513
|
+
readonly prices: {
|
|
1514
|
+
readonly anyOf: readonly [{
|
|
1515
|
+
readonly type: "object";
|
|
1516
|
+
readonly properties: {
|
|
1517
|
+
readonly inputPerMillion: {
|
|
1518
|
+
readonly anyOf: readonly [{
|
|
1519
|
+
readonly type: "string";
|
|
1520
|
+
}, {
|
|
1521
|
+
readonly type: "null";
|
|
1522
|
+
}];
|
|
1523
|
+
};
|
|
1524
|
+
readonly outputPerMillion: {
|
|
1525
|
+
readonly anyOf: readonly [{
|
|
1526
|
+
readonly type: "string";
|
|
1527
|
+
}, {
|
|
1528
|
+
readonly type: "null";
|
|
1529
|
+
}];
|
|
1530
|
+
};
|
|
1531
|
+
readonly cacheReadPerMillion: {
|
|
1532
|
+
readonly anyOf: readonly [{
|
|
1533
|
+
readonly type: "string";
|
|
1534
|
+
}, {
|
|
1535
|
+
readonly type: "null";
|
|
1536
|
+
}];
|
|
1537
|
+
};
|
|
1538
|
+
readonly cacheWritePerMillion: {
|
|
1539
|
+
readonly anyOf: readonly [{
|
|
1540
|
+
readonly type: "string";
|
|
1541
|
+
}, {
|
|
1542
|
+
readonly type: "null";
|
|
1543
|
+
}];
|
|
1544
|
+
};
|
|
1545
|
+
};
|
|
1546
|
+
readonly required: readonly ["inputPerMillion", "outputPerMillion", "cacheReadPerMillion", "cacheWritePerMillion"];
|
|
1547
|
+
readonly additionalProperties: false;
|
|
1548
|
+
}, {
|
|
1549
|
+
readonly type: "null";
|
|
1550
|
+
}];
|
|
1551
|
+
};
|
|
1552
|
+
readonly pricesFrom: {
|
|
1553
|
+
readonly anyOf: readonly [{
|
|
1554
|
+
readonly type: "string";
|
|
1555
|
+
readonly enum: readonly ["opencode", "artificial-analysis"];
|
|
1556
|
+
}, {
|
|
1557
|
+
readonly type: "null";
|
|
1558
|
+
}];
|
|
1559
|
+
};
|
|
1560
|
+
};
|
|
1561
|
+
readonly required: readonly ["requests", "fresh", "cached", "costUsd", "seconds", "model", "total", "prices", "pricesFrom"];
|
|
1562
|
+
readonly additionalProperties: false;
|
|
1563
|
+
}, {
|
|
1564
|
+
readonly type: "null";
|
|
1565
|
+
}];
|
|
1566
|
+
};
|
|
1567
|
+
};
|
|
1568
|
+
readonly required: readonly ["at", "sessionID", "kind", "mode", "confidence", "fit", "model", "ms", "costUsd", "note", "messageID", "reply"];
|
|
1569
|
+
readonly additionalProperties: false;
|
|
1570
|
+
};
|
|
1571
|
+
};
|
|
1572
|
+
};
|
|
1573
|
+
readonly required: readonly ["directory", "decisions"];
|
|
1574
|
+
readonly additionalProperties: false;
|
|
1575
|
+
};
|
|
1576
|
+
};
|
|
1577
|
+
readonly setRelayChat: {
|
|
1578
|
+
readonly errors: {
|
|
1579
|
+
readonly rejected: {
|
|
1580
|
+
readonly type: "object";
|
|
1581
|
+
readonly properties: {};
|
|
1582
|
+
readonly additionalProperties: false;
|
|
1583
|
+
};
|
|
1584
|
+
};
|
|
1585
|
+
readonly input: {
|
|
1586
|
+
readonly type: "object";
|
|
1587
|
+
readonly properties: {
|
|
1588
|
+
readonly sessionID: {
|
|
1589
|
+
readonly type: "string";
|
|
1590
|
+
};
|
|
1591
|
+
readonly on: {
|
|
1592
|
+
readonly type: "boolean";
|
|
1593
|
+
};
|
|
1594
|
+
};
|
|
1595
|
+
readonly required: readonly ["sessionID", "on"];
|
|
1596
|
+
readonly additionalProperties: false;
|
|
1597
|
+
};
|
|
1598
|
+
readonly output: {
|
|
1599
|
+
readonly type: "object";
|
|
1600
|
+
readonly properties: {
|
|
1601
|
+
readonly on: {
|
|
1602
|
+
readonly type: "boolean";
|
|
1603
|
+
};
|
|
1604
|
+
};
|
|
1605
|
+
readonly required: readonly ["on"];
|
|
1606
|
+
readonly additionalProperties: false;
|
|
1607
|
+
};
|
|
1608
|
+
};
|
|
1609
|
+
readonly testDecider: {
|
|
1610
|
+
readonly errors: {
|
|
1611
|
+
readonly rejected: {
|
|
1612
|
+
readonly type: "object";
|
|
1613
|
+
readonly properties: {};
|
|
1614
|
+
readonly additionalProperties: false;
|
|
1615
|
+
};
|
|
1616
|
+
};
|
|
1617
|
+
readonly input: {
|
|
1618
|
+
readonly type: "object";
|
|
1619
|
+
readonly properties: {
|
|
1620
|
+
readonly text: {
|
|
1621
|
+
readonly type: "string";
|
|
1622
|
+
};
|
|
1623
|
+
};
|
|
1624
|
+
readonly required: readonly ["text"];
|
|
1625
|
+
readonly additionalProperties: false;
|
|
1626
|
+
};
|
|
1627
|
+
readonly output: {
|
|
1628
|
+
readonly type: "object";
|
|
1629
|
+
readonly properties: {
|
|
1630
|
+
readonly directory: {
|
|
1631
|
+
readonly type: "string";
|
|
1632
|
+
};
|
|
1633
|
+
readonly mode: {
|
|
1634
|
+
readonly anyOf: readonly [{
|
|
1635
|
+
readonly type: "string";
|
|
1636
|
+
readonly enum: readonly ["plan", "execute", "review"];
|
|
1637
|
+
}, {
|
|
1638
|
+
readonly type: "null";
|
|
1639
|
+
}];
|
|
1640
|
+
};
|
|
1641
|
+
readonly confidence: {
|
|
1642
|
+
readonly anyOf: readonly [{
|
|
1643
|
+
readonly type: "number";
|
|
1644
|
+
}, {
|
|
1645
|
+
readonly type: "null";
|
|
1646
|
+
}];
|
|
1647
|
+
};
|
|
1648
|
+
readonly model: {
|
|
1649
|
+
readonly anyOf: readonly [{
|
|
1650
|
+
readonly type: "string";
|
|
1651
|
+
}, {
|
|
1652
|
+
readonly type: "null";
|
|
1653
|
+
}];
|
|
1654
|
+
};
|
|
1655
|
+
readonly fit: {
|
|
1656
|
+
readonly anyOf: readonly [{
|
|
1657
|
+
readonly type: "number";
|
|
1658
|
+
}, {
|
|
1659
|
+
readonly type: "null";
|
|
1660
|
+
}];
|
|
1661
|
+
};
|
|
1662
|
+
readonly ms: {
|
|
1663
|
+
readonly type: "number";
|
|
1664
|
+
};
|
|
1665
|
+
readonly costUsd: {
|
|
1666
|
+
readonly anyOf: readonly [{
|
|
1667
|
+
readonly type: "string";
|
|
1668
|
+
}, {
|
|
1669
|
+
readonly type: "null";
|
|
1670
|
+
}];
|
|
1671
|
+
};
|
|
1672
|
+
readonly note: {
|
|
1673
|
+
readonly anyOf: readonly [{
|
|
1674
|
+
readonly type: "string";
|
|
1675
|
+
}, {
|
|
1676
|
+
readonly type: "null";
|
|
1677
|
+
}];
|
|
1678
|
+
};
|
|
1679
|
+
};
|
|
1680
|
+
readonly required: readonly ["directory", "mode", "confidence", "model", "fit", "ms", "costUsd", "note"];
|
|
1681
|
+
readonly additionalProperties: false;
|
|
1682
|
+
};
|
|
1683
|
+
};
|
|
1684
|
+
readonly getRelayUsage: {
|
|
1685
|
+
readonly errors: {
|
|
1686
|
+
readonly rejected: {
|
|
1687
|
+
readonly type: "object";
|
|
1688
|
+
readonly properties: {};
|
|
1689
|
+
readonly additionalProperties: false;
|
|
1690
|
+
};
|
|
1691
|
+
};
|
|
1692
|
+
readonly input: {
|
|
1693
|
+
readonly type: "object";
|
|
1694
|
+
readonly properties: {};
|
|
1695
|
+
readonly additionalProperties: false;
|
|
1696
|
+
};
|
|
1697
|
+
readonly output: {
|
|
1698
|
+
readonly type: "object";
|
|
1699
|
+
readonly properties: {
|
|
1700
|
+
readonly directory: {
|
|
1701
|
+
readonly type: "string";
|
|
1702
|
+
};
|
|
1703
|
+
readonly since: {
|
|
1704
|
+
readonly anyOf: readonly [{
|
|
1705
|
+
readonly type: "string";
|
|
1706
|
+
}, {
|
|
1707
|
+
readonly type: "null";
|
|
1708
|
+
}];
|
|
1709
|
+
};
|
|
1710
|
+
readonly rows: {
|
|
1711
|
+
readonly type: "array";
|
|
1712
|
+
readonly items: {
|
|
1713
|
+
readonly type: "object";
|
|
1714
|
+
readonly properties: {
|
|
1715
|
+
readonly model: {
|
|
1716
|
+
readonly type: "string";
|
|
1717
|
+
};
|
|
1718
|
+
readonly messages: {
|
|
1719
|
+
readonly type: "number";
|
|
1720
|
+
};
|
|
1721
|
+
readonly requests: {
|
|
1722
|
+
readonly type: "number";
|
|
1723
|
+
};
|
|
1724
|
+
readonly input: {
|
|
1725
|
+
readonly type: "number";
|
|
1726
|
+
};
|
|
1727
|
+
readonly output: {
|
|
1728
|
+
readonly type: "number";
|
|
1729
|
+
};
|
|
1730
|
+
readonly reasoning: {
|
|
1731
|
+
readonly type: "number";
|
|
1732
|
+
};
|
|
1733
|
+
readonly cacheRead: {
|
|
1734
|
+
readonly type: "number";
|
|
1735
|
+
};
|
|
1736
|
+
readonly cacheWrite: {
|
|
1737
|
+
readonly type: "number";
|
|
1738
|
+
};
|
|
1739
|
+
readonly openCodeUsd: {
|
|
1740
|
+
readonly anyOf: readonly [{
|
|
1741
|
+
readonly type: "string";
|
|
1742
|
+
}, {
|
|
1743
|
+
readonly type: "null";
|
|
1744
|
+
}];
|
|
1745
|
+
};
|
|
1746
|
+
readonly byPrice: {
|
|
1747
|
+
readonly type: "object";
|
|
1748
|
+
readonly properties: {
|
|
1749
|
+
readonly input: {
|
|
1750
|
+
readonly anyOf: readonly [{
|
|
1751
|
+
readonly type: "string";
|
|
1752
|
+
}, {
|
|
1753
|
+
readonly type: "null";
|
|
1754
|
+
}];
|
|
1755
|
+
};
|
|
1756
|
+
readonly output: {
|
|
1757
|
+
readonly anyOf: readonly [{
|
|
1758
|
+
readonly type: "string";
|
|
1759
|
+
}, {
|
|
1760
|
+
readonly type: "null";
|
|
1761
|
+
}];
|
|
1762
|
+
};
|
|
1763
|
+
readonly cacheRead: {
|
|
1764
|
+
readonly anyOf: readonly [{
|
|
1765
|
+
readonly type: "string";
|
|
1766
|
+
}, {
|
|
1767
|
+
readonly type: "null";
|
|
1768
|
+
}];
|
|
1769
|
+
};
|
|
1770
|
+
readonly cacheWrite: {
|
|
1771
|
+
readonly anyOf: readonly [{
|
|
1772
|
+
readonly type: "string";
|
|
1773
|
+
}, {
|
|
1774
|
+
readonly type: "null";
|
|
1775
|
+
}];
|
|
1776
|
+
};
|
|
1777
|
+
};
|
|
1778
|
+
readonly required: readonly ["input", "output", "cacheRead", "cacheWrite"];
|
|
1779
|
+
readonly additionalProperties: false;
|
|
1780
|
+
};
|
|
1781
|
+
readonly prices: {
|
|
1782
|
+
readonly anyOf: readonly [{
|
|
1783
|
+
readonly type: "object";
|
|
1784
|
+
readonly properties: {
|
|
1785
|
+
readonly inputPerMillion: {
|
|
1786
|
+
readonly anyOf: readonly [{
|
|
1787
|
+
readonly type: "string";
|
|
1788
|
+
}, {
|
|
1789
|
+
readonly type: "null";
|
|
1790
|
+
}];
|
|
1791
|
+
};
|
|
1792
|
+
readonly outputPerMillion: {
|
|
1793
|
+
readonly anyOf: readonly [{
|
|
1794
|
+
readonly type: "string";
|
|
1795
|
+
}, {
|
|
1796
|
+
readonly type: "null";
|
|
1797
|
+
}];
|
|
1798
|
+
};
|
|
1799
|
+
readonly cacheReadPerMillion: {
|
|
1800
|
+
readonly anyOf: readonly [{
|
|
1801
|
+
readonly type: "string";
|
|
1802
|
+
}, {
|
|
1803
|
+
readonly type: "null";
|
|
1804
|
+
}];
|
|
1805
|
+
};
|
|
1806
|
+
readonly cacheWritePerMillion: {
|
|
1807
|
+
readonly anyOf: readonly [{
|
|
1808
|
+
readonly type: "string";
|
|
1809
|
+
}, {
|
|
1810
|
+
readonly type: "null";
|
|
1811
|
+
}];
|
|
1812
|
+
};
|
|
1813
|
+
};
|
|
1814
|
+
readonly required: readonly ["inputPerMillion", "outputPerMillion", "cacheReadPerMillion", "cacheWritePerMillion"];
|
|
1815
|
+
readonly additionalProperties: false;
|
|
1816
|
+
}, {
|
|
1817
|
+
readonly type: "null";
|
|
1818
|
+
}];
|
|
1819
|
+
};
|
|
1820
|
+
readonly pricesFrom: {
|
|
1821
|
+
readonly anyOf: readonly [{
|
|
1822
|
+
readonly type: "string";
|
|
1823
|
+
readonly enum: readonly ["opencode", "artificial-analysis"];
|
|
1824
|
+
}, {
|
|
1825
|
+
readonly type: "null";
|
|
1826
|
+
}];
|
|
1827
|
+
};
|
|
1828
|
+
};
|
|
1829
|
+
readonly required: readonly ["model", "messages", "requests", "input", "output", "reasoning", "cacheRead", "cacheWrite", "openCodeUsd", "byPrice", "prices", "pricesFrom"];
|
|
1830
|
+
readonly additionalProperties: false;
|
|
1831
|
+
};
|
|
1832
|
+
};
|
|
1833
|
+
readonly credit: {
|
|
1834
|
+
readonly anyOf: readonly [{
|
|
1835
|
+
readonly type: "string";
|
|
1836
|
+
}, {
|
|
1837
|
+
readonly type: "null";
|
|
1838
|
+
}];
|
|
1839
|
+
};
|
|
1840
|
+
};
|
|
1841
|
+
readonly required: readonly ["directory", "since", "rows", "credit"];
|
|
1842
|
+
readonly additionalProperties: false;
|
|
1843
|
+
};
|
|
1844
|
+
};
|
|
1845
|
+
readonly getUsageLog: {
|
|
1846
|
+
readonly errors: {
|
|
1847
|
+
readonly rejected: {
|
|
1848
|
+
readonly type: "object";
|
|
1849
|
+
readonly properties: {};
|
|
1850
|
+
readonly additionalProperties: false;
|
|
1851
|
+
};
|
|
1852
|
+
};
|
|
1853
|
+
readonly input: {
|
|
1854
|
+
readonly type: "object";
|
|
1855
|
+
readonly properties: {
|
|
1856
|
+
readonly from: {
|
|
1857
|
+
readonly type: "string";
|
|
1858
|
+
};
|
|
1859
|
+
readonly to: {
|
|
1860
|
+
readonly type: "string";
|
|
1861
|
+
};
|
|
1862
|
+
readonly tzOffsetMinutes: {
|
|
1863
|
+
readonly type: "integer";
|
|
1864
|
+
readonly minimum: -840;
|
|
1865
|
+
readonly maximum: 840;
|
|
1866
|
+
};
|
|
1867
|
+
readonly timeZone: {
|
|
1868
|
+
readonly anyOf: readonly [{
|
|
1869
|
+
readonly type: "string";
|
|
1870
|
+
readonly maxLength: 64;
|
|
1871
|
+
}, {
|
|
1872
|
+
readonly type: "null";
|
|
1873
|
+
}];
|
|
1874
|
+
};
|
|
1875
|
+
readonly search: {
|
|
1876
|
+
readonly type: "string";
|
|
1877
|
+
readonly maxLength: 200;
|
|
1878
|
+
};
|
|
1879
|
+
readonly provider: {
|
|
1880
|
+
readonly anyOf: readonly [{
|
|
1881
|
+
readonly type: "string";
|
|
1882
|
+
}, {
|
|
1883
|
+
readonly type: "null";
|
|
1884
|
+
}];
|
|
1885
|
+
};
|
|
1886
|
+
readonly effort: {
|
|
1887
|
+
readonly anyOf: readonly [{
|
|
1888
|
+
readonly type: "string";
|
|
1889
|
+
}, {
|
|
1890
|
+
readonly type: "null";
|
|
1891
|
+
}];
|
|
1892
|
+
};
|
|
1893
|
+
readonly mode: {
|
|
1894
|
+
readonly anyOf: readonly [{
|
|
1895
|
+
readonly type: "string";
|
|
1896
|
+
}, {
|
|
1897
|
+
readonly type: "null";
|
|
1898
|
+
}];
|
|
1899
|
+
};
|
|
1900
|
+
readonly relay: {
|
|
1901
|
+
readonly type: "string";
|
|
1902
|
+
readonly enum: readonly ["any", "on", "off"];
|
|
1903
|
+
};
|
|
1904
|
+
readonly kind: {
|
|
1905
|
+
readonly type: "string";
|
|
1906
|
+
readonly enum: readonly ["any", "chat", "helper", "summary"];
|
|
1907
|
+
};
|
|
1908
|
+
readonly project: {
|
|
1909
|
+
readonly anyOf: readonly [{
|
|
1910
|
+
readonly type: "string";
|
|
1911
|
+
}, {
|
|
1912
|
+
readonly type: "null";
|
|
1913
|
+
}];
|
|
1914
|
+
};
|
|
1915
|
+
readonly offset: {
|
|
1916
|
+
readonly type: "integer";
|
|
1917
|
+
readonly minimum: 0;
|
|
1918
|
+
};
|
|
1919
|
+
readonly limit: {
|
|
1920
|
+
readonly type: "integer";
|
|
1921
|
+
readonly minimum: 1;
|
|
1922
|
+
readonly maximum: 200;
|
|
1923
|
+
};
|
|
1924
|
+
};
|
|
1925
|
+
readonly required: readonly ["from", "to", "tzOffsetMinutes", "search", "provider", "effort", "mode", "relay", "kind", "project", "offset", "limit"];
|
|
1926
|
+
readonly additionalProperties: false;
|
|
1927
|
+
};
|
|
1928
|
+
readonly output: {
|
|
1929
|
+
readonly type: "object";
|
|
1930
|
+
readonly properties: {
|
|
1931
|
+
readonly directory: {
|
|
1932
|
+
readonly type: "string";
|
|
1933
|
+
};
|
|
1934
|
+
readonly days: {
|
|
1935
|
+
readonly type: "array";
|
|
1936
|
+
readonly items: {
|
|
1937
|
+
readonly type: "object";
|
|
1938
|
+
readonly properties: {
|
|
1939
|
+
readonly day: {
|
|
1940
|
+
readonly type: "string";
|
|
1941
|
+
};
|
|
1942
|
+
readonly models: {
|
|
1943
|
+
readonly type: "array";
|
|
1944
|
+
readonly items: {
|
|
1945
|
+
readonly type: "object";
|
|
1946
|
+
readonly properties: {
|
|
1947
|
+
readonly model: {
|
|
1948
|
+
readonly type: "string";
|
|
1949
|
+
};
|
|
1950
|
+
readonly cost: {
|
|
1951
|
+
readonly anyOf: readonly [{
|
|
1952
|
+
readonly type: "string";
|
|
1953
|
+
}, {
|
|
1954
|
+
readonly type: "null";
|
|
1955
|
+
}];
|
|
1956
|
+
};
|
|
1957
|
+
readonly tokens: {
|
|
1958
|
+
readonly type: "number";
|
|
1959
|
+
};
|
|
1960
|
+
readonly requests: {
|
|
1961
|
+
readonly type: "number";
|
|
1962
|
+
};
|
|
1963
|
+
};
|
|
1964
|
+
readonly required: readonly ["model", "cost", "tokens", "requests"];
|
|
1965
|
+
readonly additionalProperties: false;
|
|
1966
|
+
};
|
|
1967
|
+
};
|
|
1968
|
+
};
|
|
1969
|
+
readonly required: readonly ["day", "models"];
|
|
1970
|
+
readonly additionalProperties: false;
|
|
1971
|
+
};
|
|
1972
|
+
};
|
|
1973
|
+
readonly totals: {
|
|
1974
|
+
readonly type: "array";
|
|
1975
|
+
readonly items: {
|
|
1976
|
+
readonly type: "object";
|
|
1977
|
+
readonly properties: {
|
|
1978
|
+
readonly model: {
|
|
1979
|
+
readonly type: "string";
|
|
1980
|
+
};
|
|
1981
|
+
readonly replies: {
|
|
1982
|
+
readonly type: "number";
|
|
1983
|
+
};
|
|
1984
|
+
readonly requests: {
|
|
1985
|
+
readonly type: "number";
|
|
1986
|
+
};
|
|
1987
|
+
readonly input: {
|
|
1988
|
+
readonly type: "number";
|
|
1989
|
+
};
|
|
1990
|
+
readonly output: {
|
|
1991
|
+
readonly type: "number";
|
|
1992
|
+
};
|
|
1993
|
+
readonly reasoning: {
|
|
1994
|
+
readonly type: "number";
|
|
1995
|
+
};
|
|
1996
|
+
readonly cacheRead: {
|
|
1997
|
+
readonly type: "number";
|
|
1998
|
+
};
|
|
1999
|
+
readonly cacheWrite: {
|
|
2000
|
+
readonly type: "number";
|
|
2001
|
+
};
|
|
2002
|
+
readonly cost: {
|
|
2003
|
+
readonly anyOf: readonly [{
|
|
2004
|
+
readonly type: "string";
|
|
2005
|
+
}, {
|
|
2006
|
+
readonly type: "null";
|
|
2007
|
+
}];
|
|
2008
|
+
};
|
|
2009
|
+
readonly aaPriced: {
|
|
2010
|
+
readonly type: "boolean";
|
|
2011
|
+
};
|
|
2012
|
+
readonly unpriced: {
|
|
2013
|
+
readonly type: "number";
|
|
2014
|
+
};
|
|
2015
|
+
};
|
|
2016
|
+
readonly required: readonly ["model", "replies", "requests", "input", "output", "reasoning", "cacheRead", "cacheWrite", "cost", "aaPriced", "unpriced"];
|
|
2017
|
+
readonly additionalProperties: false;
|
|
2018
|
+
};
|
|
2019
|
+
};
|
|
2020
|
+
readonly options: {
|
|
2021
|
+
readonly type: "object";
|
|
2022
|
+
readonly properties: {
|
|
2023
|
+
readonly providers: {
|
|
2024
|
+
readonly type: "array";
|
|
2025
|
+
readonly items: {
|
|
2026
|
+
readonly type: "string";
|
|
2027
|
+
};
|
|
2028
|
+
};
|
|
2029
|
+
readonly efforts: {
|
|
2030
|
+
readonly type: "array";
|
|
2031
|
+
readonly items: {
|
|
2032
|
+
readonly type: "string";
|
|
2033
|
+
};
|
|
2034
|
+
};
|
|
2035
|
+
readonly modes: {
|
|
2036
|
+
readonly type: "array";
|
|
2037
|
+
readonly items: {
|
|
2038
|
+
readonly type: "string";
|
|
2039
|
+
};
|
|
2040
|
+
};
|
|
2041
|
+
readonly projects: {
|
|
2042
|
+
readonly type: "array";
|
|
2043
|
+
readonly items: {
|
|
2044
|
+
readonly type: "string";
|
|
2045
|
+
};
|
|
2046
|
+
};
|
|
2047
|
+
};
|
|
2048
|
+
readonly required: readonly ["providers", "efforts", "modes", "projects"];
|
|
2049
|
+
readonly additionalProperties: false;
|
|
2050
|
+
};
|
|
2051
|
+
readonly records: {
|
|
2052
|
+
readonly type: "array";
|
|
2053
|
+
readonly items: {
|
|
2054
|
+
readonly type: "object";
|
|
2055
|
+
readonly properties: {
|
|
2056
|
+
readonly at: {
|
|
2057
|
+
readonly type: "string";
|
|
2058
|
+
};
|
|
2059
|
+
readonly sessionID: {
|
|
2060
|
+
readonly type: "string";
|
|
2061
|
+
};
|
|
2062
|
+
readonly messageID: {
|
|
2063
|
+
readonly type: "string";
|
|
2064
|
+
};
|
|
2065
|
+
readonly project: {
|
|
2066
|
+
readonly type: "string";
|
|
2067
|
+
};
|
|
2068
|
+
readonly kind: {
|
|
2069
|
+
readonly type: "string";
|
|
2070
|
+
readonly enum: readonly ["chat", "helper", "summary"];
|
|
2071
|
+
};
|
|
2072
|
+
readonly agent: {
|
|
2073
|
+
readonly anyOf: readonly [{
|
|
2074
|
+
readonly type: "string";
|
|
2075
|
+
}, {
|
|
2076
|
+
readonly type: "null";
|
|
2077
|
+
}];
|
|
2078
|
+
};
|
|
2079
|
+
readonly model: {
|
|
2080
|
+
readonly anyOf: readonly [{
|
|
2081
|
+
readonly type: "string";
|
|
2082
|
+
}, {
|
|
2083
|
+
readonly type: "null";
|
|
2084
|
+
}];
|
|
2085
|
+
};
|
|
2086
|
+
readonly requests: {
|
|
2087
|
+
readonly type: "number";
|
|
2088
|
+
};
|
|
2089
|
+
readonly input: {
|
|
2090
|
+
readonly type: "number";
|
|
2091
|
+
};
|
|
2092
|
+
readonly output: {
|
|
2093
|
+
readonly type: "number";
|
|
2094
|
+
};
|
|
2095
|
+
readonly reasoning: {
|
|
2096
|
+
readonly type: "number";
|
|
2097
|
+
};
|
|
2098
|
+
readonly cacheRead: {
|
|
2099
|
+
readonly type: "number";
|
|
2100
|
+
};
|
|
2101
|
+
readonly cacheWrite: {
|
|
2102
|
+
readonly type: "number";
|
|
2103
|
+
};
|
|
2104
|
+
readonly costByPrice: {
|
|
2105
|
+
readonly anyOf: readonly [{
|
|
2106
|
+
readonly type: "string";
|
|
2107
|
+
}, {
|
|
2108
|
+
readonly type: "null";
|
|
2109
|
+
}];
|
|
2110
|
+
};
|
|
2111
|
+
readonly openCodeUsd: {
|
|
2112
|
+
readonly anyOf: readonly [{
|
|
2113
|
+
readonly type: "string";
|
|
2114
|
+
}, {
|
|
2115
|
+
readonly type: "null";
|
|
2116
|
+
}];
|
|
2117
|
+
};
|
|
2118
|
+
readonly pricesFrom: {
|
|
2119
|
+
readonly anyOf: readonly [{
|
|
2120
|
+
readonly type: "string";
|
|
2121
|
+
readonly enum: readonly ["opencode", "artificial-analysis"];
|
|
2122
|
+
}, {
|
|
2123
|
+
readonly type: "null";
|
|
2124
|
+
}];
|
|
2125
|
+
};
|
|
2126
|
+
readonly relay: {
|
|
2127
|
+
readonly anyOf: readonly [{
|
|
2128
|
+
readonly type: "object";
|
|
2129
|
+
readonly properties: {
|
|
2130
|
+
readonly mode: {
|
|
2131
|
+
readonly anyOf: readonly [{
|
|
2132
|
+
readonly type: "string";
|
|
2133
|
+
readonly enum: readonly ["plan", "execute", "review"];
|
|
2134
|
+
}, {
|
|
2135
|
+
readonly type: "null";
|
|
2136
|
+
}];
|
|
2137
|
+
};
|
|
2138
|
+
readonly note: {
|
|
2139
|
+
readonly anyOf: readonly [{
|
|
2140
|
+
readonly type: "string";
|
|
2141
|
+
}, {
|
|
2142
|
+
readonly type: "null";
|
|
2143
|
+
}];
|
|
2144
|
+
};
|
|
2145
|
+
};
|
|
2146
|
+
readonly required: readonly ["mode", "note"];
|
|
2147
|
+
readonly additionalProperties: false;
|
|
2148
|
+
}, {
|
|
2149
|
+
readonly type: "null";
|
|
2150
|
+
}];
|
|
2151
|
+
};
|
|
2152
|
+
};
|
|
2153
|
+
readonly required: readonly ["at", "sessionID", "messageID", "project", "kind", "agent", "model", "requests", "input", "output", "reasoning", "cacheRead", "cacheWrite", "costByPrice", "openCodeUsd", "pricesFrom", "relay"];
|
|
2154
|
+
readonly additionalProperties: false;
|
|
2155
|
+
};
|
|
2156
|
+
};
|
|
2157
|
+
readonly matching: {
|
|
2158
|
+
readonly type: "number";
|
|
2159
|
+
};
|
|
2160
|
+
readonly first: {
|
|
2161
|
+
readonly anyOf: readonly [{
|
|
2162
|
+
readonly type: "string";
|
|
2163
|
+
}, {
|
|
2164
|
+
readonly type: "null";
|
|
2165
|
+
}];
|
|
2166
|
+
};
|
|
2167
|
+
readonly before: {
|
|
2168
|
+
readonly type: "object";
|
|
2169
|
+
readonly properties: {
|
|
2170
|
+
readonly since: {
|
|
2171
|
+
readonly anyOf: readonly [{
|
|
2172
|
+
readonly type: "string";
|
|
2173
|
+
}, {
|
|
2174
|
+
readonly type: "null";
|
|
2175
|
+
}];
|
|
2176
|
+
};
|
|
2177
|
+
readonly rows: {
|
|
2178
|
+
readonly type: "array";
|
|
2179
|
+
readonly items: {
|
|
2180
|
+
readonly type: "object";
|
|
2181
|
+
readonly properties: {
|
|
2182
|
+
readonly model: {
|
|
2183
|
+
readonly type: "string";
|
|
2184
|
+
};
|
|
2185
|
+
readonly messages: {
|
|
2186
|
+
readonly type: "number";
|
|
2187
|
+
};
|
|
2188
|
+
readonly requests: {
|
|
2189
|
+
readonly type: "number";
|
|
2190
|
+
};
|
|
2191
|
+
readonly input: {
|
|
2192
|
+
readonly type: "number";
|
|
2193
|
+
};
|
|
2194
|
+
readonly output: {
|
|
2195
|
+
readonly type: "number";
|
|
2196
|
+
};
|
|
2197
|
+
readonly reasoning: {
|
|
2198
|
+
readonly type: "number";
|
|
2199
|
+
};
|
|
2200
|
+
readonly cacheRead: {
|
|
2201
|
+
readonly type: "number";
|
|
2202
|
+
};
|
|
2203
|
+
readonly cacheWrite: {
|
|
2204
|
+
readonly type: "number";
|
|
2205
|
+
};
|
|
2206
|
+
readonly openCodeUsd: {
|
|
2207
|
+
readonly anyOf: readonly [{
|
|
2208
|
+
readonly type: "string";
|
|
2209
|
+
}, {
|
|
2210
|
+
readonly type: "null";
|
|
2211
|
+
}];
|
|
2212
|
+
};
|
|
2213
|
+
readonly byPrice: {
|
|
2214
|
+
readonly type: "object";
|
|
2215
|
+
readonly properties: {
|
|
2216
|
+
readonly input: {
|
|
2217
|
+
readonly anyOf: readonly [{
|
|
2218
|
+
readonly type: "string";
|
|
2219
|
+
}, {
|
|
2220
|
+
readonly type: "null";
|
|
2221
|
+
}];
|
|
2222
|
+
};
|
|
2223
|
+
readonly output: {
|
|
2224
|
+
readonly anyOf: readonly [{
|
|
2225
|
+
readonly type: "string";
|
|
2226
|
+
}, {
|
|
2227
|
+
readonly type: "null";
|
|
2228
|
+
}];
|
|
2229
|
+
};
|
|
2230
|
+
readonly cacheRead: {
|
|
2231
|
+
readonly anyOf: readonly [{
|
|
2232
|
+
readonly type: "string";
|
|
2233
|
+
}, {
|
|
2234
|
+
readonly type: "null";
|
|
2235
|
+
}];
|
|
2236
|
+
};
|
|
2237
|
+
readonly cacheWrite: {
|
|
2238
|
+
readonly anyOf: readonly [{
|
|
2239
|
+
readonly type: "string";
|
|
2240
|
+
}, {
|
|
2241
|
+
readonly type: "null";
|
|
2242
|
+
}];
|
|
2243
|
+
};
|
|
2244
|
+
};
|
|
2245
|
+
readonly required: readonly ["input", "output", "cacheRead", "cacheWrite"];
|
|
2246
|
+
readonly additionalProperties: false;
|
|
2247
|
+
};
|
|
2248
|
+
readonly prices: {
|
|
2249
|
+
readonly anyOf: readonly [{
|
|
2250
|
+
readonly type: "object";
|
|
2251
|
+
readonly properties: {
|
|
2252
|
+
readonly inputPerMillion: {
|
|
2253
|
+
readonly anyOf: readonly [{
|
|
2254
|
+
readonly type: "string";
|
|
2255
|
+
}, {
|
|
2256
|
+
readonly type: "null";
|
|
2257
|
+
}];
|
|
2258
|
+
};
|
|
2259
|
+
readonly outputPerMillion: {
|
|
2260
|
+
readonly anyOf: readonly [{
|
|
2261
|
+
readonly type: "string";
|
|
2262
|
+
}, {
|
|
2263
|
+
readonly type: "null";
|
|
2264
|
+
}];
|
|
2265
|
+
};
|
|
2266
|
+
readonly cacheReadPerMillion: {
|
|
2267
|
+
readonly anyOf: readonly [{
|
|
2268
|
+
readonly type: "string";
|
|
2269
|
+
}, {
|
|
2270
|
+
readonly type: "null";
|
|
2271
|
+
}];
|
|
2272
|
+
};
|
|
2273
|
+
readonly cacheWritePerMillion: {
|
|
2274
|
+
readonly anyOf: readonly [{
|
|
2275
|
+
readonly type: "string";
|
|
2276
|
+
}, {
|
|
2277
|
+
readonly type: "null";
|
|
2278
|
+
}];
|
|
2279
|
+
};
|
|
2280
|
+
};
|
|
2281
|
+
readonly required: readonly ["inputPerMillion", "outputPerMillion", "cacheReadPerMillion", "cacheWritePerMillion"];
|
|
2282
|
+
readonly additionalProperties: false;
|
|
2283
|
+
}, {
|
|
2284
|
+
readonly type: "null";
|
|
2285
|
+
}];
|
|
2286
|
+
};
|
|
2287
|
+
readonly pricesFrom: {
|
|
2288
|
+
readonly anyOf: readonly [{
|
|
2289
|
+
readonly type: "string";
|
|
2290
|
+
readonly enum: readonly ["opencode", "artificial-analysis"];
|
|
2291
|
+
}, {
|
|
2292
|
+
readonly type: "null";
|
|
2293
|
+
}];
|
|
2294
|
+
};
|
|
2295
|
+
};
|
|
2296
|
+
readonly required: readonly ["model", "messages", "requests", "input", "output", "reasoning", "cacheRead", "cacheWrite", "openCodeUsd", "byPrice", "prices", "pricesFrom"];
|
|
2297
|
+
readonly additionalProperties: false;
|
|
2298
|
+
};
|
|
2299
|
+
};
|
|
2300
|
+
};
|
|
2301
|
+
readonly required: readonly ["since", "rows"];
|
|
2302
|
+
readonly additionalProperties: false;
|
|
2303
|
+
};
|
|
2304
|
+
readonly credit: {
|
|
2305
|
+
readonly anyOf: readonly [{
|
|
2306
|
+
readonly type: "string";
|
|
2307
|
+
}, {
|
|
2308
|
+
readonly type: "null";
|
|
2309
|
+
}];
|
|
2310
|
+
};
|
|
2311
|
+
readonly removed: {
|
|
2312
|
+
readonly type: "number";
|
|
2313
|
+
};
|
|
2314
|
+
};
|
|
2315
|
+
readonly required: readonly ["directory", "days", "totals", "options", "records", "matching", "first", "before", "credit", "removed"];
|
|
2316
|
+
readonly additionalProperties: false;
|
|
2317
|
+
};
|
|
2318
|
+
};
|
|
2319
|
+
readonly getOwnChoice: {
|
|
2320
|
+
readonly errors: {
|
|
2321
|
+
readonly rejected: {
|
|
2322
|
+
readonly type: "object";
|
|
2323
|
+
readonly properties: {};
|
|
2324
|
+
readonly additionalProperties: false;
|
|
2325
|
+
};
|
|
2326
|
+
};
|
|
2327
|
+
readonly input: {
|
|
2328
|
+
readonly type: "object";
|
|
2329
|
+
readonly properties: {};
|
|
2330
|
+
readonly additionalProperties: false;
|
|
2331
|
+
};
|
|
2332
|
+
readonly output: {
|
|
2333
|
+
readonly type: "object";
|
|
2334
|
+
readonly properties: {
|
|
2335
|
+
readonly directory: {
|
|
2336
|
+
readonly type: "string";
|
|
2337
|
+
};
|
|
2338
|
+
readonly modes: {
|
|
2339
|
+
readonly type: "object";
|
|
2340
|
+
readonly properties: {
|
|
2341
|
+
readonly plan: {
|
|
2342
|
+
readonly anyOf: readonly [{
|
|
2343
|
+
readonly type: "null";
|
|
2344
|
+
}, {
|
|
2345
|
+
readonly type: "object";
|
|
2346
|
+
readonly properties: {
|
|
2347
|
+
readonly kind: {
|
|
2348
|
+
readonly type: "string";
|
|
2349
|
+
readonly enum: readonly ["unranked"];
|
|
2350
|
+
};
|
|
2351
|
+
readonly reason: {
|
|
2352
|
+
readonly type: "string";
|
|
2353
|
+
};
|
|
2354
|
+
};
|
|
2355
|
+
readonly required: readonly ["kind", "reason"];
|
|
2356
|
+
readonly additionalProperties: false;
|
|
2357
|
+
}, {
|
|
2358
|
+
readonly type: "object";
|
|
2359
|
+
readonly properties: {
|
|
2360
|
+
readonly kind: {
|
|
2361
|
+
readonly type: "string";
|
|
2362
|
+
readonly enum: readonly ["ranked"];
|
|
2363
|
+
};
|
|
2364
|
+
readonly strongest: {
|
|
2365
|
+
readonly type: "string";
|
|
2366
|
+
};
|
|
2367
|
+
readonly cheapest: {
|
|
2368
|
+
readonly type: "string";
|
|
2369
|
+
};
|
|
2370
|
+
};
|
|
2371
|
+
readonly required: readonly ["kind", "strongest", "cheapest"];
|
|
2372
|
+
readonly additionalProperties: false;
|
|
2373
|
+
}];
|
|
2374
|
+
};
|
|
2375
|
+
readonly execute: {
|
|
2376
|
+
readonly anyOf: readonly [{
|
|
2377
|
+
readonly type: "null";
|
|
2378
|
+
}, {
|
|
2379
|
+
readonly type: "object";
|
|
2380
|
+
readonly properties: {
|
|
2381
|
+
readonly kind: {
|
|
2382
|
+
readonly type: "string";
|
|
2383
|
+
readonly enum: readonly ["unranked"];
|
|
2384
|
+
};
|
|
2385
|
+
readonly reason: {
|
|
2386
|
+
readonly type: "string";
|
|
2387
|
+
};
|
|
2388
|
+
};
|
|
2389
|
+
readonly required: readonly ["kind", "reason"];
|
|
2390
|
+
readonly additionalProperties: false;
|
|
2391
|
+
}, {
|
|
2392
|
+
readonly type: "object";
|
|
2393
|
+
readonly properties: {
|
|
2394
|
+
readonly kind: {
|
|
2395
|
+
readonly type: "string";
|
|
2396
|
+
readonly enum: readonly ["ranked"];
|
|
2397
|
+
};
|
|
2398
|
+
readonly strongest: {
|
|
2399
|
+
readonly type: "string";
|
|
2400
|
+
};
|
|
2401
|
+
readonly cheapest: {
|
|
2402
|
+
readonly type: "string";
|
|
2403
|
+
};
|
|
2404
|
+
};
|
|
2405
|
+
readonly required: readonly ["kind", "strongest", "cheapest"];
|
|
2406
|
+
readonly additionalProperties: false;
|
|
2407
|
+
}];
|
|
2408
|
+
};
|
|
2409
|
+
readonly review: {
|
|
2410
|
+
readonly anyOf: readonly [{
|
|
2411
|
+
readonly type: "null";
|
|
2412
|
+
}, {
|
|
2413
|
+
readonly type: "object";
|
|
2414
|
+
readonly properties: {
|
|
2415
|
+
readonly kind: {
|
|
2416
|
+
readonly type: "string";
|
|
2417
|
+
readonly enum: readonly ["unranked"];
|
|
2418
|
+
};
|
|
2419
|
+
readonly reason: {
|
|
2420
|
+
readonly type: "string";
|
|
2421
|
+
};
|
|
2422
|
+
};
|
|
2423
|
+
readonly required: readonly ["kind", "reason"];
|
|
2424
|
+
readonly additionalProperties: false;
|
|
2425
|
+
}, {
|
|
2426
|
+
readonly type: "object";
|
|
2427
|
+
readonly properties: {
|
|
2428
|
+
readonly kind: {
|
|
2429
|
+
readonly type: "string";
|
|
2430
|
+
readonly enum: readonly ["ranked"];
|
|
2431
|
+
};
|
|
2432
|
+
readonly strongest: {
|
|
2433
|
+
readonly type: "string";
|
|
2434
|
+
};
|
|
2435
|
+
readonly cheapest: {
|
|
2436
|
+
readonly type: "string";
|
|
2437
|
+
};
|
|
2438
|
+
};
|
|
2439
|
+
readonly required: readonly ["kind", "strongest", "cheapest"];
|
|
2440
|
+
readonly additionalProperties: false;
|
|
2441
|
+
}];
|
|
2442
|
+
};
|
|
2443
|
+
};
|
|
2444
|
+
readonly required: readonly ["plan", "execute", "review"];
|
|
2445
|
+
readonly additionalProperties: false;
|
|
2446
|
+
};
|
|
2447
|
+
};
|
|
2448
|
+
readonly required: readonly ["directory", "modes"];
|
|
2449
|
+
readonly additionalProperties: false;
|
|
2450
|
+
};
|
|
2451
|
+
};
|
|
2452
|
+
readonly setPriceKey: {
|
|
2453
|
+
readonly errors: {
|
|
2454
|
+
readonly rejected: {
|
|
2455
|
+
readonly type: "object";
|
|
2456
|
+
readonly properties: {};
|
|
2457
|
+
readonly additionalProperties: false;
|
|
2458
|
+
};
|
|
2459
|
+
};
|
|
2460
|
+
readonly input: {
|
|
2461
|
+
readonly type: "object";
|
|
2462
|
+
readonly properties: {
|
|
2463
|
+
readonly key: {
|
|
2464
|
+
readonly anyOf: readonly [{
|
|
2465
|
+
readonly type: "string";
|
|
2466
|
+
}, {
|
|
2467
|
+
readonly type: "null";
|
|
2468
|
+
}];
|
|
2469
|
+
};
|
|
2470
|
+
};
|
|
2471
|
+
readonly required: readonly ["key"];
|
|
2472
|
+
readonly additionalProperties: false;
|
|
2473
|
+
};
|
|
2474
|
+
readonly output: {
|
|
2475
|
+
readonly type: "object";
|
|
2476
|
+
readonly properties: {
|
|
2477
|
+
readonly saved: {
|
|
2478
|
+
readonly type: "boolean";
|
|
2479
|
+
};
|
|
2480
|
+
readonly note: {
|
|
2481
|
+
readonly anyOf: readonly [{
|
|
2482
|
+
readonly type: "string";
|
|
2483
|
+
}, {
|
|
2484
|
+
readonly type: "null";
|
|
2485
|
+
}];
|
|
2486
|
+
};
|
|
2487
|
+
};
|
|
2488
|
+
readonly required: readonly ["saved", "note"];
|
|
2489
|
+
readonly additionalProperties: false;
|
|
2490
|
+
};
|
|
2491
|
+
};
|
|
2492
|
+
readonly listModels: {
|
|
2493
|
+
readonly errors: {
|
|
2494
|
+
readonly rejected: {
|
|
2495
|
+
readonly type: "object";
|
|
2496
|
+
readonly properties: {};
|
|
2497
|
+
readonly additionalProperties: false;
|
|
2498
|
+
};
|
|
2499
|
+
};
|
|
2500
|
+
readonly input: {
|
|
2501
|
+
readonly type: "object";
|
|
2502
|
+
readonly properties: {};
|
|
2503
|
+
readonly additionalProperties: false;
|
|
2504
|
+
};
|
|
2505
|
+
readonly output: {
|
|
2506
|
+
readonly type: "object";
|
|
2507
|
+
readonly properties: {
|
|
2508
|
+
readonly directory: {
|
|
2509
|
+
readonly type: "string";
|
|
2510
|
+
};
|
|
2511
|
+
readonly models: {
|
|
2512
|
+
readonly type: "array";
|
|
2513
|
+
readonly items: {
|
|
2514
|
+
readonly type: "object";
|
|
2515
|
+
readonly properties: {
|
|
2516
|
+
readonly providerID: {
|
|
2517
|
+
readonly type: "string";
|
|
2518
|
+
};
|
|
2519
|
+
readonly id: {
|
|
2520
|
+
readonly type: "string";
|
|
2521
|
+
};
|
|
2522
|
+
readonly name: {
|
|
2523
|
+
readonly type: "string";
|
|
2524
|
+
};
|
|
2525
|
+
readonly enabled: {
|
|
2526
|
+
readonly type: "boolean";
|
|
2527
|
+
};
|
|
2528
|
+
readonly status: {
|
|
2529
|
+
readonly type: "string";
|
|
2530
|
+
};
|
|
2531
|
+
readonly variants: {
|
|
2532
|
+
readonly type: "array";
|
|
2533
|
+
readonly items: {
|
|
2534
|
+
readonly type: "string";
|
|
2535
|
+
};
|
|
2536
|
+
};
|
|
2537
|
+
readonly capabilities: {
|
|
2538
|
+
readonly type: "object";
|
|
2539
|
+
readonly properties: {
|
|
2540
|
+
readonly input: {
|
|
2541
|
+
readonly type: "array";
|
|
2542
|
+
readonly items: {
|
|
2543
|
+
readonly type: "string";
|
|
2544
|
+
};
|
|
2545
|
+
};
|
|
2546
|
+
readonly output: {
|
|
2547
|
+
readonly type: "array";
|
|
2548
|
+
readonly items: {
|
|
2549
|
+
readonly type: "string";
|
|
2550
|
+
};
|
|
2551
|
+
};
|
|
2552
|
+
readonly tools: {
|
|
2553
|
+
readonly type: "boolean";
|
|
2554
|
+
};
|
|
2555
|
+
};
|
|
2556
|
+
readonly required: readonly ["input", "output", "tools"];
|
|
2557
|
+
readonly additionalProperties: false;
|
|
2558
|
+
};
|
|
2559
|
+
readonly limit: {
|
|
2560
|
+
readonly type: "object";
|
|
2561
|
+
readonly properties: {
|
|
2562
|
+
readonly context: {
|
|
2563
|
+
readonly type: "number";
|
|
2564
|
+
};
|
|
2565
|
+
readonly output: {
|
|
2566
|
+
readonly type: "number";
|
|
2567
|
+
};
|
|
2568
|
+
};
|
|
2569
|
+
readonly required: readonly ["context", "output"];
|
|
2570
|
+
readonly additionalProperties: false;
|
|
2571
|
+
};
|
|
2572
|
+
readonly cost: {
|
|
2573
|
+
readonly type: "object";
|
|
2574
|
+
readonly properties: {
|
|
2575
|
+
readonly tiered: {
|
|
2576
|
+
readonly type: "boolean";
|
|
2577
|
+
};
|
|
2578
|
+
readonly steps: {
|
|
2579
|
+
readonly type: "array";
|
|
2580
|
+
readonly items: {
|
|
2581
|
+
readonly type: "object";
|
|
2582
|
+
readonly properties: {
|
|
2583
|
+
readonly inputPerMillion: {
|
|
2584
|
+
readonly anyOf: readonly [{
|
|
2585
|
+
readonly type: "string";
|
|
2586
|
+
}, {
|
|
2587
|
+
readonly type: "null";
|
|
2588
|
+
}];
|
|
2589
|
+
};
|
|
2590
|
+
readonly outputPerMillion: {
|
|
2591
|
+
readonly anyOf: readonly [{
|
|
2592
|
+
readonly type: "string";
|
|
2593
|
+
}, {
|
|
2594
|
+
readonly type: "null";
|
|
2595
|
+
}];
|
|
2596
|
+
};
|
|
2597
|
+
readonly cacheReadPerMillion: {
|
|
2598
|
+
readonly anyOf: readonly [{
|
|
2599
|
+
readonly type: "string";
|
|
2600
|
+
}, {
|
|
2601
|
+
readonly type: "null";
|
|
2602
|
+
}];
|
|
2603
|
+
};
|
|
2604
|
+
readonly cacheWritePerMillion: {
|
|
2605
|
+
readonly anyOf: readonly [{
|
|
2606
|
+
readonly type: "string";
|
|
2607
|
+
}, {
|
|
2608
|
+
readonly type: "null";
|
|
2609
|
+
}];
|
|
2610
|
+
};
|
|
2611
|
+
readonly above: {
|
|
2612
|
+
readonly type: "number";
|
|
2613
|
+
};
|
|
2614
|
+
};
|
|
2615
|
+
readonly required: readonly ["above", "inputPerMillion", "outputPerMillion", "cacheReadPerMillion", "cacheWritePerMillion"];
|
|
2616
|
+
readonly additionalProperties: false;
|
|
2617
|
+
};
|
|
2618
|
+
};
|
|
2619
|
+
readonly inputPerMillion: {
|
|
2620
|
+
readonly anyOf: readonly [{
|
|
2621
|
+
readonly type: "string";
|
|
2622
|
+
}, {
|
|
2623
|
+
readonly type: "null";
|
|
2624
|
+
}];
|
|
2625
|
+
};
|
|
2626
|
+
readonly outputPerMillion: {
|
|
2627
|
+
readonly anyOf: readonly [{
|
|
2628
|
+
readonly type: "string";
|
|
2629
|
+
}, {
|
|
2630
|
+
readonly type: "null";
|
|
2631
|
+
}];
|
|
2632
|
+
};
|
|
2633
|
+
readonly cacheReadPerMillion: {
|
|
2634
|
+
readonly anyOf: readonly [{
|
|
2635
|
+
readonly type: "string";
|
|
2636
|
+
}, {
|
|
2637
|
+
readonly type: "null";
|
|
2638
|
+
}];
|
|
2639
|
+
};
|
|
2640
|
+
readonly cacheWritePerMillion: {
|
|
2641
|
+
readonly anyOf: readonly [{
|
|
2642
|
+
readonly type: "string";
|
|
2643
|
+
}, {
|
|
2644
|
+
readonly type: "null";
|
|
2645
|
+
}];
|
|
2646
|
+
};
|
|
2647
|
+
};
|
|
2648
|
+
readonly required: readonly ["inputPerMillion", "outputPerMillion", "cacheReadPerMillion", "cacheWritePerMillion", "tiered", "steps"];
|
|
2649
|
+
readonly additionalProperties: false;
|
|
2650
|
+
};
|
|
2651
|
+
};
|
|
2652
|
+
readonly required: readonly ["providerID", "id", "name", "enabled", "status", "variants", "capabilities", "limit", "cost"];
|
|
2653
|
+
readonly additionalProperties: false;
|
|
2654
|
+
};
|
|
2655
|
+
};
|
|
2656
|
+
};
|
|
2657
|
+
readonly required: readonly ["directory", "models"];
|
|
2658
|
+
readonly additionalProperties: false;
|
|
2659
|
+
};
|
|
2660
|
+
};
|
|
2661
|
+
readonly listIntelligence: {
|
|
2662
|
+
readonly errors: {
|
|
2663
|
+
readonly rejected: {
|
|
2664
|
+
readonly type: "object";
|
|
2665
|
+
readonly properties: {};
|
|
2666
|
+
readonly additionalProperties: false;
|
|
2667
|
+
};
|
|
2668
|
+
};
|
|
2669
|
+
readonly input: {
|
|
2670
|
+
readonly type: "object";
|
|
2671
|
+
readonly properties: {};
|
|
2672
|
+
readonly additionalProperties: false;
|
|
2673
|
+
};
|
|
2674
|
+
readonly output: {
|
|
2675
|
+
readonly type: "object";
|
|
2676
|
+
readonly properties: {
|
|
2677
|
+
readonly directory: {
|
|
2678
|
+
readonly type: "string";
|
|
2679
|
+
};
|
|
2680
|
+
readonly source: {
|
|
2681
|
+
readonly type: "string";
|
|
2682
|
+
};
|
|
2683
|
+
readonly fetchedAt: {
|
|
2684
|
+
readonly anyOf: readonly [{
|
|
2685
|
+
readonly type: "string";
|
|
2686
|
+
}, {
|
|
2687
|
+
readonly type: "null";
|
|
2688
|
+
}];
|
|
2689
|
+
};
|
|
2690
|
+
readonly note: {
|
|
2691
|
+
readonly anyOf: readonly [{
|
|
2692
|
+
readonly type: "string";
|
|
2693
|
+
}, {
|
|
2694
|
+
readonly type: "null";
|
|
2695
|
+
}];
|
|
2696
|
+
};
|
|
2697
|
+
readonly scores: {
|
|
2698
|
+
readonly type: "array";
|
|
2699
|
+
readonly items: {
|
|
2700
|
+
readonly type: "object";
|
|
2701
|
+
readonly properties: {
|
|
2702
|
+
readonly providerID: {
|
|
2703
|
+
readonly type: "string";
|
|
2704
|
+
};
|
|
2705
|
+
readonly id: {
|
|
2706
|
+
readonly type: "string";
|
|
2707
|
+
};
|
|
2708
|
+
readonly index: {
|
|
2709
|
+
readonly type: "number";
|
|
2710
|
+
};
|
|
2711
|
+
readonly matched: {
|
|
2712
|
+
readonly type: "string";
|
|
2713
|
+
};
|
|
2714
|
+
};
|
|
2715
|
+
readonly required: readonly ["providerID", "id", "index", "matched"];
|
|
2716
|
+
readonly additionalProperties: false;
|
|
2717
|
+
};
|
|
2718
|
+
};
|
|
2719
|
+
};
|
|
2720
|
+
readonly required: readonly ["directory", "source", "fetchedAt", "note", "scores"];
|
|
2721
|
+
readonly additionalProperties: false;
|
|
2722
|
+
};
|
|
2723
|
+
};
|
|
2724
|
+
};
|
|
2725
|
+
}>>;
|