@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.js CHANGED
@@ -840,7 +840,7 @@ function shSingleQuote(arg) {
840
840
  }
841
841
  return `'${arg.replace(/'/g, `'\\''`)}'`;
842
842
  }
843
- function estimatePromptDisplayLines(text, cols = 100) {
843
+ function estimatePromptDisplayLines(text, cols = 80) {
844
844
  const normalized = String(text || "").replace(/\r/g, "");
845
845
  if (!normalized) return 1;
846
846
  return normalized.split("\n").reduce((sum, line) => sum + Math.max(1, Math.ceil(Math.max(1, line.length) / cols)), 0);
@@ -1124,8 +1124,8 @@ var init_provider_cli_adapter = __esm({
1124
1124
  shellArgs = allArgs;
1125
1125
  }
1126
1126
  const ptyOpts = {
1127
- cols: 100,
1128
- rows: 30,
1127
+ cols: 80,
1128
+ rows: 24,
1129
1129
  cwd: this.workingDir,
1130
1130
  env: buildCliSpawnEnv(process.env, spawnConfig.env)
1131
1131
  };
@@ -1181,7 +1181,7 @@ var init_provider_cli_adapter = __esm({
1181
1181
  this.spawnAt = Date.now();
1182
1182
  this.startupParseGate = true;
1183
1183
  this.startupBuffer = "";
1184
- this.terminalScreen.reset(30, 100);
1184
+ this.terminalScreen.reset(24, 80);
1185
1185
  this.pendingTerminalQueryTail = "";
1186
1186
  this.currentTurnScope = null;
1187
1187
  this.ready = false;