opencode-prompt-logger 0.1.0 → 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/README.md +105 -525
- package/dist/core.d.ts +7 -46
- package/dist/detail-lines.d.ts +17 -0
- package/dist/gui-experimental.cjs +29 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2282 -71
- package/dist/index.js.map +15 -5
- package/dist/log/body.d.ts +41 -0
- package/dist/log/errors.d.ts +5 -0
- package/dist/log/limits.d.ts +30 -0
- package/dist/log/paths.d.ts +42 -0
- package/dist/log/sanitize.d.ts +16 -0
- package/dist/log/summary.d.ts +3 -0
- package/dist/log/types.d.ts +58 -0
- package/dist/log/v2.d.ts +155 -0
- package/dist/logging-indicator.d.ts +31 -0
- package/dist/rpc-client.d.ts +27 -0
- package/dist/rpc-client.js +585 -0
- package/dist/rpc-client.js.map +14 -0
- package/dist/rpc.d.ts +1437 -0
- package/dist/rpc.js +446 -0
- package/dist/rpc.js.map +12 -0
- package/dist/runtime-state.d.ts +35 -0
- package/dist/session-scope-client.d.ts +8 -0
- package/dist/session-scope.d.ts +65 -0
- package/dist/settings.d.ts +46 -0
- package/dist/tui-panel/detail.d.ts +28 -0
- package/dist/tui-panel/panel.d.ts +21 -0
- package/dist/tui-status.d.ts +25 -0
- package/dist/tui.d.ts +15 -0
- package/dist/tui.js +2571 -0
- package/dist/tui.js.map +25 -0
- package/dist/ui-support.d.ts +3 -0
- package/dist/view-model.d.ts +76 -0
- package/package.json +53 -10
package/dist/rpc.d.ts
ADDED
|
@@ -0,0 +1,1437 @@
|
|
|
1
|
+
import type { SessionScope, SessionScopeChange } from "./session-scope";
|
|
2
|
+
import { type Settings } from "./settings";
|
|
3
|
+
import type { LogSummary, SearchMatch } from "./log/types";
|
|
4
|
+
export declare const CONTRACT_VERSION = 6;
|
|
5
|
+
export type StoreStatusView = {
|
|
6
|
+
readonly path: string;
|
|
7
|
+
readonly exists: boolean;
|
|
8
|
+
readonly bytes: number;
|
|
9
|
+
readonly mtimeMs: number | null;
|
|
10
|
+
/** True when the store root is a directory. */
|
|
11
|
+
readonly directory: boolean;
|
|
12
|
+
readonly symlink: boolean;
|
|
13
|
+
readonly mode: number | null;
|
|
14
|
+
readonly directoryMode: number | null;
|
|
15
|
+
readonly warnings: readonly string[];
|
|
16
|
+
};
|
|
17
|
+
export type CacheView = {
|
|
18
|
+
readonly requests: number;
|
|
19
|
+
readonly requestBytes: number;
|
|
20
|
+
readonly lastScanMs: number;
|
|
21
|
+
readonly error: string | null;
|
|
22
|
+
};
|
|
23
|
+
/** Settings plus the computed retention policy. */
|
|
24
|
+
export type StatusSettings = Settings & {
|
|
25
|
+
/** Effective retention policy. `null` means unlimited. */
|
|
26
|
+
readonly retention: {
|
|
27
|
+
readonly maxTotalBytes: number | null;
|
|
28
|
+
readonly maxAgeDays: number;
|
|
29
|
+
readonly maxSessions: number | null;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export type StatusResponse = {
|
|
33
|
+
readonly version: number;
|
|
34
|
+
readonly store: StoreStatusView;
|
|
35
|
+
readonly settings: StatusSettings;
|
|
36
|
+
/** Which sessions are written while logging is enabled. */
|
|
37
|
+
readonly sessionScope: SessionScope;
|
|
38
|
+
readonly cache: CacheView;
|
|
39
|
+
readonly lastWriteAt: string | null;
|
|
40
|
+
readonly lastWriteError: {
|
|
41
|
+
readonly at: string;
|
|
42
|
+
readonly code?: string;
|
|
43
|
+
readonly message: string;
|
|
44
|
+
} | null;
|
|
45
|
+
};
|
|
46
|
+
export type ListRequest = {
|
|
47
|
+
readonly sessionID?: string;
|
|
48
|
+
readonly type?: string;
|
|
49
|
+
readonly kind?: string;
|
|
50
|
+
readonly agent?: string;
|
|
51
|
+
readonly model?: string;
|
|
52
|
+
readonly query?: string;
|
|
53
|
+
readonly limit?: number;
|
|
54
|
+
readonly cursor?: string;
|
|
55
|
+
};
|
|
56
|
+
export type ListResponse = {
|
|
57
|
+
readonly entries: readonly LogSummary[];
|
|
58
|
+
readonly hasMore: boolean;
|
|
59
|
+
readonly records: number;
|
|
60
|
+
readonly error: string | null;
|
|
61
|
+
};
|
|
62
|
+
export type ReadRequest = {
|
|
63
|
+
/** Opaque v2 request key from the list. */
|
|
64
|
+
readonly key: string;
|
|
65
|
+
/**
|
|
66
|
+
* Read budget in bytes. Omit for the preview budget; an explicit
|
|
67
|
+
* "load complete entry" may ask for up to `MAX_FULL_RECORD_BYTES`.
|
|
68
|
+
*/
|
|
69
|
+
readonly maxBytes?: number;
|
|
70
|
+
};
|
|
71
|
+
export type ReadResponse = {
|
|
72
|
+
readonly record: unknown;
|
|
73
|
+
readonly bytes: number;
|
|
74
|
+
readonly truncated: boolean;
|
|
75
|
+
/** A larger `maxBytes` could return more of the same request. */
|
|
76
|
+
readonly moreAvailable?: boolean;
|
|
77
|
+
/** Logical size of the complete request, including the decoded body. */
|
|
78
|
+
readonly fullBytes?: number;
|
|
79
|
+
/** Concrete files backing this record, for "Reveal" actions. */
|
|
80
|
+
readonly paths?: {
|
|
81
|
+
readonly session?: string;
|
|
82
|
+
readonly requests?: string;
|
|
83
|
+
readonly body?: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
export type SearchRequest = {
|
|
87
|
+
readonly sessionID?: string;
|
|
88
|
+
readonly type?: string;
|
|
89
|
+
readonly kind?: string;
|
|
90
|
+
readonly agent?: string;
|
|
91
|
+
readonly model?: string;
|
|
92
|
+
readonly query: string;
|
|
93
|
+
readonly limit?: number;
|
|
94
|
+
readonly ignoreCase?: boolean;
|
|
95
|
+
readonly budgetBytes?: number;
|
|
96
|
+
readonly budgetMs?: number;
|
|
97
|
+
};
|
|
98
|
+
export type SearchResponse = {
|
|
99
|
+
readonly matches: readonly SearchMatch[];
|
|
100
|
+
readonly partial: boolean;
|
|
101
|
+
readonly scannedBytes: number;
|
|
102
|
+
readonly skipped: number;
|
|
103
|
+
readonly error: string | null;
|
|
104
|
+
};
|
|
105
|
+
export type TruncateTarget = "current" | "all";
|
|
106
|
+
export type TruncateRequest = {
|
|
107
|
+
readonly target: TruncateTarget;
|
|
108
|
+
/** The session whose directory is deleted by `current`. */
|
|
109
|
+
readonly sessionID?: string;
|
|
110
|
+
readonly confirm: true;
|
|
111
|
+
};
|
|
112
|
+
export type TruncateResponse = {
|
|
113
|
+
readonly target: TruncateTarget;
|
|
114
|
+
readonly bytesFreed: number;
|
|
115
|
+
};
|
|
116
|
+
export type SettingsResponse = {
|
|
117
|
+
readonly settings: Settings;
|
|
118
|
+
readonly sessionScope: SessionScope;
|
|
119
|
+
};
|
|
120
|
+
export type SetSettingsRequest = {
|
|
121
|
+
readonly settings: Settings;
|
|
122
|
+
};
|
|
123
|
+
/** The scope transition accepted by `updateSessionScope`. */
|
|
124
|
+
export type UpdateSessionScopeRequest = SessionScopeChange;
|
|
125
|
+
export type UpdateSessionScopeResponse = {
|
|
126
|
+
readonly sessionScope: SessionScope;
|
|
127
|
+
/** Selecting a session while logging is off turns the master switch on. */
|
|
128
|
+
readonly settings: Settings;
|
|
129
|
+
};
|
|
130
|
+
export type SettingsChangedEvent = SettingsResponse;
|
|
131
|
+
export type ChangedReason = "append" | "truncate" | "error";
|
|
132
|
+
export type ChangedEvent = {
|
|
133
|
+
/** The store root, not a single file. */
|
|
134
|
+
readonly store: string;
|
|
135
|
+
readonly reason: ChangedReason;
|
|
136
|
+
readonly at: string;
|
|
137
|
+
};
|
|
138
|
+
export declare const PromptLogger: {
|
|
139
|
+
readonly id: "prompt-logger";
|
|
140
|
+
readonly methods: {
|
|
141
|
+
readonly status: {
|
|
142
|
+
readonly input: {
|
|
143
|
+
readonly type: "object";
|
|
144
|
+
readonly properties: {};
|
|
145
|
+
readonly additionalProperties: false;
|
|
146
|
+
};
|
|
147
|
+
readonly output: {
|
|
148
|
+
readonly type: "object";
|
|
149
|
+
readonly properties: {
|
|
150
|
+
readonly version: {
|
|
151
|
+
readonly type: "number";
|
|
152
|
+
};
|
|
153
|
+
readonly store: {
|
|
154
|
+
readonly type: "object";
|
|
155
|
+
readonly properties: {
|
|
156
|
+
readonly path: {
|
|
157
|
+
readonly type: "string";
|
|
158
|
+
};
|
|
159
|
+
readonly exists: {
|
|
160
|
+
readonly type: "boolean";
|
|
161
|
+
};
|
|
162
|
+
readonly bytes: {
|
|
163
|
+
readonly type: "number";
|
|
164
|
+
};
|
|
165
|
+
readonly mtimeMs: {
|
|
166
|
+
readonly anyOf: readonly [{
|
|
167
|
+
readonly type: "number";
|
|
168
|
+
}, {
|
|
169
|
+
readonly type: "null";
|
|
170
|
+
}];
|
|
171
|
+
};
|
|
172
|
+
readonly directory: {
|
|
173
|
+
readonly type: "boolean";
|
|
174
|
+
};
|
|
175
|
+
readonly symlink: {
|
|
176
|
+
readonly type: "boolean";
|
|
177
|
+
};
|
|
178
|
+
readonly mode: {
|
|
179
|
+
readonly anyOf: readonly [{
|
|
180
|
+
readonly type: "number";
|
|
181
|
+
}, {
|
|
182
|
+
readonly type: "null";
|
|
183
|
+
}];
|
|
184
|
+
};
|
|
185
|
+
readonly directoryMode: {
|
|
186
|
+
readonly anyOf: readonly [{
|
|
187
|
+
readonly type: "number";
|
|
188
|
+
}, {
|
|
189
|
+
readonly type: "null";
|
|
190
|
+
}];
|
|
191
|
+
};
|
|
192
|
+
readonly warnings: {
|
|
193
|
+
readonly type: "array";
|
|
194
|
+
readonly items: {
|
|
195
|
+
readonly type: "string";
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
readonly required: readonly ["path", "exists", "bytes", "mtimeMs", "directory", "symlink", "mode", "directoryMode", "warnings"];
|
|
200
|
+
readonly additionalProperties: false;
|
|
201
|
+
};
|
|
202
|
+
readonly settings: {
|
|
203
|
+
readonly type: "object";
|
|
204
|
+
readonly properties: {
|
|
205
|
+
readonly retention: {
|
|
206
|
+
readonly type: "object";
|
|
207
|
+
readonly properties: {
|
|
208
|
+
readonly maxTotalBytes: {
|
|
209
|
+
readonly anyOf: readonly [{
|
|
210
|
+
readonly type: "number";
|
|
211
|
+
}, {
|
|
212
|
+
readonly type: "null";
|
|
213
|
+
}];
|
|
214
|
+
};
|
|
215
|
+
readonly maxAgeDays: {
|
|
216
|
+
readonly type: "number";
|
|
217
|
+
};
|
|
218
|
+
readonly maxSessions: {
|
|
219
|
+
readonly anyOf: readonly [{
|
|
220
|
+
readonly type: "number";
|
|
221
|
+
}, {
|
|
222
|
+
readonly type: "null";
|
|
223
|
+
}];
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
readonly required: readonly ["maxTotalBytes", "maxAgeDays", "maxSessions"];
|
|
227
|
+
readonly additionalProperties: false;
|
|
228
|
+
};
|
|
229
|
+
readonly enabled: {
|
|
230
|
+
readonly type: "boolean";
|
|
231
|
+
};
|
|
232
|
+
readonly http: {
|
|
233
|
+
readonly type: "boolean";
|
|
234
|
+
};
|
|
235
|
+
readonly diskBudget: {
|
|
236
|
+
readonly type: "number";
|
|
237
|
+
readonly minimum: 0;
|
|
238
|
+
readonly maximum: number;
|
|
239
|
+
};
|
|
240
|
+
readonly retentionMaxAgeDays: {
|
|
241
|
+
readonly type: "number";
|
|
242
|
+
readonly minimum: 0;
|
|
243
|
+
readonly maximum: 3650;
|
|
244
|
+
};
|
|
245
|
+
readonly retentionMaxSessions: {
|
|
246
|
+
readonly type: "number";
|
|
247
|
+
readonly minimum: 0;
|
|
248
|
+
readonly maximum: 10000;
|
|
249
|
+
};
|
|
250
|
+
readonly directory: {
|
|
251
|
+
readonly type: "string";
|
|
252
|
+
readonly maxLength: 4096;
|
|
253
|
+
};
|
|
254
|
+
readonly maintenance: {
|
|
255
|
+
readonly type: "boolean";
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
readonly required: readonly ["enabled", "http", "diskBudget", "retentionMaxAgeDays", "retentionMaxSessions", "directory", "maintenance", "retention"];
|
|
259
|
+
readonly additionalProperties: false;
|
|
260
|
+
};
|
|
261
|
+
readonly sessionScope: {
|
|
262
|
+
readonly type: "object";
|
|
263
|
+
readonly properties: {
|
|
264
|
+
readonly mode: {
|
|
265
|
+
readonly type: "string";
|
|
266
|
+
readonly enum: readonly ["all", "only"];
|
|
267
|
+
};
|
|
268
|
+
readonly sessions: {
|
|
269
|
+
readonly type: "array";
|
|
270
|
+
readonly items: {
|
|
271
|
+
readonly type: "string";
|
|
272
|
+
readonly maxLength: 200;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
readonly max: {
|
|
276
|
+
readonly type: "number";
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
readonly required: readonly ["mode", "sessions", "max"];
|
|
280
|
+
readonly additionalProperties: false;
|
|
281
|
+
};
|
|
282
|
+
readonly cache: {
|
|
283
|
+
readonly type: "object";
|
|
284
|
+
readonly properties: {
|
|
285
|
+
readonly requests: {
|
|
286
|
+
readonly type: "number";
|
|
287
|
+
};
|
|
288
|
+
readonly requestBytes: {
|
|
289
|
+
readonly type: "number";
|
|
290
|
+
};
|
|
291
|
+
readonly lastScanMs: {
|
|
292
|
+
readonly type: "number";
|
|
293
|
+
};
|
|
294
|
+
readonly error: {
|
|
295
|
+
readonly type: readonly ["string", "null"];
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
readonly required: readonly ["requests", "requestBytes", "lastScanMs", "error"];
|
|
299
|
+
readonly additionalProperties: false;
|
|
300
|
+
};
|
|
301
|
+
readonly lastWriteAt: {
|
|
302
|
+
readonly anyOf: readonly [{
|
|
303
|
+
readonly type: "string";
|
|
304
|
+
}, {
|
|
305
|
+
readonly type: "null";
|
|
306
|
+
}];
|
|
307
|
+
};
|
|
308
|
+
readonly lastWriteError: {
|
|
309
|
+
readonly anyOf: readonly [{
|
|
310
|
+
readonly type: "null";
|
|
311
|
+
}, {
|
|
312
|
+
readonly type: "object";
|
|
313
|
+
readonly properties: {
|
|
314
|
+
readonly at: {
|
|
315
|
+
readonly type: "string";
|
|
316
|
+
};
|
|
317
|
+
readonly code: {
|
|
318
|
+
readonly type: "string";
|
|
319
|
+
};
|
|
320
|
+
readonly message: {
|
|
321
|
+
readonly type: "string";
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
readonly required: readonly ["at", "message"];
|
|
325
|
+
readonly additionalProperties: false;
|
|
326
|
+
}];
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
readonly required: readonly ["version", "store", "settings", "sessionScope", "cache", "lastWriteAt", "lastWriteError"];
|
|
330
|
+
readonly additionalProperties: false;
|
|
331
|
+
};
|
|
332
|
+
readonly errors: {
|
|
333
|
+
readonly io: {
|
|
334
|
+
readonly type: "object";
|
|
335
|
+
readonly properties: {
|
|
336
|
+
readonly message: {
|
|
337
|
+
readonly type: "string";
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
readonly additionalProperties: false;
|
|
341
|
+
};
|
|
342
|
+
readonly not_found: {
|
|
343
|
+
readonly type: "object";
|
|
344
|
+
readonly properties: {
|
|
345
|
+
readonly message: {
|
|
346
|
+
readonly type: "string";
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
readonly additionalProperties: false;
|
|
350
|
+
};
|
|
351
|
+
readonly bad_request: {
|
|
352
|
+
readonly type: "object";
|
|
353
|
+
readonly properties: {
|
|
354
|
+
readonly message: {
|
|
355
|
+
readonly type: "string";
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
readonly additionalProperties: false;
|
|
359
|
+
};
|
|
360
|
+
readonly forbidden: {
|
|
361
|
+
readonly type: "object";
|
|
362
|
+
readonly properties: {
|
|
363
|
+
readonly message: {
|
|
364
|
+
readonly type: "string";
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
readonly additionalProperties: false;
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
readonly list: {
|
|
372
|
+
readonly input: {
|
|
373
|
+
readonly type: "object";
|
|
374
|
+
readonly properties: {
|
|
375
|
+
readonly limit: {
|
|
376
|
+
readonly type: "number";
|
|
377
|
+
};
|
|
378
|
+
readonly cursor: {
|
|
379
|
+
readonly type: "string";
|
|
380
|
+
};
|
|
381
|
+
readonly sessionID: {
|
|
382
|
+
readonly type: "string";
|
|
383
|
+
readonly maxLength: 200;
|
|
384
|
+
};
|
|
385
|
+
readonly type: {
|
|
386
|
+
readonly type: "string";
|
|
387
|
+
readonly maxLength: 80;
|
|
388
|
+
};
|
|
389
|
+
readonly kind: {
|
|
390
|
+
readonly type: "string";
|
|
391
|
+
readonly maxLength: 80;
|
|
392
|
+
};
|
|
393
|
+
readonly agent: {
|
|
394
|
+
readonly type: "string";
|
|
395
|
+
readonly maxLength: 200;
|
|
396
|
+
};
|
|
397
|
+
readonly model: {
|
|
398
|
+
readonly type: "string";
|
|
399
|
+
readonly maxLength: 200;
|
|
400
|
+
};
|
|
401
|
+
readonly query: {
|
|
402
|
+
readonly type: "string";
|
|
403
|
+
readonly maxLength: 200;
|
|
404
|
+
};
|
|
405
|
+
};
|
|
406
|
+
readonly additionalProperties: false;
|
|
407
|
+
};
|
|
408
|
+
readonly output: {
|
|
409
|
+
readonly type: "object";
|
|
410
|
+
readonly properties: {
|
|
411
|
+
readonly entries: {
|
|
412
|
+
readonly type: "array";
|
|
413
|
+
readonly items: {
|
|
414
|
+
readonly type: "object";
|
|
415
|
+
readonly properties: {
|
|
416
|
+
readonly key: {
|
|
417
|
+
readonly type: "string";
|
|
418
|
+
};
|
|
419
|
+
readonly cursor: {
|
|
420
|
+
readonly type: "string";
|
|
421
|
+
};
|
|
422
|
+
readonly bytes: {
|
|
423
|
+
readonly type: "number";
|
|
424
|
+
};
|
|
425
|
+
readonly at: {
|
|
426
|
+
readonly type: readonly ["string", "null"];
|
|
427
|
+
};
|
|
428
|
+
readonly type: {
|
|
429
|
+
readonly type: readonly ["string", "null"];
|
|
430
|
+
};
|
|
431
|
+
readonly kind: {
|
|
432
|
+
readonly type: readonly ["string", "null"];
|
|
433
|
+
};
|
|
434
|
+
readonly sessionID: {
|
|
435
|
+
readonly type: readonly ["string", "null"];
|
|
436
|
+
};
|
|
437
|
+
readonly agent: {
|
|
438
|
+
readonly type: readonly ["string", "null"];
|
|
439
|
+
};
|
|
440
|
+
readonly model: {
|
|
441
|
+
readonly anyOf: readonly [{
|
|
442
|
+
readonly type: "null";
|
|
443
|
+
}, {
|
|
444
|
+
readonly type: "object";
|
|
445
|
+
readonly properties: {
|
|
446
|
+
readonly providerID: {
|
|
447
|
+
readonly type: "string";
|
|
448
|
+
};
|
|
449
|
+
readonly id: {
|
|
450
|
+
readonly type: "string";
|
|
451
|
+
};
|
|
452
|
+
readonly variant: {
|
|
453
|
+
readonly type: "string";
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
readonly additionalProperties: false;
|
|
457
|
+
}];
|
|
458
|
+
};
|
|
459
|
+
readonly url: {
|
|
460
|
+
readonly type: readonly ["string", "null"];
|
|
461
|
+
};
|
|
462
|
+
readonly messages: {
|
|
463
|
+
readonly type: "number";
|
|
464
|
+
};
|
|
465
|
+
readonly bodyBytes: {
|
|
466
|
+
readonly type: "number";
|
|
467
|
+
};
|
|
468
|
+
readonly hasBody: {
|
|
469
|
+
readonly type: "boolean";
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
readonly required: readonly ["key", "cursor", "bytes", "at", "type", "kind", "sessionID", "agent", "model", "url"];
|
|
473
|
+
readonly additionalProperties: false;
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
readonly hasMore: {
|
|
477
|
+
readonly type: "boolean";
|
|
478
|
+
};
|
|
479
|
+
readonly records: {
|
|
480
|
+
readonly type: "number";
|
|
481
|
+
};
|
|
482
|
+
readonly error: {
|
|
483
|
+
readonly type: readonly ["string", "null"];
|
|
484
|
+
};
|
|
485
|
+
};
|
|
486
|
+
readonly required: readonly ["entries", "hasMore", "records", "error"];
|
|
487
|
+
readonly additionalProperties: false;
|
|
488
|
+
};
|
|
489
|
+
readonly errors: {
|
|
490
|
+
readonly io: {
|
|
491
|
+
readonly type: "object";
|
|
492
|
+
readonly properties: {
|
|
493
|
+
readonly message: {
|
|
494
|
+
readonly type: "string";
|
|
495
|
+
};
|
|
496
|
+
};
|
|
497
|
+
readonly additionalProperties: false;
|
|
498
|
+
};
|
|
499
|
+
readonly not_found: {
|
|
500
|
+
readonly type: "object";
|
|
501
|
+
readonly properties: {
|
|
502
|
+
readonly message: {
|
|
503
|
+
readonly type: "string";
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
readonly additionalProperties: false;
|
|
507
|
+
};
|
|
508
|
+
readonly bad_request: {
|
|
509
|
+
readonly type: "object";
|
|
510
|
+
readonly properties: {
|
|
511
|
+
readonly message: {
|
|
512
|
+
readonly type: "string";
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
readonly additionalProperties: false;
|
|
516
|
+
};
|
|
517
|
+
readonly forbidden: {
|
|
518
|
+
readonly type: "object";
|
|
519
|
+
readonly properties: {
|
|
520
|
+
readonly message: {
|
|
521
|
+
readonly type: "string";
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
readonly additionalProperties: false;
|
|
525
|
+
};
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
readonly read: {
|
|
529
|
+
readonly input: {
|
|
530
|
+
readonly type: "object";
|
|
531
|
+
readonly properties: {
|
|
532
|
+
readonly key: {
|
|
533
|
+
readonly type: "string";
|
|
534
|
+
readonly maxLength: 300;
|
|
535
|
+
};
|
|
536
|
+
readonly maxBytes: {
|
|
537
|
+
readonly type: "number";
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
readonly required: readonly ["key"];
|
|
541
|
+
readonly additionalProperties: false;
|
|
542
|
+
};
|
|
543
|
+
readonly output: {
|
|
544
|
+
readonly type: "object";
|
|
545
|
+
readonly properties: {
|
|
546
|
+
readonly record: {};
|
|
547
|
+
readonly bytes: {
|
|
548
|
+
readonly type: "number";
|
|
549
|
+
};
|
|
550
|
+
readonly truncated: {
|
|
551
|
+
readonly type: "boolean";
|
|
552
|
+
};
|
|
553
|
+
readonly moreAvailable: {
|
|
554
|
+
readonly type: "boolean";
|
|
555
|
+
};
|
|
556
|
+
readonly fullBytes: {
|
|
557
|
+
readonly type: "number";
|
|
558
|
+
};
|
|
559
|
+
readonly paths: {
|
|
560
|
+
readonly type: "object";
|
|
561
|
+
readonly properties: {
|
|
562
|
+
readonly session: {
|
|
563
|
+
readonly type: "string";
|
|
564
|
+
};
|
|
565
|
+
readonly requests: {
|
|
566
|
+
readonly type: "string";
|
|
567
|
+
};
|
|
568
|
+
readonly body: {
|
|
569
|
+
readonly type: "string";
|
|
570
|
+
};
|
|
571
|
+
};
|
|
572
|
+
readonly additionalProperties: false;
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
readonly required: readonly ["record", "bytes", "truncated"];
|
|
576
|
+
readonly additionalProperties: false;
|
|
577
|
+
};
|
|
578
|
+
readonly errors: {
|
|
579
|
+
readonly io: {
|
|
580
|
+
readonly type: "object";
|
|
581
|
+
readonly properties: {
|
|
582
|
+
readonly message: {
|
|
583
|
+
readonly type: "string";
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
readonly additionalProperties: false;
|
|
587
|
+
};
|
|
588
|
+
readonly not_found: {
|
|
589
|
+
readonly type: "object";
|
|
590
|
+
readonly properties: {
|
|
591
|
+
readonly message: {
|
|
592
|
+
readonly type: "string";
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
readonly additionalProperties: false;
|
|
596
|
+
};
|
|
597
|
+
readonly bad_request: {
|
|
598
|
+
readonly type: "object";
|
|
599
|
+
readonly properties: {
|
|
600
|
+
readonly message: {
|
|
601
|
+
readonly type: "string";
|
|
602
|
+
};
|
|
603
|
+
};
|
|
604
|
+
readonly additionalProperties: false;
|
|
605
|
+
};
|
|
606
|
+
readonly forbidden: {
|
|
607
|
+
readonly type: "object";
|
|
608
|
+
readonly properties: {
|
|
609
|
+
readonly message: {
|
|
610
|
+
readonly type: "string";
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
readonly additionalProperties: false;
|
|
614
|
+
};
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
readonly search: {
|
|
618
|
+
readonly input: {
|
|
619
|
+
readonly type: "object";
|
|
620
|
+
readonly properties: {
|
|
621
|
+
readonly query: {
|
|
622
|
+
readonly type: "string";
|
|
623
|
+
readonly minLength: 1;
|
|
624
|
+
readonly maxLength: 500;
|
|
625
|
+
};
|
|
626
|
+
readonly limit: {
|
|
627
|
+
readonly type: "number";
|
|
628
|
+
};
|
|
629
|
+
readonly ignoreCase: {
|
|
630
|
+
readonly type: "boolean";
|
|
631
|
+
};
|
|
632
|
+
readonly budgetBytes: {
|
|
633
|
+
readonly type: "number";
|
|
634
|
+
};
|
|
635
|
+
readonly budgetMs: {
|
|
636
|
+
readonly type: "number";
|
|
637
|
+
};
|
|
638
|
+
readonly sessionID: {
|
|
639
|
+
readonly type: "string";
|
|
640
|
+
readonly maxLength: 200;
|
|
641
|
+
};
|
|
642
|
+
readonly type: {
|
|
643
|
+
readonly type: "string";
|
|
644
|
+
readonly maxLength: 80;
|
|
645
|
+
};
|
|
646
|
+
readonly kind: {
|
|
647
|
+
readonly type: "string";
|
|
648
|
+
readonly maxLength: 80;
|
|
649
|
+
};
|
|
650
|
+
readonly agent: {
|
|
651
|
+
readonly type: "string";
|
|
652
|
+
readonly maxLength: 200;
|
|
653
|
+
};
|
|
654
|
+
readonly model: {
|
|
655
|
+
readonly type: "string";
|
|
656
|
+
readonly maxLength: 200;
|
|
657
|
+
};
|
|
658
|
+
};
|
|
659
|
+
readonly required: readonly ["query"];
|
|
660
|
+
readonly additionalProperties: false;
|
|
661
|
+
};
|
|
662
|
+
readonly output: {
|
|
663
|
+
readonly type: "object";
|
|
664
|
+
readonly properties: {
|
|
665
|
+
readonly matches: {
|
|
666
|
+
readonly type: "array";
|
|
667
|
+
readonly items: {
|
|
668
|
+
readonly type: "object";
|
|
669
|
+
readonly properties: {
|
|
670
|
+
readonly entry: {
|
|
671
|
+
readonly type: "object";
|
|
672
|
+
readonly properties: {
|
|
673
|
+
readonly key: {
|
|
674
|
+
readonly type: "string";
|
|
675
|
+
};
|
|
676
|
+
readonly cursor: {
|
|
677
|
+
readonly type: "string";
|
|
678
|
+
};
|
|
679
|
+
readonly bytes: {
|
|
680
|
+
readonly type: "number";
|
|
681
|
+
};
|
|
682
|
+
readonly at: {
|
|
683
|
+
readonly type: readonly ["string", "null"];
|
|
684
|
+
};
|
|
685
|
+
readonly type: {
|
|
686
|
+
readonly type: readonly ["string", "null"];
|
|
687
|
+
};
|
|
688
|
+
readonly kind: {
|
|
689
|
+
readonly type: readonly ["string", "null"];
|
|
690
|
+
};
|
|
691
|
+
readonly sessionID: {
|
|
692
|
+
readonly type: readonly ["string", "null"];
|
|
693
|
+
};
|
|
694
|
+
readonly agent: {
|
|
695
|
+
readonly type: readonly ["string", "null"];
|
|
696
|
+
};
|
|
697
|
+
readonly model: {
|
|
698
|
+
readonly anyOf: readonly [{
|
|
699
|
+
readonly type: "null";
|
|
700
|
+
}, {
|
|
701
|
+
readonly type: "object";
|
|
702
|
+
readonly properties: {
|
|
703
|
+
readonly providerID: {
|
|
704
|
+
readonly type: "string";
|
|
705
|
+
};
|
|
706
|
+
readonly id: {
|
|
707
|
+
readonly type: "string";
|
|
708
|
+
};
|
|
709
|
+
readonly variant: {
|
|
710
|
+
readonly type: "string";
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
readonly additionalProperties: false;
|
|
714
|
+
}];
|
|
715
|
+
};
|
|
716
|
+
readonly url: {
|
|
717
|
+
readonly type: readonly ["string", "null"];
|
|
718
|
+
};
|
|
719
|
+
readonly messages: {
|
|
720
|
+
readonly type: "number";
|
|
721
|
+
};
|
|
722
|
+
readonly bodyBytes: {
|
|
723
|
+
readonly type: "number";
|
|
724
|
+
};
|
|
725
|
+
readonly hasBody: {
|
|
726
|
+
readonly type: "boolean";
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
readonly required: readonly ["key", "cursor", "bytes", "at", "type", "kind", "sessionID", "agent", "model", "url"];
|
|
730
|
+
readonly additionalProperties: false;
|
|
731
|
+
};
|
|
732
|
+
readonly snippet: {
|
|
733
|
+
readonly type: "string";
|
|
734
|
+
};
|
|
735
|
+
};
|
|
736
|
+
readonly required: readonly ["entry", "snippet"];
|
|
737
|
+
readonly additionalProperties: false;
|
|
738
|
+
};
|
|
739
|
+
};
|
|
740
|
+
readonly partial: {
|
|
741
|
+
readonly type: "boolean";
|
|
742
|
+
};
|
|
743
|
+
readonly scannedBytes: {
|
|
744
|
+
readonly type: "number";
|
|
745
|
+
};
|
|
746
|
+
readonly skipped: {
|
|
747
|
+
readonly type: "number";
|
|
748
|
+
};
|
|
749
|
+
readonly error: {
|
|
750
|
+
readonly type: readonly ["string", "null"];
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
readonly required: readonly ["matches", "partial", "scannedBytes", "skipped", "error"];
|
|
754
|
+
readonly additionalProperties: false;
|
|
755
|
+
};
|
|
756
|
+
readonly errors: {
|
|
757
|
+
readonly io: {
|
|
758
|
+
readonly type: "object";
|
|
759
|
+
readonly properties: {
|
|
760
|
+
readonly message: {
|
|
761
|
+
readonly type: "string";
|
|
762
|
+
};
|
|
763
|
+
};
|
|
764
|
+
readonly additionalProperties: false;
|
|
765
|
+
};
|
|
766
|
+
readonly not_found: {
|
|
767
|
+
readonly type: "object";
|
|
768
|
+
readonly properties: {
|
|
769
|
+
readonly message: {
|
|
770
|
+
readonly type: "string";
|
|
771
|
+
};
|
|
772
|
+
};
|
|
773
|
+
readonly additionalProperties: false;
|
|
774
|
+
};
|
|
775
|
+
readonly bad_request: {
|
|
776
|
+
readonly type: "object";
|
|
777
|
+
readonly properties: {
|
|
778
|
+
readonly message: {
|
|
779
|
+
readonly type: "string";
|
|
780
|
+
};
|
|
781
|
+
};
|
|
782
|
+
readonly additionalProperties: false;
|
|
783
|
+
};
|
|
784
|
+
readonly forbidden: {
|
|
785
|
+
readonly type: "object";
|
|
786
|
+
readonly properties: {
|
|
787
|
+
readonly message: {
|
|
788
|
+
readonly type: "string";
|
|
789
|
+
};
|
|
790
|
+
};
|
|
791
|
+
readonly additionalProperties: false;
|
|
792
|
+
};
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
readonly truncate: {
|
|
796
|
+
readonly input: {
|
|
797
|
+
readonly type: "object";
|
|
798
|
+
readonly properties: {
|
|
799
|
+
readonly target: {
|
|
800
|
+
readonly type: "string";
|
|
801
|
+
readonly enum: readonly ["current", "all"];
|
|
802
|
+
};
|
|
803
|
+
readonly sessionID: {
|
|
804
|
+
readonly type: "string";
|
|
805
|
+
readonly maxLength: 200;
|
|
806
|
+
};
|
|
807
|
+
readonly confirm: {
|
|
808
|
+
readonly type: "boolean";
|
|
809
|
+
readonly enum: readonly [true];
|
|
810
|
+
};
|
|
811
|
+
};
|
|
812
|
+
readonly required: readonly ["target", "confirm"];
|
|
813
|
+
readonly additionalProperties: false;
|
|
814
|
+
};
|
|
815
|
+
readonly output: {
|
|
816
|
+
readonly type: "object";
|
|
817
|
+
readonly properties: {
|
|
818
|
+
readonly target: {
|
|
819
|
+
readonly type: "string";
|
|
820
|
+
readonly enum: readonly ["current", "all"];
|
|
821
|
+
};
|
|
822
|
+
readonly bytesFreed: {
|
|
823
|
+
readonly type: "number";
|
|
824
|
+
};
|
|
825
|
+
};
|
|
826
|
+
readonly required: readonly ["target", "bytesFreed"];
|
|
827
|
+
readonly additionalProperties: false;
|
|
828
|
+
};
|
|
829
|
+
readonly errors: {
|
|
830
|
+
readonly io: {
|
|
831
|
+
readonly type: "object";
|
|
832
|
+
readonly properties: {
|
|
833
|
+
readonly message: {
|
|
834
|
+
readonly type: "string";
|
|
835
|
+
};
|
|
836
|
+
};
|
|
837
|
+
readonly additionalProperties: false;
|
|
838
|
+
};
|
|
839
|
+
readonly not_found: {
|
|
840
|
+
readonly type: "object";
|
|
841
|
+
readonly properties: {
|
|
842
|
+
readonly message: {
|
|
843
|
+
readonly type: "string";
|
|
844
|
+
};
|
|
845
|
+
};
|
|
846
|
+
readonly additionalProperties: false;
|
|
847
|
+
};
|
|
848
|
+
readonly bad_request: {
|
|
849
|
+
readonly type: "object";
|
|
850
|
+
readonly properties: {
|
|
851
|
+
readonly message: {
|
|
852
|
+
readonly type: "string";
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
readonly additionalProperties: false;
|
|
856
|
+
};
|
|
857
|
+
readonly forbidden: {
|
|
858
|
+
readonly type: "object";
|
|
859
|
+
readonly properties: {
|
|
860
|
+
readonly message: {
|
|
861
|
+
readonly type: "string";
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
readonly additionalProperties: false;
|
|
865
|
+
};
|
|
866
|
+
};
|
|
867
|
+
};
|
|
868
|
+
readonly getSettings: {
|
|
869
|
+
readonly input: {
|
|
870
|
+
readonly type: "object";
|
|
871
|
+
readonly properties: {};
|
|
872
|
+
readonly additionalProperties: false;
|
|
873
|
+
};
|
|
874
|
+
readonly output: {
|
|
875
|
+
readonly type: "object";
|
|
876
|
+
readonly properties: {
|
|
877
|
+
readonly settings: {
|
|
878
|
+
readonly type: "object";
|
|
879
|
+
readonly properties: {
|
|
880
|
+
readonly enabled: {
|
|
881
|
+
readonly type: "boolean";
|
|
882
|
+
};
|
|
883
|
+
readonly http: {
|
|
884
|
+
readonly type: "boolean";
|
|
885
|
+
};
|
|
886
|
+
readonly diskBudget: {
|
|
887
|
+
readonly type: "number";
|
|
888
|
+
readonly minimum: 0;
|
|
889
|
+
readonly maximum: number;
|
|
890
|
+
};
|
|
891
|
+
readonly retentionMaxAgeDays: {
|
|
892
|
+
readonly type: "number";
|
|
893
|
+
readonly minimum: 0;
|
|
894
|
+
readonly maximum: 3650;
|
|
895
|
+
};
|
|
896
|
+
readonly retentionMaxSessions: {
|
|
897
|
+
readonly type: "number";
|
|
898
|
+
readonly minimum: 0;
|
|
899
|
+
readonly maximum: 10000;
|
|
900
|
+
};
|
|
901
|
+
readonly directory: {
|
|
902
|
+
readonly type: "string";
|
|
903
|
+
readonly maxLength: 4096;
|
|
904
|
+
};
|
|
905
|
+
readonly maintenance: {
|
|
906
|
+
readonly type: "boolean";
|
|
907
|
+
};
|
|
908
|
+
};
|
|
909
|
+
readonly required: readonly ["enabled", "http", "diskBudget", "retentionMaxAgeDays", "retentionMaxSessions", "directory", "maintenance"];
|
|
910
|
+
readonly additionalProperties: false;
|
|
911
|
+
};
|
|
912
|
+
readonly sessionScope: {
|
|
913
|
+
readonly type: "object";
|
|
914
|
+
readonly properties: {
|
|
915
|
+
readonly mode: {
|
|
916
|
+
readonly type: "string";
|
|
917
|
+
readonly enum: readonly ["all", "only"];
|
|
918
|
+
};
|
|
919
|
+
readonly sessions: {
|
|
920
|
+
readonly type: "array";
|
|
921
|
+
readonly items: {
|
|
922
|
+
readonly type: "string";
|
|
923
|
+
readonly maxLength: 200;
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
readonly max: {
|
|
927
|
+
readonly type: "number";
|
|
928
|
+
};
|
|
929
|
+
};
|
|
930
|
+
readonly required: readonly ["mode", "sessions", "max"];
|
|
931
|
+
readonly additionalProperties: false;
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
readonly required: readonly ["settings", "sessionScope"];
|
|
935
|
+
readonly additionalProperties: false;
|
|
936
|
+
};
|
|
937
|
+
readonly errors: {
|
|
938
|
+
readonly io: {
|
|
939
|
+
readonly type: "object";
|
|
940
|
+
readonly properties: {
|
|
941
|
+
readonly message: {
|
|
942
|
+
readonly type: "string";
|
|
943
|
+
};
|
|
944
|
+
};
|
|
945
|
+
readonly additionalProperties: false;
|
|
946
|
+
};
|
|
947
|
+
readonly not_found: {
|
|
948
|
+
readonly type: "object";
|
|
949
|
+
readonly properties: {
|
|
950
|
+
readonly message: {
|
|
951
|
+
readonly type: "string";
|
|
952
|
+
};
|
|
953
|
+
};
|
|
954
|
+
readonly additionalProperties: false;
|
|
955
|
+
};
|
|
956
|
+
readonly bad_request: {
|
|
957
|
+
readonly type: "object";
|
|
958
|
+
readonly properties: {
|
|
959
|
+
readonly message: {
|
|
960
|
+
readonly type: "string";
|
|
961
|
+
};
|
|
962
|
+
};
|
|
963
|
+
readonly additionalProperties: false;
|
|
964
|
+
};
|
|
965
|
+
readonly forbidden: {
|
|
966
|
+
readonly type: "object";
|
|
967
|
+
readonly properties: {
|
|
968
|
+
readonly message: {
|
|
969
|
+
readonly type: "string";
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
readonly additionalProperties: false;
|
|
973
|
+
};
|
|
974
|
+
};
|
|
975
|
+
};
|
|
976
|
+
readonly setSettings: {
|
|
977
|
+
readonly input: {
|
|
978
|
+
readonly type: "object";
|
|
979
|
+
readonly properties: {
|
|
980
|
+
readonly settings: {
|
|
981
|
+
readonly type: "object";
|
|
982
|
+
readonly properties: {
|
|
983
|
+
readonly enabled: {
|
|
984
|
+
readonly type: "boolean";
|
|
985
|
+
};
|
|
986
|
+
readonly http: {
|
|
987
|
+
readonly type: "boolean";
|
|
988
|
+
};
|
|
989
|
+
readonly diskBudget: {
|
|
990
|
+
readonly type: "number";
|
|
991
|
+
readonly minimum: 0;
|
|
992
|
+
readonly maximum: number;
|
|
993
|
+
};
|
|
994
|
+
readonly retentionMaxAgeDays: {
|
|
995
|
+
readonly type: "number";
|
|
996
|
+
readonly minimum: 0;
|
|
997
|
+
readonly maximum: 3650;
|
|
998
|
+
};
|
|
999
|
+
readonly retentionMaxSessions: {
|
|
1000
|
+
readonly type: "number";
|
|
1001
|
+
readonly minimum: 0;
|
|
1002
|
+
readonly maximum: 10000;
|
|
1003
|
+
};
|
|
1004
|
+
readonly directory: {
|
|
1005
|
+
readonly type: "string";
|
|
1006
|
+
readonly maxLength: 4096;
|
|
1007
|
+
};
|
|
1008
|
+
readonly maintenance: {
|
|
1009
|
+
readonly type: "boolean";
|
|
1010
|
+
};
|
|
1011
|
+
};
|
|
1012
|
+
readonly required: readonly ["enabled", "http", "diskBudget", "retentionMaxAgeDays", "retentionMaxSessions", "directory", "maintenance"];
|
|
1013
|
+
readonly additionalProperties: false;
|
|
1014
|
+
};
|
|
1015
|
+
};
|
|
1016
|
+
readonly required: readonly ["settings"];
|
|
1017
|
+
readonly additionalProperties: false;
|
|
1018
|
+
};
|
|
1019
|
+
readonly output: {
|
|
1020
|
+
readonly type: "object";
|
|
1021
|
+
readonly properties: {
|
|
1022
|
+
readonly settings: {
|
|
1023
|
+
readonly type: "object";
|
|
1024
|
+
readonly properties: {
|
|
1025
|
+
readonly enabled: {
|
|
1026
|
+
readonly type: "boolean";
|
|
1027
|
+
};
|
|
1028
|
+
readonly http: {
|
|
1029
|
+
readonly type: "boolean";
|
|
1030
|
+
};
|
|
1031
|
+
readonly diskBudget: {
|
|
1032
|
+
readonly type: "number";
|
|
1033
|
+
readonly minimum: 0;
|
|
1034
|
+
readonly maximum: number;
|
|
1035
|
+
};
|
|
1036
|
+
readonly retentionMaxAgeDays: {
|
|
1037
|
+
readonly type: "number";
|
|
1038
|
+
readonly minimum: 0;
|
|
1039
|
+
readonly maximum: 3650;
|
|
1040
|
+
};
|
|
1041
|
+
readonly retentionMaxSessions: {
|
|
1042
|
+
readonly type: "number";
|
|
1043
|
+
readonly minimum: 0;
|
|
1044
|
+
readonly maximum: 10000;
|
|
1045
|
+
};
|
|
1046
|
+
readonly directory: {
|
|
1047
|
+
readonly type: "string";
|
|
1048
|
+
readonly maxLength: 4096;
|
|
1049
|
+
};
|
|
1050
|
+
readonly maintenance: {
|
|
1051
|
+
readonly type: "boolean";
|
|
1052
|
+
};
|
|
1053
|
+
};
|
|
1054
|
+
readonly required: readonly ["enabled", "http", "diskBudget", "retentionMaxAgeDays", "retentionMaxSessions", "directory", "maintenance"];
|
|
1055
|
+
readonly additionalProperties: false;
|
|
1056
|
+
};
|
|
1057
|
+
readonly sessionScope: {
|
|
1058
|
+
readonly type: "object";
|
|
1059
|
+
readonly properties: {
|
|
1060
|
+
readonly mode: {
|
|
1061
|
+
readonly type: "string";
|
|
1062
|
+
readonly enum: readonly ["all", "only"];
|
|
1063
|
+
};
|
|
1064
|
+
readonly sessions: {
|
|
1065
|
+
readonly type: "array";
|
|
1066
|
+
readonly items: {
|
|
1067
|
+
readonly type: "string";
|
|
1068
|
+
readonly maxLength: 200;
|
|
1069
|
+
};
|
|
1070
|
+
};
|
|
1071
|
+
readonly max: {
|
|
1072
|
+
readonly type: "number";
|
|
1073
|
+
};
|
|
1074
|
+
};
|
|
1075
|
+
readonly required: readonly ["mode", "sessions", "max"];
|
|
1076
|
+
readonly additionalProperties: false;
|
|
1077
|
+
};
|
|
1078
|
+
};
|
|
1079
|
+
readonly required: readonly ["settings", "sessionScope"];
|
|
1080
|
+
readonly additionalProperties: false;
|
|
1081
|
+
};
|
|
1082
|
+
readonly errors: {
|
|
1083
|
+
readonly io: {
|
|
1084
|
+
readonly type: "object";
|
|
1085
|
+
readonly properties: {
|
|
1086
|
+
readonly message: {
|
|
1087
|
+
readonly type: "string";
|
|
1088
|
+
};
|
|
1089
|
+
};
|
|
1090
|
+
readonly additionalProperties: false;
|
|
1091
|
+
};
|
|
1092
|
+
readonly not_found: {
|
|
1093
|
+
readonly type: "object";
|
|
1094
|
+
readonly properties: {
|
|
1095
|
+
readonly message: {
|
|
1096
|
+
readonly type: "string";
|
|
1097
|
+
};
|
|
1098
|
+
};
|
|
1099
|
+
readonly additionalProperties: false;
|
|
1100
|
+
};
|
|
1101
|
+
readonly bad_request: {
|
|
1102
|
+
readonly type: "object";
|
|
1103
|
+
readonly properties: {
|
|
1104
|
+
readonly message: {
|
|
1105
|
+
readonly type: "string";
|
|
1106
|
+
};
|
|
1107
|
+
};
|
|
1108
|
+
readonly additionalProperties: false;
|
|
1109
|
+
};
|
|
1110
|
+
readonly forbidden: {
|
|
1111
|
+
readonly type: "object";
|
|
1112
|
+
readonly properties: {
|
|
1113
|
+
readonly message: {
|
|
1114
|
+
readonly type: "string";
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
readonly additionalProperties: false;
|
|
1118
|
+
};
|
|
1119
|
+
};
|
|
1120
|
+
};
|
|
1121
|
+
readonly resetSettings: {
|
|
1122
|
+
readonly input: {
|
|
1123
|
+
readonly type: "object";
|
|
1124
|
+
readonly properties: {};
|
|
1125
|
+
readonly additionalProperties: false;
|
|
1126
|
+
};
|
|
1127
|
+
readonly output: {
|
|
1128
|
+
readonly type: "object";
|
|
1129
|
+
readonly properties: {
|
|
1130
|
+
readonly settings: {
|
|
1131
|
+
readonly type: "object";
|
|
1132
|
+
readonly properties: {
|
|
1133
|
+
readonly enabled: {
|
|
1134
|
+
readonly type: "boolean";
|
|
1135
|
+
};
|
|
1136
|
+
readonly http: {
|
|
1137
|
+
readonly type: "boolean";
|
|
1138
|
+
};
|
|
1139
|
+
readonly diskBudget: {
|
|
1140
|
+
readonly type: "number";
|
|
1141
|
+
readonly minimum: 0;
|
|
1142
|
+
readonly maximum: number;
|
|
1143
|
+
};
|
|
1144
|
+
readonly retentionMaxAgeDays: {
|
|
1145
|
+
readonly type: "number";
|
|
1146
|
+
readonly minimum: 0;
|
|
1147
|
+
readonly maximum: 3650;
|
|
1148
|
+
};
|
|
1149
|
+
readonly retentionMaxSessions: {
|
|
1150
|
+
readonly type: "number";
|
|
1151
|
+
readonly minimum: 0;
|
|
1152
|
+
readonly maximum: 10000;
|
|
1153
|
+
};
|
|
1154
|
+
readonly directory: {
|
|
1155
|
+
readonly type: "string";
|
|
1156
|
+
readonly maxLength: 4096;
|
|
1157
|
+
};
|
|
1158
|
+
readonly maintenance: {
|
|
1159
|
+
readonly type: "boolean";
|
|
1160
|
+
};
|
|
1161
|
+
};
|
|
1162
|
+
readonly required: readonly ["enabled", "http", "diskBudget", "retentionMaxAgeDays", "retentionMaxSessions", "directory", "maintenance"];
|
|
1163
|
+
readonly additionalProperties: false;
|
|
1164
|
+
};
|
|
1165
|
+
readonly sessionScope: {
|
|
1166
|
+
readonly type: "object";
|
|
1167
|
+
readonly properties: {
|
|
1168
|
+
readonly mode: {
|
|
1169
|
+
readonly type: "string";
|
|
1170
|
+
readonly enum: readonly ["all", "only"];
|
|
1171
|
+
};
|
|
1172
|
+
readonly sessions: {
|
|
1173
|
+
readonly type: "array";
|
|
1174
|
+
readonly items: {
|
|
1175
|
+
readonly type: "string";
|
|
1176
|
+
readonly maxLength: 200;
|
|
1177
|
+
};
|
|
1178
|
+
};
|
|
1179
|
+
readonly max: {
|
|
1180
|
+
readonly type: "number";
|
|
1181
|
+
};
|
|
1182
|
+
};
|
|
1183
|
+
readonly required: readonly ["mode", "sessions", "max"];
|
|
1184
|
+
readonly additionalProperties: false;
|
|
1185
|
+
};
|
|
1186
|
+
};
|
|
1187
|
+
readonly required: readonly ["settings", "sessionScope"];
|
|
1188
|
+
readonly additionalProperties: false;
|
|
1189
|
+
};
|
|
1190
|
+
readonly errors: {
|
|
1191
|
+
readonly io: {
|
|
1192
|
+
readonly type: "object";
|
|
1193
|
+
readonly properties: {
|
|
1194
|
+
readonly message: {
|
|
1195
|
+
readonly type: "string";
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
readonly additionalProperties: false;
|
|
1199
|
+
};
|
|
1200
|
+
readonly not_found: {
|
|
1201
|
+
readonly type: "object";
|
|
1202
|
+
readonly properties: {
|
|
1203
|
+
readonly message: {
|
|
1204
|
+
readonly type: "string";
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
readonly additionalProperties: false;
|
|
1208
|
+
};
|
|
1209
|
+
readonly bad_request: {
|
|
1210
|
+
readonly type: "object";
|
|
1211
|
+
readonly properties: {
|
|
1212
|
+
readonly message: {
|
|
1213
|
+
readonly type: "string";
|
|
1214
|
+
};
|
|
1215
|
+
};
|
|
1216
|
+
readonly additionalProperties: false;
|
|
1217
|
+
};
|
|
1218
|
+
readonly forbidden: {
|
|
1219
|
+
readonly type: "object";
|
|
1220
|
+
readonly properties: {
|
|
1221
|
+
readonly message: {
|
|
1222
|
+
readonly type: "string";
|
|
1223
|
+
};
|
|
1224
|
+
};
|
|
1225
|
+
readonly additionalProperties: false;
|
|
1226
|
+
};
|
|
1227
|
+
};
|
|
1228
|
+
};
|
|
1229
|
+
readonly updateSessionScope: {
|
|
1230
|
+
readonly input: {
|
|
1231
|
+
readonly type: "object";
|
|
1232
|
+
readonly properties: {
|
|
1233
|
+
readonly mode: {
|
|
1234
|
+
readonly type: "string";
|
|
1235
|
+
readonly enum: readonly ["all", "only"];
|
|
1236
|
+
};
|
|
1237
|
+
readonly action: {
|
|
1238
|
+
readonly type: "string";
|
|
1239
|
+
readonly enum: readonly ["only", "disarm", "clear"];
|
|
1240
|
+
};
|
|
1241
|
+
readonly sessionID: {
|
|
1242
|
+
readonly type: "string";
|
|
1243
|
+
readonly maxLength: 200;
|
|
1244
|
+
};
|
|
1245
|
+
};
|
|
1246
|
+
readonly additionalProperties: false;
|
|
1247
|
+
};
|
|
1248
|
+
readonly output: {
|
|
1249
|
+
readonly type: "object";
|
|
1250
|
+
readonly properties: {
|
|
1251
|
+
readonly sessionScope: {
|
|
1252
|
+
readonly type: "object";
|
|
1253
|
+
readonly properties: {
|
|
1254
|
+
readonly mode: {
|
|
1255
|
+
readonly type: "string";
|
|
1256
|
+
readonly enum: readonly ["all", "only"];
|
|
1257
|
+
};
|
|
1258
|
+
readonly sessions: {
|
|
1259
|
+
readonly type: "array";
|
|
1260
|
+
readonly items: {
|
|
1261
|
+
readonly type: "string";
|
|
1262
|
+
readonly maxLength: 200;
|
|
1263
|
+
};
|
|
1264
|
+
};
|
|
1265
|
+
readonly max: {
|
|
1266
|
+
readonly type: "number";
|
|
1267
|
+
};
|
|
1268
|
+
};
|
|
1269
|
+
readonly required: readonly ["mode", "sessions", "max"];
|
|
1270
|
+
readonly additionalProperties: false;
|
|
1271
|
+
};
|
|
1272
|
+
readonly settings: {
|
|
1273
|
+
readonly type: "object";
|
|
1274
|
+
readonly properties: {
|
|
1275
|
+
readonly enabled: {
|
|
1276
|
+
readonly type: "boolean";
|
|
1277
|
+
};
|
|
1278
|
+
readonly http: {
|
|
1279
|
+
readonly type: "boolean";
|
|
1280
|
+
};
|
|
1281
|
+
readonly diskBudget: {
|
|
1282
|
+
readonly type: "number";
|
|
1283
|
+
readonly minimum: 0;
|
|
1284
|
+
readonly maximum: number;
|
|
1285
|
+
};
|
|
1286
|
+
readonly retentionMaxAgeDays: {
|
|
1287
|
+
readonly type: "number";
|
|
1288
|
+
readonly minimum: 0;
|
|
1289
|
+
readonly maximum: 3650;
|
|
1290
|
+
};
|
|
1291
|
+
readonly retentionMaxSessions: {
|
|
1292
|
+
readonly type: "number";
|
|
1293
|
+
readonly minimum: 0;
|
|
1294
|
+
readonly maximum: 10000;
|
|
1295
|
+
};
|
|
1296
|
+
readonly directory: {
|
|
1297
|
+
readonly type: "string";
|
|
1298
|
+
readonly maxLength: 4096;
|
|
1299
|
+
};
|
|
1300
|
+
readonly maintenance: {
|
|
1301
|
+
readonly type: "boolean";
|
|
1302
|
+
};
|
|
1303
|
+
};
|
|
1304
|
+
readonly required: readonly ["enabled", "http", "diskBudget", "retentionMaxAgeDays", "retentionMaxSessions", "directory", "maintenance"];
|
|
1305
|
+
readonly additionalProperties: false;
|
|
1306
|
+
};
|
|
1307
|
+
};
|
|
1308
|
+
readonly required: readonly ["sessionScope", "settings"];
|
|
1309
|
+
readonly additionalProperties: false;
|
|
1310
|
+
};
|
|
1311
|
+
readonly errors: {
|
|
1312
|
+
readonly io: {
|
|
1313
|
+
readonly type: "object";
|
|
1314
|
+
readonly properties: {
|
|
1315
|
+
readonly message: {
|
|
1316
|
+
readonly type: "string";
|
|
1317
|
+
};
|
|
1318
|
+
};
|
|
1319
|
+
readonly additionalProperties: false;
|
|
1320
|
+
};
|
|
1321
|
+
readonly not_found: {
|
|
1322
|
+
readonly type: "object";
|
|
1323
|
+
readonly properties: {
|
|
1324
|
+
readonly message: {
|
|
1325
|
+
readonly type: "string";
|
|
1326
|
+
};
|
|
1327
|
+
};
|
|
1328
|
+
readonly additionalProperties: false;
|
|
1329
|
+
};
|
|
1330
|
+
readonly bad_request: {
|
|
1331
|
+
readonly type: "object";
|
|
1332
|
+
readonly properties: {
|
|
1333
|
+
readonly message: {
|
|
1334
|
+
readonly type: "string";
|
|
1335
|
+
};
|
|
1336
|
+
};
|
|
1337
|
+
readonly additionalProperties: false;
|
|
1338
|
+
};
|
|
1339
|
+
readonly forbidden: {
|
|
1340
|
+
readonly type: "object";
|
|
1341
|
+
readonly properties: {
|
|
1342
|
+
readonly message: {
|
|
1343
|
+
readonly type: "string";
|
|
1344
|
+
};
|
|
1345
|
+
};
|
|
1346
|
+
readonly additionalProperties: false;
|
|
1347
|
+
};
|
|
1348
|
+
};
|
|
1349
|
+
};
|
|
1350
|
+
};
|
|
1351
|
+
readonly events: {
|
|
1352
|
+
readonly changed: {
|
|
1353
|
+
readonly schema: {
|
|
1354
|
+
readonly type: "object";
|
|
1355
|
+
readonly properties: {
|
|
1356
|
+
readonly store: {
|
|
1357
|
+
readonly type: "string";
|
|
1358
|
+
};
|
|
1359
|
+
readonly reason: {
|
|
1360
|
+
readonly type: "string";
|
|
1361
|
+
readonly enum: readonly ["append", "truncate", "error"];
|
|
1362
|
+
};
|
|
1363
|
+
readonly at: {
|
|
1364
|
+
readonly type: "string";
|
|
1365
|
+
};
|
|
1366
|
+
};
|
|
1367
|
+
readonly required: readonly ["store", "reason", "at"];
|
|
1368
|
+
readonly additionalProperties: false;
|
|
1369
|
+
};
|
|
1370
|
+
};
|
|
1371
|
+
readonly settingsChanged: {
|
|
1372
|
+
readonly schema: {
|
|
1373
|
+
readonly type: "object";
|
|
1374
|
+
readonly properties: {
|
|
1375
|
+
readonly settings: {
|
|
1376
|
+
readonly type: "object";
|
|
1377
|
+
readonly properties: {
|
|
1378
|
+
readonly enabled: {
|
|
1379
|
+
readonly type: "boolean";
|
|
1380
|
+
};
|
|
1381
|
+
readonly http: {
|
|
1382
|
+
readonly type: "boolean";
|
|
1383
|
+
};
|
|
1384
|
+
readonly diskBudget: {
|
|
1385
|
+
readonly type: "number";
|
|
1386
|
+
readonly minimum: 0;
|
|
1387
|
+
readonly maximum: number;
|
|
1388
|
+
};
|
|
1389
|
+
readonly retentionMaxAgeDays: {
|
|
1390
|
+
readonly type: "number";
|
|
1391
|
+
readonly minimum: 0;
|
|
1392
|
+
readonly maximum: 3650;
|
|
1393
|
+
};
|
|
1394
|
+
readonly retentionMaxSessions: {
|
|
1395
|
+
readonly type: "number";
|
|
1396
|
+
readonly minimum: 0;
|
|
1397
|
+
readonly maximum: 10000;
|
|
1398
|
+
};
|
|
1399
|
+
readonly directory: {
|
|
1400
|
+
readonly type: "string";
|
|
1401
|
+
readonly maxLength: 4096;
|
|
1402
|
+
};
|
|
1403
|
+
readonly maintenance: {
|
|
1404
|
+
readonly type: "boolean";
|
|
1405
|
+
};
|
|
1406
|
+
};
|
|
1407
|
+
readonly required: readonly ["enabled", "http", "diskBudget", "retentionMaxAgeDays", "retentionMaxSessions", "directory", "maintenance"];
|
|
1408
|
+
readonly additionalProperties: false;
|
|
1409
|
+
};
|
|
1410
|
+
readonly sessionScope: {
|
|
1411
|
+
readonly type: "object";
|
|
1412
|
+
readonly properties: {
|
|
1413
|
+
readonly mode: {
|
|
1414
|
+
readonly type: "string";
|
|
1415
|
+
readonly enum: readonly ["all", "only"];
|
|
1416
|
+
};
|
|
1417
|
+
readonly sessions: {
|
|
1418
|
+
readonly type: "array";
|
|
1419
|
+
readonly items: {
|
|
1420
|
+
readonly type: "string";
|
|
1421
|
+
readonly maxLength: 200;
|
|
1422
|
+
};
|
|
1423
|
+
};
|
|
1424
|
+
readonly max: {
|
|
1425
|
+
readonly type: "number";
|
|
1426
|
+
};
|
|
1427
|
+
};
|
|
1428
|
+
readonly required: readonly ["mode", "sessions", "max"];
|
|
1429
|
+
readonly additionalProperties: false;
|
|
1430
|
+
};
|
|
1431
|
+
};
|
|
1432
|
+
readonly required: readonly ["settings", "sessionScope"];
|
|
1433
|
+
readonly additionalProperties: false;
|
|
1434
|
+
};
|
|
1435
|
+
};
|
|
1436
|
+
};
|
|
1437
|
+
};
|