@bakers-build/addon-codex 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
@@ -9,8 +9,7 @@ const SHARED = ['plugins', 'skills', 'packages', '.tmp/marketplaces'];
9
9
  /** The model credentials a Codex run may receive from the secrets file. */
10
10
  export const CODEX_SECRET_ENV = ['CODEX_API_KEY', 'OPENAI_API_KEY'];
11
11
  /** Prepare Codex's files in the home supplied by any execution backend. */
12
- export function prepareCodexRun(context, configDir, hostEnv = context.secrets ??
13
- process.env) {
12
+ export function prepareCodexRun(context, configDir, hostEnv = context.secrets ?? {}) {
14
13
  const source = context.env.CODEX_HOME ?? configDir;
15
14
  const home = join(context.homePath, '.codex');
16
15
  mkdirSync(home, { recursive: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bakers-build/addon-codex",
3
- "version": "0.17.1-next.1",
3
+ "version": "0.17.1-next.2",
4
4
  "description": "bakers.build agent plugin for the Codex CLI.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -22,11 +22,11 @@
22
22
  "directory": "bakers-cli/addons/codex"
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
  }