Daneel0001/dsh-plugin-zh-cn ↗★ 0

dsh-plugin-zh-cn

Render installed DeepSeek Harness plugin titles and descriptions in Simplified Chinese, translated at startup by DSH's own LLM service and cached in a local JSON file. 适合希望将已安装插件的英文标题和描述自动汉化,并进行本地缓存的用户。

Package
dsh-plugin-zh-cn
Compatibility
Unverified
Version
2.0.8
License
MIT
Last updated
Oct 16, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Daneel0001/dsh-plugin-zh-cn

配置

- id: zh-cn-plugin-locale
  name: dsh-plugin-zh-cn
  config:
    enabled: true          # 总开关
    strict: true           # 名称+描述都有译文才写入缓存
    timeoutMs: 60000       # 单条翻译超时(描述很长的插件要给足时间)
    maxTokens: 4096        # 单条翻译输出上限(推理型模型可能先吐思考再给 JSON)
    provider: ''           # 留空 = 用「设置 → 模型」里的默认模型
    model: ''
    cacheFile: ''          # 留空 = 
/dsh-plugin-zh-cn/local-cache.json
    seedFiles: []          # 额外的缓存初值(绝对路径),只合并、不覆盖
    maxPerStart: 500       # 每次启动最多新翻几个插件(默认实质上不限,一个全新 profile 也就几百条)
    delayMs: 200           # 两条翻译之间的间隔
    saveEvery: 8           # 每翻译成功几条落一次盘,中途退出不丢已完成的部分
    retry: 3               # 每条最多尝试几次(设为 1 即关闭重试)
    debug: false           # 把每条翻译结果写进 debug 日志