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.
同名套件的其他儲存庫
安裝
$
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說明文件
閱讀完整 README ↗使用
设置窗口 →「通用」里新增的那一行就是「按键设置」,改完立即生效。
也可以手改 profile 的 cordis.patch.yml 里 id: composer-keys 这一行的配置:宿主半边在页面窗口
重新获得焦点时重读,所以切回 Harness 窗口即生效,不用刷新页面。
配置
cordis.patch.yml 里 id: composer-keys 这一行的 config(三个字段由插件的 Config schema 声明):
| 键 | 默认 | 说明 |
|---|---|---|
enter | send | send = 发送消息,newline = 换行 |
shiftEnter | newline | Shift+Enter 同上 |
ctrlEnter | send | Ctrl+Enter(macOS ⌘)同上 |
该行的 config 块不能省:没有它这一行就没有设置条目,宿主无法读写偏好。config.enabled === false
时宿主直接返回,既不注册路由也不加设置行。