@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.
@@ -6,7 +6,7 @@ import {
6
6
  assertCodeBuildRecipe,
7
7
  createCodeRuntimeControlClient,
8
8
  runCodeRuntimeHeartbeatLoop
9
- } from "./chunk-5HX5LWTG.js";
9
+ } from "./chunk-ZYNGL5SC.js";
10
10
  import {
11
11
  assertPinnedImage,
12
12
  selectContainerEngine
package/dist/node.cjs CHANGED
@@ -2020,7 +2020,12 @@ function codeSkill(opts) {
2020
2020
  { lease: opts.lease, workspaceDir: opts.workspaceDir, signal },
2021
2021
  { requestId: `bench-${tool}-${++seq}`, tool, input }
2022
2022
  );
2023
- opts.onToolCall?.({ tool, ok: response2.ok, durationMs: Date.now() - startedAt });
2023
+ opts.onToolCall?.({
2024
+ tool,
2025
+ ok: response2.ok,
2026
+ durationMs: Date.now() - startedAt,
2027
+ ...response2.ok ? {} : { error: String(response2.content).slice(0, 300) }
2028
+ });
2024
2029
  return { content: response2.content, isError: !response2.ok };
2025
2030
  };
2026
2031
  const read2 = {