@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.
- package/dist/{chunk-5HX5LWTG.js → chunk-ZYNGL5SC.js} +7 -2
- package/dist/chunk-ZYNGL5SC.js.map +1 -0
- package/dist/code-runtime-cli.cjs +6 -1
- package/dist/code-runtime-cli.cjs.map +1 -1
- package/dist/code-runtime-cli.js +1 -1
- package/dist/node.cjs +6 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.cts +5 -0
- package/dist/node.d.ts +5 -0
- package/dist/node.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-5HX5LWTG.js.map +0 -1
package/dist/code-runtime-cli.js
CHANGED
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?.({
|
|
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 = {
|