@botbotgo/agent-harness 0.0.439 → 0.0.440

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.439";
1
+ export declare const AGENT_HARNESS_VERSION = "0.0.440";
2
2
  export declare const AGENT_HARNESS_RELEASE_DATE = "2026-05-04";
@@ -1,2 +1,2 @@
1
- export const AGENT_HARNESS_VERSION = "0.0.439";
1
+ export const AGENT_HARNESS_VERSION = "0.0.440";
2
2
  export const AGENT_HARNESS_RELEASE_DATE = "2026-05-04";
@@ -230,7 +230,6 @@ function resolveCommittedPlanEvidenceTools(primaryTools, planToolOutput) {
230
230
  if (todoContents.length === 0) {
231
231
  return [];
232
232
  }
233
- const toolsByName = new Map(primaryTools.map((tool) => [tool.name, tool]));
234
233
  const resolved = [];
235
234
  const seen = new Set();
236
235
  for (const content of todoContents) {
@@ -241,11 +240,9 @@ function resolveCommittedPlanEvidenceTools(primaryTools, planToolOutput) {
241
240
  continue;
242
241
  }
243
242
  seen.add(selectedName);
244
- const matchedTool = toolsByName.get(selectedName);
245
- const args = buildCommittedPlanEvidenceToolArgs(matchedTool, content);
246
243
  resolved.push({
247
244
  name: selectedName,
248
- args,
245
+ args: {},
249
246
  id: `stream-committed-plan-evidence-tool-${resolved.length + 1}`,
250
247
  });
251
248
  }
@@ -260,16 +257,6 @@ function hasExplicitToolNameReference(todoText, toolName) {
260
257
  const escapedName = normalizedToolName.replace(/[.*+?^${}()|[\]\\]/gu, "\\$&");
261
258
  return new RegExp(`(?:^|[^\\p{L}\\p{N}_-])${escapedName}(?:$|[^\\p{L}\\p{N}_-])`, "iu").test(todoText);
262
259
  }
263
- function buildCommittedPlanEvidenceToolArgs(tool, todoText) {
264
- const properties = typeof tool?.modelSchema === "object" && tool.modelSchema !== null
265
- ? tool.modelSchema.properties
266
- : undefined;
267
- if (typeof properties !== "object" || properties === null) {
268
- return {};
269
- }
270
- const queryLikeField = ["query", "question", "prompt", "input", "text"].find((field) => Object.prototype.hasOwnProperty.call(properties, field));
271
- return queryLikeField ? { [queryLikeField]: todoText } : {};
272
- }
273
260
  function normalizePlanToolName(toolName) {
274
261
  return typeof toolName === "string" ? toolName.trim().toLowerCase().replace(/[\s-]+/gu, "_") : "";
275
262
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botbotgo/agent-harness",
3
- "version": "0.0.439",
3
+ "version": "0.0.440",
4
4
  "description": "Workspace runtime for multi-agent applications",
5
5
  "license": "MIT",
6
6
  "type": "module",