@deepseek-ai/dsh-experimental-plugin-market-bundle 0.0.0-stage → 0.2.1-alpha.5
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 +21 -0
- package/README.i18n.yaml +34 -0
- package/README.md +67 -2
- package/README.zh.md +68 -0
- package/cordis.patch.yml +10 -0
- package/icon.svg +9 -0
- package/lib/index.js +1 -0
- package/lib/types/index.d.ts +3 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +47 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 DeepSeek
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.i18n.yaml
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
|
|
2
|
+
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
|
|
3
|
+
# After editing either side, bring the other along and re-record with:
|
|
4
|
+
# pnpm run verify-translation-pairing --write packages/experimental/plugin-market-bundle/README.md
|
|
5
|
+
/:
|
|
6
|
+
en: d8af9b6bbb50c868
|
|
7
|
+
zh: 984ac08f172ac4b6
|
|
8
|
+
/deepseek-ai-dsh-experimental-plugin-market-bundle:
|
|
9
|
+
en: c8315ff66be4cfb9
|
|
10
|
+
zh: d721a9496d8b0a8d
|
|
11
|
+
/deepseek-ai-dsh-experimental-plugin-market-bundle/summary:
|
|
12
|
+
en: 511ede0c4e7cd9df
|
|
13
|
+
zh: 207687c55aca6f00
|
|
14
|
+
/deepseek-ai-dsh-experimental-plugin-market-bundle/table-of-contents:
|
|
15
|
+
en: 76368b6b1da79c80
|
|
16
|
+
zh: 434cf3c1f5db33cd
|
|
17
|
+
/deepseek-ai-dsh-experimental-plugin-market-bundle/use-this-package:
|
|
18
|
+
en: 4929999ed97cbcaf
|
|
19
|
+
zh: a815fca7044326fc
|
|
20
|
+
/deepseek-ai-dsh-experimental-plugin-market-bundle/understand-the-implementation:
|
|
21
|
+
en: 6cdb2c0f794b001f
|
|
22
|
+
zh: f18ba67b927b09b8
|
|
23
|
+
/deepseek-ai-dsh-experimental-plugin-market-bundle/model-experience:
|
|
24
|
+
en: 54885876bee4591c
|
|
25
|
+
zh: 407252554800511c
|
|
26
|
+
/deepseek-ai-dsh-experimental-plugin-market-bundle/model-experience/kv-cache-effect:
|
|
27
|
+
en: dc60f12c8d3b0e79
|
|
28
|
+
zh: 6eb3928424a7f783
|
|
29
|
+
/deepseek-ai-dsh-experimental-plugin-market-bundle/known-limitations-and-deferred-work:
|
|
30
|
+
en: 779241f2dfb59f6d
|
|
31
|
+
zh: 0cda06e940d61664
|
|
32
|
+
/deepseek-ai-dsh-experimental-plugin-market-bundle/known-limitations-and-deferred-work/dev-note:
|
|
33
|
+
en: 0225ba087c5266f3
|
|
34
|
+
zh: 4e706f1b2b984e63
|
package/README.md
CHANGED
|
@@ -1,3 +1,68 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
description: "Enable experimental custom plugin markets from the plugin manager."
|
|
3
|
+
kind: "package-bundle"
|
|
4
|
+
---
|
|
2
5
|
|
|
3
|
-
|
|
6
|
+
# @deepseek-ai/dsh-experimental-plugin-market-bundle
|
|
7
|
+
|
|
8
|
+
English | [中文](README.zh.md)
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
11
|
+
|
|
12
|
+
This optional bundle mounts custom plugin markets: the Host [`pluginMarket`](../../boot/plugin-market/README.md) service, which reads the plugin market indexes the user adds, and the Web [Discover tab](../../client/ui-plugin-market/README.md) of the Plugins page. Shipped profiles leave it disabled.
|
|
13
|
+
|
|
14
|
+
## Table of Contents
|
|
15
|
+
|
|
16
|
+
- [Use this package](#use-this-package)
|
|
17
|
+
- [Understand the implementation](#understand-the-implementation)
|
|
18
|
+
- [Model Experience](#model-experience)
|
|
19
|
+
- [Known Limitations and Deferred Work](#known-limitations-and-deferred-work)
|
|
20
|
+
- [Dev Note](#dev-note)
|
|
21
|
+
|
|
22
|
+
-----
|
|
23
|
+
|
|
24
|
+
<a id="use-this-package"></a>
|
|
25
|
+
## Use this package
|
|
26
|
+
|
|
27
|
+
Open **Plugins** in the Web sidebar, select **More** beside **Experimental plugins**, and switch on **Custom plugin markets**; once on, it also appears on the main list. The page then shows the **Installed** and **Discover** tabs; **Discover** adds index sources and installs their bundles. Switching the bundle off removes the Discover tab and the `plugin_market` tool; the saved index sources stay in the profile.
|
|
28
|
+
|
|
29
|
+
-----
|
|
30
|
+
|
|
31
|
+
<a id="understand-the-implementation"></a>
|
|
32
|
+
## Understand the implementation
|
|
33
|
+
|
|
34
|
+
<details>
|
|
35
|
+
<summary>Maintainer details — click to expand</summary>
|
|
36
|
+
|
|
37
|
+
The static `cordis.patch.yml` inserts the `plugin-market` service row, disabled without a profile like `plugin-manager`, and the `ui-plugin-market` browser row. The Creator preset keeps its `tool-plugin-market` row; that plugin registers `plugin_market` only while `pluginMarket` is mounted, so the row neither waits nor shows the tool without this bundle. The Plugins page shows its tabs only when a `plugins.tab` entry exists, so it needs no knowledge of this bundle.
|
|
38
|
+
|
|
39
|
+
</details>
|
|
40
|
+
|
|
41
|
+
-----
|
|
42
|
+
|
|
43
|
+
<a id="model-experience"></a>
|
|
44
|
+
## Model Experience
|
|
45
|
+
|
|
46
|
+
Indirectly, through the `pluginMarket` service: with the bundle switched on, the Creator preset gains the read-only `plugin_market` tool documented in [`dsh-plugin-market`](../../boot/plugin-market/README.md#model-experience).
|
|
47
|
+
|
|
48
|
+
#### KV Cache effect
|
|
49
|
+
|
|
50
|
+
Switching the bundle on or off adds or removes one tool schema in Creator sessions, which changes the cached request prefix of later requests.
|
|
51
|
+
|
|
52
|
+
## Known Limitations and Deferred Work
|
|
53
|
+
|
|
54
|
+
<a id="known-limitations-and-deferred-work"></a>
|
|
55
|
+
|
|
56
|
+
- There is no official market; Discover lists only the index sources the user adds.
|
|
57
|
+
|
|
58
|
+
-----
|
|
59
|
+
|
|
60
|
+
<a id="dev-note"></a>
|
|
61
|
+
### Dev Note
|
|
62
|
+
|
|
63
|
+
<details>
|
|
64
|
+
<summary>Maintainer details — click to expand</summary>
|
|
65
|
+
|
|
66
|
+
None.
|
|
67
|
+
|
|
68
|
+
</details>
|
package/README.zh.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "从插件管理页启用实验性的自定义插件市场。"
|
|
3
|
+
kind: "package-bundle"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# @deepseek-ai/dsh-experimental-plugin-market-bundle
|
|
7
|
+
|
|
8
|
+
[English](README.md) | 中文
|
|
9
|
+
|
|
10
|
+
## 概述
|
|
11
|
+
|
|
12
|
+
此可选组合包(bundle)挂载自定义插件市场:Host 的 [`pluginMarket`](../../boot/plugin-market/README.zh.md) 服务读取用户添加的插件市场索引,Web 端提供插件页的[发现标签页](../../client/ui-plugin-market/README.zh.md)。随包配置默认禁用。
|
|
13
|
+
|
|
14
|
+
## 目录
|
|
15
|
+
|
|
16
|
+
- [使用此包](#use-this-package)
|
|
17
|
+
- [理解实现](#understand-the-implementation)
|
|
18
|
+
- [模型体验](#model-experience)
|
|
19
|
+
- [已知限制与后续工作](#known-limitations-and-deferred-work)
|
|
20
|
+
- [开发备注](#dev-note)
|
|
21
|
+
|
|
22
|
+
-----
|
|
23
|
+
|
|
24
|
+
<a id="use-this-package"></a>
|
|
25
|
+
## 使用此包
|
|
26
|
+
|
|
27
|
+
打开 Web 侧栏中的**插件**,点击**实验性插件**旁的**更多**,启用**自定义插件市场**;启用后它也会出现在主列表中。页面随后显示**已安装**和**发现**两个标签页;**发现**用于添加索引源并安装其中的组合包。禁用此组合包会移除发现标签页和 `plugin_market` 工具;已保存的索引源保留在 profile 中。
|
|
28
|
+
|
|
29
|
+
-----
|
|
30
|
+
|
|
31
|
+
<a id="understand-the-implementation"></a>
|
|
32
|
+
## 理解实现
|
|
33
|
+
|
|
34
|
+
<details>
|
|
35
|
+
<summary>维护者信息 — 点击展开</summary>
|
|
36
|
+
|
|
37
|
+
静态 `cordis.patch.yml` 插入 `plugin-market` 服务行和 `ui-plugin-market` 浏览器行;与 `plugin-manager` 一样,服务行在没有 profile 时被禁用。Creator 预设保留其 `tool-plugin-market` 行;该插件只在 `pluginMarket` 已挂载时注册 `plugin_market`,因此没有此组合包时,该行既不等待,也不显示该工具。插件页只在存在 `plugins.tab` 条目时显示标签页,因此无需了解此组合包。
|
|
38
|
+
|
|
39
|
+
</details>
|
|
40
|
+
|
|
41
|
+
-----
|
|
42
|
+
|
|
43
|
+
<a id="model-experience"></a>
|
|
44
|
+
## 模型体验
|
|
45
|
+
|
|
46
|
+
该包通过 `pluginMarket` 服务间接影响模型:启用此组合包后,Creator 预设获得只读的 `plugin_market` 工具,其说明见 [`dsh-plugin-market`](../../boot/plugin-market/README.zh.md#model-experience)。
|
|
47
|
+
|
|
48
|
+
#### KV Cache 影响
|
|
49
|
+
|
|
50
|
+
启用或禁用此组合包会在 Creator 会话中增加或移除一个工具 schema,从而改变后续请求的缓存请求前缀。
|
|
51
|
+
|
|
52
|
+
## 已知限制与后续工作
|
|
53
|
+
|
|
54
|
+
<a id="known-limitations-and-deferred-work"></a>
|
|
55
|
+
|
|
56
|
+
- 目前没有官方插件市场;发现标签页只列出用户添加的索引源。
|
|
57
|
+
|
|
58
|
+
-----
|
|
59
|
+
|
|
60
|
+
<a id="dev-note"></a>
|
|
61
|
+
### 开发备注
|
|
62
|
+
|
|
63
|
+
<details>
|
|
64
|
+
<summary>维护者信息 — 点击展开</summary>
|
|
65
|
+
|
|
66
|
+
无。
|
|
67
|
+
|
|
68
|
+
</details>
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Custom plugin markets: the Host service that reads the index sources the
|
|
2
|
+
# user configures and the Web Discover tab of the Plugins page. The
|
|
3
|
+
# `plugin_market` tool row in the Creator preset registers its tool only
|
|
4
|
+
# while this service is mounted.
|
|
5
|
+
- insert:
|
|
6
|
+
- id: plugin-market
|
|
7
|
+
name: '@deepseek-ai/dsh-plugin-market'
|
|
8
|
+
disabled: !!js "!ctx.get('profileContext')"
|
|
9
|
+
- id: ui-plugin-market
|
|
10
|
+
name: '@deepseek-ai/dsh-client-ui-plugin-market'
|
package/icon.svg
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8 9.5C8 8.67157 8.67157 8 9.5 8H15.5C16.3284 8 17 8.67157 17 9.5V15.5C17 16.3284 16.3284 17 15.5 17H9.5C8.67157 17 8 16.3284 8 15.5V9.5ZM19 9.5C19 8.67157 19.6716 8 20.5 8H26.5C27.3284 8 28 8.67157 28 9.5V15.5C28 16.3284 27.3284 17 26.5 17H20.5C19.6716 17 19 16.3284 19 15.5V9.5ZM8 20.5C8 19.6716 8.67157 19 9.5 19H15.5C16.3284 19 17 19.6716 17 20.5V26.5C17 27.3284 16.3284 28 15.5 28H9.5C8.67157 28 8 27.3284 8 26.5V20.5ZM22.25 19H24.75V22.25H28V24.75H24.75V28H22.25V24.75H19V22.25H22.25V19Z" fill="url(#paint0_linear_plugin_market)" />
|
|
3
|
+
<defs>
|
|
4
|
+
<linearGradient id="paint0_linear_plugin_market" x1="8.5" y1="10" x2="30" y2="26" gradientUnits="userSpaceOnUse">
|
|
5
|
+
<stop stop-color="#67C7FE" />
|
|
6
|
+
<stop offset="1" stop-color="#3F77D8" />
|
|
7
|
+
</linearGradient>
|
|
8
|
+
</defs>
|
|
9
|
+
</svg>
|
package/lib/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,50 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-experimental-plugin-market-bundle",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"description": "Experimental custom plugin markets: a Discover tab that browses and installs bundles from plugin market indexes",
|
|
4
|
+
"version": "0.2.1-alpha.5",
|
|
5
|
+
"icon": "./icon.svg",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
12
|
+
"directory": "packages/experimental/plugin-market-bundle"
|
|
13
|
+
},
|
|
14
|
+
"type": "module",
|
|
15
|
+
"main": "lib/index.js",
|
|
16
|
+
"types": "lib/types/index.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./lib/types/index.d.ts",
|
|
20
|
+
"default": "./lib/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./src/*": "./src/*",
|
|
23
|
+
"./package.json": "./package.json",
|
|
24
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
25
|
+
"./locale/*.json": "./locale/*.json"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"icon.svg",
|
|
29
|
+
"locale/*.json",
|
|
30
|
+
"lib/index.js",
|
|
31
|
+
"cordis.patch.yml",
|
|
32
|
+
"lib/types/**/*.d.ts"
|
|
33
|
+
],
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@deepseek-ai/dsh-client-ui-plugin-market": "0.2.1-alpha.5",
|
|
37
|
+
"@deepseek-ai/dsh-plugin-market": "0.2.1-alpha.5"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.2"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.2"
|
|
44
|
+
},
|
|
45
|
+
"dsh": {
|
|
46
|
+
"bundle": {
|
|
47
|
+
"patch": "./cordis.patch.yml"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
6
50
|
}
|