@bakers-build/addon-grok 0.17.1-next.1 → 0.17.1-next.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.
Files changed (2) hide show
  1. package/dist/src/run.js +1 -2
  2. package/package.json +4 -4
package/dist/src/run.js CHANGED
@@ -6,8 +6,7 @@ export function encodeGrokSessionCwd(cwd) {
6
6
  /** The model credential a Grok run may receive from the secrets file. */
7
7
  export const GROK_SECRET_ENV = ['XAI_API_KEY'];
8
8
  /** Prepare Grok's files in the home supplied by any execution backend. */
9
- export function prepareGrokRun(context, grokHome, hostEnv = context.secrets ??
10
- process.env) {
9
+ export function prepareGrokRun(context, grokHome, hostEnv = context.secrets ?? {}) {
11
10
  const home = join(context.homePath, '.grok');
12
11
  mkdirSync(join(home, 'sessions'), { recursive: true });
13
12
  // Writable copies: a managed launch writes its profile into sandbox.toml;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bakers-build/addon-grok",
3
- "version": "0.17.1-next.1",
3
+ "version": "0.17.1-next.2",
4
4
  "description": "bakers.build agent plugin for xAI Grok Build, with a real session footprint.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -22,11 +22,11 @@
22
22
  "directory": "bakers-cli/addons/grok"
23
23
  },
24
24
  "peerDependencies": {
25
- "@bakers-build/conductor": "^0.17.1-next.1",
26
- "@bakers-build/core": "^0.17.1-next.1"
25
+ "@bakers-build/conductor": "^0.17.1-next.2",
26
+ "@bakers-build/core": "^0.17.1-next.2"
27
27
  },
28
28
  "bakersBuild": {
29
- "commit": "a4cb9810490a4735c0e618d494bf79ef78e0efdf",
29
+ "commit": "035506c7ccbdf8641f605a5dcb07d50ccf42d72d",
30
30
  "channel": "next"
31
31
  }
32
32
  }