claudish 12.2.2 → 12.3.0

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -6
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -901,7 +901,7 @@ var init_onepassword_config = __esm(() => {
901
901
  });
902
902
 
903
903
  // src/version.ts
904
- var VERSION = "12.2.2";
904
+ var VERSION = "12.3.0";
905
905
 
906
906
  // src/logger.ts
907
907
  import { appendFile, existsSync as existsSync2, mkdirSync, readdirSync, unlinkSync, writeFileSync as writeFileSync2 } from "fs";
@@ -63914,7 +63914,7 @@ function clampPaneSize(cols, rows) {
63914
63914
  function samePaneSize(a, b) {
63915
63915
  return !!a && !!b && a.cols === b.cols && a.rows === b.rows;
63916
63916
  }
63917
- var DEFAULT_PANE_COLS = 160, DEFAULT_PANE_ROWS = 50, MIN_PANE_COLS = 80, MAX_PANE_COLS = 9999, MIN_PANE_ROWS = 24, MAX_PANE_ROWS = 9999, MAX_PANE_CELLS = 4000000, RESIZE_QUIET_MS = 2000;
63917
+ var DEFAULT_PANE_COLS = 160, DEFAULT_PANE_ROWS = 50, MIN_PANE_COLS = 40, MAX_PANE_COLS = 9999, MIN_PANE_ROWS = 24, MAX_PANE_ROWS = 9999, MAX_PANE_CELLS = 4000000, RESIZE_QUIET_MS = 2000;
63918
63918
 
63919
63919
  // src/pane/process-identity.ts
63920
63920
  import { execFile, execFileSync as execFileSync2 } from "child_process";
@@ -65975,7 +65975,8 @@ function isUnnamedChoice(lines) {
65975
65975
  const yesNo = lines.some((l) => /^\s*(\u276F\s*)?(\d+\.\s+)?(Yes|No)\b|\(esc\)/.test(l));
65976
65976
  if (numbered && yesNo)
65977
65977
  return true;
65978
- return lines.some((l) => /Press Enter to continue/.test(l) || SELECT_FOOTER2.test(l));
65978
+ const flat = flatText(lines);
65979
+ return /Press Enter to continue/.test(flat) || SELECT_FOOTER2.test(flat);
65979
65980
  }
65980
65981
  function nameBootScreen(s) {
65981
65982
  const named = namedDialog(flatText(s.lines));
@@ -73100,7 +73101,7 @@ Use with: run_prompt(model="${suggested}", prompt="your prompt")`;
73100
73101
  },
73101
73102
  cols: {
73102
73103
  type: "integer",
73103
- description: "For 'resize' (required): the terminal width in columns, clamped to 80\u20139999. The " + "answer {run_id, path, slot, cols, rows, changed, seq} reports the size set."
73104
+ description: "For 'resize' (required): the terminal width in columns, clamped to 40\u20139999. The " + "answer {run_id, path, slot, cols, rows, changed, seq} reports the size set."
73104
73105
  },
73105
73106
  rows: {
73106
73107
  type: "integer",
@@ -73704,12 +73705,12 @@ Report manually at https://github.com/anthropics/claudish/issues${autoSendHint}`
73704
73705
  });
73705
73706
  tools.push({
73706
73707
  name: "resize_session",
73707
- description: "Set a session's terminal size: the child gets a real SIGWINCH and Claude Code reflows. " + "Allowed at any time, mid-turn included; the last call wins. The size is clamped to " + "cols 80\u20139999, rows 24\u20139999 and at most 4 000 000 cells (magmux's limits); the answer " + "{session_id, cols, rows, changed, seq, pending?} reports the size set. `seq` is the screen's seq after the resize: the next capture_session " + "shows the new cols/rows. `changed:false` = already that size. `pending:true` = the pane " + "is starting or its socket is reconnecting; the size is applied then. A finished session " + "answers its last size with changed:false. Errors are a JSON ContractError " + "(`resize_unsupported` when the installed magmux has no resize op).",
73708
+ description: "Set a session's terminal size: the child gets a real SIGWINCH and Claude Code reflows. " + "Allowed at any time, mid-turn included; the last call wins. The size is clamped to " + "cols 40\u20139999, rows 24\u20139999 and at most 4 000 000 cells (claudish's floor, magmux's " + "ceiling); the answer " + "{session_id, cols, rows, changed, seq, pending?} reports the size set. `seq` is the screen's seq after the resize: the next capture_session " + "shows the new cols/rows. `changed:false` = already that size. `pending:true` = the pane " + "is starting or its socket is reconnecting; the size is applied then. A finished session " + "answers its last size with changed:false. Errors are a JSON ContractError " + "(`resize_unsupported` when the installed magmux has no resize op).",
73708
73709
  inputSchema: {
73709
73710
  type: "object",
73710
73711
  properties: {
73711
73712
  session_id: { type: "string", description: "Session ID from create_session" },
73712
- cols: { type: "integer", description: "Terminal width in columns (clamped to 80\u20139999)" },
73713
+ cols: { type: "integer", description: "Terminal width in columns (clamped to 40\u20139999)" },
73713
73714
  rows: {
73714
73715
  type: "integer",
73715
73716
  description: "Terminal height in rows (clamped to 24\u20139999 and 4 000 000 cells)"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudish",
3
- "version": "12.2.2",
3
+ "version": "12.3.0",
4
4
  "description": "Run Claude Code with any model - OpenRouter, Ollama, LM Studio & local models",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -60,10 +60,10 @@
60
60
  "ai"
61
61
  ],
62
62
  "optionalDependencies": {
63
- "@claudish/magmux-darwin-arm64": "12.2.2",
64
- "@claudish/magmux-darwin-x64": "12.2.2",
65
- "@claudish/magmux-linux-arm64": "12.2.2",
66
- "@claudish/magmux-linux-x64": "12.2.2"
63
+ "@claudish/magmux-darwin-arm64": "12.3.0",
64
+ "@claudish/magmux-darwin-x64": "12.3.0",
65
+ "@claudish/magmux-linux-arm64": "12.3.0",
66
+ "@claudish/magmux-linux-x64": "12.3.0"
67
67
  },
68
68
  "author": "Jack Rudenko <i@madappgang.com>",
69
69
  "license": "MIT",