dsh-plugin-discovery 1.0.0 → 1.1.0
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/README.md +95 -69
- package/client.js +377 -24
- package/cordis.patch.yml +5 -0
- package/data/recommended.json +1206 -0
- package/docs/articles/cdp-payload.json +1 -0
- package/docs/articles/chunk0.json +1 -0
- package/docs/articles/chunk1.json +1 -0
- package/docs/articles/chunk2.json +1 -0
- package/docs/articles/chunk3.json +1 -0
- package/docs/articles/chunk4.json +1 -0
- package/docs/articles/chunks.json +1 -0
- package/docs/articles/csdn.b64.txt +1 -0
- package/docs/articles/csdn.md +27 -3
- package/docs/articles/csdn.publish.md +84 -0
- package/docs/articles/inject-csdn.js +12 -0
- package/docs/articles/inject2.js +20 -0
- package/docs/articles/inject2.one.json +1 -0
- package/docs/articles/juejin.md +18 -2
- package/docs/articles/juejin.publish.md +69 -0
- package/docs/articles/zhihu.md +17 -3
- package/docs/articles/zhihu.publish.md +65 -0
- package/index.js +422 -3
- package/locale/en.json +24 -21
- package/locale/zh.json +24 -21
- package/package.json +74 -70
- package/skill/SKILL.md +7 -4
package/package.json
CHANGED
|
@@ -1,70 +1,74 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dsh-plugin-discovery",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"description": "Discover community DSH
|
|
6
|
-
"author": "hjhcos",
|
|
7
|
-
"license": "MIT",
|
|
8
|
-
"keywords": [
|
|
9
|
-
"dsh",
|
|
10
|
-
"
|
|
11
|
-
"deepseek
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"@deepseek-ai/
|
|
51
|
-
"@deepseek-ai/
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-plugin-discovery",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Discover and install community DSH bundles from the sidebar: newbie essentials, personalized recommendations, categories, and npm/GitHub search.",
|
|
6
|
+
"author": "hjhcos",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"dsh",
|
|
10
|
+
"dsh-plugin",
|
|
11
|
+
"deepseek",
|
|
12
|
+
"deepseek-harness",
|
|
13
|
+
"plugin",
|
|
14
|
+
"bundle",
|
|
15
|
+
"discovery",
|
|
16
|
+
"marketplace",
|
|
17
|
+
"recommend"
|
|
18
|
+
],
|
|
19
|
+
"homepage": "https://github.com/hjhcos/dsh-plugin-discovery#readme",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/hjhcos/dsh-plugin-discovery/issues"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/hjhcos/dsh-plugin-discovery.git"
|
|
26
|
+
},
|
|
27
|
+
"icon": "./icon.svg",
|
|
28
|
+
"exports": {
|
|
29
|
+
".": "./index.js",
|
|
30
|
+
"./client": "./client.js",
|
|
31
|
+
"./package.json": "./package.json",
|
|
32
|
+
"./locale/*.json": "./locale/*.json"
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"index.js",
|
|
36
|
+
"mark-remote.js",
|
|
37
|
+
"client.js",
|
|
38
|
+
"cordis.patch.yml",
|
|
39
|
+
"icon.svg",
|
|
40
|
+
"data",
|
|
41
|
+
"locale",
|
|
42
|
+
"skill",
|
|
43
|
+
"docs",
|
|
44
|
+
"LICENSE",
|
|
45
|
+
"README.md"
|
|
46
|
+
],
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@deepseek-ai/cordis": "~4.0.4",
|
|
49
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.2",
|
|
50
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.2",
|
|
51
|
+
"@deepseek-ai/schemastery": "~3.18.4"
|
|
52
|
+
},
|
|
53
|
+
"peerDependencies": {
|
|
54
|
+
"@deepseek-ai/cordis": "~4.0.4",
|
|
55
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.2",
|
|
56
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.2",
|
|
57
|
+
"@deepseek-ai/schemastery": "*"
|
|
58
|
+
},
|
|
59
|
+
"dsh": {
|
|
60
|
+
"bundle": {
|
|
61
|
+
"patch": "./cordis.patch.yml"
|
|
62
|
+
},
|
|
63
|
+
"client": {
|
|
64
|
+
"platform": "web",
|
|
65
|
+
"immediately": false,
|
|
66
|
+
"inject": [
|
|
67
|
+
"@deepseek-ai/dsh-client-ui-sidebar",
|
|
68
|
+
"@deepseek-ai/dsh-client-ui-layout",
|
|
69
|
+
"@deepseek-ai/dsh-client-locale",
|
|
70
|
+
"@deepseek-ai/dsh-api-remotes"
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
package/skill/SKILL.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
name: dsh-plugin-discovery
|
|
3
3
|
description: >
|
|
4
4
|
当用户要在网上找 DSH 社区插件(桌宠、壁纸、非官方 bundle 等):使用 dsh-plugin-discovery。
|
|
5
|
-
|
|
5
|
+
支持内置精选推荐/分类浏览(data/recommended.json),也可 GitHub/npm 联网搜索,
|
|
6
|
+
用 pluginManager.inspect 校验 bundle 后再 installBundle 安装。
|
|
6
7
|
---
|
|
7
8
|
|
|
8
9
|
# 发现插件(dsh-plugin-discovery)
|
|
@@ -14,11 +15,13 @@ description: >
|
|
|
14
15
|
## 步骤
|
|
15
16
|
|
|
16
17
|
1. 安装 bundle:`dsh-plugin-discovery`(npm)或 `github:hjhcos/dsh-plugin-discovery`。
|
|
17
|
-
2.
|
|
18
|
-
3.
|
|
19
|
-
4.
|
|
18
|
+
2. 优先看「为你推荐 / 分类浏览」(本地精选目录);需要更多结果再用关键词搜索或解析完整链接。
|
|
19
|
+
3. 可用 agent 工具 `plugin_discovery_catalog` / `plugin_discovery_search`。
|
|
20
|
+
4. 仅当 `inspect` 表明 `bundle: true` 时再 `installBundle`;UI 的安装按钮已走同一流程。
|
|
21
|
+
5. 安装完成后引导用户到「插件」页确认状态。
|
|
20
22
|
|
|
21
23
|
## 注意
|
|
22
24
|
|
|
23
25
|
- 社区插件非官方维护,安装前应提示用户自行审阅仓库。
|
|
24
26
|
- 不同来源的同名短包(如 `dsh-pet` 与 `@scope/dsh-pet`)按精确包名区分安装态。
|
|
27
|
+
- 精选目录在 `data/recommended.json`,随包装发,其他用户安装后即可看到。
|