@botbotgo/agent-harness 0.0.460 → 0.0.461
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const AGENT_HARNESS_VERSION = "0.0.
|
|
1
|
+
export declare const AGENT_HARNESS_VERSION = "0.0.461";
|
|
2
2
|
export declare const AGENT_HARNESS_RELEASE_DATE = "2026-05-04";
|
package/dist/package-version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const AGENT_HARNESS_VERSION = "0.0.
|
|
1
|
+
export const AGENT_HARNESS_VERSION = "0.0.461";
|
|
2
2
|
export const AGENT_HARNESS_RELEASE_DATE = "2026-05-04";
|
|
@@ -1639,14 +1639,6 @@ export class AgentRuntimeAdapter {
|
|
|
1639
1639
|
const previousDelegatedResult = delegatedResult;
|
|
1640
1640
|
delegatedResult = mergeDelegatedResultToolEvidence(yield* runPlannedDelegation(planned.subagentType, [delegatedText, DELEGATED_PLAN_EVIDENCE_RETRY_INSTRUCTION].filter(Boolean).join("\n\n"), ":plan-evidence-retry"), previousDelegatedResult);
|
|
1641
1641
|
}
|
|
1642
|
-
const targetRequiresExecutionToolEvidence = selectedBinding ? getBindingPrimaryTools(selectedBinding).length > 0 : false;
|
|
1643
|
-
if (targetRequiresExecutionToolEvidence && !hasRequiredDelegatedExecutionToolEvidence(delegatedResult)) {
|
|
1644
|
-
const previousDelegatedResult = delegatedResult;
|
|
1645
|
-
delegatedResult = mergeDelegatedResultToolEvidence(yield* runPlannedDelegation(planned.subagentType, [
|
|
1646
|
-
delegatedText,
|
|
1647
|
-
EXECUTION_WITH_TOOL_EVIDENCE_RETRY_INSTRUCTION,
|
|
1648
|
-
].filter(Boolean).join("\n\n"), ":tool-evidence-retry"), previousDelegatedResult);
|
|
1649
|
-
}
|
|
1650
1642
|
if (selectedBinding?.harnessRuntime.executionContract?.requiresPlan === true && !hasDelegatedPlanEvidence(delegatedResult)) {
|
|
1651
1643
|
const output = buildDelegatedPlanEvidenceBlocker(selectedBinding.agent.id);
|
|
1652
1644
|
delegatedResult = {
|
|
@@ -1656,15 +1648,6 @@ export class AgentRuntimeAdapter {
|
|
|
1656
1648
|
finalMessageText: output,
|
|
1657
1649
|
};
|
|
1658
1650
|
}
|
|
1659
|
-
if (targetRequiresExecutionToolEvidence && !hasRequiredDelegatedExecutionToolEvidence(delegatedResult)) {
|
|
1660
|
-
const output = buildDelegatedExecutionEvidenceBlocker(selectedBinding.agent.id, getBindingPrimaryTools(selectedBinding).map((tool) => tool.name));
|
|
1661
|
-
delegatedResult = {
|
|
1662
|
-
...delegatedResult,
|
|
1663
|
-
state: "failed",
|
|
1664
|
-
output,
|
|
1665
|
-
finalMessageText: output,
|
|
1666
|
-
};
|
|
1667
|
-
}
|
|
1668
1651
|
const delegatedToolResults = Array.isArray(delegatedResult.metadata?.executedToolResults)
|
|
1669
1652
|
? delegatedResult.metadata.executedToolResults
|
|
1670
1653
|
: [];
|