Skip to content

feat: manage ChatGPT plugin setup and local Core binding - #48

Merged
YTwsy merged 3 commits into
Metafrom
codex/chatgpt-plugin-onboarding
Oct 3, 2026
Merged

YTwsy merged 3 commits into
Metafrom
codex/chatgpt-plugin-onboarding

Conversation

@YTwsy

@YTwsy YTwsy commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

已有本机插件可能一直连接旧的演示 Core。此改动加入 App/WebGUI 的一次性连接入口,启用后在同一 App 启动或重新打开时更新插件,并使它使用该 App 当前的数据目录。新设备首次连接直接使用本机数据,不需要手工编辑插件清单;旧目录内容保留,不搬动或合并数据。

连接管理保留原插件来源,通过原生 CLI 更新自身注册。停用或移除后不自动重装,其他安装路径不能自动接管。切换中断可在设置页重试;CLI 更新未指定目录时保留绑定。界面加载按代号和 Core 验证,旧进程不能清除重新加载提示。包含之前尚未合入 Meta 的插件安装与 App 自动同步实现。

验证:

  • Go test / vet、8 个相关包的 race test 通过。
  • Web check(918 条中英消息)、148 项测试及两种嵌入构建通过。
  • Codex CLI 0.160.0 隔离配置验证通过:实际安装/缓存、旧绑定迁移、bootstrap scope、旧进程回执隔离、CLI 兼容路径及数据保留;无模型回合。
  • 当前提交的 macOS arm64 App 构建和真实启动验证通过:首次不自动启用、已启用旧绑定自动校正、独立目录、双副本启动/重开/退出与 Core 保留。
  • 独立浏览器验证通过:普通 WebGUI 与 opaque iframe 中的真实连接写入,中英文、深浅主题、1440/1024/768 像素截图及长路径无横向溢出。宿主消息由测试页面模拟,业务 MCP/Core 与原生插件注册真实执行。
  • verify-release.py 通过:DMG 挂载安装、校验和、App 签名完整性、CLI/App 版本一致和命令入口安装/移除。构建 0.2.6-dev.plugin-binding.20261003 来自干净提交 d1b3452,ad-hoc 签名,未做 Developer ID 签名或公证。
  • 本次测试 Core、app-server、专用 App 与浏览器已退出,个人数据和插件配置未被测试环境改写。

不涉及公网入站、云端后端或远端协作协议。ChatGPT 主窗口由用户最终整体检查;没有自动退出宿主,也不将隔离同机检查表述为两台 Mac 验证。

@YTwsy
YTwsy marked this pull request as ready for review October 3, 2026 13:32
@YTwsy
YTwsy merged commit 2acdab3 into Meta Oct 3, 2026
1 check passed
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