@botbotgo/agent-harness 0.0.459 → 0.0.460
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.460";
|
|
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.460";
|
|
2
2
|
export const AGENT_HARNESS_RELEASE_DATE = "2026-05-04";
|
|
@@ -1224,7 +1224,6 @@ export class AgentRuntimeAdapter {
|
|
|
1224
1224
|
};
|
|
1225
1225
|
}
|
|
1226
1226
|
}
|
|
1227
|
-
const targetRequiresExecutionToolEvidence = getBindingPrimaryTools(selectedBinding).length > 0;
|
|
1228
1227
|
if (selectedBinding.harnessRuntime.executionContract?.requiresPlan === true
|
|
1229
1228
|
&& !hasDelegatedPlanEvidence(delegatedResult)) {
|
|
1230
1229
|
try {
|
|
@@ -1244,32 +1243,6 @@ export class AgentRuntimeAdapter {
|
|
|
1244
1243
|
};
|
|
1245
1244
|
}
|
|
1246
1245
|
}
|
|
1247
|
-
if (targetRequiresExecutionToolEvidence && !hasRequiredDelegatedExecutionToolEvidence(delegatedResult)) {
|
|
1248
|
-
try {
|
|
1249
|
-
delegatedResult = await runDelegatedRequest([
|
|
1250
|
-
requestText,
|
|
1251
|
-
EXECUTION_WITH_TOOL_EVIDENCE_RETRY_INSTRUCTION,
|
|
1252
|
-
].filter(Boolean).join("\n\n"), ":tool-evidence-retry", selectedBinding.harnessRuntime.executionContract?.requiresPlan === true
|
|
1253
|
-
? {
|
|
1254
|
-
suppressInitialRequiredPlanInstruction: true,
|
|
1255
|
-
externalPlanEvidence: hasDelegatedPlanEvidence(delegatedResult),
|
|
1256
|
-
}
|
|
1257
|
-
: {});
|
|
1258
|
-
}
|
|
1259
|
-
catch (error) {
|
|
1260
|
-
const output = error instanceof Error ? error.message : String(error);
|
|
1261
|
-
return {
|
|
1262
|
-
toolOutput: output,
|
|
1263
|
-
delegatedSubagentType: subagentType,
|
|
1264
|
-
delegatedResult: {
|
|
1265
|
-
...delegatedResult,
|
|
1266
|
-
state: "failed",
|
|
1267
|
-
output,
|
|
1268
|
-
finalMessageText: output,
|
|
1269
|
-
},
|
|
1270
|
-
};
|
|
1271
|
-
}
|
|
1272
|
-
}
|
|
1273
1246
|
if (selectedBinding.harnessRuntime.executionContract?.requiresPlan === true
|
|
1274
1247
|
&& !hasDelegatedPlanEvidence(delegatedResult)) {
|
|
1275
1248
|
const output = buildDelegatedPlanEvidenceBlocker(selectedBinding.agent.id);
|
|
@@ -1284,19 +1257,6 @@ export class AgentRuntimeAdapter {
|
|
|
1284
1257
|
},
|
|
1285
1258
|
};
|
|
1286
1259
|
}
|
|
1287
|
-
if (targetRequiresExecutionToolEvidence && !hasRequiredDelegatedExecutionToolEvidence(delegatedResult)) {
|
|
1288
|
-
const output = buildDelegatedExecutionEvidenceBlocker(selectedBinding.agent.id, getBindingPrimaryTools(selectedBinding).map((tool) => tool.name));
|
|
1289
|
-
return {
|
|
1290
|
-
toolOutput: output,
|
|
1291
|
-
delegatedSubagentType: subagentType,
|
|
1292
|
-
delegatedResult: {
|
|
1293
|
-
...delegatedResult,
|
|
1294
|
-
state: "failed",
|
|
1295
|
-
output,
|
|
1296
|
-
finalMessageText: output,
|
|
1297
|
-
},
|
|
1298
|
-
};
|
|
1299
|
-
}
|
|
1300
1260
|
return {
|
|
1301
1261
|
toolOutput: resolveDelegatedResultOutput(delegatedResult),
|
|
1302
1262
|
delegatedSubagentType: subagentType,
|