PHANTOM-NINE/dsh-gloss ↗★ 0

dsh-gloss

Select-to-look-up English terms in DeepSeek Harness conversations: instant IPA and Chinese technical definitions from a free online dictionary, with technical senses ranked first and an offline fallback.

包名
dsh-gloss
兼容性
待验证
Harness 依赖范围
>=0.2.0-rc.1 <0.3.0-0
Cordis 依赖范围
~4.0.5
版本
0.1.0
许可证
MIT
最近更新
2026年11月22日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PHANTOM-NINE/dsh-gloss

使用方式

  1. 选中:用鼠标选中消息里的英文词或短语(内联代码色块里的词也可以)。
  2. 看卡片:音标 + 中文解读就地弹出;同一词再查走缓存,即时显示。
  3. 朗读:点 🔈 用系统英语音色朗读(离线可用,只有点了才念)。
  4. 关闭:点卡片外部 / 按 Esc / 点 ×。
  5. 键盘选中(Shift+方向键等)同样触发。触屏长按选中可用。

配置隔离(重点)

dsh-gloss 绝不写入以下位置:

  • ~/.dsh/profiles/*/cordis.patch.yml
  • ~/.dsh/settings-legacy.yaml、settings.yaml.imported
  • ~/.dsh/prompt-inject.md、dsh-purge/、guard/、.credentials.yaml

插件激活完全靠包内自带的 cordis.patch.yml(dsh.bundle.patch),由安装在内存里合成,不会落到你的 profile 文件。插件没有声明 Config schema、没有设置页,也不会调用任何会触发 profile 重写的设置 API —— 对你已有的(包括破甲类)配置零改动。