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
Listed
0
Tools
Bundle verified
Preview
What it does
Translation toolkit for DSH agents: sentence segmentation, term and glossary extraction, source-target QA (numbers, units, brackets), tone guides, and a durable workspace translation memory.
Best for
- Translators handling long documents who need bounded segmentation, term extraction, and source-target consistency checks.
- Teams that reuse terminology across sessions in the same workspace through durable translation memory and glossaries.
- English-Chinese workflows that need formal, colloquial, or technical tone guidance and checks for numbers, units, and brackets.
Not ideal for
- Replacing the translator or translation model, because the model performs the translation while the plugin segments, checks, and stores it.
- Semantic accuracy certification or human-quality review, because the documented QA focuses on structural signals such as numbers, units, brackets, length ratio, and punctuation.
- Sharing one translation memory across unrelated workspaces, because memory and glossary files are workspace-bound.
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 <profile> add dsh-plugin-translation
Restart DSH. The translate_kit tool is registered host-wide.
Tool
| action | purpose |
|---|---|
segment |
Split text into numbered, bounded chunks for chunked translation |
glossary |
Extract candidate terms (acronyms, camelCase, domains, numbers+units, emails, URLs) with counts |
check |
Source–target QA: numbers/units, brackets, length ratio, doubled punctuation |
tone |
Register-specific tone guide (formal / colloquial / technical, en / zh) |
memo_get |
Read the translation memory (newest first) |
memo_add |
Save a source→target pair to the memory file in the session workspace |
glossary_get |
Read the durable glossary (newest first) |
glossary_add |
Add or update a source→target glossary term in the workspace glossary file |
glossary_remove |
Remove a glossary term by source |
consistency |
Cross-segment terminology consistency check against the glossary |
Config
All optional, on the composition row’s config:
| key | default | meaning |
|---|---|---|
personaSection |
true |
register the translation prompt-guidance section |
sectionOrder |
6 |
prompt section order (persona is 0, ascending) |
memoFile |
.dsh/translation-memo.md |
memory file path (relative to the session workspace; cannot escape it) |
glossaryFile |
.dsh/translation-glossary.md |
glossary file path (relative to the session workspace; cannot escape it) |
maxGlossaryEntries |
200 |
entries kept in the glossary file |
maxMemoEntries |
200 |
entries 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
Roadmap
See ROADMAP.md — next five versions (v0.2.0 – v0.6.0): glossary management & consistency, tone memory & quality scoring, side-by-side diff & placeholder protection, conflict detection & effort stats, glossary versioning & batch pipeline.
Frequently Asked QuestionsFAQ
Use the verified command dsh plugin --profile default add github:863683348/dsh-plugin-translation in a DSH-enabled shell. The command resolves the public package metadata and keeps the plugin attached to the catalog identity shown on this page.
Compatibility follows the bundle and profile status shown above. If a profile is not detected, keep the plugin disabled there and check the repository documentation before enabling it in production.
The GitHub link and activity metadata are the source of truth for releases and maintenance. Revisit this page after a new release to confirm the catalog has observed the latest version.