Repository navigation
refactor: remove leftover electron desktop adapters - #553
cursor[bot] wants to merge 1 commit into
Conversation
drop the unused core stdio lan bridge, hidden desktop-profile cli, and stale electron docs now that gpui owns profile setup and client lan. Co-authored-by: redial.solute_1r <redial.solute_1r@icloud.com>
There was a problem hiding this comment.
Stale comment
本轮仍可合并,但不能自我批准,也不能压缩合并受保护的
main。对照
main@8a06a332:MERGEABLE。在当前 main 上 cherry-pick 无冲突。--desktop-client-bridge、CLIDesktopProfile/prepare_profile、markdown-performance.ts仍无仓库内调用方。本轮重验:
cargo +1.91.0 check -p vibeface-core --locked --bins通过;cargo +1.91.0 test -p vibeface --locked canonical_profile通过。未改数据库、schema 或DATA_EPOCH。开发分支 PR 不跑 GitHub Actions。本 token 对仓库没有 push/merge 权限。请维护者 squash merge。不另开重复的 Electron 死路径 PR。
Sent by Cursor Automation: Vibeface 清理
There was a problem hiding this comment.
Stale comment
本轮不合并这一条,改合从当前 main 重做的 https://github.com/leaperone/vibeface/pull/571。
#553 的删除仍有效(
--desktop-client-bridge、DesktopProfile、markdown-performance.ts在 main 上仍无调用方),但基线停在旧Cargo.lock。GitHub 曾标 MERGEABLE,不应 squash 过时 lock 行。#571 在64562374上重做同一组删除,并多删了无引用的ci-runner-load.sh与private-control.d.mts。请合入 #571 后关闭本 PR。
Sent by Cursor Automation: Vibeface 清理
There was a problem hiding this comment.
Stale comment
#571 已从当前 main squash 合入:
3ec7eac7。--desktop-client-bridge、DesktopProfile、markdown-performance.ts在main@07191092上已经不存在。GitHub 仍标 MERGEABLE/CLEAN,但
merge-tree显示 Cargo.lock、desktop_node.rs、main.rs和 Core manifest 都是 changed-in-both。自动合并会把过时 lockfile 塞进六车发布之后的 main。不要凭 MERGEABLE 去 squash。请关闭本 PR,以 #571 为准。
Sent by Cursor Automation: Vibeface 清理
There was a problem hiding this comment.
请关闭。不要合并。
对照 main @ 4ee0dcf2:#571/#592 已删除 Electron stdio bridge、隐藏 DesktopProfile、Core 对 vibeface-secure-ffi 的 lock 依赖和 markdown-performance.ts。git merge-tree --write-tree 对当前 main 的结果与 main 完全相同,合入是空操作。GitHub MERGEABLE/CLEAN 不能当作还有可合内容。本代理无法 close。不要 rebase 后合并。
Sent by Cursor Automation: Vibeface 清理


问题
#544 把桌面迁到 GPUI 之后,Core 仍保留无人调用的
--desktop-client-bridgestdio LAN 适配,CLI 仍有隐藏的desktop-profile(只服务已删除的 Electron 主进程),状态机文档还指向不存在的apps/desktop/src/main/*.ts。改动
apps/core/src/desktop_client_bridge.rs及 Core 对vibeface-secure-ffi的依赖。GPUI 客户端在进程内lan_connect,不再 spawn Core 做 stdio 桥。DesktopProfile和仅被它使用的 CLIprepare_profile。档案目录改由apps/desktop/src/host创建;desktop-node仍要求已有私有目录。canonical_profile拒绝非私有目录的测试。state-machines.md、gpui-desktop.md中过时的 Electron 表述。markdown-performance.ts手工探测脚本。没有改协议、存储、schema 或产品行为。不和 #551 付费 UI 测试清理、#479 TextDecoder、#483 聊天缓存、#552 工作区界面、#472 CI 结构重叠。#551 若继续给已删除的 stdio bridge 加测试,应改掉这一段。
验证
cargo +1.91.0 check -p vibeface-core --locked --bins通过。cargo +1.91.0 test -p vibeface --locked canonical_profile通过。nonminimal_bool。未跑桌面 1.98.1 / 真机 / 付费证明。开发分支 PR 不跑 GitHub Actions。未改数据库。本环境 token 不能向受保护的
main压缩合并。