@oneharness/sdk 0.5.5 → 0.5.7
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/generated/contracts.d.ts +8 -0
- package/dist/generated/history-line.d.ts +12 -4
- package/dist/generated/history-records.d.ts +282 -5
- package/dist/generated/history-stream-envelope.d.ts +285 -6
- package/dist/generated/history.d.ts +282 -5
- package/dist/generated/registry.d.ts +15 -0
- package/dist/generated/run-stream-envelope.d.ts +8 -0
- package/dist/generated/schemas.json +3233 -1332
- package/dist/generated/zod.d.ts +2 -1
- package/dist/generated/zod.js +203 -5
- package/package.json +2 -2
|
@@ -107,6 +107,7 @@ export interface HarnessInfo {
|
|
|
107
107
|
* harness; `null` when it has none (sync settings are then rejected).
|
|
108
108
|
*/
|
|
109
109
|
sync_file: string | null;
|
|
110
|
+
variants: VariantInfo[];
|
|
110
111
|
[k: string]: unknown;
|
|
111
112
|
}
|
|
112
113
|
/**
|
|
@@ -123,3 +124,17 @@ export interface ModeInfo {
|
|
|
123
124
|
mode: PermissionMode;
|
|
124
125
|
[k: string]: unknown;
|
|
125
126
|
}
|
|
127
|
+
export interface VariantInfo {
|
|
128
|
+
args: string[];
|
|
129
|
+
bin: string | null;
|
|
130
|
+
env_file: string | null;
|
|
131
|
+
env_from: {
|
|
132
|
+
[k: string]: string;
|
|
133
|
+
};
|
|
134
|
+
env_keys: string[];
|
|
135
|
+
harness_id: string;
|
|
136
|
+
model: string | null;
|
|
137
|
+
name: string;
|
|
138
|
+
unset_env: string[];
|
|
139
|
+
[k: string]: unknown;
|
|
140
|
+
}
|
|
@@ -324,6 +324,10 @@ export interface RunResult {
|
|
|
324
324
|
* Canonical harness id (e.g. `claude-code`).
|
|
325
325
|
*/
|
|
326
326
|
harness: string;
|
|
327
|
+
/**
|
|
328
|
+
* Base id or `<base>:<variant>`, suitable for selecting the same candidate.
|
|
329
|
+
*/
|
|
330
|
+
harness_id: string;
|
|
327
331
|
/**
|
|
328
332
|
* The model this result ran with (the value oneharness put on the harness's
|
|
329
333
|
* model flag), or `null` when no model was requested and the harness used its
|
|
@@ -395,6 +399,10 @@ export interface RunResult {
|
|
|
395
399
|
* How `usage` was read (e.g. `json`); `null` when nothing was found.
|
|
396
400
|
*/
|
|
397
401
|
usage_source: string | null;
|
|
402
|
+
/**
|
|
403
|
+
* Named preset, when this result came from a composed harness id.
|
|
404
|
+
*/
|
|
405
|
+
variant: string | null;
|
|
398
406
|
[k: string]: unknown;
|
|
399
407
|
}
|
|
400
408
|
/**
|