nanbujiwanfeng/deepseek-harness-translation
nanbujiwanfeng★ 1TypeScript最后同步: 2026-08-15
Bidirectional Chinese↔English conversation translation for deepseek-harness: Chinese-speaking users converse in Chinese, each message is auto-translated to English for the agent, and English replies return as Chinese with bilingual rows in the Web Client.
README 摘要
dsh-translation-plugin deepseek-harness 的对话翻译插件(面向中国用户):用户用中文对话,插件自动把中文翻译成英文交给 agent 执行;agent 的英文回复自动回译成中文显示。页面同时展示「原文(中文)」和「中文翻译」双语行。 目录结构 路径 说明 packages/session/conversation-translator/ 宿主插件:翻译管线(zh2en 改写、双语记录、en2zh 回译、失败兜底) packages/client/ui-translation/ 客户端插件:页面双语行渲染 examples/web-cordis/translator.cordis.yml 启用配置( --patch overlay) apps/web/tests/translation-rows.e2e.ts 端到端测试(可选) harness-integration.patch 对 harness 的接线改动(tsconfig、bundle 清单等) sync-to-harness.mjs 一键安装/同步脚本 前置要求 - deepseek-harness 源码 checkout,版本锁定 commit 47f943859b(v0.1.0-rc.5) - Node.js 20+、pnpm - 可用的 DeepSeek API 配置(翻译会真实调用模型,消耗 你自己 的配额;不额外指定时直接复用 agent 的 provider/model 路由) 安装(首次) 在任意目录执行(harness 仓库路径换成你自己的): 打开 http://127.0.0.1:3080 ,用中文对话即可。用户消息旁会显示「原文(中文)」行,agent 回复下方会显示「中文翻译」行。 更新同步 插件作者推送更新后: 手动安装(不用脚本) 1. 把 packages/session/conversation-translator 、 packages/client/ui-translation 拷进 harness 仓库对应目录 2. 把 examples/web-cordis/translator.cordis.yml 拷到对应位置 3. 把 apps/web/tests/translation-rows.e2e.ts 拷到对应位置 4. 在 harness 仓库根目录执行 git apply /harness-integration.patch 5. pnpm install && npm run build 配置项 见 examples/web-cordis/translator.cordis.yml 中的注释。所有字段都有默认值: 字段 默认 含义 enabled true 双向翻译总开关 provider / model 空 留空 = …
在 GitHub 查看完整 README →分类
A public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and more.
★ 3,841
edison7009/EchoBirdOne-click install + model switch:Claude Code,Codex CLI (OpenAI), Grok Build (xAI), DeepSeek Harness, Kimi Code (Moonshot) ,Qwen Code,Aider,OpenCode,MiMo Code (Xiaomi),ZCode (Z.AI),OpenClaw,Pi,OpenScience,Vibe-Trading,Claude Desktop (3P profile),ChatGPT desktop,OpenCode Desktop,
★ 3,028
hyhmrright/brooks-lintAI code reviews grounded in 12 classic engineering books — decay risk diagnostics with book citations, severity labels, and 6 analysis modes including full-sweep auto-fix
★ 1,356