Skip to content

Commit 5af0283

Browse files
committed
release: v0.30.4 notes + announcement
Pi extension providers in subagents, Pi retrospective/refresh-primers session API, and the TUI sidebar re-injection fix.
1 parent 97e324a commit 5af0283

2 files changed

Lines changed: 25 additions & 2 deletions

File tree

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# v0.30.4
2+
3+
Patch release fixing two issues, one of them breaking historian and dreamer runs for many Pi users.
4+
5+
## Pi: historian and dreamer can now use models from provider extensions
6+
7+
Pi subagents (historian, dreamer, sidekick, recomp) were spawned with extension discovery disabled. If your configured model came from a provider extension — Antigravity, Anthropic OAuth, or any other auth extension — every subagent run failed instantly with `Model "..." not found`, so the historian and dreamer never ran at all. Models defined in `models.json` were unaffected, which is why this only hit extension-based setups.
8+
9+
Subagent processes now load your extensions, so extension-provided models resolve the same way they do in your interactive session. What changed underneath:
10+
11+
- Recursion protection moved from disabling all extensions to a targeted guard: the full Magic Context extension detects it is inside a Magic Context subagent and stays inert there.
12+
- Every subagent now runs under an explicit per-agent tool allow-list. Unknown agents get no tools at all. Extension tools you have installed cannot leak into a subagent that was not meant to use them.
13+
- Dreamer code-reading tasks (memory mapping, verification, docs maintenance, primer investigation) now get AFT's read-only navigation tools on Pi when the AFT extension is installed, matching OpenCode.
14+
15+
## Pi: retrospective and refresh-primers read sessions through the right API
16+
17+
The Pi dreamer's session readers probed an API that does not exist in pi-coding-agent (`SessionManager.listSessions`), so the retrospective task failed with `Pi session APIs unavailable` and refresh-primers silently fell back to closed-book seeds. Both providers now share one resolver using the real API (`SessionManager.listAll` + `parseSessionEntries`), with tests against the installed package so a future Pi API change fails in CI instead of degrading quietly.
18+
19+
## OpenCode: the sidebar entry in tui.json is yours again
20+
21+
The plugin used to re-add its TUI sidebar entry to `tui.json(c)` on every OpenCode start. If you removed the sidebar deliberately, it came back on the next launch. The entry is now written only by the setup wizard and `doctor` — removing it from `tui.jsonc` disables the sidebar permanently.

packages/plugin/src/shared/announcement.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,16 @@ import { getMagicContextStorageDir } from "./data-path";
2424
* Bump only when there are user-visible changes worth a startup dialog.
2525
* Does NOT need to match the published package version.
2626
*/
27-
export const ANNOUNCEMENT_VERSION = "0.30.2";
27+
export const ANNOUNCEMENT_VERSION = "0.30.4";
2828

2929
/**
3030
* Short, user-facing bullet strings. Keep each line ~80 chars or shorter so the
3131
* TUI dialog renders cleanly without horizontal scroll on a typical terminal.
3232
*/
3333
export const ANNOUNCEMENT_FEATURES: ReadonlyArray<string> = [
34-
"Fixed high idle CPU from the TUI sidebar (#200): it now uses a single persistent connection to the plugin instead of polling, so an idle session no longer burns CPU.",
34+
"Pi: fixed historian and dreamer failing when your model comes from a provider extension (Antigravity, Anthropic OAuth, etc.). Subagents now load your extensions.",
35+
"Pi: fixed the retrospective and refresh-primers dreamer tasks reading sessions through the wrong API.",
36+
"OpenCode: the plugin no longer re-adds its TUI sidebar entry on startup, so removing it from tui.jsonc now sticks.",
3537
];
3638

3739
/**

0 commit comments

Comments
 (0)