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. 适合需要根据个人输入习惯调整Enter和Ctrl+Enter按键映射的用户。

パッケージ
dsh-keys-setting
互換性
未検証
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/09/22

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:itchenshi/dsh-ready-gui#a886d1165b9c44e9887ad9fd6a8993e23449a0c4&path:plugins/dsh-keys-setting

ドキュメント

README 全文を読む ↗

配置

偏好存在 $DSH_HOME/settings.yaml 的 composer-keys 段,可以直接手改:

composer-keys:
  enter: newline       # Enter 换行
  shiftEnter: newline  # Shift+Enter 换行(默认)
  ctrlEnter: send      # Ctrl+Enter 发送(默认)

手改文件后切回 Harness 窗口即生效(插件在窗口重新获焦时重读),无需刷新页面; 在设置窗口里改则立即生效。

插件行的开关(可选,写在 cordis.patch.yml 的行 config 里):

- insert:
    - id: composer-keys        # 行 id 与包名解耦,刻意保持不变(见下)
      name: dsh-keys-setting
      config:
        enabled: true    # false 时完全不加载(既不注册路由也不加设置行)