dsh-plugin-updater

DSH PLUGIN开发与运行时

仓库 Gorkaseto/dsh-plugin-updater

开发与运行时 L5 · 运行验证通过 安全审查:低风险 可信度:金 可安装插件
安装这个插件

dsh-plugin-updater 是 Gorkaseto 维护的 开发与运行时 类 DSH 可安装插件, 仓库为 Gorkaseto/dsh-plugin-updater,许可证 Apache-2.0。 下面按「装什么、怎么装、验没验过、跑起来要注意什么」逐项列出。

一句话选型结论

按资料字段整理

dsh-plugin-updater 是开发与运行时类的 DSH 可安装插件,验证等级 L5 · 运行验证通过,安全审查为低风险,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类开发与运行时 收录类型可安装插件 验证等级L5 · 运行验证通过 安全审查低风险
验证等级 L5 L5 · 运行验证通过
GitHub 星标 0 复刻 未标注 · 未关闭 issue 未标注
最近更新 2026-10-25 创建于 未标注
README 7.0 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:Gorkaseto/dsh-plugin-updater#1.0.1
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

开发与运行时
字段来自项目仓库与公开索引,中文说明由本站标注

适用场景

GitHub 集成

验证等级与安全审查

L5 · 运行验证通过
自动化流程结论,不是人工审核
验证等级L5 · 运行验证通过在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度金综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L5:安装和运行都在沙盒里跑通过,装完能直接用的概率高。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在开发与运行时场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-plugin-updater当前 L5 · 运行验证通过 低风险 0 未标注 有
deepseek-harness L3 · 安装规范通过 低风险 24.6 万 未标注 无
rea L4 · 沙盒安装通过 低风险 2.6 万 0.1.1-rc.2 有
dsh-TUI L4 · 沙盒安装通过 中风险 4,292 0.1.7-rc.2 等 5 个 有
mirage L3 · 安装规范通过 低风险 3,681 未标注 无
dashi-taskboard L4 · 沙盒安装通过 低风险 3,311 0.1.1-rc.2 有

仓库档案

开发与运行时
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方Gorkaseto仓库 dsh-plugin-updater · 默认分支 未标注
分类开发与运行时dev
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言未标注仓库主语言
许可证Apache-2.0商用或二次分发前请确认条款原文
星标 / 复刻 / issue0 / 未标注 / 未标注收录时的数值,非实时
创建 / 更新未标注 · 2026-10-25最后推送 未标注
本站收录2026-10-30首次进入本站目录的时间

README 全文

7.0 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-plugin-updater

A plugin updater for DSH. It finds the plugins in your profile that were
installed from GitHub, compares each one's installed version with the
version in package.json on the latest commit of its repository's main
branch, and updates them — one at a time or all at once.

Everything lives inside dsh's own Plugins page (the sidebar's Plugins
panel), in its existing Installed plugins section. There is no extra tab.

  • Under the "Installed plugins" heading:
  • Check for updates re-runs the check; the time of the last check is
    shown beside it.
  • Update all (N) updates every plugin with an update available, one
    after another. A failure doesn't stop the others.
  • Lines for a check error, the restart notice, and the empty or
    unsupported state.
  • After an update (single or Update all), a snackbar at the bottom of the
    window reports how many were updated and how many failed, then hides after
    a few seconds.
  • On each GitHub plugin's card that has something to say:
  • an Update available · x.y.z tag (or updating, update failed,
    update check failed) and pinned to … when installed with #ref;
  • an Update button just before its on/off switch;
  • the reason under the card when a check or an update failed.

Up-to-date and non-GitHub cards are left exactly as dsh draws them.
- On an outdated plugin's own page: an Update available · x.y.z badge
beside its title and an Update button among its head actions.
- At startup a check runs once in the background. When it finds updates,
a toast says how many; View opens the Plugins page and scrolls to
Installed plugins. The toast hides by itself after 3 seconds; a thin bar
along its bottom shrinks from right to left as the time runs out.

How it works

  • Which plugins. Bundles whose install source is a GitHub repository:
    github:owner/repo, git+https://github.com/owner/repo(.git),
    https://github.com/owner/repo, git+ssh://git@github.com/… or
    git@github.com:owner/repo, each with or without #ref. Registry, local
    (link: / file:), tarball and other git hosts are ignored.
  • Which version. It asks api.github.com for the head commit of main,
    then reads package.json at that exact commit from
    raw.githubusercontent.com. Versions are compared with SemVer precedence;
    only a strictly greater main version counts as an update.
  • Updating. dsh's plugin manager has no update action, so the updater
    does what its UI does: remove the bundle, then install
    github:owner/repo#main with the same enabled/disabled state. If the
    install fails, the previous commit (from pnpm-lock.yaml) is reinstalled.
    When dsh says the change needs a restart, a notice under the Installed plugins heading says so.
  • Pinned plugins. A plugin installed with #tag, #branch or #commit
    is still compared with main. Updating it asks first, because it then
    tracks main. The question is an in-app dialog built from dsh's own
    Modal and Button (@deepseek-ai/dsh-client-ui-primitives), with
    Cancel and Update; only a dsh that does not share those falls back
    to the browser's confirm.
  • Updating the updater itself. When the updater is installed from GitHub
    and main is newer, its card and its page show Update Plugin Updater:
    an outline button with a refresh icon, unlike the solid Update of other
    plugins. It always asks first, pinned or not, and Update all never
    includes it.
  • It never uninstalls itself (removing a bundle stops it first). It runs
    pnpm add github:owner/repo#main in place through dsh's
    runPluginCommand, under the same profile lock as the plugin manager.
  • If that fails, package.json and pnpm-lock.yaml are put back and the
    current version keeps running.
  • On success it writes /storages/plugin-updater/self-update.json
    and asks dsh to load the new version live. When dsh can't, the Installed
    plugins heading says to restart dsh.
  • The new version shows Plugin Updater updated to x.y.z once.

