@huanlin/dsh-plugin-mineru 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/LICENSE +664 -0
- package/README.md +87 -0
- package/cordis.patch.yml +10 -0
- package/lib/client.js +419 -0
- package/lib/client.js.map +1 -0
- package/lib/index.js +875 -0
- package/package.json +88 -0
package/package.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@huanlin/dsh-plugin-mineru",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public"
|
|
6
|
+
},
|
|
7
|
+
"keywords": ["dsh-plugin"],
|
|
8
|
+
"description": "DSH plugin exposing MinerU document parsing tools to the model, with a web UI settings page for the API base URL.",
|
|
9
|
+
"type": "module",
|
|
10
|
+
"license": "AGPL-3.0",
|
|
11
|
+
"main": "./lib/index.js",
|
|
12
|
+
"types": "./lib/index.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./lib/index.d.ts",
|
|
16
|
+
"import": "./lib/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./client": {
|
|
19
|
+
"types": "./lib/client.d.ts",
|
|
20
|
+
"default": "./lib/client.js"
|
|
21
|
+
},
|
|
22
|
+
"./package.json": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"lib/",
|
|
26
|
+
"cordis.patch.yml"
|
|
27
|
+
],
|
|
28
|
+
"dsh": {
|
|
29
|
+
"bundle": {
|
|
30
|
+
"patch": "./cordis.patch.yml"
|
|
31
|
+
},
|
|
32
|
+
"client": {
|
|
33
|
+
"inject": [
|
|
34
|
+
"@deepseek-ai/dsh-client-runtime",
|
|
35
|
+
"@deepseek-ai/dsh-client-locale",
|
|
36
|
+
"@deepseek-ai/dsh-client-connection",
|
|
37
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
38
|
+
"@deepseek-ai/dsh-client-ui-slots",
|
|
39
|
+
"@deepseek-ai/dsh-client-ui-primitives"
|
|
40
|
+
],
|
|
41
|
+
"platform": "web"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
46
|
+
"test": "vitest run",
|
|
47
|
+
"test:watch": "vitest",
|
|
48
|
+
"build": "tsdown --config tsdown.config.ts",
|
|
49
|
+
"prepare": "tsdown --config tsdown.prepare.config.ts"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"schemastery": "^3.18.0"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@deepseek-ai/dsh-client-connection": "^0.0.1-rc.1",
|
|
56
|
+
"@deepseek-ai/dsh-client-locale": "^0.0.1-rc.1",
|
|
57
|
+
"@deepseek-ai/dsh-client-runtime": "^0.0.1-rc.1",
|
|
58
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.0.1-rc.1",
|
|
59
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.0.1-rc.1",
|
|
60
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.0.1-rc.1",
|
|
61
|
+
"@deepseek-ai/dsh-host-apiproxy": "^0.0.1-rc.1",
|
|
62
|
+
"@deepseek-ai/dsh-tools": "^0.0.1-rc.1",
|
|
63
|
+
"cordis": "^4.0.0-rc.7",
|
|
64
|
+
"react": "^18.2.0"
|
|
65
|
+
},
|
|
66
|
+
"peerDependenciesMeta": {
|
|
67
|
+
"@deepseek-ai/dsh-client-connection": { "optional": true },
|
|
68
|
+
"@deepseek-ai/dsh-client-locale": { "optional": true },
|
|
69
|
+
"@deepseek-ai/dsh-client-runtime": { "optional": true },
|
|
70
|
+
"@deepseek-ai/dsh-client-ui-primitives": { "optional": true },
|
|
71
|
+
"@deepseek-ai/dsh-client-ui-settings": { "optional": true },
|
|
72
|
+
"@deepseek-ai/dsh-client-ui-slots": { "optional": true },
|
|
73
|
+
"@deepseek-ai/dsh-host-apiproxy": { "optional": true },
|
|
74
|
+
"@deepseek-ai/dsh-tools": { "optional": true },
|
|
75
|
+
"cordis": { "optional": true },
|
|
76
|
+
"react": { "optional": true }
|
|
77
|
+
},
|
|
78
|
+
"devDependencies": {
|
|
79
|
+
"@types/node": "^22.0.0",
|
|
80
|
+
"@types/react": "~18.3.1",
|
|
81
|
+
"tsdown": "^0.22.2",
|
|
82
|
+
"typescript": "^5.9.0",
|
|
83
|
+
"vitest": "^3.2.0"
|
|
84
|
+
},
|
|
85
|
+
"engines": {
|
|
86
|
+
"node": ">=18.0.0"
|
|
87
|
+
}
|
|
88
|
+
}
|