opencode/packages/gui-plugins/src/pairing
Luke Parker 22377659a8
feat(plugin): let GUI plugins declare their own icons (#64577)
A plugin declares SVG artwork in Plugin.define({ icons }) and names it with ctx.icons.<name> in every SDK icon field and ctx.ui.Icon. The host registers the artwork in the app's icon component before setup, so any part of the app draws it by name, in the size and color of its place, and withdraws it with the plugin.

Artwork may move with SVG animation elements. It stays in place while its host renders again, and the host holds it on its first frame under reduced motion.

Pairing and goal now ship the artwork only they show, which leaves the app's icon catalog.
2026-11-18 03:27:56 -06:00
..
i18n fix(app): tidy the pairing dialog's layout (#59659) 2026-10-30 14:41:12 +10:00
icons feat(plugin): let GUI plugins declare their own icons (#64577) 2026-11-18 03:27:56 -06:00
contract.ts feat(plugin): add OpenCode Desktop GUI plugins (#55246) 2026-10-27 10:54:50 +10:00
copy-machine.test.ts fix(gui-plugins): run pairing setup and copy feedback through explicit state machines (#61879) 2026-11-04 21:24:13 -06:00
copy-machine.ts fix(gui-plugins): run pairing setup and copy feedback through explicit state machines (#61879) 2026-11-04 21:24:13 -06:00
dialog.stories.tsx feat(stories): cover device pairing flows in the Components Lab (#64490) 2026-11-17 19:14:12 +01:00
dispatch.test.ts fix(gui-plugins): explicit machines for Keep screen active and the WSL add dialog (#62108) 2026-11-05 09:46:43 -06:00
dispatch.ts fix(gui-plugins): run pairing setup and copy feedback through explicit state machines (#61879) 2026-11-04 21:24:13 -06:00
index.ts feat(plugin): let GUI plugins declare their own icons (#64577) 2026-11-18 03:27:56 -06:00
machine.test.ts fix(gui-plugins): explicit machines for Keep screen active and the WSL add dialog (#62108) 2026-11-05 09:46:43 -06:00
machine.ts fix(gui-plugins): explicit machines for Keep screen active and the WSL add dialog (#62108) 2026-11-05 09:46:43 -06:00
main-machine.test.ts fix(gui-plugins): drive ssh, wsl and pairing lifecycles through state machines (#62012) 2026-11-05 01:33:37 -06:00
main-machine.ts fix(gui-plugins): drive ssh, wsl and pairing lifecycles through state machines (#62012) 2026-11-05 01:33:37 -06:00
main.ts fix(gui-plugins): drive ssh, wsl and pairing lifecycles through state machines (#62012) 2026-11-05 01:33:37 -06:00
page.stories.tsx test(gui-plugins): add interactive workspace, browser, and pairing stories (#63734) 2026-11-13 11:58:40 +01:00
page.tsx fix(app): use consistent dialog sizes (#63432) 2026-11-14 16:44:58 -05:00
remote.test.ts feat(plugin): add OpenCode Desktop GUI plugins (#55246) 2026-10-27 10:54:50 +10:00
remote.ts feat(plugin): add OpenCode Desktop GUI plugins (#55246) 2026-10-27 10:54:50 +10:00
renderer.tsx feat(plugin): let GUI plugins declare their own icons (#64577) 2026-11-18 03:27:56 -06:00