胡飞
|
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 |
|
胡飞
|
07dba58f0d
|
chore(deps): gpui-kit 升到 8caa3aee,适配 gpui-pre 的工厂式 inspector 注册
gpui-pre 快照 fork-0.3.110 把 `App::register_inspector_element` 从单层闭包改成了
工厂闭包 `Fn(&mut Window, &mut App) -> F`(registry 按 (inspector, state 类型)
缓存渲染器,首次渲染时才建)。gpui-component 的 inspector 注册随之改成在工厂里
创建 `DivInspector` entity,去掉原来的进程级 `OnceCell`,写法对齐上游
`crates/inspector_ui/src/inspector.rs`。
不跟着改的话,`cargo check -p remote_desktop_view` 会在 gpui-component 上直接挂:
error[E0593]: closure is expected to take 2 arguments, but it takes 4 arguments
--> crates/component/src/inspector.rs:52:8
变更:
- gpui-kit 8 处 pin(`gpui-component` 等 7 个依赖 + `rquickjs` patch)→ 8caa3aee
- 文档里的 revision 同步
- Cargo.lock 重新解析
验证:cargo check -p remote_desktop_view → Finished,0 error。
|
2026-09-20 15:41:26 +08:00 |
|
胡飞
|
abb0558434
|
chore(deps): gpui-kit / quickjs-jit 升到支持 32 位 Windows 的版本
gpui-shell 的 QuickJS 运行时依赖改为按目标位宽拆分:64 位
macOS/Windows/Linux 保留 `compiler`,其余目标只跑解释器,于是
i686-pc-windows-msvc 上 shell 依赖链可以编译(此前会直接报缺少
i686-pc-windows-msvc 绑定)。
- gpui-kit: 6df86ef8 → 329a064a
- quickjs-jit: 51c57e3c → 1a5b7fa
gpui-wry / gpui-kit / rquickjs patch 三行一并同步到同一 rev,避免两份
gpui-kit 与两份 quickjs-jit 并存导致 ModuleDef / Ctx / Error 类型不统一。
|
2026-09-20 14:54:02 +08:00 |
|
胡飞
|
7815ce5a28
|
perf(deps): gpui-component 升级到 resvg 0.46,去掉重复的 usvg/tiny-skia
component fork 的 Windows 原生菜单固定 resvg 0.45.1,gpui-pre 用 0.46.0,
每个下游二进制都链两份 usvg/tiny-skia。fork 侧 6df86ef8 把 resvg 提到 0.46.0,
navop 侧 rev 跟到 6df86ef8(含 rquickjs)。
同时清掉脚本/文档里改名前的 gpui-ce 标识:
- sync-gpui-component.sh 的 -p 包名(原值实跑报 did not match any packages)
- update_gpui_component_revision.py 的包名映射
- gpui-component-external.md 的旧仓库地址与 rev
- gpui-shell-extension-design.md / home-theme-sidebar-refinement.md 的旧包名与 rev
验证:Cargo.lock 里 resvg/usvg/tiny-skia/tiny-skia-path 各只剩 1 个版本;
cargo check -p main 通过;resvg 调用序列探针对 0.46.0 编译通过。
未跑 Windows 构建:唯一调用点是 native_menu/windows.rs(Windows 专用)。
已知遗留:update_gpui_component_revision.py 仍不能跑(依赖行需含
gpui-component.git + version =,SHELL_VERSION_FILES 锚点已不存在)。
|
2026-09-17 15:51:15 +08:00 |
|
胡飞
|
94ddc99af1
|
feat(extensions): extension.json 协议补 FilePath/rows,Auth 回填与文档同步
- ResourceConnectionFieldType 加 FilePath;ResourceConnectionFormField 加可选
rows(TextArea,缺省 5);schema bridge 映射到统一引擎
- 协议规则/文档补充 Auth 与 FilePath 语义及运行期引用解析说明
- 补 Auth 编辑回填(钥匙串引用还原/手动用户名还原)回归测试
- 验证:extension-runtime 21 / universal-plugins 3 / connection-form 3 测试过
|
2026-09-07 11:10:29 +08:00 |
|
胡飞
|
a5f7884991
|
chore: v0.16.0 发布前整理与测试补充
- refactor(notes): 移除 Markdown Split 分栏模式,旧配置自动迁移到 Source
- test(credential_vault): 补充列表渲染边界测试并添加 debug selector
- docs(extension-resource-plugins): 新增开发指南与 README 关联
- style: 统一 rustfmt 格式(notes/db/sftp/one_ui 等)
- chore: 同步 Cargo.lock 与脚本
|
2026-09-03 22:34:31 +08:00 |
|
胡飞
|
25fe18fb0c
|
fix(extensions): harden connection lifecycle
|
2026-09-03 17:11:08 +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 |
|
胡飞
|
0423df0bad
|
feat(plugins): adapt one_ui icon glyph sizing and add gpui-shell design doc
- one_ui IconButton: delegate glyph sizing to Button::glyph_size
- one_ui IconSize: map into gpui_component::IconSize
- terminal render_surface: drive scrollbar viewport from layout
- extension-resource-plugins: document gpui-shell extension design
|
2026-08-31 18:53:19 +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 |
|
胡飞
|
a31f20fde7
|
feat(extensions): add universal resource plugin lifecycles
|
2026-08-25 11:09:06 +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 |
|