GeezerVison is showing github.com — feat(settings): add plugin update checks/installs and Console MCP/skill links in Extensions by Hona · Pull Request #267 · anomalyco/opencode-rune
Conversation
Summary
Ports PRE-06 (anomalyco/opencode#63125) and UP-055/UP-058/UP-059 (#64511, #64525, #64527) across Settings › Extensions and Settings › Project › Extensions:
- Explicit plugin-update state machine (
features/settings/src/pages/plugin_update.rs):
- Ports
packages/app/src/settings/providers/plugin-update-machine.ts (Idle, Checking, Unsupported, Disposed) with pure step(&mut State, Event) -> Vec<Effect>.
- Retains check/update findings until a settled
GET /api/plugin list read agrees (#64525), never reads the removed ready flag (#64527), fences replies by ServerKey and monotonic attempt/update ID, and transitions quietly to Unsupported on 404/405/501 from older OpenCode servers (v2.2.6/v2.3.0) with zero error toasts.
- User consent & exact wire traffic: Nothing ever checks or installs without an explicit user click:
- Clicking Check for updates sends
POST /api/plugin/check {} (read-only registry check).
- Clicking Update on a specific outdated package plugin (
aria-label: "Update <name>") sends POST /api/plugin/update {"targets":["<exact package target>"]} for that single package only.
- OpenCode Console links & badges (
features/settings/src/pages/console_link.rs, extensions.rs, project_extensions.rs):
- Recognizes Console managed integration-gateway MCPs and virtual
skill:// skills (excluding built-ins opencode, report, browser) while signed into Console (opencode credential).
- Renders underlined
ConsoleName + arrow-up-right manage links, "Replaces OpenCode Console" badge (ConsoleReplaced) when overridden locally, amber needs_auth dot + "Connect" button for protocol: "2026-07-28" Console MCPs, accessible temporary-override description (settings.extensions.console.temporary), inline ExtensionLoadFailed retry banners, and full MCP status dots/switches in Project › Extensions.
- SSE & i18n wiring: Forwards
plugin.updated and config.updated SSE events to open Extensions pages, clears cached Unsupported update state on reconnect, adds the 5 English catalog keys from #64511 (settings.plugins.{check,checking,update,update.label,updating}, holding 63-locale sync for orchestrator's word), and adds the settings-extensions-plugins scene.
Screenshots
Settings › Extensions › Plugins parity scene (dark & light, matching official story-settings-plugins):


Live Settings › Extensions › MCPs (dark & light — Console github ↗ Connect + amber dot, overridden linear Replaces OpenCode Console ↗, plain local-mcp, Console slack ↗):


Live Settings › Extensions › Plugins after clicking Check for updates then Update on wakatime only (wakatime stays hidden across #64525 stale list reload while notifier keeps Update):

Live Settings › Project › Extensions › MCPs (project-only project-db + expanded Shared with all projects with Console links/badges):

Older OpenCode server (v2.3.0, /api/plugin/check -> 404): zero error toasts, Check for updates quietly hidden:

Verification
pwsh scripts/guardrails.ps1: 5/5 passed.
cargo clippy --no-deps -p opencode-feature-settings -- -D warnings: 0 warnings.
cargo check --workspace & pwsh scripts/web.ps1 -Check: passed (web clock: 1012 files in 46 crates).
- Driven live & fixture proof (
proof/ws7/pr3/summary.json, 0 stale-region warnings across all runs):
scene-extensions-plugins (dark/light, 1x/1.5x): Check for updates, Update wakatime, Update notifier, no button on review.
- Modern fixture:
zeroChecksBeforeUserClick: true, zeroUpdatesBeforeUserClick: true, exact wire payloads POST /api/plugin/check {} and POST /api/plugin/update {"targets":["opencode-wakatime@latest"]}, #64525 stale list read (stale-reads=1) keeps wakatime hidden while notifier keeps Update; Console MCP links/badges/Connect/temporary-a11y + Console virtual skill link + built-in exclusion verified on both global Extensions and Project › Extensions.
- Older servers (
harness/older-server.ts v2.2.6 & v2.3.0): 0 error toasts, controls quietly hidden, plugin rows still visible.
- Live
opencode-ref @ e51247f626: Extensions › Skills renders cleanly, built-in OpenCode excluded from Console link, 0 error toasts, 0 region warnings.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…ll links in Extensions
Ports PRE-06 (anomalyco/opencode#63125) and UP-055/UP-058/UP-059 (#64511,
#64525, #64527):
- features/settings/src/pages/plugin_update.rs: explicit PluginUpdateState
machine matching packages/app/src/settings/providers/plugin-update-machine.ts
(keeps check/update findings until a settled GET /api/plugin agrees so
in-flight server reloads never flicker Update buttons back; never reads the
removed `ready` field; transitions quietly to Unsupported on 404/405/501
from older servers with zero error toasts; never checks or installs without
explicit user clicks).
- features/settings/src/pages/console_link.rs: shared ConsoleSources state,
ConsoleName (underlined + arrow-up-right manage link), ConsoleReplaced
("Replaces OpenCode Console" badge), Connect button for protocol 2026-07-28
MCPs, and inline ExtensionLoadFailed retry banner.
- features/settings/src/pages/extensions.rs & project_extensions.rs:
- MCPs tab: Console manage links, "Replaces OpenCode Console" badge when
overridden locally, Connect button + needs_auth status dot when a Console
MCP requires connection, accessible temporary-override notice on Console
switches, and full MCP status dots/switches in Project > Extensions.
- Plugins tab: Check for updates header action and per-package Update button
(hidden quietly when server lacks /api/plugin/{check,update}), preserving
Rune's local Luau plugins section below.
- Skills tab: Console links on virtual skill:// skills while signed into
Console (excluding built-in opencode/report/browser skills).
- features/settings/src/jobs.rs & apps/desktop/src/session/events/: wire typed
opencode_kit::client::plugins calls, ServerKey reply fencing, plugin.updated
and config.updated SSE refreshes, reconnect cache clearing, English catalog
keys (settings.plugins.{check,checking,update,update.label,updating}), and
the settings-extensions-plugins scene.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Hona
added a commit
that referenced
this pull request
Nov 20, 2026
…..UP-117 (#284)
- Fold verified fleet PRs #259, #267, #268, #269, #270, #271, #272, #273,
#275, #276, #277, #279, and #282 (Rune e6deb869: #1297, #1298, #1299, #1300)
into docs/upstream-sync/ledger.{json,md}
- Split UP-095 (#63002) transparently across active browser streams (WS-1,
BROWSER-UI, PREVIEWS, BROWSER-TOOLS, WS-9), reassign UP-100 to BROWSER-UI
and PRE-08 to BROWSER-TOOLS
- Track open tab-groups packaged-default regression on UP-062 (fix PR #278
open) and record closure of Settings > Shortcuts hidden-command regression
on UP-064 (#279)
- Audit upstream anomalyco/opencode 92d35f8e18..bfee96a859 (+11 commits:
7 skipped, 4 added: UP-114..UP-117) and update radar routing
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|