Witherwithwinter/DSH-Codinput ↗★ 0

dsh-codinput

DSH WebUI 插件:把聊天输入框变成代码编辑器一样的输入风格(CodeMirror 6 接管 conversation.composer.bar)。 适合希望在DSH WebUI中获得代码编辑器般输入体验的用户。

Package
dsh-codinput
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Sep 23, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Witherwithwinter/DSH-Codinput

方法 D:等价的手写配置

想在 profile 里锁版本、或要手工维护时,等价于方法 A 的是(~/.dsh/profiles/web/package.json):

{
  "dependencies": {
    "dsh-codinput": "^0.1.0"          // 本地开发用 "link:/abs/path/to/DSH-Codinput"
  },
  "dsh": {
    "profile": {
      "bundles": [
        "@deepseek-ai/dsh-base",
        "@deepseek-ai/dsh-web-app",
        "dsh-codinput"                // ← 追加在最后
      ],
      "patchReload": "live"           // 改完 lib/client.js 强刷页面即生效
    }
  }
}

改完手工配置后,在 profile 目录里 pnpm install(或 dsh plugin --profile web install),再 dsh web。