@cleocode/adapters 2026.5.15 → 2026.5.17

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/index.js CHANGED
@@ -28261,6 +28261,10 @@ var init_spawn2 = __esm({
28261
28261
  if (context.workingDirectory) {
28262
28262
  spawnOpts.cwd = context.workingDirectory;
28263
28263
  }
28264
+ const optionsEnv = context.options?.env;
28265
+ if (optionsEnv !== void 0 && Object.keys(optionsEnv).length > 0) {
28266
+ spawnOpts.env = { ...process.env, ...optionsEnv };
28267
+ }
28264
28268
  const child = nodeSpawn("claude", args, spawnOpts);
28265
28269
  child.unref();
28266
28270
  if (child.pid) {