@odla-ai/harness 0.9.0 → 0.9.2
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-CR6RE3A2.js → chunk-5LRYJKUI.js} +3 -3
- package/dist/chunk-FAN2R3GW.js +166 -0
- package/dist/chunk-FAN2R3GW.js.map +1 -0
- package/dist/{chunk-NWNBSX56.js → chunk-OZBJNTML.js} +4 -4
- package/dist/{chunk-NG7AYYH3.js → chunk-Q4NL5XO3.js} +204 -217
- package/dist/chunk-Q4NL5XO3.js.map +1 -0
- package/dist/{chunk-RXNHCGWE.js → chunk-U324RQ4N.js} +1 -1
- package/dist/{chunk-RXNHCGWE.js.map → chunk-U324RQ4N.js.map} +1 -1
- package/dist/{chunk-Q7CKOT7T.js → chunk-VDY5V7ZG.js} +2 -2
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +4 -4
- package/dist/code-runtime-cli.cjs +311 -164
- package/dist/code-runtime-cli.cjs.map +1 -1
- package/dist/code-runtime-cli.js +12 -6
- package/dist/code-runtime-cli.js.map +1 -1
- package/dist/index.cjs +172 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -3
- package/dist/index.d.ts +24 -3
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/dist/node.cjs +308 -162
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.cts +44 -7
- package/dist/node.d.ts +44 -7
- package/dist/node.js +10 -5
- package/dist/node.js.map +1 -1
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/dist/{types-BNJikP5h.d.ts → types-_8y8vBDI.d.cts} +19 -1
- package/dist/{types-BNJikP5h.d.cts → types-_8y8vBDI.d.ts} +19 -1
- package/package.json +1 -1
- package/dist/chunk-NG7AYYH3.js.map +0 -1
- /package/dist/{chunk-CR6RE3A2.js.map → chunk-5LRYJKUI.js.map} +0 -0
- /package/dist/{chunk-NWNBSX56.js.map → chunk-OZBJNTML.js.map} +0 -0
- /package/dist/{chunk-Q7CKOT7T.js.map → chunk-VDY5V7ZG.js.map} +0 -0
|
@@ -198,7 +198,25 @@ type CodeSessionEventData = ({
|
|
|
198
198
|
ok: boolean;
|
|
199
199
|
durationMs: number;
|
|
200
200
|
operationId?: string;
|
|
201
|
+
/** Why the call failed, bounded. Absent when `ok`. Without this a watcher
|
|
202
|
+
* saw that a tool failed and never why, which is what made an 84%
|
|
203
|
+
* apply_patch failure rate impossible to diagnose (PM bug 515655ec). */
|
|
204
|
+
failureReason?: string;
|
|
201
205
|
presentation?: CodeToolPresentation;
|
|
206
|
+
} | {
|
|
207
|
+
type: "collaboration";
|
|
208
|
+
phase: "started";
|
|
209
|
+
skill: string;
|
|
210
|
+
tool: string;
|
|
211
|
+
operationId: string;
|
|
212
|
+
} | {
|
|
213
|
+
type: "collaboration";
|
|
214
|
+
phase: "completed";
|
|
215
|
+
skill: string;
|
|
216
|
+
tool: string;
|
|
217
|
+
ok: boolean;
|
|
218
|
+
durationMs: number;
|
|
219
|
+
operationId: string;
|
|
202
220
|
} | {
|
|
203
221
|
type: "usage";
|
|
204
222
|
provider: string;
|
|
@@ -311,4 +329,4 @@ interface HarnessToolBroker {
|
|
|
311
329
|
}, request: HarnessToolRequest): Promise<HarnessToolResponse>;
|
|
312
330
|
}
|
|
313
331
|
|
|
314
|
-
export { type
|
|
332
|
+
export { type CodeSessionEventData as C, DEFAULT_AI_ROUTE as D, type HarnessControlPlane as H, type HarnessLease as a, type HarnessEventInput as b, type HarnessCompletion as c, type HarnessInferenceRequest as d, type HarnessInferenceResponse as e, type HarnessToolBroker as f, type HarnessToolResponse as g, type HarnessAgentInput as h, type HarnessAgentOutput as i, type HarnessAiConnection as j, type CodeSessionEvent as k, type CodeToolLocationPreview as l, type CodeToolPresentation as m, HARNESS_PROTOCOL_VERSION as n, type HarnessActor as o, type HarnessAttemptStatus as p, type HarnessAttemptSummary as q, type HarnessEvent as r, type HarnessPolicy as s, type HarnessRunnerView as t, type HarnessTaskDetail as u, type HarnessTaskSpec as v, type HarnessTaskStatus as w, type HarnessTaskSummary as x, type HarnessToolName as y, type HarnessToolRequest as z };
|
package/package.json
CHANGED