Skip to content

v1.0.20

Choose a tag to compare

@QuangThai QuangThai released this 11 Oct 10:32
· 18 commits to main since this release

Brand logo on the startup screen, and spaced inline blocks

The welcome card now shows the block Pi in its brand colors, and inline chrome keeps a blank row between a text block and the thinking or text that follows it in the same message.

● Test passed.

● Checking provider inheritance

  Checking package parity

● Everything matches.

Changed

  • The startup logo is the block Pi in its coral (#f09082), blue (#509bb9), and gold (#f0c055) brand colors, in the welcome card and in the compact header on narrow terminals. The silhouette and colors follow @quandev104/pi-style (MIT). It replaces the accent-gradient logo with box-drawing shadows.
    • The colors are fixed: every theme gets the same three, and only NO_COLOR keeps the logo as plain blocks. On a light terminal background the gold reads lighter than the other two, as in pi-style.
    • The welcome card keeps its size and layout; every compact-header row still fits its width.
    • The README gallery screenshots still show the previous logo.

Fixed

  • Inline chrome (messages.assistantMarker or messages.thinkingSummary, both on in the claude-code preset): a text block followed by a thinking run, or by a second text block, in the same message painted flush against it, two ● rows touching. Models that interleave reasoning with short text, such as Codex, produce this order. Each ● entry now has the blank row the others have. Other presets keep Pi's spacing.

How it stays contained

  • Presentation only. Pi's message layout is unchanged; the theme adds one blank row only between a text block and a marked block directly after it, before the markers are drawn.
  • Every existing golden section is byte-identical to 1.0.19. New sections record the interleaved cases, including the same message without markers, which keeps Pi's native spacing.

Verification

  • CI: this repository has no configured GitHub Actions workflows, check-runs, or commit-status contexts for the release commit. The local release gates below all passed.
  • npm ci and npm run check: typecheck, 407 unit/integration/golden tests (9 more than 1.0.19: five for the logo — exact per-run colors, NO_COLOR, width fit at 80 to 8 columns, card height, startup wiring — and four interleaved-message goldens), dependency boundaries, production build, and package smoke.
  • npm run test:e2e:readonly-tools: 25/25 packed-package CLI/RPC cases on Pi 0.99.1 with pi-hashline-edit-pro 4.5.1.
  • npm publish --dry-run: the expected 7-file npm artifact (147.6 kB packed).
  • Real TUI runs on Pi 1.1.0 with a deterministic local provider and an isolated agent directory, claude-code preset:
    • the welcome card at 110 columns and the compact header at 60 and 40 columns, with every logo cell's color read back from the terminal buffer (exact brand colors; the card frame keeps its own color);
    • a message of text, two reasoning summaries, and text: 1.0.19 paints the first text flush against the thinking row, 1.0.20 separates them.

Tested on Windows x64 with Node 24.11.1. Linux/macOS runs were not part of this verification.

Install / update

Published on npm. The registry latest tag, gitHead (release commit), tarball shasum, a clean install whose files match the release build byte for byte, and a real Pi 1.1.0 TUI run of the installed package on the claude-code preset (logo colors read back from the terminal, spaced interleaved message) have been verified.

pi install npm:@nguyenquangthai/pi-omp-theme@1.0.20
# For an existing unpinned installation:
pi update npm:@nguyenquangthai/pi-omp-theme