maxsimcli 2.4.0 → 2.4.1

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,15 @@
1
+ # [2.4.0](https://github.com/maystudios/maxsim/compare/v2.3.0...v2.4.0) (2026-02-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **21:** fix status message parsing and uptime unit mismatch ([83731b8](https://github.com/maystudios/maxsim/commit/83731b861a9e3526243d8761893a7366bd257148))
7
+
8
+
9
+ ### Features
10
+
11
+ * **profiles:** add tokenburner model profile (all opus) ([ecab7e3](https://github.com/maystudios/maxsim/commit/ecab7e3f257da418314a7e87fd5c8f044ddcc4b4))
12
+
1
13
  # [2.3.0](https://github.com/maystudios/maxsim/compare/v2.2.0...v2.3.0) (2026-02-25)
2
14
 
3
15
 
@@ -69,8 +69,6 @@ node_tty = __toESM(node_tty);
69
69
  let fs_promises = require("fs/promises");
70
70
  let node_stream = require("node:stream");
71
71
  let os = require("os");
72
- let node_pty = require("node-pty");
73
- node_pty = __toESM(node_pty);
74
72
 
75
73
  //#region ../../node_modules/.pnpm/depd@2.0.0/node_modules/depd/index.js
76
74
  var require_depd = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -41426,6 +41424,10 @@ var SessionStore = class {
41426
41424
 
41427
41425
  //#endregion
41428
41426
  //#region src/terminal/pty-manager.ts
41427
+ let pty = null;
41428
+ try {
41429
+ pty = require("node-pty");
41430
+ } catch {}
41429
41431
  const DISCONNECT_TIMEOUT_MS = 6e4;
41430
41432
  const STATUS_INTERVAL_MS = 1e3;
41431
41433
  const ACTIVE_THRESHOLD_MS = 2e3;
@@ -41440,11 +41442,18 @@ var PtyManager = class PtyManager {
41440
41442
  return PtyManager.instance;
41441
41443
  }
41442
41444
  spawn(opts) {
41445
+ if (!pty) {
41446
+ this.broadcastToClients({
41447
+ type: "output",
41448
+ data: "\r\n\x1B[31mTerminal unavailable: node-pty is not installed.\r\nRun: npm install node-pty\x1B[0m\r\n"
41449
+ });
41450
+ return;
41451
+ }
41443
41452
  if (this.session) this.kill();
41444
41453
  const shell = process.platform === "win32" ? "claude.cmd" : "claude";
41445
41454
  const args = [];
41446
41455
  if (opts.skipPermissions) args.push("--dangerously-skip-permissions");
41447
- const proc = node_pty.spawn(shell, args, {
41456
+ const proc = pty.spawn(shell, args, {
41448
41457
  name: "xterm-256color",
41449
41458
  cols: opts.cols ?? 120,
41450
41459
  rows: opts.rows ?? 30,
@@ -41541,6 +41550,9 @@ var PtyManager = class PtyManager {
41541
41550
  isAlive() {
41542
41551
  return this.session !== null;
41543
41552
  }
41553
+ isAvailable() {
41554
+ return pty !== null;
41555
+ }
41544
41556
  broadcastToClients(message) {
41545
41557
  const data = JSON.stringify(message);
41546
41558
  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.4.0",
3
+ "version": "2.4.1",
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": {