lzxcs/dsh-enter-swap0

dsh-enter-swap

Swap the web UI composer shortcuts: Ctrl/Meta+Enter inserts a newline, Shift+Enter sends.

AI 分析

核心用途是交换 Web 界面输入框的发送与换行快捷键。适合习惯使用 Shift+Enter 发送、Ctrl+Enter 换行的用户,改善输入习惯。

パッケージ
dsh-enter-swap
バージョン
1.0.0
ライセンス
MIT
最終更新
2026/08/26

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

README 全文を読む ↗

dsh-enter-swap

Swap the web UI composer shortcuts: Ctrl/Meta+Enter inserts a newline, Shift+Enter sends.

安装(Install)

需要 DSH(DeepSeek Harness)与 web profile(dsh web):

# 1. 安装插件(pnpm git 依赖)
dsh plugin --profile web add github:lzxcs/dsh-enter-swap
# 2. 在 ~/.dsh/profiles/web/cordis.patch.yml 末尾追加注入块:
- insert:
    - id: dsh-enter-swap
      name: 'dsh-enter-swap'
# 3. 重启 DSH Web(托盘菜单 → DSH Web 重启),浏览器 Ctrl+F5 刷新页面

卸载:dsh plugin --profile web remove dsh-enter-swap,并删掉 cordis.patch.yml 中的注入块。