返回目录
其他 插件

dsh-plugin-translation

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

Stars
0
Forks
0
Issues
0
更新
1 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:863683348/dsh-plugin-translation

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

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

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

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类其他
规则置信度

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。