@relayfx/sdk 0.3.2 → 0.3.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 +1 -1
- package/dist/{index-bknsjvwf.js → index-25gwk9tj.js} +24 -24
- package/dist/{index-szzswx0z.js → index-49fm2rdv.js} +1 -1
- package/dist/{index-70m3hgk1.js → index-8pa5e2yn.js} +1 -1
- package/dist/index.js +8 -8
- package/dist/mysql.js +3 -3
- package/dist/postgres.js +3 -3
- package/dist/sqlite.js +3 -3
- package/package.json +3 -3
package/dist/ai.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
__export
|
|
4
4
|
} from "./index-nb39b5ae.js";
|
|
5
5
|
|
|
6
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
6
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/turn-policy.js
|
|
7
7
|
var exports_turn_policy = {};
|
|
8
8
|
__export(exports_turn_policy, {
|
|
9
9
|
untilToolCall: () => untilToolCall,
|
|
@@ -74,7 +74,7 @@ var both = dual(2, (first, second) => ({
|
|
|
74
74
|
}));
|
|
75
75
|
var defaultPolicy = forever;
|
|
76
76
|
|
|
77
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
77
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/agent-event.js
|
|
78
78
|
var exports_agent_event = {};
|
|
79
79
|
__export(exports_agent_event, {
|
|
80
80
|
addUsage: () => addUsage,
|
|
@@ -184,7 +184,7 @@ class ResumeMismatch extends Schema2.TaggedErrorClass()("@batonfx/core/ResumeMis
|
|
|
184
184
|
}) {
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
187
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/tool-context.js
|
|
188
188
|
var exports_tool_context = {};
|
|
189
189
|
__export(exports_tool_context, {
|
|
190
190
|
testLayer: () => testLayer,
|
|
@@ -202,7 +202,7 @@ var layerDefault = Layer2.sync(ToolContext, () => ToolContext.of({
|
|
|
202
202
|
}));
|
|
203
203
|
var testLayer = (implementation) => Layer2.succeed(ToolContext, ToolContext.of(implementation));
|
|
204
204
|
|
|
205
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
205
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/tool-executor.js
|
|
206
206
|
var exports_tool_executor = {};
|
|
207
207
|
__export(exports_tool_executor, {
|
|
208
208
|
testLayer: () => testLayer2,
|
|
@@ -427,7 +427,7 @@ function router(routes) {
|
|
|
427
427
|
}
|
|
428
428
|
var testLayer2 = (implementation) => Layer3.succeed(ToolExecutor, ToolExecutor.of(implementation));
|
|
429
429
|
|
|
430
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
430
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/approvals.js
|
|
431
431
|
var exports_approvals = {};
|
|
432
432
|
__export(exports_approvals, {
|
|
433
433
|
testLayer: () => testLayer3,
|
|
@@ -442,7 +442,7 @@ var autoApprove = Layer4.succeed(Approvals, Approvals.of({ check: () => Effect4.
|
|
|
442
442
|
var denyAll = Layer4.succeed(Approvals, Approvals.of({ check: () => Effect4.succeed({ _tag: "Denied" }) }));
|
|
443
443
|
var testLayer3 = (implementation) => Layer4.succeed(Approvals, Approvals.of(implementation));
|
|
444
444
|
|
|
445
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
445
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/memory.js
|
|
446
446
|
var exports_memory = {};
|
|
447
447
|
__export(exports_memory, {
|
|
448
448
|
testLayer: () => testLayer4,
|
|
@@ -510,7 +510,7 @@ var layerNoop = Layer5.succeed(Memory, Memory.of(noop));
|
|
|
510
510
|
var noopLayer = layerNoop;
|
|
511
511
|
var testLayer4 = (implementation) => Layer5.succeed(Memory, Memory.of(implementation));
|
|
512
512
|
|
|
513
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
513
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/session.js
|
|
514
514
|
var exports_session = {};
|
|
515
515
|
__export(exports_session, {
|
|
516
516
|
testLayer: () => testLayer5,
|
|
@@ -789,7 +789,7 @@ var layerMemory = Layer6.effect(SessionStore, Ref.make(initialState).pipe(Effect
|
|
|
789
789
|
var memoryLayer = layerMemory;
|
|
790
790
|
var testLayer5 = (implementation) => Layer6.succeed(SessionStore, SessionStore.of(implementation));
|
|
791
791
|
|
|
792
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
792
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/tool-output.js
|
|
793
793
|
var exports_tool_output = {};
|
|
794
794
|
__export(exports_tool_output, {
|
|
795
795
|
testLayer: () => testLayer6,
|
|
@@ -865,7 +865,7 @@ var bound = Function2.dual(2, (result, options) => Effect7.gen(function* () {
|
|
|
865
865
|
return boundedFromOriginal(encoded, bytes, options.maxBytes, [path.value]);
|
|
866
866
|
}));
|
|
867
867
|
|
|
868
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
868
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/compaction.js
|
|
869
869
|
var exports_compaction = {};
|
|
870
870
|
__export(exports_compaction, {
|
|
871
871
|
truncate: () => truncate,
|
|
@@ -1134,7 +1134,7 @@ var truncate = (maxTokens) => ({
|
|
|
1134
1134
|
});
|
|
1135
1135
|
var testLayer7 = (implementation) => Layer8.succeed(Compaction, Compaction.of(implementation));
|
|
1136
1136
|
|
|
1137
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
1137
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/instructions.js
|
|
1138
1138
|
var exports_instructions = {};
|
|
1139
1139
|
__export(exports_instructions, {
|
|
1140
1140
|
testLayer: () => testLayer8,
|
|
@@ -1183,7 +1183,7 @@ var renderUpdate = dual3(2, (epoch, context) => Effect9.gen(function* () {
|
|
|
1183
1183
|
var layer2 = (sources) => Layer9.succeed(Instructions, Instructions.of({ sources: [...sources] }));
|
|
1184
1184
|
var testLayer8 = (implementation) => Layer9.succeed(Instructions, Instructions.of(implementation));
|
|
1185
1185
|
|
|
1186
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
1186
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/model-middleware.js
|
|
1187
1187
|
var exports_model_middleware = {};
|
|
1188
1188
|
__export(exports_model_middleware, {
|
|
1189
1189
|
layerIdentity: () => layerIdentity,
|
|
@@ -1199,7 +1199,7 @@ var layerIdentity = Layer10.succeed(ModelMiddleware, []);
|
|
|
1199
1199
|
var identityLayer = layerIdentity;
|
|
1200
1200
|
var layer3 = (middleware) => Layer10.succeed(ModelMiddleware, middleware);
|
|
1201
1201
|
|
|
1202
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
1202
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/model-registry.js
|
|
1203
1203
|
var exports_model_registry = {};
|
|
1204
1204
|
__export(exports_model_registry, {
|
|
1205
1205
|
testLayer: () => testLayer9,
|
|
@@ -1326,7 +1326,7 @@ var operate = Function4.dual(2, (selection, effect) => Effect11.gen(function* ()
|
|
|
1326
1326
|
var stream = Function4.dual(2, (selection, operation) => Stream2.unwrap(Service.pipe(Effect11.map((service) => service.stream(selection, operation)))));
|
|
1327
1327
|
var provide = operate;
|
|
1328
1328
|
|
|
1329
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
1329
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/model-resilience.js
|
|
1330
1330
|
var exports_model_resilience = {};
|
|
1331
1331
|
__export(exports_model_resilience, {
|
|
1332
1332
|
testLayer: () => testLayer10,
|
|
@@ -1379,7 +1379,7 @@ var apply = Function5.dual(2, (model, resilience) => ({
|
|
|
1379
1379
|
streamText: (options) => retryStream(() => model.streamText(options), (error) => Response5.makePart("error", { error }), resilience)
|
|
1380
1380
|
}));
|
|
1381
1381
|
|
|
1382
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
1382
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/permissions.js
|
|
1383
1383
|
var exports_permissions = {};
|
|
1384
1384
|
__export(exports_permissions, {
|
|
1385
1385
|
testLayer: () => testLayer11,
|
|
@@ -1513,7 +1513,7 @@ var ruleStoreMemory = (initialRules = []) => Layer13.effect(RuleStore, Ref4.make
|
|
|
1513
1513
|
var ruleStoreTestLayer = (implementation) => Layer13.succeed(RuleStore, RuleStore.of(implementation));
|
|
1514
1514
|
var testLayer11 = (implementation) => Layer13.succeed(Permissions, Permissions.of(implementation));
|
|
1515
1515
|
|
|
1516
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
1516
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/skill-source.js
|
|
1517
1517
|
var exports_skill_source = {};
|
|
1518
1518
|
__export(exports_skill_source, {
|
|
1519
1519
|
testLayer: () => testLayer12,
|
|
@@ -1593,7 +1593,7 @@ var selectListings = Function6.dual(3, (skills, budgetTokens, recentlyUsed) => {
|
|
|
1593
1593
|
return selected;
|
|
1594
1594
|
});
|
|
1595
1595
|
|
|
1596
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
1596
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/steering.js
|
|
1597
1597
|
var exports_steering = {};
|
|
1598
1598
|
__export(exports_steering, {
|
|
1599
1599
|
testLayer: () => testLayer13,
|
|
@@ -1651,7 +1651,7 @@ var layer7 = (options = {}) => Layer15.effect(Steering, Effect15.gen(function* (
|
|
|
1651
1651
|
}));
|
|
1652
1652
|
var testLayer13 = (implementation) => Layer15.succeed(Steering, Steering.of(implementation));
|
|
1653
1653
|
|
|
1654
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
1654
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/agent.js
|
|
1655
1655
|
var exports_agent = {};
|
|
1656
1656
|
__export(exports_agent, {
|
|
1657
1657
|
streamObject: () => streamObject,
|
|
@@ -1670,7 +1670,7 @@ import { Cause as Cause4, Channel, Effect as Effect18, Equal, Exit as Exit2, Fib
|
|
|
1670
1670
|
import { dual as dual7 } from "effect/Function";
|
|
1671
1671
|
import { AiError as AiError3, Chat, LanguageModel as LanguageModel5, Prompt as Prompt9, Response as Response7, Telemetry, Tokenizer as Tokenizer2, Tool as Tool7, Toolkit as Toolkit4 } from "effect/unstable/ai";
|
|
1672
1672
|
|
|
1673
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
1673
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/tool-authorization.js
|
|
1674
1674
|
import { Cause as Cause3, Context as Context15, Effect as Effect16, Layer as Layer16, Option as Option10, Schema as Schema13 } from "effect";
|
|
1675
1675
|
import { dual as dual5 } from "effect/Function";
|
|
1676
1676
|
import { Prompt as Prompt8, Response as Response6, Tool as Tool5 } from "effect/unstable/ai";
|
|
@@ -1841,7 +1841,7 @@ var make4 = (options = {}) => ({
|
|
|
1841
1841
|
});
|
|
1842
1842
|
var fromPermissions = dual5((args) => args.length === 2 || args.length === 1 && ("evaluate" in args[0]), (permissions, options = {}) => make4({ ...options, permissions }));
|
|
1843
1843
|
|
|
1844
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
1844
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/tool-registry.js
|
|
1845
1845
|
import { Effect as Effect17, HashMap as HashMap3, Option as Option11 } from "effect";
|
|
1846
1846
|
import { dual as dual6 } from "effect/Function";
|
|
1847
1847
|
import { Tool as Tool6, Toolkit as Toolkit3 } from "effect/unstable/ai";
|
|
@@ -1894,7 +1894,7 @@ var select = dual6(2, (registry, names) => {
|
|
|
1894
1894
|
};
|
|
1895
1895
|
});
|
|
1896
1896
|
|
|
1897
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
1897
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/agent.js
|
|
1898
1898
|
var AgentTypeId = Symbol.for("@batonfx/core/Agent");
|
|
1899
1899
|
var ModelLayerTypeId = Symbol.for("@batonfx/core/Agent/ModelLayer");
|
|
1900
1900
|
var classifyOtherFailure = () => "other";
|
|
@@ -3185,7 +3185,7 @@ var generatePersistedObject = dual7(2, (agent, options) => Stream4.runFold(persi
|
|
|
3185
3185
|
})
|
|
3186
3186
|
}))));
|
|
3187
3187
|
|
|
3188
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
3188
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/agent-tool.js
|
|
3189
3189
|
var exports_agent_tool = {};
|
|
3190
3190
|
__export(exports_agent_tool, {
|
|
3191
3191
|
asTool: () => asTool
|
|
@@ -3256,7 +3256,7 @@ var asTool = Function7.dual((args) => args.length !== 1 || ("name" in args[0]),
|
|
|
3256
3256
|
return lazyHandled(toolkit, name, handler);
|
|
3257
3257
|
});
|
|
3258
3258
|
|
|
3259
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
3259
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/guardrail.js
|
|
3260
3260
|
var exports_guardrail = {};
|
|
3261
3261
|
__export(exports_guardrail, {
|
|
3262
3262
|
validateInput: () => validateInput,
|
|
@@ -3337,7 +3337,7 @@ var filterOutput = (keep) => ({
|
|
|
3337
3337
|
transformPart: (part, context) => Effect20.succeed(part.type === "tool-call" || keep(part, context) ? Option13.some(part) : Option13.none())
|
|
3338
3338
|
});
|
|
3339
3339
|
|
|
3340
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
3340
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/handoff.js
|
|
3341
3341
|
var exports_handoff = {};
|
|
3342
3342
|
__export(exports_handoff, {
|
|
3343
3343
|
transferTool: () => transferTool,
|
|
@@ -3417,7 +3417,7 @@ var supervisor = (options) => {
|
|
|
3417
3417
|
};
|
|
3418
3418
|
};
|
|
3419
3419
|
|
|
3420
|
-
// ../../node_modules/.bun/@batonfx+core@0.6.
|
|
3420
|
+
// ../../node_modules/.bun/@batonfx+core@0.6.1/node_modules/@batonfx/core/dist/index.js
|
|
3421
3421
|
import { AiError as AiError5, Chat as Chat2, EmbeddingModel, IdGenerator, LanguageModel as LanguageModel7, Model as Model2, Prompt as Prompt13, Response as Response9, ResponseIdTracker, Telemetry as Telemetry2, Tokenizer as Tokenizer3, Tool as Tool10, Toolkit as Toolkit7 } from "effect/unstable/ai";
|
|
3422
3422
|
|
|
3423
3423
|
export { exports_turn_policy, exports_agent_event, exports_tool_context, exports_tool_executor, exports_approvals, exports_memory, exports_session, exports_tool_output, exports_compaction, exports_instructions, exports_model_middleware, exports_model_registry, exports_model_resilience, exports_permissions, exports_skill_source, exports_steering, exports_agent, exports_agent_tool, exports_guardrail, exports_handoff, AiError5 as AiError, Chat2 as Chat, EmbeddingModel, IdGenerator, Model2 as Model, Prompt13 as Prompt, Response9 as Response, ResponseIdTracker, Telemetry2 as Telemetry, Tokenizer3 as Tokenizer, Tool10 as Tool, Toolkit7 as Toolkit };
|
package/dist/index.js
CHANGED
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
exports_tool_runtime,
|
|
14
14
|
exports_workflow_definition_host,
|
|
15
15
|
makeDatabaseIdentity
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-8pa5e2yn.js";
|
|
17
17
|
import {
|
|
18
18
|
exports_model_registry
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-25gwk9tj.js";
|
|
20
20
|
import {
|
|
21
21
|
Service,
|
|
22
22
|
exports_address_schema,
|
|
@@ -169,13 +169,13 @@ __export(exports_language_model_registration, {
|
|
|
169
169
|
OpenAiAccountCredentialError: () => OpenAiAccountCredentialError
|
|
170
170
|
});
|
|
171
171
|
|
|
172
|
-
// ../../node_modules/.bun/@batonfx+providers@0.6.
|
|
172
|
+
// ../../node_modules/.bun/@batonfx+providers@0.6.1/node_modules/@batonfx/providers/dist/deterministic.js
|
|
173
173
|
import { OpenAiClient as OpenAiClient2 } from "@effect/ai-openai";
|
|
174
174
|
import { Config as Config2, Effect as Effect4, Layer as Layer3, Option, Stream as Stream2 } from "effect";
|
|
175
175
|
import { LanguageModel, Response } from "effect/unstable/ai";
|
|
176
176
|
import { FetchHttpClient as FetchHttpClient2 } from "effect/unstable/http";
|
|
177
177
|
|
|
178
|
-
// ../../node_modules/.bun/@batonfx+providers@0.6.
|
|
178
|
+
// ../../node_modules/.bun/@batonfx+providers@0.6.1/node_modules/@batonfx/providers/dist/openai.js
|
|
179
179
|
import { OpenAiClient, OpenAiLanguageModel } from "@effect/ai-openai";
|
|
180
180
|
import { Config, Effect as Effect3, Layer as Layer2, Redacted, Schema, Stream } from "effect";
|
|
181
181
|
import { AiError } from "effect/unstable/ai";
|
|
@@ -263,7 +263,7 @@ var openAiAccount = (input) => exports_model_registry.registrationFromLayer({
|
|
|
263
263
|
var withOpenAiAccount = (input) => exports_model_registry.layerFromRegistrationEffects([openAiAccount(input)]);
|
|
264
264
|
var withOpenAiAccountFetch = (input) => withOpenAiAccount(input).pipe(Layer2.provide(FetchHttpClient.layer));
|
|
265
265
|
|
|
266
|
-
// ../../node_modules/.bun/@batonfx+providers@0.6.
|
|
266
|
+
// ../../node_modules/.bun/@batonfx+providers@0.6.1/node_modules/@batonfx/providers/dist/deterministic.js
|
|
267
267
|
var deterministicModelLayer = Layer3.effect(LanguageModel.LanguageModel, LanguageModel.make({
|
|
268
268
|
generateText: () => Effect4.succeed([{ type: "text", text: "deterministic response" }]),
|
|
269
269
|
streamText: () => Stream2.make(Response.makePart("text-delta", { id: "text", delta: "deterministic response" }))
|
|
@@ -296,7 +296,7 @@ var withOpenAiOrDeterministic = (options) => Layer3.unwrap(Effect4.gen(function*
|
|
|
296
296
|
}));
|
|
297
297
|
var withOpenAiOrDeterministicFetch = (options) => withOpenAiOrDeterministic(options).pipe(Layer3.provide(FetchHttpClient2.layer));
|
|
298
298
|
|
|
299
|
-
// ../../node_modules/.bun/@batonfx+providers@0.6.
|
|
299
|
+
// ../../node_modules/.bun/@batonfx+providers@0.6.1/node_modules/@batonfx/providers/dist/anthropic.js
|
|
300
300
|
import { AnthropicClient, AnthropicLanguageModel } from "@effect/ai-anthropic";
|
|
301
301
|
import { Config as Config3, Layer as Layer4, Redacted as Redacted2 } from "effect";
|
|
302
302
|
import { AiError as AiError2 } from "effect/unstable/ai";
|
|
@@ -321,7 +321,7 @@ var anthropic = (input) => exports_model_registry.registrationFromLayer({
|
|
|
321
321
|
var anthropicClientLayerConfig = AnthropicClient.layerConfig;
|
|
322
322
|
var withAnthropic = (options) => exports_model_registry.layerFromRegistrationEffects([anthropic(options)]).pipe(Layer4.provide(AnthropicClient.layerConfig({ ...options.clientConfig, apiKey: options.apiKey })));
|
|
323
323
|
var withAnthropicFetch = (options) => withAnthropic(options).pipe(Layer4.provide(FetchHttpClient3.layer));
|
|
324
|
-
// ../../node_modules/.bun/@batonfx+providers@0.6.
|
|
324
|
+
// ../../node_modules/.bun/@batonfx+providers@0.6.1/node_modules/@batonfx/providers/dist/openai-compat.js
|
|
325
325
|
import { OpenAiClient as OpenAiClient3, OpenAiLanguageModel as OpenAiLanguageModel2 } from "@effect/ai-openai-compat";
|
|
326
326
|
import { Config as Config4, Layer as Layer5, Redacted as Redacted3 } from "effect";
|
|
327
327
|
import { FetchHttpClient as FetchHttpClient4 } from "effect/unstable/http";
|
|
@@ -344,7 +344,7 @@ var clientLayerConfig = (options) => OpenAiClient3.layerConfig({
|
|
|
344
344
|
});
|
|
345
345
|
var withOpenAiCompatible = (options) => exports_model_registry.layerFromRegistrationEffects([openAiCompatible(options)]).pipe(Layer5.provide(clientLayerConfig(options)));
|
|
346
346
|
var withOpenAiCompatibleFetch = (options) => withOpenAiCompatible(options).pipe(Layer5.provide(FetchHttpClient4.layer));
|
|
347
|
-
// ../../node_modules/.bun/@batonfx+providers@0.6.
|
|
347
|
+
// ../../node_modules/.bun/@batonfx+providers@0.6.1/node_modules/@batonfx/providers/dist/openrouter.js
|
|
348
348
|
import { OpenRouterClient, OpenRouterLanguageModel } from "@effect/ai-openrouter";
|
|
349
349
|
import { Config as Config5, Layer as Layer6, Redacted as Redacted4 } from "effect";
|
|
350
350
|
import { AiError as AiError3 } from "effect/unstable/ai";
|
package/dist/mysql.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
database,
|
|
4
4
|
normalizeMigrationCause
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-49fm2rdv.js";
|
|
6
6
|
import {
|
|
7
7
|
MigratorError,
|
|
8
8
|
RuntimeMigrationError,
|
|
9
9
|
SqlFailure
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
} from "./index-8pa5e2yn.js";
|
|
11
|
+
import"./index-25gwk9tj.js";
|
|
12
12
|
import"./index-cphmds30.js";
|
|
13
13
|
import"./index-nb39b5ae.js";
|
|
14
14
|
|
package/dist/postgres.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
database,
|
|
4
4
|
normalizeMigrationCause
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-49fm2rdv.js";
|
|
6
6
|
import {
|
|
7
7
|
Dialect,
|
|
8
8
|
RuntimeMigrationError,
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
fromDbTimestamp,
|
|
15
15
|
fromNullableDbTimestamp,
|
|
16
16
|
timestampParam
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
} from "./index-8pa5e2yn.js";
|
|
18
|
+
import"./index-25gwk9tj.js";
|
|
19
19
|
import {
|
|
20
20
|
exports_ids_schema
|
|
21
21
|
} from "./index-cphmds30.js";
|
package/dist/sqlite.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
database,
|
|
4
4
|
normalizeMigrationCause
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-49fm2rdv.js";
|
|
6
6
|
import {
|
|
7
7
|
DatabaseAlreadyOwned,
|
|
8
8
|
RuntimeConfigurationError,
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
make,
|
|
13
13
|
makeDatabaseIdentity,
|
|
14
14
|
runtimeLayer
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
} from "./index-8pa5e2yn.js";
|
|
16
|
+
import"./index-25gwk9tj.js";
|
|
17
17
|
import"./index-cphmds30.js";
|
|
18
18
|
import"./index-nb39b5ae.js";
|
|
19
19
|
|
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.3.
|
|
4
|
+
"version": "0.3.3",
|
|
5
5
|
"description": "Effect-native durable execution SDK for addressable agents and tools",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"typecheck": "bun tsc --noEmit"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@batonfx/core": "0.6.
|
|
61
|
-
"@batonfx/providers": "0.6.
|
|
60
|
+
"@batonfx/core": "0.6.1",
|
|
61
|
+
"@batonfx/providers": "0.6.1",
|
|
62
62
|
"@effect/ai-anthropic": "4.0.0-beta.98",
|
|
63
63
|
"@effect/ai-openai": "4.0.0-beta.98",
|
|
64
64
|
"@effect/ai-openai-compat": "4.0.0-beta.98",
|