maxsimcli 2.5.4 → 2.5.5

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.
@@ -1,3 +1,10 @@
1
+ ## [2.5.5](https://github.com/maystudios/maxsim/compare/v2.5.4...v2.5.5) (2026-02-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **dashboard:** resolve claude executable path on Windows ([18261ea](https://github.com/maystudios/maxsim/commit/18261eafb20dfab82bc4d864d35dcbb550320027))
7
+
1
8
  ## [2.5.4](https://github.com/maystudios/maxsim/compare/v2.5.3...v2.5.4) (2026-02-25)
2
9
 
3
10
 
@@ -41462,7 +41462,7 @@ var PtyManager = class PtyManager {
41462
41462
  ptyLog("INFO", "Killing existing session before spawn");
41463
41463
  this.kill();
41464
41464
  }
41465
- const shell = process.platform === "win32" ? "claude.cmd" : "claude";
41465
+ const shell = this.resolveClaudePath();
41466
41466
  const args = [];
41467
41467
  if (opts.skipPermissions) args.push("--dangerously-skip-permissions");
41468
41468
  ptyLog("INFO", `Spawning: shell=${shell}, args=${JSON.stringify(args)}, cwd=${opts.cwd}, cols=${opts.cols ?? 120}, rows=${opts.rows ?? 30}`);
@@ -41568,6 +41568,26 @@ var PtyManager = class PtyManager {
41568
41568
  isAvailable() {
41569
41569
  return pty !== null;
41570
41570
  }
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
+ }
41571
41591
  broadcastToClients(message) {
41572
41592
  const data = JSON.stringify(message);
41573
41593
  for (const client of this.connectedClients) if (client.readyState === import_websocket.default.OPEN) client.send(data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maxsimcli",
3
- "version": "2.5.4",
3
+ "version": "2.5.5",
4
4
  "private": false,
5
5
  "description": "A meta-prompting, context engineering and spec-driven development system for Claude Code, OpenCode, Gemini and Codex by MayStudios.",
6
6
  "bin": {