lzxcs/dsh-enter-swap0

dsh-enter-swap

交换 Web UI 编辑器快捷键:Ctrl/Meta+Enter 插入新行,Shift+Enter 发送消息。

AI 分析

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

套件
dsh-enter-swap
版本
1.0.0
授權
MIT
最近更新
2026年8月26日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 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 中的注入块。