freebuff 0.0.127 → 0.0.128

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/launcher.js +7 -1
  2. package/package.json +1 -1
package/launcher.js CHANGED
@@ -1110,9 +1110,15 @@ function createLauncher(productConfig) {
1110
1110
  // exe or the download is corrupt — is thrown synchronously.
1111
1111
  let child
1112
1112
  try {
1113
+ const { env: optionEnv, ...spawnOptions } = options
1113
1114
  child = spawn(CONFIG.binaryPath, process.argv.slice(2), {
1114
1115
  stdio: 'inherit',
1115
- ...options,
1116
+ ...spawnOptions,
1117
+ env: {
1118
+ ...process.env,
1119
+ ...optionEnv,
1120
+ CODEBUFF_LAUNCHER_PID: String(process.pid),
1121
+ },
1116
1122
  })
1117
1123
  } catch (err) {
1118
1124
  exitOnSpawnFailure(err)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freebuff",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
4
4
  "description": "The world's strongest free coding agent",
5
5
  "license": "MIT",
6
6
  "bin": {