@botbotgo/agent-harness 0.0.406 → 0.0.407
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.407";
|
|
2
2
|
export declare const AGENT_HARNESS_RELEASE_DATE = "2026-05-02";
|
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.407";
|
|
2
2
|
export const AGENT_HARNESS_RELEASE_DATE = "2026-05-02";
|
|
@@ -157,7 +157,13 @@ function hasUnresolvedExecution(evidence) {
|
|
|
157
157
|
|| evidence.hasOpenTaskDelegation);
|
|
158
158
|
}
|
|
159
159
|
function hasMissingDelegatedExecutionEvidence(evidence) {
|
|
160
|
-
|
|
160
|
+
if (!evidence.hasDelegatedAgentWithConfiguredTools) {
|
|
161
|
+
return false;
|
|
162
|
+
}
|
|
163
|
+
if (evidence.hasOpenTaskDelegation || evidence.hasFailedTaskDelegation) {
|
|
164
|
+
return false;
|
|
165
|
+
}
|
|
166
|
+
return !evidence.hasDelegatedExecutionToolEvidence && !evidence.hasSuccessfulTaskToolEvidence;
|
|
161
167
|
}
|
|
162
168
|
function hasMissingDelegatedFindings(evidence) {
|
|
163
169
|
return evidence.hasDelegatedAgentWithConfiguredTools && evidence.hasOnlyPlaceholderTaskCompletion;
|
|
@@ -793,8 +799,7 @@ export async function* streamRuntimeExecution(options) {
|
|
|
793
799
|
hasDelegatedAgentWithConfiguredTools: originalExecutionEvidence.hasDelegatedAgentWithConfiguredTools,
|
|
794
800
|
hasDelegatedExecutionToolEvidence: originalExecutionEvidence.hasDelegatedExecutionToolEvidence,
|
|
795
801
|
};
|
|
796
|
-
if (retriedHasUnresolvedExecution
|
|
797
|
-
|| (retriedHasUnresolvedExecution && retriedExecutionEvidence.hasToolResultEvidence && !retriedVisibleOutput)) {
|
|
802
|
+
if (retriedHasUnresolvedExecution) {
|
|
798
803
|
throw createUnresolvedExecutionError(effectiveRecoveryEvidence);
|
|
799
804
|
}
|
|
800
805
|
for (const toolResult of executedToolResults) {
|