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

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,6 +37,31 @@ 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;
30
66
  id?: string;
31
67
  messageId?: string;
@@ -36,6 +72,14 @@ export declare const useMessage: (mediator: IMediatorModule) => {
36
72
  content?: string;
37
73
  property?: {
38
74
  [x: string]: unknown;
75
+ artifacts?: {
76
+ name: string;
77
+ outputId: string;
78
+ size: number;
79
+ type: string;
80
+ previewUrl?: string;
81
+ url?: string;
82
+ }[];
39
83
  extra?: {
40
84
  [x: string]: unknown;
41
85
  cite?: string | {
@@ -229,6 +273,14 @@ export declare const useMessage: (mediator: IMediatorModule) => {
229
273
  })[];
230
274
  property?: {
231
275
  [x: string]: unknown;
276
+ artifacts?: {
277
+ name: string;
278
+ outputId: string;
279
+ size: number;
280
+ type: string;
281
+ previewUrl?: string;
282
+ url?: string;
283
+ }[];
232
284
  extra?: {
233
285
  [x: string]: unknown;
234
286
  cite?: string | {
@@ -250,11 +302,652 @@ export declare const useMessage: (mediator: IMediatorModule) => {
250
302
  name?: string;
251
303
  sessionCode?: string;
252
304
  status: MessageStatus;
305
+ } | {
306
+ content: {
307
+ result?: {
308
+ interruptId: string;
309
+ status: import("..").ResumeStatus;
310
+ payload?: {
311
+ answers: {
312
+ answer: {
313
+ description: string;
314
+ label: string;
315
+ }[];
316
+ multiSelect?: boolean;
317
+ question: string;
318
+ }[];
319
+ };
320
+ };
321
+ runId: number;
322
+ threadId: string;
323
+ type: import("..").EventType.RunFinished;
324
+ outcome?: {
325
+ type: import("..").RunFinishedOutcomeType.Success;
326
+ } | {
327
+ type: import("..").RunFinishedOutcomeType.Interrupt;
328
+ interrupts: ({
329
+ id: string;
330
+ reason: import("..").InterruptReason.AIDevToolApproval;
331
+ message?: string;
332
+ toolCallId?: string;
333
+ responseSchema?: {
334
+ [x: string]: any;
335
+ id?: string | undefined;
336
+ $ref?: string | undefined;
337
+ $schema?: import("json-schema").JSONSchema4Version | undefined;
338
+ title?: string | undefined;
339
+ description?: string | undefined;
340
+ default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
341
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
342
+ length: number;
343
+ toString: () => string;
344
+ toLocaleString: {
345
+ (): string;
346
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
347
+ };
348
+ pop: () => import("json-schema").JSONSchema4Type;
349
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
350
+ concat: {
351
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
352
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
353
+ };
354
+ join: (separator?: string) => string;
355
+ reverse: () => import("json-schema").JSONSchema4Type[];
356
+ shift: () => import("json-schema").JSONSchema4Type;
357
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
358
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
359
+ splice: {
360
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
361
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
362
+ };
363
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
364
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
365
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
366
+ every: {
367
+ <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[];
368
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
369
+ };
370
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
371
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
372
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
373
+ filter: {
374
+ <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[];
375
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
376
+ };
377
+ reduce: {
378
+ (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;
379
+ (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;
380
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
381
+ };
382
+ reduceRight: {
383
+ (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;
384
+ (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;
385
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
386
+ };
387
+ find: {
388
+ <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;
389
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
390
+ };
391
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
392
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
393
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
394
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
395
+ keys: () => ArrayIterator<number>;
396
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
397
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
398
+ 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[];
399
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
400
+ at: (index: number) => import("json-schema").JSONSchema4Type;
401
+ findLast: {
402
+ <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;
403
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
404
+ };
405
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
406
+ toReversed: () => import("json-schema").JSONSchema4Type[];
407
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
408
+ toSpliced: {
409
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
410
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
411
+ };
412
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
413
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
414
+ readonly [Symbol.unscopables]: {
415
+ [x: number]: boolean;
416
+ length?: boolean;
417
+ toString?: boolean;
418
+ toLocaleString?: boolean;
419
+ pop?: boolean;
420
+ push?: boolean;
421
+ concat?: boolean;
422
+ join?: boolean;
423
+ reverse?: boolean;
424
+ shift?: boolean;
425
+ slice?: boolean;
426
+ sort?: boolean;
427
+ splice?: boolean;
428
+ unshift?: boolean;
429
+ indexOf?: boolean;
430
+ lastIndexOf?: boolean;
431
+ every?: boolean;
432
+ some?: boolean;
433
+ forEach?: boolean;
434
+ map?: boolean;
435
+ filter?: boolean;
436
+ reduce?: boolean;
437
+ reduceRight?: boolean;
438
+ find?: boolean;
439
+ findIndex?: boolean;
440
+ fill?: boolean;
441
+ copyWithin?: boolean;
442
+ entries?: boolean;
443
+ keys?: boolean;
444
+ values?: boolean;
445
+ includes?: boolean;
446
+ flatMap?: boolean;
447
+ flat?: boolean;
448
+ at?: boolean;
449
+ findLast?: boolean;
450
+ findLastIndex?: boolean;
451
+ toReversed?: boolean;
452
+ toSorted?: boolean;
453
+ toSpliced?: boolean;
454
+ with?: boolean;
455
+ [Symbol.iterator]?: boolean;
456
+ readonly [Symbol.unscopables]?: boolean;
457
+ };
458
+ };
459
+ multipleOf?: number | undefined;
460
+ maximum?: number | undefined;
461
+ exclusiveMaximum?: boolean | undefined;
462
+ minimum?: number | undefined;
463
+ exclusiveMinimum?: boolean | undefined;
464
+ maxLength?: number | undefined;
465
+ minLength?: number | undefined;
466
+ pattern?: string | undefined;
467
+ additionalItems?: boolean | /*elided*/ any;
468
+ items?: /*elided*/ any | /*elided*/ any[];
469
+ maxItems?: number | undefined;
470
+ minItems?: number | undefined;
471
+ uniqueItems?: boolean | undefined;
472
+ maxProperties?: number | undefined;
473
+ minProperties?: number | undefined;
474
+ required?: boolean | string[] | undefined;
475
+ additionalProperties?: boolean | /*elided*/ any;
476
+ definitions?: {
477
+ [k: string]: import("json-schema").JSONSchema4;
478
+ } | undefined;
479
+ properties?: {
480
+ [k: string]: import("json-schema").JSONSchema4;
481
+ } | undefined;
482
+ patternProperties?: {
483
+ [k: string]: import("json-schema").JSONSchema4;
484
+ } | undefined;
485
+ dependencies?: {
486
+ [k: string]: import("json-schema").JSONSchema4 | string[];
487
+ } | undefined;
488
+ enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
489
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
490
+ length: number;
491
+ toString: () => string;
492
+ toLocaleString: {
493
+ (): string;
494
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
495
+ };
496
+ pop: () => import("json-schema").JSONSchema4Type;
497
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
498
+ concat: {
499
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
500
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
501
+ };
502
+ join: (separator?: string) => string;
503
+ reverse: () => import("json-schema").JSONSchema4Type[];
504
+ shift: () => import("json-schema").JSONSchema4Type;
505
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
506
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
507
+ splice: {
508
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
509
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
510
+ };
511
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
512
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
513
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
514
+ every: {
515
+ <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[];
516
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
517
+ };
518
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
519
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
520
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
521
+ filter: {
522
+ <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[];
523
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
524
+ };
525
+ reduce: {
526
+ (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;
527
+ (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;
528
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
529
+ };
530
+ reduceRight: {
531
+ (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;
532
+ (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;
533
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
534
+ };
535
+ find: {
536
+ <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;
537
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
538
+ };
539
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
540
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
541
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
542
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
543
+ keys: () => ArrayIterator<number>;
544
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
545
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
546
+ 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[];
547
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
548
+ at: (index: number) => import("json-schema").JSONSchema4Type;
549
+ findLast: {
550
+ <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;
551
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
552
+ };
553
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
554
+ toReversed: () => import("json-schema").JSONSchema4Type[];
555
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
556
+ toSpliced: {
557
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
558
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
559
+ };
560
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
561
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
562
+ readonly [Symbol.unscopables]: {
563
+ [x: number]: boolean;
564
+ length?: boolean;
565
+ toString?: boolean;
566
+ toLocaleString?: boolean;
567
+ pop?: boolean;
568
+ push?: boolean;
569
+ concat?: boolean;
570
+ join?: boolean;
571
+ reverse?: boolean;
572
+ shift?: boolean;
573
+ slice?: boolean;
574
+ sort?: boolean;
575
+ splice?: boolean;
576
+ unshift?: boolean;
577
+ indexOf?: boolean;
578
+ lastIndexOf?: boolean;
579
+ every?: boolean;
580
+ some?: boolean;
581
+ forEach?: boolean;
582
+ map?: boolean;
583
+ filter?: boolean;
584
+ reduce?: boolean;
585
+ reduceRight?: boolean;
586
+ find?: boolean;
587
+ findIndex?: boolean;
588
+ fill?: boolean;
589
+ copyWithin?: boolean;
590
+ entries?: boolean;
591
+ keys?: boolean;
592
+ values?: boolean;
593
+ includes?: boolean;
594
+ flatMap?: boolean;
595
+ flat?: boolean;
596
+ at?: boolean;
597
+ findLast?: boolean;
598
+ findLastIndex?: boolean;
599
+ toReversed?: boolean;
600
+ toSorted?: boolean;
601
+ toSpliced?: boolean;
602
+ with?: boolean;
603
+ [Symbol.iterator]?: boolean;
604
+ readonly [Symbol.unscopables]?: boolean;
605
+ };
606
+ })[];
607
+ type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
608
+ allOf?: /*elided*/ any[];
609
+ anyOf?: /*elided*/ any[];
610
+ oneOf?: /*elided*/ any[];
611
+ not?: /*elided*/ any;
612
+ extends?: string | string[] | undefined;
613
+ format?: string | undefined;
614
+ };
615
+ expiresAt?: string;
616
+ metadata?: {
617
+ ticket: {
618
+ approvers: string[];
619
+ sn: string;
620
+ status: import("..").ApprovalInterruptTicketStatus;
621
+ submit_time: string;
622
+ title: string;
623
+ url: string;
624
+ };
625
+ };
626
+ } | {
627
+ id: string;
628
+ reason: import("..").InterruptReason.UserQuestion;
629
+ message?: string;
630
+ toolCallId?: string;
631
+ responseSchema?: {
632
+ [x: string]: any;
633
+ id?: string | undefined;
634
+ $ref?: string | undefined;
635
+ $schema?: import("json-schema").JSONSchema4Version | undefined;
636
+ title?: string | undefined;
637
+ description?: string | undefined;
638
+ default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
639
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
640
+ length: number;
641
+ toString: () => string;
642
+ toLocaleString: {
643
+ (): string;
644
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
645
+ };
646
+ pop: () => import("json-schema").JSONSchema4Type;
647
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
648
+ concat: {
649
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
650
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
651
+ };
652
+ join: (separator?: string) => string;
653
+ reverse: () => import("json-schema").JSONSchema4Type[];
654
+ shift: () => import("json-schema").JSONSchema4Type;
655
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
656
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
657
+ splice: {
658
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
659
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
660
+ };
661
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
662
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
663
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
664
+ every: {
665
+ <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[];
666
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
667
+ };
668
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
669
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
670
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
671
+ filter: {
672
+ <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[];
673
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
674
+ };
675
+ reduce: {
676
+ (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;
677
+ (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;
678
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
679
+ };
680
+ reduceRight: {
681
+ (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;
682
+ (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;
683
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
684
+ };
685
+ find: {
686
+ <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;
687
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
688
+ };
689
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
690
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
691
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
692
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
693
+ keys: () => ArrayIterator<number>;
694
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
695
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
696
+ 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[];
697
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
698
+ at: (index: number) => import("json-schema").JSONSchema4Type;
699
+ findLast: {
700
+ <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;
701
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
702
+ };
703
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
704
+ toReversed: () => import("json-schema").JSONSchema4Type[];
705
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
706
+ toSpliced: {
707
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
708
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
709
+ };
710
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
711
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
712
+ readonly [Symbol.unscopables]: {
713
+ [x: number]: boolean;
714
+ length?: boolean;
715
+ toString?: boolean;
716
+ toLocaleString?: boolean;
717
+ pop?: boolean;
718
+ push?: boolean;
719
+ concat?: boolean;
720
+ join?: boolean;
721
+ reverse?: boolean;
722
+ shift?: boolean;
723
+ slice?: boolean;
724
+ sort?: boolean;
725
+ splice?: boolean;
726
+ unshift?: boolean;
727
+ indexOf?: boolean;
728
+ lastIndexOf?: boolean;
729
+ every?: boolean;
730
+ some?: boolean;
731
+ forEach?: boolean;
732
+ map?: boolean;
733
+ filter?: boolean;
734
+ reduce?: boolean;
735
+ reduceRight?: boolean;
736
+ find?: boolean;
737
+ findIndex?: boolean;
738
+ fill?: boolean;
739
+ copyWithin?: boolean;
740
+ entries?: boolean;
741
+ keys?: boolean;
742
+ values?: boolean;
743
+ includes?: boolean;
744
+ flatMap?: boolean;
745
+ flat?: boolean;
746
+ at?: boolean;
747
+ findLast?: boolean;
748
+ findLastIndex?: boolean;
749
+ toReversed?: boolean;
750
+ toSorted?: boolean;
751
+ toSpliced?: boolean;
752
+ with?: boolean;
753
+ [Symbol.iterator]?: boolean;
754
+ readonly [Symbol.unscopables]?: boolean;
755
+ };
756
+ };
757
+ multipleOf?: number | undefined;
758
+ maximum?: number | undefined;
759
+ exclusiveMaximum?: boolean | undefined;
760
+ minimum?: number | undefined;
761
+ exclusiveMinimum?: boolean | undefined;
762
+ maxLength?: number | undefined;
763
+ minLength?: number | undefined;
764
+ pattern?: string | undefined;
765
+ additionalItems?: boolean | /*elided*/ any;
766
+ items?: /*elided*/ any | /*elided*/ any[];
767
+ maxItems?: number | undefined;
768
+ minItems?: number | undefined;
769
+ uniqueItems?: boolean | undefined;
770
+ maxProperties?: number | undefined;
771
+ minProperties?: number | undefined;
772
+ required?: boolean | string[] | undefined;
773
+ additionalProperties?: boolean | /*elided*/ any;
774
+ definitions?: {
775
+ [k: string]: import("json-schema").JSONSchema4;
776
+ } | undefined;
777
+ properties?: {
778
+ [k: string]: import("json-schema").JSONSchema4;
779
+ } | undefined;
780
+ patternProperties?: {
781
+ [k: string]: import("json-schema").JSONSchema4;
782
+ } | undefined;
783
+ dependencies?: {
784
+ [k: string]: import("json-schema").JSONSchema4 | string[];
785
+ } | undefined;
786
+ enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
787
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
788
+ length: number;
789
+ toString: () => string;
790
+ toLocaleString: {
791
+ (): string;
792
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
793
+ };
794
+ pop: () => import("json-schema").JSONSchema4Type;
795
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
796
+ concat: {
797
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
798
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
799
+ };
800
+ join: (separator?: string) => string;
801
+ reverse: () => import("json-schema").JSONSchema4Type[];
802
+ shift: () => import("json-schema").JSONSchema4Type;
803
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
804
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
805
+ splice: {
806
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
807
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
808
+ };
809
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
810
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
811
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
812
+ every: {
813
+ <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[];
814
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
815
+ };
816
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
817
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
818
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
819
+ filter: {
820
+ <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[];
821
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
822
+ };
823
+ reduce: {
824
+ (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;
825
+ (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;
826
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
827
+ };
828
+ reduceRight: {
829
+ (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;
830
+ (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;
831
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
832
+ };
833
+ find: {
834
+ <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;
835
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
836
+ };
837
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
838
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
839
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
840
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
841
+ keys: () => ArrayIterator<number>;
842
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
843
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
844
+ 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[];
845
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
846
+ at: (index: number) => import("json-schema").JSONSchema4Type;
847
+ findLast: {
848
+ <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;
849
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
850
+ };
851
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
852
+ toReversed: () => import("json-schema").JSONSchema4Type[];
853
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
854
+ toSpliced: {
855
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
856
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
857
+ };
858
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
859
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
860
+ readonly [Symbol.unscopables]: {
861
+ [x: number]: boolean;
862
+ length?: boolean;
863
+ toString?: boolean;
864
+ toLocaleString?: boolean;
865
+ pop?: boolean;
866
+ push?: boolean;
867
+ concat?: boolean;
868
+ join?: boolean;
869
+ reverse?: boolean;
870
+ shift?: boolean;
871
+ slice?: boolean;
872
+ sort?: boolean;
873
+ splice?: boolean;
874
+ unshift?: boolean;
875
+ indexOf?: boolean;
876
+ lastIndexOf?: boolean;
877
+ every?: boolean;
878
+ some?: boolean;
879
+ forEach?: boolean;
880
+ map?: boolean;
881
+ filter?: boolean;
882
+ reduce?: boolean;
883
+ reduceRight?: boolean;
884
+ find?: boolean;
885
+ findIndex?: boolean;
886
+ fill?: boolean;
887
+ copyWithin?: boolean;
888
+ entries?: boolean;
889
+ keys?: boolean;
890
+ values?: boolean;
891
+ includes?: boolean;
892
+ flatMap?: boolean;
893
+ flat?: boolean;
894
+ at?: boolean;
895
+ findLast?: boolean;
896
+ findLastIndex?: boolean;
897
+ toReversed?: boolean;
898
+ toSorted?: boolean;
899
+ toSpliced?: boolean;
900
+ with?: boolean;
901
+ [Symbol.iterator]?: boolean;
902
+ readonly [Symbol.unscopables]?: boolean;
903
+ };
904
+ })[];
905
+ type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
906
+ allOf?: /*elided*/ any[];
907
+ anyOf?: /*elided*/ any[];
908
+ oneOf?: /*elided*/ any[];
909
+ not?: /*elided*/ any;
910
+ extends?: string | string[] | undefined;
911
+ format?: string | undefined;
912
+ };
913
+ expiresAt?: string;
914
+ metadata?: {
915
+ questions: {
916
+ header: string;
917
+ multiSelect?: boolean;
918
+ options?: {
919
+ description: string;
920
+ label: string;
921
+ }[];
922
+ question: string;
923
+ }[];
924
+ };
925
+ })[];
926
+ };
927
+ timestamp?: number;
928
+ };
929
+ role: MessageRole.Interrupt;
930
+ id?: string;
931
+ messageId?: string;
932
+ name?: string;
933
+ sessionCode?: string;
934
+ status: MessageStatus;
253
935
  })[], IMessage[] | ({
254
936
  activityType: import("./type").ActivityType;
255
937
  content: {
938
+ artifacts: {
939
+ name: string;
940
+ outputId: string;
941
+ size: number;
942
+ type: string;
943
+ previewUrl?: string;
944
+ url?: string;
945
+ }[];
946
+ runId: string;
947
+ status: "complete" | "empty";
948
+ } | {
256
949
  nodes: Record<string, import("..").IFlowAgentNode>;
257
- task_id: number;
950
+ task_id: string;
258
951
  task_name: string;
259
952
  task_outputs: string[];
260
953
  task_state: import("..").FlowTaskState;
@@ -270,6 +963,31 @@ export declare const useMessage: (mediator: IMediatorModule) => {
270
963
  originFileUrl?: string;
271
964
  url: string;
272
965
  }[];
966
+ property?: {
967
+ [x: string]: unknown;
968
+ artifacts?: {
969
+ name: string;
970
+ outputId: string;
971
+ size: number;
972
+ type: string;
973
+ previewUrl?: string;
974
+ url?: string;
975
+ }[];
976
+ extra?: {
977
+ [x: string]: unknown;
978
+ cite?: string | {
979
+ data: {
980
+ key: string;
981
+ value: string;
982
+ }[];
983
+ title: string;
984
+ type: string;
985
+ };
986
+ command?: string;
987
+ context?: Array<Record<string, unknown>>;
988
+ resources?: Array<Record<string, unknown>>;
989
+ };
990
+ };
273
991
  role: MessageRole.Activity;
274
992
  id?: string;
275
993
  messageId?: string;
@@ -280,6 +998,14 @@ export declare const useMessage: (mediator: IMediatorModule) => {
280
998
  content?: string;
281
999
  property?: {
282
1000
  [x: string]: unknown;
1001
+ artifacts?: {
1002
+ name: string;
1003
+ outputId: string;
1004
+ size: number;
1005
+ type: string;
1006
+ previewUrl?: string;
1007
+ url?: string;
1008
+ }[];
283
1009
  extra?: {
284
1010
  [x: string]: unknown;
285
1011
  cite?: string | {
@@ -473,6 +1199,14 @@ export declare const useMessage: (mediator: IMediatorModule) => {
473
1199
  })[];
474
1200
  property?: {
475
1201
  [x: string]: unknown;
1202
+ artifacts?: {
1203
+ name: string;
1204
+ outputId: string;
1205
+ size: number;
1206
+ type: string;
1207
+ previewUrl?: string;
1208
+ url?: string;
1209
+ }[];
476
1210
  extra?: {
477
1211
  [x: string]: unknown;
478
1212
  cite?: string | {
@@ -494,6 +1228,636 @@ export declare const useMessage: (mediator: IMediatorModule) => {
494
1228
  name?: string;
495
1229
  sessionCode?: string;
496
1230
  status: MessageStatus;
1231
+ } | {
1232
+ content: {
1233
+ result?: {
1234
+ interruptId: string;
1235
+ status: import("..").ResumeStatus;
1236
+ payload?: {
1237
+ answers: {
1238
+ answer: {
1239
+ description: string;
1240
+ label: string;
1241
+ }[];
1242
+ multiSelect?: boolean;
1243
+ question: string;
1244
+ }[];
1245
+ };
1246
+ };
1247
+ runId: number;
1248
+ threadId: string;
1249
+ type: import("..").EventType.RunFinished;
1250
+ outcome?: {
1251
+ type: import("..").RunFinishedOutcomeType.Success;
1252
+ } | {
1253
+ type: import("..").RunFinishedOutcomeType.Interrupt;
1254
+ interrupts: ({
1255
+ id: string;
1256
+ reason: import("..").InterruptReason.AIDevToolApproval;
1257
+ message?: string;
1258
+ toolCallId?: string;
1259
+ responseSchema?: {
1260
+ [x: string]: any;
1261
+ id?: string | undefined;
1262
+ $ref?: string | undefined;
1263
+ $schema?: import("json-schema").JSONSchema4Version | undefined;
1264
+ title?: string | undefined;
1265
+ description?: string | undefined;
1266
+ default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
1267
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
1268
+ length: number;
1269
+ toString: () => string;
1270
+ toLocaleString: {
1271
+ (): string;
1272
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
1273
+ };
1274
+ pop: () => import("json-schema").JSONSchema4Type;
1275
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
1276
+ concat: {
1277
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
1278
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
1279
+ };
1280
+ join: (separator?: string) => string;
1281
+ reverse: () => import("json-schema").JSONSchema4Type[];
1282
+ shift: () => import("json-schema").JSONSchema4Type;
1283
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
1284
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
1285
+ splice: {
1286
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
1287
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
1288
+ };
1289
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
1290
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
1291
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
1292
+ every: {
1293
+ <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[];
1294
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
1295
+ };
1296
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
1297
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
1298
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
1299
+ filter: {
1300
+ <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[];
1301
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
1302
+ };
1303
+ reduce: {
1304
+ (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;
1305
+ (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;
1306
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
1307
+ };
1308
+ reduceRight: {
1309
+ (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;
1310
+ (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;
1311
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
1312
+ };
1313
+ find: {
1314
+ <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;
1315
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
1316
+ };
1317
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
1318
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
1319
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
1320
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
1321
+ keys: () => ArrayIterator<number>;
1322
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
1323
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
1324
+ 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[];
1325
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
1326
+ at: (index: number) => import("json-schema").JSONSchema4Type;
1327
+ findLast: {
1328
+ <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;
1329
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
1330
+ };
1331
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
1332
+ toReversed: () => import("json-schema").JSONSchema4Type[];
1333
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
1334
+ toSpliced: {
1335
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
1336
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
1337
+ };
1338
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
1339
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
1340
+ readonly [Symbol.unscopables]: {
1341
+ [x: number]: boolean;
1342
+ length?: boolean;
1343
+ toString?: boolean;
1344
+ toLocaleString?: boolean;
1345
+ pop?: boolean;
1346
+ push?: boolean;
1347
+ concat?: boolean;
1348
+ join?: boolean;
1349
+ reverse?: boolean;
1350
+ shift?: boolean;
1351
+ slice?: boolean;
1352
+ sort?: boolean;
1353
+ splice?: boolean;
1354
+ unshift?: boolean;
1355
+ indexOf?: boolean;
1356
+ lastIndexOf?: boolean;
1357
+ every?: boolean;
1358
+ some?: boolean;
1359
+ forEach?: boolean;
1360
+ map?: boolean;
1361
+ filter?: boolean;
1362
+ reduce?: boolean;
1363
+ reduceRight?: boolean;
1364
+ find?: boolean;
1365
+ findIndex?: boolean;
1366
+ fill?: boolean;
1367
+ copyWithin?: boolean;
1368
+ entries?: boolean;
1369
+ keys?: boolean;
1370
+ values?: boolean;
1371
+ includes?: boolean;
1372
+ flatMap?: boolean;
1373
+ flat?: boolean;
1374
+ at?: boolean;
1375
+ findLast?: boolean;
1376
+ findLastIndex?: boolean;
1377
+ toReversed?: boolean;
1378
+ toSorted?: boolean;
1379
+ toSpliced?: boolean;
1380
+ with?: boolean;
1381
+ [Symbol.iterator]?: boolean;
1382
+ readonly [Symbol.unscopables]?: boolean;
1383
+ };
1384
+ };
1385
+ multipleOf?: number | undefined;
1386
+ maximum?: number | undefined;
1387
+ exclusiveMaximum?: boolean | undefined;
1388
+ minimum?: number | undefined;
1389
+ exclusiveMinimum?: boolean | undefined;
1390
+ maxLength?: number | undefined;
1391
+ minLength?: number | undefined;
1392
+ pattern?: string | undefined;
1393
+ additionalItems?: boolean | /*elided*/ any;
1394
+ items?: /*elided*/ any | /*elided*/ any[];
1395
+ maxItems?: number | undefined;
1396
+ minItems?: number | undefined;
1397
+ uniqueItems?: boolean | undefined;
1398
+ maxProperties?: number | undefined;
1399
+ minProperties?: number | undefined;
1400
+ required?: boolean | string[] | undefined;
1401
+ additionalProperties?: boolean | /*elided*/ any;
1402
+ definitions?: {
1403
+ [k: string]: import("json-schema").JSONSchema4;
1404
+ } | undefined;
1405
+ properties?: {
1406
+ [k: string]: import("json-schema").JSONSchema4;
1407
+ } | undefined;
1408
+ patternProperties?: {
1409
+ [k: string]: import("json-schema").JSONSchema4;
1410
+ } | undefined;
1411
+ dependencies?: {
1412
+ [k: string]: import("json-schema").JSONSchema4 | string[];
1413
+ } | undefined;
1414
+ enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
1415
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
1416
+ length: number;
1417
+ toString: () => string;
1418
+ toLocaleString: {
1419
+ (): string;
1420
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
1421
+ };
1422
+ pop: () => import("json-schema").JSONSchema4Type;
1423
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
1424
+ concat: {
1425
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
1426
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
1427
+ };
1428
+ join: (separator?: string) => string;
1429
+ reverse: () => import("json-schema").JSONSchema4Type[];
1430
+ shift: () => import("json-schema").JSONSchema4Type;
1431
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
1432
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
1433
+ splice: {
1434
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
1435
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
1436
+ };
1437
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
1438
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
1439
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
1440
+ every: {
1441
+ <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[];
1442
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
1443
+ };
1444
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
1445
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
1446
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
1447
+ filter: {
1448
+ <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[];
1449
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
1450
+ };
1451
+ reduce: {
1452
+ (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;
1453
+ (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;
1454
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
1455
+ };
1456
+ reduceRight: {
1457
+ (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;
1458
+ (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;
1459
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
1460
+ };
1461
+ find: {
1462
+ <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;
1463
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
1464
+ };
1465
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
1466
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
1467
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
1468
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
1469
+ keys: () => ArrayIterator<number>;
1470
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
1471
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
1472
+ 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[];
1473
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
1474
+ at: (index: number) => import("json-schema").JSONSchema4Type;
1475
+ findLast: {
1476
+ <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;
1477
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
1478
+ };
1479
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
1480
+ toReversed: () => import("json-schema").JSONSchema4Type[];
1481
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
1482
+ toSpliced: {
1483
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
1484
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
1485
+ };
1486
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
1487
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
1488
+ readonly [Symbol.unscopables]: {
1489
+ [x: number]: boolean;
1490
+ length?: boolean;
1491
+ toString?: boolean;
1492
+ toLocaleString?: boolean;
1493
+ pop?: boolean;
1494
+ push?: boolean;
1495
+ concat?: boolean;
1496
+ join?: boolean;
1497
+ reverse?: boolean;
1498
+ shift?: boolean;
1499
+ slice?: boolean;
1500
+ sort?: boolean;
1501
+ splice?: boolean;
1502
+ unshift?: boolean;
1503
+ indexOf?: boolean;
1504
+ lastIndexOf?: boolean;
1505
+ every?: boolean;
1506
+ some?: boolean;
1507
+ forEach?: boolean;
1508
+ map?: boolean;
1509
+ filter?: boolean;
1510
+ reduce?: boolean;
1511
+ reduceRight?: boolean;
1512
+ find?: boolean;
1513
+ findIndex?: boolean;
1514
+ fill?: boolean;
1515
+ copyWithin?: boolean;
1516
+ entries?: boolean;
1517
+ keys?: boolean;
1518
+ values?: boolean;
1519
+ includes?: boolean;
1520
+ flatMap?: boolean;
1521
+ flat?: boolean;
1522
+ at?: boolean;
1523
+ findLast?: boolean;
1524
+ findLastIndex?: boolean;
1525
+ toReversed?: boolean;
1526
+ toSorted?: boolean;
1527
+ toSpliced?: boolean;
1528
+ with?: boolean;
1529
+ [Symbol.iterator]?: boolean;
1530
+ readonly [Symbol.unscopables]?: boolean;
1531
+ };
1532
+ })[];
1533
+ type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
1534
+ allOf?: /*elided*/ any[];
1535
+ anyOf?: /*elided*/ any[];
1536
+ oneOf?: /*elided*/ any[];
1537
+ not?: /*elided*/ any;
1538
+ extends?: string | string[] | undefined;
1539
+ format?: string | undefined;
1540
+ };
1541
+ expiresAt?: string;
1542
+ metadata?: {
1543
+ ticket: {
1544
+ approvers: string[];
1545
+ sn: string;
1546
+ status: import("..").ApprovalInterruptTicketStatus;
1547
+ submit_time: string;
1548
+ title: string;
1549
+ url: string;
1550
+ };
1551
+ };
1552
+ } | {
1553
+ id: string;
1554
+ reason: import("..").InterruptReason.UserQuestion;
1555
+ message?: string;
1556
+ toolCallId?: string;
1557
+ responseSchema?: {
1558
+ [x: string]: any;
1559
+ id?: string | undefined;
1560
+ $ref?: string | undefined;
1561
+ $schema?: import("json-schema").JSONSchema4Version | undefined;
1562
+ title?: string | undefined;
1563
+ description?: string | undefined;
1564
+ default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
1565
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
1566
+ length: number;
1567
+ toString: () => string;
1568
+ toLocaleString: {
1569
+ (): string;
1570
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
1571
+ };
1572
+ pop: () => import("json-schema").JSONSchema4Type;
1573
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
1574
+ concat: {
1575
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
1576
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
1577
+ };
1578
+ join: (separator?: string) => string;
1579
+ reverse: () => import("json-schema").JSONSchema4Type[];
1580
+ shift: () => import("json-schema").JSONSchema4Type;
1581
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
1582
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
1583
+ splice: {
1584
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
1585
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
1586
+ };
1587
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
1588
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
1589
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
1590
+ every: {
1591
+ <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[];
1592
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
1593
+ };
1594
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
1595
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
1596
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
1597
+ filter: {
1598
+ <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[];
1599
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
1600
+ };
1601
+ reduce: {
1602
+ (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;
1603
+ (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;
1604
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
1605
+ };
1606
+ reduceRight: {
1607
+ (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;
1608
+ (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;
1609
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
1610
+ };
1611
+ find: {
1612
+ <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;
1613
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
1614
+ };
1615
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
1616
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
1617
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
1618
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
1619
+ keys: () => ArrayIterator<number>;
1620
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
1621
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
1622
+ 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[];
1623
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
1624
+ at: (index: number) => import("json-schema").JSONSchema4Type;
1625
+ findLast: {
1626
+ <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;
1627
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
1628
+ };
1629
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
1630
+ toReversed: () => import("json-schema").JSONSchema4Type[];
1631
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
1632
+ toSpliced: {
1633
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
1634
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
1635
+ };
1636
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
1637
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
1638
+ readonly [Symbol.unscopables]: {
1639
+ [x: number]: boolean;
1640
+ length?: boolean;
1641
+ toString?: boolean;
1642
+ toLocaleString?: boolean;
1643
+ pop?: boolean;
1644
+ push?: boolean;
1645
+ concat?: boolean;
1646
+ join?: boolean;
1647
+ reverse?: boolean;
1648
+ shift?: boolean;
1649
+ slice?: boolean;
1650
+ sort?: boolean;
1651
+ splice?: boolean;
1652
+ unshift?: boolean;
1653
+ indexOf?: boolean;
1654
+ lastIndexOf?: boolean;
1655
+ every?: boolean;
1656
+ some?: boolean;
1657
+ forEach?: boolean;
1658
+ map?: boolean;
1659
+ filter?: boolean;
1660
+ reduce?: boolean;
1661
+ reduceRight?: boolean;
1662
+ find?: boolean;
1663
+ findIndex?: boolean;
1664
+ fill?: boolean;
1665
+ copyWithin?: boolean;
1666
+ entries?: boolean;
1667
+ keys?: boolean;
1668
+ values?: boolean;
1669
+ includes?: boolean;
1670
+ flatMap?: boolean;
1671
+ flat?: boolean;
1672
+ at?: boolean;
1673
+ findLast?: boolean;
1674
+ findLastIndex?: boolean;
1675
+ toReversed?: boolean;
1676
+ toSorted?: boolean;
1677
+ toSpliced?: boolean;
1678
+ with?: boolean;
1679
+ [Symbol.iterator]?: boolean;
1680
+ readonly [Symbol.unscopables]?: boolean;
1681
+ };
1682
+ };
1683
+ multipleOf?: number | undefined;
1684
+ maximum?: number | undefined;
1685
+ exclusiveMaximum?: boolean | undefined;
1686
+ minimum?: number | undefined;
1687
+ exclusiveMinimum?: boolean | undefined;
1688
+ maxLength?: number | undefined;
1689
+ minLength?: number | undefined;
1690
+ pattern?: string | undefined;
1691
+ additionalItems?: boolean | /*elided*/ any;
1692
+ items?: /*elided*/ any | /*elided*/ any[];
1693
+ maxItems?: number | undefined;
1694
+ minItems?: number | undefined;
1695
+ uniqueItems?: boolean | undefined;
1696
+ maxProperties?: number | undefined;
1697
+ minProperties?: number | undefined;
1698
+ required?: boolean | string[] | undefined;
1699
+ additionalProperties?: boolean | /*elided*/ any;
1700
+ definitions?: {
1701
+ [k: string]: import("json-schema").JSONSchema4;
1702
+ } | undefined;
1703
+ properties?: {
1704
+ [k: string]: import("json-schema").JSONSchema4;
1705
+ } | undefined;
1706
+ patternProperties?: {
1707
+ [k: string]: import("json-schema").JSONSchema4;
1708
+ } | undefined;
1709
+ dependencies?: {
1710
+ [k: string]: import("json-schema").JSONSchema4 | string[];
1711
+ } | undefined;
1712
+ enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
1713
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
1714
+ length: number;
1715
+ toString: () => string;
1716
+ toLocaleString: {
1717
+ (): string;
1718
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
1719
+ };
1720
+ pop: () => import("json-schema").JSONSchema4Type;
1721
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
1722
+ concat: {
1723
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
1724
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
1725
+ };
1726
+ join: (separator?: string) => string;
1727
+ reverse: () => import("json-schema").JSONSchema4Type[];
1728
+ shift: () => import("json-schema").JSONSchema4Type;
1729
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
1730
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
1731
+ splice: {
1732
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
1733
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
1734
+ };
1735
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
1736
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
1737
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
1738
+ every: {
1739
+ <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[];
1740
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
1741
+ };
1742
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
1743
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
1744
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
1745
+ filter: {
1746
+ <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[];
1747
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
1748
+ };
1749
+ reduce: {
1750
+ (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;
1751
+ (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;
1752
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
1753
+ };
1754
+ reduceRight: {
1755
+ (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;
1756
+ (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;
1757
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
1758
+ };
1759
+ find: {
1760
+ <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;
1761
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
1762
+ };
1763
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
1764
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
1765
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
1766
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
1767
+ keys: () => ArrayIterator<number>;
1768
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
1769
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
1770
+ 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[];
1771
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
1772
+ at: (index: number) => import("json-schema").JSONSchema4Type;
1773
+ findLast: {
1774
+ <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;
1775
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
1776
+ };
1777
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
1778
+ toReversed: () => import("json-schema").JSONSchema4Type[];
1779
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
1780
+ toSpliced: {
1781
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
1782
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
1783
+ };
1784
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
1785
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
1786
+ readonly [Symbol.unscopables]: {
1787
+ [x: number]: boolean;
1788
+ length?: boolean;
1789
+ toString?: boolean;
1790
+ toLocaleString?: boolean;
1791
+ pop?: boolean;
1792
+ push?: boolean;
1793
+ concat?: boolean;
1794
+ join?: boolean;
1795
+ reverse?: boolean;
1796
+ shift?: boolean;
1797
+ slice?: boolean;
1798
+ sort?: boolean;
1799
+ splice?: boolean;
1800
+ unshift?: boolean;
1801
+ indexOf?: boolean;
1802
+ lastIndexOf?: boolean;
1803
+ every?: boolean;
1804
+ some?: boolean;
1805
+ forEach?: boolean;
1806
+ map?: boolean;
1807
+ filter?: boolean;
1808
+ reduce?: boolean;
1809
+ reduceRight?: boolean;
1810
+ find?: boolean;
1811
+ findIndex?: boolean;
1812
+ fill?: boolean;
1813
+ copyWithin?: boolean;
1814
+ entries?: boolean;
1815
+ keys?: boolean;
1816
+ values?: boolean;
1817
+ includes?: boolean;
1818
+ flatMap?: boolean;
1819
+ flat?: boolean;
1820
+ at?: boolean;
1821
+ findLast?: boolean;
1822
+ findLastIndex?: boolean;
1823
+ toReversed?: boolean;
1824
+ toSorted?: boolean;
1825
+ toSpliced?: boolean;
1826
+ with?: boolean;
1827
+ [Symbol.iterator]?: boolean;
1828
+ readonly [Symbol.unscopables]?: boolean;
1829
+ };
1830
+ })[];
1831
+ type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
1832
+ allOf?: /*elided*/ any[];
1833
+ anyOf?: /*elided*/ any[];
1834
+ oneOf?: /*elided*/ any[];
1835
+ not?: /*elided*/ any;
1836
+ extends?: string | string[] | undefined;
1837
+ format?: string | undefined;
1838
+ };
1839
+ expiresAt?: string;
1840
+ metadata?: {
1841
+ questions: {
1842
+ header: string;
1843
+ multiSelect?: boolean;
1844
+ options?: {
1845
+ description: string;
1846
+ label: string;
1847
+ }[];
1848
+ question: string;
1849
+ }[];
1850
+ };
1851
+ })[];
1852
+ };
1853
+ timestamp?: number;
1854
+ };
1855
+ role: MessageRole.Interrupt;
1856
+ id?: string;
1857
+ messageId?: string;
1858
+ name?: string;
1859
+ sessionCode?: string;
1860
+ status: MessageStatus;
497
1861
  })[]>;
498
1862
  isListLoading: import("vue").Ref<boolean, boolean>;
499
1863
  isDeleteLoading: import("vue").Ref<boolean, boolean>;
@@ -502,8 +1866,19 @@ export declare const useMessage: (mediator: IMediatorModule) => {
502
1866
  getCurrentLoadingMessage: () => {
503
1867
  activityType: import("./type").ActivityType;
504
1868
  content: {
1869
+ artifacts: {
1870
+ name: string;
1871
+ outputId: string;
1872
+ size: number;
1873
+ type: string;
1874
+ previewUrl?: string;
1875
+ url?: string;
1876
+ }[];
1877
+ runId: string;
1878
+ status: "complete" | "empty";
1879
+ } | {
505
1880
  nodes: Record<string, import("..").IFlowAgentNode>;
506
- task_id: number;
1881
+ task_id: string;
507
1882
  task_name: string;
508
1883
  task_outputs: string[];
509
1884
  task_state: import("..").FlowTaskState;
@@ -519,6 +1894,31 @@ export declare const useMessage: (mediator: IMediatorModule) => {
519
1894
  originFileUrl?: string;
520
1895
  url: string;
521
1896
  }[];
1897
+ property?: {
1898
+ [x: string]: unknown;
1899
+ artifacts?: {
1900
+ name: string;
1901
+ outputId: string;
1902
+ size: number;
1903
+ type: string;
1904
+ previewUrl?: string;
1905
+ url?: string;
1906
+ }[];
1907
+ extra?: {
1908
+ [x: string]: unknown;
1909
+ cite?: string | {
1910
+ data: {
1911
+ key: string;
1912
+ value: string;
1913
+ }[];
1914
+ title: string;
1915
+ type: string;
1916
+ };
1917
+ command?: string;
1918
+ context?: Array<Record<string, unknown>>;
1919
+ resources?: Array<Record<string, unknown>>;
1920
+ };
1921
+ };
522
1922
  role: MessageRole.Activity;
523
1923
  id?: string;
524
1924
  messageId?: string;
@@ -529,6 +1929,14 @@ export declare const useMessage: (mediator: IMediatorModule) => {
529
1929
  content?: string;
530
1930
  property?: {
531
1931
  [x: string]: unknown;
1932
+ artifacts?: {
1933
+ name: string;
1934
+ outputId: string;
1935
+ size: number;
1936
+ type: string;
1937
+ previewUrl?: string;
1938
+ url?: string;
1939
+ }[];
532
1940
  extra?: {
533
1941
  [x: string]: unknown;
534
1942
  cite?: string | {
@@ -722,6 +2130,14 @@ export declare const useMessage: (mediator: IMediatorModule) => {
722
2130
  })[];
723
2131
  property?: {
724
2132
  [x: string]: unknown;
2133
+ artifacts?: {
2134
+ name: string;
2135
+ outputId: string;
2136
+ size: number;
2137
+ type: string;
2138
+ previewUrl?: string;
2139
+ url?: string;
2140
+ }[];
725
2141
  extra?: {
726
2142
  [x: string]: unknown;
727
2143
  cite?: string | {
@@ -743,12 +2159,653 @@ export declare const useMessage: (mediator: IMediatorModule) => {
743
2159
  name?: string;
744
2160
  sessionCode?: string;
745
2161
  status: MessageStatus;
2162
+ } | {
2163
+ content: {
2164
+ result?: {
2165
+ interruptId: string;
2166
+ status: import("..").ResumeStatus;
2167
+ payload?: {
2168
+ answers: {
2169
+ answer: {
2170
+ description: string;
2171
+ label: string;
2172
+ }[];
2173
+ multiSelect?: boolean;
2174
+ question: string;
2175
+ }[];
2176
+ };
2177
+ };
2178
+ runId: number;
2179
+ threadId: string;
2180
+ type: import("..").EventType.RunFinished;
2181
+ outcome?: {
2182
+ type: import("..").RunFinishedOutcomeType.Success;
2183
+ } | {
2184
+ type: import("..").RunFinishedOutcomeType.Interrupt;
2185
+ interrupts: ({
2186
+ id: string;
2187
+ reason: import("..").InterruptReason.AIDevToolApproval;
2188
+ message?: string;
2189
+ toolCallId?: string;
2190
+ responseSchema?: {
2191
+ [x: string]: any;
2192
+ id?: string | undefined;
2193
+ $ref?: string | undefined;
2194
+ $schema?: import("json-schema").JSONSchema4Version | undefined;
2195
+ title?: string | undefined;
2196
+ description?: string | undefined;
2197
+ default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
2198
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
2199
+ length: number;
2200
+ toString: () => string;
2201
+ toLocaleString: {
2202
+ (): string;
2203
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
2204
+ };
2205
+ pop: () => import("json-schema").JSONSchema4Type;
2206
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
2207
+ concat: {
2208
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
2209
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
2210
+ };
2211
+ join: (separator?: string) => string;
2212
+ reverse: () => import("json-schema").JSONSchema4Type[];
2213
+ shift: () => import("json-schema").JSONSchema4Type;
2214
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
2215
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
2216
+ splice: {
2217
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
2218
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
2219
+ };
2220
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
2221
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
2222
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
2223
+ every: {
2224
+ <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[];
2225
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
2226
+ };
2227
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
2228
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
2229
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
2230
+ filter: {
2231
+ <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[];
2232
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
2233
+ };
2234
+ reduce: {
2235
+ (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;
2236
+ (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;
2237
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
2238
+ };
2239
+ reduceRight: {
2240
+ (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;
2241
+ (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;
2242
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
2243
+ };
2244
+ find: {
2245
+ <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;
2246
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
2247
+ };
2248
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
2249
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
2250
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
2251
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
2252
+ keys: () => ArrayIterator<number>;
2253
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
2254
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
2255
+ 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[];
2256
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
2257
+ at: (index: number) => import("json-schema").JSONSchema4Type;
2258
+ findLast: {
2259
+ <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;
2260
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
2261
+ };
2262
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
2263
+ toReversed: () => import("json-schema").JSONSchema4Type[];
2264
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
2265
+ toSpliced: {
2266
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
2267
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
2268
+ };
2269
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
2270
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
2271
+ readonly [Symbol.unscopables]: {
2272
+ [x: number]: boolean;
2273
+ length?: boolean;
2274
+ toString?: boolean;
2275
+ toLocaleString?: boolean;
2276
+ pop?: boolean;
2277
+ push?: boolean;
2278
+ concat?: boolean;
2279
+ join?: boolean;
2280
+ reverse?: boolean;
2281
+ shift?: boolean;
2282
+ slice?: boolean;
2283
+ sort?: boolean;
2284
+ splice?: boolean;
2285
+ unshift?: boolean;
2286
+ indexOf?: boolean;
2287
+ lastIndexOf?: boolean;
2288
+ every?: boolean;
2289
+ some?: boolean;
2290
+ forEach?: boolean;
2291
+ map?: boolean;
2292
+ filter?: boolean;
2293
+ reduce?: boolean;
2294
+ reduceRight?: boolean;
2295
+ find?: boolean;
2296
+ findIndex?: boolean;
2297
+ fill?: boolean;
2298
+ copyWithin?: boolean;
2299
+ entries?: boolean;
2300
+ keys?: boolean;
2301
+ values?: boolean;
2302
+ includes?: boolean;
2303
+ flatMap?: boolean;
2304
+ flat?: boolean;
2305
+ at?: boolean;
2306
+ findLast?: boolean;
2307
+ findLastIndex?: boolean;
2308
+ toReversed?: boolean;
2309
+ toSorted?: boolean;
2310
+ toSpliced?: boolean;
2311
+ with?: boolean;
2312
+ [Symbol.iterator]?: boolean;
2313
+ readonly [Symbol.unscopables]?: boolean;
2314
+ };
2315
+ };
2316
+ multipleOf?: number | undefined;
2317
+ maximum?: number | undefined;
2318
+ exclusiveMaximum?: boolean | undefined;
2319
+ minimum?: number | undefined;
2320
+ exclusiveMinimum?: boolean | undefined;
2321
+ maxLength?: number | undefined;
2322
+ minLength?: number | undefined;
2323
+ pattern?: string | undefined;
2324
+ additionalItems?: boolean | /*elided*/ any;
2325
+ items?: /*elided*/ any | /*elided*/ any[];
2326
+ maxItems?: number | undefined;
2327
+ minItems?: number | undefined;
2328
+ uniqueItems?: boolean | undefined;
2329
+ maxProperties?: number | undefined;
2330
+ minProperties?: number | undefined;
2331
+ required?: boolean | string[] | undefined;
2332
+ additionalProperties?: boolean | /*elided*/ any;
2333
+ definitions?: {
2334
+ [k: string]: import("json-schema").JSONSchema4;
2335
+ } | undefined;
2336
+ properties?: {
2337
+ [k: string]: import("json-schema").JSONSchema4;
2338
+ } | undefined;
2339
+ patternProperties?: {
2340
+ [k: string]: import("json-schema").JSONSchema4;
2341
+ } | undefined;
2342
+ dependencies?: {
2343
+ [k: string]: import("json-schema").JSONSchema4 | string[];
2344
+ } | undefined;
2345
+ enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
2346
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
2347
+ length: number;
2348
+ toString: () => string;
2349
+ toLocaleString: {
2350
+ (): string;
2351
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
2352
+ };
2353
+ pop: () => import("json-schema").JSONSchema4Type;
2354
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
2355
+ concat: {
2356
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
2357
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
2358
+ };
2359
+ join: (separator?: string) => string;
2360
+ reverse: () => import("json-schema").JSONSchema4Type[];
2361
+ shift: () => import("json-schema").JSONSchema4Type;
2362
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
2363
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
2364
+ splice: {
2365
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
2366
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
2367
+ };
2368
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
2369
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
2370
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
2371
+ every: {
2372
+ <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[];
2373
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
2374
+ };
2375
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
2376
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
2377
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
2378
+ filter: {
2379
+ <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[];
2380
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
2381
+ };
2382
+ reduce: {
2383
+ (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;
2384
+ (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;
2385
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
2386
+ };
2387
+ reduceRight: {
2388
+ (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;
2389
+ (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;
2390
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
2391
+ };
2392
+ find: {
2393
+ <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;
2394
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
2395
+ };
2396
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
2397
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
2398
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
2399
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
2400
+ keys: () => ArrayIterator<number>;
2401
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
2402
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
2403
+ 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[];
2404
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
2405
+ at: (index: number) => import("json-schema").JSONSchema4Type;
2406
+ findLast: {
2407
+ <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;
2408
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
2409
+ };
2410
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
2411
+ toReversed: () => import("json-schema").JSONSchema4Type[];
2412
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
2413
+ toSpliced: {
2414
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
2415
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
2416
+ };
2417
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
2418
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
2419
+ readonly [Symbol.unscopables]: {
2420
+ [x: number]: boolean;
2421
+ length?: boolean;
2422
+ toString?: boolean;
2423
+ toLocaleString?: boolean;
2424
+ pop?: boolean;
2425
+ push?: boolean;
2426
+ concat?: boolean;
2427
+ join?: boolean;
2428
+ reverse?: boolean;
2429
+ shift?: boolean;
2430
+ slice?: boolean;
2431
+ sort?: boolean;
2432
+ splice?: boolean;
2433
+ unshift?: boolean;
2434
+ indexOf?: boolean;
2435
+ lastIndexOf?: boolean;
2436
+ every?: boolean;
2437
+ some?: boolean;
2438
+ forEach?: boolean;
2439
+ map?: boolean;
2440
+ filter?: boolean;
2441
+ reduce?: boolean;
2442
+ reduceRight?: boolean;
2443
+ find?: boolean;
2444
+ findIndex?: boolean;
2445
+ fill?: boolean;
2446
+ copyWithin?: boolean;
2447
+ entries?: boolean;
2448
+ keys?: boolean;
2449
+ values?: boolean;
2450
+ includes?: boolean;
2451
+ flatMap?: boolean;
2452
+ flat?: boolean;
2453
+ at?: boolean;
2454
+ findLast?: boolean;
2455
+ findLastIndex?: boolean;
2456
+ toReversed?: boolean;
2457
+ toSorted?: boolean;
2458
+ toSpliced?: boolean;
2459
+ with?: boolean;
2460
+ [Symbol.iterator]?: boolean;
2461
+ readonly [Symbol.unscopables]?: boolean;
2462
+ };
2463
+ })[];
2464
+ type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
2465
+ allOf?: /*elided*/ any[];
2466
+ anyOf?: /*elided*/ any[];
2467
+ oneOf?: /*elided*/ any[];
2468
+ not?: /*elided*/ any;
2469
+ extends?: string | string[] | undefined;
2470
+ format?: string | undefined;
2471
+ };
2472
+ expiresAt?: string;
2473
+ metadata?: {
2474
+ ticket: {
2475
+ approvers: string[];
2476
+ sn: string;
2477
+ status: import("..").ApprovalInterruptTicketStatus;
2478
+ submit_time: string;
2479
+ title: string;
2480
+ url: string;
2481
+ };
2482
+ };
2483
+ } | {
2484
+ id: string;
2485
+ reason: import("..").InterruptReason.UserQuestion;
2486
+ message?: string;
2487
+ toolCallId?: string;
2488
+ responseSchema?: {
2489
+ [x: string]: any;
2490
+ id?: string | undefined;
2491
+ $ref?: string | undefined;
2492
+ $schema?: import("json-schema").JSONSchema4Version | undefined;
2493
+ title?: string | undefined;
2494
+ description?: string | undefined;
2495
+ default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
2496
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
2497
+ length: number;
2498
+ toString: () => string;
2499
+ toLocaleString: {
2500
+ (): string;
2501
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
2502
+ };
2503
+ pop: () => import("json-schema").JSONSchema4Type;
2504
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
2505
+ concat: {
2506
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
2507
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
2508
+ };
2509
+ join: (separator?: string) => string;
2510
+ reverse: () => import("json-schema").JSONSchema4Type[];
2511
+ shift: () => import("json-schema").JSONSchema4Type;
2512
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
2513
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
2514
+ splice: {
2515
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
2516
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
2517
+ };
2518
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
2519
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
2520
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
2521
+ every: {
2522
+ <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[];
2523
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
2524
+ };
2525
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
2526
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
2527
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
2528
+ filter: {
2529
+ <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[];
2530
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
2531
+ };
2532
+ reduce: {
2533
+ (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;
2534
+ (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;
2535
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
2536
+ };
2537
+ reduceRight: {
2538
+ (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;
2539
+ (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;
2540
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
2541
+ };
2542
+ find: {
2543
+ <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;
2544
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
2545
+ };
2546
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
2547
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
2548
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
2549
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
2550
+ keys: () => ArrayIterator<number>;
2551
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
2552
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
2553
+ 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[];
2554
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
2555
+ at: (index: number) => import("json-schema").JSONSchema4Type;
2556
+ findLast: {
2557
+ <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;
2558
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
2559
+ };
2560
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
2561
+ toReversed: () => import("json-schema").JSONSchema4Type[];
2562
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
2563
+ toSpliced: {
2564
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
2565
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
2566
+ };
2567
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
2568
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
2569
+ readonly [Symbol.unscopables]: {
2570
+ [x: number]: boolean;
2571
+ length?: boolean;
2572
+ toString?: boolean;
2573
+ toLocaleString?: boolean;
2574
+ pop?: boolean;
2575
+ push?: boolean;
2576
+ concat?: boolean;
2577
+ join?: boolean;
2578
+ reverse?: boolean;
2579
+ shift?: boolean;
2580
+ slice?: boolean;
2581
+ sort?: boolean;
2582
+ splice?: boolean;
2583
+ unshift?: boolean;
2584
+ indexOf?: boolean;
2585
+ lastIndexOf?: boolean;
2586
+ every?: boolean;
2587
+ some?: boolean;
2588
+ forEach?: boolean;
2589
+ map?: boolean;
2590
+ filter?: boolean;
2591
+ reduce?: boolean;
2592
+ reduceRight?: boolean;
2593
+ find?: boolean;
2594
+ findIndex?: boolean;
2595
+ fill?: boolean;
2596
+ copyWithin?: boolean;
2597
+ entries?: boolean;
2598
+ keys?: boolean;
2599
+ values?: boolean;
2600
+ includes?: boolean;
2601
+ flatMap?: boolean;
2602
+ flat?: boolean;
2603
+ at?: boolean;
2604
+ findLast?: boolean;
2605
+ findLastIndex?: boolean;
2606
+ toReversed?: boolean;
2607
+ toSorted?: boolean;
2608
+ toSpliced?: boolean;
2609
+ with?: boolean;
2610
+ [Symbol.iterator]?: boolean;
2611
+ readonly [Symbol.unscopables]?: boolean;
2612
+ };
2613
+ };
2614
+ multipleOf?: number | undefined;
2615
+ maximum?: number | undefined;
2616
+ exclusiveMaximum?: boolean | undefined;
2617
+ minimum?: number | undefined;
2618
+ exclusiveMinimum?: boolean | undefined;
2619
+ maxLength?: number | undefined;
2620
+ minLength?: number | undefined;
2621
+ pattern?: string | undefined;
2622
+ additionalItems?: boolean | /*elided*/ any;
2623
+ items?: /*elided*/ any | /*elided*/ any[];
2624
+ maxItems?: number | undefined;
2625
+ minItems?: number | undefined;
2626
+ uniqueItems?: boolean | undefined;
2627
+ maxProperties?: number | undefined;
2628
+ minProperties?: number | undefined;
2629
+ required?: boolean | string[] | undefined;
2630
+ additionalProperties?: boolean | /*elided*/ any;
2631
+ definitions?: {
2632
+ [k: string]: import("json-schema").JSONSchema4;
2633
+ } | undefined;
2634
+ properties?: {
2635
+ [k: string]: import("json-schema").JSONSchema4;
2636
+ } | undefined;
2637
+ patternProperties?: {
2638
+ [k: string]: import("json-schema").JSONSchema4;
2639
+ } | undefined;
2640
+ dependencies?: {
2641
+ [k: string]: import("json-schema").JSONSchema4 | string[];
2642
+ } | undefined;
2643
+ enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
2644
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
2645
+ length: number;
2646
+ toString: () => string;
2647
+ toLocaleString: {
2648
+ (): string;
2649
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
2650
+ };
2651
+ pop: () => import("json-schema").JSONSchema4Type;
2652
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
2653
+ concat: {
2654
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
2655
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
2656
+ };
2657
+ join: (separator?: string) => string;
2658
+ reverse: () => import("json-schema").JSONSchema4Type[];
2659
+ shift: () => import("json-schema").JSONSchema4Type;
2660
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
2661
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
2662
+ splice: {
2663
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
2664
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
2665
+ };
2666
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
2667
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
2668
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
2669
+ every: {
2670
+ <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[];
2671
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
2672
+ };
2673
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
2674
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
2675
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
2676
+ filter: {
2677
+ <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[];
2678
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
2679
+ };
2680
+ reduce: {
2681
+ (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;
2682
+ (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;
2683
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
2684
+ };
2685
+ reduceRight: {
2686
+ (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;
2687
+ (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;
2688
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
2689
+ };
2690
+ find: {
2691
+ <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;
2692
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
2693
+ };
2694
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
2695
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
2696
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
2697
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
2698
+ keys: () => ArrayIterator<number>;
2699
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
2700
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
2701
+ 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[];
2702
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
2703
+ at: (index: number) => import("json-schema").JSONSchema4Type;
2704
+ findLast: {
2705
+ <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;
2706
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
2707
+ };
2708
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
2709
+ toReversed: () => import("json-schema").JSONSchema4Type[];
2710
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
2711
+ toSpliced: {
2712
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
2713
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
2714
+ };
2715
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
2716
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
2717
+ readonly [Symbol.unscopables]: {
2718
+ [x: number]: boolean;
2719
+ length?: boolean;
2720
+ toString?: boolean;
2721
+ toLocaleString?: boolean;
2722
+ pop?: boolean;
2723
+ push?: boolean;
2724
+ concat?: boolean;
2725
+ join?: boolean;
2726
+ reverse?: boolean;
2727
+ shift?: boolean;
2728
+ slice?: boolean;
2729
+ sort?: boolean;
2730
+ splice?: boolean;
2731
+ unshift?: boolean;
2732
+ indexOf?: boolean;
2733
+ lastIndexOf?: boolean;
2734
+ every?: boolean;
2735
+ some?: boolean;
2736
+ forEach?: boolean;
2737
+ map?: boolean;
2738
+ filter?: boolean;
2739
+ reduce?: boolean;
2740
+ reduceRight?: boolean;
2741
+ find?: boolean;
2742
+ findIndex?: boolean;
2743
+ fill?: boolean;
2744
+ copyWithin?: boolean;
2745
+ entries?: boolean;
2746
+ keys?: boolean;
2747
+ values?: boolean;
2748
+ includes?: boolean;
2749
+ flatMap?: boolean;
2750
+ flat?: boolean;
2751
+ at?: boolean;
2752
+ findLast?: boolean;
2753
+ findLastIndex?: boolean;
2754
+ toReversed?: boolean;
2755
+ toSorted?: boolean;
2756
+ toSpliced?: boolean;
2757
+ with?: boolean;
2758
+ [Symbol.iterator]?: boolean;
2759
+ readonly [Symbol.unscopables]?: boolean;
2760
+ };
2761
+ })[];
2762
+ type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
2763
+ allOf?: /*elided*/ any[];
2764
+ anyOf?: /*elided*/ any[];
2765
+ oneOf?: /*elided*/ any[];
2766
+ not?: /*elided*/ any;
2767
+ extends?: string | string[] | undefined;
2768
+ format?: string | undefined;
2769
+ };
2770
+ expiresAt?: string;
2771
+ metadata?: {
2772
+ questions: {
2773
+ header: string;
2774
+ multiSelect?: boolean;
2775
+ options?: {
2776
+ description: string;
2777
+ label: string;
2778
+ }[];
2779
+ question: string;
2780
+ }[];
2781
+ };
2782
+ })[];
2783
+ };
2784
+ timestamp?: number;
2785
+ };
2786
+ role: MessageRole.Interrupt;
2787
+ id?: string;
2788
+ messageId?: string;
2789
+ name?: string;
2790
+ sessionCode?: string;
2791
+ status: MessageStatus;
746
2792
  };
747
2793
  getMessageByMessageId: (id: string) => {
748
2794
  activityType: import("./type").ActivityType;
749
2795
  content: {
2796
+ artifacts: {
2797
+ name: string;
2798
+ outputId: string;
2799
+ size: number;
2800
+ type: string;
2801
+ previewUrl?: string;
2802
+ url?: string;
2803
+ }[];
2804
+ runId: string;
2805
+ status: "complete" | "empty";
2806
+ } | {
750
2807
  nodes: Record<string, import("..").IFlowAgentNode>;
751
- task_id: number;
2808
+ task_id: string;
752
2809
  task_name: string;
753
2810
  task_outputs: string[];
754
2811
  task_state: import("..").FlowTaskState;
@@ -764,6 +2821,31 @@ export declare const useMessage: (mediator: IMediatorModule) => {
764
2821
  originFileUrl?: string;
765
2822
  url: string;
766
2823
  }[];
2824
+ property?: {
2825
+ [x: string]: unknown;
2826
+ artifacts?: {
2827
+ name: string;
2828
+ outputId: string;
2829
+ size: number;
2830
+ type: string;
2831
+ previewUrl?: string;
2832
+ url?: string;
2833
+ }[];
2834
+ extra?: {
2835
+ [x: string]: unknown;
2836
+ cite?: string | {
2837
+ data: {
2838
+ key: string;
2839
+ value: string;
2840
+ }[];
2841
+ title: string;
2842
+ type: string;
2843
+ };
2844
+ command?: string;
2845
+ context?: Array<Record<string, unknown>>;
2846
+ resources?: Array<Record<string, unknown>>;
2847
+ };
2848
+ };
767
2849
  role: MessageRole.Activity;
768
2850
  id?: string;
769
2851
  messageId?: string;
@@ -774,6 +2856,14 @@ export declare const useMessage: (mediator: IMediatorModule) => {
774
2856
  content?: string;
775
2857
  property?: {
776
2858
  [x: string]: unknown;
2859
+ artifacts?: {
2860
+ name: string;
2861
+ outputId: string;
2862
+ size: number;
2863
+ type: string;
2864
+ previewUrl?: string;
2865
+ url?: string;
2866
+ }[];
777
2867
  extra?: {
778
2868
  [x: string]: unknown;
779
2869
  cite?: string | {
@@ -967,6 +3057,14 @@ export declare const useMessage: (mediator: IMediatorModule) => {
967
3057
  })[];
968
3058
  property?: {
969
3059
  [x: string]: unknown;
3060
+ artifacts?: {
3061
+ name: string;
3062
+ outputId: string;
3063
+ size: number;
3064
+ type: string;
3065
+ previewUrl?: string;
3066
+ url?: string;
3067
+ }[];
970
3068
  extra?: {
971
3069
  [x: string]: unknown;
972
3070
  cite?: string | {
@@ -988,6 +3086,636 @@ export declare const useMessage: (mediator: IMediatorModule) => {
988
3086
  name?: string;
989
3087
  sessionCode?: string;
990
3088
  status: MessageStatus;
3089
+ } | {
3090
+ content: {
3091
+ result?: {
3092
+ interruptId: string;
3093
+ status: import("..").ResumeStatus;
3094
+ payload?: {
3095
+ answers: {
3096
+ answer: {
3097
+ description: string;
3098
+ label: string;
3099
+ }[];
3100
+ multiSelect?: boolean;
3101
+ question: string;
3102
+ }[];
3103
+ };
3104
+ };
3105
+ runId: number;
3106
+ threadId: string;
3107
+ type: import("..").EventType.RunFinished;
3108
+ outcome?: {
3109
+ type: import("..").RunFinishedOutcomeType.Success;
3110
+ } | {
3111
+ type: import("..").RunFinishedOutcomeType.Interrupt;
3112
+ interrupts: ({
3113
+ id: string;
3114
+ reason: import("..").InterruptReason.AIDevToolApproval;
3115
+ message?: string;
3116
+ toolCallId?: string;
3117
+ responseSchema?: {
3118
+ [x: string]: any;
3119
+ id?: string | undefined;
3120
+ $ref?: string | undefined;
3121
+ $schema?: import("json-schema").JSONSchema4Version | undefined;
3122
+ title?: string | undefined;
3123
+ description?: string | undefined;
3124
+ default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
3125
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
3126
+ length: number;
3127
+ toString: () => string;
3128
+ toLocaleString: {
3129
+ (): string;
3130
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
3131
+ };
3132
+ pop: () => import("json-schema").JSONSchema4Type;
3133
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
3134
+ concat: {
3135
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
3136
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
3137
+ };
3138
+ join: (separator?: string) => string;
3139
+ reverse: () => import("json-schema").JSONSchema4Type[];
3140
+ shift: () => import("json-schema").JSONSchema4Type;
3141
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
3142
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
3143
+ splice: {
3144
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
3145
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
3146
+ };
3147
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
3148
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
3149
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
3150
+ every: {
3151
+ <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[];
3152
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
3153
+ };
3154
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
3155
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
3156
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
3157
+ filter: {
3158
+ <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[];
3159
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
3160
+ };
3161
+ reduce: {
3162
+ (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;
3163
+ (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;
3164
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
3165
+ };
3166
+ reduceRight: {
3167
+ (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;
3168
+ (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;
3169
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
3170
+ };
3171
+ find: {
3172
+ <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;
3173
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
3174
+ };
3175
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
3176
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
3177
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
3178
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
3179
+ keys: () => ArrayIterator<number>;
3180
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
3181
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
3182
+ 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[];
3183
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
3184
+ at: (index: number) => import("json-schema").JSONSchema4Type;
3185
+ findLast: {
3186
+ <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;
3187
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
3188
+ };
3189
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
3190
+ toReversed: () => import("json-schema").JSONSchema4Type[];
3191
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
3192
+ toSpliced: {
3193
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
3194
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
3195
+ };
3196
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
3197
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
3198
+ readonly [Symbol.unscopables]: {
3199
+ [x: number]: boolean;
3200
+ length?: boolean;
3201
+ toString?: boolean;
3202
+ toLocaleString?: boolean;
3203
+ pop?: boolean;
3204
+ push?: boolean;
3205
+ concat?: boolean;
3206
+ join?: boolean;
3207
+ reverse?: boolean;
3208
+ shift?: boolean;
3209
+ slice?: boolean;
3210
+ sort?: boolean;
3211
+ splice?: boolean;
3212
+ unshift?: boolean;
3213
+ indexOf?: boolean;
3214
+ lastIndexOf?: boolean;
3215
+ every?: boolean;
3216
+ some?: boolean;
3217
+ forEach?: boolean;
3218
+ map?: boolean;
3219
+ filter?: boolean;
3220
+ reduce?: boolean;
3221
+ reduceRight?: boolean;
3222
+ find?: boolean;
3223
+ findIndex?: boolean;
3224
+ fill?: boolean;
3225
+ copyWithin?: boolean;
3226
+ entries?: boolean;
3227
+ keys?: boolean;
3228
+ values?: boolean;
3229
+ includes?: boolean;
3230
+ flatMap?: boolean;
3231
+ flat?: boolean;
3232
+ at?: boolean;
3233
+ findLast?: boolean;
3234
+ findLastIndex?: boolean;
3235
+ toReversed?: boolean;
3236
+ toSorted?: boolean;
3237
+ toSpliced?: boolean;
3238
+ with?: boolean;
3239
+ [Symbol.iterator]?: boolean;
3240
+ readonly [Symbol.unscopables]?: boolean;
3241
+ };
3242
+ };
3243
+ multipleOf?: number | undefined;
3244
+ maximum?: number | undefined;
3245
+ exclusiveMaximum?: boolean | undefined;
3246
+ minimum?: number | undefined;
3247
+ exclusiveMinimum?: boolean | undefined;
3248
+ maxLength?: number | undefined;
3249
+ minLength?: number | undefined;
3250
+ pattern?: string | undefined;
3251
+ additionalItems?: boolean | /*elided*/ any;
3252
+ items?: /*elided*/ any | /*elided*/ any[];
3253
+ maxItems?: number | undefined;
3254
+ minItems?: number | undefined;
3255
+ uniqueItems?: boolean | undefined;
3256
+ maxProperties?: number | undefined;
3257
+ minProperties?: number | undefined;
3258
+ required?: boolean | string[] | undefined;
3259
+ additionalProperties?: boolean | /*elided*/ any;
3260
+ definitions?: {
3261
+ [k: string]: import("json-schema").JSONSchema4;
3262
+ } | undefined;
3263
+ properties?: {
3264
+ [k: string]: import("json-schema").JSONSchema4;
3265
+ } | undefined;
3266
+ patternProperties?: {
3267
+ [k: string]: import("json-schema").JSONSchema4;
3268
+ } | undefined;
3269
+ dependencies?: {
3270
+ [k: string]: import("json-schema").JSONSchema4 | string[];
3271
+ } | undefined;
3272
+ enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
3273
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
3274
+ length: number;
3275
+ toString: () => string;
3276
+ toLocaleString: {
3277
+ (): string;
3278
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
3279
+ };
3280
+ pop: () => import("json-schema").JSONSchema4Type;
3281
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
3282
+ concat: {
3283
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
3284
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
3285
+ };
3286
+ join: (separator?: string) => string;
3287
+ reverse: () => import("json-schema").JSONSchema4Type[];
3288
+ shift: () => import("json-schema").JSONSchema4Type;
3289
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
3290
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
3291
+ splice: {
3292
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
3293
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
3294
+ };
3295
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
3296
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
3297
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
3298
+ every: {
3299
+ <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[];
3300
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
3301
+ };
3302
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
3303
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
3304
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
3305
+ filter: {
3306
+ <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[];
3307
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
3308
+ };
3309
+ reduce: {
3310
+ (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;
3311
+ (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;
3312
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
3313
+ };
3314
+ reduceRight: {
3315
+ (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;
3316
+ (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;
3317
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
3318
+ };
3319
+ find: {
3320
+ <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;
3321
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
3322
+ };
3323
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
3324
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
3325
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
3326
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
3327
+ keys: () => ArrayIterator<number>;
3328
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
3329
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
3330
+ 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[];
3331
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
3332
+ at: (index: number) => import("json-schema").JSONSchema4Type;
3333
+ findLast: {
3334
+ <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;
3335
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
3336
+ };
3337
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
3338
+ toReversed: () => import("json-schema").JSONSchema4Type[];
3339
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
3340
+ toSpliced: {
3341
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
3342
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
3343
+ };
3344
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
3345
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
3346
+ readonly [Symbol.unscopables]: {
3347
+ [x: number]: boolean;
3348
+ length?: boolean;
3349
+ toString?: boolean;
3350
+ toLocaleString?: boolean;
3351
+ pop?: boolean;
3352
+ push?: boolean;
3353
+ concat?: boolean;
3354
+ join?: boolean;
3355
+ reverse?: boolean;
3356
+ shift?: boolean;
3357
+ slice?: boolean;
3358
+ sort?: boolean;
3359
+ splice?: boolean;
3360
+ unshift?: boolean;
3361
+ indexOf?: boolean;
3362
+ lastIndexOf?: boolean;
3363
+ every?: boolean;
3364
+ some?: boolean;
3365
+ forEach?: boolean;
3366
+ map?: boolean;
3367
+ filter?: boolean;
3368
+ reduce?: boolean;
3369
+ reduceRight?: boolean;
3370
+ find?: boolean;
3371
+ findIndex?: boolean;
3372
+ fill?: boolean;
3373
+ copyWithin?: boolean;
3374
+ entries?: boolean;
3375
+ keys?: boolean;
3376
+ values?: boolean;
3377
+ includes?: boolean;
3378
+ flatMap?: boolean;
3379
+ flat?: boolean;
3380
+ at?: boolean;
3381
+ findLast?: boolean;
3382
+ findLastIndex?: boolean;
3383
+ toReversed?: boolean;
3384
+ toSorted?: boolean;
3385
+ toSpliced?: boolean;
3386
+ with?: boolean;
3387
+ [Symbol.iterator]?: boolean;
3388
+ readonly [Symbol.unscopables]?: boolean;
3389
+ };
3390
+ })[];
3391
+ type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
3392
+ allOf?: /*elided*/ any[];
3393
+ anyOf?: /*elided*/ any[];
3394
+ oneOf?: /*elided*/ any[];
3395
+ not?: /*elided*/ any;
3396
+ extends?: string | string[] | undefined;
3397
+ format?: string | undefined;
3398
+ };
3399
+ expiresAt?: string;
3400
+ metadata?: {
3401
+ ticket: {
3402
+ approvers: string[];
3403
+ sn: string;
3404
+ status: import("..").ApprovalInterruptTicketStatus;
3405
+ submit_time: string;
3406
+ title: string;
3407
+ url: string;
3408
+ };
3409
+ };
3410
+ } | {
3411
+ id: string;
3412
+ reason: import("..").InterruptReason.UserQuestion;
3413
+ message?: string;
3414
+ toolCallId?: string;
3415
+ responseSchema?: {
3416
+ [x: string]: any;
3417
+ id?: string | undefined;
3418
+ $ref?: string | undefined;
3419
+ $schema?: import("json-schema").JSONSchema4Version | undefined;
3420
+ title?: string | undefined;
3421
+ description?: string | undefined;
3422
+ default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
3423
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
3424
+ length: number;
3425
+ toString: () => string;
3426
+ toLocaleString: {
3427
+ (): string;
3428
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
3429
+ };
3430
+ pop: () => import("json-schema").JSONSchema4Type;
3431
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
3432
+ concat: {
3433
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
3434
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
3435
+ };
3436
+ join: (separator?: string) => string;
3437
+ reverse: () => import("json-schema").JSONSchema4Type[];
3438
+ shift: () => import("json-schema").JSONSchema4Type;
3439
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
3440
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
3441
+ splice: {
3442
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
3443
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
3444
+ };
3445
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
3446
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
3447
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
3448
+ every: {
3449
+ <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[];
3450
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
3451
+ };
3452
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
3453
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
3454
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
3455
+ filter: {
3456
+ <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[];
3457
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
3458
+ };
3459
+ reduce: {
3460
+ (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;
3461
+ (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;
3462
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
3463
+ };
3464
+ reduceRight: {
3465
+ (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;
3466
+ (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;
3467
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
3468
+ };
3469
+ find: {
3470
+ <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;
3471
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
3472
+ };
3473
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
3474
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
3475
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
3476
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
3477
+ keys: () => ArrayIterator<number>;
3478
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
3479
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
3480
+ 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[];
3481
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
3482
+ at: (index: number) => import("json-schema").JSONSchema4Type;
3483
+ findLast: {
3484
+ <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;
3485
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
3486
+ };
3487
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
3488
+ toReversed: () => import("json-schema").JSONSchema4Type[];
3489
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
3490
+ toSpliced: {
3491
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
3492
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
3493
+ };
3494
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
3495
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
3496
+ readonly [Symbol.unscopables]: {
3497
+ [x: number]: boolean;
3498
+ length?: boolean;
3499
+ toString?: boolean;
3500
+ toLocaleString?: boolean;
3501
+ pop?: boolean;
3502
+ push?: boolean;
3503
+ concat?: boolean;
3504
+ join?: boolean;
3505
+ reverse?: boolean;
3506
+ shift?: boolean;
3507
+ slice?: boolean;
3508
+ sort?: boolean;
3509
+ splice?: boolean;
3510
+ unshift?: boolean;
3511
+ indexOf?: boolean;
3512
+ lastIndexOf?: boolean;
3513
+ every?: boolean;
3514
+ some?: boolean;
3515
+ forEach?: boolean;
3516
+ map?: boolean;
3517
+ filter?: boolean;
3518
+ reduce?: boolean;
3519
+ reduceRight?: boolean;
3520
+ find?: boolean;
3521
+ findIndex?: boolean;
3522
+ fill?: boolean;
3523
+ copyWithin?: boolean;
3524
+ entries?: boolean;
3525
+ keys?: boolean;
3526
+ values?: boolean;
3527
+ includes?: boolean;
3528
+ flatMap?: boolean;
3529
+ flat?: boolean;
3530
+ at?: boolean;
3531
+ findLast?: boolean;
3532
+ findLastIndex?: boolean;
3533
+ toReversed?: boolean;
3534
+ toSorted?: boolean;
3535
+ toSpliced?: boolean;
3536
+ with?: boolean;
3537
+ [Symbol.iterator]?: boolean;
3538
+ readonly [Symbol.unscopables]?: boolean;
3539
+ };
3540
+ };
3541
+ multipleOf?: number | undefined;
3542
+ maximum?: number | undefined;
3543
+ exclusiveMaximum?: boolean | undefined;
3544
+ minimum?: number | undefined;
3545
+ exclusiveMinimum?: boolean | undefined;
3546
+ maxLength?: number | undefined;
3547
+ minLength?: number | undefined;
3548
+ pattern?: string | undefined;
3549
+ additionalItems?: boolean | /*elided*/ any;
3550
+ items?: /*elided*/ any | /*elided*/ any[];
3551
+ maxItems?: number | undefined;
3552
+ minItems?: number | undefined;
3553
+ uniqueItems?: boolean | undefined;
3554
+ maxProperties?: number | undefined;
3555
+ minProperties?: number | undefined;
3556
+ required?: boolean | string[] | undefined;
3557
+ additionalProperties?: boolean | /*elided*/ any;
3558
+ definitions?: {
3559
+ [k: string]: import("json-schema").JSONSchema4;
3560
+ } | undefined;
3561
+ properties?: {
3562
+ [k: string]: import("json-schema").JSONSchema4;
3563
+ } | undefined;
3564
+ patternProperties?: {
3565
+ [k: string]: import("json-schema").JSONSchema4;
3566
+ } | undefined;
3567
+ dependencies?: {
3568
+ [k: string]: import("json-schema").JSONSchema4 | string[];
3569
+ } | undefined;
3570
+ enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
3571
+ [x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
3572
+ length: number;
3573
+ toString: () => string;
3574
+ toLocaleString: {
3575
+ (): string;
3576
+ (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
3577
+ };
3578
+ pop: () => import("json-schema").JSONSchema4Type;
3579
+ push: (...items: import("json-schema").JSONSchema4Type[]) => number;
3580
+ concat: {
3581
+ (...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
3582
+ (...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
3583
+ };
3584
+ join: (separator?: string) => string;
3585
+ reverse: () => import("json-schema").JSONSchema4Type[];
3586
+ shift: () => import("json-schema").JSONSchema4Type;
3587
+ slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
3588
+ sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
3589
+ splice: {
3590
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
3591
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
3592
+ };
3593
+ unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
3594
+ indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
3595
+ lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
3596
+ every: {
3597
+ <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[];
3598
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
3599
+ };
3600
+ some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
3601
+ forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
3602
+ map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
3603
+ filter: {
3604
+ <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[];
3605
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
3606
+ };
3607
+ reduce: {
3608
+ (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;
3609
+ (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;
3610
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
3611
+ };
3612
+ reduceRight: {
3613
+ (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;
3614
+ (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;
3615
+ <U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
3616
+ };
3617
+ find: {
3618
+ <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;
3619
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
3620
+ };
3621
+ findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
3622
+ fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
3623
+ copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
3624
+ entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
3625
+ keys: () => ArrayIterator<number>;
3626
+ values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
3627
+ includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
3628
+ 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[];
3629
+ flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
3630
+ at: (index: number) => import("json-schema").JSONSchema4Type;
3631
+ findLast: {
3632
+ <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;
3633
+ (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
3634
+ };
3635
+ findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
3636
+ toReversed: () => import("json-schema").JSONSchema4Type[];
3637
+ toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
3638
+ toSpliced: {
3639
+ (start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
3640
+ (start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
3641
+ };
3642
+ with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
3643
+ [Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
3644
+ readonly [Symbol.unscopables]: {
3645
+ [x: number]: boolean;
3646
+ length?: boolean;
3647
+ toString?: boolean;
3648
+ toLocaleString?: boolean;
3649
+ pop?: boolean;
3650
+ push?: boolean;
3651
+ concat?: boolean;
3652
+ join?: boolean;
3653
+ reverse?: boolean;
3654
+ shift?: boolean;
3655
+ slice?: boolean;
3656
+ sort?: boolean;
3657
+ splice?: boolean;
3658
+ unshift?: boolean;
3659
+ indexOf?: boolean;
3660
+ lastIndexOf?: boolean;
3661
+ every?: boolean;
3662
+ some?: boolean;
3663
+ forEach?: boolean;
3664
+ map?: boolean;
3665
+ filter?: boolean;
3666
+ reduce?: boolean;
3667
+ reduceRight?: boolean;
3668
+ find?: boolean;
3669
+ findIndex?: boolean;
3670
+ fill?: boolean;
3671
+ copyWithin?: boolean;
3672
+ entries?: boolean;
3673
+ keys?: boolean;
3674
+ values?: boolean;
3675
+ includes?: boolean;
3676
+ flatMap?: boolean;
3677
+ flat?: boolean;
3678
+ at?: boolean;
3679
+ findLast?: boolean;
3680
+ findLastIndex?: boolean;
3681
+ toReversed?: boolean;
3682
+ toSorted?: boolean;
3683
+ toSpliced?: boolean;
3684
+ with?: boolean;
3685
+ [Symbol.iterator]?: boolean;
3686
+ readonly [Symbol.unscopables]?: boolean;
3687
+ };
3688
+ })[];
3689
+ type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
3690
+ allOf?: /*elided*/ any[];
3691
+ anyOf?: /*elided*/ any[];
3692
+ oneOf?: /*elided*/ any[];
3693
+ not?: /*elided*/ any;
3694
+ extends?: string | string[] | undefined;
3695
+ format?: string | undefined;
3696
+ };
3697
+ expiresAt?: string;
3698
+ metadata?: {
3699
+ questions: {
3700
+ header: string;
3701
+ multiSelect?: boolean;
3702
+ options?: {
3703
+ description: string;
3704
+ label: string;
3705
+ }[];
3706
+ question: string;
3707
+ }[];
3708
+ };
3709
+ })[];
3710
+ };
3711
+ timestamp?: number;
3712
+ };
3713
+ role: MessageRole.Interrupt;
3714
+ id?: string;
3715
+ messageId?: string;
3716
+ name?: string;
3717
+ sessionCode?: string;
3718
+ status: MessageStatus;
991
3719
  };
992
3720
  modifyMessage: (message: IMessage) => void;
993
3721
  plusMessage: (message: IMessage) => void;