@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.
@@ -1438,7 +1438,12 @@ function codeSkill(opts) {
1438
1438
  { lease: opts.lease, workspaceDir: opts.workspaceDir, signal },
1439
1439
  { requestId: `bench-${tool}-${++seq}`, tool, input }
1440
1440
  );
1441
- opts.onToolCall?.({ tool, ok: response2.ok, durationMs: Date.now() - startedAt });
1441
+ opts.onToolCall?.({
1442
+ tool,
1443
+ ok: response2.ok,
1444
+ durationMs: Date.now() - startedAt,
1445
+ ...response2.ok ? {} : { error: String(response2.content).slice(0, 300) }
1446
+ });
1442
1447
  return { content: response2.content, isError: !response2.ok };
1443
1448
  };
1444
1449
  const read2 = {