feat(dsh): add experimental DeepSeek Harness backend - #13
Draft
wetlink wants to merge 9 commits into
Draft
Conversation
…te deployment - Add dsh-backend-research.md: pi-ai catalog routes for MiniMax/Kimi/GLM (zero-code, API keys via $DSH_HOME/.credentials.yaml), subscriptions plugin headless assessment, remote-machine deployment checklist, version re-verification (0.1.1-rc.2 package closure complete), and a four-phase implementation plan. - Revise dsh-backend-design.md: LLM layer switches from dsh-llm-deepseek to dsh-llm-pi-ai multi-provider; per-model supportedEfforts replaces the uniform effort mapping; version pin to be re-validated against 0.1.1-rc.2 before implementation. - Add docs/DEVLOG.md capturing both decisions.
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.
Summary
新增第三种可选后端
dsh-sdk,通过 DeepSeek Harness 官方 JSON-RPC stdio runtime 将多 provider coding agent 接入飞书群聊。DSH 在 Web「后端 Agent」页按需安装、在项目创建时显式选择,不会替换或改变 Codex / Claude,也不会成为默认后端。User-visible behavior
full项目中可选择 DeepSeek Harness,静态提供已核验的 Kimi、GLM、MiniMax 与 DeepSeek 模型路由。sessionId从 DSH JSONL 历史恢复。Architecture
@deepseek-ai/*包到0.1.1-rc.2,不跟随浮动 prerelease tag。initialize、session/prompt、session.event、session.status、shutdown。dsh-jsonrpc-agent进程;JSON-RPC transport 负责请求关联、早到通知缓冲、stderr 限长脱敏和进程组回收。sessionId,不读取或改写 DSH 自己的 JSONL 历史。installSpecs,保持原单包后端行为兼容,同时支持 DSH 多包原子安装。Safety boundary
full/danger-full-access;qa与write在启动前 fail closed,绝不静默提权。approval: never、telemetry off,并禁用 Code/PTC、skills、workspace pre-scan、background jobs 与 goals。session/prompt前明确拒绝,不会静默丢弃;首版不声明 goal、steer、compact、审批转发或历史选择器能力。$DSH_HOME/.credentials.yaml解析。Bridge 不读取、复制、打印或持久化 key 值。Verification
npm test: 97 passed, 1 skipped test files; 1078 passed, 8 skipped tests.npm run typecheck: passed.npm run build: passed.node scripts/check-dsh-profile.mjs /tmp/dsh-bridge-probe-rc2:0.1.1-rc.2dsh-jsonrpc-agentreturneddeepseek-harness-sdk-runtime@0.0.1HOME/DSH_HOME, performs nosession/prompt, and uses no real provider key.Out of scope / follow-up
Design and operating details are documented in
docs/design/dsh-backend-design.mdanddocs/design/dsh-backend-research.md.