@relayfx/test 0.2.15 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/index.js +1870 -1509
  2. package/dist/types/runtime/address/address-book-service.d.ts +3 -3
  3. package/dist/types/runtime/address/address-resolution-service.d.ts +41 -41
  4. package/dist/types/runtime/agent/agent-loop-service.d.ts +14 -5
  5. package/dist/types/runtime/agent/agent-registry-service.d.ts +2 -2
  6. package/dist/types/runtime/agent/prompt-assembler-service.d.ts +1 -1
  7. package/dist/types/runtime/agent/relay-tool-output.d.ts +4 -1
  8. package/dist/types/runtime/child/child-fan-out-admission-service.d.ts +1 -1
  9. package/dist/types/runtime/child/child-fan-out-runtime.d.ts +12 -8
  10. package/dist/types/runtime/child/child-fan-out-transition-service.d.ts +1 -1
  11. package/dist/types/runtime/child/child-run-service.d.ts +7 -4
  12. package/dist/types/runtime/child/parent-notifier-service.d.ts +4 -2
  13. package/dist/types/runtime/child/spawn-child-run-tool.d.ts +5 -4
  14. package/dist/types/runtime/cluster/execution-entity.d.ts +2 -2
  15. package/dist/types/runtime/content/artifact-store-service.d.ts +2 -2
  16. package/dist/types/runtime/content/blob-store-service.d.ts +1 -1
  17. package/dist/types/runtime/entity/entity-instance-service.d.ts +14 -5
  18. package/dist/types/runtime/entity/entity-registry-service.d.ts +2 -2
  19. package/dist/types/runtime/envelope/envelope-service.d.ts +2 -2
  20. package/dist/types/runtime/execution/active-execution-registry.d.ts +1 -1
  21. package/dist/types/runtime/execution/event-log-service.d.ts +28 -3
  22. package/dist/types/runtime/execution/execution-service.d.ts +1 -1
  23. package/dist/types/runtime/execution/execution-watch-service.d.ts +1 -1
  24. package/dist/types/runtime/execution/session-stream-service.d.ts +1 -1
  25. package/dist/types/runtime/inbox/inbox-service.d.ts +1 -1
  26. package/dist/types/runtime/memory/memory-service.d.ts +1 -1
  27. package/dist/types/runtime/model/embedding-model-service.d.ts +23 -10
  28. package/dist/types/runtime/model/language-model-service.d.ts +19 -6
  29. package/dist/types/runtime/model/model-call-policy.d.ts +1 -1
  30. package/dist/types/runtime/observability/runtime-metrics.d.ts +12 -3
  31. package/dist/types/runtime/presence/presence-service.d.ts +1 -1
  32. package/dist/types/runtime/presence/presence-tool.d.ts +1 -1
  33. package/dist/types/runtime/runner/runner-runtime-service.d.ts +19 -19
  34. package/dist/types/runtime/schedule/scheduler-service.d.ts +3 -3
  35. package/dist/types/runtime/schema-registry/schema-registry-service.d.ts +2 -2
  36. package/dist/types/runtime/session/session-store-service.d.ts +13 -4
  37. package/dist/types/runtime/skill/skill-registry-service.d.ts +2 -2
  38. package/dist/types/runtime/state/execution-state-service.d.ts +5 -2
  39. package/dist/types/runtime/tool/tool-runtime-service.d.ts +42 -19
  40. package/dist/types/runtime/tool/tool-transition-coordinator.d.ts +2 -2
  41. package/dist/types/runtime/topic/topic-service.d.ts +1 -1
  42. package/dist/types/runtime/wait/wait-service.d.ts +1 -1
  43. package/dist/types/runtime/wait/wait-signal.d.ts +12 -3
  44. package/dist/types/runtime/workflow/activity-version-registry.d.ts +7 -3
  45. package/dist/types/runtime/workflow/definition-runtime.d.ts +37 -22
  46. package/dist/types/runtime/workflow/execution-workflow.d.ts +105 -110
  47. package/dist/types/runtime/workspace/workspace-planner-service.d.ts +6 -6
  48. package/dist/types/runtime/workspace/workspace-provider-service.d.ts +11 -7
  49. package/dist/types/runtime/workspace/workspace-runtime-service.d.ts +1 -1
  50. package/dist/types/schema/agent-schema.d.ts +246 -246
  51. package/dist/types/schema/child-orchestration-schema.d.ts +64 -64
  52. package/dist/types/schema/execution-schema.d.ts +57 -57
  53. package/dist/types/schema/workflow-schema.d.ts +243 -243
  54. package/dist/types/schema/workspace-schema.d.ts +1 -1
  55. package/dist/types/test/captured-model.d.ts +10 -4
  56. package/dist/types/test/scripted-model.d.ts +16 -6
  57. package/dist/types/test/wait-test-kit.d.ts +4 -4
  58. package/package.json +2 -2
