DeepSeek Harness Plugin

863683348/dsh-plugin-translation

Stars ★ 0 Category Tools & Capabilities Added 2026-08-17

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.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:863683348/dsh-plugin-translation

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).

README

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

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)
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

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →