dsh-book-reader 0.0.0-stage → 0.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/CHANGELOG.md +36 -0
- package/LICENSE +21 -0
- package/README.md +494 -2
- package/SKILL.md +97 -0
- package/cordis.patch.yml +31 -0
- package/icon.svg +13 -0
- package/lib/client.js +1794 -0
- package/lib/core/README.md +299 -0
- package/lib/core/pdf.js +962 -0
- package/lib/core/render.js +351 -0
- package/lib/core/tokens.js +116 -0
- package/lib/index.js +1936 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +83 -4
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,85 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-book-reader",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Read books and papers in DSH: page-aware controls on the official PDF preview, plus cheap text-first PDF context for the model (TOC, search, selective page images).",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"dsh",
|
|
7
|
+
"dsh-plugin",
|
|
8
|
+
"pdf",
|
|
9
|
+
"reader",
|
|
10
|
+
"pdfjs",
|
|
11
|
+
"vision",
|
|
12
|
+
"book"
|
|
13
|
+
],
|
|
14
|
+
"type": "module",
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"icon": "./icon.svg",
|
|
17
|
+
"author": "strepsiades",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/strepsiades/dsh-book-reader.git"
|
|
21
|
+
},
|
|
22
|
+
"homepage": "https://github.com/strepsiades/dsh-book-reader#readme",
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/strepsiades/dsh-book-reader/issues"
|
|
25
|
+
},
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=20"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@napi-rs/canvas": "^1.0.11",
|
|
31
|
+
"pdfjs-dist": "6.3.289"
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@deepseek-ai/dsh-llm": "^0.2.0-rc.2",
|
|
35
|
+
"@deepseek-ai/dsh-tools": "^0.2.0-rc.2",
|
|
36
|
+
"@deepseek-ai/schemastery": "^3.18.4"
|
|
37
|
+
},
|
|
38
|
+
"peerDependenciesMeta": {
|
|
39
|
+
"@deepseek-ai/dsh-llm": {
|
|
40
|
+
"optional": true
|
|
41
|
+
},
|
|
42
|
+
"@deepseek-ai/dsh-tools": {
|
|
43
|
+
"optional": true
|
|
44
|
+
},
|
|
45
|
+
"@deepseek-ai/schemastery": {
|
|
46
|
+
"optional": true
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"main": "lib/index.js",
|
|
50
|
+
"exports": {
|
|
51
|
+
".": {
|
|
52
|
+
"default": "./lib/index.js"
|
|
53
|
+
},
|
|
54
|
+
"./client": {
|
|
55
|
+
"default": "./lib/client.js"
|
|
56
|
+
},
|
|
57
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
58
|
+
"./package.json": "./package.json",
|
|
59
|
+
"./icon": "./icon.svg",
|
|
60
|
+
"./locale/*.json": "./locale/*.json"
|
|
61
|
+
},
|
|
62
|
+
"files": [
|
|
63
|
+
"lib/index.js",
|
|
64
|
+
"lib/client.js",
|
|
65
|
+
"lib/core/**/*.js",
|
|
66
|
+
"SKILL.md",
|
|
67
|
+
"cordis.patch.yml",
|
|
68
|
+
"README.md",
|
|
69
|
+
"LICENSE",
|
|
70
|
+
"icon.svg",
|
|
71
|
+
"locale/*.json",
|
|
72
|
+
"CHANGELOG.md"
|
|
73
|
+
],
|
|
74
|
+
"dsh": {
|
|
75
|
+
"bundle": {
|
|
76
|
+
"patch": "./cordis.patch.yml"
|
|
77
|
+
},
|
|
78
|
+
"client": {
|
|
79
|
+
"platform": "web"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"publishConfig": {
|
|
83
|
+
"access": "public"
|
|
84
|
+
}
|
|
85
|
+
}
|