@relayfx/sdk 0.2.1 → 0.2.3

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-bke4jyr6.js";
2
+ import"./index-dghk1gr5.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-jy6rpstp.js";
37
+ } from "./index-fjds2dhd.js";
38
38
 
39
39
  // src/ai.ts
40
40
  var relayAiPackage = "@relayfx/sdk/ai";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  __export,
4
4
  exports_model_registry
5
- } from "./index-jy6rpstp.js";
5
+ } from "./index-fjds2dhd.js";
6
6
 
7
7
  // ../ai/src/language-model/language-model-registration.ts
8
8
  var exports_language_model_registration = {};
@@ -10789,7 +10789,7 @@ var jsonValue = (value) => Schema49.decodeUnknownSync(exports_shared_schema.Json
10789
10789
  var fallbackParametersSchema = Schema49.Struct({});
10790
10790
  var parametersForInputSchema = (inputSchema) => {
10791
10791
  const schema = exports_tool_schema.parametersSchema(inputSchema);
10792
- return schema.ast._tag === "Unknown" ? { parameters: fallbackParametersSchema, jsonSchema: inputSchema } : { parameters: schema };
10792
+ return schema.ast._tag === "Unknown" || schema.ast._tag === "Declaration" ? { parameters: fallbackParametersSchema, jsonSchema: inputSchema } : { parameters: schema };
10793
10793
  };
10794
10794
  var attachJsonSchema = (tool, jsonSchema) => jsonSchema === undefined ? tool : Object.assign(tool, { jsonSchema });
10795
10795
  var toolFromRegistered = (tool) => tool.tool;
@@ -18664,7 +18664,7 @@ var awaitStartResult = Effect93.fn("ExecutionWorkflow.awaitStartResult")(functio
18664
18664
  if (waiting.status !== "waiting")
18665
18665
  return waiting;
18666
18666
  const wait = waiting.wait_id === undefined ? undefined : yield* get12(waiting.wait_id).pipe(Effect93.mapError(mapWaitError2));
18667
- if (wait?.mode !== "child")
18667
+ if (wait?.mode !== "child" && (wait === undefined || wait.state === "open"))
18668
18668
  return waiting;
18669
18669
  yield* Effect93.yieldNow;
18670
18670
  continue;
@@ -48,7 +48,7 @@ import {
48
48
  exports_wait_service,
49
49
  exports_wait_signal,
50
50
  exports_workflow_definition_repository
51
- } from "./index-jy6rpstp.js";
51
+ } from "./index-fjds2dhd.js";
52
52
 
53
53
  // src/operation.ts
54
54
  var exports_operation = {};
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  exports_language_model_registration
4
- } from "./index-bke4jyr6.js";
4
+ } from "./index-dghk1gr5.js";
5
5
  import {
6
6
  Service,
7
7
  exports_client,
8
8
  exports_command,
9
9
  exports_operation
10
- } from "./index-9tx9fh58.js";
10
+ } from "./index-hwxe2yyg.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-jy6rpstp.js";
62
+ } from "./index-fjds2dhd.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-9tx9fh58.js";
5
+ } from "./index-hwxe2yyg.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-jy6rpstp.js";
49
+ } from "./index-fjds2dhd.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.1",
4
+ "version": "0.2.3",
5
5
  "description": "Effect-native durable execution SDK for addressable agents and tools",
6
6
  "type": "module",
7
7
  "exports": {