863683348/dsh-plugin-translation0

dsh-plugin-translation

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

AI 분석

核心用于辅助高质量翻译任务,提供文本分段、术语提取、格式对齐校验及持久化翻译记忆。适合需要进行专业翻译、本地化或跨语言内容校对的用户。

패키지
dsh-plugin-translation
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 17.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

dsh-plugin-translation

A translation toolkit for DeepSeek Harness agents: chunking, glossary extraction, source–target QA, tone guides, and a durable translation memory. The model translates; the plugin chunks, checks, and remembers.

Install

dsh plugin --profile 
 add dsh-plugin-translation

Restart DSH. The translate_kit tool is registered host-wide.

Tool

actionpurpose
segmentSplit text into numbered, bounded chunks for chunked translation
glossaryExtract candidate terms (acronyms, camelCase, domains, numbers+units, emails, URLs) with counts
checkSource–target QA: numbers/units, brackets, length ratio, doubled punctuation
toneRegister-specific tone guide (formal / colloquial / technical, en / zh)
memo_getRead the translation memory (newest first)
memo_addSave a source→target pair to the memory file in the session workspace

Config

All optional, on the composition row's config:

keydefaultmeaning
personaSectiontrueregister the translation prompt-guidance section
sectionOrder6prompt section order (persona is 0, ascending)
memoFile.dsh/translation-memo.mdmemory file path (relative to the session workspace; cannot escape it)
maxMemoEntries200entries kept in the memory file

Design

Pure logic (lib/translation.js) has zero DSH/Cordis imports and is unit-tested in isolation; lib/index.js is the thin Cordis plugin. Memory access goes through ctx.fs and every resolved path is containment-checked against the session workspace.

License

MIT