Repository navigation
发现页自定义索引源:条目显示「有新版本」但没有更新动作,第三方插件无法从索引源升级 #10869
huangbaba1992
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
概述
「插件 → 发现」能正确把自定义索引源条目的新版判定为
update-available(卡片按钮文案「有新版本」),但点击只是跳到「已安装」标签页,没有执行升级的入口;「已安装」页对第三方组合包也没有版本选择器。结果是:告诉你该更新,却无路可走。环境
dsh --version→0.2.1-rc.3)desktop,plugin-market已启用(@deepseek-ai/dsh-experimental-plugin-market-bundle)https://cdn.jsdelivr.net/npm/dsh-plugin-catalog/index.json(format 1,实测 200,3382 条)复现
实际表现
onClick固定跳转「已安装」(dsh-client-ui-plugin-market/lib/client.js:t(status === "update-available" ? "statusUpdate" : ...),onClick: onOpenInstalled)dsh-plugin-marketREADME:「不支持升级——索引版本更新的已安装组合包报告为update-available;升级仍需先卸载再安装。」dsh-client-ui-plugin-marketREADME:「没有升级操作——可用更新只显示为状态。」期望行为
希望给这个状态一个真正的动作,和官方按需卡片的「更新」对齐:
update-available时提供「更新」,按索引条目声明的精确 spec 和 registry 执行 卸载 → 安装(pluginManager.installBundle已经是这条路径:官方插件更新就是先删后装)restart-required/restartReason影响
任何靠自定义索引源分发、并持续发版的第三方插件,都无法在 UI 内升级;用户只能手抄版本号卸载重装,容易装错版本。
dshmarket插件自带的插件市场面板可以更新,但那是插件自建的 UI,内置发现页这一侧仍然无解。English summary
On 0.2.1-rc.3, a bundle installed from a custom Discover index source is correctly reported as
update-available, but the card button only navigates to the Installed tab and there is no upgrade action; the Installed tab has no version selector for third-party bundles either. Upgrading therefore means manually uninstalling and reinstalling. Please add an update action that reuses the exact spec and registry declared by the index entry (uninstall → install), matching the existing "更新" affordance already provided for official on-demand cards.All reactions