Files
胡飞 b680b504e5 refactor(plugins): retire third-party plugin UI, keep headless IPC runtime layer
- Remove declarative panel chain: declarative_ui_demo crate, universal_plugin_panel,
  home_tab hooks, extension_widget/extension_selector, manifest declarativePanels
- Remove WASM ViewSpec/UiNode UI: WIT open-view/handle-view-action/open-result-view,
  popup rendering in extension_action_handler
- Remove provider reverse UI RPC: ui/action, ui/dialog, ui/window, host
  quick_pick/confirm/open_view, dialog/window activation managers
- Keep headless provider layer: resource/job/event/blob, secrets/storage/log,
  host blob upload, runtime monitor, extension_view manager
- Rework ActivationManager::activate_runtime as independent lease refcount;
  fix concurrent-start wait, cancellation cleanup, job registry release,
  catalog hot-replace; add regression tests
- Add ShellPluginHost global stub as gpui-shell integration point
- Sync docs/examples to headless protocol; drop ui:* permissions from fixtures
2026-08-31 09:37:29 +08:00

618 B

IPC Protocol

The MVP protocol is headless. Supported method families are:

  • lifecycle: init, shutdown, cancellation;
  • resource: open, ping, invoke, close;
  • job: start, status, cancel, result, close;
  • event stream: open, read, close;
  • blob: open, read, close;
  • reverse host API: credentials, secrets, notification, storage, logging and host blob upload.

Removed method families:

  • ui/action;
  • ui/dialog;
  • ui/window.

The old declarative UI DTOs and validation limits are no longer part of extension-protocol. Future gpui-shell APIs are host modules, not additions to this provider wire protocol.