@relayfx/sdk 0.2.13 → 0.2.15

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.
Files changed (35) hide show
  1. package/dist/ai.js +2 -2
  2. package/dist/{index-kghdnamr.js → index-d8q4kfjy.js} +1 -1
  3. package/dist/index-gxskhyra.js +69 -0
  4. package/dist/{index-rmaq3qc8.js → index-xbbfagnb.js} +744 -395
  5. package/dist/{index-3e4cs8s6.js → index-z9xk02sv.js} +650 -531
  6. package/dist/index.js +10 -4
  7. package/dist/mysql.js +122 -0
  8. package/dist/postgres.js +77 -0
  9. package/dist/sqlite.js +84 -3
  10. package/dist/types/relay/client.d.ts +6 -4
  11. package/dist/types/relay/index.d.ts +3 -1
  12. package/dist/types/relay/migration-errors.d.ts +4 -0
  13. package/dist/types/relay/mysql-migrations.d.ts +1 -0
  14. package/dist/types/relay/mysql.d.ts +13 -0
  15. package/dist/types/relay/operation.d.ts +60 -10
  16. package/dist/types/relay/postgres.d.ts +13 -0
  17. package/dist/types/relay/runtime-capability-policy.d.ts +19 -0
  18. package/dist/types/relay/runtime-database-adapter.d.ts +12 -0
  19. package/dist/types/relay/runtime-database.d.ts +21 -0
  20. package/dist/types/relay/runtime.d.ts +198 -0
  21. package/dist/types/relay/sqlite-runtime.d.ts +9 -0
  22. package/dist/types/relay/sqlite.d.ts +2 -0
  23. package/dist/types/runtime/address/address-resolution-service.d.ts +32 -10
  24. package/dist/types/runtime/agent/relay-compaction.d.ts +3 -2
  25. package/dist/types/runtime/child/child-fan-out-runtime.d.ts +2 -0
  26. package/dist/types/runtime/child/spawn-child-run-tool.d.ts +7 -0
  27. package/dist/types/runtime/model/language-model-service.d.ts +1 -0
  28. package/dist/types/runtime/runner/runner-runtime-service.d.ts +30 -30
  29. package/dist/types/runtime/workflow/definition-runtime.d.ts +2 -0
  30. package/dist/types/runtime/workflow/execution-workflow.d.ts +64 -20
  31. package/dist/types/schema/agent-schema.d.ts +220 -60
  32. package/dist/types/schema/child-orchestration-schema.d.ts +21 -0
  33. package/dist/types/schema/execution-schema.d.ts +74 -10
  34. package/dist/types/store-sql/workflow/workflow-definition-repository.d.ts +6 -2
  35. package/package.json +11 -2
@@ -103,11 +103,22 @@ export declare const StartInput: Schema.Struct<{
103
103
  readonly [x: string]: Schema.Json;
104
104
  };
105
105
  readonly instructions?: string;
106
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
107
- readonly context_window: Schema.Number;
108
- readonly reserve_tokens: Schema.Number;
109
- readonly keep_recent_tokens: Schema.Number;
110
- }, "Encoded">;
106
+ readonly compaction_policy?: {
107
+ readonly context_window: number;
108
+ readonly reserve_tokens: number;
109
+ readonly keep_recent_tokens: number;
110
+ readonly summary_model?: {
111
+ readonly provider: string;
112
+ readonly model: string;
113
+ readonly metadata?: {
114
+ readonly [x: string]: Schema.Json;
115
+ };
116
+ readonly registration_key?: string;
117
+ readonly request_options?: {
118
+ readonly [x: string]: Schema.Json;
119
+ };
120
+ };
121
+ };
111
122
  readonly output_schema_ref?: string;
112
123
  readonly skill_definition_ids?: readonly string[];
113
124
  readonly permission_rules?: {
@@ -140,11 +151,22 @@ export declare const StartInput: Schema.Struct<{
140
151
  };
141
152
  };
142
153
  readonly instructions?: string;
