@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-
|
|
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-
|
|
37
|
+
} from "./index-r0cn6k03.js";
|
|
38
38
|
|
|
39
39
|
// src/ai.ts
|
|
40
40
|
var relayAiPackage = "@relayfx/sdk/ai";
|
|
@@ -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
|
-
|
|
14910
|
-
|
|
14911
|
-
|
|
14912
|
-
|
|
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) => ({
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
exports_language_model_registration
|
|
4
|
-
} from "./index-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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