@tiens.nguyen/gonext-cli 1.0.357 → 1.0.358

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/gonext-repl.mjs +12 -1
  2. package/package.json +1 -1
package/gonext-repl.mjs CHANGED
@@ -67,6 +67,12 @@ const gutterLines = (s) =>
67
67
  .split("\n")
68
68
  .map((l) => (l.length ? GUTTER + l : l))
69
69
  .join("\n");
70
+ // Vertical rhythm between ● action/answer bullets (task #129). One blank line so the list
71
+ // breathes instead of being cramped. A knob: "" = the old tight list, "\n" = one blank.
72
+ // Applied as a LEADING blank before a bullet when the previous line wasn't already blank —
73
+ // so blanks land BETWEEN bullets, never trailing, and it's driven by `lastWasBlank` (what
74
+ // was actually printed), NOT the status ticker, so it can't reintroduce the #115 race.
75
+ const LINE_SPACING = "\n";
70
76
  // ANSI 90 ("bright black") — a reliable neutral grey across terminal themes, unlike
71
77
  // code 34 (blue) which many dark-theme palettes render as purple/indigo instead.
72
78
  const codeColor = (s) => `\x1b[90m${s}\x1b[0m`;
@@ -2067,7 +2073,12 @@ async function runAgentTurn(history) {
2067
2073
  } else {
2068
2074
  // The remaining out-of-fence ACTION events ("Command passed → …", "Searching code
2069
2075
  // → …", "Server up → …", "Composing answer…") each print as ONE solid bullet —
2070
- // the clean, summarized action list (task #41).
2076
+ // the clean, summarized action list (task #41), now with a blank line between them
2077
+ // for breathing room (task #129). The spacer is a LEADING blank emitted only when
2078
+ // the previous line wasn't already blank → one gap BETWEEN bullets, none before the
2079
+ // first (which follows the prompt) and none trailing. Deterministic (keyed off
2080
+ // lastWasBlank, not the ticker) so #115's status-race stays fixed.
2081
+ if (LINE_SPACING && !lastWasBlank) process.stdout.write(LINE_SPACING);
2071
2082
  process.stdout.write(GUTTER + white(BULLET) + " " + line.trim() + "\n");
2072
2083
  }
2073
2084
  lastWasBlank = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiens.nguyen/gonext-cli",
3
- "version": "1.0.357",
3
+ "version": "1.0.358",
4
4
  "description": "GoNext CLI — the gonext terminal plus the local worker that runs agent / OCR / PDF / embedding jobs on your Mac (Ollama / MLX / OpenAI-compatible).",
5
5
  "type": "module",
6
6
  "license": "MIT",