effect-agent 0.1.0-beta.108 → 0.1.0-beta.109
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/{AgentRuntime-I1UoaI9W.mjs → AgentRuntime-C291vZTk.mjs} +2 -2
- package/dist/AgentRuntime-C291vZTk.mjs.map +1 -0
- package/dist/{DurableAgentRuntime-D_ls3fAd.mjs → DurableAgentRuntime-B4Fqz6RP.mjs} +2 -2
- package/dist/{DurableAgentRuntime-D_ls3fAd.mjs.map → DurableAgentRuntime-B4Fqz6RP.mjs.map} +1 -1
- package/dist/{Subagent-XX3fR6k2.mjs → Subagent-DKF_66Tv.mjs} +2 -2
- package/dist/{Subagent-XX3fR6k2.mjs.map → Subagent-DKF_66Tv.mjs.map} +1 -1
- package/dist/capabilities/Subagent.mjs +1 -1
- package/dist/durable/DurableAgentRuntime.mjs +1 -1
- package/dist/engine/AgentRuntime.mjs +1 -1
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
- package/src/engine/internal/agent-runtime.ts +3 -1
- package/dist/AgentRuntime-I1UoaI9W.mjs.map +0 -1
|
@@ -1519,7 +1519,7 @@ const executePreparedToolCall = (context, turnId, toolkit, prepared, trace, resu
|
|
|
1519
1519
|
isFailure: result.isFailure
|
|
1520
1520
|
};
|
|
1521
1521
|
terminalResultCommitted = true;
|
|
1522
|
-
if (observer !== void 0 && event._tag === "ToolCallFailed") failureObservation = {
|
|
1522
|
+
if (observer !== void 0 && event._tag === "ToolCallFailed" && rejection === void 0) failureObservation = {
|
|
1523
1523
|
_tag: "ModelToolFailure",
|
|
1524
1524
|
kind: "declared-failure",
|
|
1525
1525
|
agentId: context.agentId,
|
|
@@ -4721,4 +4721,4 @@ var AgentRuntime_exports = /* @__PURE__ */ __exportAll({
|
|
|
4721
4721
|
//#endregion
|
|
4722
4722
|
export { stream as _, SubagentDurability as a, withTerminalDefectEvent as b, decodeFinalOutput as c, projectCompletionOutput as d, renderInputPrompt as f, startUnknown as g, start as h, AgentSpawner as i, encodeRunDisposition as l, runUnknown as m, AgentChildPending as n, SubagentDurabilityError as o, run as p, AgentResultSchema as r, ToolCallWaiting as s, AgentRuntime_exports as t, projectCompletionFromToolOutput as u, streamUnknown as v, streamWithUsageAccountingUnknown as y };
|
|
4723
4723
|
|
|
4724
|
-
//# sourceMappingURL=AgentRuntime-
|
|
4724
|
+
//# sourceMappingURL=AgentRuntime-C291vZTk.mjs.map
|