mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-26 23:28:43 +00:00
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.
|
||
|---|---|---|
| .. | ||
| data | ||
| files | ||
| legacy | ||
| site | ||
| update | ||
| README.md | ||
Services
Independently deployed services supporting OpenCode live here. Runtime packages
and clients live in packages/.
| Service | Purpose | Deployment |
|---|---|---|
site |
The opencode.ai website and V2 docs | deploy-site.yml, cf |
legacy |
Deprecated: opncd.ai and api.opencode.ai | deploy.yml, cf |
data |
The /data site, its OG images and sync | deploy.yml, cf |
updates |
Release metadata and update selection | release.yml, Wrangler |
files |
Public file distribution at /files/* |
deploy-files.yml, Wrangler |
These directories are Bun workspaces. Run package commands from each service's
directory. Repository-wide Turbo commands discover them through services/*.