143
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
144
- readonly context_window: Schema.Number;
145
- readonly reserve_tokens: Schema.Number;
146
- readonly keep_recent_tokens: Schema.Number;
147
- }, "Encoded">;
154
+ readonly compaction_policy?: {
155
+ readonly context_window: number;
156
+ readonly reserve_tokens: number;
157
+ readonly keep_recent_tokens: number;
158
+ readonly summary_model?: {
159
+ readonly provider: string;
160
+ readonly model: string;
161
+ readonly metadata?: {
162
+ readonly [x: string]: Schema.Json;
163
+ };
164
+ readonly registration_key?: string;
165
+ readonly request_options?: {
166
+ readonly [x: string]: Schema.Json;
167
+ };
168
+ };
169
+ };
148
170
  readonly tool_names?: readonly string[];
149
171
  readonly workspace_policy?: {
150
172
  readonly mode: "share" | "fork";
@@ -371,11 +393,22 @@ export declare const StartExecutionWorkflow: Workflow.Workflow<"Relay/Execution/
371
393
  readonly [x: string]: Schema.Json;
372
394
  };
373
395
  readonly instructions?: string;
374
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
375
- readonly context_window: Schema.Number;
376
- readonly reserve_tokens: Schema.Number;
377
- readonly keep_recent_tokens: Schema.Number;
378
- }, "Encoded">;
396
+ readonly compaction_policy?: {
397
+ readonly context_window: number;
398
+ readonly reserve_tokens: number;
399
+ readonly keep_recent_tokens: number;
400
+ readonly summary_model?: {
401
+ readonly provider: string;
402
+ readonly model: string;
403
+ readonly metadata?: {
404
+ readonly [x: string]: Schema.Json;
405
+ };
406
+ readonly registration_key?: string;
407
+ readonly request_options?: {
408
+ readonly [x: string]: Schema.Json;
409
+ };
410
+ };
411
+ };
379
412
  readonly output_schema_ref?: string;
380
413
  readonly skill_definition_ids?: readonly string[];
381
414
  readonly permission_rules?: {
@@ -408,11 +441,22 @@ export declare const StartExecutionWorkflow: Workflow.Workflow<"Relay/Execution/
408
441
  };
409
442
  };
410
443
  readonly instructions?: string;
411
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
412
- readonly context_window: Schema.Number;
413
- readonly reserve_tokens: Schema.Number;
414
- readonly keep_recent_tokens: Schema.Number;
415
- }, "Encoded">;
444
+ readonly compaction_policy?: {
445
+ readonly context_window: number;
446
+ readonly reserve_tokens: number;
447
+ readonly keep_recent_tokens: number;
448
+ readonly summary_model?: {
449
+ readonly provider: string;
450
+ readonly model: string;
451
+ readonly metadata?: {
452
+ readonly [x: string]: Schema.Json;
453
+ };
454
+ readonly registration_key?: string;
455
+ readonly request_options?: {
456
+ readonly [x: string]: Schema.Json;
457
+ };
458
+ };
459
+ };
416
460
  readonly tool_names?: readonly string[];
