@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/node.d.cts
CHANGED
|
@@ -379,6 +379,7 @@ interface CodeSkillOpts {
|
|
|
379
379
|
tool: HarnessToolName;
|
|
380
380
|
ok: boolean;
|
|
381
381
|
durationMs: number;
|
|
382
|
+
error?: string;
|
|
382
383
|
}): void;
|
|
383
384
|
}
|
|
384
385
|
/**
|
|
@@ -406,6 +407,7 @@ interface CodeAgentAttemptOptions {
|
|
|
406
407
|
tool: HarnessToolName;
|
|
407
408
|
ok: boolean;
|
|
408
409
|
durationMs: number;
|
|
410
|
+
error?: string;
|
|
409
411
|
}): void;
|
|
410
412
|
}
|
|
411
413
|
/** Whether one attempt completed, and the text it ended on. */
|
|
@@ -644,6 +646,9 @@ interface CodeToolCallRecord {
|
|
|
644
646
|
tool: HarnessToolName;
|
|
645
647
|
ok: boolean;
|
|
646
648
|
durationMs: number;
|
|
649
|
+
/** Why it failed, bounded, when it did — the same phrasing the model was
|
|
650
|
+
* given. Absent on success. */
|
|
651
|
+
error?: string;
|
|
647
652
|
}
|
|
648
653
|
/** One coding run: which tool surface, which model, and what it may spend. */
|
|
649
654
|
interface RunCodeAgentOptions {
|
package/dist/node.d.ts
CHANGED
|
@@ -379,6 +379,7 @@ interface CodeSkillOpts {
|
|
|
379
379
|
tool: HarnessToolName;
|
|
380
380
|
ok: boolean;
|
|
381
381
|
durationMs: number;
|
|
382
|
+
error?: string;
|
|
382
383
|
}): void;
|
|
383
384
|
}
|
|
384
385
|
/**
|
|
@@ -406,6 +407,7 @@ interface CodeAgentAttemptOptions {
|
|
|
406
407
|
tool: HarnessToolName;
|
|
407
408
|
ok: boolean;
|
|
408
409
|
durationMs: number;
|
|
410
|
+
error?: string;
|
|
409
411
|
}): void;
|
|
410
412
|
}
|
|
411
413
|
/** Whether one attempt completed, and the text it ended on. */
|
|
@@ -644,6 +646,9 @@ interface CodeToolCallRecord {
|
|
|
644
646
|
tool: HarnessToolName;
|
|
645
647
|
ok: boolean;
|
|
646
648
|
durationMs: number;
|
|
649
|
+
/** Why it failed, bounded, when it did — the same phrasing the model was
|
|
650
|
+
* given. Absent on success. */
|
|
651
|
+
error?: string;
|
|
647
652
|
}
|
|
648
653
|
/** One coding run: which tool surface, which model, and what it may spend. */
|
|
649
654
|
interface RunCodeAgentOptions {
|
package/dist/node.js
CHANGED
package/package.json
CHANGED