Repository navigation
修复插件旧 Core 复用及空间助手 CLI 状态恢复 - #51
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
插件先于 App 启动时会运行包内复制的旧 Core,App 又只按控制协议复用实例,导致已安装 CLI 发现修复仍不生效。插件入口现在转入所属安装中的当前二进制;公共启动器按磁盘上的版本和 commit 协调空闲升级,保留地址、数据及最新客户端设置,有活动时延后。
空间协作助手改为每次刷新使用与设置页相同的 CLI 发现逻辑,旧路径创建失败不再显示为当前检测错误。已确认尚未发送原生创建请求的记录可明确重试并复用原 ID;未知创建结果不重放,缺少 CLI 的新创建不新增失败卡片。
验证:
d1b3452与新/下一构建回归通过:插件先启动、并发升级、长驻旧 MCP、防止旧 Core 复活、未同步插件的后续 App 替换、缺少安装源、活动延后、设置交接与控制入口认证;无模型调用。DMG 足以支持此修复。旧 Core 首次迁移只能使用其已有的非强制停止保护;新版提供请求准入保护。同步文档记录后端为主改动的验证范围,以及 Release 后不额外下载公开产物复核的约定。详细记录见
docs/agent-wiki/tasks/finished_archived/2026-10-04-core-upgrade.md。