417
461
  readonly workspace_policy?: {
418
462
  readonly mode: "share" | "fork";
@@ -17,6 +17,13 @@ export declare const CompactionPolicy: Schema.Struct<{
17
17
  readonly context_window: Schema.Number;
18
18
  readonly reserve_tokens: Schema.Number;
19
19
  readonly keep_recent_tokens: Schema.Number;
20
+ readonly summary_model: Schema.optionalKey<Schema.Struct<{
21
+ readonly provider: Schema.String;
22
+ readonly model: Schema.String;
23
+ readonly registration_key: Schema.optionalKey<Schema.String>;
24
+ readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
25
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
26
+ }>>;
20
27
  }>;
21
28
  export interface CompactionPolicy extends Schema.Schema.Type<typeof CompactionPolicy> {
22
29
  }
@@ -39,6 +46,13 @@ export declare const ChildRunPreset: Schema.Struct<{
39
46
  readonly context_window: Schema.Number;
40
47
  readonly reserve_tokens: Schema.Number;
41
48
  readonly keep_recent_tokens: Schema.Number;
49
+ readonly summary_model: Schema.optionalKey<Schema.Struct<{
50
+ readonly provider: Schema.String;
51
+ readonly model: Schema.String;
52
+ readonly registration_key: Schema.optionalKey<Schema.String>;
53
+ readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
54
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
55
+ }>>;
42
56
  }>>;
43
57
  readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
44
58
  readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
@@ -130,6 +144,13 @@ declare const DefinitionSchema: Schema.Struct<{
130
144
  readonly context_window: Schema.Number;
131
145
  readonly reserve_tokens: Schema.Number;
132
146
  readonly keep_recent_tokens: Schema.Number;
147
+ readonly summary_model: Schema.optionalKey<Schema.Struct<{
148
+ readonly provider: Schema.String;
149
+ readonly model: Schema.String;
150
+ readonly registration_key: Schema.optionalKey<Schema.String>;
151
+ readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
152
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
153
+ }>>;
133
154
  }>>;
134
155
  readonly max_tool_turns: Schema.optionalKey<Schema.Int>;
135
156
  readonly max_wait_turns: Schema.optionalKey<Schema.Int>;
@@ -147,6 +168,13 @@ declare const DefinitionSchema: Schema.Struct<{
147
168
  readonly context_window: Schema.Number;
148
169
  readonly reserve_tokens: Schema.Number;
149
170
  readonly keep_recent_tokens: Schema.Number;
171
+ readonly summary_model: Schema.optionalKey<Schema.Struct<{
172
+ readonly provider: Schema.String;
173
+ readonly model: Schema.String;
174
+ readonly registration_key: Schema.optionalKey<Schema.String>;
175
+ readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
176
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
177
+ }>>;
150
178
  }>>;
151
179
  readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
152
180
  readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
@@ -222,11 +250,22 @@ export declare const DefinitionRecord: Schema.Struct<{
222
250
  readonly [x: string]: Schema.Json;
223
251
  };
224
252
  readonly instructions?: string;
225
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
226
- readonly context_window: Schema.Number;
227
- readonly reserve_tokens: Schema.Number;
228
- readonly keep_recent_tokens: Schema.Number;
229
- }, "Encoded">;
253
+ readonly compaction_policy?: {
254
+ readonly context_window: number;
255
+ readonly reserve_tokens: number;
256
+ readonly keep_recent_tokens: number;
257
+ readonly summary_model?: {
258
+ readonly provider: string;
259
+ readonly model: string;
260
+ readonly metadata?: {
261
+ readonly [x: string]: Schema.Json;
262
+ };
263
+ readonly registration_key?: string;
264
+ readonly request_options?: {
265
+ readonly [x: string]: Schema.Json;
266
+ };
267
+ };
268
+ };
230
269
  readonly output_schema_ref?: string;
231
270
  readonly skill_definition_ids?: readonly string[];
232
271
  readonly permission_rules?: {
@@ -259,11 +298,22 @@ export declare const DefinitionRecord: Schema.Struct<{
259
298
  };
260
299
  };
261
300
  readonly instructions?: string;
262
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
263
- readonly context_window: Schema.Number;
264
- readonly reserve_tokens: Schema.Number;
265
- readonly keep_recent_tokens: Schema.Number;
266
- }, "Encoded">;
301
+ readonly compaction_policy?: {
302
+ readonly context_window: number;
303
+ readonly reserve_tokens: number;
304
+ readonly keep_recent_tokens: number;
305
+ readonly summary_model?: {
306
+ readonly provider: string;
307
+ readonly model: string;
308
+ readonly metadata?: {
309
+ readonly [x: string]: Schema.Json;
310
+ };
311
+ readonly registration_key?: string;
312
+ readonly request_options?: {
313
+ readonly [x: string]: Schema.Json;
314
+ };
315
+ };
316
+ };
267
317
  readonly tool_names?: readonly string[];
