Repository navigation
feat(tips,opencode-kit): suppress Hex tip on touch devices and add plugin update + Console extension client - #255
Merged
Merged
Conversation
…ugin update + Console extension client - features/tips & apps/desktop (UP-066, anomalyco/opencode#64583): pass hover-none touch state from TipsHost into queue::Poll and skip Hex tip eligibility and Hex installation probe on touch-only devices. - crates/opencode-kit/src/model/plugin.rs: add typed PluginInfo, PluginSource, PluginFeatures, PluginState, and SkillInfo parsers (never expecting the removed `ready` field from #64524/#64527; tolerating legacy flat shapes). - crates/opencode-kit/src/model/console_extensions.rs: port Console managed gateway MCP detection, base64url `ocgw_` workspace claims decoding, override detection, and http(s)-validated manage/connect/skill link builders (#63125). - crates/opencode-kit/src/client/plugins.rs: add /api/plugin, /api/plugin/check, /api/plugin/update, /api/skill, and /api/config helpers returning PluginEndpoint::Unsupported on 404/405/501 (excluding PluginNotFoundError) for quiet fallback on older OpenCode servers, and preserve eventLocation on plugin.updated and config.updated SSE events.
|
PR test build retired — merged into |
Hona
added a commit
that referenced
this pull request
Nov 20, 2026
…ing (#266) - Fold verified fleet PRs #247, #251, #252, #253, #254, #255, #256, #257, #258, #260, #261, #262, #263, #264, and #265 (Rune #1290 PRE-11 / #1296) into docs/upstream-sync/ledger.{json,md} - Audit upstream anomalyco/opencode through 92d35f8e18 (+9 commits past bf683129fa), adding UP-107..UP-113 and assigning UP-106/UP-108/UP-111 to BROWSER-UI - Update scripts/upstream-sync-check.ts to skip pure *.fixture.* test files and route browser UI/history vs extensions commits to BROWSER-UI and WS-9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Foundation PR for WS-7 (ports
UP-066/anomalyco/opencode#64583plus typedopencode-kitplugin/skill/Console models and endpoints forPRE-06/#63125andUP-055/UP-058/UP-059/#64511,#64525,#64527):features/tips&apps/desktop/src/workspace/lifecycle/tips.rs(UP-066/#64583): Passes(hover: none)touch state (TipsHost::is_touch_device->session_view::style::hover_none()) intoqueue::Poll, suppressing the Hex voice-dictation tip and skipping its background installation check on touch-only devices.crates/opencode-kit/src/model/plugin.rs: Adds typedPluginInfo,PluginSource,PluginFeatures,PluginState,SkillInfo, andplugin_labelsmatchingpackages/schema/src/plugin.ts&skill.ts. Intentionally never reads the removedreadyflag (#64524/#64527) and tolerates unknown source/state variants and legacy older-server plugin shapes.crates/opencode-kit/src/model/console_extensions.rs: Portspackages/app/src/settings/providers/console-extensions.ts(#63125) — Console integration-gateway MCP detection, base64urlocgw_workspace claims decoding, local/project override detection, andhttp(s)-validated manage/connect/skill link builders (excluding built-inopencode,report, andbrowserskills).crates/opencode-kit/src/client/plugins.rs: Focused client submodule forGET /api/plugin,POST /api/plugin/check,POST /api/plugin/update,GET /api/skill, andGET /api/config, returningPluginEndpoint::Unsupportedon404/405/501(excludingPluginNotFoundError) so older servers degrade quietly with zero error toasts. PreserveseventLocationonplugin.updatedandconfig.updatedSSE events inclient.rs.Verification
pwsh scripts/guardrails.ps1: 5/5 passed.cargo clippy -p opencode-kit -p opencode-feature-tips: 0 warnings in all touched/new files.cargo check --workspace&pwsh scripts/web.ps1 -Check: passed (web clock: 1003 files in 46 crates).opencode-ref @ e51247f626(proof/ws7/dev-server-wire-proof.json): verifiedGET /api/plugin(200),POST /api/plugin/check{}(200),POST /api/plugin/updatewith unknown target (400InvalidRequestError, preserved as typed error),GET /api/skill(200 withid/name/pathincluding built-insopencode/report), andGET /api/config(200 top-level array).