@adhdev/daemon-core 0.7.44 → 0.7.45

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/index.mjs CHANGED
@@ -838,7 +838,7 @@ function shSingleQuote(arg) {
838
838
  }
839
839
  return `'${arg.replace(/'/g, `'\\''`)}'`;
840
840
  }
841
- function estimatePromptDisplayLines(text, cols = 100) {
841
+ function estimatePromptDisplayLines(text, cols = 80) {
842
842
  const normalized = String(text || "").replace(/\r/g, "");
843
843
  if (!normalized) return 1;
844
844
  return normalized.split("\n").reduce((sum, line) => sum + Math.max(1, Math.ceil(Math.max(1, line.length) / cols)), 0);
@@ -1119,8 +1119,8 @@ var init_provider_cli_adapter = __esm({
1119
1119
  shellArgs = allArgs;
1120
1120
  }
1121
1121
  const ptyOpts = {
1122
- cols: 100,
1123
- rows: 30,
1122
+ cols: 80,
1123
+ rows: 24,
1124
1124
  cwd: this.workingDir,
1125
1125
  env: buildCliSpawnEnv(process.env, spawnConfig.env)
1126
1126
  };
@@ -1176,7 +1176,7 @@ var init_provider_cli_adapter = __esm({
1176
1176
  this.spawnAt = Date.now();
1177
1177
  this.startupParseGate = true;
1178
1178
  this.startupBuffer = "";
1179
- this.terminalScreen.reset(30, 100);
1179
+ this.terminalScreen.reset(24, 80);
1180
1180
  this.pendingTerminalQueryTail = "";
1181
1181
  this.currentTurnScope = null;
1182
1182
  this.ready = false;