pennyrouter 0.3.39 → 0.3.40
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/package.json +1 -1
- package/src/cli.js +0 -2
- package/src/launch.js +10 -0
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -2035,8 +2035,6 @@ async function uninstall(flags) {
|
|
|
2035
2035
|
|
|
2036
2036
|
if (anthropicTokenNotice) {
|
|
2037
2037
|
console.log("");
|
|
2038
|
-
console.log("Note: Your stored Anthropic token remains on the server for other machines.");
|
|
2039
|
-
console.log("To delete it from the server, run: pennyrouter auth anthropic --forget");
|
|
2040
2038
|
}
|
|
2041
2039
|
|
|
2042
2040
|
manifest.installations = kept;
|
package/src/launch.js
CHANGED
|
@@ -320,6 +320,16 @@ export async function installPennyCompare() {
|
|
|
320
320
|
await mkdir(dirname(target), { recursive: true });
|
|
321
321
|
await cp(await findInstalledPackage(name), target, { recursive: true });
|
|
322
322
|
}
|
|
323
|
+
if (process.platform === "darwin") {
|
|
324
|
+
// node-pty 1.1.0's macOS prebuild ships a non-executable spawn-helper, and the copy
|
|
325
|
+
// keeps that mode; without +x every PTY launch fails at posix_spawnp.
|
|
326
|
+
const helper = join(modules, "node-pty", "prebuilds", `darwin-${process.arch}`, "spawn-helper");
|
|
327
|
+
try {
|
|
328
|
+
await chmod(helper, (await stat(helper)).mode | 0o111);
|
|
329
|
+
} catch (error) {
|
|
330
|
+
if (error.code !== "ENOENT") throw error;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
323
333
|
if (process.platform === "win32") {
|
|
324
334
|
const link = join(pennyBinDir(), "penny-compare.cmd");
|
|
325
335
|
const marker = "@REM PennyRouter-managed compare launcher";
|