dsh-plugin
DayuanJiang/next-ai-draw-iodsh 的 draw.io 绘图插件:通过 next-ai-drawio MCP 服务器作图,点回复里的链接在右侧栏打开实时预览,可以手动修改图,AI 的每次修改都是可以恢复的版本。需 Node.js 18+,首次使用由 npx 下载 MCP 服务器。
侧边栏按钮:启动时自动检查DSH更新并显示红点提示,支持忽略特定版本、预览更新日志,带实时下载进度、国内镜像加速和下载安全校验。
A DSH web plugin: a sidebar button (icon only) that checks whether DSH has a newer release and, when one exists, auto-downloads the installer and opens it - with a live progress bar and a minimizable panel.
dsh plugin --profile web add github:m1452700576/dsh-app-updater
# Clone the repository
git clone https://github.com/m1452700576/dsh-app-updater.git
cd dsh-app-updater
# Install in your DSH profile
dsh plugin --profile web add link:$PWD
cp -r . ~/.dsh/profiles/web/node_modules/@local/dsh-app-updater
{
"dependencies": {
"@local/dsh-app-updater": "link:./dsh-app-updater"
},
"dsh": {
"profile": {
"bundles": ["@local/dsh-app-updater"]
}
}
}
Configure in cordis.patch.yml:
- insert:
- id: dsh-app-updater
name: '@local/dsh-app-updater'
config:
sourceType: github
githubRepo: m1452700576/dsh-app-updater
downloadsDir: ''
| Option | Type | Default | Description |
|---|---|---|---|
sourceType | string | github | Update source type (github or npm) |
githubRepo | string | steven-kid/deepseek-harness-desktop | GitHub repository to check for updates |
downloadsDir | string | ~/Downloads | Directory to save downloaded installers |
mirrors | array | [] | GitHub mirror URLs for faster downloads in China |
GET /api/dsh-update/status - Check current version and available updatesPOST /api/dsh-update/download - Download the latest updateGET /api/dsh-update/progress - Get download progress# Clone the repository
git clone https://github.com/m1452700576/dsh-app-updater.git
cd dsh-app-updater
# Install dependencies (none currently)
npm install
# Test the plugin locally
dsh plugin --profile web add link:$PWD
Apache-2.0