@odla-ai/harness 0.5.1 → 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-L2T3LPEF.js → chunk-ZYNGL5SC.js} +39 -44
- package/dist/chunk-ZYNGL5SC.js.map +1 -0
- package/dist/code-runtime-cli.cjs +40 -43
- package/dist/code-runtime-cli.cjs.map +1 -1
- package/dist/code-runtime-cli.js +1 -1
- package/dist/node.cjs +40 -43
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.cts +5 -1
- package/dist/node.d.ts +5 -1
- package/dist/node.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-L2T3LPEF.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 {
|
|
@@ -714,7 +719,6 @@ declare function runCodeAgent(options: RunCodeAgentOptions): Promise<CodeAgentRu
|
|
|
714
719
|
*/
|
|
715
720
|
interface CodeInteractionBudgetState {
|
|
716
721
|
tokens: number;
|
|
717
|
-
noticeEmitted: boolean;
|
|
718
722
|
costUsd: number;
|
|
719
723
|
costKnown: boolean;
|
|
720
724
|
}
|
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 {
|
|
@@ -714,7 +719,6 @@ declare function runCodeAgent(options: RunCodeAgentOptions): Promise<CodeAgentRu
|
|
|
714
719
|
*/
|
|
715
720
|
interface CodeInteractionBudgetState {
|
|
716
721
|
tokens: number;
|
|
717
|
-
noticeEmitted: boolean;
|
|
718
722
|
costUsd: number;
|
|
719
723
|
costKnown: boolean;
|
|
720
724
|
}
|
package/dist/node.js
CHANGED
package/package.json
CHANGED