7 Commits
Author SHA1 Message Date
胡飞 15b1e2505f chore(deps): 合入 gpui-kit 上游改动,gpui-shell 跟进到 0.6.4
- gpui-kit(feigeCode/gpui-kit port-ce-generic-to-main)升到 23c8e5b78:合入上游
  45 个提交(0.6.1 → 0.6.4)。其中 QuickJS JIT 升到 0.12.9,与本分支的 32 位改动
  重叠,冲突已在 gpui-kit 侧解决(保留按位宽拆分 + i686 补丁;上游把软换行的行换成
  `InputLine`、对话框 button props 改为合并语义,内联 widget 布局与 alert/confirm
  已相应适配)。Cargo.toml 的 8 处 pin 一起回填到新 rev,Cargo.lock 重新解析
  (gpui-wry 0.6.4、rquickjs 0.12.9,旧 rev 无残留)。
- 宿主 gpui-shell 版本 0.6.1 → 0.6.4:extension-runtime 的 GPUI_SHELL_VERSION 与
  各处测试清单、文档示例同步提升。该校验对 0.x 按 minor 精确匹配,旧值会被直接拒绝。

验证:cargo check -p remote_desktop_view(新 gpui-kit + quickjs-jit i686 分支)
→ Finished dev profile,0 error。
2026-09-20 19:20:21 +08:00
胡飞 bd7548e53b fix(extension-runtime): 补齐 gpui_shell 版本 fixture 到 0.6.1
abb055843 把宿主 `GPUI_SHELL_VERSION` 从 0.2.0 升到 0.6.1(跟随 gpui-shell
crate 版本),但漏了三处声明,CI 因此在 macOS / Linux / Windows 三个平台上各挂
同样的 3 条测试:

  extension::manifest::parser_tests::reference_resource_plugin_manifests_are_parser_valid
  global::tests::development_views_are_rebuilt_with_installed_views
  global::tests::invalid_development_manifest_does_not_remove_valid_views

    manifest 字段 /engines/gpui_shell 非法: requires gpui-shell 0.2.0, host provides 0.6.1

原因是 `0.x` 的兼容判定要求 minor 精确匹配
(crates/extension-runtime/src/extension/manifest/shell_validation.rs):

    if required.major == 0 { current.major == 0 && current.minor == required.minor }

补齐的三处:

- crates/extension-runtime/src/global.rs 测试内联 manifest
- docs/extension-resource-plugins/examples/elasticsearch/extension.json
- docs/extension-resource-plugins/development-guide.zh-CN.md 的示例清单

验证:cargo test -p extension-runtime --lib → 214 passed,原先挂的 3 条全绿。
唯一未过的是 db_tree_action_runs_registered_wasm_component,与本次改动无关:它
读 `fixtures/coverage-plugin/wasm/coverage_component.wat`,而 wasmtime 的 `wat`
解析器只在 crates/extension-wasm 的 `[dev-dependencies]` 里打开,CI 跑的是
`cargo test --all`(feature 统一启用)因此通过,本地收窄成 `-p extension-runtime`
就不带该 feature。该测试在本次 CI 运行的上一条日志里是通过的。
2026-09-20 17:05:05 +08:00
胡飞 99ecf57473 feat(extensions): unify resource plugin connections 2026-09-03 14:02:29 +08:00
胡飞 3d18ae010e feat(plugins): add universal resource shell views 2026-09-02 12:21:55 +08:00
胡飞 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
胡飞 e785ca52f2 feat: add Elasticsearch resource provider trial 2026-08-20 12:42:45 +08:00
胡飞 63622d7f31 feat: add universal resource plugin foundation 2026-08-20 12:30:26 +08:00