Sidebar panel that inventories your self-built DSH plugins and checks each one against three channels - GitHub repo, plugin market, npm - showing per-channel status and the next action to take. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Install
# from a prebuilt release tarball
dsh plugin --profile web add -w "https://github.com/Refreshing-CZQ/dsh-my-plugins/releases/download/v1.1.0/dsh-my-plugins-1.1.0.tgz"
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Refreshing-CZQ/dsh-my-plugins
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
一个侧栏面板插件:把自己在本地建的 DSH 插件,以及从插件商城装回来的自己的插件,按「GitHub / 插件商城 / npm」三条通道核对一遍发布状态,一眼看出还差哪一步。
一、它解决什么
自建插件多了以后,「哪个发过 GitHub、哪个上过商城、哪个只是本机在跑」全靠记忆。这个面板每次打开都重新扫一遍磁盘和三个平台,给出每个插件的通道状态和下一步动作;本机没装、又没有任何对外通道的插件归到「回收站」,不再占主列表。
面板位置:侧栏图标(清单 + 勾),主区为全屏面板,标题「我的插件 / My Plugins」。
二、数据口径
| 通道 | 判定依据 | 说明 |
|---|---|---|
| GitHub | 本地 .git/config 里的 remote;没有 remote 时按账号名探测 github.com/<账号>/<包名> |
owner 必须命中作者别名;仓库属于别人时标「不是你的账号」 |
| 插件商城 | awesome-dsh-plugin.com/plugins.json 注册表条目的 owner |
owner 命中别名 = 已上架;同名被他人占用单列「名字被占」 |
| npm | registry.npmjs.org/<包名> 的 repository / author / maintainers |
命中别名 = 自己发布的;包存在但归属他人 = 「名字被占」 |
三个数据源各有一份缓存,默认 6 小时过期,刷新在后台跑,不阻塞首屏。
回收站判定:本机没装 + GitHub、商城、npm 三条通道全空 → 按废弃处理。只按「没装」判废不够稳:换一台机器打开面板时所有插件都没装,那不算废弃。
三、配置
插件在 cordis.patch.yml 里注册,配置项都在这里改:
config:
authorAliases: # 用来认领 GitHub owner / 商城 owner / npm maintainer
- Refreshing-CZQ
- 木羽之风
- zching_chen_
githubAccounts: # 只在这个列表里的账号才用于仓库探测
- Refreshing-CZQ
excludeKeys: # 不扫描的包名(自身等)
- dsh-my-plugins
cacheHours: 6
# roots: # 覆盖默认扫描根目录
# - C:\Users\MI\Documents\DSH Plugins
默认扫描根目录:~/Documents/DSH Plugins 与 ~/Documents/AI提效项目,递归 3 层,跳过 node_modules、dist、_ 开头与 . 开头的目录。
四、目录结构
dsh-my-plugins/
index.js Host 半边:扫盘、抓三个数据源、挂 /my-plugins 路由
client.js 浏览器半边:侧栏图标 + 面板 UI
cordis.patch.yml 插件注册与配置
config.local.json 本地配置(每次请求都读,改完点刷新即生效)
locale/zh.json 面板标题与描述
locale/en.json
icon.svg 侧栏图标
.verify/ 本地干跑与截图脚本(不随包发布)
路由:GET /my-plugins/scan.json(?force=1 强制刷新缓存)、POST|GET /my-plugins/refresh.json。
五、改完代码怎么生效
| 改了什么 | 生效方式 |
|---|---|
扫描 / 判定 / 快照逻辑(index.js 里的数据函数) |
点面板右上角「重新扫描」或重新打开面板。Host 按文件 mtime 自动重新 import 一次,不用重启 DSH |
| 作者别名、扫描范围、排除名单 | 改包内 config.local.json,点刷新即生效(该文件每次请求都会读) |
路由、发布流程、inject 声明 |
属于插件注册层,热载不覆盖,需要重载插件或重启 DSH |
热载失败(新代码有语法错)时保留上一次成功的版本,面板不会白屏。
六、本地干跑
node .verify\test-scan.mjs # 只扫本地,不联网
node .verify\test-scan.mjs --live # 真抓 GitHub / 商城 / npm 再算一遍
Backup
- 商城注册表:https://awesome-dsh-plugin.com/plugins.json
- 上架方式:向 https://github.com/awesome-dsh-plugin/awesome-dsh-plugin 提 PR,在
data/plugins/下加一个条目 YAML - 缓存文件:
%USERPROFILE%\.dsh\profiles\desktop\my-plugins\(market-cache.json、npm-cache.json、github-cache.json) - 待补:面板还没有「一键复制待办清单」入口;回收站目前只标记不提供删除动作
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10703
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10703
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8557
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7523
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5405
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1091
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.