maxsimcli 2.5.5 → 2.5.6
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/assets/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [2.5.6](https://github.com/maystudios/maxsim/compare/v2.5.5...v2.5.6) (2026-02-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **dashboard:** spawn claude via system shell for reliable PATH resolution ([0030283](https://github.com/maystudios/maxsim/commit/0030283ac800d966a02290983455ec591557e55e))
|
|
7
|
+
|
|
1
8
|
## [2.5.5](https://github.com/maystudios/maxsim/compare/v2.5.4...v2.5.5) (2026-02-25)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -41462,9 +41462,10 @@ var PtyManager = class PtyManager {
|
|
|
41462
41462
|
ptyLog("INFO", "Killing existing session before spawn");
|
|
41463
41463
|
this.kill();
|
|
41464
41464
|
}
|
|
41465
|
-
const
|
|
41466
|
-
const
|
|
41467
|
-
|
|
41465
|
+
const isWin = process.platform === "win32";
|
|
41466
|
+
const shell = isWin ? "cmd.exe" : "/bin/sh";
|
|
41467
|
+
const claudeCmd = `claude${opts.skipPermissions ? " --dangerously-skip-permissions" : ""}`;
|
|
41468
|
+
const args = isWin ? ["/c", claudeCmd] : ["-c", claudeCmd];
|
|
41468
41469
|
ptyLog("INFO", `Spawning: shell=${shell}, args=${JSON.stringify(args)}, cwd=${opts.cwd}, cols=${opts.cols ?? 120}, rows=${opts.rows ?? 30}`);
|
|
41469
41470
|
const proc = pty.spawn(shell, args, {
|
|
41470
41471
|
name: "xterm-256color",
|
|
@@ -41568,26 +41569,6 @@ var PtyManager = class PtyManager {
|
|
|
41568
41569
|
isAvailable() {
|
|
41569
41570
|
return pty !== null;
|
|
41570
41571
|
}
|
|
41571
|
-
resolveClaudePath() {
|
|
41572
|
-
if (process.platform !== "win32") return "claude";
|
|
41573
|
-
const { execSync } = require("child_process");
|
|
41574
|
-
for (const name of [
|
|
41575
|
-
"claude.exe",
|
|
41576
|
-
"claude.cmd",
|
|
41577
|
-
"claude"
|
|
41578
|
-
]) try {
|
|
41579
|
-
const first = execSync(`where ${name}`, {
|
|
41580
|
-
encoding: "utf8",
|
|
41581
|
-
timeout: 5e3
|
|
41582
|
-
}).trim().split(/\r?\n/)[0];
|
|
41583
|
-
if (first) {
|
|
41584
|
-
ptyLog("INFO", `Resolved claude path: ${first}`);
|
|
41585
|
-
return first;
|
|
41586
|
-
}
|
|
41587
|
-
} catch {}
|
|
41588
|
-
ptyLog("WARN", "Could not resolve claude path, falling back to \"claude\"");
|
|
41589
|
-
return "claude";
|
|
41590
|
-
}
|
|
41591
41572
|
broadcastToClients(message) {
|
|
41592
41573
|
const data = JSON.stringify(message);
|
|
41593
41574
|
for (const client of this.connectedClients) if (client.readyState === import_websocket.default.OPEN) client.send(data);
|
package/package.json
CHANGED