@blueking/chat-helper 0.0.12-beta.2 → 0.0.12-beta.21

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.
@@ -9,8 +9,19 @@ export declare const useMessage: (mediator: IMediatorModule) => {
9
9
  list: import("vue").Ref<({
10
10
  activityType: import("./type").ActivityType;
11
11
  content: {
12
+ artifacts: {
13
+ name: string;
14
+ outputId: string;
15
+ size: number;
16
+ type: string;
17
+ previewUrl?: string;
18
+ url?: string;
19
+ }[];
20
+ runId: string;
21
+ status: "complete" | "empty";
22
+ } | {
12
23
  nodes: Record<string, import("..").IFlowAgentNode>;
13
- task_id: number;
24
+ task_id: string;
14
25
  task_name: string;
15
26
  task_outputs: string[];
16
27
  task_state: import("..").FlowTaskState;
@@ -26,7 +37,33 @@ export declare const useMessage: (mediator: IMediatorModule) => {
26
37
  originFileUrl?: string;
27
38
  url: string;
28
39
  }[];
40
+ property?: {
41
+ [x: string]: unknown;
42
+ artifacts?: {
43
+ name: string;
44
+ outputId: string;
45
+ size: number;
46
+ type: string;
47
+ previewUrl?: string;
48
+ url?: string;
49
+ }[];
50
+ extra?: {
51
+ [x: string]: unknown;
52
+ cite?: string | {
53
+ data: {
54
+ key: string;
55
+ value: string;
56
+ }[];
57
+ title: string;
58
+ type: string;
59
+ };
60
+ command?: string;
61
+ context?: Array<Record<string, unknown>>;
62
+ resources?: Array<Record<string, unknown>>;
63
+ };
64
+ };
29
65
  role: MessageRole.Activity;
66
+ createdAt?: string;
30
67
  id?: string;
31
68
  messageId?: string;
32
69
  name?: string;
@@ -36,6 +73,14 @@ export declare const useMessage: (mediator: IMediatorModule) => {
36
73
  content?: string;
37
74
  property?: {
38
75
  [x: string]: unknown;
76
+ artifacts?: {
77
+ name: string;
78
+ outputId: string;
79
+ size: number;
80
+ type: string;
81
+ previewUrl?: string;
82
+ url?: string;
83
+ }[];
39
84
  extra?: {
40
85
  [x: string]: unknown;
41
86
  cite?: string | {
@@ -62,6 +107,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
62
107
  id: string;
63
108
  type: import("./type").MessageType.Function;
64
109
  }[];
110
+ createdAt?: string;
65
111
  id?: string;
66
112
  messageId?: string;
67
113
  name?: string;
@@ -70,6 +116,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
70
116
  } | {
71
117
  content: string;
72
118
  role: MessageRole.Developer;
119
+ createdAt?: string;
73
120
  id?: string;
74
121
  messageId?: string;
75
122
  name?: string;
@@ -78,6 +125,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
78
125
  } | {
79
126
  content: string;
80
127
  role: MessageRole.Guide;
128
+ createdAt?: string;
81
129
  id?: string;
82
130
  messageId?: string;
83
131
  name?: string;
@@ -86,6 +134,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
86
134
  } | {
87
135
  content: string;
88
136
  role: MessageRole.HiddenAssistant;
137
+ createdAt?: string;
89
138
  id?: string;
90
139
  messageId?: string;
91
140
  name?: string;
@@ -94,6 +143,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
94
143
  } | {
95
144
  content: string;
96
145
  role: MessageRole.HiddenGuide;
146
+ createdAt?: string;
97
147
  id?: string;
98
148
  messageId?: string;
99
149
  name?: string;
@@ -102,6 +152,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
102
152
  } | {
103
153
  content: string;
104
154
  role: MessageRole.Hidden;
155
+ createdAt?: string;
105
156
  id?: string;
106
157
  messageId?: string;
107
158
  name?: string;
@@ -110,6 +161,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
110
161
  } | {
111
162
  content: string;
112
163
  role: MessageRole.HiddenSystem;
164
+ createdAt?: string;
113
165
  id?: string;
114
166
  messageId?: string;
115
167
  name?: string;
@@ -118,6 +170,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
118
170
  } | {
119
171
  content: string;
120
172
  role: MessageRole.HiddenUser;
173
+ createdAt?: string;
121
174
  id?: string;
122
175
  messageId?: string;
123
176
  name?: string;
@@ -126,6 +179,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
126
179
  } | {
127
180
  content: string;
128
181
  role: MessageRole.Info;
182
+ createdAt?: string;
129
183
  id?: string;
130
184
  messageId?: string;
131
185
  name?: string;
@@ -134,6 +188,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
134
188
  } | {
135
189
  content: string;
136
190
  role: MessageRole.Pause;
191
+ createdAt?: string;
137
192
  id?: string;
138
193
  messageId?: string;
139
194
  name?: string;
@@ -142,6 +197,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
142
197
  } | {
143
198
  content: string;
144
199
  role: MessageRole.Placeholder;
200
+ createdAt?: string;
145
201
  id?: string;
146
202
  messageId?: string;
147
203
  name?: string;
@@ -151,6 +207,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
151
207
  content: string[];
152
208
  duration?: number;
153
209
  role: MessageRole.Reasoning;
210
+ createdAt?: string;
154
211
  id?: string;
155
212
  messageId?: string;
156
213
  name?: string;
@@ -159,6 +216,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
159
216
  } | {
160
217
  content: string;
161
218
  role: MessageRole.System;
219
+ createdAt?: string;
162
220
  id?: string;
163
221
  messageId?: string;
164
222
  name?: string;
@@ -167,6 +225,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
167
225
  } | {
168
226
  content: string;
169
227
  role: MessageRole.TemplateAssistant;
228
+ createdAt?: string;
170
229
  id?: string;
171
230
  messageId?: string;
172
231
  name?: string;
@@ -175,6 +234,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
175
234
  } | {
176
235
  content: string;
177
236
  role: MessageRole.TemplateGuide;
237
+ createdAt?: string;
178
238
  id?: string;
179
239
  messageId?: string;
180
240
  name?: string;
@@ -183,6 +243,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
183
243
  } | {
184
244
  content: string;
185
245
  role: MessageRole.TemplateHidden;
246
+ createdAt?: string;
186
247
  id?: string;
187
248
  messageId?: string;
188
249
  name?: string;
@@ -191,6 +252,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
191
252
  } | {
192
253
  content: string;
193
254
  role: MessageRole.TemplateSystem;
255
+ createdAt?: string;
194
256
  id?: string;
195
257
  messageId?: string;
196
258
  name?: string;
@@ -199,6 +261,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
199
261
  } | {
200
262
  content: string;
201
263
  role: MessageRole.TemplateUser;
264
+ createdAt?: string;
202
265
  id?: string;
203
266
  messageId?: string;
204
267
  name?: string;
@@ -210,6 +273,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
210
273
  error?: string;
211
274
  role: MessageRole.Tool;
212
275
  toolCallId: string;
276
+ createdAt?: string;
213
277
  id?: string;
214
278
  messageId?: string;
215
279
  name?: string;
@@ -229,6 +293,14 @@ export declare const useMessage: (mediator: IMediatorModule) => {
229
293
  })[];
230
294
  property?: {
231
295
  [x: string]: unknown;
296
+ artifacts?: {
297
+ name: string;
298
+ outputId: string;
299
+ size: number;
300
+ type: string;
301
+ previewUrl?: string;
302
+ url?: string;
303
+ }[];
232
304
  extra?: {
233
305
  [x: string]: unknown;
234
306
  cite?: string | {
@@ -245,6 +317,638 @@ export declare const useMessage: (mediator: IMediatorModule) => {
245
317
  };
246
318
  };
247
319
  role: MessageRole.User;
320
+ createdAt?: string;
321
+ id?: string;
322
+ messageId?: string;
323
+ name?: string;
324
+ sessionCode?: string;
325
+ status: MessageStatus;
326
+ } | {
327
+ content: {
328
+ result?: {
329
+ interruptId: string;
330
+ status: import("..").ResumeStatus;
331
+ payload?: {
332
+ answers: {
333
+ answer: {
334
+ description: string;
335
+ label: string;
336
+ }[];
337
+ multiSelect?: boolean;
338
+ question: string;
339
+ }[];
340
+ };
341
+ };
342
+ runId: number;
343
+ threadId: string;
344
+ type: import("..").EventType.RunFinished;
345
+ outcome?: {
346
+ type: import("..").RunFinishedOutcomeType.Success;
347
+ } | {
348
+ type: import("..").RunFinishedOutcomeType.Interrupt;
349
+ interrupts: ({
350
+ id: string;
351
+ reason: import("..").InterruptReason.AIDevToolApproval;
352
+ message?: string;
353
+ toolCallId?: string;
354
+ responseSchema?: {
355
+ [x: string]: any;
356
+ id?: string | undefined;
357
+ $ref?: string | undefined;
358
+ $schema?: import("json-schema").JSONSchema4Version | undefined;
359
+ title?: string | undefined;
360
+ description?: string | undefined;
361
+ default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
362
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
363
+ length: number;
364
+ toString: () => string;
365
+ toLocaleString: {
366
+ (): string;
367
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
368
+ };
369
+ pop: () => import("json-schema").JSONSchema4Type;
370
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
371
+ concat: {
372
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
373
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
374
+ };
375
+ join: (separator?: string) => string;
376
+ reverse: () => import("json-schema").JSONSchema4Type[];
377
+ shift: () => import("json-schema").JSONSchema4Type;
378
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
379
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
380
+ splice: {
381
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
382
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
383
+ };
384
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
385
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
386
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
387
+ every: {
388
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
389
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
390
+ };
391
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
392
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
393
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
394
+ filter: {
395
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
396
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
397
+ };
398
+ reduce: {
399
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
400
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
401
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
402
+ };
403
+ reduceRight: {
404
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
405
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
406
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
407
+ };
408
+ find: {
409
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
410
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
411
+ };
412
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
413
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
414
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
415
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
416
+ keys: () => ArrayIterator<number>;
417
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
418
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
419
+ flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
420
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
421
+ at: (index: number) => import("json-schema").JSONSchema4Type;
422
+ findLast: {
423
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
424
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
425
+ };
426
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
427
+ toReversed: () => import("json-schema").JSONSchema4Type[];
428
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
429
+ toSpliced: {
430
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
431
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
432
+ };
433
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
434
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
435
+ readonly [Symbol.unscopables]: {
436
+ [x: number]: boolean;
437
+ length?: boolean;
438
+ toString?: boolean;
439
+ toLocaleString?: boolean;
440
+ pop?: boolean;
441
+ push?: boolean;
442
+ concat?: boolean;
443
+ join?: boolean;
444
+ reverse?: boolean;
445
+ shift?: boolean;
446
+ slice?: boolean;
447
+ sort?: boolean;
448
+ splice?: boolean;
449
+ unshift?: boolean;
450
+ indexOf?: boolean;
451
+ lastIndexOf?: boolean;
452
+ every?: boolean;
453
+ some?: boolean;
454
+ forEach?: boolean;
455
+ map?: boolean;
456
+ filter?: boolean;
457
+ reduce?: boolean;
458
+ reduceRight?: boolean;
459
+ find?: boolean;
460
+ findIndex?: boolean;
461
+ fill?: boolean;
462
+ copyWithin?: boolean;
463
+ entries?: boolean;
464
+ keys?: boolean;
465
+ values?: boolean;
466
+ includes?: boolean;
467
+ flatMap?: boolean;
468
+ flat?: boolean;
469
+ at?: boolean;
470
+ findLast?: boolean;
471
+ findLastIndex?: boolean;
472
+ toReversed?: boolean;
473
+ toSorted?: boolean;
474
+ toSpliced?: boolean;
475
+ with?: boolean;
476
+ [Symbol.iterator]?: boolean;
477
+ readonly [Symbol.unscopables]?: boolean;
478
+ };
479
+ };
480
+ multipleOf?: number | undefined;
481
+ maximum?: number | undefined;
482
+ exclusiveMaximum?: boolean | undefined;
483
+ minimum?: number | undefined;
484
+ exclusiveMinimum?: boolean | undefined;
485
+ maxLength?: number | undefined;
486
+ minLength?: number | undefined;
487
+ pattern?: string | undefined;
488
+ additionalItems?: boolean | /*elided*/ any;
489
+ items?: /*elided*/ any | /*elided*/ any[];
490
+ maxItems?: number | undefined;
491
+ minItems?: number | undefined;
492
+ uniqueItems?: boolean | undefined;
493
+ maxProperties?: number | undefined;
494
+ minProperties?: number | undefined;
495
+ required?: boolean | string[] | undefined;
496
+ additionalProperties?: boolean | /*elided*/ any;
497
+ definitions?: {
498
+ [k: string]: import("json-schema").JSONSchema4;
499
+ } | undefined;
500
+ properties?: {
501
+ [k: string]: import("json-schema").JSONSchema4;
502
+ } | undefined;
503
+ patternProperties?: {
504
+ [k: string]: import("json-schema").JSONSchema4;
505
+ } | undefined;
506
+ dependencies?: {
507
+ [k: string]: import("json-schema").JSONSchema4 | string[];
508
+ } | undefined;
509
+ enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
510
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
511
+ length: number;
512
+ toString: () => string;
513
+ toLocaleString: {
514
+ (): string;
515
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
516
+ };
517
+ pop: () => import("json-schema").JSONSchema4Type;
518
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
519
+ concat: {
520
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
521
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
522
+ };
523
+ join: (separator?: string) => string;
524
+ reverse: () => import("json-schema").JSONSchema4Type[];
525
+ shift: () => import("json-schema").JSONSchema4Type;
526
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
527
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
528
+ splice: {
529
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
530
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
531
+ };
532
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
533
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
534
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
535
+ every: {
536
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
537
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
538
+ };
539
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
540
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
541
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
542
+ filter: {
543
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
544
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
545
+ };
546
+ reduce: {
547
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
548
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
549
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
550
+ };
551
+ reduceRight: {
552
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
553
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
554
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
555
+ };
556
+ find: {
557
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
558
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
559
+ };
560
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
561
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
562
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
563
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
564
+ keys: () => ArrayIterator<number>;
565
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
566
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
567
+ flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
568
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
569
+ at: (index: number) => import("json-schema").JSONSchema4Type;
570
+ findLast: {
571
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
572
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
573
+ };
574
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
575
+ toReversed: () => import("json-schema").JSONSchema4Type[];
576
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
577
+ toSpliced: {
578
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
579
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
580
+ };
581
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
582
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
583
+ readonly [Symbol.unscopables]: {
584
+ [x: number]: boolean;
585
+ length?: boolean;
586
+ toString?: boolean;
587
+ toLocaleString?: boolean;
588
+ pop?: boolean;
589
+ push?: boolean;
590
+ concat?: boolean;
591
+ join?: boolean;
592
+ reverse?: boolean;
593
+ shift?: boolean;
594
+ slice?: boolean;
595
+ sort?: boolean;
596
+ splice?: boolean;
597
+ unshift?: boolean;
598
+ indexOf?: boolean;
599
+ lastIndexOf?: boolean;
600
+ every?: boolean;
601
+ some?: boolean;
602
+ forEach?: boolean;
603
+ map?: boolean;
604
+ filter?: boolean;
605
+ reduce?: boolean;
606
+ reduceRight?: boolean;
607
+ find?: boolean;
608
+ findIndex?: boolean;
609
+ fill?: boolean;
610
+ copyWithin?: boolean;
611
+ entries?: boolean;
612
+ keys?: boolean;
613
+ values?: boolean;
614
+ includes?: boolean;
615
+ flatMap?: boolean;
616
+ flat?: boolean;
617
+ at?: boolean;
618
+ findLast?: boolean;
619
+ findLastIndex?: boolean;
620
+ toReversed?: boolean;
621
+ toSorted?: boolean;
622
+ toSpliced?: boolean;
623
+ with?: boolean;
624
+ [Symbol.iterator]?: boolean;
625
+ readonly [Symbol.unscopables]?: boolean;
626
+ };
627
+ })[];
628
+ type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
629
+ allOf?: /*elided*/ any[];
630
+ anyOf?: /*elided*/ any[];
631
+ oneOf?: /*elided*/ any[];
632
+ not?: /*elided*/ any;
633
+ extends?: string | string[] | undefined;
634
+ format?: string | undefined;
635
+ };
636
+ expiresAt?: string;
637
+ metadata?: {
638
+ ticket: {
639
+ approvers: string[];
640
+ sn: string;
641
+ status: import("..").ApprovalInterruptTicketStatus;
642
+ submit_time: string;
643
+ title: string;
644
+ url: string;
645
+ };
646
+ };
647
+ } | {
648
+ id: string;
649
+ reason: import("..").InterruptReason.UserQuestion;
650
+ message?: string;
651
+ toolCallId?: string;
652
+ responseSchema?: {
653
+ [x: string]: any;
654
+ id?: string | undefined;
655
+ $ref?: string | undefined;
656
+ $schema?: import("json-schema").JSONSchema4Version | undefined;
657
+ title?: string | undefined;
658
+ description?: string | undefined;
659
+ default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
660
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
661
+ length: number;
662
+ toString: () => string;
663
+ toLocaleString: {
664
+ (): string;
665
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
666
+ };
667
+ pop: () => import("json-schema").JSONSchema4Type;
668
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
669
+ concat: {
670
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
671
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
672
+ };
673
+ join: (separator?: string) => string;
674
+ reverse: () => import("json-schema").JSONSchema4Type[];
675
+ shift: () => import("json-schema").JSONSchema4Type;
676
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
677
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
678
+ splice: {
679
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
680
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
681
+ };
682
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
683
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
684
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
685
+ every: {
686
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
687
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
688
+ };
689
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
690
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
691
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
692
+ filter: {
693
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
694
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
695
+ };
696
+ reduce: {
697
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
698
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
699
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
700
+ };
701
+ reduceRight: {
702
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
703
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
704
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
705
+ };
706
+ find: {
707
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
708
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
709
+ };
710
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
711
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
712
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
713
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
714
+ keys: () => ArrayIterator<number>;
715
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
716
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
717
+ flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
718
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
719
+ at: (index: number) => import("json-schema").JSONSchema4Type;
720
+ findLast: {
721
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
722
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
723
+ };
724
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
725
+ toReversed: () => import("json-schema").JSONSchema4Type[];
726
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
727
+ toSpliced: {
728
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
729
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
730
+ };
731
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
732
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
733
+ readonly [Symbol.unscopables]: {
734
+ [x: number]: boolean;
735
+ length?: boolean;
736
+ toString?: boolean;
737
+ toLocaleString?: boolean;
738
+ pop?: boolean;
739
+ push?: boolean;
740
+ concat?: boolean;
741
+ join?: boolean;
742
+ reverse?: boolean;
743
+ shift?: boolean;
744
+ slice?: boolean;
745
+ sort?: boolean;
746
+ splice?: boolean;
747
+ unshift?: boolean;
748
+ indexOf?: boolean;
749
+ lastIndexOf?: boolean;
750
+ every?: boolean;
751
+ some?: boolean;
752
+ forEach?: boolean;
753
+ map?: boolean;
754
+ filter?: boolean;
755
+ reduce?: boolean;
756
+ reduceRight?: boolean;
757
+ find?: boolean;
758
+ findIndex?: boolean;
759
+ fill?: boolean;
760
+ copyWithin?: boolean;
761
+ entries?: boolean;
762
+ keys?: boolean;
763
+ values?: boolean;
764
+ includes?: boolean;
765
+ flatMap?: boolean;
766
+ flat?: boolean;
767
+ at?: boolean;
768
+ findLast?: boolean;
769
+ findLastIndex?: boolean;
770
+ toReversed?: boolean;
771
+ toSorted?: boolean;
772
+ toSpliced?: boolean;
773
+ with?: boolean;
774
+ [Symbol.iterator]?: boolean;
775
+ readonly [Symbol.unscopables]?: boolean;
776
+ };
777
+ };
778
+ multipleOf?: number | undefined;
779
+ maximum?: number | undefined;
780
+ exclusiveMaximum?: boolean | undefined;
781
+ minimum?: number | undefined;
782
+ exclusiveMinimum?: boolean | undefined;
783
+ maxLength?: number | undefined;
784
+ minLength?: number | undefined;
785
+ pattern?: string | undefined;
786
+ additionalItems?: boolean | /*elided*/ any;
787
+ items?: /*elided*/ any | /*elided*/ any[];
788
+ maxItems?: number | undefined;
789
+ minItems?: number | undefined;
790
+ uniqueItems?: boolean | undefined;
791
+ maxProperties?: number | undefined;
792
+ minProperties?: number | undefined;
793
+ required?: boolean | string[] | undefined;
794
+ additionalProperties?: boolean | /*elided*/ any;
795
+ definitions?: {
796
+ [k: string]: import("json-schema").JSONSchema4;
797
+ } | undefined;
798
+ properties?: {
799
+ [k: string]: import("json-schema").JSONSchema4;
800
+ } | undefined;
801
+ patternProperties?: {
802
+ [k: string]: import("json-schema").JSONSchema4;
803
+ } | undefined;
804
+ dependencies?: {
805
+ [k: string]: import("json-schema").JSONSchema4 | string[];
806
+ } | undefined;
807
+ enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
808
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
809
+ length: number;
810
+ toString: () => string;
811
+ toLocaleString: {
812
+ (): string;
813
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
814
+ };
815
+ pop: () => import("json-schema").JSONSchema4Type;
816
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
817
+ concat: {
818
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
819
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
820
+ };
821
+ join: (separator?: string) => string;
822
+ reverse: () => import("json-schema").JSONSchema4Type[];
823
+ shift: () => import("json-schema").JSONSchema4Type;
824
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
825
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
826
+ splice: {
827
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
828
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
829
+ };
830
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
831
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
832
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
833
+ every: {
834
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
835
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
836
+ };
837
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
838
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
839
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
840
+ filter: {
841
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
842
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
843
+ };
844
+ reduce: {
845
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
846
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
847
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
848
+ };
849
+ reduceRight: {
850
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
851
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
852
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
853
+ };
854
+ find: {
855
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
856
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
857
+ };
858
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
859
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
860
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
861
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
862
+ keys: () => ArrayIterator<number>;
863
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
864
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
865
+ flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
866
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
867
+ at: (index: number) => import("json-schema").JSONSchema4Type;
868
+ findLast: {
869
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
870
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
871
+ };
872
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
873
+ toReversed: () => import("json-schema").JSONSchema4Type[];
874
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
875
+ toSpliced: {
876
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
877
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
878
+ };
879
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
880
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
881
+ readonly [Symbol.unscopables]: {
882
+ [x: number]: boolean;
883
+ length?: boolean;
884
+ toString?: boolean;
885
+ toLocaleString?: boolean;
886
+ pop?: boolean;
887
+ push?: boolean;
888
+ concat?: boolean;
889
+ join?: boolean;
890
+ reverse?: boolean;
891
+ shift?: boolean;
892
+ slice?: boolean;
893
+ sort?: boolean;
894
+ splice?: boolean;
895
+ unshift?: boolean;
896
+ indexOf?: boolean;
897
+ lastIndexOf?: boolean;
898
+ every?: boolean;
899
+ some?: boolean;
900
+ forEach?: boolean;
901
+ map?: boolean;
902
+ filter?: boolean;
903
+ reduce?: boolean;
904
+ reduceRight?: boolean;
905
+ find?: boolean;
906
+ findIndex?: boolean;
907
+ fill?: boolean;
908
+ copyWithin?: boolean;
909
+ entries?: boolean;
910
+ keys?: boolean;
911
+ values?: boolean;
912
+ includes?: boolean;
913
+ flatMap?: boolean;
914
+ flat?: boolean;
915
+ at?: boolean;
916
+ findLast?: boolean;
917
+ findLastIndex?: boolean;
918
+ toReversed?: boolean;
919
+ toSorted?: boolean;
920
+ toSpliced?: boolean;
921
+ with?: boolean;
922
+ [Symbol.iterator]?: boolean;
923
+ readonly [Symbol.unscopables]?: boolean;
924
+ };
925
+ })[];
926
+ type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
927
+ allOf?: /*elided*/ any[];
928
+ anyOf?: /*elided*/ any[];
929
+ oneOf?: /*elided*/ any[];
930
+ not?: /*elided*/ any;
931
+ extends?: string | string[] | undefined;
932
+ format?: string | undefined;
933
+ };
934
+ expiresAt?: string;
935
+ metadata?: {
936
+ questions: {
937
+ header: string;
938
+ multiSelect?: boolean;
939
+ options?: {
940
+ description: string;
941
+ label: string;
942
+ }[];
943
+ question: string;
944
+ }[];
945
+ };
946
+ })[];
947
+ };
948
+ timestamp?: number;
949
+ };
950
+ role: MessageRole.Interrupt;
951
+ createdAt?: string;
248
952
  id?: string;
249
953
  messageId?: string;
250
954
  name?: string;
@@ -253,8 +957,19 @@ export declare const useMessage: (mediator: IMediatorModule) => {
253
957
  })[], IMessage[] | ({
254
958
  activityType: import("./type").ActivityType;
255
959
  content: {
960
+ artifacts: {
961
+ name: string;
962
+ outputId: string;
963
+ size: number;
964
+ type: string;
965
+ previewUrl?: string;
966
+ url?: string;
967
+ }[];
968
+ runId: string;
969
+ status: "complete" | "empty";
970
+ } | {
256
971
  nodes: Record<string, import("..").IFlowAgentNode>;
257
- task_id: number;
972
+ task_id: string;
258
973
  task_name: string;
259
974
  task_outputs: string[];
260
975
  task_state: import("..").FlowTaskState;
@@ -270,7 +985,33 @@ export declare const useMessage: (mediator: IMediatorModule) => {
270
985
  originFileUrl?: string;
271
986
  url: string;
272
987
  }[];
988
+ property?: {
989
+ [x: string]: unknown;
990
+ artifacts?: {
991
+ name: string;
992
+ outputId: string;
993
+ size: number;
994
+ type: string;
995
+ previewUrl?: string;
996
+ url?: string;
997
+ }[];
998
+ extra?: {
999
+ [x: string]: unknown;
1000
+ cite?: string | {
1001
+ data: {
1002
+ key: string;
1003
+ value: string;
1004
+ }[];
1005
+ title: string;
1006
+ type: string;
1007
+ };
1008
+ command?: string;
1009
+ context?: Array<Record<string, unknown>>;
1010
+ resources?: Array<Record<string, unknown>>;
1011
+ };
1012
+ };
273
1013
  role: MessageRole.Activity;
1014
+ createdAt?: string;
274
1015
  id?: string;
275
1016
  messageId?: string;
276
1017
  name?: string;
@@ -280,6 +1021,14 @@ export declare const useMessage: (mediator: IMediatorModule) => {
280
1021
  content?: string;
281
1022
  property?: {
282
1023
  [x: string]: unknown;
1024
+ artifacts?: {
1025
+ name: string;
1026
+ outputId: string;
1027
+ size: number;
1028
+ type: string;
1029
+ previewUrl?: string;
1030
+ url?: string;
1031
+ }[];
283
1032
  extra?: {
284
1033
  [x: string]: unknown;
285
1034
  cite?: string | {
@@ -306,6 +1055,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
306
1055
  id: string;
307
1056
  type: import("./type").MessageType.Function;
308
1057
  }[];
1058
+ createdAt?: string;
309
1059
  id?: string;
310
1060
  messageId?: string;
311
1061
  name?: string;
@@ -314,6 +1064,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
314
1064
  } | {
315
1065
  content: string;
316
1066
  role: MessageRole.Developer;
1067
+ createdAt?: string;
317
1068
  id?: string;
318
1069
  messageId?: string;
319
1070
  name?: string;
@@ -322,6 +1073,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
322
1073
  } | {
323
1074
  content: string;
324
1075
  role: MessageRole.Guide;
1076
+ createdAt?: string;
325
1077
  id?: string;
326
1078
  messageId?: string;
327
1079
  name?: string;
@@ -330,6 +1082,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
330
1082
  } | {
331
1083
  content: string;
332
1084
  role: MessageRole.HiddenAssistant;
1085
+ createdAt?: string;
333
1086
  id?: string;
334
1087
  messageId?: string;
335
1088
  name?: string;
@@ -338,6 +1091,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
338
1091
  } | {
339
1092
  content: string;
340
1093
  role: MessageRole.HiddenGuide;
1094
+ createdAt?: string;
341
1095
  id?: string;
342
1096
  messageId?: string;
343
1097
  name?: string;
@@ -346,6 +1100,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
346
1100
  } | {
347
1101
  content: string;
348
1102
  role: MessageRole.Hidden;
1103
+ createdAt?: string;
349
1104
  id?: string;
350
1105
  messageId?: string;
351
1106
  name?: string;
@@ -354,6 +1109,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
354
1109
  } | {
355
1110
  content: string;
356
1111
  role: MessageRole.HiddenSystem;
1112
+ createdAt?: string;
357
1113
  id?: string;
358
1114
  messageId?: string;
359
1115
  name?: string;
@@ -362,6 +1118,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
362
1118
  } | {
363
1119
  content: string;
364
1120
  role: MessageRole.HiddenUser;
1121
+ createdAt?: string;
365
1122
  id?: string;
366
1123
  messageId?: string;
367
1124
  name?: string;
@@ -370,6 +1127,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
370
1127
  } | {
371
1128
  content: string;
372
1129
  role: MessageRole.Info;
1130
+ createdAt?: string;
373
1131
  id?: string;
374
1132
  messageId?: string;
375
1133
  name?: string;
@@ -378,6 +1136,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
378
1136
  } | {
379
1137
  content: string;
380
1138
  role: MessageRole.Pause;
1139
+ createdAt?: string;
381
1140
  id?: string;
382
1141
  messageId?: string;
383
1142
  name?: string;
@@ -386,6 +1145,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
386
1145
  } | {
387
1146
  content: string;
388
1147
  role: MessageRole.Placeholder;
1148
+ createdAt?: string;
389
1149
  id?: string;
390
1150
  messageId?: string;
391
1151
  name?: string;
@@ -395,6 +1155,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
395
1155
  content: string[];
396
1156
  duration?: number;
397
1157
  role: MessageRole.Reasoning;
1158
+ createdAt?: string;
398
1159
  id?: string;
399
1160
  messageId?: string;
400
1161
  name?: string;
@@ -403,6 +1164,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
403
1164
  } | {
404
1165
  content: string;
405
1166
  role: MessageRole.System;
1167
+ createdAt?: string;
406
1168
  id?: string;
407
1169
  messageId?: string;
408
1170
  name?: string;
@@ -411,6 +1173,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
411
1173
  } | {
412
1174
  content: string;
413
1175
  role: MessageRole.TemplateAssistant;
1176
+ createdAt?: string;
414
1177
  id?: string;
415
1178
  messageId?: string;
416
1179
  name?: string;
@@ -419,6 +1182,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
419
1182
  } | {
420
1183
  content: string;
421
1184
  role: MessageRole.TemplateGuide;
1185
+ createdAt?: string;
422
1186
  id?: string;
423
1187
  messageId?: string;
424
1188
  name?: string;
@@ -427,6 +1191,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
427
1191
  } | {
428
1192
  content: string;
429
1193
  role: MessageRole.TemplateHidden;
1194
+ createdAt?: string;
430
1195
  id?: string;
431
1196
  messageId?: string;
432
1197
  name?: string;
@@ -435,6 +1200,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
435
1200
  } | {
436
1201
  content: string;
437
1202
  role: MessageRole.TemplateSystem;
1203
+ createdAt?: string;
438
1204
  id?: string;
439
1205
  messageId?: string;
440
1206
  name?: string;
@@ -443,6 +1209,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
443
1209
  } | {
444
1210
  content: string;
445
1211
  role: MessageRole.TemplateUser;
1212
+ createdAt?: string;
446
1213
  id?: string;
447
1214
  messageId?: string;
448
1215
  name?: string;
@@ -454,6 +1221,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
454
1221
  error?: string;
455
1222
  role: MessageRole.Tool;
456
1223
  toolCallId: string;
1224
+ createdAt?: string;
457
1225
  id?: string;
458
1226
  messageId?: string;
459
1227
  name?: string;
@@ -473,6 +1241,14 @@ export declare const useMessage: (mediator: IMediatorModule) => {
473
1241
  })[];
474
1242
  property?: {
475
1243
  [x: string]: unknown;
1244
+ artifacts?: {
1245
+ name: string;
1246
+ outputId: string;
1247
+ size: number;
1248
+ type: string;
1249
+ previewUrl?: string;
1250
+ url?: string;
1251
+ }[];
476
1252
  extra?: {
477
1253
  [x: string]: unknown;
478
1254
  cite?: string | {
@@ -489,6 +1265,638 @@ export declare const useMessage: (mediator: IMediatorModule) => {
489
1265
  };
490
1266
  };
491
1267
  role: MessageRole.User;
1268
+ createdAt?: string;
1269
+ id?: string;
1270
+ messageId?: string;
1271
+ name?: string;
1272
+ sessionCode?: string;
1273
+ status: MessageStatus;
1274
+ } | {
1275
+ content: {
1276
+ result?: {
1277
+ interruptId: string;
1278
+ status: import("..").ResumeStatus;
1279
+ payload?: {
1280
+ answers: {
1281
+ answer: {
1282
+ description: string;
1283
+ label: string;
1284
+ }[];
1285
+ multiSelect?: boolean;
1286
+ question: string;
1287
+ }[];
1288
+ };
1289
+ };
1290
+ runId: number;
1291
+ threadId: string;
1292
+ type: import("..").EventType.RunFinished;
1293
+ outcome?: {
1294
+ type: import("..").RunFinishedOutcomeType.Success;
1295
+ } | {
1296
+ type: import("..").RunFinishedOutcomeType.Interrupt;
1297
+ interrupts: ({
1298
+ id: string;
1299
+ reason: import("..").InterruptReason.AIDevToolApproval;
1300
+ message?: string;
1301
+ toolCallId?: string;
1302
+ responseSchema?: {
1303
+ [x: string]: any;
1304
+ id?: string | undefined;
1305
+ $ref?: string | undefined;
1306
+ $schema?: import("json-schema").JSONSchema4Version | undefined;
1307
+ title?: string | undefined;
1308
+ description?: string | undefined;
1309
+ default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
1310
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
1311
+ length: number;
1312
+ toString: () => string;
1313
+ toLocaleString: {
1314
+ (): string;
1315
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
1316
+ };
1317
+ pop: () => import("json-schema").JSONSchema4Type;
1318
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
1319
+ concat: {
1320
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
1321
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
1322
+ };
1323
+ join: (separator?: string) => string;
1324
+ reverse: () => import("json-schema").JSONSchema4Type[];
1325
+ shift: () => import("json-schema").JSONSchema4Type;
1326
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
1327
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
1328
+ splice: {
1329
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
1330
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
1331
+ };
1332
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
1333
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
1334
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
1335
+ every: {
1336
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
1337
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
1338
+ };
1339
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
1340
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
1341
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
1342
+ filter: {
1343
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
1344
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
1345
+ };
1346
+ reduce: {
1347
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
1348
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
1349
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
1350
+ };
1351
+ reduceRight: {
1352
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
1353
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
1354
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
1355
+ };
1356
+ find: {
1357
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
1358
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
1359
+ };
1360
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
1361
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
1362
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
1363
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
1364
+ keys: () => ArrayIterator<number>;
1365
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
1366
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
1367
+ flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
1368
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
1369
+ at: (index: number) => import("json-schema").JSONSchema4Type;
1370
+ findLast: {
1371
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
1372
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
1373
+ };
1374
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
1375
+ toReversed: () => import("json-schema").JSONSchema4Type[];
1376
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
1377
+ toSpliced: {
1378
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
1379
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
1380
+ };
1381
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
1382
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
1383
+ readonly [Symbol.unscopables]: {
1384
+ [x: number]: boolean;
1385
+ length?: boolean;
1386
+ toString?: boolean;
1387
+ toLocaleString?: boolean;
1388
+ pop?: boolean;
1389
+ push?: boolean;
1390
+ concat?: boolean;
1391
+ join?: boolean;
1392
+ reverse?: boolean;
1393
+ shift?: boolean;
1394
+ slice?: boolean;
1395
+ sort?: boolean;
1396
+ splice?: boolean;
1397
+ unshift?: boolean;
1398
+ indexOf?: boolean;
1399
+ lastIndexOf?: boolean;
1400
+ every?: boolean;
1401
+ some?: boolean;
1402
+ forEach?: boolean;
1403
+ map?: boolean;
1404
+ filter?: boolean;
1405
+ reduce?: boolean;
1406
+ reduceRight?: boolean;
1407
+ find?: boolean;
1408
+ findIndex?: boolean;
1409
+ fill?: boolean;
1410
+ copyWithin?: boolean;
1411
+ entries?: boolean;
1412
+ keys?: boolean;
1413
+ values?: boolean;
1414
+ includes?: boolean;
1415
+ flatMap?: boolean;
1416
+ flat?: boolean;
1417
+ at?: boolean;
1418
+ findLast?: boolean;
1419
+ findLastIndex?: boolean;
1420
+ toReversed?: boolean;
1421
+ toSorted?: boolean;
1422
+ toSpliced?: boolean;
1423
+ with?: boolean;
1424
+ [Symbol.iterator]?: boolean;
1425
+ readonly [Symbol.unscopables]?: boolean;
1426
+ };
1427
+ };
1428
+ multipleOf?: number | undefined;
1429
+ maximum?: number | undefined;
1430
+ exclusiveMaximum?: boolean | undefined;
1431
+ minimum?: number | undefined;
1432
+ exclusiveMinimum?: boolean | undefined;
1433
+ maxLength?: number | undefined;
1434
+ minLength?: number | undefined;
1435
+ pattern?: string | undefined;
1436
+ additionalItems?: boolean | /*elided*/ any;
1437
+ items?: /*elided*/ any | /*elided*/ any[];
1438
+ maxItems?: number | undefined;
1439
+ minItems?: number | undefined;
1440
+ uniqueItems?: boolean | undefined;
1441
+ maxProperties?: number | undefined;
1442
+ minProperties?: number | undefined;
1443
+ required?: boolean | string[] | undefined;
1444
+ additionalProperties?: boolean | /*elided*/ any;
1445
+ definitions?: {
1446
+ [k: string]: import("json-schema").JSONSchema4;
1447
+ } | undefined;
1448
+ properties?: {
1449
+ [k: string]: import("json-schema").JSONSchema4;
1450
+ } | undefined;
1451
+ patternProperties?: {
1452
+ [k: string]: import("json-schema").JSONSchema4;
1453
+ } | undefined;
1454
+ dependencies?: {
1455
+ [k: string]: import("json-schema").JSONSchema4 | string[];
1456
+ } | undefined;
1457
+ enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
1458
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
1459
+ length: number;
1460
+ toString: () => string;
1461
+ toLocaleString: {
1462
+ (): string;
1463
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
1464
+ };
1465
+ pop: () => import("json-schema").JSONSchema4Type;
1466
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
1467
+ concat: {
1468
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
1469
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
1470
+ };
1471
+ join: (separator?: string) => string;
1472
+ reverse: () => import("json-schema").JSONSchema4Type[];
1473
+ shift: () => import("json-schema").JSONSchema4Type;
1474
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
1475
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
1476
+ splice: {
1477
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
1478
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
1479
+ };
1480
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
1481
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
1482
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
1483
+ every: {
1484
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
1485
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
1486
+ };
1487
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
1488
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
1489
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
1490
+ filter: {
1491
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
1492
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
1493
+ };
1494
+ reduce: {
1495
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
1496
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
1497
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
1498
+ };
1499
+ reduceRight: {
1500
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
1501
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
1502
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
1503
+ };
1504
+ find: {
1505
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
1506
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
1507
+ };
1508
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
1509
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
1510
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
1511
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
1512
+ keys: () => ArrayIterator<number>;
1513
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
1514
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
1515
+ flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
1516
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
1517
+ at: (index: number) => import("json-schema").JSONSchema4Type;
1518
+ findLast: {
1519
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
1520
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
1521
+ };
1522
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
1523
+ toReversed: () => import("json-schema").JSONSchema4Type[];
1524
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
1525
+ toSpliced: {
1526
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
1527
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
1528
+ };
1529
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
1530
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
1531
+ readonly [Symbol.unscopables]: {
1532
+ [x: number]: boolean;
1533
+ length?: boolean;
1534
+ toString?: boolean;
1535
+ toLocaleString?: boolean;
1536
+ pop?: boolean;
1537
+ push?: boolean;
1538
+ concat?: boolean;
1539
+ join?: boolean;
1540
+ reverse?: boolean;
1541
+ shift?: boolean;
1542
+ slice?: boolean;
1543
+ sort?: boolean;
1544
+ splice?: boolean;
1545
+ unshift?: boolean;
1546
+ indexOf?: boolean;
1547
+ lastIndexOf?: boolean;
1548
+ every?: boolean;
1549
+ some?: boolean;
1550
+ forEach?: boolean;
1551
+ map?: boolean;
1552
+ filter?: boolean;
1553
+ reduce?: boolean;
1554
+ reduceRight?: boolean;
1555
+ find?: boolean;
1556
+ findIndex?: boolean;
1557
+ fill?: boolean;
1558
+ copyWithin?: boolean;
1559
+ entries?: boolean;
1560
+ keys?: boolean;
1561
+ values?: boolean;
1562
+ includes?: boolean;
1563
+ flatMap?: boolean;
1564
+ flat?: boolean;
1565
+ at?: boolean;
1566
+ findLast?: boolean;
1567
+ findLastIndex?: boolean;
1568
+ toReversed?: boolean;
1569
+ toSorted?: boolean;
1570
+ toSpliced?: boolean;
1571
+ with?: boolean;
1572
+ [Symbol.iterator]?: boolean;
1573
+ readonly [Symbol.unscopables]?: boolean;
1574
+ };
1575
+ })[];
1576
+ type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
1577
+ allOf?: /*elided*/ any[];
1578
+ anyOf?: /*elided*/ any[];
1579
+ oneOf?: /*elided*/ any[];
1580
+ not?: /*elided*/ any;
1581
+ extends?: string | string[] | undefined;
1582
+ format?: string | undefined;
1583
+ };
1584
+ expiresAt?: string;
1585
+ metadata?: {
1586
+ ticket: {
1587
+ approvers: string[];
1588
+ sn: string;
1589
+ status: import("..").ApprovalInterruptTicketStatus;
1590
+ submit_time: string;
1591
+ title: string;
1592
+ url: string;
1593
+ };
1594
+ };
1595
+ } | {
1596
+ id: string;
1597
+ reason: import("..").InterruptReason.UserQuestion;
1598
+ message?: string;
1599
+ toolCallId?: string;
1600
+ responseSchema?: {
1601
+ [x: string]: any;
1602
+ id?: string | undefined;
1603
+ $ref?: string | undefined;
1604
+ $schema?: import("json-schema").JSONSchema4Version | undefined;
1605
+ title?: string | undefined;
1606
+ description?: string | undefined;
1607
+ default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
1608
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
1609
+ length: number;
1610
+ toString: () => string;
1611
+ toLocaleString: {
1612
+ (): string;
1613
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
1614
+ };
1615
+ pop: () => import("json-schema").JSONSchema4Type;
1616
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
1617
+ concat: {
1618
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
1619
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
1620
+ };
1621
+ join: (separator?: string) => string;
1622
+ reverse: () => import("json-schema").JSONSchema4Type[];
1623
+ shift: () => import("json-schema").JSONSchema4Type;
1624
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
1625
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
1626
+ splice: {
1627
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
1628
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
1629
+ };
1630
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
1631
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
1632
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
1633
+ every: {
1634
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
1635
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
1636
+ };
1637
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
1638
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
1639
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
1640
+ filter: {
1641
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
1642
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
1643
+ };
1644
+ reduce: {
1645
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
1646
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
1647
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
1648
+ };
1649
+ reduceRight: {
1650
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
1651
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
1652
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
1653
+ };
1654
+ find: {
1655
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
1656
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
1657
+ };
1658
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
1659
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
1660
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
1661
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
1662
+ keys: () => ArrayIterator<number>;
1663
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
1664
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
1665
+ flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
1666
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
1667
+ at: (index: number) => import("json-schema").JSONSchema4Type;
1668
+ findLast: {
1669
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
1670
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
1671
+ };
1672
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
1673
+ toReversed: () => import("json-schema").JSONSchema4Type[];
1674
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
1675
+ toSpliced: {
1676
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
1677
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
1678
+ };
1679
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
1680
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
1681
+ readonly [Symbol.unscopables]: {
1682
+ [x: number]: boolean;
1683
+ length?: boolean;
1684
+ toString?: boolean;
1685
+ toLocaleString?: boolean;
1686
+ pop?: boolean;
1687
+ push?: boolean;
1688
+ concat?: boolean;
1689
+ join?: boolean;
1690
+ reverse?: boolean;
1691
+ shift?: boolean;
1692
+ slice?: boolean;
1693
+ sort?: boolean;
1694
+ splice?: boolean;
1695
+ unshift?: boolean;
1696
+ indexOf?: boolean;
1697
+ lastIndexOf?: boolean;
1698
+ every?: boolean;
1699
+ some?: boolean;
1700
+ forEach?: boolean;
1701
+ map?: boolean;
1702
+ filter?: boolean;
1703
+ reduce?: boolean;
1704
+ reduceRight?: boolean;
1705
+ find?: boolean;
1706
+ findIndex?: boolean;
1707
+ fill?: boolean;
1708
+ copyWithin?: boolean;
1709
+ entries?: boolean;
1710
+ keys?: boolean;
1711
+ values?: boolean;
1712
+ includes?: boolean;
1713
+ flatMap?: boolean;
1714
+ flat?: boolean;
1715
+ at?: boolean;
1716
+ findLast?: boolean;
1717
+ findLastIndex?: boolean;
1718
+ toReversed?: boolean;
1719
+ toSorted?: boolean;
1720
+ toSpliced?: boolean;
1721
+ with?: boolean;
1722
+ [Symbol.iterator]?: boolean;
1723
+ readonly [Symbol.unscopables]?: boolean;
1724
+ };
1725
+ };
1726
+ multipleOf?: number | undefined;
1727
+ maximum?: number | undefined;
1728
+ exclusiveMaximum?: boolean | undefined;
1729
+ minimum?: number | undefined;
1730
+ exclusiveMinimum?: boolean | undefined;
1731
+ maxLength?: number | undefined;
1732
+ minLength?: number | undefined;
1733
+ pattern?: string | undefined;
1734
+ additionalItems?: boolean | /*elided*/ any;
1735
+ items?: /*elided*/ any | /*elided*/ any[];
1736
+ maxItems?: number | undefined;
1737
+ minItems?: number | undefined;
1738
+ uniqueItems?: boolean | undefined;
1739
+ maxProperties?: number | undefined;
1740
+ minProperties?: number | undefined;
1741
+ required?: boolean | string[] | undefined;
1742
+ additionalProperties?: boolean | /*elided*/ any;
1743
+ definitions?: {
1744
+ [k: string]: import("json-schema").JSONSchema4;
1745
+ } | undefined;
1746
+ properties?: {
1747
+ [k: string]: import("json-schema").JSONSchema4;
1748
+ } | undefined;
1749
+ patternProperties?: {
1750
+ [k: string]: import("json-schema").JSONSchema4;
1751
+ } | undefined;
1752
+ dependencies?: {
1753
+ [k: string]: import("json-schema").JSONSchema4 | string[];
1754
+ } | undefined;
1755
+ enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
1756
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
1757
+ length: number;
1758
+ toString: () => string;
1759
+ toLocaleString: {
1760
+ (): string;
1761
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
1762
+ };
1763
+ pop: () => import("json-schema").JSONSchema4Type;
1764
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
1765
+ concat: {
1766
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
1767
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
1768
+ };
1769
+ join: (separator?: string) => string;
1770
+ reverse: () => import("json-schema").JSONSchema4Type[];
1771
+ shift: () => import("json-schema").JSONSchema4Type;
1772
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
1773
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
1774
+ splice: {
1775
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
1776
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
1777
+ };
1778
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
1779
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
1780
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
1781
+ every: {
1782
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
1783
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
1784
+ };
1785
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
1786
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
1787
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
1788
+ filter: {
1789
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
1790
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
1791
+ };
1792
+ reduce: {
1793
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
1794
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
1795
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
1796
+ };
1797
+ reduceRight: {
1798
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
1799
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
1800
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
1801
+ };
1802
+ find: {
1803
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
1804
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
1805
+ };
1806
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
1807
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
1808
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
1809
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
1810
+ keys: () => ArrayIterator<number>;
1811
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
1812
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
1813
+ flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
1814
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
1815
+ at: (index: number) => import("json-schema").JSONSchema4Type;
1816
+ findLast: {
1817
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
1818
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
1819
+ };
1820
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
1821
+ toReversed: () => import("json-schema").JSONSchema4Type[];
1822
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
1823
+ toSpliced: {
1824
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
1825
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
1826
+ };
1827
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
1828
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
1829
+ readonly [Symbol.unscopables]: {
1830
+ [x: number]: boolean;
1831
+ length?: boolean;
1832
+ toString?: boolean;
1833
+ toLocaleString?: boolean;
1834
+ pop?: boolean;
1835
+ push?: boolean;
1836
+ concat?: boolean;
1837
+ join?: boolean;
1838
+ reverse?: boolean;
1839
+ shift?: boolean;
1840
+ slice?: boolean;
1841
+ sort?: boolean;
1842
+ splice?: boolean;
1843
+ unshift?: boolean;
1844
+ indexOf?: boolean;
1845
+ lastIndexOf?: boolean;
1846
+ every?: boolean;
1847
+ some?: boolean;
1848
+ forEach?: boolean;
1849
+ map?: boolean;
1850
+ filter?: boolean;
1851
+ reduce?: boolean;
1852
+ reduceRight?: boolean;
1853
+ find?: boolean;
1854
+ findIndex?: boolean;
1855
+ fill?: boolean;
1856
+ copyWithin?: boolean;
1857
+ entries?: boolean;
1858
+ keys?: boolean;
1859
+ values?: boolean;
1860
+ includes?: boolean;
1861
+ flatMap?: boolean;
1862
+ flat?: boolean;
1863
+ at?: boolean;
1864
+ findLast?: boolean;
1865
+ findLastIndex?: boolean;
1866
+ toReversed?: boolean;
1867
+ toSorted?: boolean;
1868
+ toSpliced?: boolean;
1869
+ with?: boolean;
1870
+ [Symbol.iterator]?: boolean;
1871
+ readonly [Symbol.unscopables]?: boolean;
1872
+ };
1873
+ })[];
1874
+ type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
1875
+ allOf?: /*elided*/ any[];
1876
+ anyOf?: /*elided*/ any[];
1877
+ oneOf?: /*elided*/ any[];
1878
+ not?: /*elided*/ any;
1879
+ extends?: string | string[] | undefined;
1880
+ format?: string | undefined;
1881
+ };
1882
+ expiresAt?: string;
1883
+ metadata?: {
1884
+ questions: {
1885
+ header: string;
1886
+ multiSelect?: boolean;
1887
+ options?: {
1888
+ description: string;
1889
+ label: string;
1890
+ }[];
1891
+ question: string;
1892
+ }[];
1893
+ };
1894
+ })[];
1895
+ };
1896
+ timestamp?: number;
1897
+ };
1898
+ role: MessageRole.Interrupt;
1899
+ createdAt?: string;
492
1900
  id?: string;
493
1901
  messageId?: string;
494
1902
  name?: string;
@@ -502,8 +1910,19 @@ export declare const useMessage: (mediator: IMediatorModule) => {
502
1910
  getCurrentLoadingMessage: () => {
503
1911
  activityType: import("./type").ActivityType;
504
1912
  content: {
1913
+ artifacts: {
1914
+ name: string;
1915
+ outputId: string;
1916
+ size: number;
1917
+ type: string;
1918
+ previewUrl?: string;
1919
+ url?: string;
1920
+ }[];
1921
+ runId: string;
1922
+ status: "complete" | "empty";
1923
+ } | {
505
1924
  nodes: Record<string, import("..").IFlowAgentNode>;
506
- task_id: number;
1925
+ task_id: string;
507
1926
  task_name: string;
508
1927
  task_outputs: string[];
509
1928
  task_state: import("..").FlowTaskState;
@@ -519,7 +1938,33 @@ export declare const useMessage: (mediator: IMediatorModule) => {
519
1938
  originFileUrl?: string;
520
1939
  url: string;
521
1940
  }[];
1941
+ property?: {
1942
+ [x: string]: unknown;
1943
+ artifacts?: {
1944
+ name: string;
1945
+ outputId: string;
1946
+ size: number;
1947
+ type: string;
1948
+ previewUrl?: string;
1949
+ url?: string;
1950
+ }[];
1951
+ extra?: {
1952
+ [x: string]: unknown;
1953
+ cite?: string | {
1954
+ data: {
1955
+ key: string;
1956
+ value: string;
1957
+ }[];
1958
+ title: string;
1959
+ type: string;
1960
+ };
1961
+ command?: string;
1962
+ context?: Array<Record<string, unknown>>;
1963
+ resources?: Array<Record<string, unknown>>;
1964
+ };
1965
+ };
522
1966
  role: MessageRole.Activity;
1967
+ createdAt?: string;
523
1968
  id?: string;
524
1969
  messageId?: string;
525
1970
  name?: string;
@@ -529,6 +1974,14 @@ export declare const useMessage: (mediator: IMediatorModule) => {
529
1974
  content?: string;
530
1975
  property?: {
531
1976
  [x: string]: unknown;
1977
+ artifacts?: {
1978
+ name: string;
1979
+ outputId: string;
1980
+ size: number;
1981
+ type: string;
1982
+ previewUrl?: string;
1983
+ url?: string;
1984
+ }[];
532
1985
  extra?: {
533
1986
  [x: string]: unknown;
534
1987
  cite?: string | {
@@ -555,6 +2008,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
555
2008
  id: string;
556
2009
  type: import("./type").MessageType.Function;
557
2010
  }[];
2011
+ createdAt?: string;
558
2012
  id?: string;
559
2013
  messageId?: string;
560
2014
  name?: string;
@@ -563,6 +2017,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
563
2017
  } | {
564
2018
  content: string;
565
2019
  role: MessageRole.Developer;
2020
+ createdAt?: string;
566
2021
  id?: string;
567
2022
  messageId?: string;
568
2023
  name?: string;
@@ -571,6 +2026,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
571
2026
  } | {
572
2027
  content: string;
573
2028
  role: MessageRole.Guide;
2029
+ createdAt?: string;
574
2030
  id?: string;
575
2031
  messageId?: string;
576
2032
  name?: string;
@@ -579,6 +2035,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
579
2035
  } | {
580
2036
  content: string;
581
2037
  role: MessageRole.HiddenAssistant;
2038
+ createdAt?: string;
582
2039
  id?: string;
583
2040
  messageId?: string;
584
2041
  name?: string;
@@ -587,6 +2044,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
587
2044
  } | {
588
2045
  content: string;
589
2046
  role: MessageRole.HiddenGuide;
2047
+ createdAt?: string;
590
2048
  id?: string;
591
2049
  messageId?: string;
592
2050
  name?: string;
@@ -595,6 +2053,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
595
2053
  } | {
596
2054
  content: string;
597
2055
  role: MessageRole.Hidden;
2056
+ createdAt?: string;
598
2057
  id?: string;
599
2058
  messageId?: string;
600
2059
  name?: string;
@@ -603,6 +2062,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
603
2062
  } | {
604
2063
  content: string;
605
2064
  role: MessageRole.HiddenSystem;
2065
+ createdAt?: string;
606
2066
  id?: string;
607
2067
  messageId?: string;
608
2068
  name?: string;
@@ -611,6 +2071,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
611
2071
  } | {
612
2072
  content: string;
613
2073
  role: MessageRole.HiddenUser;
2074
+ createdAt?: string;
614
2075
  id?: string;
615
2076
  messageId?: string;
616
2077
  name?: string;
@@ -619,6 +2080,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
619
2080
  } | {
620
2081
  content: string;
621
2082
  role: MessageRole.Info;
2083
+ createdAt?: string;
622
2084
  id?: string;
623
2085
  messageId?: string;
624
2086
  name?: string;
@@ -627,6 +2089,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
627
2089
  } | {
628
2090
  content: string;
629
2091
  role: MessageRole.Pause;
2092
+ createdAt?: string;
630
2093
  id?: string;
631
2094
  messageId?: string;
632
2095
  name?: string;
@@ -635,6 +2098,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
635
2098
  } | {
636
2099
  content: string;
637
2100
  role: MessageRole.Placeholder;
2101
+ createdAt?: string;
638
2102
  id?: string;
639
2103
  messageId?: string;
640
2104
  name?: string;
@@ -644,6 +2108,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
644
2108
  content: string[];
645
2109
  duration?: number;
646
2110
  role: MessageRole.Reasoning;
2111
+ createdAt?: string;
647
2112
  id?: string;
648
2113
  messageId?: string;
649
2114
  name?: string;
@@ -652,6 +2117,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
652
2117
  } | {
653
2118
  content: string;
654
2119
  role: MessageRole.System;
2120
+ createdAt?: string;
655
2121
  id?: string;
656
2122
  messageId?: string;
657
2123
  name?: string;
@@ -660,6 +2126,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
660
2126
  } | {
661
2127
  content: string;
662
2128
  role: MessageRole.TemplateAssistant;
2129
+ createdAt?: string;
663
2130
  id?: string;
664
2131
  messageId?: string;
665
2132
  name?: string;
@@ -668,6 +2135,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
668
2135
  } | {
669
2136
  content: string;
670
2137
  role: MessageRole.TemplateGuide;
2138
+ createdAt?: string;
671
2139
  id?: string;
672
2140
  messageId?: string;
673
2141
  name?: string;
@@ -676,6 +2144,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
676
2144
  } | {
677
2145
  content: string;
678
2146
  role: MessageRole.TemplateHidden;
2147
+ createdAt?: string;
679
2148
  id?: string;
680
2149
  messageId?: string;
681
2150
  name?: string;
@@ -684,6 +2153,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
684
2153
  } | {
685
2154
  content: string;
686
2155
  role: MessageRole.TemplateSystem;
2156
+ createdAt?: string;
687
2157
  id?: string;
688
2158
  messageId?: string;
689
2159
  name?: string;
@@ -692,6 +2162,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
692
2162
  } | {
693
2163
  content: string;
694
2164
  role: MessageRole.TemplateUser;
2165
+ createdAt?: string;
695
2166
  id?: string;
696
2167
  messageId?: string;
697
2168
  name?: string;
@@ -703,6 +2174,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
703
2174
  error?: string;
704
2175
  role: MessageRole.Tool;
705
2176
  toolCallId: string;
2177
+ createdAt?: string;
706
2178
  id?: string;
707
2179
  messageId?: string;
708
2180
  name?: string;
@@ -722,6 +2194,14 @@ export declare const useMessage: (mediator: IMediatorModule) => {
722
2194
  })[];
723
2195
  property?: {
724
2196
  [x: string]: unknown;
2197
+ artifacts?: {
2198
+ name: string;
2199
+ outputId: string;
2200
+ size: number;
2201
+ type: string;
2202
+ previewUrl?: string;
2203
+ url?: string;
2204
+ }[];
725
2205
  extra?: {
726
2206
  [x: string]: unknown;
727
2207
  cite?: string | {
@@ -738,6 +2218,638 @@ export declare const useMessage: (mediator: IMediatorModule) => {
738
2218
  };
739
2219
  };
740
2220
  role: MessageRole.User;
2221
+ createdAt?: string;
2222
+ id?: string;
2223
+ messageId?: string;
2224
+ name?: string;
2225
+ sessionCode?: string;
2226
+ status: MessageStatus;
2227
+ } | {
2228
+ content: {
2229
+ result?: {
2230
+ interruptId: string;
2231
+ status: import("..").ResumeStatus;
2232
+ payload?: {
2233
+ answers: {
2234
+ answer: {
2235
+ description: string;
2236
+ label: string;
2237
+ }[];
2238
+ multiSelect?: boolean;
2239
+ question: string;
2240
+ }[];
2241
+ };
2242
+ };
2243
+ runId: number;
2244
+ threadId: string;
2245
+ type: import("..").EventType.RunFinished;
2246
+ outcome?: {
2247
+ type: import("..").RunFinishedOutcomeType.Success;
2248
+ } | {
2249
+ type: import("..").RunFinishedOutcomeType.Interrupt;
2250
+ interrupts: ({
2251
+ id: string;
2252
+ reason: import("..").InterruptReason.AIDevToolApproval;
2253
+ message?: string;
2254
+ toolCallId?: string;
2255
+ responseSchema?: {
2256
+ [x: string]: any;
2257
+ id?: string | undefined;
2258
+ $ref?: string | undefined;
2259
+ $schema?: import("json-schema").JSONSchema4Version | undefined;
2260
+ title?: string | undefined;
2261
+ description?: string | undefined;
2262
+ default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
2263
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
2264
+ length: number;
2265
+ toString: () => string;
2266
+ toLocaleString: {
2267
+ (): string;
2268
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
2269
+ };
2270
+ pop: () => import("json-schema").JSONSchema4Type;
2271
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
2272
+ concat: {
2273
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
2274
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
2275
+ };
2276
+ join: (separator?: string) => string;
2277
+ reverse: () => import("json-schema").JSONSchema4Type[];
2278
+ shift: () => import("json-schema").JSONSchema4Type;
2279
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
2280
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
2281
+ splice: {
2282
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
2283
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
2284
+ };
2285
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
2286
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
2287
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
2288
+ every: {
2289
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
2290
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
2291
+ };
2292
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
2293
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
2294
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
2295
+ filter: {
2296
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
2297
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
2298
+ };
2299
+ reduce: {
2300
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
2301
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
2302
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
2303
+ };
2304
+ reduceRight: {
2305
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
2306
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
2307
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
2308
+ };
2309
+ find: {
2310
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
2311
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
2312
+ };
2313
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
2314
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
2315
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
2316
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
2317
+ keys: () => ArrayIterator<number>;
2318
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
2319
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
2320
+ flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
2321
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
2322
+ at: (index: number) => import("json-schema").JSONSchema4Type;
2323
+ findLast: {
2324
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
2325
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
2326
+ };
2327
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
2328
+ toReversed: () => import("json-schema").JSONSchema4Type[];
2329
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
2330
+ toSpliced: {
2331
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
2332
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
2333
+ };
2334
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
2335
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
2336
+ readonly [Symbol.unscopables]: {
2337
+ [x: number]: boolean;
2338
+ length?: boolean;
2339
+ toString?: boolean;
2340
+ toLocaleString?: boolean;
2341
+ pop?: boolean;
2342
+ push?: boolean;
2343
+ concat?: boolean;
2344
+ join?: boolean;
2345
+ reverse?: boolean;
2346
+ shift?: boolean;
2347
+ slice?: boolean;
2348
+ sort?: boolean;
2349
+ splice?: boolean;
2350
+ unshift?: boolean;
2351
+ indexOf?: boolean;
2352
+ lastIndexOf?: boolean;
2353
+ every?: boolean;
2354
+ some?: boolean;
2355
+ forEach?: boolean;
2356
+ map?: boolean;
2357
+ filter?: boolean;
2358
+ reduce?: boolean;
2359
+ reduceRight?: boolean;
2360
+ find?: boolean;
2361
+ findIndex?: boolean;
2362
+ fill?: boolean;
2363
+ copyWithin?: boolean;
2364
+ entries?: boolean;
2365
+ keys?: boolean;
2366
+ values?: boolean;
2367
+ includes?: boolean;
2368
+ flatMap?: boolean;
2369
+ flat?: boolean;
2370
+ at?: boolean;
2371
+ findLast?: boolean;
2372
+ findLastIndex?: boolean;
2373
+ toReversed?: boolean;
2374
+ toSorted?: boolean;
2375
+ toSpliced?: boolean;
2376
+ with?: boolean;
2377
+ [Symbol.iterator]?: boolean;
2378
+ readonly [Symbol.unscopables]?: boolean;
2379
+ };
2380
+ };
2381
+ multipleOf?: number | undefined;
2382
+ maximum?: number | undefined;
2383
+ exclusiveMaximum?: boolean | undefined;
2384
+ minimum?: number | undefined;
2385
+ exclusiveMinimum?: boolean | undefined;
2386
+ maxLength?: number | undefined;
2387
+ minLength?: number | undefined;
2388
+ pattern?: string | undefined;
2389
+ additionalItems?: boolean | /*elided*/ any;
2390
+ items?: /*elided*/ any | /*elided*/ any[];
2391
+ maxItems?: number | undefined;
2392
+ minItems?: number | undefined;
2393
+ uniqueItems?: boolean | undefined;
2394
+ maxProperties?: number | undefined;
2395
+ minProperties?: number | undefined;
2396
+ required?: boolean | string[] | undefined;
2397
+ additionalProperties?: boolean | /*elided*/ any;
2398
+ definitions?: {
2399
+ [k: string]: import("json-schema").JSONSchema4;
2400
+ } | undefined;
2401
+ properties?: {
2402
+ [k: string]: import("json-schema").JSONSchema4;
2403
+ } | undefined;
2404
+ patternProperties?: {
2405
+ [k: string]: import("json-schema").JSONSchema4;
2406
+ } | undefined;
2407
+ dependencies?: {
2408
+ [k: string]: import("json-schema").JSONSchema4 | string[];
2409
+ } | undefined;
2410
+ enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
2411
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
2412
+ length: number;
2413
+ toString: () => string;
2414
+ toLocaleString: {
2415
+ (): string;
2416
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
2417
+ };
2418
+ pop: () => import("json-schema").JSONSchema4Type;
2419
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
2420
+ concat: {
2421
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
2422
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
2423
+ };
2424
+ join: (separator?: string) => string;
2425
+ reverse: () => import("json-schema").JSONSchema4Type[];
2426
+ shift: () => import("json-schema").JSONSchema4Type;
2427
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
2428
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
2429
+ splice: {
2430
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
2431
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
2432
+ };
2433
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
2434
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
2435
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
2436
+ every: {
2437
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
2438
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
2439
+ };
2440
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
2441
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
2442
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
2443
+ filter: {
2444
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
2445
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
2446
+ };
2447
+ reduce: {
2448
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
2449
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
2450
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
2451
+ };
2452
+ reduceRight: {
2453
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
2454
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
2455
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
2456
+ };
2457
+ find: {
2458
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
2459
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
2460
+ };
2461
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
2462
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
2463
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
2464
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
2465
+ keys: () => ArrayIterator<number>;
2466
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
2467
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
2468
+ flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
2469
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
2470
+ at: (index: number) => import("json-schema").JSONSchema4Type;
2471
+ findLast: {
2472
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
2473
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
2474
+ };
2475
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
2476
+ toReversed: () => import("json-schema").JSONSchema4Type[];
2477
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
2478
+ toSpliced: {
2479
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
2480
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
2481
+ };
2482
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
2483
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
2484
+ readonly [Symbol.unscopables]: {
2485
+ [x: number]: boolean;
2486
+ length?: boolean;
2487
+ toString?: boolean;
2488
+ toLocaleString?: boolean;
2489
+ pop?: boolean;
2490
+ push?: boolean;
2491
+ concat?: boolean;
2492
+ join?: boolean;
2493
+ reverse?: boolean;
2494
+ shift?: boolean;
2495
+ slice?: boolean;
2496
+ sort?: boolean;
2497
+ splice?: boolean;
2498
+ unshift?: boolean;
2499
+ indexOf?: boolean;
2500
+ lastIndexOf?: boolean;
2501
+ every?: boolean;
2502
+ some?: boolean;
2503
+ forEach?: boolean;
2504
+ map?: boolean;
2505
+ filter?: boolean;
2506
+ reduce?: boolean;
2507
+ reduceRight?: boolean;
2508
+ find?: boolean;
2509
+ findIndex?: boolean;
2510
+ fill?: boolean;
2511
+ copyWithin?: boolean;
2512
+ entries?: boolean;
2513
+ keys?: boolean;
2514
+ values?: boolean;
2515
+ includes?: boolean;
2516
+ flatMap?: boolean;
2517
+ flat?: boolean;
2518
+ at?: boolean;
2519
+ findLast?: boolean;
2520
+ findLastIndex?: boolean;
2521
+ toReversed?: boolean;
2522
+ toSorted?: boolean;
2523
+ toSpliced?: boolean;
2524
+ with?: boolean;
2525
+ [Symbol.iterator]?: boolean;
2526
+ readonly [Symbol.unscopables]?: boolean;
2527
+ };
2528
+ })[];
2529
+ type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
2530
+ allOf?: /*elided*/ any[];
2531
+ anyOf?: /*elided*/ any[];
2532
+ oneOf?: /*elided*/ any[];
2533
+ not?: /*elided*/ any;
2534
+ extends?: string | string[] | undefined;
2535
+ format?: string | undefined;
2536
+ };
2537
+ expiresAt?: string;
2538
+ metadata?: {
2539
+ ticket: {
2540
+ approvers: string[];
2541
+ sn: string;
2542
+ status: import("..").ApprovalInterruptTicketStatus;
2543
+ submit_time: string;
2544
+ title: string;
2545
+ url: string;
2546
+ };
2547
+ };
2548
+ } | {
2549
+ id: string;
2550
+ reason: import("..").InterruptReason.UserQuestion;
2551
+ message?: string;
2552
+ toolCallId?: string;
2553
+ responseSchema?: {
2554
+ [x: string]: any;
2555
+ id?: string | undefined;
2556
+ $ref?: string | undefined;
2557
+ $schema?: import("json-schema").JSONSchema4Version | undefined;
2558
+ title?: string | undefined;
2559
+ description?: string | undefined;
2560
+ default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
2561
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
2562
+ length: number;
2563
+ toString: () => string;
2564
+ toLocaleString: {
2565
+ (): string;
2566
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
2567
+ };
2568
+ pop: () => import("json-schema").JSONSchema4Type;
2569
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
2570
+ concat: {
2571
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
2572
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
2573
+ };
2574
+ join: (separator?: string) => string;
2575
+ reverse: () => import("json-schema").JSONSchema4Type[];
2576
+ shift: () => import("json-schema").JSONSchema4Type;
2577
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
2578
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
2579
+ splice: {
2580
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
2581
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
2582
+ };
2583
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
2584
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
2585
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
2586
+ every: {
2587
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
2588
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
2589
+ };
2590
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
2591
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
2592
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
2593
+ filter: {
2594
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
2595
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
2596
+ };
2597
+ reduce: {
2598
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
2599
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
2600
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
2601
+ };
2602
+ reduceRight: {
2603
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
2604
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
2605
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
2606
+ };
2607
+ find: {
2608
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
2609
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
2610
+ };
2611
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
2612
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
2613
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
2614
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
2615
+ keys: () => ArrayIterator<number>;
2616
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
2617
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
2618
+ flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
2619
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
2620
+ at: (index: number) => import("json-schema").JSONSchema4Type;
2621
+ findLast: {
2622
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
2623
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
2624
+ };
2625
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
2626
+ toReversed: () => import("json-schema").JSONSchema4Type[];
2627
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
2628
+ toSpliced: {
2629
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
2630
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
2631
+ };
2632
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
2633
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
2634
+ readonly [Symbol.unscopables]: {
2635
+ [x: number]: boolean;
2636
+ length?: boolean;
2637
+ toString?: boolean;
2638
+ toLocaleString?: boolean;
2639
+ pop?: boolean;
2640
+ push?: boolean;
2641
+ concat?: boolean;
2642
+ join?: boolean;
2643
+ reverse?: boolean;
2644
+ shift?: boolean;
2645
+ slice?: boolean;
2646
+ sort?: boolean;
2647
+ splice?: boolean;
2648
+ unshift?: boolean;
2649
+ indexOf?: boolean;
2650
+ lastIndexOf?: boolean;
2651
+ every?: boolean;
2652
+ some?: boolean;
2653
+ forEach?: boolean;
2654
+ map?: boolean;
2655
+ filter?: boolean;
2656
+ reduce?: boolean;
2657
+ reduceRight?: boolean;
2658
+ find?: boolean;
2659
+ findIndex?: boolean;
2660
+ fill?: boolean;
2661
+ copyWithin?: boolean;
2662
+ entries?: boolean;
2663
+ keys?: boolean;
2664
+ values?: boolean;
2665
+ includes?: boolean;
2666
+ flatMap?: boolean;
2667
+ flat?: boolean;
2668
+ at?: boolean;
2669
+ findLast?: boolean;
2670
+ findLastIndex?: boolean;
2671
+ toReversed?: boolean;
2672
+ toSorted?: boolean;
2673
+ toSpliced?: boolean;
2674
+ with?: boolean;
2675
+ [Symbol.iterator]?: boolean;
2676
+ readonly [Symbol.unscopables]?: boolean;
2677
+ };
2678
+ };
2679
+ multipleOf?: number | undefined;
2680
+ maximum?: number | undefined;
2681
+ exclusiveMaximum?: boolean | undefined;
2682
+ minimum?: number | undefined;
2683
+ exclusiveMinimum?: boolean | undefined;
2684
+ maxLength?: number | undefined;
2685
+ minLength?: number | undefined;
2686
+ pattern?: string | undefined;
2687
+ additionalItems?: boolean | /*elided*/ any;
2688
+ items?: /*elided*/ any | /*elided*/ any[];
2689
+ maxItems?: number | undefined;
2690
+ minItems?: number | undefined;
2691
+ uniqueItems?: boolean | undefined;
2692
+ maxProperties?: number | undefined;
2693
+ minProperties?: number | undefined;
2694
+ required?: boolean | string[] | undefined;
2695
+ additionalProperties?: boolean | /*elided*/ any;
2696
+ definitions?: {
2697
+ [k: string]: import("json-schema").JSONSchema4;
2698
+ } | undefined;
2699
+ properties?: {
2700
+ [k: string]: import("json-schema").JSONSchema4;
2701
+ } | undefined;
2702
+ patternProperties?: {
2703
+ [k: string]: import("json-schema").JSONSchema4;
2704
+ } | undefined;
2705
+ dependencies?: {
2706
+ [k: string]: import("json-schema").JSONSchema4 | string[];
2707
+ } | undefined;
2708
+ enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
2709
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
2710
+ length: number;
2711
+ toString: () => string;
2712
+ toLocaleString: {
2713
+ (): string;
2714
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
2715
+ };
2716
+ pop: () => import("json-schema").JSONSchema4Type;
2717
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
2718
+ concat: {
2719
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
2720
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
2721
+ };
2722
+ join: (separator?: string) => string;
2723
+ reverse: () => import("json-schema").JSONSchema4Type[];
2724
+ shift: () => import("json-schema").JSONSchema4Type;
2725
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
2726
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
2727
+ splice: {
2728
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
2729
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
2730
+ };
2731
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
2732
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
2733
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
2734
+ every: {
2735
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
2736
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
2737
+ };
2738
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
2739
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
2740
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
2741
+ filter: {
2742
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
2743
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
2744
+ };
2745
+ reduce: {
2746
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
2747
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
2748
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
2749
+ };
2750
+ reduceRight: {
2751
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
2752
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
2753
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
2754
+ };
2755
+ find: {
2756
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
2757
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
2758
+ };
2759
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
2760
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
2761
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
2762
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
2763
+ keys: () => ArrayIterator<number>;
2764
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
2765
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
2766
+ flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
2767
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
2768
+ at: (index: number) => import("json-schema").JSONSchema4Type;
2769
+ findLast: {
2770
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
2771
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
2772
+ };
2773
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
2774
+ toReversed: () => import("json-schema").JSONSchema4Type[];
2775
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
2776
+ toSpliced: {
2777
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
2778
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
2779
+ };
2780
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
2781
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
2782
+ readonly [Symbol.unscopables]: {
2783
+ [x: number]: boolean;
2784
+ length?: boolean;
2785
+ toString?: boolean;
2786
+ toLocaleString?: boolean;
2787
+ pop?: boolean;
2788
+ push?: boolean;
2789
+ concat?: boolean;
2790
+ join?: boolean;
2791
+ reverse?: boolean;
2792
+ shift?: boolean;
2793
+ slice?: boolean;
2794
+ sort?: boolean;
2795
+ splice?: boolean;
2796
+ unshift?: boolean;
2797
+ indexOf?: boolean;
2798
+ lastIndexOf?: boolean;
2799
+ every?: boolean;
2800
+ some?: boolean;
2801
+ forEach?: boolean;
2802
+ map?: boolean;
2803
+ filter?: boolean;
2804
+ reduce?: boolean;
2805
+ reduceRight?: boolean;
2806
+ find?: boolean;
2807
+ findIndex?: boolean;
2808
+ fill?: boolean;
2809
+ copyWithin?: boolean;
2810
+ entries?: boolean;
2811
+ keys?: boolean;
2812
+ values?: boolean;
2813
+ includes?: boolean;
2814
+ flatMap?: boolean;
2815
+ flat?: boolean;
2816
+ at?: boolean;
2817
+ findLast?: boolean;
2818
+ findLastIndex?: boolean;
2819
+ toReversed?: boolean;
2820
+ toSorted?: boolean;
2821
+ toSpliced?: boolean;
2822
+ with?: boolean;
2823
+ [Symbol.iterator]?: boolean;
2824
+ readonly [Symbol.unscopables]?: boolean;
2825
+ };
2826
+ })[];
2827
+ type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
2828
+ allOf?: /*elided*/ any[];
2829
+ anyOf?: /*elided*/ any[];
2830
+ oneOf?: /*elided*/ any[];
2831
+ not?: /*elided*/ any;
2832
+ extends?: string | string[] | undefined;
2833
+ format?: string | undefined;
2834
+ };
2835
+ expiresAt?: string;
2836
+ metadata?: {
2837
+ questions: {
2838
+ header: string;
2839
+ multiSelect?: boolean;
2840
+ options?: {
2841
+ description: string;
2842
+ label: string;
2843
+ }[];
2844
+ question: string;
2845
+ }[];
2846
+ };
2847
+ })[];
2848
+ };
2849
+ timestamp?: number;
2850
+ };
2851
+ role: MessageRole.Interrupt;
2852
+ createdAt?: string;
741
2853
  id?: string;
742
2854
  messageId?: string;
743
2855
  name?: string;
@@ -747,8 +2859,19 @@ export declare const useMessage: (mediator: IMediatorModule) => {
747
2859
  getMessageByMessageId: (id: string) => {
748
2860
  activityType: import("./type").ActivityType;
749
2861
  content: {
2862
+ artifacts: {
2863
+ name: string;
2864
+ outputId: string;
2865
+ size: number;
2866
+ type: string;
2867
+ previewUrl?: string;
2868
+ url?: string;
2869
+ }[];
2870
+ runId: string;
2871
+ status: "complete" | "empty";
2872
+ } | {
750
2873
  nodes: Record<string, import("..").IFlowAgentNode>;
751
- task_id: number;
2874
+ task_id: string;
752
2875
  task_name: string;
753
2876
  task_outputs: string[];
754
2877
  task_state: import("..").FlowTaskState;
@@ -764,7 +2887,33 @@ export declare const useMessage: (mediator: IMediatorModule) => {
764
2887
  originFileUrl?: string;
765
2888
  url: string;
766
2889
  }[];
2890
+ property?: {
2891
+ [x: string]: unknown;
2892
+ artifacts?: {
2893
+ name: string;
2894
+ outputId: string;
2895
+ size: number;
2896
+ type: string;
2897
+ previewUrl?: string;
2898
+ url?: string;
2899
+ }[];
2900
+ extra?: {
2901
+ [x: string]: unknown;
2902
+ cite?: string | {
2903
+ data: {
2904
+ key: string;
2905
+ value: string;
2906
+ }[];
2907
+ title: string;
2908
+ type: string;
2909
+ };
2910
+ command?: string;
2911
+ context?: Array<Record<string, unknown>>;
2912
+ resources?: Array<Record<string, unknown>>;
2913
+ };
2914
+ };
767
2915
  role: MessageRole.Activity;
2916
+ createdAt?: string;
768
2917
  id?: string;
769
2918
  messageId?: string;
770
2919
  name?: string;
@@ -774,6 +2923,14 @@ export declare const useMessage: (mediator: IMediatorModule) => {
774
2923
  content?: string;
775
2924
  property?: {
776
2925
  [x: string]: unknown;
2926
+ artifacts?: {
2927
+ name: string;
2928
+ outputId: string;
2929
+ size: number;
2930
+ type: string;
2931
+ previewUrl?: string;
2932
+ url?: string;
2933
+ }[];
777
2934
  extra?: {
778
2935
  [x: string]: unknown;
779
2936
  cite?: string | {
@@ -800,6 +2957,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
800
2957
  id: string;
801
2958
  type: import("./type").MessageType.Function;
802
2959
  }[];
2960
+ createdAt?: string;
803
2961
  id?: string;
804
2962
  messageId?: string;
805
2963
  name?: string;
@@ -808,6 +2966,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
808
2966
  } | {
809
2967
  content: string;
810
2968
  role: MessageRole.Developer;
2969
+ createdAt?: string;
811
2970
  id?: string;
812
2971
  messageId?: string;
813
2972
  name?: string;
@@ -816,6 +2975,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
816
2975
  } | {
817
2976
  content: string;
818
2977
  role: MessageRole.Guide;
2978
+ createdAt?: string;
819
2979
  id?: string;
820
2980
  messageId?: string;
821
2981
  name?: string;
@@ -824,6 +2984,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
824
2984
  } | {
825
2985
  content: string;
826
2986
  role: MessageRole.HiddenAssistant;
2987
+ createdAt?: string;
827
2988
  id?: string;
828
2989
  messageId?: string;
829
2990
  name?: string;
@@ -832,6 +2993,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
832
2993
  } | {
833
2994
  content: string;
834
2995
  role: MessageRole.HiddenGuide;
2996
+ createdAt?: string;
835
2997
  id?: string;
836
2998
  messageId?: string;
837
2999
  name?: string;
@@ -840,6 +3002,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
840
3002
  } | {
841
3003
  content: string;
842
3004
  role: MessageRole.Hidden;
3005
+ createdAt?: string;
843
3006
  id?: string;
844
3007
  messageId?: string;
845
3008
  name?: string;
@@ -848,6 +3011,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
848
3011
  } | {
849
3012
  content: string;
850
3013
  role: MessageRole.HiddenSystem;
3014
+ createdAt?: string;
851
3015
  id?: string;
852
3016
  messageId?: string;
853
3017
  name?: string;
@@ -856,6 +3020,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
856
3020
  } | {
857
3021
  content: string;
858
3022
  role: MessageRole.HiddenUser;
3023
+ createdAt?: string;
859
3024
  id?: string;
860
3025
  messageId?: string;
861
3026
  name?: string;
@@ -864,6 +3029,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
864
3029
  } | {
865
3030
  content: string;
866
3031
  role: MessageRole.Info;
3032
+ createdAt?: string;
867
3033
  id?: string;
868
3034
  messageId?: string;
869
3035
  name?: string;
@@ -872,6 +3038,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
872
3038
  } | {
873
3039
  content: string;
874
3040
  role: MessageRole.Pause;
3041
+ createdAt?: string;
875
3042
  id?: string;
876
3043
  messageId?: string;
877
3044
  name?: string;
@@ -880,6 +3047,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
880
3047
  } | {
881
3048
  content: string;
882
3049
  role: MessageRole.Placeholder;
3050
+ createdAt?: string;
883
3051
  id?: string;
884
3052
  messageId?: string;
885
3053
  name?: string;
@@ -889,6 +3057,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
889
3057
  content: string[];
890
3058
  duration?: number;
891
3059
  role: MessageRole.Reasoning;
3060
+ createdAt?: string;
892
3061
  id?: string;
893
3062
  messageId?: string;
894
3063
  name?: string;
@@ -897,6 +3066,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
897
3066
  } | {
898
3067
  content: string;
899
3068
  role: MessageRole.System;
3069
+ createdAt?: string;
900
3070
  id?: string;
901
3071
  messageId?: string;
902
3072
  name?: string;
@@ -905,6 +3075,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
905
3075
  } | {
906
3076
  content: string;
907
3077
  role: MessageRole.TemplateAssistant;
3078
+ createdAt?: string;
908
3079
  id?: string;
909
3080
  messageId?: string;
910
3081
  name?: string;
@@ -913,6 +3084,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
913
3084
  } | {
914
3085
  content: string;
915
3086
  role: MessageRole.TemplateGuide;
3087
+ createdAt?: string;
916
3088
  id?: string;
917
3089
  messageId?: string;
918
3090
  name?: string;
@@ -921,6 +3093,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
921
3093
  } | {
922
3094
  content: string;
923
3095
  role: MessageRole.TemplateHidden;
3096
+ createdAt?: string;
924
3097
  id?: string;
925
3098
  messageId?: string;
926
3099
  name?: string;
@@ -929,6 +3102,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
929
3102
  } | {
930
3103
  content: string;
931
3104
  role: MessageRole.TemplateSystem;
3105
+ createdAt?: string;
932
3106
  id?: string;
933
3107
  messageId?: string;
934
3108
  name?: string;
@@ -937,6 +3111,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
937
3111
  } | {
938
3112
  content: string;
939
3113
  role: MessageRole.TemplateUser;
3114
+ createdAt?: string;
940
3115
  id?: string;
941
3116
  messageId?: string;
942
3117
  name?: string;
@@ -948,6 +3123,7 @@ export declare const useMessage: (mediator: IMediatorModule) => {
948
3123
  error?: string;
949
3124
  role: MessageRole.Tool;
950
3125
  toolCallId: string;
3126
+ createdAt?: string;
951
3127
  id?: string;
952
3128
  messageId?: string;
953
3129
  name?: string;
@@ -967,6 +3143,14 @@ export declare const useMessage: (mediator: IMediatorModule) => {
967
3143
  })[];
968
3144
  property?: {
969
3145
  [x: string]: unknown;
3146
+ artifacts?: {
3147
+ name: string;
3148
+ outputId: string;
3149
+ size: number;
3150
+ type: string;
3151
+ previewUrl?: string;
3152
+ url?: string;
3153
+ }[];
970
3154
  extra?: {
971
3155
  [x: string]: unknown;
972
3156
  cite?: string | {
@@ -983,6 +3167,638 @@ export declare const useMessage: (mediator: IMediatorModule) => {
983
3167
  };
984
3168
  };
985
3169
  role: MessageRole.User;
3170
+ createdAt?: string;
3171
+ id?: string;
3172
+ messageId?: string;
3173
+ name?: string;
3174
+ sessionCode?: string;
3175
+ status: MessageStatus;
3176
+ } | {
3177
+ content: {
3178
+ result?: {
3179
+ interruptId: string;
3180
+ status: import("..").ResumeStatus;
3181
+ payload?: {
3182
+ answers: {
3183
+ answer: {
3184
+ description: string;
3185
+ label: string;
3186
+ }[];
3187
+ multiSelect?: boolean;
3188
+ question: string;
3189
+ }[];
3190
+ };
3191
+ };
3192
+ runId: number;
3193
+ threadId: string;
3194
+ type: import("..").EventType.RunFinished;
3195
+ outcome?: {
3196
+ type: import("..").RunFinishedOutcomeType.Success;
3197
+ } | {
3198
+ type: import("..").RunFinishedOutcomeType.Interrupt;
3199
+ interrupts: ({
3200
+ id: string;
3201
+ reason: import("..").InterruptReason.AIDevToolApproval;
3202
+ message?: string;
3203
+ toolCallId?: string;
3204
+ responseSchema?: {
3205
+ [x: string]: any;
3206
+ id?: string | undefined;
3207
+ $ref?: string | undefined;
3208
+ $schema?: import("json-schema").JSONSchema4Version | undefined;
3209
+ title?: string | undefined;
3210
+ description?: string | undefined;
3211
+ default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
3212
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
3213
+ length: number;
3214
+ toString: () => string;
3215
+ toLocaleString: {
3216
+ (): string;
3217
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
3218
+ };
3219
+ pop: () => import("json-schema").JSONSchema4Type;
3220
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
3221
+ concat: {
3222
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
3223
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
3224
+ };
3225
+ join: (separator?: string) => string;
3226
+ reverse: () => import("json-schema").JSONSchema4Type[];
3227
+ shift: () => import("json-schema").JSONSchema4Type;
3228
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
3229
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
3230
+ splice: {
3231
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
3232
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
3233
+ };
3234
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
3235
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
3236
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
3237
+ every: {
3238
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
3239
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
3240
+ };
3241
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
3242
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
3243
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
3244
+ filter: {
3245
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
3246
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
3247
+ };
3248
+ reduce: {
3249
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
3250
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
3251
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
3252
+ };
3253
+ reduceRight: {
3254
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
3255
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
3256
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
3257
+ };
3258
+ find: {
3259
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
3260
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
3261
+ };
3262
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
3263
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
3264
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
3265
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
3266
+ keys: () => ArrayIterator<number>;
3267
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
3268
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
3269
+ flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
3270
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
3271
+ at: (index: number) => import("json-schema").JSONSchema4Type;
3272
+ findLast: {
3273
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
3274
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
3275
+ };
3276
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
3277
+ toReversed: () => import("json-schema").JSONSchema4Type[];
3278
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
3279
+ toSpliced: {
3280
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
3281
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
3282
+ };
3283
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
3284
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
3285
+ readonly [Symbol.unscopables]: {
3286
+ [x: number]: boolean;
3287
+ length?: boolean;
3288
+ toString?: boolean;
3289
+ toLocaleString?: boolean;
3290
+ pop?: boolean;
3291
+ push?: boolean;
3292
+ concat?: boolean;
3293
+ join?: boolean;
3294
+ reverse?: boolean;
3295
+ shift?: boolean;
3296
+ slice?: boolean;
3297
+ sort?: boolean;
3298
+ splice?: boolean;
3299
+ unshift?: boolean;
3300
+ indexOf?: boolean;
3301
+ lastIndexOf?: boolean;
3302
+ every?: boolean;
3303
+ some?: boolean;
3304
+ forEach?: boolean;
3305
+ map?: boolean;
3306
+ filter?: boolean;
3307
+ reduce?: boolean;
3308
+ reduceRight?: boolean;
3309
+ find?: boolean;
3310
+ findIndex?: boolean;
3311
+ fill?: boolean;
3312
+ copyWithin?: boolean;
3313
+ entries?: boolean;
3314
+ keys?: boolean;
3315
+ values?: boolean;
3316
+ includes?: boolean;
3317
+ flatMap?: boolean;
3318
+ flat?: boolean;
3319
+ at?: boolean;
3320
+ findLast?: boolean;
3321
+ findLastIndex?: boolean;
3322
+ toReversed?: boolean;
3323
+ toSorted?: boolean;
3324
+ toSpliced?: boolean;
3325
+ with?: boolean;
3326
+ [Symbol.iterator]?: boolean;
3327
+ readonly [Symbol.unscopables]?: boolean;
3328
+ };
3329
+ };
3330
+ multipleOf?: number | undefined;
3331
+ maximum?: number | undefined;
3332
+ exclusiveMaximum?: boolean | undefined;
3333
+ minimum?: number | undefined;
3334
+ exclusiveMinimum?: boolean | undefined;
3335
+ maxLength?: number | undefined;
3336
+ minLength?: number | undefined;
3337
+ pattern?: string | undefined;
3338
+ additionalItems?: boolean | /*elided*/ any;
3339
+ items?: /*elided*/ any | /*elided*/ any[];
3340
+ maxItems?: number | undefined;
3341
+ minItems?: number | undefined;
3342
+ uniqueItems?: boolean | undefined;
3343
+ maxProperties?: number | undefined;
3344
+ minProperties?: number | undefined;
3345
+ required?: boolean | string[] | undefined;
3346
+ additionalProperties?: boolean | /*elided*/ any;
3347
+ definitions?: {
3348
+ [k: string]: import("json-schema").JSONSchema4;
3349
+ } | undefined;
3350
+ properties?: {
3351
+ [k: string]: import("json-schema").JSONSchema4;
3352
+ } | undefined;
3353
+ patternProperties?: {
3354
+ [k: string]: import("json-schema").JSONSchema4;
3355
+ } | undefined;
3356
+ dependencies?: {
3357
+ [k: string]: import("json-schema").JSONSchema4 | string[];
3358
+ } | undefined;
3359
+ enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
3360
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
3361
+ length: number;
3362
+ toString: () => string;
3363
+ toLocaleString: {
3364
+ (): string;
3365
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
3366
+ };
3367
+ pop: () => import("json-schema").JSONSchema4Type;
3368
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
3369
+ concat: {
3370
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
3371
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
3372
+ };
3373
+ join: (separator?: string) => string;
3374
+ reverse: () => import("json-schema").JSONSchema4Type[];
3375
+ shift: () => import("json-schema").JSONSchema4Type;
3376
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
3377
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
3378
+ splice: {
3379
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
3380
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
3381
+ };
3382
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
3383
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
3384
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
3385
+ every: {
3386
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
3387
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
3388
+ };
3389
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
3390
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
3391
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
3392
+ filter: {
3393
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
3394
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
3395
+ };
3396
+ reduce: {
3397
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
3398
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
3399
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
3400
+ };
3401
+ reduceRight: {
3402
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
3403
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
3404
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
3405
+ };
3406
+ find: {
3407
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
3408
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
3409
+ };
3410
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
3411
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
3412
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
3413
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
3414
+ keys: () => ArrayIterator<number>;
3415
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
3416
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
3417
+ flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
3418
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
3419
+ at: (index: number) => import("json-schema").JSONSchema4Type;
3420
+ findLast: {
3421
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
3422
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
3423
+ };
3424
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
3425
+ toReversed: () => import("json-schema").JSONSchema4Type[];
3426
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
3427
+ toSpliced: {
3428
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
3429
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
3430
+ };
3431
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
3432
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
3433
+ readonly [Symbol.unscopables]: {
3434
+ [x: number]: boolean;
3435
+ length?: boolean;
3436
+ toString?: boolean;
3437
+ toLocaleString?: boolean;
3438
+ pop?: boolean;
3439
+ push?: boolean;
3440
+ concat?: boolean;
3441
+ join?: boolean;
3442
+ reverse?: boolean;
3443
+ shift?: boolean;
3444
+ slice?: boolean;
3445
+ sort?: boolean;
3446
+ splice?: boolean;
3447
+ unshift?: boolean;
3448
+ indexOf?: boolean;
3449
+ lastIndexOf?: boolean;
3450
+ every?: boolean;
3451
+ some?: boolean;
3452
+ forEach?: boolean;
3453
+ map?: boolean;
3454
+ filter?: boolean;
3455
+ reduce?: boolean;
3456
+ reduceRight?: boolean;
3457
+ find?: boolean;
3458
+ findIndex?: boolean;
3459
+ fill?: boolean;
3460
+ copyWithin?: boolean;
3461
+ entries?: boolean;
3462
+ keys?: boolean;
3463
+ values?: boolean;
3464
+ includes?: boolean;
3465
+ flatMap?: boolean;
3466
+ flat?: boolean;
3467
+ at?: boolean;
3468
+ findLast?: boolean;
3469
+ findLastIndex?: boolean;
3470
+ toReversed?: boolean;
3471
+ toSorted?: boolean;
3472
+ toSpliced?: boolean;
3473
+ with?: boolean;
3474
+ [Symbol.iterator]?: boolean;
3475
+ readonly [Symbol.unscopables]?: boolean;
3476
+ };
3477
+ })[];
3478
+ type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
3479
+ allOf?: /*elided*/ any[];
3480
+ anyOf?: /*elided*/ any[];
3481
+ oneOf?: /*elided*/ any[];
3482
+ not?: /*elided*/ any;
3483
+ extends?: string | string[] | undefined;
3484
+ format?: string | undefined;
3485
+ };
3486
+ expiresAt?: string;
3487
+ metadata?: {
3488
+ ticket: {
3489
+ approvers: string[];
3490
+ sn: string;
3491
+ status: import("..").ApprovalInterruptTicketStatus;
3492
+ submit_time: string;
3493
+ title: string;
3494
+ url: string;
3495
+ };
3496
+ };
3497
+ } | {
3498
+ id: string;
3499
+ reason: import("..").InterruptReason.UserQuestion;
3500
+ message?: string;
3501
+ toolCallId?: string;
3502
+ responseSchema?: {
3503
+ [x: string]: any;
3504
+ id?: string | undefined;
3505
+ $ref?: string | undefined;
3506
+ $schema?: import("json-schema").JSONSchema4Version | undefined;
3507
+ title?: string | undefined;
3508
+ description?: string | undefined;
3509
+ default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
3510
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
3511
+ length: number;
3512
+ toString: () => string;
3513
+ toLocaleString: {
3514
+ (): string;
3515
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
3516
+ };
3517
+ pop: () => import("json-schema").JSONSchema4Type;
3518
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
3519
+ concat: {
3520
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
3521
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
3522
+ };
3523
+ join: (separator?: string) => string;
3524
+ reverse: () => import("json-schema").JSONSchema4Type[];
3525
+ shift: () => import("json-schema").JSONSchema4Type;
3526
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
3527
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
3528
+ splice: {
3529
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
3530
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
3531
+ };
3532
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
3533
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
3534
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
3535
+ every: {
3536
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
3537
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
3538
+ };
3539
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
3540
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
3541
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
3542
+ filter: {
3543
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
3544
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
3545
+ };
3546
+ reduce: {
3547
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
3548
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
3549
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
3550
+ };
3551
+ reduceRight: {
3552
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
3553
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
3554
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
3555
+ };
3556
+ find: {
3557
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
3558
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
3559
+ };
3560
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
3561
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
3562
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
3563
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
3564
+ keys: () => ArrayIterator<number>;
3565
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
3566
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
3567
+ flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
3568
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
3569
+ at: (index: number) => import("json-schema").JSONSchema4Type;
3570
+ findLast: {
3571
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
3572
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
3573
+ };
3574
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
3575
+ toReversed: () => import("json-schema").JSONSchema4Type[];
3576
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
3577
+ toSpliced: {
3578
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
3579
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
3580
+ };
3581
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
3582
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
3583
+ readonly [Symbol.unscopables]: {
3584
+ [x: number]: boolean;
3585
+ length?: boolean;
3586
+ toString?: boolean;
3587
+ toLocaleString?: boolean;
3588
+ pop?: boolean;
3589
+ push?: boolean;
3590
+ concat?: boolean;
3591
+ join?: boolean;
3592
+ reverse?: boolean;
3593
+ shift?: boolean;
3594
+ slice?: boolean;
3595
+ sort?: boolean;
3596
+ splice?: boolean;
3597
+ unshift?: boolean;
3598
+ indexOf?: boolean;
3599
+ lastIndexOf?: boolean;
3600
+ every?: boolean;
3601
+ some?: boolean;
3602
+ forEach?: boolean;
3603
+ map?: boolean;
3604
+ filter?: boolean;
3605
+ reduce?: boolean;
3606
+ reduceRight?: boolean;
3607
+ find?: boolean;
3608
+ findIndex?: boolean;
3609
+ fill?: boolean;
3610
+ copyWithin?: boolean;
3611
+ entries?: boolean;
3612
+ keys?: boolean;
3613
+ values?: boolean;
3614
+ includes?: boolean;
3615
+ flatMap?: boolean;
3616
+ flat?: boolean;
3617
+ at?: boolean;
3618
+ findLast?: boolean;
3619
+ findLastIndex?: boolean;
3620
+ toReversed?: boolean;
3621
+ toSorted?: boolean;
3622
+ toSpliced?: boolean;
3623
+ with?: boolean;
3624
+ [Symbol.iterator]?: boolean;
3625
+ readonly [Symbol.unscopables]?: boolean;
3626
+ };
3627
+ };
3628
+ multipleOf?: number | undefined;
3629
+ maximum?: number | undefined;
3630
+ exclusiveMaximum?: boolean | undefined;
3631
+ minimum?: number | undefined;
3632
+ exclusiveMinimum?: boolean | undefined;
3633
+ maxLength?: number | undefined;
3634
+ minLength?: number | undefined;
3635
+ pattern?: string | undefined;
3636
+ additionalItems?: boolean | /*elided*/ any;
3637
+ items?: /*elided*/ any | /*elided*/ any[];
3638
+ maxItems?: number | undefined;
3639
+ minItems?: number | undefined;
3640
+ uniqueItems?: boolean | undefined;
3641
+ maxProperties?: number | undefined;
3642
+ minProperties?: number | undefined;
3643
+ required?: boolean | string[] | undefined;
3644
+ additionalProperties?: boolean | /*elided*/ any;
3645
+ definitions?: {
3646
+ [k: string]: import("json-schema").JSONSchema4;
3647
+ } | undefined;
3648
+ properties?: {
3649
+ [k: string]: import("json-schema").JSONSchema4;
3650
+ } | undefined;
3651
+ patternProperties?: {
3652
+ [k: string]: import("json-schema").JSONSchema4;
3653
+ } | undefined;
3654
+ dependencies?: {
3655
+ [k: string]: import("json-schema").JSONSchema4 | string[];
3656
+ } | undefined;
3657
+ enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
3658
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
3659
+ length: number;
3660
+ toString: () => string;
3661
+ toLocaleString: {
3662
+ (): string;
3663
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
3664
+ };
3665
+ pop: () => import("json-schema").JSONSchema4Type;
3666
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
3667
+ concat: {
3668
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
3669
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
3670
+ };
3671
+ join: (separator?: string) => string;
3672
+ reverse: () => import("json-schema").JSONSchema4Type[];
3673
+ shift: () => import("json-schema").JSONSchema4Type;
3674
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
3675
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
3676
+ splice: {
3677
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
3678
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
3679
+ };
3680
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
3681
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
3682
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
3683
+ every: {
3684
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
3685
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
3686
+ };
3687
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
3688
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
3689
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
3690
+ filter: {
3691
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
3692
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
3693
+ };
3694
+ reduce: {
3695
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
3696
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
3697
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
3698
+ };
3699
+ reduceRight: {
3700
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
3701
+ (callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
3702
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
3703
+ };
3704
+ find: {
3705
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
3706
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
3707
+ };
3708
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
3709
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
3710
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
3711
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
3712
+ keys: () => ArrayIterator<number>;
3713
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
3714
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
3715
+ flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
3716
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
3717
+ at: (index: number) => import("json-schema").JSONSchema4Type;
3718
+ findLast: {
3719
+ <S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
3720
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
3721
+ };
3722
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
3723
+ toReversed: () => import("json-schema").JSONSchema4Type[];
3724
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
3725
+ toSpliced: {
3726
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
3727
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
3728
+ };
3729
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
3730
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
3731
+ readonly [Symbol.unscopables]: {
3732
+ [x: number]: boolean;
3733
+ length?: boolean;
3734
+ toString?: boolean;
3735
+ toLocaleString?: boolean;
3736
+ pop?: boolean;
3737
+ push?: boolean;
3738
+ concat?: boolean;
3739
+ join?: boolean;
3740
+ reverse?: boolean;
3741
+ shift?: boolean;
3742
+ slice?: boolean;
3743
+ sort?: boolean;
3744
+ splice?: boolean;
3745
+ unshift?: boolean;
3746
+ indexOf?: boolean;
3747
+ lastIndexOf?: boolean;
3748
+ every?: boolean;
3749
+ some?: boolean;
3750
+ forEach?: boolean;
3751
+ map?: boolean;
3752
+ filter?: boolean;
3753
+ reduce?: boolean;
3754
+ reduceRight?: boolean;
3755
+ find?: boolean;
3756
+ findIndex?: boolean;
3757
+ fill?: boolean;
3758
+ copyWithin?: boolean;
3759
+ entries?: boolean;
3760
+ keys?: boolean;
3761
+ values?: boolean;
3762
+ includes?: boolean;
3763
+ flatMap?: boolean;
3764
+ flat?: boolean;
3765
+ at?: boolean;
3766
+ findLast?: boolean;
3767
+ findLastIndex?: boolean;
3768
+ toReversed?: boolean;
3769
+ toSorted?: boolean;
3770
+ toSpliced?: boolean;
3771
+ with?: boolean;
3772
+ [Symbol.iterator]?: boolean;
3773
+ readonly [Symbol.unscopables]?: boolean;
3774
+ };
3775
+ })[];
3776
+ type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
3777
+ allOf?: /*elided*/ any[];
3778
+ anyOf?: /*elided*/ any[];
3779
+ oneOf?: /*elided*/ any[];
3780
+ not?: /*elided*/ any;
3781
+ extends?: string | string[] | undefined;
3782
+ format?: string | undefined;
3783
+ };
3784
+ expiresAt?: string;
3785
+ metadata?: {
3786
+ questions: {
3787
+ header: string;
3788
+ multiSelect?: boolean;
3789
+ options?: {
3790
+ description: string;
3791
+ label: string;
3792
+ }[];
3793
+ question: string;
3794
+ }[];
3795
+ };
3796
+ })[];
3797
+ };
3798
+ timestamp?: number;
3799
+ };
3800
+ role: MessageRole.Interrupt;
3801
+ createdAt?: string;
986
3802
  id?: string;
987
3803
  messageId?: string;
988
3804
  name?: string;