@botbotgo/agent-harness 0.0.438 → 0.0.439

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.438";
1
+ export declare const AGENT_HARNESS_VERSION = "0.0.439";
2
2
  export declare const AGENT_HARNESS_RELEASE_DATE = "2026-05-04";
@@ -1,2 +1,2 @@
1
- export const AGENT_HARNESS_VERSION = "0.0.438";
1
+ export const AGENT_HARNESS_VERSION = "0.0.439";
2
2
  export const AGENT_HARNESS_RELEASE_DATE = "2026-05-04";
@@ -500,21 +500,12 @@ function buildCompactRouterPolicy(routingPolicy) {
500
500
  .join("\n");
501
501
  }
502
502
  function buildDelegatedOwnedTaskInstruction(input) {
503
- const relevantPolicyLines = (input.routingPolicy ?? "")
504
- .split(/\r?\n/u)
505
- .map((line) => line.trim())
506
- .filter((line) => line.includes(`\`${input.subagentType}\``)
507
- || line.includes(` ${input.subagentType} `)
508
- || line.toLowerCase().includes(`to ${input.subagentType}`))
509
- .slice(0, 8);
510
503
  return [
511
504
  `Delegated owner: ${input.subagentType}.`,
512
505
  "Execute only this owner's bounded portion of the larger request.",
513
506
  "Do not take over other specialist-owned work; return blockers for missing access instead of inventing success.",
514
507
  "Owned subtask:",
515
508
  input.taskText.trim() || input.originalRequest,
516
- relevantPolicyLines.length > 0 ? "Relevant parent routing/delegation policy for this owner:" : "",
517
- ...relevantPolicyLines,
518
509
  "If the owner policy or tool contract requires evidence, call write_todos first and then execute the appropriate non-planning evidence tool before any final answer.",
519
510
  "Close every TODO as completed or failed before final output.",
520
511
  ].filter(Boolean).join("\n");
@@ -1890,8 +1881,6 @@ export class AgentRuntimeAdapter {
1890
1881
  subagentType: planned.subagentType,
1891
1882
  taskText: planned.description,
1892
1883
  originalRequest: requestText,
1893
- routingPolicy,
1894
- ownerPolicy: selectedBinding ? getBindingSystemPrompt(selectedBinding) : undefined,
1895
1884
  });
1896
1885
  yield {
1897
1886
  kind: "commentary",
@@ -2113,8 +2102,6 @@ export class AgentRuntimeAdapter {
2113
2102
  subagentType,
2114
2103
  taskText: requestText,
2115
2104
  originalRequest: requestText,
2116
- routingPolicy,
2117
- ownerPolicy: getBindingSystemPrompt(selectedBinding),
2118
2105
  });
2119
2106
  let delegatedResult = yield* runDelegatedStreamAttempt(delegatedText);
2120
2107
  const targetRequiresExecutionToolEvidence = getBindingPrimaryTools(selectedBinding).length > 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botbotgo/agent-harness",
3
- "version": "0.0.438",
3
+ "version": "0.0.439",
4
4
  "description": "Workspace runtime for multi-agent applications",
5
5
  "license": "MIT",
6
6
  "type": "module",