DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

yuanxiaoye0516 /

yuanxiaoye0516/dsh-plugins

Topic repository only

DeepSeek Harness (DSH) plugins: 8 npm-published plugins - thinking expand, workspace groups, title edit, preview gallery, session open, context compact, screenshot insert, script launcher.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHubProject homepage
READMESource: main@9f5adc89

dsh-plugins

一组面向 DeepSeek Harness(下称 DSH)的插件,每个子目录是一个独立 npm 包,可单独安装、单独发布。

A collection of plugins for DeepSeek Harness (DSH). Each subdirectory is a standalone npm package (dsh-*), installable on its own.

插件列表

包 一句话 类型 状态
dsh-thinking-expand 对话里的「思考」块默认全部展开,不用逐个点 Web(纯前端) 1.0.1
dsh-workspace-groups 侧栏工作区收进可折叠分组文件夹,侧栏立刻变干净 Web(纯前端) 1.0.1
dsh-session-title-edit 标题栏加一支铅笔改会话标题,并给 agent 一个 rename_session 工具 Web + Host 1.0.1
dsh-preview-gallery 会话文件小图总览、多选对比,右侧栏一键关全部预览 Web(纯前端) 1.0.1
dsh-session-open 让 agent 或本地脚本自己开新会话(new_session 工具 + HTTP 路由) Host 1.0.1
dsh-context-compact 上下文占比超阈值时自动压缩,带冷却与每日上限(默认只审计) Host 1.0.1
dsh-screenshot-insert 输入框旁一个相机按钮,把本机最新截图作为草稿附件插进当前会话 Web + Host 1.0.1
dsh-script-launcher 扫描本机 .bat/.cmd/.ps1,侧栏点一下就跑,实时输出 Web + Host 1.0.1

已发布到 npm(1.0.1):dsh-thinking-expand · dsh-workspace-groups · dsh-session-title-edit · dsh-preview-gallery · dsh-session-open · dsh-context-compact · dsh-screenshot-insert · dsh-script-launcher

安装

三种方式任选:

1)插件市场(推荐)

DSH 插件页 → 市场/发现 → 搜索包名(例如 dsh-thinking-expand)→ 安装 → 重启 DSH;带 Web 半的插件需要再刷新页面(Ctrl+R)。

2)按包名从 npm 安装

dsh plugin --profile desktop add dsh-thinking-expand

3)本地源码 link:(开发/自用)

把插件目录加进 profile 的 dependencies("dsh-thinking-expand": "link:<插件目录>"),并把包名加进同文件的 dsh.profile.bundles,在 profile 目录 pnpm install,然后重启 DSH。每个包的 README 里都有这一节的详细步骤。

卸载:dsh plugin --profile desktop remove <包名>,或删掉 profile 里的依赖与 bundles 条目后重启。

仓库结构

dsh-plugins/
├── README.md              ← 你在这里
├── LICENSE                ← MIT
├── publish.ps1            ← 一键校验 + 发布脚本
├── publish.cmd            ← 同上的包装:绕过 PowerShell 执行策略(推荐直接跑这个)
└── dsh-<name>/            ← 一个包一个目录
    ├── package.json
    ├── index.js           ← Host 半
    ├── client.js          ← Web 半(有的包没有)
    ├── cordis.patch.yml   ← bundle patch(id 固定,name = 包名)
    ├── locale/{zh,en}.json
    ├── icon.svg
    ├── test/              ← 只在仓库里,不进 npm 包
    ├── README.md
    └── LICENSE

开发与自检

每个包都可以单独检查:

node --check index.js
node --check client.js
node test/<该包的测试>.mjs
npm pack --dry-run

根目录的 publish.cmd(Windows 上的包装,参数和 publish.ps1 完全一样)会把这些检查串起来:

.\publish.cmd -All -DryRun     # 只校验,不发布
.\publish.cmd -Plugin dsh-thinking-expand
.\publish.cmd -All             # 全部发布

直接 .\publish.ps1 如果报「无法加载文件…未对文件进行数字签名」(Windows 默认执行策略 Restricted),用 publish.cmd 就行;它只在这一次运行里用 -ExecutionPolicy Bypass,不改系统设置。

发布

发布流程(npm 注册/登录 → 校验发布 → GitHub 建仓库首次推送 → 插件市场收录 → 版本更新与回滚)写在仓库作者本地的 publish/PUBLISH-GUIDE.md 里,不随本仓库公开(里面含发布者的个人步骤与账号信息)。

兼容性

  • Node.js 20+(engines.node)。
  • 各插件在 DSH 0.2.1 线开发与实测;client.js 依赖 DSH 前端的 DOM / slot 契约,DSH 大版本升级后若前端标记变化,Web 半可能安静失效(不报错、不弄坏页面)。每个包的 README 都写了自己的限制。
  • 所有插件都不联网、不收集数据;运行数据只落在本机(日志/审计文件路径见各包 README)。

许可证

MIT © 2026 zimengyuan

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout
—/ 5

No ratings yet

Manifest verification required

Commit 9f5adc89bcf2

Community comments

No comments yet. Be the first to write one.