effect-agent 0.1.0-beta.151 → 0.1.0-beta.152

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.
@@ -5238,7 +5238,7 @@ const make = Effect.fn("DurableAgentRuntime.make")(function* (bindings) {
5238
5238
  ...Schema.is(FrameworkMessage)(submission.messageAdmission) ? { frameworkMessage: submission.messageAdmission } : {},
5239
5239
  approval,
5240
5240
  toolAuthorization,
5241
- ...journal.toolSelection === void 0 ? {} : { toolSelection: journal.toolSelection },
5241
+ ...journal.toolSelection === void 0 ? {} : { toolSelection: { toolNames: journal.toolSelection.toolNames.filter((name) => Object.hasOwn(agent.definition.toolkit.tools, name)) } },
5242
5242
  durability,
5243
5243
  subagent,
5244
5244
  delegationDepth,
@@ -7204,4 +7204,4 @@ var DurableAgentRuntime = class DurableAgentRuntime extends Context.Service()("@
7204
7204
  //#endregion
7205
7205
  export { DurableApprovalSuspension as a, RecoveryFailure as c, childReservationIdFor as d, isolateRecovery as f, DurableApprovalResolver as i, RecoveryReport as l, recoveryRepairRecordId as m, DurableAgentRuntime as n, DurableRuntimeConfig as o, recoveryRepairBatchId as p, DurableAgentRuntime_exports as r, RecoveryBlocked as s, ApprovalSuspensionError as t, RecoverySweepResult as u };
7206
7206
 
7207
- //# sourceMappingURL=DurableAgentRuntime-R2LUYnRl.mjs.map
7207
+ //# sourceMappingURL=DurableAgentRuntime-DQFV26SB.mjs.map