opencode-usage-insights 0.3.1 → 0.4.1
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/README.md +67 -542
- package/dist/core.d.ts +15 -1
- package/dist/gui-experimental.cjs +3 -3
- package/dist/index.d.ts +0 -47
- package/dist/index.js +1734 -1209
- package/dist/index.js.map +23 -16
- package/dist/line.d.ts +1 -0
- package/dist/panel-data.d.ts +9 -2
- package/dist/recorder.d.ts +1 -0
- package/dist/rpc.d.ts +4 -4
- package/dist/rpc.js +5 -5
- package/dist/rpc.js.map +3 -3
- package/dist/settings-client.d.ts +29 -0
- package/dist/settings-rpc.d.ts +746 -0
- package/dist/settings.d.ts +114 -0
- package/dist/sidebar.d.ts +3 -3
- package/dist/stats/aggregates.d.ts +15 -3
- package/dist/stats/constants.d.ts +7 -0
- package/dist/stats/db.d.ts +8 -128
- package/dist/stats/legacy.d.ts +25 -0
- package/dist/stats/maintenance.d.ts +1 -1
- package/dist/stats/migrate.d.ts +7 -0
- package/dist/stats/ndjson.d.ts +16 -0
- package/dist/stats/open.d.ts +15 -0
- package/dist/stats/paths.d.ts +5 -4
- package/dist/stats/queries.d.ts +30 -35
- package/dist/stats/records.d.ts +94 -0
- package/dist/stats/schema.d.ts +26 -0
- package/dist/stats-client.d.ts +9 -0
- package/dist/stats-worker.js +597 -367
- package/dist/stats-worker.js.map +17 -12
- package/dist/text.d.ts +2 -0
- package/dist/tui-settings.d.ts +18 -0
- package/dist/tui.d.ts +1 -57
- package/dist/tui.js +974 -158
- package/dist/tui.js.map +17 -13
- package/docs/cli.md +24 -0
- package/docs/configuration.md +108 -0
- package/docs/costs.md +44 -0
- package/docs/demo.md +94 -68
- package/docs/desktop.md +91 -0
- package/docs/images/desktop-overview-annotated.png +0 -0
- package/docs/images/desktop-overview.png +0 -0
- package/docs/images/desktop-settings.png +0 -0
- package/docs/images/desktop-turns-go-annotated.png +0 -0
- package/docs/images/desktop-turns.png +0 -0
- package/docs/images/line.png +0 -0
- package/docs/images/panel-cache.png +0 -0
- package/docs/images/panel-help.png +0 -0
- package/docs/images/panel-latency.png +0 -0
- package/docs/images/panel-overview.png +0 -0
- package/docs/images/panel-providers.png +0 -0
- package/docs/images/sidebar.png +0 -0
- package/docs/internals.md +87 -36
- package/docs/privacy.md +60 -0
- package/docs/tui.md +175 -0
- package/package.json +8 -7
|
@@ -0,0 +1,746 @@
|
|
|
1
|
+
export declare const UsageInsightsSettings: {
|
|
2
|
+
readonly id: "usage-insights.settings";
|
|
3
|
+
readonly methods: {
|
|
4
|
+
get: {
|
|
5
|
+
input: {
|
|
6
|
+
readonly type: "object";
|
|
7
|
+
readonly properties: {};
|
|
8
|
+
readonly additionalProperties: false;
|
|
9
|
+
};
|
|
10
|
+
output: {
|
|
11
|
+
readonly type: "object";
|
|
12
|
+
readonly properties: {
|
|
13
|
+
readonly settings: {
|
|
14
|
+
readonly type: "object";
|
|
15
|
+
readonly properties: {
|
|
16
|
+
readonly pricing: {
|
|
17
|
+
readonly type: "boolean";
|
|
18
|
+
};
|
|
19
|
+
readonly turnTotals: {
|
|
20
|
+
readonly type: "string";
|
|
21
|
+
readonly enum: readonly ["latest", "sum"];
|
|
22
|
+
};
|
|
23
|
+
readonly fields: {
|
|
24
|
+
readonly type: "object";
|
|
25
|
+
readonly properties: {
|
|
26
|
+
readonly clock: {
|
|
27
|
+
readonly type: "boolean";
|
|
28
|
+
};
|
|
29
|
+
readonly delta: {
|
|
30
|
+
readonly type: "boolean";
|
|
31
|
+
};
|
|
32
|
+
readonly model: {
|
|
33
|
+
readonly type: "boolean";
|
|
34
|
+
};
|
|
35
|
+
readonly variant: {
|
|
36
|
+
readonly type: "boolean";
|
|
37
|
+
};
|
|
38
|
+
readonly turn: {
|
|
39
|
+
readonly type: "boolean";
|
|
40
|
+
};
|
|
41
|
+
readonly session: {
|
|
42
|
+
readonly type: "boolean";
|
|
43
|
+
};
|
|
44
|
+
readonly reasoning: {
|
|
45
|
+
readonly type: "boolean";
|
|
46
|
+
};
|
|
47
|
+
readonly cost: {
|
|
48
|
+
readonly type: "boolean";
|
|
49
|
+
};
|
|
50
|
+
readonly cacheExpiry: {
|
|
51
|
+
readonly type: "boolean";
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
readonly additionalProperties: false;
|
|
55
|
+
};
|
|
56
|
+
readonly labels: {
|
|
57
|
+
readonly type: "object";
|
|
58
|
+
readonly properties: {
|
|
59
|
+
readonly delta: {
|
|
60
|
+
readonly type: "string";
|
|
61
|
+
readonly maxLength: 80;
|
|
62
|
+
};
|
|
63
|
+
readonly turn: {
|
|
64
|
+
readonly type: "string";
|
|
65
|
+
readonly maxLength: 80;
|
|
66
|
+
};
|
|
67
|
+
readonly session: {
|
|
68
|
+
readonly type: "string";
|
|
69
|
+
readonly maxLength: 80;
|
|
70
|
+
};
|
|
71
|
+
readonly step: {
|
|
72
|
+
readonly type: "string";
|
|
73
|
+
readonly maxLength: 80;
|
|
74
|
+
};
|
|
75
|
+
readonly steps: {
|
|
76
|
+
readonly type: "string";
|
|
77
|
+
readonly maxLength: 80;
|
|
78
|
+
};
|
|
79
|
+
readonly input: {
|
|
80
|
+
readonly type: "string";
|
|
81
|
+
readonly maxLength: 80;
|
|
82
|
+
};
|
|
83
|
+
readonly cached: {
|
|
84
|
+
readonly type: "string";
|
|
85
|
+
readonly maxLength: 80;
|
|
86
|
+
};
|
|
87
|
+
readonly output: {
|
|
88
|
+
readonly type: "string";
|
|
89
|
+
readonly maxLength: 80;
|
|
90
|
+
};
|
|
91
|
+
readonly reasoning: {
|
|
92
|
+
readonly type: "string";
|
|
93
|
+
readonly maxLength: 80;
|
|
94
|
+
};
|
|
95
|
+
readonly cost: {
|
|
96
|
+
readonly type: "string";
|
|
97
|
+
readonly maxLength: 80;
|
|
98
|
+
};
|
|
99
|
+
readonly estimate: {
|
|
100
|
+
readonly type: "string";
|
|
101
|
+
readonly maxLength: 80;
|
|
102
|
+
};
|
|
103
|
+
readonly cacheExpired: {
|
|
104
|
+
readonly type: "string";
|
|
105
|
+
readonly maxLength: 80;
|
|
106
|
+
};
|
|
107
|
+
readonly providerChanged: {
|
|
108
|
+
readonly type: "string";
|
|
109
|
+
readonly maxLength: 80;
|
|
110
|
+
};
|
|
111
|
+
readonly modelChanged: {
|
|
112
|
+
readonly type: "string";
|
|
113
|
+
readonly maxLength: 80;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
readonly additionalProperties: false;
|
|
117
|
+
};
|
|
118
|
+
readonly panel: {
|
|
119
|
+
readonly type: "boolean";
|
|
120
|
+
};
|
|
121
|
+
readonly sidebar: {
|
|
122
|
+
readonly type: "boolean";
|
|
123
|
+
};
|
|
124
|
+
readonly sidebarTurns: {
|
|
125
|
+
readonly type: "number";
|
|
126
|
+
readonly minimum: 1;
|
|
127
|
+
readonly maximum: 50;
|
|
128
|
+
};
|
|
129
|
+
readonly quota: {
|
|
130
|
+
readonly type: "boolean";
|
|
131
|
+
};
|
|
132
|
+
readonly quotaName: {
|
|
133
|
+
readonly type: "string";
|
|
134
|
+
readonly maxLength: 120;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
readonly required: readonly ["pricing", "turnTotals", "fields", "labels", "panel", "sidebar", "sidebarTurns", "quota", "quotaName"];
|
|
138
|
+
readonly additionalProperties: false;
|
|
139
|
+
};
|
|
140
|
+
readonly policy: {
|
|
141
|
+
readonly type: "object";
|
|
142
|
+
readonly properties: {
|
|
143
|
+
readonly maintenance: {
|
|
144
|
+
readonly type: "boolean";
|
|
145
|
+
};
|
|
146
|
+
readonly exposePaths: {
|
|
147
|
+
readonly type: "boolean";
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
readonly required: readonly ["maintenance", "exposePaths"];
|
|
151
|
+
readonly additionalProperties: false;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
readonly required: readonly ["settings", "policy"];
|
|
155
|
+
readonly additionalProperties: false;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
set: {
|
|
159
|
+
input: {
|
|
160
|
+
readonly type: "object";
|
|
161
|
+
readonly properties: {
|
|
162
|
+
readonly patch: {
|
|
163
|
+
readonly type: "object";
|
|
164
|
+
readonly properties: {
|
|
165
|
+
readonly pricing: {
|
|
166
|
+
readonly type: "boolean";
|
|
167
|
+
};
|
|
168
|
+
readonly turnTotals: {
|
|
169
|
+
readonly type: "string";
|
|
170
|
+
readonly enum: readonly ["latest", "sum"];
|
|
171
|
+
};
|
|
172
|
+
readonly fields: {
|
|
173
|
+
readonly type: "object";
|
|
174
|
+
readonly properties: {
|
|
175
|
+
readonly clock: {
|
|
176
|
+
readonly type: "boolean";
|
|
177
|
+
};
|
|
178
|
+
readonly delta: {
|
|
179
|
+
readonly type: "boolean";
|
|
180
|
+
};
|
|
181
|
+
readonly model: {
|
|
182
|
+
readonly type: "boolean";
|
|
183
|
+
};
|
|
184
|
+
readonly variant: {
|
|
185
|
+
readonly type: "boolean";
|
|
186
|
+
};
|
|
187
|
+
readonly turn: {
|
|
188
|
+
readonly type: "boolean";
|
|
189
|
+
};
|
|
190
|
+
readonly session: {
|
|
191
|
+
readonly type: "boolean";
|
|
192
|
+
};
|
|
193
|
+
readonly reasoning: {
|
|
194
|
+
readonly type: "boolean";
|
|
195
|
+
};
|
|
196
|
+
readonly cost: {
|
|
197
|
+
readonly type: "boolean";
|
|
198
|
+
};
|
|
199
|
+
readonly cacheExpiry: {
|
|
200
|
+
readonly type: "boolean";
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
readonly additionalProperties: false;
|
|
204
|
+
};
|
|
205
|
+
readonly labels: {
|
|
206
|
+
readonly type: "object";
|
|
207
|
+
readonly properties: {
|
|
208
|
+
readonly delta: {
|
|
209
|
+
readonly type: "string";
|
|
210
|
+
readonly maxLength: 80;
|
|
211
|
+
};
|
|
212
|
+
readonly turn: {
|
|
213
|
+
readonly type: "string";
|
|
214
|
+
readonly maxLength: 80;
|
|
215
|
+
};
|
|
216
|
+
readonly session: {
|
|
217
|
+
readonly type: "string";
|
|
218
|
+
readonly maxLength: 80;
|
|
219
|
+
};
|
|
220
|
+
readonly step: {
|
|
221
|
+
readonly type: "string";
|
|
222
|
+
readonly maxLength: 80;
|
|
223
|
+
};
|
|
224
|
+
readonly steps: {
|
|
225
|
+
readonly type: "string";
|
|
226
|
+
readonly maxLength: 80;
|
|
227
|
+
};
|
|
228
|
+
readonly input: {
|
|
229
|
+
readonly type: "string";
|
|
230
|
+
readonly maxLength: 80;
|
|
231
|
+
};
|
|
232
|
+
readonly cached: {
|
|
233
|
+
readonly type: "string";
|
|
234
|
+
readonly maxLength: 80;
|
|
235
|
+
};
|
|
236
|
+
readonly output: {
|
|
237
|
+
readonly type: "string";
|
|
238
|
+
readonly maxLength: 80;
|
|
239
|
+
};
|
|
240
|
+
readonly reasoning: {
|
|
241
|
+
readonly type: "string";
|
|
242
|
+
readonly maxLength: 80;
|
|
243
|
+
};
|
|
244
|
+
readonly cost: {
|
|
245
|
+
readonly type: "string";
|
|
246
|
+
readonly maxLength: 80;
|
|
247
|
+
};
|
|
248
|
+
readonly estimate: {
|
|
249
|
+
readonly type: "string";
|
|
250
|
+
readonly maxLength: 80;
|
|
251
|
+
};
|
|
252
|
+
readonly cacheExpired: {
|
|
253
|
+
readonly type: "string";
|
|
254
|
+
readonly maxLength: 80;
|
|
255
|
+
};
|
|
256
|
+
readonly providerChanged: {
|
|
257
|
+
readonly type: "string";
|
|
258
|
+
readonly maxLength: 80;
|
|
259
|
+
};
|
|
260
|
+
readonly modelChanged: {
|
|
261
|
+
readonly type: "string";
|
|
262
|
+
readonly maxLength: 80;
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
readonly additionalProperties: false;
|
|
266
|
+
};
|
|
267
|
+
readonly panel: {
|
|
268
|
+
readonly type: "boolean";
|
|
269
|
+
};
|
|
270
|
+
readonly sidebar: {
|
|
271
|
+
readonly type: "boolean";
|
|
272
|
+
};
|
|
273
|
+
readonly sidebarTurns: {
|
|
274
|
+
readonly type: "number";
|
|
275
|
+
readonly minimum: 1;
|
|
276
|
+
readonly maximum: 50;
|
|
277
|
+
};
|
|
278
|
+
readonly quota: {
|
|
279
|
+
readonly type: "boolean";
|
|
280
|
+
};
|
|
281
|
+
readonly quotaName: {
|
|
282
|
+
readonly type: "string";
|
|
283
|
+
readonly maxLength: 120;
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
readonly additionalProperties: false;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
readonly required: readonly ["patch"];
|
|
290
|
+
readonly additionalProperties: false;
|
|
291
|
+
};
|
|
292
|
+
output: {
|
|
293
|
+
readonly type: "object";
|
|
294
|
+
readonly properties: {
|
|
295
|
+
readonly settings: {
|
|
296
|
+
readonly type: "object";
|
|
297
|
+
readonly properties: {
|
|
298
|
+
readonly pricing: {
|
|
299
|
+
readonly type: "boolean";
|
|
300
|
+
};
|
|
301
|
+
readonly turnTotals: {
|
|
302
|
+
readonly type: "string";
|
|
303
|
+
readonly enum: readonly ["latest", "sum"];
|
|
304
|
+
};
|
|
305
|
+
readonly fields: {
|
|
306
|
+
readonly type: "object";
|
|
307
|
+
readonly properties: {
|
|
308
|
+
readonly clock: {
|
|
309
|
+
readonly type: "boolean";
|
|
310
|
+
};
|
|
311
|
+
readonly delta: {
|
|
312
|
+
readonly type: "boolean";
|
|
313
|
+
};
|
|
314
|
+
readonly model: {
|
|
315
|
+
readonly type: "boolean";
|
|
316
|
+
};
|
|
317
|
+
readonly variant: {
|
|
318
|
+
readonly type: "boolean";
|
|
319
|
+
};
|
|
320
|
+
readonly turn: {
|
|
321
|
+
readonly type: "boolean";
|
|
322
|
+
};
|
|
323
|
+
readonly session: {
|
|
324
|
+
readonly type: "boolean";
|
|
325
|
+
};
|
|
326
|
+
readonly reasoning: {
|
|
327
|
+
readonly type: "boolean";
|
|
328
|
+
};
|
|
329
|
+
readonly cost: {
|
|
330
|
+
readonly type: "boolean";
|
|
331
|
+
};
|
|
332
|
+
readonly cacheExpiry: {
|
|
333
|
+
readonly type: "boolean";
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
readonly additionalProperties: false;
|
|
337
|
+
};
|
|
338
|
+
readonly labels: {
|
|
339
|
+
readonly type: "object";
|
|
340
|
+
readonly properties: {
|
|
341
|
+
readonly delta: {
|
|
342
|
+
readonly type: "string";
|
|
343
|
+
readonly maxLength: 80;
|
|
344
|
+
};
|
|
345
|
+
readonly turn: {
|
|
346
|
+
readonly type: "string";
|
|
347
|
+
readonly maxLength: 80;
|
|
348
|
+
};
|
|
349
|
+
readonly session: {
|
|
350
|
+
readonly type: "string";
|
|
351
|
+
readonly maxLength: 80;
|
|
352
|
+
};
|
|
353
|
+
readonly step: {
|
|
354
|
+
readonly type: "string";
|
|
355
|
+
readonly maxLength: 80;
|
|
356
|
+
};
|
|
357
|
+
readonly steps: {
|
|
358
|
+
readonly type: "string";
|
|
359
|
+
readonly maxLength: 80;
|
|
360
|
+
};
|
|
361
|
+
readonly input: {
|
|
362
|
+
readonly type: "string";
|
|
363
|
+
readonly maxLength: 80;
|
|
364
|
+
};
|
|
365
|
+
readonly cached: {
|
|
366
|
+
readonly type: "string";
|
|
367
|
+
readonly maxLength: 80;
|
|
368
|
+
};
|
|
369
|
+
readonly output: {
|
|
370
|
+
readonly type: "string";
|
|
371
|
+
readonly maxLength: 80;
|
|
372
|
+
};
|
|
373
|
+
readonly reasoning: {
|
|
374
|
+
readonly type: "string";
|
|
375
|
+
readonly maxLength: 80;
|
|
376
|
+
};
|
|
377
|
+
readonly cost: {
|
|
378
|
+
readonly type: "string";
|
|
379
|
+
readonly maxLength: 80;
|
|
380
|
+
};
|
|
381
|
+
readonly estimate: {
|
|
382
|
+
readonly type: "string";
|
|
383
|
+
readonly maxLength: 80;
|
|
384
|
+
};
|
|
385
|
+
readonly cacheExpired: {
|
|
386
|
+
readonly type: "string";
|
|
387
|
+
readonly maxLength: 80;
|
|
388
|
+
};
|
|
389
|
+
readonly providerChanged: {
|
|
390
|
+
readonly type: "string";
|
|
391
|
+
readonly maxLength: 80;
|
|
392
|
+
};
|
|
393
|
+
readonly modelChanged: {
|
|
394
|
+
readonly type: "string";
|
|
395
|
+
readonly maxLength: 80;
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
readonly additionalProperties: false;
|
|
399
|
+
};
|
|
400
|
+
readonly panel: {
|
|
401
|
+
readonly type: "boolean";
|
|
402
|
+
};
|
|
403
|
+
readonly sidebar: {
|
|
404
|
+
readonly type: "boolean";
|
|
405
|
+
};
|
|
406
|
+
readonly sidebarTurns: {
|
|
407
|
+
readonly type: "number";
|
|
408
|
+
readonly minimum: 1;
|
|
409
|
+
readonly maximum: 50;
|
|
410
|
+
};
|
|
411
|
+
readonly quota: {
|
|
412
|
+
readonly type: "boolean";
|
|
413
|
+
};
|
|
414
|
+
readonly quotaName: {
|
|
415
|
+
readonly type: "string";
|
|
416
|
+
readonly maxLength: 120;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
readonly required: readonly ["pricing", "turnTotals", "fields", "labels", "panel", "sidebar", "sidebarTurns", "quota", "quotaName"];
|
|
420
|
+
readonly additionalProperties: false;
|
|
421
|
+
};
|
|
422
|
+
readonly policy: {
|
|
423
|
+
readonly type: "object";
|
|
424
|
+
readonly properties: {
|
|
425
|
+
readonly maintenance: {
|
|
426
|
+
readonly type: "boolean";
|
|
427
|
+
};
|
|
428
|
+
readonly exposePaths: {
|
|
429
|
+
readonly type: "boolean";
|
|
430
|
+
};
|
|
431
|
+
};
|
|
432
|
+
readonly required: readonly ["maintenance", "exposePaths"];
|
|
433
|
+
readonly additionalProperties: false;
|
|
434
|
+
};
|
|
435
|
+
};
|
|
436
|
+
readonly required: readonly ["settings", "policy"];
|
|
437
|
+
readonly additionalProperties: false;
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
reset: {
|
|
441
|
+
input: {
|
|
442
|
+
readonly type: "object";
|
|
443
|
+
readonly properties: {};
|
|
444
|
+
readonly additionalProperties: false;
|
|
445
|
+
};
|
|
446
|
+
output: {
|
|
447
|
+
readonly type: "object";
|
|
448
|
+
readonly properties: {
|
|
449
|
+
readonly settings: {
|
|
450
|
+
readonly type: "object";
|
|
451
|
+
readonly properties: {
|
|
452
|
+
readonly pricing: {
|
|
453
|
+
readonly type: "boolean";
|
|
454
|
+
};
|
|
455
|
+
readonly turnTotals: {
|
|
456
|
+
readonly type: "string";
|
|
457
|
+
readonly enum: readonly ["latest", "sum"];
|
|
458
|
+
};
|
|
459
|
+
readonly fields: {
|
|
460
|
+
readonly type: "object";
|
|
461
|
+
readonly properties: {
|
|
462
|
+
readonly clock: {
|
|
463
|
+
readonly type: "boolean";
|
|
464
|
+
};
|
|
465
|
+
readonly delta: {
|
|
466
|
+
readonly type: "boolean";
|
|
467
|
+
};
|
|
468
|
+
readonly model: {
|
|
469
|
+
readonly type: "boolean";
|
|
470
|
+
};
|
|
471
|
+
readonly variant: {
|
|
472
|
+
readonly type: "boolean";
|
|
473
|
+
};
|
|
474
|
+
readonly turn: {
|
|
475
|
+
readonly type: "boolean";
|
|
476
|
+
};
|
|
477
|
+
readonly session: {
|
|
478
|
+
readonly type: "boolean";
|
|
479
|
+
};
|
|
480
|
+
readonly reasoning: {
|
|
481
|
+
readonly type: "boolean";
|
|
482
|
+
};
|
|
483
|
+
readonly cost: {
|
|
484
|
+
readonly type: "boolean";
|
|
485
|
+
};
|
|
486
|
+
readonly cacheExpiry: {
|
|
487
|
+
readonly type: "boolean";
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
readonly additionalProperties: false;
|
|
491
|
+
};
|
|
492
|
+
readonly labels: {
|
|
493
|
+
readonly type: "object";
|
|
494
|
+
readonly properties: {
|
|
495
|
+
readonly delta: {
|
|
496
|
+
readonly type: "string";
|
|
497
|
+
readonly maxLength: 80;
|
|
498
|
+
};
|
|
499
|
+
readonly turn: {
|
|
500
|
+
readonly type: "string";
|
|
501
|
+
readonly maxLength: 80;
|
|
502
|
+
};
|
|
503
|
+
readonly session: {
|
|
504
|
+
readonly type: "string";
|
|
505
|
+
readonly maxLength: 80;
|
|
506
|
+
};
|
|
507
|
+
readonly step: {
|
|
508
|
+
readonly type: "string";
|
|
509
|
+
readonly maxLength: 80;
|
|
510
|
+
};
|
|
511
|
+
readonly steps: {
|
|
512
|
+
readonly type: "string";
|
|
513
|
+
readonly maxLength: 80;
|
|
514
|
+
};
|
|
515
|
+
readonly input: {
|
|
516
|
+
readonly type: "string";
|
|
517
|
+
readonly maxLength: 80;
|
|
518
|
+
};
|
|
519
|
+
readonly cached: {
|
|
520
|
+
readonly type: "string";
|
|
521
|
+
readonly maxLength: 80;
|
|
522
|
+
};
|
|
523
|
+
readonly output: {
|
|
524
|
+
readonly type: "string";
|
|
525
|
+
readonly maxLength: 80;
|
|
526
|
+
};
|
|
527
|
+
readonly reasoning: {
|
|
528
|
+
readonly type: "string";
|
|
529
|
+
readonly maxLength: 80;
|
|
530
|
+
};
|
|
531
|
+
readonly cost: {
|
|
532
|
+
readonly type: "string";
|
|
533
|
+
readonly maxLength: 80;
|
|
534
|
+
};
|
|
535
|
+
readonly estimate: {
|
|
536
|
+
readonly type: "string";
|
|
537
|
+
readonly maxLength: 80;
|
|
538
|
+
};
|
|
539
|
+
readonly cacheExpired: {
|
|
540
|
+
readonly type: "string";
|
|
541
|
+
readonly maxLength: 80;
|
|
542
|
+
};
|
|
543
|
+
readonly providerChanged: {
|
|
544
|
+
readonly type: "string";
|
|
545
|
+
readonly maxLength: 80;
|
|
546
|
+
};
|
|
547
|
+
readonly modelChanged: {
|
|
548
|
+
readonly type: "string";
|
|
549
|
+
readonly maxLength: 80;
|
|
550
|
+
};
|
|
551
|
+
};
|
|
552
|
+
readonly additionalProperties: false;
|
|
553
|
+
};
|
|
554
|
+
readonly panel: {
|
|
555
|
+
readonly type: "boolean";
|
|
556
|
+
};
|
|
557
|
+
readonly sidebar: {
|
|
558
|
+
readonly type: "boolean";
|
|
559
|
+
};
|
|
560
|
+
readonly sidebarTurns: {
|
|
561
|
+
readonly type: "number";
|
|
562
|
+
readonly minimum: 1;
|
|
563
|
+
readonly maximum: 50;
|
|
564
|
+
};
|
|
565
|
+
readonly quota: {
|
|
566
|
+
readonly type: "boolean";
|
|
567
|
+
};
|
|
568
|
+
readonly quotaName: {
|
|
569
|
+
readonly type: "string";
|
|
570
|
+
readonly maxLength: 120;
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
readonly required: readonly ["pricing", "turnTotals", "fields", "labels", "panel", "sidebar", "sidebarTurns", "quota", "quotaName"];
|
|
574
|
+
readonly additionalProperties: false;
|
|
575
|
+
};
|
|
576
|
+
readonly policy: {
|
|
577
|
+
readonly type: "object";
|
|
578
|
+
readonly properties: {
|
|
579
|
+
readonly maintenance: {
|
|
580
|
+
readonly type: "boolean";
|
|
581
|
+
};
|
|
582
|
+
readonly exposePaths: {
|
|
583
|
+
readonly type: "boolean";
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
readonly required: readonly ["maintenance", "exposePaths"];
|
|
587
|
+
readonly additionalProperties: false;
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
readonly required: readonly ["settings", "policy"];
|
|
591
|
+
readonly additionalProperties: false;
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
readonly events: {
|
|
596
|
+
updated: {
|
|
597
|
+
schema: {
|
|
598
|
+
readonly type: "object";
|
|
599
|
+
readonly properties: {
|
|
600
|
+
readonly settings: {
|
|
601
|
+
readonly type: "object";
|
|
602
|
+
readonly properties: {
|
|
603
|
+
readonly pricing: {
|
|
604
|
+
readonly type: "boolean";
|
|
605
|
+
};
|
|
606
|
+
readonly turnTotals: {
|
|
607
|
+
readonly type: "string";
|
|
608
|
+
readonly enum: readonly ["latest", "sum"];
|
|
609
|
+
};
|
|
610
|
+
readonly fields: {
|
|
611
|
+
readonly type: "object";
|
|
612
|
+
readonly properties: {
|
|
613
|
+
readonly clock: {
|
|
614
|
+
readonly type: "boolean";
|
|
615
|
+
};
|
|
616
|
+
readonly delta: {
|
|
617
|
+
readonly type: "boolean";
|
|
618
|
+
};
|
|
619
|
+
readonly model: {
|
|
620
|
+
readonly type: "boolean";
|
|
621
|
+
};
|
|
622
|
+
readonly variant: {
|
|
623
|
+
readonly type: "boolean";
|
|
624
|
+
};
|
|
625
|
+
readonly turn: {
|
|
626
|
+
readonly type: "boolean";
|
|
627
|
+
};
|
|
628
|
+
readonly session: {
|
|
629
|
+
readonly type: "boolean";
|
|
630
|
+
};
|
|
631
|
+
readonly reasoning: {
|
|
632
|
+
readonly type: "boolean";
|
|
633
|
+
};
|
|
634
|
+
readonly cost: {
|
|
635
|
+
readonly type: "boolean";
|
|
636
|
+
};
|
|
637
|
+
readonly cacheExpiry: {
|
|
638
|
+
readonly type: "boolean";
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
readonly additionalProperties: false;
|
|
642
|
+
};
|
|
643
|
+
readonly labels: {
|
|
644
|
+
readonly type: "object";
|
|
645
|
+
readonly properties: {
|
|
646
|
+
readonly delta: {
|
|
647
|
+
readonly type: "string";
|
|
648
|
+
readonly maxLength: 80;
|
|
649
|
+
};
|
|
650
|
+
readonly turn: {
|
|
651
|
+
readonly type: "string";
|
|
652
|
+
readonly maxLength: 80;
|
|
653
|
+
};
|
|
654
|
+
readonly session: {
|
|
655
|
+
readonly type: "string";
|
|
656
|
+
readonly maxLength: 80;
|
|
657
|
+
};
|
|
658
|
+
readonly step: {
|
|
659
|
+
readonly type: "string";
|
|
660
|
+
readonly maxLength: 80;
|
|
661
|
+
};
|
|
662
|
+
readonly steps: {
|
|
663
|
+
readonly type: "string";
|
|
664
|
+
readonly maxLength: 80;
|
|
665
|
+
};
|
|
666
|
+
readonly input: {
|
|
667
|
+
readonly type: "string";
|
|
668
|
+
readonly maxLength: 80;
|
|
669
|
+
};
|
|
670
|
+
readonly cached: {
|
|
671
|
+
readonly type: "string";
|
|
672
|
+
readonly maxLength: 80;
|
|
673
|
+
};
|
|
674
|
+
readonly output: {
|
|
675
|
+
readonly type: "string";
|
|
676
|
+
readonly maxLength: 80;
|
|
677
|
+
};
|
|
678
|
+
readonly reasoning: {
|
|
679
|
+
readonly type: "string";
|
|
680
|
+
readonly maxLength: 80;
|
|
681
|
+
};
|
|
682
|
+
readonly cost: {
|
|
683
|
+
readonly type: "string";
|
|
684
|
+
readonly maxLength: 80;
|
|
685
|
+
};
|
|
686
|
+
readonly estimate: {
|
|
687
|
+
readonly type: "string";
|
|
688
|
+
readonly maxLength: 80;
|
|
689
|
+
};
|
|
690
|
+
readonly cacheExpired: {
|
|
691
|
+
readonly type: "string";
|
|
692
|
+
readonly maxLength: 80;
|
|
693
|
+
};
|
|
694
|
+
readonly providerChanged: {
|
|
695
|
+
readonly type: "string";
|
|
696
|
+
readonly maxLength: 80;
|
|
697
|
+
};
|
|
698
|
+
readonly modelChanged: {
|
|
699
|
+
readonly type: "string";
|
|
700
|
+
readonly maxLength: 80;
|
|
701
|
+
};
|
|
702
|
+
};
|
|
703
|
+
readonly additionalProperties: false;
|
|
704
|
+
};
|
|
705
|
+
readonly panel: {
|
|
706
|
+
readonly type: "boolean";
|
|
707
|
+
};
|
|
708
|
+
readonly sidebar: {
|
|
709
|
+
readonly type: "boolean";
|
|
710
|
+
};
|
|
711
|
+
readonly sidebarTurns: {
|
|
712
|
+
readonly type: "number";
|
|
713
|
+
readonly minimum: 1;
|
|
714
|
+
readonly maximum: 50;
|
|
715
|
+
};
|
|
716
|
+
readonly quota: {
|
|
717
|
+
readonly type: "boolean";
|
|
718
|
+
};
|
|
719
|
+
readonly quotaName: {
|
|
720
|
+
readonly type: "string";
|
|
721
|
+
readonly maxLength: 120;
|
|
722
|
+
};
|
|
723
|
+
};
|
|
724
|
+
readonly required: readonly ["pricing", "turnTotals", "fields", "labels", "panel", "sidebar", "sidebarTurns", "quota", "quotaName"];
|
|
725
|
+
readonly additionalProperties: false;
|
|
726
|
+
};
|
|
727
|
+
readonly policy: {
|
|
728
|
+
readonly type: "object";
|
|
729
|
+
readonly properties: {
|
|
730
|
+
readonly maintenance: {
|
|
731
|
+
readonly type: "boolean";
|
|
732
|
+
};
|
|
733
|
+
readonly exposePaths: {
|
|
734
|
+
readonly type: "boolean";
|
|
735
|
+
};
|
|
736
|
+
};
|
|
737
|
+
readonly required: readonly ["maintenance", "exposePaths"];
|
|
738
|
+
readonly additionalProperties: false;
|
|
739
|
+
};
|
|
740
|
+
};
|
|
741
|
+
readonly required: readonly ["settings", "policy"];
|
|
742
|
+
readonly additionalProperties: false;
|
|
743
|
+
};
|
|
744
|
+
};
|
|
745
|
+
};
|
|
746
|
+
};
|