@@ -20,9 +20,9 @@ export declare const FanOutChild: Schema.Struct<{
20
20
  readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
21
21
  }>>;
22
22
  readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
23
- readonly context_window: Schema.Number;
24
- readonly reserve_tokens: Schema.Number;
25
- readonly keep_recent_tokens: Schema.Number;
23
+ readonly context_window: Schema.Finite;
24
+ readonly reserve_tokens: Schema.Finite;
25
+ readonly keep_recent_tokens: Schema.Finite;
26
26
  readonly summary_model: Schema.optionalKey<Schema.Struct<{
27
27
  readonly provider: Schema.String;
28
28
  readonly model: Schema.String;
@@ -117,9 +117,9 @@ export declare const FanOutDefinition: Schema.Struct<{
117
117
  readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
118
118
  }>>;
119
119
  readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
120
- readonly context_window: Schema.Number;
121
- readonly reserve_tokens: Schema.Number;
122
- readonly keep_recent_tokens: Schema.Number;
120
+ readonly context_window: Schema.Finite;
121
+ readonly reserve_tokens: Schema.Finite;
122
+ readonly keep_recent_tokens: Schema.Finite;
123
123
  readonly summary_model: Schema.optionalKey<Schema.Struct<{
124
124
  readonly provider: Schema.String;
125
125
  readonly model: Schema.String;
@@ -262,14 +262,50 @@ export declare const FanOutMember: Schema.Struct<{
262
262
  export interface FanOutMember extends Schema.Schema.Type<typeof FanOutMember> {
263
263
  }
264
264
  export declare const FanOutState: Schema.Struct<{
265
- readonly state: Schema.Literals<readonly ["joining", "satisfied", "failed", "cancelled"]>;
266
- readonly members: Schema.$Array<Schema.Struct<{
265
+ readonly fan_out_id: Schema.brand<Schema.String, "Relay.ChildFanOutId"> & {
266
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildFanOutId">;
267
+ };
268
+ readonly parent_execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
269
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
270
+ };
271
+ readonly children: Schema.$Array<Schema.Struct<{
267
272
  readonly child_execution_id: Schema.brand<Schema.String, "Relay.ChildExecutionId"> & {
268
273
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildExecutionId">;
269
274
  };
270
- readonly ordinal: Schema.Int;
271
- readonly state: Schema.Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
272
- readonly output: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
275
+ readonly address_id: Schema.brand<Schema.String, "Relay.AddressId"> & {
276
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AddressId">;
277
+ };
278
+ readonly override: Schema.optionalKey<Schema.Struct<{
279
+ readonly instructions: Schema.optionalKey<Schema.String>;
280
+ readonly model: Schema.optionalKey<Schema.Struct<{
281
+ readonly provider: Schema.String;
282
+ readonly model: Schema.String;
283
+ readonly registration_key: Schema.optionalKey<Schema.String>;
284
+ readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
285
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
286
+ }>>;
287
+ readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
288
+ readonly context_window: Schema.Finite;
289
+ readonly reserve_tokens: Schema.Finite;
290
+ readonly keep_recent_tokens: Schema.Finite;
291
+ readonly summary_model: Schema.optionalKey<Schema.Struct<{
292
+ readonly provider: Schema.String;
293
+ readonly model: Schema.String;
294
+ readonly registration_key: Schema.optionalKey<Schema.String>;
295
+ readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
296
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
297
+ }>>;
298
+ }>>;
299
+ readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
300
+ readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
301
+ readonly workspace_policy: Schema.optionalKey<Schema.Struct<{
302
+ readonly mode: Schema.Literals<readonly ["share", "fork"]>;
303
+ readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
304
+ }>>;
305
+ readonly output_schema_ref: Schema.optionalKey<Schema.String>;
306
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
307
+ }>>;
308
+ readonly input: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
273
309
  readonly type: Schema.Literal<"text">;
274
310
  readonly text: Schema.String;
275
311
  readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
@@ -318,56 +354,22 @@ export declare const FanOutState: Schema.Struct<{
318
354
  readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
319
355
  readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
320
356
  }>]>>>;
321
- readonly error: Schema.optionalKey<Schema.String>;
322
- readonly completed_at: Schema.optionalKey<Schema.Int>;
357
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
323
358
  }>>;
324
- readonly satisfied_at: Schema.optionalKey<Schema.Int>;
325
- readonly failed_at: Schema.optionalKey<Schema.Int>;
326
- readonly cancelled_at: Schema.optionalKey<Schema.Int>;
327
- readonly fan_out_id: Schema.brand<Schema.String, "Relay.ChildFanOutId"> & {
328
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildFanOutId">;
329
- };
330
- readonly parent_execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
331
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
332
- };
333
- readonly children: Schema.$Array<Schema.Struct<{
359
+ readonly max_concurrency: Schema.Int;
360
+ readonly join: Schema.Union<readonly [Schema.TaggedStruct<"all", {}>, Schema.TaggedStruct<"first-success", {}>, Schema.TaggedStruct<"quorum", {
361
+ readonly count: Schema.Int;
362
+ }>, Schema.TaggedStruct<"best-effort", {}>]>;
363
+ readonly created_at: Schema.Int;
364
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
365
+ readonly state: Schema.Literals<readonly ["joining", "satisfied", "failed", "cancelled"]>;
366
+ readonly members: Schema.$Array<Schema.Struct<{
334
367
  readonly child_execution_id: Schema.brand<Schema.String, "Relay.ChildExecutionId"> & {
335
368
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ChildExecutionId">;
336
369
  };
337
- readonly address_id: Schema.brand<Schema.String, "Relay.AddressId"> & {
338
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AddressId">;
339
- };
340
- readonly override: Schema.optionalKey<Schema.Struct<{
341
- readonly instructions: Schema.optionalKey<Schema.String>;
342
- readonly model: Schema.optionalKey<Schema.Struct<{
343
- readonly provider: Schema.String;
344
- readonly model: Schema.String;
345
- readonly registration_key: Schema.optionalKey<Schema.String>;
346
- readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
347
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
348
- }>>;
349
- readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
350
- readonly context_window: Schema.Number;
351
- readonly reserve_tokens: Schema.Number;
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
- }>>;
360
- }>>;
361
- readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
362
- readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
363
- readonly workspace_policy: Schema.optionalKey<Schema.Struct<{
364
- readonly mode: Schema.Literals<readonly ["share", "fork"]>;
365
- readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
366
- }>>;
367
- readonly output_schema_ref: Schema.optionalKey<Schema.String>;
368
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
369
- }>>;
370
- readonly input: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
370
+ readonly ordinal: Schema.Int;
371
+ readonly state: Schema.Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
372
+ readonly output: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
371
373
  readonly type: Schema.Literal<"text">;
372
374
  readonly text: Schema.String;
373
375
  readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
@@ -416,14 +418,12 @@ export declare const FanOutState: Schema.Struct<{
416
418
  readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
417
419
  readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
418
420
  }>]>>>;
