@linxin666/dsh-client-ui-community-plugins 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2026, zhu1090093659
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,6 @@
1
+ # Bilingual-pair consistency record (docs/i18n.md): the git blob hash of each
2
+ # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
+ # after editing either side, bring the other along and re-record with:
4
+ # node scripts/verify-docs.mjs --write <dir>
5
+ README.md: d3b52cd705d9337a169e8655b6a59852e7098279
6
+ README.zh.md: f3403ed2441c683ac8321e52117bae36b4ce62ef
package/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # @linxin666/dsh-client-ui-community-plugins
2
+
3
+ English | [中文](README.zh.md)
4
+
5
+ Community plugin index section for the dsh web GUI settings page: a first-level settings entry (alongside Web UI Plugins, Skin Center and Pet) that opens directly expanded, lists community-contributed plugins with links to each contributor's own repository, and carries its own enable switch.
6
+
7
+ ## What it does
8
+
9
+ - **First-level section**: registers one settings section next to General / Models / Plugins / Agent presets and the Web UI Plugins, Skin Center and Pet sections. The content renders directly expanded (no disclosure fold), with its own enable switch backed by the community-plugins settings namespace.
10
+ - **Index only**: every entry links to the contributor's own repository; the package never vendors the listed code. The registry lives in community.json and is compiled into the client bundle by scripts/community-index.
11
+
12
+ ## Install
13
+
14
+ ### From npm (recommended)
15
+
16
+ ```sh
17
+ dsh plugin --profile web add @linxin666/dsh-client-ui-community-plugins
18
+ ```
19
+
20
+ ### From the repository (development)
21
+
22
+ ```sh
23
+ git clone https://github.com/zhu1090093659/dsh-web-ui.git
24
+ cd dsh-web-ui
25
+ pnpm install && pnpm -r build
26
+ dsh plugin --profile web add link:$(pwd)/packages/dsh-community-plugins
27
+ ```
28
+
29
+ Restart `dsh web` for the card to appear in the settings page.
30
+
31
+ ## Config
32
+
33
+ - **Enable switch**: inside the Community Plugins first-level section itself (the section carries its own switch). Turning it off hides the index list until it is turned back on; the choice persists in the community-plugins settings namespace.
34
+ - **Running a listed plugin**: the index only registers entries, it never installs code. Each entry shows its install command (the npm package when published, else the contributor repository URL); run it in a terminal, e.g. `dsh plugin --profile web add <name>`. Once installed, the plugin provides its own switch and config (if any) in the plugin configuration section.
35
+
36
+ ## Known limitations
37
+
38
+ - The card shows on the dsh settings page only when its prerequisite (`@deepseek-ai/dsh-client-ui-settings`) is present.
39
+ - Entries are curated by maintainers in community.json; the card ships the build-time snapshot.
40
+
41
+ ## License
42
+
43
+ BSD-3-Clause.
package/README.zh.md ADDED
@@ -0,0 +1,43 @@
1
+ # @linxin666/dsh-client-ui-community-plugins
2
+
3
+ [English](README.md) | 中文
4
+
5
+ 面向 dsh web GUI 设置页的社区插件索引分区:作为一级菜单项(与 Web UI 插件、皮肤中心、宠物同级)直接展开,列出社区贡献的插件并链接到每位贡献者自己的仓库,配有自己的启用开关。
6
+
7
+ ## 功能
8
+
9
+ - **一级菜单项**:在设置页注册一个一级分区,与通用设置 / 模式 / 插件 / Agent 预设以及 Web UI 插件、皮肤中心、宠物同级;内容直接展开(无折叠层),自带启用开关,由 community-plugins 设置命名空间持久化。
10
+ - **只做索引**:每个条目链接到贡献者自己的仓库;本包不打包任何被索引的代码。注册表在 community.json,由 scripts/community-index 编译进客户端 bundle。
11
+
12
+ ## 安装
13
+
14
+ ### 从 npm 安装(推荐)
15
+
16
+ ```sh
17
+ dsh plugin --profile web add @linxin666/dsh-client-ui-community-plugins
18
+ ```
19
+
20
+ ### 从仓库安装(开发调试)
21
+
22
+ ```sh
23
+ git clone https://github.com/zhu1090093659/dsh-web-ui.git
24
+ cd dsh-web-ui
25
+ pnpm install && pnpm -r build
26
+ dsh plugin --profile web add link:$(pwd)/packages/dsh-community-plugins
27
+ ```
28
+
29
+ 安装后重启 `dsh web`,设置页出现该卡片。
30
+
31
+ ## 配置
32
+
33
+ - **启用开关**:位于「社区插件」一级分区自身(分区卡片自带的开关)。关闭后隐藏索引列表,重新打开即恢复;选择持久化在 community-plugins 设置命名空间。
34
+ - **运行已登记的插件**:索引只登记、不安装代码。每个条目显示安装命令(已发布 npm 用包名,否则用贡献者仓库地址),在终端执行即可,如 `dsh plugin --profile web add <包名>`。安装后,插件自带的开关与配置(若有)出现在插件配置区。
35
+
36
+ ## 已知限制
37
+
38
+ - 仅当依赖的 `@deepseek-ai/dsh-client-ui-settings` 存在时,该卡片才会出现在 dsh 设置页。
39
+ - 条目由维护者在 community.json 中登记审核,卡片展示构建时的快照。
40
+
41
+ ## License
42
+
43
+ BSD-3-Clause。
@@ -0,0 +1,13 @@
1
+ # dsh-community-plugins bundle patch: inserts the community plugin index row
2
+ # into the web profile roster. Applied as a profile bundle layer (the
3
+ # dsh.bundle.patch manifest field); install with
4
+ # dsh plugin --profile web add link:<repo>/packages/dsh-community-plugins.
5
+ #
6
+ # The single row mounts BOTH halves: the host side registers the
7
+ # community-plugins settings namespace (the card's enable switch), and the
8
+ # dsh.client declaration in package.json makes the browser half (exports
9
+ # "./client", served from lib/client.js) render the index card in the
10
+ # plugin-configuration section.
11
+ - insert:
12
+ - id: ui-community-plugins
13
+ name: '@linxin666/dsh-client-ui-community-plugins'