rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Emck/tirol-dsh-language-set
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
A DeepSeek Harness (dsh) plugin that controls AI's reply language and thinking language separately via system prompt injection.
dsh plugin --profile web add @tirol/dsh-language-set
git clone https://github.com/Emck/tirol-dsh-language-set.git
cd tirol-dsh-language-set
pnpm install
pnpm check
dsh plugin --profile web add .
After successful installation, restart the DSH service to take effect immediately. The default language is Chinese.
Modify profiles/web/cordis.patch.yml configuration to change the language (currently only Chinese and English are supported).
language command| Field | Type | Default | Description |
|---|---|---|---|
lang |
string |
'en-US' |
Global default language |
replylang |
string |
'' |
Reply language, falls back to lang when '' |
thinkinglang |
string |
'' |
Thinking language, falls back to lang when '' |
replytext |
string |
'' |
Reply prompt text, customizes the default template |
thinkingtext |
string |
'' |
Thinking prompt text, customizes the default template |
command |
boolean |
false |
Whether to enable the language command |
verbose |
boolean |
false |
Whether to enable verbose logging mode |
Edit profiles/web/cordis.patch.yml to add plugin configuration:
- id: dsh-language-set
config:
lang: "zh-CN"
command: true
verbose: true
When command: true, the plugin registers a language command:
# View current configuration
> language config
# View injected system prompts
> language show
| Dependency | Version | Purpose |
|---|---|---|
@deepseek-ai/cordis |
^4.0.2 | DSH plugin framework |
@deepseek-ai/dsh-system-prompt |
0.0.1-rc.1 | DSH system prompt type definitions |
@deepseek-ai/schemastery |
^3.18.2 | Runtime Schema validation |
⚠️ All dependencies are dev-time only; the build output has no runtime dependencies.
| Script | Command | Description |
|---|---|---|
build |
tsdown |
Compile TypeScript to lib/ (ESM) |
test |
vitest run tests |
Run unit tests |
typecheck |
tsc --noEmit |
Type check only |
check |
pnpm run check |
Full validation: typecheck → test → build |
This plugin follows the DSH Cordis plugin specification:
export const name = 'dsh-language-set'export const inject = ['systemPrompt']ctx.effect() returns a dispose cleanup function@deepseek-ai/schemastery Schema validationpackage.json → dsh.bundle.patch → cordis.patch.yml| Document | Description |
|---|---|
| API Reference | API reference: exports, type definitions, built-in commands |
| Architecture | Architecture design: project structure, data flow, dependencies |
| ChangeLog | Version changelog: changes, new features, bug fixes |
| Configuration | Configuration guide: field descriptions, usage examples |
| Development | Development guide: environment requirements, build config, debugging tips |
| Release | Release guide: release process, version strategy, FAQ |
MIT © Emck
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。