@gonrocca/zero-pi 0.1.33 → 0.1.34

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.
@@ -125,13 +125,21 @@ function ornament(width: number): string {
125
125
  return center(line, width);
126
126
  }
127
127
 
128
- /** The full banner block, centered to the given width. */
128
+ /**
129
+ * The full banner block, centered to the given width.
130
+ *
131
+ * Wide layout = exactly **10 lines**: top ornament + 7 logo rows (6 + cast
132
+ * shadow) + tag + bottom ornament. Pi's `setWidget` caps managed widgets at
133
+ * `MAX_WIDGET_LINES = 10` (hardcoded in interactive-mode.js); anything taller
134
+ * is rendered with a `... (widget truncated)` line. Inner blank-line padding
135
+ * was removed to fit that cap exactly — adding blanks back would re-truncate.
136
+ */
129
137
  export function bannerBlock(width: number): string[] {
130
138
  if (width < 64) {
131
139
  return [center(fg(VIOLET, "ZERO SDD"), width), center(fg(MUTED, "pi.dev · spec-driven work"), width)];
132
140
  }
133
141
  const tag = fg(VIOLET, "ZERO SDD") + fg(MUTED, " explore → plan → build → veredicto");
134
- return [ornament(width), "", ...renderLogo(width), "", center(tag, width), ornament(width)];
142
+ return [ornament(width), ...renderLogo(width), center(tag, width), ornament(width)];
135
143
  }
136
144
 
137
145
  /** The slice of pi's UI surface this extension uses. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gonrocca/zero-pi",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "description": "zero-pi — an installable layer for pi (pi.dev): the zero spec-driven development workflow, per-phase model autotune, and skill auto-learning. Adds capability to pi without modifying pi.",
5
5
  "type": "module",
6
6
  "keywords": [