268
318
  readonly workspace_policy?: {
269
319
  readonly mode: "share" | "fork";
@@ -313,11 +363,22 @@ export declare const DefinitionRevisionRecord: Schema.Struct<{
313
363
  readonly [x: string]: Schema.Json;
314
364
  };
315
365
  readonly instructions?: string;
316
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
317
- readonly context_window: Schema.Number;
318
- readonly reserve_tokens: Schema.Number;
319
- readonly keep_recent_tokens: Schema.Number;
320
- }, "Encoded">;
366
+ readonly compaction_policy?: {
367
+ readonly context_window: number;
368
+ readonly reserve_tokens: number;
369
+ readonly keep_recent_tokens: number;
370
+ readonly summary_model?: {
371
+ readonly provider: string;
372
+ readonly model: string;
373
+ readonly metadata?: {
374
+ readonly [x: string]: Schema.Json;
375
+ };
376
+ readonly registration_key?: string;
377
+ readonly request_options?: {
378
+ readonly [x: string]: Schema.Json;
379
+ };
380
+ };
381
+ };
321
382
  readonly output_schema_ref?: string;
322
383
  readonly skill_definition_ids?: readonly string[];
323
384
  readonly permission_rules?: {
@@ -350,11 +411,22 @@ export declare const DefinitionRevisionRecord: Schema.Struct<{
350
411
  };
351
412
  };
352
413
  readonly instructions?: string;
353
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
354
- readonly context_window: Schema.Number;
355
- readonly reserve_tokens: Schema.Number;
356
- readonly keep_recent_tokens: Schema.Number;
357
- }, "Encoded">;
414
+ readonly compaction_policy?: {
415
+ readonly context_window: number;
416
+ readonly reserve_tokens: number;
417
+ readonly keep_recent_tokens: number;
418
+ readonly summary_model?: {
419
+ readonly provider: string;
420
+ readonly model: string;
421
+ readonly metadata?: {
422
+ readonly [x: string]: Schema.Json;
423
+ };
424
+ readonly registration_key?: string;
425
+ readonly request_options?: {
426
+ readonly [x: string]: Schema.Json;
427
+ };
428
+ };
429
+ };
358
430
  readonly tool_names?: readonly string[];
359
431
  readonly workspace_policy?: {
360
432
  readonly mode: "share" | "fork";
@@ -402,11 +474,22 @@ export declare const RegisterDefinitionPayload: Schema.Struct<{
402
474
  readonly [x: string]: Schema.Json;
403
475
  };
404
476
  readonly instructions?: string;
405
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
406
- readonly context_window: Schema.Number;
407
- readonly reserve_tokens: Schema.Number;
408
- readonly keep_recent_tokens: Schema.Number;
409
- }, "Encoded">;
477
+ readonly compaction_policy?: {
478
+ readonly context_window: number;
479
+ readonly reserve_tokens: number;
480
+ readonly keep_recent_tokens: number;
481
+ readonly summary_model?: {
482
+ readonly provider: string;
483
+ readonly model: string;
484
+ readonly metadata?: {
485
+ readonly [x: string]: Schema.Json;
486
+ };
487
+ readonly registration_key?: string;
488
+ readonly request_options?: {
489
+ readonly [x: string]: Schema.Json;
490
+ };
491
+ };
492
+ };
410
493
  readonly output_schema_ref?: string;
411
494
  readonly skill_definition_ids?: readonly string[];
412
495
  readonly permission_rules?: {
@@ -439,11 +522,22 @@ export declare const RegisterDefinitionPayload: Schema.Struct<{
439
522
  };
440
523
  };
441
524
  readonly instructions?: string;
442
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
443
- readonly context_window: Schema.Number;
444
- readonly reserve_tokens: Schema.Number;
445
- readonly keep_recent_tokens: Schema.Number;
446
- }, "Encoded">;
525
+ readonly compaction_policy?: {
526
+ readonly context_window: number;
527
+ readonly reserve_tokens: number;
528
+ readonly keep_recent_tokens: number;
529
+ readonly summary_model?: {
530
+ readonly provider: string;
531
+ readonly model: string;
532
+ readonly metadata?: {
533
+ readonly [x: string]: Schema.Json;
534
+ };
535
+ readonly registration_key?: string;
536
+ readonly request_options?: {
537
+ readonly [x: string]: Schema.Json;
538
+ };
539
+ };
540
+ };
447
541
  readonly tool_names?: readonly string[];
