@bakers-build/addon-grok 0.8.0 → 0.8.1-next.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.
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +1 -1
- package/options.schema.json +15 -0
- package/package.json +9 -7
package/dist/src/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { parseGrokTranscript } from './footprint.js';
|
|
|
3
3
|
export type GrokReasoningEffort = 'high' | 'medium' | 'low';
|
|
4
4
|
export interface GrokAgentOptions extends SecurityOptions {
|
|
5
5
|
model?: string;
|
|
6
|
-
|
|
6
|
+
reasoning_effort?: GrokReasoningEffort | string;
|
|
7
7
|
effort?: string;
|
|
8
8
|
args?: string[];
|
|
9
9
|
}
|
package/dist/src/index.js
CHANGED
|
@@ -181,7 +181,7 @@ export class GrokAgent {
|
|
|
181
181
|
this.model = cli.model;
|
|
182
182
|
this.effort =
|
|
183
183
|
cli.effort ??
|
|
184
|
-
validateOptionalString(options.
|
|
184
|
+
validateOptionalString(options.reasoning_effort, 'reasoning_effort');
|
|
185
185
|
this.overrides = cli.overrides;
|
|
186
186
|
}
|
|
187
187
|
launchCommand(prompt, run) {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://bakers.build/schema/addon-grok/options.schema.json",
|
|
4
|
+
"title": "@bakers-build/addon-grok options",
|
|
5
|
+
"$ref": "https://bakers.build/schema/harness-options.schema.json",
|
|
6
|
+
"properties": {
|
|
7
|
+
"permissions": { "enum": ["sandbox", "system", "yolo"] },
|
|
8
|
+
"config": false,
|
|
9
|
+
"reasoning_effort": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "Reasoning effort (high, medium, low); effort wins when both are set."
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"unevaluatedProperties": false
|
|
15
|
+
}
|
package/package.json
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bakers-build/addon-grok",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1-next.1",
|
|
4
4
|
"description": "bakers.build agent plugin for xAI Grok Build, with a real session footprint.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": "./dist/src/index.js",
|
|
9
|
-
"./preset": "./dist/src/preset.js"
|
|
9
|
+
"./preset": "./dist/src/preset.js",
|
|
10
|
+
"./options.schema.json": "./options.schema.json"
|
|
10
11
|
},
|
|
11
12
|
"files": [
|
|
12
|
-
"dist/src"
|
|
13
|
+
"dist/src",
|
|
14
|
+
"options.schema.json"
|
|
13
15
|
],
|
|
14
16
|
"publishConfig": {
|
|
15
17
|
"access": "public"
|
|
@@ -20,11 +22,11 @@
|
|
|
20
22
|
"directory": "bakers-cli/addons/grok"
|
|
21
23
|
},
|
|
22
24
|
"peerDependencies": {
|
|
23
|
-
"@bakers-build/conductor": "^0.8.
|
|
24
|
-
"@bakers-build/core": "^0.8.
|
|
25
|
+
"@bakers-build/conductor": "^0.8.1-next.1",
|
|
26
|
+
"@bakers-build/core": "^0.8.1-next.1"
|
|
25
27
|
},
|
|
26
28
|
"bakersBuild": {
|
|
27
|
-
"commit": "
|
|
28
|
-
"channel": "
|
|
29
|
+
"commit": "c4a887bee37bb2fed14bb9ba15ad0aacf0e26f7e",
|
|
30
|
+
"channel": "next"
|
|
29
31
|
}
|
|
30
32
|
}
|