dsh-plugin-shop 0.1.0 → 0.1.2
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.md +1 -1
- package/package.json +1 -1
- package/README.zh.md +0 -57
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 LivXue
|
|
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.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# dsh-plugin-shop
|
|
2
2
|
|
|
3
|
-
English | [中文](README.zh.md)
|
|
3
|
+
English | [中文](https://github.com/LivXue/dsh-plugin-shop/blob/main/packages/dsh-plugin-shop/docs/README.zh.md)
|
|
4
4
|
|
|
5
5
|
The plugin store for [DeepSeek Harness](https://github.com/deepseek-harness), as a
|
|
6
6
|
tab inside the Harness settings surface: browse a catalog of dsh plugins, install
|
package/package.json
CHANGED
package/README.zh.md
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# dsh-plugin-shop
|
|
2
|
-
|
|
3
|
-
[English](README.md) | 中文
|
|
4
|
-
|
|
5
|
-
[DeepSeek Harness](https://github.com/deepseek-harness) 的插件市场,以设置页里的一个
|
|
6
|
-
标签呈现:浏览 dsh 插件目录、一次确认完成安装、启停已安装的插件、看到哪些有了新版本。
|
|
7
|
-
|
|
8
|
-
## 安装
|
|
9
|
-
|
|
10
|
-
```sh
|
|
11
|
-
dsh plugin --profile <你的 profile> add dsh-plugin-shop
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
重启一次 `dsh`,标签出现在 **设置 → 插件 → 插件市场**。
|
|
15
|
-
|
|
16
|
-
## 能做什么
|
|
17
|
-
|
|
18
|
-
- **浏览与搜索**目录——按 `dsh-plugin` 关键字从 npm 采集的 1800+ 个包;作者若自己声明了
|
|
19
|
-
简介,就用作者的原话。
|
|
20
|
-
- **一次确认完成安装**。未经评审的插件需要先显式确认,因为装上之后它与内置插件权限等同:
|
|
21
|
-
你的文件、你的 shell、以及发往模型的请求。
|
|
22
|
-
- **启停**已安装的插件,无需重启。
|
|
23
|
-
- **发现过期安装**,与目录中的当前版本比对。
|
|
24
|
-
|
|
25
|
-
## 结构
|
|
26
|
-
|
|
27
|
-
一个包,两半:
|
|
28
|
-
|
|
29
|
-
- **Host**(`dsh-plugin-shop`)——通过网络取目录,用指针里的 sha256 校验,缓存,并在
|
|
30
|
-
per-profile 互斥锁下执行 `dsh plugin add`。它只暴露五个 `store/*` Remote 方法,别无其他。
|
|
31
|
-
- **Client**(`dsh-plugin-shop/client`)——设置页标签。它既不碰网络也不碰文件系统,一切副作用
|
|
32
|
-
都经由那五个方法。
|
|
33
|
-
|
|
34
|
-
## 目录
|
|
35
|
-
|
|
36
|
-
每日从公共 npm registry 构建,以静态 JSON 发布:
|
|
37
|
-
|
|
38
|
-
- `https://LivXue.github.io/dsh-plugin-shop/v1/index.json` —— 指针,携带
|
|
39
|
-
`schemaVersion`、`builtAt` 和内容哈希
|
|
40
|
-
- `https://LivXue.github.io/dsh-plugin-shop/v1/plugins.<sha256>.json` —— 数据
|
|
41
|
-
|
|
42
|
-
用 `DSH_STORE_CATALOG_URL` 可以指向你自己的镜像。
|
|
43
|
-
|
|
44
|
-
## 不作何承诺
|
|
45
|
-
|
|
46
|
-
出现在货架上不等于背书。`capabilities` 只是作者对自己包的自述——v0 没有沙箱,界面也从不把它
|
|
47
|
-
渲染成一份被强制执行的权限清单。`verified` 层的含义是有人读过**那个确切版本**;一旦发布更新
|
|
48
|
-
版本就降级为 `verified-stale`,评审记录仍钉在它当初对应的版本上。
|
|
49
|
-
|
|
50
|
-
## 面向插件作者
|
|
51
|
-
|
|
52
|
-
想用自己的文案上架,声明 `dsh.catalog` 段:
|
|
53
|
-
[docs/schema.zh.md](https://github.com/LivXue/dsh-plugin-shop/blob/main/docs/schema.zh.md)。
|
|
54
|
-
|
|
55
|
-
## 许可
|
|
56
|
-
|
|
57
|
-
MIT
|