dsh-happy-reader 0.0.0-stage → 0.2.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/LICENSE +21 -0
- package/README.md +124 -2
- package/cordis.patch.yml +9 -0
- package/lib/client.js +2480 -0
- package/lib/index.js +12 -0
- package/package.json +44 -4
package/lib/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// dsh-happy-reader(Happy Reader)—— 宿主(Node)半边
|
|
2
|
+
//
|
|
3
|
+
// 宿主侧当前不做任何事:本文件只需能被应用加载器成功导入。
|
|
4
|
+
// 浏览器半边(lib/client.js)由应用启动扫描按 package.json 的 dsh.client
|
|
5
|
+
// 声明自动发现,无需任何额外注册。
|
|
6
|
+
|
|
7
|
+
export const name = 'dsh-happy-reader'
|
|
8
|
+
|
|
9
|
+
export function apply() {
|
|
10
|
+
// 加载即打印一行,便于在宿主侧诊断里确认插件被加载(不影响任何功能)
|
|
11
|
+
console.log('[dsh-happy-reader] 宿主半边已加载')
|
|
12
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-happy-reader",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "Happy Reader(阅读增强):隐藏输入框 / 上边栏、全屏切换、字号 10–40px、行距/字距微调、面板可拖动可拉高、复制为 Markdown(公式→LaTeX)、内容宽度扩展、中英文分别选正文字体 + 代码字体(仅列本机已装)—— 与官方设置协同,不冲突",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Richardwongyk",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/Richardwongyk/dsh-happy-reader.git"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://github.com/Richardwongyk/dsh-happy-reader#readme",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"deepseek-harness",
|
|
15
|
+
"dsh",
|
|
16
|
+
"dsh-plugin",
|
|
17
|
+
"plugin",
|
|
18
|
+
"reader",
|
|
19
|
+
"reading",
|
|
20
|
+
"typography",
|
|
21
|
+
"fullscreen",
|
|
22
|
+
"electron"
|
|
23
|
+
],
|
|
24
|
+
"main": "lib/index.js",
|
|
25
|
+
"exports": {
|
|
26
|
+
".": "./lib/index.js",
|
|
27
|
+
"./client": "./lib/client.js",
|
|
28
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
29
|
+
"./package.json": "./package.json"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"lib",
|
|
33
|
+
"cordis.patch.yml",
|
|
34
|
+
"README.md",
|
|
35
|
+
"LICENSE"
|
|
36
|
+
],
|
|
37
|
+
"dsh": {
|
|
38
|
+
"bundle": {
|
|
39
|
+
"patch": "./cordis.patch.yml"
|
|
40
|
+
},
|
|
41
|
+
"client": {
|
|
42
|
+
"platform": "web",
|
|
43
|
+
"immediately": true
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|