rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:che0911/dsh-bilingual-description
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English · 简体中文
Every tool call that takes a description argument writes it bilingual — Chinese first, English second — and a call that forgets the Chinese half is rejected before it runs, with the exact rewrite handed back to the model.

Tool-call description is the sentence you read in the trajectory 参数 panel to remember what a call did. English-only descriptions are fast to skim but hard to scan for non-English readers, and they silently become the project's audit trail.
There is no translation layer to bolt on: the value is produced by the model, stored verbatim in the session record, and never rewritten afterwards. So the only two places that can influence it are the prompt (say the rule) and the guard (refuse the call). This plugin does both.
description is checked. On failure the call is denied and the model receives the exact retry text, so the next attempt is correct.Required format (one line, full-width quotes so nothing needs JSON escaping):
中文:“<中文描述>” 英文:“<English description>”

description parameter are checked; the plugin reads the tool definition at call time, so it follows whatever the installed tools expose.read, write and similar tools without a description parameter are untouched.All optional, via environment variables:
| Variable | Default | Meaning |
|---|---|---|
DSH_BILINGUAL_DESCRIPTION_DISABLE |
unset | Set to 1 to turn the plugin off entirely. |
DSH_BILINGUAL_DESCRIPTION_SCOPE |
all |
shell restricts checks to command-style tools only. |
DSH_BILINGUAL_DESCRIPTION_EXTRA_TOOLS |
unset | Comma-separated extra tool names to enforce when the schema is unavailable. |
The wording lives at the top of index.js (CN_LABEL / EN_LABEL / RULE / message builders) if you want a different language pair or separator.
From the DSH plugin market: install dsh-bilingual-description.
Manually, into a profile:
cd ~/.dsh/profiles/<profile>
npm install /path/to/dsh-plugin-bilingual-description
then add "dsh-bilingual-description" to dsh.profile.bundles in that profile's package.json and restart DSH.
Verify with a tool call that has an English-only description — it should be rejected with invalid description: must be bilingual.
node scripts/smoke.mjs # 16 assertions, no DSH runtime needed
node --check index.js
>= 0.2.0-rc.1 (tested on 0.2.2-rc.1).ctx.systemPrompt.section() and ctx.tools.guard().MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。