419
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
421
+ readonly error: Schema.optionalKey<Schema.String>;
422
+ readonly completed_at: Schema.optionalKey<Schema.Int>;
420
423
  }>>;
421
- readonly max_concurrency: Schema.Int;
422
- readonly join: Schema.Union<readonly [Schema.TaggedStruct<"all", {}>, Schema.TaggedStruct<"first-success", {}>, Schema.TaggedStruct<"quorum", {
423
- readonly count: Schema.Int;
424
- }>, Schema.TaggedStruct<"best-effort", {}>]>;
425
- readonly created_at: Schema.Int;
426
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
424
+ readonly satisfied_at: Schema.optionalKey<Schema.Int>;
425
+ readonly failed_at: Schema.optionalKey<Schema.Int>;
426
+ readonly cancelled_at: Schema.optionalKey<Schema.Int>;
427
427
  }>;
428
428
  export interface FanOutState extends Schema.Schema.Type<typeof FanOutState> {
429
429
  }
@@ -20,29 +20,36 @@ export declare const Execution: Schema.Struct<{
20
20
  readonly agent_revision: Schema.optionalKey<Schema.Int>;
21
21
  readonly agent_snapshot: Schema.optionalKey<Schema.Codec<Definition, {
22
22
  readonly name: string;
23
- readonly permissions: readonly {
24
- readonly name: string;
25
- readonly value: Schema.Json;
26
- readonly metadata?: {
27
- readonly [x: string]: Schema.Json;
28
- };
29
- }[];
23
+ readonly instructions?: string;
30
24
  readonly model: {
31
25
  readonly provider: string;
32
26
  readonly model: string;
33
- readonly metadata?: {
34
- readonly [x: string]: Schema.Json;
35
- };
36
27
  readonly registration_key?: string;
37
28
  readonly request_options?: {
38
29
  readonly [x: string]: Schema.Json;
39
30
  };
31
+ readonly metadata?: {
32
+ readonly [x: string]: Schema.Json;
33
+ };
40
34
  };
41
35
  readonly tool_names: readonly string[];
42
- readonly metadata?: {
43
- readonly [x: string]: Schema.Json;
36
+ readonly permissions: readonly {
37
+ readonly name: string;
38
+ readonly value: Schema.Json;
39
+ readonly metadata?: {
40
+ readonly [x: string]: Schema.Json;
41
+ };
42
+ }[];
43
+ readonly skill_definition_ids?: readonly string[];
44
+ readonly permission_rules?: {
45
+ readonly rules: readonly {
46
+ readonly pattern: string;
47
+ readonly level: "allow" | "ask" | "deny";
48
+ readonly reason?: string;
49
+ }[];
50
+ readonly fallback?: "allow" | "ask" | "deny";
44
51
  };
45
- readonly instructions?: string;
52
+ readonly turn_policy?: import("./agent-schema").TurnPolicySnapshot;
46
53
  readonly compaction_policy?: {
47
54
  readonly context_window: number;
48
55
  readonly reserve_tokens: number;
@@ -50,47 +57,32 @@ export declare const Execution: Schema.Struct<{
50
57
  readonly summary_model?: {
51
58
  readonly provider: string;
52
59
  readonly model: string;
53
- readonly metadata?: {
54
- readonly [x: string]: Schema.Json;
55
- };
56
60
  readonly registration_key?: string;
57
61
  readonly request_options?: {
58
62
  readonly [x: string]: Schema.Json;
59
63
  };
64
+ readonly metadata?: {
65
+ readonly [x: string]: Schema.Json;
66
+ };
60
67
  };
61
68
  };
62
- readonly output_schema_ref?: string;
63
- readonly skill_definition_ids?: readonly string[];
64
- readonly permission_rules?: {
65
- readonly rules: readonly {
66
- readonly pattern: string;
67
- readonly level: "allow" | "deny" | "ask";
68
- readonly reason?: string;
69
- }[];
70
- readonly fallback?: "allow" | "deny" | "ask";
71
- };
72
- readonly turn_policy?: import("./agent-schema").TurnPolicySnapshot;
73
69
  readonly max_tool_turns?: number;
74
70
  readonly max_wait_turns?: number;
75
71
  readonly token_budget?: number;
76
72
  readonly child_run_presets?: {
77
73
  readonly [x: string]: {
78
- readonly metadata?: {
79
- readonly [x: string]: Schema.Json;
80
- };
81
- readonly permissions?: readonly string[];
74
+ readonly instructions?: string;
82
75
  readonly model?: {
83
76
  readonly provider: string;
84
77
  readonly model: string;
85
- readonly metadata?: {
86
- readonly [x: string]: Schema.Json;
87
- };
88
78
  readonly registration_key?: string;
89
79
  readonly request_options?: {
90
80
  readonly [x: string]: Schema.Json;
91
81
  };
82
+ readonly metadata?: {
83
+ readonly [x: string]: Schema.Json;
84
+ };
92
85
  };
93
- readonly instructions?: string;
94
86
  readonly compaction_policy?: {
95
87
  readonly context_window: number;
96
88
  readonly reserve_tokens: number;
@@ -98,27 +90,35 @@ export declare const Execution: Schema.Struct<{
98
90
  readonly summary_model?: {
99
91
  readonly provider: string;
100
92
  readonly model: string;
101
- readonly metadata?: {
102
- readonly [x: string]: Schema.Json;
103
- };
104
93
  readonly registration_key?: string;
105
94
  readonly request_options?: {
106
95
  readonly [x: string]: Schema.Json;
107
96
  };
97
+ readonly metadata?: {
98
+ readonly [x: string]: Schema.Json;
99
+ };
108
100
  };
109
101
  };
110
102
  readonly tool_names?: readonly string[];
103
+ readonly permissions?: readonly string[];
111
104
  readonly workspace_policy?: {
112
- readonly mode: "share" | "fork";
105
+ readonly mode: "fork" | "share";
113
106
  readonly fallback?: "fail" | "fresh";
114
107
  };
115
108
  readonly output_schema_ref?: string;
109
+ readonly metadata?: {
110
+ readonly [x: string]: Schema.Json;
111
+ };
116
112
  };
117
113
  };
118
114
  readonly handoff_targets?: readonly Schema.Struct.ReadonlySide<{
119
115
  readonly name: Schema.String;
120
116
  readonly preset_name: Schema.String;
121
117
  }, "Encoded">[];
118
+ readonly output_schema_ref?: string;
119
+ readonly metadata?: {
120
+ readonly [x: string]: Schema.Json;
121
+ };
122
122
  }, never, never>>;
123
123
  readonly agent_tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
124
124
  readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
@@ -139,9 +139,9 @@ export declare const ChildRunContext: Schema.Struct<{
139
139
  readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
140
140
  }>>;
141
141
  readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
142
- readonly context_window: Schema.Number;
143
- readonly reserve_tokens: Schema.Number;
144
- readonly keep_recent_tokens: Schema.Number;
142
+ readonly context_window: Schema.Finite;
143
+ readonly reserve_tokens: Schema.Finite;
144
+ readonly keep_recent_tokens: Schema.Finite;
145
145
  readonly summary_model: Schema.optionalKey<Schema.Struct<{
146
146
  readonly provider: Schema.String;
147
147
  readonly model: Schema.String;
@@ -167,9 +167,9 @@ export declare const ChildRunOverride: Schema.Struct<{
167
167
  readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
168
168
  }>>;
169
169
  readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
170
- readonly context_window: Schema.Number;
171
- readonly reserve_tokens: Schema.Number;
172
- readonly keep_recent_tokens: Schema.Number;
170
+ readonly context_window: Schema.Finite;
171
+ readonly reserve_tokens: Schema.Finite;
172
+ readonly keep_recent_tokens: Schema.Finite;
173
173
  readonly summary_model: Schema.optionalKey<Schema.Struct<{
174
174
  readonly provider: Schema.String;
175
175
  readonly model: Schema.String;
@@ -199,9 +199,9 @@ export declare const ChildRunPreset: Schema.Struct<{
199
199
  readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
200
200
  }>>;
201
201
  readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
202
- readonly context_window: Schema.Number;
203
- readonly reserve_tokens: Schema.Number;
204
- readonly keep_recent_tokens: Schema.Number;
202
+ readonly context_window: Schema.Finite;
203
+ readonly reserve_tokens: Schema.Finite;
204
+ readonly keep_recent_tokens: Schema.Finite;
205
205
  readonly summary_model: Schema.optionalKey<Schema.Struct<{
206
206
  readonly provider: Schema.String;
207
207
  readonly model: Schema.String;
@@ -241,9 +241,9 @@ export declare const SpawnChildRunInput: Schema.Struct<{
241
241
  readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
242
242
  }>>;
243
243
  readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
244
- readonly context_window: Schema.Number;
245
- readonly reserve_tokens: Schema.Number;
246
- readonly keep_recent_tokens: Schema.Number;
244
+ readonly context_window: Schema.Finite;
245
+ readonly reserve_tokens: Schema.Finite;
246
+ readonly keep_recent_tokens: Schema.Finite;
247
247
  readonly summary_model: Schema.optionalKey<Schema.Struct<{
248
248
  readonly provider: Schema.String;
249
249
  readonly model: Schema.String;
@@ -267,9 +267,9 @@ export declare const SpawnChildRunInput: Schema.Struct<{
267
267
  readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
268
268
  }>>;
269
269
  readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
270
- readonly context_window: Schema.Number;
271
- readonly reserve_tokens: Schema.Number;
272
- readonly keep_recent_tokens: Schema.Number;
270
+ readonly context_window: Schema.Finite;
271
+ readonly reserve_tokens: Schema.Finite;
272
+ readonly keep_recent_tokens: Schema.Finite;
273
273
  readonly summary_model: Schema.optionalKey<Schema.Struct<{
274
274
  readonly provider: Schema.String;
275
275
  readonly model: Schema.String;
@@ -297,9 +297,9 @@ export declare const SpawnChildRunInput: Schema.Struct<{
297
297
  readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
298
298
  }>>;
299
299
  readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
300
- readonly context_window: Schema.Number;
301
- readonly reserve_tokens: Schema.Number;
302
- readonly keep_recent_tokens: Schema.Number;
300
+ readonly context_window: Schema.Finite;
301
+ readonly reserve_tokens: Schema.Finite;
302
+ readonly keep_recent_tokens: Schema.Finite;
303
303
  readonly summary_model: Schema.optionalKey<Schema.Struct<{
304
304
  readonly provider: Schema.String;
305
305
  readonly model: Schema.String;