Repository navigation
Conversation
…te/NativeEventDispatch/NativeMiddlewareDecision/NativeMiddleware/NativeDisposableStore)
- WorkspaceStore+NativeAgent: dispatch 只走 executeNativeStudyAgentRequest,删除 executePiStudyAgentRequest 分支与 piRuntime.cancel - NativeAgentBackendSelection 整体删除(WEIBEI_AGENT_BACKEND 环境变量分支、persistedDebugBackend、debugDefaultsKey) - AgentSettingsView 的 nativeBackendDebugCard(W6 验收临时设施)与 SettingsView 的 @AppStorage 接线删除 - StudyAgentBackend 删除 case pi(0 用户,decodeLossy 容错旧存档);全部 .pi 产生点翻转为 .native - NativeAgentSelfChecks 的后端选择检查改为防复活断言(pi 不再可解码)
- 删 PiAgentRuntime/PiRPCProtocol/PiOAuthService/PiManagementProtocol 与 pi 扩展(extension.ts/session-title.ts) - PiAgentResources 拆为独立文件(skills 加载器,Native 复用) - 新增 AgentAccountService:接管设置页全部账号职责——目录静态化(NativeProviderRouting 默认模型+手输兜底)、凭据走 NativeAgentCredentialStore、OpenAI 订阅登录走 NativeOpenAIOAuth 浏览器流程、旧 PiAgent/auth.json 一次性迁移(已登录账号免重登) - UI 观察点替换(SettingsView/AgentSetupPromptCard/AgentProviderReadiness);删 pi 登录中途问答 UI - WorkspaceStore:piRuntime 成员/构造/关停/会话清理全删,catch 改纯 CancellationError - StudyAgentRuntime:删 pi 错误映射;WeiBeiPiCheck:删 pi live 检查/management-protocol/订阅探针/基线夹具/DeepSeek pi 对拍,保留 native 五入口 - 能力面变化:订阅 OAuth 登录暂仅 OpenAI(native 只实现了它),anthropic/copilot/radius 请用 API Key;Azure endpoint 绑定校验暂缺
This was referenced Aug 23, 2026
Merged
Closed
Closed
Closed
Closed
Collaborator
Author
|
最终实现已由 #375 完整整合并合入 main;关闭此旧草稿,避免重复合并旧代码。 |
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.
结论
魏碑只保留 Swift 原生 Agent。删除 Pi/Bun 二进制、协议、依赖、认证旁路和构建发布链;不保留无真实用户依据的旧数据兼容层。
主要改动
验证
本机 Swift 测试目标仍受工具链环境限制:XCTest 模块不可用,未把环境失败误记为代码失败。
未执行