itchenshi/dsh-ready-gui--plugins-dsh-keys-setting ↗★ 3
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 'github:itchenshi/dsh-ready-gui#08a2b2243ff00efbf385ba7012dc521433032a0b&path:plugins/dsh-keys-setting'ドキュメント
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
时宿主直接返回,既不注册路由也不加设置行。