@botbotgo/agent-harness 0.0.402 → 0.0.403
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.403";
|
|
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.403";
|
|
2
2
|
export const AGENT_HARNESS_RELEASE_DATE = "2026-05-02";
|
|
@@ -300,12 +300,6 @@ function selectPlanningToolsForTurn(input, boundTools) {
|
|
|
300
300
|
if (!shouldLimitToolsToPlanning(input)) {
|
|
301
301
|
return boundTools;
|
|
302
302
|
}
|
|
303
|
-
if (!boundTools.some((tool) => {
|
|
304
|
-
const name = readBoundToolName(tool);
|
|
305
|
-
return name && !isTodoPlanningToolName(name);
|
|
306
|
-
})) {
|
|
307
|
-
return [];
|
|
308
|
-
}
|
|
309
303
|
const planningTools = boundTools.filter((tool) => isTodoPlanningToolName(readBoundToolName(tool)));
|
|
310
304
|
return planningTools.length > 0 ? planningTools : boundTools;
|
|
311
305
|
}
|
|
@@ -645,10 +639,6 @@ function buildFallbackPlanningToolCall(input, planningTools, allTools, rawText)
|
|
|
645
639
|
}
|
|
646
640
|
const modelPlannedItems = extractFallbackTodoContentsFromText(rawText);
|
|
647
641
|
const hasUsefulModelPlan = modelPlannedItems.length >= 2 && !modelPlannedItems.every(isGenericFallbackTodoContent);
|
|
648
|
-
const hasEvidenceTool = selectFallbackEvidenceToolName(allTools, rawText) !== null;
|
|
649
|
-
if (!hasUsefulModelPlan && !hasEvidenceTool) {
|
|
650
|
-
return null;
|
|
651
|
-
}
|
|
652
642
|
const fallbackItems = hasUsefulModelPlan
|
|
653
643
|
? modelPlannedItems
|
|
654
644
|
: buildToolAwareFallbackTodoContents(allTools, rawText);
|