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

32 lines
756 B
Plaintext

package onet:extension;
interface ui {
record action-context {
extension-id: string,
command-id: string,
node-id: string,
node-name: string,
node-type: string,
database-type: string,
connection-id: string,
}
enum notification-level {
info,
success,
warning,
error,
}
resource progress {
set-message: func(message: string);
set-fraction: func(fraction: f32);
close: func();
}
notify: func(level: notification-level, title: string, message: string);
current-action-context: func() -> option<action-context>;
refresh-tree: func(connection-id: string);
start-progress: func(title: string) -> progress;
}