@odla-ai/harness 0.5.2 → 0.6.0

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.
@@ -1165,7 +1165,12 @@ function codeSkill(opts) {
1165
1165
  { lease: opts.lease, workspaceDir: opts.workspaceDir, signal },
1166
1166
  { requestId: `bench-${tool}-${++seq}`, tool, input }
1167
1167
  );
1168
- opts.onToolCall?.({ tool, ok: response2.ok, durationMs: Date.now() - startedAt });
1168
+ opts.onToolCall?.({
1169
+ tool,
1170
+ ok: response2.ok,
1171
+ durationMs: Date.now() - startedAt,
1172
+ ...response2.ok ? {} : { error: String(response2.content).slice(0, 300) }
1173
+ });
1169
1174
  return { content: response2.content, isError: !response2.ok };
1170
1175
  };
1171
1176
  const read2 = {
@@ -2663,4 +2668,4 @@ export {
2663
2668
  runGoal,
2664
2669
  CodePiRuntimeEngine
2665
2670
  };
2666
- //# sourceMappingURL=chunk-5HX5LWTG.js.map
2671
+ //# sourceMappingURL=chunk-ZYNGL5SC.js.map