claude-relay 2.4.2 → 2.4.3
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/lib/daemon.js +4 -0
- package/package.json +1 -1
package/lib/daemon.js
CHANGED
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
if (!Symbol.dispose) Symbol.dispose = Symbol("Symbol.dispose");
|
|
5
5
|
if (!Symbol.asyncDispose) Symbol.asyncDispose = Symbol("Symbol.asyncDispose");
|
|
6
6
|
|
|
7
|
+
// Remove CLAUDECODE env var so the SDK can spawn Claude Code child processes
|
|
8
|
+
// (prevents "cannot be launched inside another Claude Code session" error)
|
|
9
|
+
delete process.env.CLAUDECODE;
|
|
10
|
+
|
|
7
11
|
var fs = require("fs");
|
|
8
12
|
var path = require("path");
|
|
9
13
|
var { loadConfig, saveConfig, socketPath, generateSlug, syncClayrc, writeCrashInfo, readCrashInfo, clearCrashInfo } = require("./config");
|