侧边栏按钮:启动时自动检查DSH更新并显示红点提示,支持忽略特定版本、预览更新日志,带实时下载进度、国内镜像加速和下载安全校验。
安装
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:m1452700576/dsh-app-updater
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
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.
Features
- Sidebar icon-only button (tooltip "Check DSH update"), red dot when new version found.
- Probes known desktop-packaging repos (or your own githubRepo) for a newer release that ships a macOS installer (.dmg/.pkg/.zip).
- Auto-downloads the installer to ~/Downloads (or downloadsDir) and runs open.
- Live download progress (streaming bytes + percent), indeterminate bar when unknown.
- Panel can be minimized to a floating bubble while downloading.
- Supports multiple update sources (GitHub, npm).
- Security checks: confirm before download, private IP blocking, SHA-256 checksum.
- GitHub mirror support for fast downloads in mainland China.
Installation
Method 1: Direct Install (Recommended)
dsh plugin --profile web add github:m1452700576/dsh-app-updater
Method 2: Local Development
# 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
Method 3: Manual Installation
- Clone or download this repository
- Copy the folder to your DSH profile:
cp -r . ~/.dsh/profiles/web/node_modules/@local/dsh-app-updater - Add to your profile's package.json:
{ "dependencies": { "@local/dsh-app-updater": "link:./dsh-app-updater" }, "dsh": { "profile": { "bundles": ["@local/dsh-app-updater"] } } } - Restart DSH completely
Configuration
Configure in cordis.patch.yml:
- insert:
- id: dsh-app-updater
name: '@local/dsh-app-updater'
config:
sourceType: github
githubRepo: m1452700576/dsh-app-updater
downloadsDir: ''
Configuration Options
| 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 |
Usage
- After installation, look for the update icon in the DSH sidebar
- Click the icon to check for updates
- If an update is available, click "Download" to start the download
- The download progress will be shown in real-time
- Once downloaded, the installer will open automatically
API Routes (Loopback Only)
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
Troubleshooting
Plugin not appearing
- Ensure DSH is completely restarted after installation
- Check that the plugin is listed in your profile's package.json
Update check fails
- Verify your internet connection
- Check if the GitHub repository is accessible
- Try using a mirror if you're in mainland China
Download fails
- Ensure you have enough disk space
- Check if the download directory is writable
- Verify the installer URL is accessible
Development
# 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
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
License
Apache-2.0
Support
- GitHub Issues: https://github.com/m1452700576/dsh-app-updater/issues
- Documentation: This README
链接
同类插件
Tencent/WeKnora#dsh-weknora★ 34236
把 WeKnora 知识库接入 dsh 的四个只读工具:列出知识库、混合检索原文片段、按顺序还原单篇文档,以及直接取用 WeKnora 自己带引用的 RAG 或 ReAct agent 回答(含可续聊的 session id)。
superdesigndev/treg★ 5325
给 Agent 的工具目录:按「要做的事」检索约 2,600 个外部接口(SEO 与 SERP、外链、社交、人物与公司信息补全、广告库、抓取),查看参数与单次调用价格后直接调用,凭据由服务端注入。附带技能,MCP 行在未设置 TREG_TOKEN 前保持禁用。
TencentCloudBase/CloudBase-AI-Toolkit#dsh-plugin★ 1137
把腾讯云 CloudBase 后端接入 DeepSeek Harness——在对话里搭好并部署全栈应用,查询结果渲染为表格卡片(分页、排序、导出 CSV),部署后可预览真实域名,并提供 CloudBase MCP 工具集(`mcp__cloudbase__*`),登录走 device-code 流程。
gitroomhq/postiz-agent#dsh-postiz★ 518
通过 MCP 将 DeepSeek Harness 连接到 Postiz:列出已连接的社交媒体渠道、获取各平台发帖规则,并向 X、LinkedIn、Instagram、Facebook、Threads、TikTok、YouTube、Reddit、Bluesky、Mastodon、Discord、Slack、Telegram 等平台排期、存草稿或发布帖子;附带 postiz 工作流技能。
EthanYoQ/Invoice-Downloader#dsh-invoice-downloader★ 508
面向 DeepSeek Harness 的本地 IMAP 发票下载、OCR 识别、归档与 Excel 报销汇总。
anysearch-team/anysearch-dsh★ 490
基于 AnySearch 的实时网页与垂直搜索插件,为 DeepSeek Harness 提供搜索工具。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。