@klarkxy/dsh-zhihu 0.1.9 → 0.2.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 +26 -22
- package/docs/README.zh-CN.md +26 -22
- package/lib/client.js +2012 -887
- package/lib/index.d.ts +1 -1
- package/lib/index.js +78 -103
- package/lib/index.js.map +1 -1
- package/lib/open-platform.js +8 -8
- package/lib/open-platform.js.map +1 -1
- package/lib/tools.js +11 -11
- package/lib/tools.js.map +1 -1
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +22 -15
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@klarkxy/dsh-zhihu",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Zhihu search, agent tools, knowledge bases, and usage tracking for DeepSeek Harness.",
|
|
5
|
+
"icon": "./icon.svg",
|
|
5
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
7
|
"type": "module",
|
|
7
8
|
"engines": {
|
|
8
|
-
"node": ">=22"
|
|
9
|
+
"node": ">=22",
|
|
10
|
+
"dsh": ">=0.2.0-rc.2"
|
|
9
11
|
},
|
|
10
12
|
"main": "./lib/index.js",
|
|
11
13
|
"types": "./lib/index.d.ts",
|
|
@@ -33,10 +35,12 @@
|
|
|
33
35
|
"./client": {
|
|
34
36
|
"default": "./lib/client.js"
|
|
35
37
|
},
|
|
36
|
-
"./package.json": "./package.json"
|
|
38
|
+
"./package.json": "./package.json",
|
|
39
|
+
"./locale/*.json": "./locale/*.json"
|
|
37
40
|
},
|
|
38
41
|
"files": [
|
|
39
42
|
"icon.svg",
|
|
43
|
+
"locale/*.json",
|
|
40
44
|
"lib/*.js",
|
|
41
45
|
"lib/*.js.map",
|
|
42
46
|
"lib/*.d.ts",
|
|
@@ -53,7 +57,8 @@
|
|
|
53
57
|
"platform": "web",
|
|
54
58
|
"inject": [
|
|
55
59
|
"@deepseek-ai/dsh-client-connection",
|
|
56
|
-
"@deepseek-ai/dsh-api-remotes"
|
|
60
|
+
"@deepseek-ai/dsh-api-remotes",
|
|
61
|
+
"@deepseek-ai/dsh-client-ui-primitives"
|
|
57
62
|
]
|
|
58
63
|
}
|
|
59
64
|
},
|
|
@@ -89,23 +94,25 @@
|
|
|
89
94
|
"test": "vitest run --root ../.. --config vitest.editor-plugins.config.ts --maxWorkers=2 plugins/dsh-zhihu/src"
|
|
90
95
|
},
|
|
91
96
|
"dependencies": {
|
|
92
|
-
"zod": "^4.1.5"
|
|
97
|
+
"zod": "^4.1.5",
|
|
98
|
+
"@klarkxy/dsh-plugin-kit": "0.2.0"
|
|
93
99
|
},
|
|
94
100
|
"peerDependencies": {
|
|
95
|
-
"@deepseek-ai/cordis": "
|
|
96
|
-
"@deepseek-ai/dsh-credentials": ">=0.
|
|
97
|
-
"@deepseek-ai/dsh-storage-domain": ">=0.
|
|
98
|
-
"@deepseek-ai/dsh-tools": ">=0.
|
|
101
|
+
"@deepseek-ai/cordis": ">=4.0.4",
|
|
102
|
+
"@deepseek-ai/dsh-credentials": ">=0.2.0-rc.2",
|
|
103
|
+
"@deepseek-ai/dsh-storage-domain": ">=0.2.0-rc.2",
|
|
104
|
+
"@deepseek-ai/dsh-tools": ">=0.2.0-rc.2"
|
|
99
105
|
},
|
|
100
106
|
"devDependencies": {
|
|
101
|
-
"@deepseek-ai/cordis": "
|
|
102
|
-
"@deepseek-ai/dsh-credentials": "0.
|
|
103
|
-
"@deepseek-ai/dsh-storage-domain": "0.
|
|
104
|
-
"@deepseek-ai/dsh-tools": "0.
|
|
107
|
+
"@deepseek-ai/cordis": "4.0.4",
|
|
108
|
+
"@deepseek-ai/dsh-credentials": "0.2.0-rc.2",
|
|
109
|
+
"@deepseek-ai/dsh-storage-domain": "0.2.0-rc.2",
|
|
110
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.2",
|
|
105
111
|
"react": "^18.2.0",
|
|
106
112
|
"@types/react": "18.3.31",
|
|
107
113
|
"react-dom": "^18.2.0",
|
|
108
|
-
"@types/react-dom": "^18.3.1"
|
|
114
|
+
"@types/react-dom": "^18.3.1",
|
|
115
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2"
|
|
109
116
|
},
|
|
110
117
|
"peerDependenciesMeta": {
|
|
111
118
|
"@deepseek-ai/dsh-credentials": {
|
|
@@ -142,6 +149,6 @@
|
|
|
142
149
|
"registry": "https://registry.npmjs.org/"
|
|
143
150
|
},
|
|
144
151
|
"dshRelease": {
|
|
145
|
-
"contentHash": "
|
|
152
|
+
"contentHash": "a3c9e878f104b277262d585294e48e66a0c20da986d0c2efd7e0bb3811028b56"
|
|
146
153
|
}
|
|
147
154
|
}
|