Skip to content

Update to BB 0.47.1 and SDK 0.6.79, release 0.1.5 - #14

Merged
salemsayed merged 4 commits into
mainfrom
update/bb-0.47
Oct 26, 2026
Merged

salemsayed merged 4 commits into
mainfrom
update/bb-0.47

Conversation

@salemsayed

@salemsayed salemsayed commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

Brings Advisor up to the current stable bb (0.47.1, SDK 0.6.79) and includes #13 on top of it. Merging this also merges #13, since its commit is part of this branch.

What changed

  • Advisor panel → experimental_tab. bb removed app.slots.threadPanelAction. The panel now registers as a thread action tab (context: { kind: "thread" }, availability: "action"), following the migration in bb's plugin-authoring reference. The id stays reviews, so saved tabs restore and the existing openThreadPanel({ actionId: "reviews" }) openers still resolve.
  • Reasoning levels are open strings. The SDK's model catalog now reports reasoningEffort as string rather than an enum. Advisor accepts any non-empty level, so a level a provider adds round-trips through settings and the spawn instead of failing the RPC contract. The exception is a level literally named default: it would collide with Advisor's saved "Model default" choice, so it isn't offered. Saved selections are still checked against the live catalog.
  • zod 4.6.5, the version bb and the SDK use. 4.3.6 no longer type-checked against the SDK's agent-tool parameters.
  • engines raised to bb >=0.47.1 and bbPluginSdk >=0.6.79. SDK 0.4.87 has no experimental_tab, so older hosts stay on 0.1.4. bb coerces the running version, so nightlies (e.g. 0.47.2-nightly) satisfy the range.
  • The new builder writes dist/package.json and minifies the server bundle. It is committed and listed in files. dist is built from a clean checkout. The builder embeds the build directory in one source-map entry, so a local rebuild changes only that line in dist/server.js.map.
  • Mark the reviewer's execution choices as explicit when spawning it #13 (execution sources): reviewed and kept. The tests now also assert the reasoning source on a saved default resolved from the catalog, a changed level, and a configured fallback level.
  • Version 0.1.5, CHANGELOG, README and PLUGIN_OVERVIEW.

Validation

  • npm ci && npm run verify && npm pack --dry-run on Node 22.19.0 (CI's version) and Node 26: typecheck, 132 tests, build (Verified BB 0.47.1 / SDK 0.6.79). CI passes.
  • Independent review (gpt-6-astra):
    • Mark the reviewer's execution choices as explicit when spawning it #13 against SDK 0.4.87 and 0.6.80: approved. There is a single spawn call site, every field marked explicit is chosen by Advisor, and both updated tests fail without the fix. Its one coverage nit is addressed here.
    • This update: first pass requested changes for the default collision and a dist built from a dirty tree. Both are fixed, and it approved e2a6591. It traced the tab migration through the bb 0.47.1 host source: openThreadPanel resolves the action id, a launcher without run opens the panel, flush layout is honored, and saved tabs restore by id.
  • Not done: a live load on a running bb host.

🤖 Generated with Claude Code

Jack Laing and others added 4 commits October 25, 2026 22:50
BB removed the threadPanelAction slot, so the Advisor panel now registers
through experimental_tab as a thread action tab. The id stays "reviews",
so tabs users already opened still restore and the existing
openThreadPanel calls still resolve.

Provider catalogs now report reasoning efforts as open strings rather than
an enum. Advisor accepts any non-empty level, so a level a provider adds
round-trips through settings and spawn instead of failing the RPC contract.

Pin zod to 4.6.5, the version BB and the SDK use, so the agent tool's
schema type matches the SDK's. Raise engines to BB 0.47.1 and SDK 0.6.79:
older hosts lack experimental_tab and keep 0.1.4. Ship the dist/package.json
the new builder writes.

Cover the reviewer's reasoning source on every spawn path: a saved
default resolved from the catalog, a changed level, and a configured
fallback level.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reasoning levels became open strings, so a provider level literally named
"default" passed validation and collided with the saved model-default
sentinel: the settings dropdown showed two options with the same value,
and choosing the level spawned the model's default instead. Such a level
is no longer offered or accepted as an explicit choice; the model default
it would duplicate stays available.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The previous bundle was built in a working tree whose untracked files fed
the CSS candidate scan, so app.css carried an unused utility, and its
source map embedded that checkout's path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@salemsayed
salemsayed marked this pull request as ready for review October 26, 2026 10:59
@salemsayed
salemsayed merged commit 6688b99 into main Oct 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant