Files
gabrielvidalandClaude Opus 5.5 26f80bb63b feat(plugins): widget-to-plugin platform foundation
Manifest: four new slot places (home.section, conversation.pinned,
conversation.threadFooter, conversation.gizmos); optional ui.slots[] keys
label / defaultStashed / vis / events and ui.toolCards[] match.hasField /
vis / events, written only when set (approval fingerprints unchanged);
provides "home.tiles".

Backend: plugins/home_tiles.py + GET /api/plugins/home-tiles (app.read,
sanitized arc/burn/stat/sparkline/bar tiles, 5 s cache dropped on plugin
mutations); hub bridges hub/usage/home (usage.read) and
hub/activity/daily (activity.read); limits/burn payloads factored out of
usage/routes.py; HomeTilesResponse schema + regenerated openapi/orval.

Frontend: PluginSandboxFrame gains a live update channel (no reload,
replayed to late onUpdate), setEmpty / resize(h, w), forwarded SSE events
(lib/sseTap) and host RPCs scrollTo / openMediaViewer / openPreview /
mediaUrl (host-side fetch → blob URL). PluginSlots: usePluginSlots,
SinglePluginSlot (zero-layout empty state, stays mounted), vis gating.
Tool cards: hasField, vis, rich init + live update; a call an inThread
plugin card claims makes the core widget stand down. Visibility popover:
dynamic plugin:<pid>:<key> switches under "Plugins". Details drawer: one
HoldEditable card per conversation.details slot with the compact live
snapshot, DETAIL_CARD_RENAMES onto the plugin keys and claimed core cards
hidden. Home: plugin tiles merged into the usage strip by id, home.section
slots. Conversation: pinned / threadFooter / gizmos slots (core
PinnedMovies / GenProgressStrip / DeployGizmo yield when claimed), thread
bridge + conversation contexts, app-level PluginHostBridges.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 21:00:04 +01:00
..