effect-agent 0.1.0-beta.98 → 0.1.0-beta.99
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/{DurableAgentRuntime-gF4YiEj2.mjs → DurableAgentRuntime-BE_OjQjz.mjs} +2 -2
- package/dist/DurableAgentRuntime-BE_OjQjz.mjs.map +1 -0
- package/dist/durable/DurableAgentRuntime.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/durable/DurableAgentRuntime.ts +12 -1
- package/dist/DurableAgentRuntime-gF4YiEj2.mjs.map +0 -1
|
@@ -1896,7 +1896,7 @@ const make = Effect.fn("DurableAgentRuntime.make")(function* (bindings) {
|
|
|
1896
1896
|
const contractsFor = (definition) => {
|
|
1897
1897
|
const registered = registeredBindings.filter((binding) => binding.agentId === definition.id);
|
|
1898
1898
|
const binding = registered.length === 1 ? registered[0] : void 0;
|
|
1899
|
-
const current = binding?.definition === definition ? binding : void 0;
|
|
1899
|
+
const current = binding?.definition.toolkit === definition.toolkit && binding.definition.completion === definition.completion && binding.definition.completionFromTools === definition.completionFromTools ? binding : void 0;
|
|
1900
1900
|
const contracts = current?.digests.replay?.tools;
|
|
1901
1901
|
return contracts === void 0 ? withCrypto(toolReplayContracts(definition, void 0, current?.digests.tools ?? config.deploymentId)) : Effect.succeed(contracts);
|
|
1902
1902
|
};
|
|
@@ -6604,4 +6604,4 @@ var DurableAgentRuntime = class DurableAgentRuntime extends Context.Service()("@
|
|
|
6604
6604
|
//#endregion
|
|
6605
6605
|
export { RecoveryReport as a, recoveryRepairRecordId as c, DurableRuntimeConfig as i, threadCreatedBatchId as l, DurableAgentRuntime_exports as n, childReservationIdFor as o, DurableApprovalResolver as r, recoveryRepairBatchId as s, DurableAgentRuntime as t, threadCreatedRecordId as u };
|
|
6606
6606
|
|
|
6607
|
-
//# sourceMappingURL=DurableAgentRuntime-
|
|
6607
|
+
//# sourceMappingURL=DurableAgentRuntime-BE_OjQjz.mjs.map
|