dsh-newbe-plugins
个人使用 DSH 的增强插件,包括收藏功能、输入锁和会话工具收纳等功能
- Stars
- 0
- Language
- JavaScript
- Created
- Sep 3, 2026
- Updated
- Sep 4, 2026
Introduction
dsh-newbe-plugins
newbe 品牌的 DeepSeek Harness (DSH) Web 插件合集,pnpm workspace monorepo。每个插件位于 packages/<name>/,可独立安装。
插件列表
| 插件 | 目录 | 说明 | 版本 |
|---|---|---|---|
| dsh-newbe-response-window | packages/dsh-newbe-response-window | 每轮响应窗口:把 think/工具调用收进有限高度的可滚动 slide,文字回复原生展示;流式 think 支持出盒/盒内/关闭三模式 | 0.3.0 |
| dsh-newbe-input-enhancer | packages/dsh-newbe-input-enhancer | 增强输入框:Enter 锁定防误发、三击发送、字数统计、长文本提醒、草稿交换 | 1.1.0 |
| dsh-newbe-my-favorites | packages/dsh-newbe-my-favorites | 会话与网址的本机快捷收藏(标题栏星标 + 侧栏收藏入口 + 快捷切换) | 0.5.4 |
安装
每个插件从 monorepo 的对应子目录独立安装(#path: 语法):
# response-window(Git 子目录)
dsh plugin --profile web add github:qiqiangvae/dsh-newbe-plugins#path:packages/dsh-newbe-response-window
# response-window(npm)
dsh plugin --profile web add dsh-newbe-response-window
# input-enhancer(Git 子目录)
dsh plugin --profile web add github:qiqiangvae/dsh-newbe-plugins#path:packages/dsh-newbe-input-enhancer
# input-enhancer(npm)
dsh plugin --profile web add dsh-newbe-input-enhancer
# my-favorites(Git 子目录)
dsh plugin --profile web add github:qiqiangvae/dsh-newbe-plugins#path:packages/dsh-newbe-my-favorites
# my-favorites(npm)
dsh plugin --profile web add dsh-newbe-my-favorites
锁定 commit(&path: 同时锁定子目录):
dsh plugin --profile web add 'github:qiqiangvae/dsh-newbe-plugins#<commit-sha>&path:packages/dsh-newbe-response-window'
迁移
本仓库由独立插件仓库重组而来:
dsh-newbe-response-window:原装在仓库根(github:qiqiangvae/dsh-newbe-plugins),现迁到子目录。插件名不变,remove后用上方新地址重装。dsh-newbe-input-enhancer:由独立仓库qiqiangvae/dsh-input-enhancer(npm 包dsh-input-enhancer)迁入并改名。先dsh plugin --profile web remove dsh-input-enhancer,再add dsh-newbe-input-enhancer。dsh-newbe-my-favorites:由独立仓库qiqiangvae/dsh-my-favorites(npm 包dsh-my-favorites)迁入并改名。先dsh plugin --profile web remove dsh-my-favorites,再add dsh-newbe-my-favorites;历史收藏数据首次启动时自动迁移到新存储文件名。
开发
pnpm install # 安装 workspace 依赖
pnpm -r run check # 每个插件的结构/语法检查
pnpm -r run test # 每个插件的单元测试
pnpm -r run build # 需要构建的插件(如 input-enhancer 的 src → lib)
dsh-newbe-response-window:纯 JS,无构建,lib/直接提交;E2E 用python3 packages/dsh-newbe-response-window/test/e2e.py(需已启动的dsh web)。dsh-newbe-input-enhancer:src/为源码,lib/为提交的预构建产物(node scripts/build.mjs生成)。dsh-newbe-my-favorites:TypeScript + esbuild,src/为源码,lib/为提交的预构建产物(node build.mjs生成;pnpm -r run typecheck做类型检查)。