@botbotgo/agent-harness 0.0.407 → 0.0.408

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.
package/dist/cli/main.js CHANGED
@@ -225,7 +225,6 @@ export async function runCli(argv, io = {}, deps = {}) {
225
225
  });
226
226
  activeAgentId = interactiveState.activeAgentId;
227
227
  activeSessionId = interactiveState.activeSessionId;
228
- latestRequestId = interactiveState.latestRequestId;
229
228
  await stopClientWithTimeout(client, stderr);
230
229
  restoreWriteListenerGuard?.();
231
230
  restoreEmitterListenerGuard?.();
@@ -1,2 +1,2 @@
1
- export declare const AGENT_HARNESS_VERSION = "0.0.407";
1
+ export declare const AGENT_HARNESS_VERSION = "0.0.408";
2
2
  export declare const AGENT_HARNESS_RELEASE_DATE = "2026-05-02";
@@ -1,2 +1,2 @@
1
- export const AGENT_HARNESS_VERSION = "0.0.407";
1
+ export const AGENT_HARNESS_VERSION = "0.0.408";
2
2
  export const AGENT_HARNESS_RELEASE_DATE = "2026-05-02";
@@ -303,7 +303,6 @@ async function* streamSendMessageTaskUpdates(runtime, options, method) {
303
303
  continue;
304
304
  }
305
305
  if (item.type === "result") {
306
- requestId = item.result.requestId;
307
306
  const task = withRunResult(await buildTaskFromRuntime(runtime, item.result.requestId), item.result, streamedText || item.result.output);
308
307
  yield { task, mode: emittedInitialTask ? "status-update" : "task" };
309
308
  return;
@@ -360,7 +360,6 @@ export async function executeRequestInvocation(options) {
360
360
  const recoveryBase = messages ? { messages } : request;
361
361
  const recoveredRequest = appendToolRecoveryInstruction(recoveryBase, WRITE_TODOS_REQUIRED_PLAN_INSTRUCTION);
362
362
  const recoveredInvocation = await invokeOnce(recoveredRequest);
363
- localOrUpstreamInvocation = recoveredInvocation;
364
363
  result = recoveredInvocation.result;
365
364
  executedToolResults.splice(0, executedToolResults.length, ...recoveredInvocation.executedToolResults);
366
365
  }
@@ -373,7 +372,6 @@ export async function executeRequestInvocation(options) {
373
372
  const recoveryBase = messages ? { messages } : request;
374
373
  const recoveredRequest = appendToolRecoveryInstruction(recoveryBase, AUTONOMOUS_INVESTIGATION_RECOVERY_INSTRUCTION);
375
374
  const recoveredInvocation = await invokeOnce(recoveredRequest);
376
- localOrUpstreamInvocation = recoveredInvocation;
377
375
  result = recoveredInvocation.result;
378
376
  executedToolResults.splice(0, executedToolResults.length, ...recoveredInvocation.executedToolResults);
379
377
  }
@@ -1049,7 +1049,6 @@ export async function* streamHarnessRun(options) {
1049
1049
  const signature = buildPlanStateSignature(reconciledPlanState);
1050
1050
  if (signature !== lastPlanStateSignature) {
1051
1051
  const previousPlanState = currentPlanState;
1052
- planStateVersion = reconciledPlanState.version;
1053
1052
  lastPlanStateSignature = signature;
1054
1053
  currentPlanState = reconciledPlanState;
1055
1054
  const progression = buildPlanStateProgression(previousPlanState, currentPlanState);
@@ -1124,7 +1123,6 @@ export async function* streamHarnessRun(options) {
1124
1123
  const signature = buildPlanStateSignature(reconciledPlanState);
1125
1124
  if (signature !== lastPlanStateSignature) {
1126
1125
  const previousPlanState = currentPlanState;
1127
- planStateVersion = reconciledPlanState.version;
1128
1126
  lastPlanStateSignature = signature;
1129
1127
  currentPlanState = reconciledPlanState;
1130
1128
  const progression = buildPlanStateProgression(previousPlanState, currentPlanState);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botbotgo/agent-harness",
3
- "version": "0.0.407",
3
+ "version": "0.0.408",
4
4
  "description": "Workspace runtime for multi-agent applications",
5
5
  "license": "MIT",
6
6
  "type": "module",