Skip to content

feat(tips,opencode-kit): suppress Hex tip on touch devices and add plugin update + Console extension client - #255

Merged
Hona merged 1 commit into
devfrom
ws7/tips-and-kit
Nov 20, 2026
Merged

Hona merged 1 commit into
devfrom
ws7/tips-and-kit

Conversation

@Hona

@Hona Hona commented Nov 20, 2026

Copy link
Copy Markdown
Member

Summary

Foundation PR for WS-7 (ports UP-066 / anomalyco/opencode#64583 plus typed opencode-kit plugin/skill/Console models and endpoints for PRE-06 / #63125 and UP-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()) into queue::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 typed PluginInfo, PluginSource, PluginFeatures, PluginState, SkillInfo, and plugin_labels matching packages/schema/src/plugin.ts & skill.ts. Intentionally never reads the removed ready flag (#64524/#64527) and tolerates unknown source/state variants and legacy older-server plugin shapes.
  • crates/opencode-kit/src/model/console_extensions.rs: Ports packages/app/src/settings/providers/console-extensions.ts (#63125) — Console integration-gateway MCP detection, base64url ocgw_ workspace claims decoding, local/project override detection, and http(s)-validated manage/connect/skill link builders (excluding built-in opencode, report, and browser skills).
  • crates/opencode-kit/src/client/plugins.rs: Focused client submodule for GET /api/plugin, POST /api/plugin/check, POST /api/plugin/update, GET /api/skill, and GET /api/config, returning PluginEndpoint::Unsupported on 404/405/501 (excluding PluginNotFoundError) so older servers degrade quietly with zero error toasts. Preserves eventLocation on plugin.updated and config.updated SSE events in client.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).
  • Live wire-contract verification against scratch opencode-ref @ e51247f626 (proof/ws7/dev-server-wire-proof.json): verified GET /api/plugin (200), POST /api/plugin/check {} (200), POST /api/plugin/update with unknown target (400 InvalidRequestError, preserved as typed error), GET /api/skill (200 with id/name/path including built-ins opencode/report), and GET /api/config (200 top-level array).

…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.
@Hona
Hona merged commit 62a214e into dev Nov 20, 2026
@Hona
Hona deleted the ws7/tips-and-kit branch November 20, 2026 08:19
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

PR test build retired — merged into dev. Install or auto-update OpenCode (Rune) from https://anoma.ly/release/opencode/desktop-rune/dev/macos-arm64-dmg.

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
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