新增 DeepSeek Harness(DSH)作为内置 ACP agent - #455
Closed
asteroida123 wants to merge 7 commits into
Closed
Conversation
Registers DSH as a first-class built-in alongside the other twelve: - AgentType::Dsh variant (wire name 'dsh', registry id 'dsh-acp') - Launch metadata: npx @asteroida/dsh-codeg-adapter, supports_mcp=false (DSH's automation-only ACP bridge rejects mcpServers) - Transcript parser reuses acp_native (DSH keeps no codeg-readable store) - Frontend: BuiltinAgentType union, labels, colors, display order cargo check + targeted tests pass; tsc introduces no new errors.
DSH was missing from default_enabled(), so it landed disabled and the launch gate rejected connect with 'DeepSeek Harness (DSH) is disabled in settings'. Add the arm plus a regression test asserting every built-in is enabled by default (the pattern is a matches!, not an exhaustive match, so the compiler cannot catch the omission).
Owner
|
感谢PR,但是codeg当前接入了deepseek-acp这个社区包,完整支持了agent编码能力,原生acp协议能力有限,所以当时没有接入,虽然没有合并,但是还是感谢佬的贡献。 |
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.
概述
在现有 12 个内置 agent 之外,新增第 13 个内置 agent:DeepSeek Harness(DSH)。
DSH 自带第一方「automation-only」ACP 服务端(
@deepseek-ai/dsh-acp@deepseek-ai/dsh-acp-demo),因此走与 Claude Code / Codex / Gemini 相同的npx 启动路径即可接入。
改动内容
AgentType::Dsh变体(wire 名dsh,registry iddsh-acp)npx @asteroida/dsh-codeg-adapter,supports_mcp=false(DSH 的 automation-only 桥会拒绝
mcpServers,与 OpenClaw 一致)acp_native(DSH 没有 codeg 可读取的原生会话存储)BuiltinAgentType联合类型、标签、颜色、鲸鱼图标、展示顺序适配器包说明
@asteroida/dsh-codeg-adapter是一个薄启动层(内置cordis.yml+ key 注入),包装官方
@deepseek-ai/dsh-acp-demo。源码:https://github.com/asteroida123/dsh-codeg-adapter
验证结果
cargo check及cargo clippy --all-targets --features test-utils -- -D warnings均无告警cargo test --features test-utils:2454 通过,0 失败正常完成,返回
turn_complete stop_reason=end_turn已知限制(DSH 上游设计所致)
session/load/resume/fork)supports_mcp=false)