From 97551ceaafd2ecae7eb9f17b64aea1f40c9e44f4 Mon Sep 17 00:00:00 2001
From: ZiyaZhang <199893125+ZiyaZhang@users.noreply.github.com>
Date: Mon, 19 Oct 2026 02:33:13 -0700
Subject: [PATCH] style(plugins): place versions below included components
---
packages/client/ui-plugin-manager/README.i18n.yaml | 4 ++--
packages/client/ui-plugin-manager/README.md | 2 +-
packages/client/ui-plugin-manager/README.zh.md | 2 +-
.../ui-plugin-manager/src/client/PluginManagerPage.tsx | 6 +++---
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/packages/client/ui-plugin-manager/README.i18n.yaml b/packages/client/ui-plugin-manager/README.i18n.yaml
index d228f1decc..54f6dee564 100644
--- a/packages/client/ui-plugin-manager/README.i18n.yaml
+++ b/packages/client/ui-plugin-manager/README.i18n.yaml
@@ -21,8 +21,8 @@
en: fcb2e69c8b028c0a
zh: d505a075679974eb
/deepseek-ai-dsh-client-ui-plugin-manager/use-this-package/updating-a-registry-bundle:
- en: 84ac8826036255bf
- zh: 4a168d6911cbdf46
+ en: 9312d8b1b381378f
+ zh: 8d0ae7ad26ada2ac
/deepseek-ai-dsh-client-ui-plugin-manager/use-this-package/switching-a-bundle:
en: 59e12480cf0c3e70
zh: f230ea8c752475d5
diff --git a/packages/client/ui-plugin-manager/README.md b/packages/client/ui-plugin-manager/README.md
index d38da56f5c..05b9ecfa9d 100644
--- a/packages/client/ui-plugin-manager/README.md
+++ b/packages/client/ui-plugin-manager/README.md
@@ -62,7 +62,7 @@ When the Host attributes a network failure or timeout to a GitHub address and of
### Updating a registry bundle
-A third-party bundle installed from a registry, which the Host marks `updatable`, has a **Versions** section on its page above its rows. Opening the page asks the Host for [its newer versions](../../boot/plugin-manager/README.md#use-this-package) once; **Check again** asks again. The section shows one summary row: checking, up to date with the time of the last check, an update to the newest version that declares a bundle, accepts the running DSH, and is neither deprecated nor a prerelease, newer versions that need a DSH update with the DSH peers they need, or a failed check with the registry that failed last and **Retry**. A summary with newer versions unfolds into one row per version, newest first, with its dist-tags, prerelease and deprecated tags, why it cannot be installed, its publication date, and **Update** for an installable version; the installed version closes the list. Below it, the registry that answered is marked **Fallback** when an earlier registry failed, beside the time of the check and **Show prereleases**. A failed check unfolds through **Details** into every registry asked, its role, what it failed with, and pnpm's words. Bundles installed from a link, a path, git, or a tarball, and Official bundles, show no Versions section. Older versions are never offered.
+A third-party bundle installed from a registry, which the Host marks `updatable`, has a **Versions** section on its page below its rows. Opening the page asks the Host for [its newer versions](../../boot/plugin-manager/README.md#use-this-package) once; **Check again** asks again. The section shows one summary row: checking, up to date with the time of the last check, an update to the newest version that declares a bundle, accepts the running DSH, and is neither deprecated nor a prerelease, newer versions that need a DSH update with the DSH peers they need, or a failed check with the registry that failed last and **Retry**. A summary with newer versions unfolds into one row per version, newest first, with its dist-tags, prerelease and deprecated tags, why it cannot be installed, its publication date, and **Update** for an installable version; the installed version closes the list. Below it, the registry that answered is marked **Fallback** when an earlier registry failed, beside the time of the check and **Show prereleases**. A failed check unfolds through **Details** into every registry asked, its role, what it failed with, and pnpm's words. Bundles installed from a link, a path, git, or a tarball, and Official bundles, show no Versions section. Older versions are never offered.
After the checks, the list toolbar says how many plugins can be updated, that all are up to date, or that some checks failed, and cards with an update show **Update available**. The detail head adds **Update to** with the offered version.
diff --git a/packages/client/ui-plugin-manager/README.zh.md b/packages/client/ui-plugin-manager/README.zh.md
index d86d18a9d4..6f2ff4df72 100644
--- a/packages/client/ui-plugin-manager/README.zh.md
+++ b/packages/client/ui-plugin-manager/README.zh.md
@@ -62,7 +62,7 @@ Host 将网络失败或超时归因于 GitHub 地址,且提供 npmmirror 时
### 更新注册表组合包
-从注册表安装、Host 标为 `updatable` 的第三方组合包,在其页面的行列表上方有 **版本** 区块。打开页面时向 Host 询问一次[它的新版本](../../boot/plugin-manager/README.zh.md#use-this-package);**重新检查** 再问一次。区块显示一行摘要:正在检查;已是最新及上次检查时间;可更新到声明组合包、接受当前 DSH、未弃用且非预发布的最新版本;新版本需要更新 DSH 及其所需的 DSH peer;或检查失败、最后失败的注册表及 **重试**。有新版本的摘要可展开为每个版本一行,从新到旧,带 dist-tag、预发布与已弃用标签、无法安装的原因、发布日期,以及可安装版本的 **更新**;列表以已安装版本结尾。其下显示作答的注册表,前面的注册表失败时标为 **备选源**,旁边是检查时间和 **显示预发布版本**。检查失败时可通过 **详情** 展开问过的每个注册表、其角色、失败类型和 pnpm 的原文。从链接、路径、git 或压缩包安装的组合包以及官方组合包不显示版本区块。不会提供更旧的版本。
+从注册表安装、Host 标为 `updatable` 的第三方组合包,在其页面的行列表下方有 **版本** 区块。打开页面时向 Host 询问一次[它的新版本](../../boot/plugin-manager/README.zh.md#use-this-package);**重新检查** 再问一次。区块显示一行摘要:正在检查;已是最新及上次检查时间;可更新到声明组合包、接受当前 DSH、未弃用且非预发布的最新版本;新版本需要更新 DSH 及其所需的 DSH peer;或检查失败、最后失败的注册表及 **重试**。有新版本的摘要可展开为每个版本一行,从新到旧,带 dist-tag、预发布与已弃用标签、无法安装的原因、发布日期,以及可安装版本的 **更新**;列表以已安装版本结尾。其下显示作答的注册表,前面的注册表失败时标为 **备选源**,旁边是检查时间和 **显示预发布版本**。检查失败时可通过 **详情** 展开问过的每个注册表、其角色、失败类型和 pnpm 的原文。从链接、路径、git 或压缩包安装的组合包以及官方组合包不显示版本区块。不会提供更旧的版本。
检查结束后,列表工具栏说明有几个插件可更新、全部已是最新,或部分检查失败,有更新的卡片显示 **可更新**。详情页头部增加带目标版本的 **更新到**。
diff --git a/packages/client/ui-plugin-manager/src/client/PluginManagerPage.tsx b/packages/client/ui-plugin-manager/src/client/PluginManagerPage.tsx
index 62cbd60ddd..7280e0bd96 100644
--- a/packages/client/ui-plugin-manager/src/client/PluginManagerPage.tsx
+++ b/packages/client/ui-plugin-manager/src/client/PluginManagerPage.tsx
@@ -815,9 +815,6 @@ function PackageDetail({
)
: null}
-
{pkg.availability === 'missing' ? null : ( busy || rowBusy(row), onSetEnabled: onSetRowEnabled } : undefined}
configure={configure}
/>)}
+
{renderSlot('plugins.detail.section', { subject })}