@threadbase-sh/streamer 1.24.0 → 1.24.1

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.cjs CHANGED
@@ -1369,6 +1369,11 @@ function buildSpawnEnv() {
1369
1369
  if (env.CLAUDE_API_KEY) {
1370
1370
  env.ANTHROPIC_API_KEY = env.CLAUDE_API_KEY;
1371
1371
  }
1372
+ for (const key of Object.keys(env)) {
1373
+ if (key === "CLAUDECODE" || key.startsWith("CLAUDE_CODE_")) {
1374
+ delete env[key];
1375
+ }
1376
+ }
1372
1377
  return env;
1373
1378
  }
1374
1379
  var PTYManager = class {