Conversation
通过 Claude 适配器公开会话参数传递 API Key 路由,同时覆盖新建与历史恢复,清除冲突鉴权并保留 Codex gateway 行为。 直接观察所选 Agent 连接,等待会话设置确认后展示模型,防止旧配置闪现及准备期间提交。 统一底栏、模型入口与 Agent 菜单品牌图标,保留原生单选勾选,并补充回归、共享契约、Agent Note 与功能矩阵。
xiaoyumuxi
previously approved these changes
Oct 1, 2026
xiaoyumuxi
left a comment
Collaborator
There was a problem hiding this comment.
重点检查了 Claude API-key 路由、session/new 与 session/load 的一致性、gateway 登录分支、模型/Agent 切换准备态以及品牌图标缓存。凭据只通过 ACP session metadata 传入,Claude 不再走冲突的 gateway authenticate;新建和历史恢复都复用同一路由,相关 Rust/UI 回归测试覆盖到位,当前 CI 全绿。没有发现阻断项。
This branch has not been deployed
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.
Claude 使用支持 Anthropic Messages 的 API Key 服务商时,适配器的 gateway 模式会额外加入占位
Bearer acp-proxy,部分服务商因此返回 401;另外,Agent 选择已改变时,界面可能仍绑定旧连接,首次切到 Codex 还会短暂显示保存的旧模型。本次修复使 Claude 新建和恢复会话走同一条原生 API Key 路由,Agent 切换立即更新界面,会话设置确认后再显示模型;同时参照 CC GUI 完善底栏和 Agent 菜单的品牌图标。
改动说明
_meta.claudeCode.options,在session/new、session/load通过 ACP stdio 传递服务商、密钥和模型。SDK 环境与程序化 settings 使用同一路由,并清除冲突的 Bearer、OAuth、自定义请求头、云平台路由及apiKeyHelper;缺少凭据直接报错。Codex 继续使用原有 gateway 鉴权。AgentConversationFeatureModel的视图,在选择变化时解析正确连接,并按 Agent ID 更新连接视图。保留各 Agent 已有的连接、历史与会话配置;模型仍等待上游确认再更新显示。验证
test-stability-macos.sh -- --filter 'AgentConversation|AgentHistory|AgentFileReference|AgentProviderConfiguration|AgentBrandIconResource|AgentManagement'。最新原生品牌像素用例覆盖 4 个组合,合计 414 ms;逐测试 JSON、JUnit 和 HTML 已核对。cargo fmt --manifest-path rust/Cargo.toml -p lithe-agent-host -- --check通过。平台与已知限制
macos/Sources/Lithe/Models/AppModel/AppModel+RunConfiguration.swift为 616 行,超过 600 行。该文件与当前preview字节完全一致,本 PR 未修改;不将全部静态门禁标为通过。同步 preview 与冲突处理(2026-10-01)
已同步最新
preview(7cb138b9),解决平台矩阵 Markdown 的统计区冲突。以自动合并后的shared/platform-feature-matrix.json为准重新生成 Markdown/CSV,逐项核对 119 条能力记录,保留最新 Windows Diff 能力和本 PR 的 Agent 记录。非重叠源码与测试改动逐字节保留,权限菜单与英文强度的独立工作继续由 #1008 跟踪。9ebd0f52e3a1620379882c3aa19d95afa1d46bb2,使用普通快进推送,保留原 PR 提交历史。Windows 实机验收仍待完成;此前注明的全仓服务边界 616 行基线限制保持原状。