- Accueil
- Plugins
- Outils et capacités
- youxia-dsh-plugins (dsh-agents-cli)
youxia-dsh-plugins (dsh-agents-cli)
fujingzhai/youxia-dsh-plugins/dsh-agents-cli
Exécute des agents CLI locaux (Claude Code, Codex, Antigravity et Pi, détectés par défaut) dans des panneaux DSH via subprocess.spawnTerminal officiel avec xterm.js intégré. Noms, commandes, couleurs et ordre configurables. Nécessite DSH 0.2.2-rc.1+. Les CLI doivent être installés et tournent avec les droits de l’utilisateur.
Installer
dsh plugin --profile web add github:fujingzhai/youxia-dsh-pluginsCe plugin se trouve dans le sous-répertoire dsh-agents-cli du dépôt.
README
youxia-dsh-plugins
自用并持续维护的 DeepSeek Harness(DSH)插件合集。各插件独立安装、独立更新。
| 插件 | 当前版本 | 作用 |
|---|---|---|
| dsh-pi-mode | 0.3.5 | 同包提供 Pi 模式、Pi-IM 与启用官方 apply_patch 的 Pi+模式;三者共用精简核心 |
| dsh-session-fee | 0.4.5 | 在统计条显示会话(含子代理)按市面 token 价折算的费用 |
| dsh-session-labels | 0.1.4 | Finder 风格会话标签:悬浮按钮与右键打标、标题着色或标签符号、视图筛选 |
| dsh-settings-customizer | 0.3.2 | 用个人配置覆盖设置导航的顺序、名称、图标;公共默认为空 |
| dsh-speed-pair | 0.1.0 | 输出速度改双口径 X(Y) tok/s:括号外是首字后的解码速度,括号内是含首字延迟的整段速度 |
| dsh-zh-slash | 0.1.1 | 用「、」唤出原生 / 命令菜单 |
| dsh-quick-chat | 0.1.4 | DSH 主面板里的 DeepSeek 官方网页:复用原生浏览器,登录跨重启恢复 |
| dsh-agents-cli | 0.1.5 | 在主面板使用本机 CLI Agents:持久终端、后台工作/完成提醒、可编辑入口 |
兼容要求与使用说明见各插件目录。
安装(推荐 npm,保留原生更新入口)
打开 插件 → 添加插件,按需填一个包名,不要填整个仓库首页:
dsh-pi-mode
dsh-session-fee
dsh-session-labels
dsh-settings-customizer
dsh-speed-pair
dsh-zh-slash
dsh-quick-chat
dsh-agents-cli
优先用包名从 npm 安装。 DSH 0.2.2-rc.1 已提供第三方 npm 插件的版本检查与确认更新;固定 Git 标签、压缩包和本地链接安装不显示这套更新入口。国内镜像可在安装源中选择,同步可能晚几分钟。
不要安装 npm 上的 dsh-session-cost,那是别人的包。本插件的目录、Git 地址和 npm 包名都是 dsh-session-fee。
命令行(各条独立、按需执行;Web 版将 desktop 换成 web):
dsh plugin --profile desktop add dsh-pi-mode
dsh plugin --profile desktop add dsh-session-fee
dsh plugin --profile desktop add dsh-session-labels
dsh plugin --profile desktop add dsh-settings-customizer
dsh plugin --profile desktop add dsh-speed-pair
dsh plugin --profile desktop add dsh-zh-slash
dsh plugin --profile desktop add dsh-quick-chat
dsh plugin --profile desktop add dsh-agents-cli
若终端找不到 dsh,macOS 官方桌面版可用带引号的完整路径 "/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" 替代命令名;其他平台使用自己的命令位置。
安装后按界面提示启用,必要时重启 DSH。Pi 模式需重启并新建会话;DeepSeek 网页插件会在左侧增加「DeepSeek」,首次需登录;CLI Agents 增加「Agents」,只启动点到的入口;其他插件的用法见各自说明。
检查更新与原地升级
适用于 DSH 0.2.2-rc.1 的第三方 npm 安装;更早或更晚版本的界面可能不同:
- 打开 插件,点击 刷新,检查已安装、可更新的插件;发现新版时卡片标记 可更新。
- 进入对应插件详情,版本 → 重新检查 可单独检查。打开详情也会检查一次;发现兼容新版后,页头出现 更新到 <版本>。
- 点击更新,核对目标版本与安装源并确认。不需要手动卸载重装;Host 负责替换包、保留启用选择,安装失败时保留或尝试恢复旧版本。恢复也可能失败,须查看结果,不能把它当作无条件回滚保证。
- 按结果决定是否重启;Pi 模式等启动时加载的预设仍需重启,新建会话验证。Agents 更新可能结束正在运行的终端,请先完成任务。
这是打开详情或刷新列表时检查,不是全局即时推送,不自动下载或升级。新版要求更高的 DSH 时会说明原因;网络失败或镜像尚未同步时可重新检查/换源,不会把“检查失败”当成“已是最新”。
个人配置、标签数据库与登录快照应留在 profile 或 DSH 数据目录中,不要改发布包内的文件;更新会替换包文件。更新前备份重要数据,勿删除这些目录。插件自己的 README 列出具体存储位置。
已用 Git 标签、压缩包或 link: 安装的,不会因此自动转成 npm。需要保留源码定制时继续按原方式维护;要迁移先备份配置与数据,再单独评估来源切换,不要为了找更新按钮先卸载插件。
其他安装方式(不提供原生 npm 版本检查)
固定 Git 标签
只在有意固定版本时使用,地址必须包含标签和子目录;各地址独立:
git+https://github.com/fujingzhai/youxia-dsh-plugins.git#dsh-pi-mode@0.3.5&path:/dsh-pi-mode
git+https://github.com/fujingzhai/youxia-dsh-plugins.git#dsh-session-fee@0.4.5&path:/dsh-session-fee
git+https://github.com/fujingzhai/youxia-dsh-plugins.git#dsh-session-labels@0.1.4&path:/dsh-session-labels
git+https://github.com/fujingzhai/youxia-dsh-plugins.git#dsh-settings-customizer@0.3.2&path:/dsh-settings-customizer
git+https://github.com/fujingzhai/youxia-dsh-plugins.git#dsh-speed-pair@0.1.0&path:/dsh-speed-pair
git+https://github.com/fujingzhai/youxia-dsh-plugins.git#dsh-zh-slash@0.1.1&path:/dsh-zh-slash
git+https://github.com/fujingzhai/youxia-dsh-plugins.git#dsh-quick-chat@0.1.4&path:/dsh-quick-chat
git+https://github.com/fujingzhai/youxia-dsh-plugins.git#dsh-agents-cli@0.1.5&path:/dsh-agents-cli
固定标签不会跟随 main;新版见 Releases。将标签换成 #main 只是滚动开发来源,不保证 DSH 自动刷新分支。
本地链接(开发/定制)
git clone https://github.com/fujingzhai/youxia-dsh-plugins.git
cd youxia-dsh-plugins
dsh plugin --profile desktop add "link:$PWD/dsh-pi-mode"
# 换成需要的插件子目录;不要安装合集根目录。
链接依赖本地目录,请勿移走或删除。更新前保存自己的改动,再 git pull --ff-only;有冲突先合并,不强制重置。
个人定制与公共默认值分开:Pi 的工具屏蔽名单写在自己 profile 的 pi-mode-settings;自定义价格表放在包外,用 priceBook 指过去;设置导航规则写在自己 profile 的 settings-customizer(各见对应 README)。
卸载
在插件详情卸载对应插件,或执行 dsh plugin --profile desktop remove <插件名>。卸载不同于更新,不要用卸载作为日常升级步骤。按界面提示刷新/重启;插件各自独立。
维护与反馈
- 变更记录 · 维护约定 · 问题反馈
- 各插件独立版本、独立标签:
<插件名>@<版本>。不会为新增插件或只改说明强制升级其他插件。 - 先在
dsh-settings-customizer中执行npm install --ignore-scripts --package-lock=false,再在根目录执行npm run check:校验已纳入 Git 的插件清单、原生更新条件、安装与更新说明、语法、测试及打包内容。未提交的本地开发目录不当作已发布插件。CI 在 Linux、macOS、Windows 运行 Node 24;不等于三个平台均做过完整 GUI 实测。 - 2026-11-09 在 macOS、DSH 0.2.2-rc.1、隔离 Web profile 从 npm 安装会话标签 0.1.3,原生检查发现 0.1.4,点击 更新到 0.1.4 并确认后成功热更新;测试标签的名称、颜色、ID 与会话关联全部保留,插件仍启用。其他七款仅核验 npm 清单与相同的更新资格,不宣称逐款完成 GUI 升级。
- 原生机制:DSH 0.2.2-rc.1 插件页说明。不重复内置更新器,不额外安装常驻更新服务。
- 报错请提供 DSH/系统/插件版本、安装来源及复现步骤;不要上传密钥、完整会话或私人配置。
许可
各插件随目录标注:多数为 MIT;dsh-quick-chat 是 JaMoLpE88/dsh-desktop-chat 的 fork,沿用 Apache-2.0 并保留 NOTICE。
Plugins associés
archify (deepseek-harness)
tt-a1i/archify
WeKnora (dsh-weknora)
tencent/weknora
next-ai-draw-io (dsh-plugin)
dayuanjiang/next-ai-draw-io
weknora
tencent/weknora