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