dsh-reading-focus 0.0.0-stage → 0.8.4

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/lib/index.js ADDED
@@ -0,0 +1 @@
1
+ export function apply() {}
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Reading Focus",
4
+ "description": "Adds reading aids to the chat transcript: gradient text, a reading ruler, line and block focus, and colour bands. Visual only — the message text, selection and copy are untouched. Enable it under Settings → Reading Focus; the five modes and their own controls live in the same panel."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "阅读辅助",
4
+ "description": "为聊天正文增加阅读辅助:渐变文字、阅读尺、逐行聚焦、段落聚焦和色块分段。只做视觉叠加,不改正文、不影响选择和复制。在「设置 → 阅读辅助」里开启,五种模式与参数都在同一个面板里。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,71 @@
1
1
  {
2
2
  "name": "dsh-reading-focus",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.8.4",
4
+ "description": "Reading focus overlays for DSH: gradient text, ruler, line and block focus, colour bands",
5
+ "author": "dsh-reading-focus contributors",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/smallflycar/dsh-reading-focus.git"
9
+ },
10
+ "homepage": "https://github.com/smallflycar/dsh-reading-focus#readme",
11
+ "bugs": {
12
+ "url": "https://github.com/smallflycar/dsh-reading-focus/issues"
13
+ },
14
+ "type": "module",
15
+ "main": "./lib/index.js",
16
+ "exports": {
17
+ ".": "./lib/index.js",
18
+ "./client": "./lib/client.js",
19
+ "./icon": "./icon.svg",
20
+ "./locale/*.json": "./locale/*.json",
21
+ "./package.json": "./package.json",
22
+ "./cordis.patch.yml": "./cordis.patch.yml"
23
+ },
24
+ "files": [
25
+ "lib",
26
+ "locale",
27
+ "cordis.patch.yml",
28
+ "icon.svg",
29
+ "README.md",
30
+ "preview.html"
31
+ ],
32
+ "engines": {
33
+ "dsh": ">=0.2.2-rc.3 <0.3.0"
34
+ },
35
+ "keywords": [
36
+ "dsh",
37
+ "dsh-plugin",
38
+ "deepseek-harness",
39
+ "reading",
40
+ "adhd",
41
+ "focus",
42
+ "accessibility"
43
+ ],
44
+ "license": "MIT",
45
+ "scripts": {
46
+ "build": "node build.mjs",
47
+ "pretest": "node build.mjs",
48
+ "test": "node test/plugin.test.mjs",
49
+ "pretest:browser": "node build.mjs",
50
+ "test:browser": "node test/browser-validation.mjs",
51
+ "pretest:browser:geometry": "node build.mjs",
52
+ "test:browser:geometry": "node test/conversation-regression.mjs",
53
+ "prepack": "node build.mjs",
54
+ "pack": "node -e \"require('node:fs').mkdirSync('dist',{recursive:true})\" && npm pack --pack-destination dist"
55
+ },
56
+ "dsh": {
57
+ "client": {
58
+ "platform": "web",
59
+ "immediately": true,
60
+ "inject": [
61
+ "@deepseek-ai/dsh-client-ui-settings"
62
+ ],
63
+ "external": [
64
+ "react"
65
+ ]
66
+ },
67
+ "bundle": {
68
+ "patch": "./cordis.patch.yml"
69
+ }
70
+ }
71
+ }