Editor's note

863683348/dsh-plugin-translation

Translation toolkit for DeepSeek Harness agents: sentence segmentation, term/glossary extraction, source-target QA, tone guides, and a durable translation memory in the session workspace

This is a DeepSeek Harness (DSH) plugin. Review its GitHub README, installation information, maintenance status, and public security signals here.

dsh-plugin-translation

面向 DeepSeek Harness agent 的翻译工具包:分块、术语提取、译文质检、语气指南与持久化翻译记忆。模型负责翻译,插件负责切分、校验与记忆。

安装

dsh plugin --profile <profile> add dsh-plugin-translation

重启 DSH 后,translate_kit 工具全局注册。

工具

动作用途
segment把长文本切成编号分块,便于分块翻译
glossary提取候选术语(缩写、驼峰词、域名、数字+单位、邮箱、URL)及出现次数
check译文质检:数字/单位、括号配对、长度比例、重复标点
tone语气指南(正式 / 口语 / 技术,中 / 英)
memo_get读取翻译记忆(新的在前)
memo_add保存一条源文→译文到会话工作区内的记忆文件

配置

均为可选项,写在组合行的 config 里:

默认值含义
personaSectiontrue是否注册翻译提示词段
sectionOrder6提示词段顺序(persona 为 0,升序)
memoFile.dsh/translation-memo.md记忆文件路径(相对会话工作区,运行时校验不可逃逸)
maxMemoEntries200记忆文件保留的条目数

设计

纯逻辑(lib/translation.js)零 DSH/Cordis 依赖、可独立单测;lib/index.js 是薄 Cordis 壳。记忆读写走 ctx.fs,所有路径经 containment 校验锁定在会话工作区内。

License

MIT

REPOSITORY SIGNALS

Security & install evidence

This score is based solely on public repository metadata and the install evidence registered here — it is not a code security audit.

Traceable source

From a public plugin catalog, linked to a public GitHub repository.

License

The repository declares the MIT license.

Maintenance activity

Code updates within the last 180 days.

Install evidence

No verifiable install metadata registered yet — please review the repository instructions manually.

Install lifecycle scripts

The inspected package metadata declares no install lifecycle scripts.