448
542
  readonly workspace_policy?: {
449
543
  readonly mode: "share" | "fork";
@@ -491,11 +585,22 @@ export declare const DefinitionRegistered: Schema.Struct<{
491
585
  readonly [x: string]: Schema.Json;
492
586
  };
493
587
  readonly instructions?: string;
494
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
495
- readonly context_window: Schema.Number;
496
- readonly reserve_tokens: Schema.Number;
497
- readonly keep_recent_tokens: Schema.Number;
498
- }, "Encoded">;
588
+ readonly compaction_policy?: {
589
+ readonly context_window: number;
590
+ readonly reserve_tokens: number;
591
+ readonly keep_recent_tokens: number;
592
+ readonly summary_model?: {
593
+ readonly provider: string;
594
+ readonly model: string;
595
+ readonly metadata?: {
596
+ readonly [x: string]: Schema.Json;
597
+ };
598
+ readonly registration_key?: string;
599
+ readonly request_options?: {
600
+ readonly [x: string]: Schema.Json;
601
+ };
602
+ };
603
+ };
499
604
  readonly output_schema_ref?: string;
500
605
  readonly skill_definition_ids?: readonly string[];
501
606
  readonly permission_rules?: {
@@ -528,11 +633,22 @@ export declare const DefinitionRegistered: Schema.Struct<{
528
633
  };
529
634
  };
530
635
  readonly instructions?: string;
531
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
532
- readonly context_window: Schema.Number;
533
- readonly reserve_tokens: Schema.Number;
534
- readonly keep_recent_tokens: Schema.Number;
535
- }, "Encoded">;
636
+ readonly compaction_policy?: {
637
+ readonly context_window: number;
638
+ readonly reserve_tokens: number;
639
+ readonly keep_recent_tokens: number;
640
+ readonly summary_model?: {
641
+ readonly provider: string;
642
+ readonly model: string;
643
+ readonly metadata?: {
644
+ readonly [x: string]: Schema.Json;
645
+ };
646
+ readonly registration_key?: string;
647
+ readonly request_options?: {
648
+ readonly [x: string]: Schema.Json;
649
+ };
650
+ };
651
+ };
536
652
  readonly tool_names?: readonly string[];
537
653
  readonly workspace_policy?: {
538
654
  readonly mode: "share" | "fork";
@@ -584,11 +700,22 @@ export declare const DefinitionList: Schema.Struct<{
584
700
  readonly [x: string]: Schema.Json;
585
701
  };
586
702
  readonly instructions?: string;
587
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
588
- readonly context_window: Schema.Number;
589
- readonly reserve_tokens: Schema.Number;
590
- readonly keep_recent_tokens: Schema.Number;
591
- }, "Encoded">;
703
+ readonly compaction_policy?: {
704
+ readonly context_window: number;
705
+ readonly reserve_tokens: number;
706
+ readonly keep_recent_tokens: number;
707
+ readonly summary_model?: {
708
+ readonly provider: string;
709
+ readonly model: string;
710
+ readonly metadata?: {
711
+ readonly [x: string]: Schema.Json;
712
+ };
713
+ readonly registration_key?: string;
714
+ readonly request_options?: {
715
+ readonly [x: string]: Schema.Json;
716
+ };
717
+ };
718
+ };
592
719
  readonly output_schema_ref?: string;
593
720
  readonly skill_definition_ids?: readonly string[];
594
721
  readonly permission_rules?: {
@@ -621,11 +748,22 @@ export declare const DefinitionList: Schema.Struct<{
621
748
  };
622
749
  };
623
750
  readonly instructions?: string;
624
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
625
- readonly context_window: Schema.Number;
626
- readonly reserve_tokens: Schema.Number;
627
- readonly keep_recent_tokens: Schema.Number;
628
- }, "Encoded">;
751
+ readonly compaction_policy?: {
752
+ readonly context_window: number;
753
+ readonly reserve_tokens: number;
754
+ readonly keep_recent_tokens: number;
755
+ readonly summary_model?: {
756
+ readonly provider: string;
757
+ readonly model: string;
758
+ readonly metadata?: {
759
+ readonly [x: string]: Schema.Json;
760
+ };
761
+ readonly registration_key?: string;
762
+ readonly request_options?: {
763
+ readonly [x: string]: Schema.Json;
764
+ };
765
+ };
766
+ };
629
767
  readonly tool_names?: readonly string[];
