@bakers-build/addon-grok 0.8.0 → 0.8.1-next.10
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 +30 -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,30 @@
|
|
|
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": {
|
|
8
|
+
"enum": [
|
|
9
|
+
"sandbox",
|
|
10
|
+
"system",
|
|
11
|
+
"yolo"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"config": false,
|
|
15
|
+
"reasoning_effort": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Reasoning effort (high, medium, low); effort wins when both are set."
|
|
18
|
+
},
|
|
19
|
+
"model": {
|
|
20
|
+
"description": "Passed as `--model`, else the CLI's default."
|
|
21
|
+
},
|
|
22
|
+
"effort": {
|
|
23
|
+
"description": "Passed as `--reasoning-effort`; overrides `reasoning_effort`."
|
|
24
|
+
},
|
|
25
|
+
"args": {
|
|
26
|
+
"description": "Extra arguments, each shell-quoted; explicit model flags win."
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"unevaluatedProperties": false
|
|
30
|
+
}
|
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.10",
|
|
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.10",
|
|
26
|
+
"@bakers-build/core": "^0.8.1-next.10"
|
|
25
27
|
},
|
|
26
28
|
"bakersBuild": {
|
|
27
|
-
"commit": "
|
|
28
|
-
"channel": "
|
|
29
|
+
"commit": "ceb44a12624feaa85cb2b0c9f84345399b38bf50",
|
|
30
|
+
"channel": "next"
|
|
29
31
|
}
|
|
30
32
|
}
|