itchenshi/dsh-keys-setting ↗★ 0

dsh-keys-setting

DeepSeek Harness plugin: choose whether Enter, Shift+Enter and Ctrl/Cmd+Enter send the message or insert a line break, from the Settings window's General page.

套件
dsh-keys-setting
相容性
待驗證
版本
0.2.6
授權
MIT
最近更新
2026年10月5日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add https://github.com/itchenshi/dsh-keys-setting/releases/download/v0.2.6/dsh-keys-setting-0.2.6.tgz

使用

设置窗口 →「通用」里新增的那一行就是「按键设置」,改完立即生效。

也可以手改 profile 的 cordis.patch.yml 里 id: composer-keys 这一行的配置:宿主半边在页面窗口 重新获得焦点时重读,所以切回 Harness 窗口即生效,不用刷新页面。

配置

cordis.patch.yml 里 id: composer-keys 这一行的 config(三个字段由插件的 Config schema 声明):

键默认说明
entersendsend = 发送消息,newline = 换行
shiftEnternewlineShift+Enter 同上
ctrlEntersendCtrl+Enter(macOS ⌘)同上

该行的 config 块不能省:没有它这一行就没有设置条目,宿主无法读写偏好。config.enabled === false 时宿主直接返回,既不注册路由也不加设置行。