630
768
  readonly workspace_policy?: {
631
769
  readonly mode: "share" | "fork";
@@ -677,11 +815,22 @@ export declare const DefinitionRevisionList: Schema.Struct<{
677
815
  readonly [x: string]: Schema.Json;
678
816
  };
679
817
  readonly instructions?: string;
680
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
681
- readonly context_window: Schema.Number;
682
- readonly reserve_tokens: Schema.Number;
683
- readonly keep_recent_tokens: Schema.Number;
684
- }, "Encoded">;
818
+ readonly compaction_policy?: {
819
+ readonly context_window: number;
820
+ readonly reserve_tokens: number;
821
+ readonly keep_recent_tokens: number;
822
+ readonly summary_model?: {
823
+ readonly provider: string;
824
+ readonly model: string;
825
+ readonly metadata?: {
826
+ readonly [x: string]: Schema.Json;
827
+ };
828
+ readonly registration_key?: string;
829
+ readonly request_options?: {
830
+ readonly [x: string]: Schema.Json;
831
+ };
832
+ };
833
+ };
685
834
  readonly output_schema_ref?: string;
686
835
  readonly skill_definition_ids?: readonly string[];
687
836
  readonly permission_rules?: {
@@ -714,11 +863,22 @@ export declare const DefinitionRevisionList: Schema.Struct<{
714
863
  };
715
864
  };
716
865
  readonly instructions?: string;
717
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
718
- readonly context_window: Schema.Number;
719
- readonly reserve_tokens: Schema.Number;
720
- readonly keep_recent_tokens: Schema.Number;
721
- }, "Encoded">;
866
+ readonly compaction_policy?: {
867
+ readonly context_window: number;
868
+ readonly reserve_tokens: number;
869
+ readonly keep_recent_tokens: number;
870
+ readonly summary_model?: {
871
+ readonly provider: string;
872
+ readonly model: string;
873
+ readonly metadata?: {
874
+ readonly [x: string]: Schema.Json;
875
+ };
876
+ readonly registration_key?: string;
877
+ readonly request_options?: {
878
+ readonly [x: string]: Schema.Json;
879
+ };
880
+ };
881
+ };
722
882
  readonly tool_names?: readonly string[];
723
883
  readonly workspace_policy?: {
724
884
  readonly mode: "share" | "fork";
@@ -23,6 +23,13 @@ export declare const FanOutChild: Schema.Struct<{
23
23
  readonly context_window: Schema.Number;
24
24
  readonly reserve_tokens: Schema.Number;
25
25
  readonly keep_recent_tokens: Schema.Number;
26
+ readonly summary_model: Schema.optionalKey<Schema.Struct<{
27
+ readonly provider: Schema.String;
28
+ readonly model: Schema.String;
29
+ readonly registration_key: Schema.optionalKey<Schema.String>;
30
+ readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
31
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
32
+ }>>;
26
33
  }>>;
27
34
  readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
28
35
  readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
@@ -113,6 +120,13 @@ export declare const FanOutDefinition: Schema.Struct<{
113
120
  readonly context_window: Schema.Number;
114
121
  readonly reserve_tokens: Schema.Number;
115
122
  readonly keep_recent_tokens: Schema.Number;
123
+ readonly summary_model: Schema.optionalKey<Schema.Struct<{
124
+ readonly provider: Schema.String;
125
+ readonly model: Schema.String;
126
+ readonly registration_key: Schema.optionalKey<Schema.String>;
127
+ readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
128
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
129
+ }>>;
116
130
  }>>;
117
131
  readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
118
132
  readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
@@ -336,6 +350,13 @@ export declare const FanOutState: Schema.Struct<{
336
350
  readonly context_window: Schema.Number;
337
351
  readonly reserve_tokens: Schema.Number;
338
352
  readonly keep_recent_tokens: Schema.Number;
353
+ readonly summary_model: Schema.optionalKey<Schema.Struct<{
354
+ readonly provider: Schema.String;
355
+ readonly model: Schema.String;
356
+ readonly registration_key: Schema.optionalKey<Schema.String>;
357
+ readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
358
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
359
+ }>>;
339
360
  }>>;
340
361
  readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
341
362
  readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;