@relayfx/test 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.
- package/dist/index.js +177 -95
- package/dist/types/runtime/address/address-resolution-service.d.ts +32 -10
- package/dist/types/runtime/agent/relay-compaction.d.ts +3 -2
- package/dist/types/runtime/child/child-fan-out-runtime.d.ts +2 -0
- package/dist/types/runtime/child/spawn-child-run-tool.d.ts +7 -0
- package/dist/types/runtime/model/language-model-service.d.ts +1 -0
- package/dist/types/runtime/runner/runner-runtime-service.d.ts +30 -30
- package/dist/types/runtime/workflow/definition-runtime.d.ts +2 -0
- package/dist/types/runtime/workflow/execution-workflow.d.ts +64 -20
- package/dist/types/schema/agent-schema.d.ts +220 -60
- package/dist/types/schema/child-orchestration-schema.d.ts +21 -0
- package/dist/types/schema/execution-schema.d.ts +74 -10
- package/package.json +2 -2
|
@@ -43,11 +43,22 @@ export declare const Execution: Schema.Struct<{
|
|
|
43
43
|
readonly [x: string]: Schema.Json;
|
|
44
44
|
};
|
|
45
45
|
readonly instructions?: string;
|
|
46
|
-
readonly compaction_policy?:
|
|
47
|
-
readonly context_window:
|
|
48
|
-
readonly reserve_tokens:
|
|
49
|
-
readonly keep_recent_tokens:
|
|
50
|
-
|
|
46
|
+
readonly compaction_policy?: {
|
|
47
|
+
readonly context_window: number;
|
|
48
|
+
readonly reserve_tokens: number;
|
|
49
|
+
readonly keep_recent_tokens: number;
|
|
50
|
+
readonly summary_model?: {
|
|
51
|
+
readonly provider: string;
|
|
52
|
+
readonly model: string;
|
|
53
|
+
readonly metadata?: {
|
|
54
|
+
readonly [x: string]: Schema.Json;
|
|
55
|
+
};
|
|
56
|
+
readonly registration_key?: string;
|
|
57
|
+
readonly request_options?: {
|
|
58
|
+
readonly [x: string]: Schema.Json;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
51
62
|
readonly output_schema_ref?: string;
|
|
52
63
|
readonly skill_definition_ids?: readonly string[];
|
|
53
64
|
readonly permission_rules?: {
|
|
@@ -80,11 +91,22 @@ export declare const Execution: Schema.Struct<{
|
|
|
80
91
|
};
|
|
81
92
|
};
|
|
82
93
|
readonly instructions?: string;
|
|
83
|
-
readonly compaction_policy?:
|
|
84
|
-
readonly context_window:
|
|
85
|
-
readonly reserve_tokens:
|
|
86
|
-
readonly keep_recent_tokens:
|
|
87
|
-
|
|
94
|
+
readonly compaction_policy?: {
|
|
95
|
+
readonly context_window: number;
|
|
96
|
+
readonly reserve_tokens: number;
|
|
97
|
+
readonly keep_recent_tokens: number;
|
|
98
|
+
readonly summary_model?: {
|
|
99
|
+
readonly provider: string;
|
|
100
|
+
readonly model: string;
|
|
101
|
+
readonly metadata?: {
|
|
102
|
+
readonly [x: string]: Schema.Json;
|
|
103
|
+
};
|
|
104
|
+
readonly registration_key?: string;
|
|
105
|
+
readonly request_options?: {
|
|
106
|
+
readonly [x: string]: Schema.Json;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
88
110
|
readonly tool_names?: readonly string[];
|
|
89
111
|
readonly workspace_policy?: {
|
|
90
112
|
readonly mode: "share" | "fork";
|
|
@@ -120,6 +142,13 @@ export declare const ChildRunContext: Schema.Struct<{
|
|
|
120
142
|
readonly context_window: Schema.Number;
|
|
121
143
|
readonly reserve_tokens: Schema.Number;
|
|
122
144
|
readonly keep_recent_tokens: Schema.Number;
|
|
145
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
146
|
+
readonly provider: Schema.String;
|
|
147
|
+
readonly model: Schema.String;
|
|
148
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
149
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
150
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
151
|
+
}>>;
|
|
123
152
|
}>>;
|
|
124
153
|
readonly tool_names: Schema.$Array<Schema.String>;
|
|
125
154
|
readonly permissions: Schema.$Array<Schema.String>;
|
|
@@ -141,6 +170,13 @@ export declare const ChildRunOverride: Schema.Struct<{
|
|
|
141
170
|
readonly context_window: Schema.Number;
|
|
142
171
|
readonly reserve_tokens: Schema.Number;
|
|
143
172
|
readonly keep_recent_tokens: Schema.Number;
|
|
173
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
174
|
+
readonly provider: Schema.String;
|
|
175
|
+
readonly model: Schema.String;
|
|
176
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
177
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
178
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
179
|
+
}>>;
|
|
144
180
|
}>>;
|
|
145
181
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
146
182
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
@@ -166,6 +202,13 @@ export declare const ChildRunPreset: Schema.Struct<{
|
|
|
166
202
|
readonly context_window: Schema.Number;
|
|
167
203
|
readonly reserve_tokens: Schema.Number;
|
|
168
204
|
readonly keep_recent_tokens: Schema.Number;
|
|
205
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
206
|
+
readonly provider: Schema.String;
|
|
207
|
+
readonly model: Schema.String;
|
|
208
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
209
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
210
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
211
|
+
}>>;
|
|
169
212
|
}>>;
|
|
170
213
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
171
214
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
@@ -201,6 +244,13 @@ export declare const SpawnChildRunInput: Schema.Struct<{
|
|
|
201
244
|
readonly context_window: Schema.Number;
|
|
202
245
|
readonly reserve_tokens: Schema.Number;
|
|
203
246
|
readonly keep_recent_tokens: Schema.Number;
|
|
247
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
248
|
+
readonly provider: Schema.String;
|
|
249
|
+
readonly model: Schema.String;
|
|
250
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
251
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
252
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
253
|
+
}>>;
|
|
204
254
|
}>>;
|
|
205
255
|
readonly tool_names: Schema.$Array<Schema.String>;
|
|
206
256
|
readonly permissions: Schema.$Array<Schema.String>;
|
|
@@ -220,6 +270,13 @@ export declare const SpawnChildRunInput: Schema.Struct<{
|
|
|
220
270
|
readonly context_window: Schema.Number;
|
|
221
271
|
readonly reserve_tokens: Schema.Number;
|
|
222
272
|
readonly keep_recent_tokens: Schema.Number;
|
|
273
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
274
|
+
readonly provider: Schema.String;
|
|
275
|
+
readonly model: Schema.String;
|
|
276
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
277
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
278
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
279
|
+
}>>;
|
|
223
280
|
}>>;
|
|
224
281
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
225
282
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
@@ -243,6 +300,13 @@ export declare const SpawnChildRunInput: Schema.Struct<{
|
|
|
243
300
|
readonly context_window: Schema.Number;
|
|
244
301
|
readonly reserve_tokens: Schema.Number;
|
|
245
302
|
readonly keep_recent_tokens: Schema.Number;
|
|
303
|
+
readonly summary_model: Schema.optionalKey<Schema.Struct<{
|
|
304
|
+
readonly provider: Schema.String;
|
|
305
|
+
readonly model: Schema.String;
|
|
306
|
+
readonly registration_key: Schema.optionalKey<Schema.String>;
|
|
307
|
+
readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
308
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
309
|
+
}>>;
|
|
246
310
|
}>>;
|
|
247
311
|
readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
248
312
|
readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@relayfx/test",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.15",
|
|
5
5
|
"description": "Experimental deterministic test kit for Relay applications",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"typecheck": "bun tsc --noEmit"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@relayfx/sdk": "0.2.
|
|
39
|
+
"@relayfx/sdk": "0.2.15",
|
|
40
40
|
"effect": "4.0.0-beta.93"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|