@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.js CHANGED
@@ -1317,6 +1317,11 @@ function buildSpawnEnv() {
1317
1317
  if (env.CLAUDE_API_KEY) {
1318
1318
  env.ANTHROPIC_API_KEY = env.CLAUDE_API_KEY;
1319
1319
  }
1320
+ for (const key of Object.keys(env)) {
1321
+ if (key === "CLAUDECODE" || key.startsWith("CLAUDE_CODE_")) {
1322
+ delete env[key];
1323
+ }
1324
+ }
1320
1325
  return env;
1321
1326
  }
1322
1327
  var PTYManager = class {