Add status bar contribution host

This commit is contained in:
2026-06-27 13:21:22 +08:00
parent 7630a31286
commit 6cc37972d1
7 changed files with 210 additions and 14 deletions
+11 -1
View File
@@ -201,7 +201,7 @@ Icon fields use shell icon names rendered through the bundled Lucide SVG wrapper
| Контекстное меню | `contextMenuEntries` | Registry готов, UI не реализован |
| Провайдеры поиска | `searchProviders` | Registry готов, UI не реализован |
| Провайдеры активности | `activityProviders` | Registry готов, UI не реализован |
| Элементы status bar | `statusBarItems` | Registry готов, UI не реализован |
| Элементы status bar | `statusBarItems` | ✅ StatusBar.svelte host |
### Структура contribution points в manifest
@@ -393,6 +393,16 @@ contributions summary.
фильтрует по title/id/plugin и вызывает зарегистрированные bundled frontend
handlers.
`statusBarItems`
- Shell status bar renders enabled plugin `statusBarItems` contributions.
- Items support `left`, `center`, and `right` positions. Missing position
defaults to `left`.
- The host refreshes on plugin reload/enable/disable through
`verstak:plugins-changed`.
- `handler` is preserved in the contribution summary for future action routing;
current host only renders status labels.
`events`
- `events.subscribe(eventName, handler)` — frontend-local subscription с backend