Skip to content

Commit 9f171ee

Browse files
docs: v0.31.3 release notes
Co-authored-by: Alfonso [Magic Context] <288211368+alfonso-magic-context@users.noreply.github.com>
1 parent cf0efec commit 9f171ee

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.alfonso/release-notes/v0.31.3.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# v0.31.3
2+
3+
Patch release: completes the TUI fix started in v0.31.2 and ships a batch of Pi parity fixes.
4+
5+
## TUI sidebar now updates when installed from npm
6+
7+
v0.31.2 restored the OpenTUI runtime dependencies so the sidebar loads again, but a second issue remained: on OpenCode 1.17.14, plugins installed from npm are excluded from OpenTUI's Solid compile step, so the sidebar rendered once and never updated (token counts, compartments, and memories stuck at zero). Development checkouts were unaffected, which is why the problem only appeared in published installs.
8+
9+
The TUI is now precompiled at publish time and binds directly to the host's OpenTUI runtime, so the sidebar is fully live from npm installs. Older OpenCode versions and development checkouts keep working through an automatic fallback. The release pipeline now installs the packed artifact and verifies the compiled output before publishing, so this failure class is gated structurally.
10+
11+
## Pi fixes
12+
13+
- Commands and tools now follow `/cd`: `/ctx-status`, `/ctx-dream`, `/ctx-wrapup`, `/ctx-embed`, smart notes, and the rest resolve the active project's configuration at invocation time instead of using the project Pi was launched in.
14+
- Historian resilience now matches OpenCode: transient provider errors (rate limits, timeouts, 5xx) retry on the same model before moving down the fallback chain, and the live session model serves as a last-resort fallback after configured `fallback_models`.
15+
- Historian failures now surface a notice in the session (previously they were only recorded internally), with the same wording and throttling as OpenCode.
16+
- `/ctx-embed start` reports progress during long embedding runs instead of appearing hung.
17+
- Fixed several cache-stability gaps: pending drops no longer land mid-historian-run, session switch-back no longer forces an immediate rebuild, and a stuck emergency-recovery flag now clears only after context usage genuinely drops.
18+
- `/ctx-recomp --upgrade` now points to `/ctx-session-upgrade` instead of failing as invalid usage.
19+
- `/ctx-status` shows the work metrics (new work tokens / total input) that OpenCode's sidebar already displays.
20+
21+
## Other
22+
23+
- `ctx_search` note anchors and smart-note attribution fixes on Pi.

0 commit comments

Comments
 (0)