diff --git a/workdsh-web/packages/bundle/package.json b/workdsh-web/packages/bundle/package.json index e546f2a1f9..520955aef8 100644 --- a/workdsh-web/packages/bundle/package.json +++ b/workdsh-web/packages/bundle/package.json @@ -61,7 +61,6 @@ "@deepseek-ai/dsh-client-connection": "0.1.7-rc.2", "@deepseek-ai/dsh-client-ui-conversation": "0.1.7-rc.2", "@deepseek-ai/dsh-client-ui-layout": "0.1.7-rc.2", - "@deepseek-ai/dsh-client-ui-plugin-manager": "0.1.7-rc.2", "@deepseek-ai/dsh-client-ui-renderer": "0.1.7-rc.2", "@deepseek-ai/dsh-client-ui-sidebar": "0.1.7-rc.2", "@deepseek-ai/dsh-client-ui-sidebar-right": "0.1.7-rc.2", diff --git a/workdsh-web/packages/bundle/src/client/components/CommunityPlugins.tsx b/workdsh-web/packages/bundle/src/client/components/CommunityPlugins.tsx deleted file mode 100644 index b49bca4d24..0000000000 --- a/workdsh-web/packages/bundle/src/client/components/CommunityPlugins.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import type { ReactNode } from 'react'; - -/** This is a discovery link, not a second plugin installer or a copied catalog. */ -export function CommunityPlugins({ view }: { readonly view: 'summary' | 'page' }): ReactNode { - if (view === 'summary') return 'WorkDSH 提供的第三方 DSH 插件发现入口;不是 DSH 官方推荐。'; - return ( -
-

在 dshmarket 浏览社区插件,确认作者、来源、版本及兼容性后,复制包名或仓库地址,再使用此页面右上角的“添加插件”安装。

-

dshmarket 是独立的第三方网站。打开后适用该网站的内容和隐私政策;WorkDSH 不会自动安装其中的插件。

- - 前往 dshmarket 浏览社区插件 ↗ - -
- ); -} diff --git a/workdsh-web/packages/bundle/src/client/harness/client.ts b/workdsh-web/packages/bundle/src/client/harness/client.ts index 180cddf8c8..3725239d6a 100644 --- a/workdsh-web/packages/bundle/src/client/harness/client.ts +++ b/workdsh-web/packages/bundle/src/client/harness/client.ts @@ -1,9 +1,7 @@ import { ShellAppearance } from '../components/ShellAppearance.js'; -import { CommunityPlugins } from '../components/CommunityPlugins.js'; import type { Context } from '@deepseek-ai/cordis'; import type {} from '@deepseek-ai/dsh-api-remotes/client'; import type {} from '@deepseek-ai/dsh-client-ui-renderer/client'; -import type {} from '@deepseek-ai/dsh-client-ui-plugin-manager/client'; import type {} from '@deepseek-ai/dsh-client-ui-sidebar/client'; import type {} from '@deepseek-ai/dsh-client-ui-sidebar-right/client'; import type {} from '@deepseek-ai/dsh-client-ui-session/client'; @@ -28,10 +26,6 @@ const productViews: Readonly> = { }; export function apply(ctx: Context): void { - ctx.slots.inject('plugins.item', () => ctx.slots.register({ - name: 'plugins.item', id: 'workdsh-community-plugins', order: 100, - label: 'WorkDSH · 发现社区插件', - }, CommunityPlugins)); let legacyBrowserEnabled = false; ctx.effect(() => { const controller = new AbortController(); diff --git a/workdsh-web/pnpm-lock.yaml b/workdsh-web/pnpm-lock.yaml index d570c0a66e..9c638c52eb 100644 --- a/workdsh-web/pnpm-lock.yaml +++ b/workdsh-web/pnpm-lock.yaml @@ -440,9 +440,6 @@ importers: '@deepseek-ai/dsh-client-ui-layout': specifier: 0.1.7-rc.2 version: 0.1.7-rc.2(@deepseek-ai/cordis@4.0.3) - '@deepseek-ai/dsh-client-ui-plugin-manager': - specifier: 0.1.7-rc.2 - version: 0.1.7-rc.2(@deepseek-ai/cordis@4.0.3) '@deepseek-ai/dsh-client-ui-renderer': specifier: 0.1.7-rc.2 version: 0.1.7-rc.2(@deepseek-ai/cordis@4.0.3)