pi-goal-list-loop-audit 0.38.2 → 0.38.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.38.3 — truncate picker/settings titles to terminal width (PR #41) (2026-09-02)
4
+
5
+ ### Fixed
6
+ `Rendered line N exceeds terminal width` crash when opening `Main/Auditor fallback models` (and `ModelPicker` / `SettingsMenu`) — long help titles now truncated with `truncateToWidth(…, "…")` to the available width, matching existing picker-row truncation. Prevents `pi` TUI crash that made the `glla: [LIVE]` widget disappear between audit/loop iterations and after `page.reload()`/`/reload` (Next item `audit ended between loops, and the ui disappeared` / Screenshot_20260902_121313). Regression test `multi-model-picker: render truncates a long title to the terminal width` pins 140-col rendering.
7
+
3
8
  ## 0.38.2 — thinking selected with model, remove standalone rows (2026-09-02)
4
9
 
5
10
  ### Changed
package/docs/INDEX.md CHANGED
@@ -18,7 +18,7 @@ For shipped docs, the relevant entry points are:
18
18
  failback; v0.35.9 hardened cross-version npm tarball checks; v0.35.10
19
19
  handles multi-entry npm dry-run reports; v0.35.11 accepts both npm report
20
20
  shapes; v0.35.12 supports npm 12's keyed pack reports; v0.35.13 fixes stale-API recovery loops.
21
- v0.35.14–v0.38.2 continue through the supervisor freeze (`/glla pause`),
21
+ v0.35.14–v0.38.3 continue through the supervisor freeze (`/glla pause`),
22
22
  load hold, auditor picker parity, Windows launch fix, zombie-watchdog
23
23
  subagent carve-out, due-wait backstop, the `/glla agents` visibility panel,
24
24
  durable state-root selection, blank-until-resume auditor context, frozen
@@ -210,7 +210,7 @@ export class ModelPickerComponent {
210
210
  render(width: number): string[] {
211
211
  const w = Math.max(20, width - 2);
212
212
  const lines: string[] = [];
213
- lines.push(this.theme.fg("accent", this.theme.bold(this.title)));
213
+ lines.push(this.theme.fg("accent", this.theme.bold(truncateToWidth(this.title, w, "…"))));
214
214
  lines.push("");
215
215
  const searchLine = `search: ${this.query}`;
216
216
  lines.push(this.theme.fg("muted", truncateToWidth(searchLine, w, "…") + "▏"));
@@ -322,7 +322,7 @@ export class MultiModelPickerComponent {
322
322
  render(width: number): string[] {
323
323
  const w = Math.max(20, width - 2);
324
324
  const lines: string[] = [];
325
- lines.push(this.theme.fg("accent", this.theme.bold(this.title)));
325
+ lines.push(this.theme.fg("accent", this.theme.bold(truncateToWidth(this.title, w, "…"))));
326
326
  if (this.unorderedSet) {
327
327
  lines.push(this.theme.fg("muted", "selected extensions are loaded by the auditor; order does not matter:"));
328
328
  } else if (this.currentRef) {
@@ -762,7 +762,7 @@ export class SettingsMenuComponent implements Component {
762
762
 
763
763
  const lines: string[] = [];
764
764
 
765
- lines.push(this.theme.fg("accent", this.theme.bold(this.title)));
765
+ lines.push(this.theme.fg("accent", this.theme.bold(truncateToWidth(this.title, Math.max(20, width - 2), "…"))));
766
766
 
767
767
  // v0.28.19: color-only tabs (user call: "dropping the brackets") —
768
768
  // active = accent + bold, inactive = dim. No bracket chrome.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-goal-list-loop-audit",
3
- "version": "0.38.2",
3
+ "version": "0.38.3",
4
4
  "description": "Mission control for autonomous pi: interview-drafted goals, an audited task queue, and forever-loops (metric, spec, project-audit) that run for hours. A detached extension-less auditor process re-verifies every completion with raw evidence without holding the main pi turn; confirmed drafts, decision pauses and consent gates keep you in charge.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "author": "dracon",