tirol-dsh-language-set
Manifest valid★ 1[DeepSeek Harness] dsh plugin, that controls AI's reply language and thinking language separately via system prompt injection.
@tirol/dsh-language-set
English | 中文
A DeepSeek Harness (dsh) plugin that controls AI's reply language and thinking language separately via system prompt injection.
Quick Start
Install
dsh plugin --profile web add @tirol/dsh-language-set
Install from Source Code
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 .
Usage
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).
Features
- Reply Language Control — Controls the language AI uses when replying to users
- Thinking Language Control — Controls the language AI uses for internal thinking
- Flexible Configuration — Supports seven configuration options
- Command Support — Optionally registers the
languagecommand
Configuration
| 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 |
Configuration Example
Edit profiles/web/cordis.patch.yml to add plugin configuration:
- id: dsh-language-set
config:
lang: "zh-CN"
command: true
verbose: true
Built-in Commands
When command: true, the plugin registers a language command:
# View current configuration
> language config
# View injected system prompts
> language show
Dependencies
| 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.
Scripts
| 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 |
DSH Plugin Specification
This plugin follows the DSH Cordis plugin specification:
- Plugin Identifier —
export const name = 'dsh-language-set' - Service Dependency —
export const inject = ['systemPrompt'] - Effect Registration —
ctx.effect()returns a dispose cleanup function - Schema Validation —
@deepseek-ai/schemasterySchema validation - Bundle Manifest —
package.json→dsh.bundle.patch→cordis.patch.yml
Documentation
| 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 |
License
MIT © Emck
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.1 | — | — |
| 0.1.2 | — | — |
| 0.1.3 | — | — |
Comments
Loading…
From the same category
by awesome-dsh-plugin
A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表
★ 24.1k
CC0-1.0
Python
Nov 10, 2026
by 0xsline
DeepSeek Harness (DSH) ecosystem: curated plugins, tools, and infrastructure from dsh-external/hub and the public dsh-plugin topic.
★ 1.3k
CC0-1.0
Python
Nov 6, 2026
by woniuniuniu
DeepSeek Harness 自媒体工作台插件:一句话记灵感,一键生成脚本、封面、配图和分镜
★ 771
↓ 3.7k/wk
MIT
JavaScript
Nov 8, 2026
dsh plugin --profile web add dsh-media-deskby uumit-ai
Open dsh web from your phone or another computer through a UUMit account, without running your own server or installing another program: a built-in tunnel client connects to UUMit's hosted tunnel, and
★ 521
↓ 268/wk
MIT
JavaScript
Oct 21, 2026
dsh plugin --profile web add @uumit-ai/dsh-uumit-remoteby Yuuyuko-uu
DSH 鱼的记忆:给会话一份会淡忘的长期记忆,每条都带时间
★ 508
MIT
JavaScript
Nov 9, 2026
dsh plugin --profile web add dsh-fish-memoryby SAOS-3624
Scene-aware storyboard for DeepSeek Harness: 9-16 numbered cells with timestamps + transcript + an audio envelope, packed into ONE image (384 tokens). Two tools: video_storyboard and video_zoom.
★ 499
↓ 17k/wk
MIT
JavaScript
Nov 10, 2026
dsh plugin --profile web add dsh-video-storyboard