dsh-book-reader 0.0.0-stage → 0.1.1

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/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Book Reader",
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
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "PDF 阅读器",
4
+ "description": "在 DSH 里读 PDF 书和论文:官方 PDF 预览上的翻页、搜索与引用控件,以及面向模型的文本优先 PDF 上下文工具(目录、全文搜索、按需看页)。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,85 @@
1
1
  {
2
2
  "name": "dsh-book-reader",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.1",
4
+ "description": "Read books and papers in DSH: a reading toolbar on the official PDF preview, plus PDF tools for the model (page map, full-text search, page text and 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/Strepsiades2/dsh-book-reader.git"
21
+ },
22
+ "homepage": "https://github.com/Strepsiades2/dsh-book-reader#readme",
23
+ "bugs": {
24
+ "url": "https://github.com/Strepsiades2/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
+ }