@relayfx/test 0.2.7 → 0.2.9
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 +7 -6
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -13624,18 +13624,19 @@ var ModelInput = Schema65.Struct({
|
|
|
13624
13624
|
}))),
|
|
13625
13625
|
tool_names: Schema65.optionalKey(Schema65.Array(Schema65.String)),
|
|
13626
13626
|
permissions: Schema65.optionalKey(Schema65.Array(Schema65.String)),
|
|
13627
|
-
output_schema_ref: Schema65.optionalKey(Schema65.String),
|
|
13628
|
-
metadata: Schema65.optionalKey(Schema65.Record(Schema65.String, Schema65.String)),
|
|
13627
|
+
output_schema_ref: Schema65.optionalKey(Schema65.NullOr(Schema65.String)),
|
|
13629
13628
|
input: Schema65.optionalKey(Schema65.Array(Schema65.Struct({ type: Schema65.Literal("text"), text: Schema65.String })))
|
|
13630
13629
|
});
|
|
13631
13630
|
var ModelTransferInput = Schema65.Struct({
|
|
13632
13631
|
input: Schema65.optionalKey(Schema65.Array(Schema65.Struct({ type: Schema65.Literal("text"), text: Schema65.String })))
|
|
13633
13632
|
});
|
|
13634
13633
|
var normalizeModelInput = (input) => {
|
|
13635
|
-
|
|
13636
|
-
|
|
13637
|
-
|
|
13638
|
-
|
|
13634
|
+
const { model, output_schema_ref: outputSchemaRef, ...rest } = input;
|
|
13635
|
+
return {
|
|
13636
|
+
...rest,
|
|
13637
|
+
...model === null || model === undefined ? {} : { model },
|
|
13638
|
+
...outputSchemaRef === null || outputSchemaRef === undefined ? {} : { output_schema_ref: outputSchemaRef }
|
|
13639
|
+
};
|
|
13639
13640
|
};
|
|
13640
13641
|
var enabled = (agent) => agent.metadata?.multi_agent_enabled === true;
|
|
13641
13642
|
var parentContext = (agent) => ({
|
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.9",
|
|
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.9",
|
|
40
40
|
"effect": "4.0.0-beta.93"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|