Feat/ai#17
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- AiConfig 新增 protocol 字段 - api-client.ts 新增 streamChatAnthropic,按协议路由 - chat.ts 新增 /protocol 切换命令,协议状态动态读取 - 新增 @anthropic-ai/sdk 依赖 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- ai README: 新增双协议支持、/protocol 命令、@anthropic-ai/sdk 依赖 - TECH_SNAPSHOT: ADR-6 更新为双协议支持 - RDT: 新增 requirements/design/tasks Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- C1: writeDoneCodingAiConfig 合并已有字段,保留 protocol - C2: switchProvider/switchModel 新增 protocolOverride 可选参数 - DoneCodingAiGlobalConfig.AI_CONFIG 新增 protocol 字段 - chat.ts 透传 getCurrentProtocol() 到 mrm 函数 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 拆分 ~/.done-coding/config.json:AI 配置独立至 ai/config.json,全局配置仅保留 ASSETS_CONFIG_REPO_URL - mrm 数据从单文件 sources.json 升级为目录结构(clients.json + registry.json + providers/<protocol>.json) - 新增 dc-mrm client add/remove/focus 命令,支持自定义 client 注册与切换 - done-coding-ai 协议从 ai/config.json 动态检测,不再硬编码 OPENAI - utils 包新增路径常量、readAiConfig/writeAiConfig 方法、旧格式一次性 warning - 修复 --client 选项在 user-defined client 下 choices 硬编码问题 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
No description provided.