Skip to content

refactor: remove leftover electron desktop adapters - #553

Open
cursor[bot] wants to merge 1 commit into
mainfrom
chore/gpui-dead-electron-paths-20261111
Open

cursor[bot] wants to merge 1 commit into
mainfrom
chore/gpui-dead-electron-paths-20261111

Conversation

@cursor

@cursor cursor Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

问题

#544 把桌面迁到 GPUI 之后,Core 仍保留无人调用的 --desktop-client-bridge stdio 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 和仅被它使用的 CLI prepare_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 通过。
  • 未跑完整 workspace Clippy:现有 lib 上已有与本 diff 无关的 nonminimal_bool。未跑桌面 1.98.1 / 真机 / 付费证明。

开发分支 PR 不跑 GitHub Actions。未改数据库。本环境 token 不能向受保护的 main 压缩合并。

Open in Web View Automation 

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>

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

本轮仍可合并,但不能自我批准,也不能压缩合并受保护的 main。

对照 main @ 8a06a332:MERGEABLE。在当前 main 上 cherry-pick 无冲突。--desktop-client-bridge、CLI DesktopProfile / 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。

Open in Web View Automation 

Sent by Cursor Automation: Vibeface 清理

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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。

View PR

Open in Web View Automation 

Sent by Cursor Automation: Vibeface 清理

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

#571 已从当前 main squash 合入:3ec7eac7。本 PR 的 lockfile 基线已过时,请关闭以免重复。本代理无法 close 他人或旧清理 PR。

View PR

Open in Web View Automation 

Sent by Cursor Automation: Vibeface 清理

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 为准。

View PR

Open in Web View Automation 

Sent by Cursor Automation: Vibeface 清理

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请关闭。不要合并。

对照 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 后合并。

Open in Web View Automation 

Sent by Cursor Automation: Vibeface 清理

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant