@bluecopa/harness 0.1.0-snapshot.124 → 0.1.0-snapshot.125

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,4 +1,4 @@
1
- import { A as ArcEvent, S as StepUsage } from '../types-DtF5XMs7.js';
1
+ import { A as ArcEvent, S as StepUsage } from '../types-B9-u3Kmc.js';
2
2
  import 'zod';
3
3
  import './profile-graph.js';
4
4
  import 'ai';
@@ -1,4 +1,4 @@
1
- import { j as ArcLoopConfig, g as AgentMessage, A as ArcEvent, k as ArcRunResult, l as TraceEvent } from '../types-DtF5XMs7.js';
1
+ import { j as ArcLoopConfig, g as AgentMessage, A as ArcEvent, k as ArcRunResult, l as TraceEvent } from '../types-B9-u3Kmc.js';
2
2
  import 'zod';
3
3
  import './profile-graph.js';
4
4
  import 'ai';
@@ -2464,7 +2464,8 @@ var AgentRunner = class {
2464
2464
  priorToolCalls.push({
2465
2465
  name: action.name,
2466
2466
  args: action.args,
2467
- ok: toolResult.success
2467
+ ok: toolResult.success,
2468
+ ...toolResult.error != null ? { error: toolResult.error } : {}
2468
2469
  });
2469
2470
  }
2470
2471
  executedToolCalls += toolCallInfos.filter((tc) => tc.toolName !== OUTPUT_TOOL_NAME2).length;