@fangyb/ahchat-bridge 0.1.12 → 0.1.14
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/cli.cjs +346 -98
- package/dist/index.js +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -49949,8 +49949,7 @@ function installClaudeCli() {
|
|
|
49949
49949
|
const envPath = process.env.PATH ?? "(unset)";
|
|
49950
49950
|
logger24.error("claude not found after successful npm install -g", {
|
|
49951
49951
|
npmGlobalBin: npmBin ?? "unknown",
|
|
49952
|
-
pathDirectories: envPath.split(":").slice(0, 10),
|
|
49953
|
-
// first 10 to avoid log spam
|
|
49952
|
+
pathDirectories: envPath.split(process.platform === "win32" ? ";" : ":").slice(0, 10),
|
|
49954
49953
|
npmPrefix: execSync("npm prefix -g", { timeout: 5e3 }).toString().trim() || "unknown"
|
|
49955
49954
|
});
|
|
49956
49955
|
return void 0;
|