Configuration

cordis.patch.yml takes one optional key:

Key Meaning
githubToken Token sent as Authorization: Bearer … to api.github.com only. Raises the 60 requests/hour unauthenticated limit.
- insert:
- id: plugin-updater
name: 'dsh-plugin-updater'
config:
githubToken: !!js process.env.GITHUB_TOKEN

Install

Needs dsh 0.2 or later (the pluginManager service and the native
Plugins page). Tested with 0.2.1-rc.2.

The desktop profile is managed by the Electron app: add the plugin from the
app's plugin manager as a local folder (a link: dependency, like the other
@local/* bundles). For a web profile:

dsh plugin --profile web add link:../dsh-plugin-updater

Caveats

  • Public GitHub repos and main only. Private repos, repositories whose
    branch is not main (e.g. master) and subfolder installs (#path:)
    show as unknown.
  • Rate limit. Without a token, GitHub allows 60 API requests per hour.
    When it is hit, the updater falls back to raw…/main/package.json (which
    the CDN can serve a few minutes stale) and shows no SHA.
  • Blocked build scripts. pnpm 10+ blocks a git dependency's prepare
    script until it is allowed in pnpm-workspace.yaml (allowBuilds). Such
    an update fails with the plugin manager's message; the updater never
    approves builds for you.
  • Version-based. New commits that don't bump version aren't reported.
  • Self-update relies on dsh internals. It loads runPluginCommand from
    @deepseek-ai/dsh-plugin-manager/operations out of dsh's installation
    (profileContext.installAnchor). On a dsh without it, the updater's card
    keeps the "uninstall and reinstall it" hint instead of the button.
  • Fragile Installed-section hook. The Installed plugins section and its
    cards have no extension seat. A shell.overlay entry watches the page and
    mounts its controls next to section[data-plugin-group="bundles"] and
    li[data-plugin-package] (selectors in SEL in client.js). A harness
    update that changes that markup may need a matching tweak; until then the
    card controls just don't appear, and the detail-page badge and button
    (official seats) keep working.

Structure

  • index.js — the Host half. It provides the pluginupdater service with
    status, check, update, updateAll and selfUpdate, runs the startup
    check, announces a finished self-update, and serializes updates (one at a
    time).
  • client.js — the Client module: the Installed-section hook and the startup
    toast (both shell.overlay), the plugins.detail.badge and
    plugins.detail.actions entries, and the plugin-updater locale namespace
    (en / es).
  • cordis.patch.yml — inserts the plugin-updater plugin row.
  • locale/ — the en / zh metadata strings.
  • icon.svg — the plugin icon.
  • test/ — node --test suites (npm test).

License

Copyright 2026 gorkaseto. Licensed under the
Apache License, Version 2.0; see NOTICE.

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
dsh-plugin-updater 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:Gorkaseto/dsh-plugin-updater#1.0.1` 即可。

dsh-plugin-updater 的验证等级是什么意思?

L5 · 运行验证通过。在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来

dsh-plugin-updater 安全吗?

低风险。

dsh-plugin-updater 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-plugin-updater 用的是什么许可证?

上游标注为 Apache-2.0。商用或二次分发前请到仓库确认许可证原文。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

同名或近似条目

5 条
不同作者的仓库分开列,请确认你要装的是哪一个
开发与运行时
按星标排序,可作替代方案

rea

rea

L4 · 沙盒安装通过 2.6 万 星

dsh-TUI

dsh-TUI

Claude Code 风格全屏终端 UI:像素鲸鱼顶栏、实时工作状态行、思考流式展开。

L4 · 沙盒安装通过 4,292 星

mirage

mirage

把文件系统与 bash 提供者换成 mirage 虚拟工作区:文件工具与 shell 命令作用于挂载的资源(RAM、S3、Redis、Sla

L3 · 安装规范通过 3,681 星

dashi-taskboard

dashi-taskboard

把当前已安装并运行中的 Codex Taskboard 嵌入 DeepSeek Harness 侧边栏,并通过 Launcher 运行时描述

L4 · 沙盒安装通过 3,311 星

Gorkaseto 的其它插件

4 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。