@relayfx/sdk 0.2.7 → 0.2.8

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/ai.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./index-kyja7pam.js";
2
+ import"./index-zfby0gxq.js";
3
3
  import {
4
4
  AiError,
5
5
  Chat,
@@ -34,7 +34,7 @@ import {
34
34
  exports_tool_executor,
35
35
  exports_tool_output,
36
36
  exports_turn_policy
37
- } from "./index-km48etr2.js";
37
+ } from "./index-r0cn6k03.js";
38
38
 
39
39
  // src/ai.ts
40
40
  var relayAiPackage = "@relayfx/sdk/ai";
@@ -48,7 +48,7 @@ import {
48
48
  exports_wait_service,
49
49
  exports_wait_signal,
50
50
  exports_workflow_definition_repository
51
- } from "./index-km48etr2.js";
51
+ } from "./index-r0cn6k03.js";
52
52
 
53
53
  // src/operation.ts
54
54
  var exports_operation = {};
@@ -14898,7 +14898,7 @@ var ModelInput = Schema73.Struct({
14898
14898
  }))),
14899
14899
  tool_names: Schema73.optionalKey(Schema73.Array(Schema73.String)),
14900
14900
  permissions: Schema73.optionalKey(Schema73.Array(Schema73.String)),
14901
- output_schema_ref: Schema73.optionalKey(Schema73.String),
14901
+ output_schema_ref: Schema73.optionalKey(Schema73.NullOr(Schema73.String)),
14902
14902
  metadata: Schema73.optionalKey(Schema73.Record(Schema73.String, Schema73.String)),
14903
14903
  input: Schema73.optionalKey(Schema73.Array(Schema73.Struct({ type: Schema73.Literal("text"), text: Schema73.String })))
14904
14904
  });
@@ -14906,10 +14906,12 @@ var ModelTransferInput = Schema73.Struct({
14906
14906
  input: Schema73.optionalKey(Schema73.Array(Schema73.Struct({ type: Schema73.Literal("text"), text: Schema73.String })))
14907
14907
  });
14908
14908
  var normalizeModelInput = (input) => {
14909
- if (input.model !== null)
14910
- return input;
14911
- const { model: _, ...normalized } = input;
14912
- return normalized;
14909
+ const { model, output_schema_ref: outputSchemaRef, ...rest } = input;
14910
+ return {
14911
+ ...rest,
14912
+ ...model === null || model === undefined ? {} : { model },
14913
+ ...outputSchemaRef === null || outputSchemaRef === undefined ? {} : { output_schema_ref: outputSchemaRef }
14914
+ };
14913
14915
  };
14914
14916
  var enabled = (agent) => agent.metadata?.multi_agent_enabled === true;
14915
14917
  var parentContext = (agent) => ({
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  __export,
4
4
  exports_model_registry
5
- } from "./index-km48etr2.js";
5
+ } from "./index-r0cn6k03.js";
6
6
 
7
7
  // ../ai/src/language-model/language-model-registration.ts
8
8
  var exports_language_model_registration = {};
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  exports_language_model_registration
4
- } from "./index-kyja7pam.js";
4
+ } from "./index-zfby0gxq.js";
5
5
  import {
6
6
  Service,
7
7
  exports_client,
8
8
  exports_command,
9
9
  exports_operation
10
- } from "./index-m5hjrbfh.js";
10
+ } from "./index-dyk0914g.js";
11
11
  import {
12
12
  Dialect,
13
13
  __export,
@@ -59,7 +59,7 @@ import {
59
59
  fromDbTimestamp,
60
60
  fromNullableDbTimestamp,
61
61
  timestampParam
62
- } from "./index-km48etr2.js";
62
+ } from "./index-r0cn6k03.js";
63
63
 
64
64
  // src/adapter-outbox.ts
65
65
  var exports_adapter_outbox = {};
package/dist/sqlite.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  exports_client,
4
4
  exports_operation
5
- } from "./index-m5hjrbfh.js";
5
+ } from "./index-dyk0914g.js";
6
6
  import {
7
7
  __export,
8
8
  exports_activity_version_registry,
@@ -46,7 +46,7 @@ import {
46
46
  exports_wait_service,
47
47
  exports_workflow_definition_repository,
48
48
  exports_workflow_schema
49
- } from "./index-km48etr2.js";
49
+ } from "./index-r0cn6k03.js";
50
50
  // src/sqlite-runtime.ts
51
51
  var exports_sqlite_runtime = {};
52
52
  __export(exports_sqlite_runtime, {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@relayfx/sdk",
4
- "version": "0.2.7",
4
+ "version": "0.2.8",
5
5
  "description": "Effect-native durable execution SDK for addressable agents and tools",
6
6
  "type": "module",
7
7
  "exports": {