@oneharness/sdk 0.22.0 → 0.23.1
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.
|
@@ -120,6 +120,11 @@ export interface HarnessReport {
|
|
|
120
120
|
[k: string]: unknown;
|
|
121
121
|
};
|
|
122
122
|
model: Field3;
|
|
123
|
+
/**
|
|
124
|
+
* The resolved plugins opt-in (`false` by default), present only for a
|
|
125
|
+
* harness with a plugins feature (`codex`).
|
|
126
|
+
*/
|
|
127
|
+
plugins?: Field | null | undefined;
|
|
123
128
|
reasoning: Field3;
|
|
124
129
|
settings: {
|
|
125
130
|
[k: string]: unknown;
|
|
@@ -145,6 +150,12 @@ export interface VariantReport {
|
|
|
145
150
|
[k: string]: unknown;
|
|
146
151
|
};
|
|
147
152
|
model: Field3;
|
|
153
|
+
/**
|
|
154
|
+
* The plugins opt-in a launch of this variant resolves to: the variant's
|
|
155
|
+
* own, else its harness's, else `false`. Present only for a harness with
|
|
156
|
+
* a plugins feature (`codex`).
|
|
157
|
+
*/
|
|
158
|
+
plugins?: Field | null | undefined;
|
|
148
159
|
reasoning: Field3;
|
|
149
160
|
settings: {
|
|
150
161
|
[k: string]: unknown;
|
|
@@ -16901,6 +16901,17 @@
|
|
|
16901
16901
|
"model": {
|
|
16902
16902
|
"$ref": "#/$defs/Field3"
|
|
16903
16903
|
},
|
|
16904
|
+
"plugins": {
|
|
16905
|
+
"description": "The resolved plugins opt-in (`false` by default), present only for a\nharness with a plugins feature (`codex`).",
|
|
16906
|
+
"anyOf": [
|
|
16907
|
+
{
|
|
16908
|
+
"$ref": "#/$defs/Field"
|
|
16909
|
+
},
|
|
16910
|
+
{
|
|
16911
|
+
"type": "null"
|
|
16912
|
+
}
|
|
16913
|
+
]
|
|
16914
|
+
},
|
|
16904
16915
|
"reasoning": {
|
|
16905
16916
|
"$ref": "#/$defs/Field3"
|
|
16906
16917
|
},
|
|
@@ -17086,6 +17097,17 @@
|
|
|
17086
17097
|
"model": {
|
|
17087
17098
|
"$ref": "#/$defs/Field3"
|
|
17088
17099
|
},
|
|
17100
|
+
"plugins": {
|
|
17101
|
+
"description": "The plugins opt-in a launch of this variant resolves to: the variant's\nown, else its harness's, else `false`. Present only for a harness with\na plugins feature (`codex`).",
|
|
17102
|
+
"anyOf": [
|
|
17103
|
+
{
|
|
17104
|
+
"$ref": "#/$defs/Field"
|
|
17105
|
+
},
|
|
17106
|
+
{
|
|
17107
|
+
"type": "null"
|
|
17108
|
+
}
|
|
17109
|
+
]
|
|
17110
|
+
},
|
|
17089
17111
|
"reasoning": {
|
|
17090
17112
|
"$ref": "#/$defs/Field3"
|
|
17091
17113
|
},
|
package/dist/generated/zod.js
CHANGED
|
@@ -302,6 +302,7 @@ export const HarnessReportSchema = z.looseObject({
|
|
|
302
302
|
.refine((value) => value !== undefined, { message: "Required" }),
|
|
303
303
|
hooks: z.looseObject({}).refine((value) => value !== undefined, { message: "Required" }),
|
|
304
304
|
model: z.lazy(() => Field3Schema).refine((value) => value !== undefined, { message: "Required" }),
|
|
305
|
+
plugins: z.union([z.lazy(() => FieldSchema), z.null()]).optional(),
|
|
305
306
|
reasoning: z.lazy(() => Field3Schema).refine((value) => value !== undefined, { message: "Required" }),
|
|
306
307
|
settings: z.looseObject({}).refine((value) => value !== undefined, { message: "Required" }),
|
|
307
308
|
variant: z
|
|
@@ -2844,6 +2845,7 @@ export const VariantReportSchema = z.looseObject({
|
|
|
2844
2845
|
.refine((value) => value !== undefined, { message: "Required" }),
|
|
2845
2846
|
hooks: z.looseObject({}).refine((value) => value !== undefined, { message: "Required" }),
|
|
2846
2847
|
model: z.lazy(() => Field3Schema).refine((value) => value !== undefined, { message: "Required" }),
|
|
2848
|
+
plugins: z.union([z.lazy(() => FieldSchema), z.null()]).optional(),
|
|
2847
2849
|
reasoning: z.lazy(() => Field3Schema).refine((value) => value !== undefined, { message: "Required" }),
|
|
2848
2850
|
settings: z.looseObject({}).refine((value) => value !== undefined, { message: "Required" }),
|
|
2849
2851
|
unset_env: z.lazy(() => Field2Schema).refine((value) => value !== undefined, { message: "Required" }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oneharness/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.1",
|
|
4
4
|
"description": "Typed Node.js SDK for oneharness",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"node": ">=20"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"oneharness-cli": "0.
|
|
22
|
+
"oneharness-cli": "0.23.1",
|
|
23
23
|
"zod": "^4.4.3"
|
|
24
24
|
}
|
|
25
25
|
}
|