dsh-tidy-display 0.3.1 → 0.4.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.
Files changed (60) hide show
  1. package/CHANGELOG.de.md +4 -4
  2. package/CHANGELOG.es.md +4 -4
  3. package/CHANGELOG.fr.md +4 -4
  4. package/CHANGELOG.it.md +4 -4
  5. package/CHANGELOG.md +15 -10
  6. package/CHANGELOG.ru.md +4 -4
  7. package/README.de.md +5 -5
  8. package/README.en.md +5 -5
  9. package/README.es.md +5 -5
  10. package/README.fr.md +5 -5
  11. package/README.it.md +5 -5
  12. package/README.md +5 -5
  13. package/README.ru.md +5 -5
  14. package/compat/harness-020rc2.json +99 -99
  15. package/lib/client.js +733 -420
  16. package/lib/client.js.map +1 -1
  17. package/lib/types/client/Reader.d.ts.map +1 -1
  18. package/lib/types/client/Reader.js +10 -6
  19. package/lib/types/client/Reader.js.map +1 -1
  20. package/lib/types/client/ReasoningCard.d.ts +2 -1
  21. package/lib/types/client/ReasoningCard.d.ts.map +1 -1
  22. package/lib/types/client/ReasoningCard.js +26 -4
  23. package/lib/types/client/ReasoningCard.js.map +1 -1
  24. package/lib/types/client/SettingsSection.d.ts +2 -0
  25. package/lib/types/client/SettingsSection.d.ts.map +1 -1
  26. package/lib/types/client/SettingsSection.js +2 -1
  27. package/lib/types/client/SettingsSection.js.map +1 -1
  28. package/lib/types/client/family-host.d.ts +51 -0
  29. package/lib/types/client/family-host.d.ts.map +1 -0
  30. package/lib/types/client/family-host.js +147 -0
  31. package/lib/types/client/family-host.js.map +1 -0
  32. package/lib/types/client/settings-copy.d.ts +1 -1
  33. package/lib/types/client/settings-copy.d.ts.map +1 -1
  34. package/lib/types/client/settings-copy.js +18 -0
  35. package/lib/types/client/settings-copy.js.map +1 -1
  36. package/lib/types/client/settings.d.ts.map +1 -1
  37. package/lib/types/client/settings.js +18 -8
  38. package/lib/types/client/settings.js.map +1 -1
  39. package/lib/types/client/store.d.ts +6 -0
  40. package/lib/types/client/store.d.ts.map +1 -1
  41. package/lib/types/client/store.js +2 -0
  42. package/lib/types/client/store.js.map +1 -1
  43. package/lib/types/client/types.d.ts +1 -0
  44. package/lib/types/client/types.d.ts.map +1 -1
  45. package/package.json +184 -183
  46. package/scripts/hosts.mjs +80 -80
  47. package/scripts/sync-hosts.mjs +170 -170
  48. package/scripts/test-host-compat.mjs +378 -378
  49. package/src/client/Reader.tsx +805 -801
  50. package/src/client/ReasoningCard.tsx +23 -5
  51. package/src/client/SettingsSection.tsx +19 -0
  52. package/src/client/family-host.ts +198 -0
  53. package/src/client/index.tsx +306 -306
  54. package/src/client/locales.ts +2422 -2422
  55. package/src/client/projection.ts +1 -1
  56. package/src/client/settings-copy.ts +100 -80
  57. package/src/client/settings.tsx +28 -10
  58. package/src/client/store.ts +11 -3
  59. package/src/client/types.ts +1 -0
  60. package/tests/browser-fold-scroll-issue.tsx +45 -45
package/package.json CHANGED
@@ -1,183 +1,184 @@
1
- {
2
- "name": "dsh-tidy-display",
3
- "version": "0.3.1",
4
- "description": "One plugin for a calmer DeepSeek Harness: reading view + message rail + smart history loading, for Harness 0.1.0-0.2.0 (all rc).",
5
- "type": "module",
6
- "license": "MIT",
7
- "publishConfig": {
8
- "registry": "https://registry.npmjs.org",
9
- "access": "public",
10
- "tag": "dsh-0.2.0"
11
- },
12
- "main": "lib/dsh-tidy-display.js",
13
- "types": "lib/types/dsh-tidy-display.d.ts",
14
- "exports": {
15
- ".": {
16
- "types": "./lib/types/dsh-tidy-display.d.ts",
17
- "default": "./lib/dsh-tidy-display.js"
18
- },
19
- "./client": {
20
- "types": "./lib/types/client/index.d.ts",
21
- "default": "./lib/client.js"
22
- },
23
- "./package.json": "./package.json"
24
- },
25
- "dsh": {
26
- "bundle": {
27
- "patch": "./cordis.patch.yml"
28
- },
29
- "client": {
30
- "platform": "web",
31
- "inject": [
32
- "@deepseek-ai/dsh-api-session-controller",
33
- "@deepseek-ai/dsh-client-ui-chat",
34
- "@deepseek-ai/dsh-client-ui-conversation",
35
- "@deepseek-ai/dsh-client-ui-renderer",
36
- "@deepseek-ai/dsh-client-ui-session"
37
- ]
38
- }
39
- },
40
- "scripts": {
41
- "build": "node scripts/check-harness-compat.mjs && tsc -p tsconfig.json && tsdown",
42
- "check:harness": "node scripts/check-harness-compat.mjs",
43
- "test:official": "node scripts/verify-official-bridge.mjs",
44
- "test:auto-fold": "node scripts/verify-auto-fold.mjs",
45
- "typecheck": "tsc -p tsconfig.json --noEmit",
46
- "test": "node --import tsx/esm --test tests/*.test.ts",
47
- "link:harness": "node scripts/link-harness-dependencies.mjs",
48
- "lint": "eslint .",
49
- "check": "npm run typecheck && npm run lint && npm test",
50
- "prepack": "npm run build"
51
- },
52
- "peerDependencies": {
53
- "@deepseek-ai/cordis": "^4.0.2",
54
- "@deepseek-ai/dsh-api-session-controller": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
55
- "@deepseek-ai/dsh-attachment": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
56
- "@deepseek-ai/dsh-client-store": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
57
- "@deepseek-ai/dsh-client-ui-chat": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
58
- "@deepseek-ai/dsh-client-ui-conversation": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
59
- "@deepseek-ai/dsh-client-ui-primitives": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
60
- "@deepseek-ai/dsh-client-ui-renderer": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
61
- "@deepseek-ai/dsh-client-ui-session": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
62
- "@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
63
- "@deepseek-ai/dsh-client-ui-tool": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
64
- "@deepseek-ai/dsh-session": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
65
- "@deepseek-ai/dsh-util-workspace-path": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
66
- "react": "^18.2.0"
67
- },
68
- "devDependencies": {
69
- "@deepseek-ai/dsh-api-remotes": "0.2.0-rc.2",
70
- "@deepseek-ai/dsh-api-session-controller": "0.2.0-rc.2",
71
- "@deepseek-ai/dsh-client-connection": "0.2.0-rc.2",
72
- "@deepseek-ai/dsh-session-turn-outline": "0.2.0-rc.2",
73
- "@eslint/js": "^10.0.1",
74
- "@types/mdast": "^4.0.4",
75
- "@types/node": "^22.20.0",
76
- "@types/react": "~18.3.1",
77
- "eslint": "^10.11.0",
78
- "globals": "^17.12.0",
79
- "lightningcss": "^1.33.0",
80
- "tsdown": "^0.22.2",
81
- "tsx": "^4.22.4",
82
- "typescript": "^6.0.3",
83
- "typescript-eslint": "^8.70.1",
84
- "@deepseek-ai/schemastery": "^3.18.4"
85
- },
86
- "dependencies": {
87
- "clsx": "^2.0.0",
88
- "katex": "^0.16.47",
89
- "mdast-util-from-markdown": "^2.0.3",
90
- "mdast-util-gfm": "^3.1.0",
91
- "mdast-util-math": "^3.0.0",
92
- "micromark-core-commonmark": "^2.0.3",
93
- "micromark-extension-gfm": "^3.0.0",
94
- "micromark-extension-math": "^3.1.0",
95
- "micromark-factory-space": "^2.0.1",
96
- "micromark-util-character": "^2.1.1",
97
- "micromark-util-classify-character": "^2.0.1",
98
- "micromark-util-sanitize-uri": "^2.0.1",
99
- "micromark-util-symbol": "^2.0.1",
100
- "micromark-util-types": "^2.0.2"
101
- },
102
- "files": [
103
- "lib",
104
- "skills",
105
- "src",
106
- "tests",
107
- "scripts",
108
- "cordis.yml",
109
- "cordis.patch.yml",
110
- "dshx.yml",
111
- "tsconfig.json",
112
- "tsdown.config.ts",
113
- "README.md",
114
- "README.*.md",
115
- "CHANGELOG.md",
116
- "CHANGELOG.*.md",
117
- "DESIGN.md",
118
- "LICENSE",
119
- "THIRD_PARTY_NOTICES.md",
120
- "compat",
121
- "docs"
122
- ],
123
- "engines": {
124
- "node": "^22.19.0 || >=24.0.0",
125
- "dsh": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2"
126
- },
127
- "repository": {
128
- "type": "git",
129
- "url": "git+https://github.com/drscrewdriver/dsh-tidy-display.git"
130
- },
131
- "homepage": "https://github.com/drscrewdriver/dsh-tidy-display#readme",
132
- "bugs": {
133
- "url": "https://github.com/drscrewdriver/dsh-tidy-display/issues"
134
- },
135
- "keywords": [
136
- "deepseek-harness",
137
- "dsh",
138
- "dsh-plugin",
139
- "dshx",
140
- "conversation",
141
- "reasoning",
142
- "streaming",
143
- "accessibility"
144
- ],
145
- "peerDependenciesMeta": {
146
- "@deepseek-ai/dsh-api-session-controller": {
147
- "optional": true
148
- },
149
- "@deepseek-ai/dsh-attachment": {
150
- "optional": true
151
- },
152
- "@deepseek-ai/dsh-client-store": {
153
- "optional": true
154
- },
155
- "@deepseek-ai/dsh-client-ui-chat": {
156
- "optional": true
157
- },
158
- "@deepseek-ai/dsh-client-ui-conversation": {
159
- "optional": true
160
- },
161
- "@deepseek-ai/dsh-client-ui-primitives": {
162
- "optional": true
163
- },
164
- "@deepseek-ai/dsh-client-ui-renderer": {
165
- "optional": true
166
- },
167
- "@deepseek-ai/dsh-client-ui-session": {
168
- "optional": true
169
- },
170
- "@deepseek-ai/dsh-client-ui-slots": {
171
- "optional": true
172
- },
173
- "@deepseek-ai/dsh-client-ui-tool": {
174
- "optional": true
175
- },
176
- "@deepseek-ai/dsh-session": {
177
- "optional": true
178
- },
179
- "@deepseek-ai/dsh-util-workspace-path": {
180
- "optional": true
181
- }
182
- }
183
- }
1
+ {
2
+ "name": "dsh-tidy-display",
3
+ "version": "0.4.0",
4
+ "description": "One plugin for a calmer DeepSeek Harness: reading view + message rail + smart history loading, for Harness 0.1.0-0.2.0 (all rc).",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "publishConfig": {
8
+ "registry": "https://registry.npmjs.org",
9
+ "access": "public",
10
+ "tag": "latest"
11
+ },
12
+ "main": "lib/dsh-tidy-display.js",
13
+ "types": "lib/types/dsh-tidy-display.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "types": "./lib/types/dsh-tidy-display.d.ts",
17
+ "default": "./lib/dsh-tidy-display.js"
18
+ },
19
+ "./client": {
20
+ "types": "./lib/types/client/index.d.ts",
21
+ "default": "./lib/client.js"
22
+ },
23
+ "./package.json": "./package.json"
24
+ },
25
+ "dsh": {
26
+ "bundle": {
27
+ "patch": "./cordis.patch.yml"
28
+ },
29
+ "client": {
30
+ "platform": "web",
31
+ "inject": [
32
+ "@deepseek-ai/dsh-api-session-controller",
33
+ "@deepseek-ai/dsh-client-ui-chat",
34
+ "@deepseek-ai/dsh-client-ui-conversation",
35
+ "@deepseek-ai/dsh-client-ui-renderer",
36
+ "@deepseek-ai/dsh-client-ui-session"
37
+ ]
38
+ }
39
+ },
40
+ "scripts": {
41
+ "build": "node scripts/check-harness-compat.mjs && tsc -p tsconfig.json && tsdown",
42
+ "check:harness": "node scripts/check-harness-compat.mjs",
43
+ "test:official": "node scripts/verify-official-bridge.mjs",
44
+ "test:auto-fold": "node scripts/verify-auto-fold.mjs",
45
+ "typecheck": "tsc -p tsconfig.json --noEmit",
46
+ "test": "node --import tsx/esm --test tests/*.test.ts",
47
+ "link:harness": "node scripts/link-harness-dependencies.mjs",
48
+ "lint": "eslint .",
49
+ "check": "npm run typecheck && npm run lint && npm test",
50
+ "prepack": "npm run build"
51
+ },
52
+ "peerDependencies": {
53
+ "@deepseek-ai/cordis": "^4.0.2",
54
+ "@deepseek-ai/dsh-api-session-controller": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
55
+ "@deepseek-ai/dsh-attachment": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
56
+ "@deepseek-ai/dsh-client-store": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
57
+ "@deepseek-ai/dsh-client-ui-chat": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
58
+ "@deepseek-ai/dsh-client-ui-conversation": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
59
+ "@deepseek-ai/dsh-client-ui-primitives": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
60
+ "@deepseek-ai/dsh-client-ui-renderer": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
61
+ "@deepseek-ai/dsh-client-ui-session": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
62
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
63
+ "@deepseek-ai/dsh-client-ui-tool": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
64
+ "@deepseek-ai/dsh-session": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
65
+ "@deepseek-ai/dsh-util-workspace-path": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
66
+ "react": "^18.2.0"
67
+ },
68
+ "devDependencies": {
69
+ "@deepseek-ai/dsh-api-remotes": "0.2.0-rc.2",
70
+ "@deepseek-ai/dsh-api-session-controller": "0.2.0-rc.2",
71
+ "@deepseek-ai/dsh-client-connection": "0.2.0-rc.2",
72
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.2",
73
+ "@deepseek-ai/dsh-session-turn-outline": "0.2.0-rc.2",
74
+ "@eslint/js": "^10.0.1",
75
+ "@types/mdast": "^4.0.4",
76
+ "@types/node": "^22.20.0",
77
+ "@types/react": "~18.3.1",
78
+ "eslint": "^10.11.0",
79
+ "globals": "^17.12.0",
80
+ "lightningcss": "^1.33.0",
81
+ "tsdown": "^0.22.2",
82
+ "tsx": "^4.22.4",
83
+ "typescript": "^6.0.3",
84
+ "typescript-eslint": "^8.70.1",
85
+ "@deepseek-ai/schemastery": "^3.18.4"
86
+ },
87
+ "dependencies": {
88
+ "clsx": "^2.0.0",
89
+ "katex": "^0.16.47",
90
+ "mdast-util-from-markdown": "^2.0.3",
91
+ "mdast-util-gfm": "^3.1.0",
92
+ "mdast-util-math": "^3.0.0",
93
+ "micromark-core-commonmark": "^2.0.3",
94
+ "micromark-extension-gfm": "^3.0.0",
95
+ "micromark-extension-math": "^3.1.0",
96
+ "micromark-factory-space": "^2.0.1",
97
+ "micromark-util-character": "^2.1.1",
98
+ "micromark-util-classify-character": "^2.0.1",
99
+ "micromark-util-sanitize-uri": "^2.0.1",
100
+ "micromark-util-symbol": "^2.0.1",
101
+ "micromark-util-types": "^2.0.2"
102
+ },
103
+ "files": [
104
+ "lib",
105
+ "skills",
106
+ "src",
107
+ "tests",
108
+ "scripts",
109
+ "cordis.yml",
110
+ "cordis.patch.yml",
111
+ "dshx.yml",
112
+ "tsconfig.json",
113
+ "tsdown.config.ts",
114
+ "README.md",
115
+ "README.*.md",
116
+ "CHANGELOG.md",
117
+ "CHANGELOG.*.md",
118
+ "DESIGN.md",
119
+ "LICENSE",
120
+ "THIRD_PARTY_NOTICES.md",
121
+ "compat",
122
+ "docs"
123
+ ],
124
+ "engines": {
125
+ "node": "^22.19.0 || >=24.0.0",
126
+ "dsh": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2"
127
+ },
128
+ "repository": {
129
+ "type": "git",
130
+ "url": "git+https://github.com/drscrewdriver/dsh-tidy-display.git"
131
+ },
132
+ "homepage": "https://github.com/drscrewdriver/dsh-tidy-display#readme",
133
+ "bugs": {
134
+ "url": "https://github.com/drscrewdriver/dsh-tidy-display/issues"
135
+ },
136
+ "keywords": [
137
+ "deepseek-harness",
138
+ "dsh",
139
+ "dsh-plugin",
140
+ "dshx",
141
+ "conversation",
142
+ "reasoning",
143
+ "streaming",
144
+ "accessibility"
145
+ ],
146
+ "peerDependenciesMeta": {
147
+ "@deepseek-ai/dsh-api-session-controller": {
148
+ "optional": true
149
+ },
150
+ "@deepseek-ai/dsh-attachment": {
151
+ "optional": true
152
+ },
153
+ "@deepseek-ai/dsh-client-store": {
154
+ "optional": true
155
+ },
156
+ "@deepseek-ai/dsh-client-ui-chat": {
157
+ "optional": true
158
+ },
159
+ "@deepseek-ai/dsh-client-ui-conversation": {
160
+ "optional": true
161
+ },
162
+ "@deepseek-ai/dsh-client-ui-primitives": {
163
+ "optional": true
164
+ },
165
+ "@deepseek-ai/dsh-client-ui-renderer": {
166
+ "optional": true
167
+ },
168
+ "@deepseek-ai/dsh-client-ui-session": {
169
+ "optional": true
170
+ },
171
+ "@deepseek-ai/dsh-client-ui-slots": {
172
+ "optional": true
173
+ },
174
+ "@deepseek-ai/dsh-client-ui-tool": {
175
+ "optional": true
176
+ },
177
+ "@deepseek-ai/dsh-session": {
178
+ "optional": true
179
+ },
180
+ "@deepseek-ai/dsh-util-workspace-path": {
181
+ "optional": true
182
+ }
183
+ }
184
+ }
package/scripts/hosts.mjs CHANGED
@@ -1,80 +1,80 @@
1
- /**
2
- * hosts.mjs —— 宿主版本枚举的**唯一事实源**。
3
- *
4
- * 迁移基线:improve-dsh-plugins/enum-peer-migration/INDEX.md §A;
5
- * 枚举口径(2026-10-04 用户指令,沿 dsh-date-wrapper P0 试点先例):
6
- * **起步即全量收入 npm 上六条线(0.1.0/0.1.1/0.1.2/0.1.5/0.1.7/0.2.0)的全部 rc**
7
- * (2026-10-04 对 @deepseek-ai/dsh 及全部 12 个 peer 子包逐一 npm 实测;0.1.3-alpha.2
8
- * 与 0.1.6-alpha.1/2 为未成线 alpha,不入列),由本地隔离矩阵逐格验证后**删红留绿**;
9
- * 矩阵结论落 `.compat-results/`。
10
- * 升级流程:本数组加版本 → `node scripts/sync-hosts.mjs --write` → 矩阵绿 → 发版。
11
- *
12
- * 本数组与由它生成的声明写点(package.json peerDependencies 的 12 个 dsh-* 项 /
13
- * package.json engines.dsh / 各 README 的 host-compat 管理块)**禁止手改**,
14
- * 由 sync-hosts.mjs 校验/下发。cordis 与 react 例外(见 cordisRange 注释)。
15
- */
16
-
17
- /** 全部声明支持的宿主 rc(冻结;新增只在此处追加)。 */
18
- export const supportedHosts = Object.freeze([
19
- // 0.1.0 线(5 个 rc)
20
- '0.1.0-rc.2',
21
- '0.1.0-rc.3',
22
- '0.1.0-rc.6',
23
- '0.1.0-rc.7',
24
- '0.1.0-rc.8',
25
- // 0.1.1 线(2 个 rc)
26
- '0.1.1-rc.1',
27
- '0.1.1-rc.2',
28
- // 0.1.2 线(1 个 rc)
29
- '0.1.2-rc.1',
30
- // 0.1.5 线(3 个 rc)
31
- '0.1.5-rc.1',
32
- '0.1.5-rc.2',
33
- '0.1.5-rc.3',
34
- // 0.1.7 线(2 个 rc)
35
- '0.1.7-rc.1',
36
- '0.1.7-rc.2',
37
- // 0.2.0 线(2 个 rc)
38
- '0.2.0-rc.1',
39
- '0.2.0-rc.2',
40
- ])
41
-
42
- /** peerDependencies / engines.dsh 共用的枚举串(精确枚举无暗坑,INDEX §B)。 */
43
- export const peerRange = supportedHosts.join(' || ')
44
-
45
- /** 本地开发与矩阵默认宿主(devDependencies 若引入宿主包一律钉这里)。 */
46
- export const developmentHost = '0.2.0-rc.2'
47
-
48
- /**
49
- * peer 闸指向的宿主子包(本插件消费的全部宿主面:peerDependencies 里的 12 个
50
- * `@deepseek-ai/dsh-*` 项;`cordis` 与 `react` 不在其中——见各自注释)。
51
- *
52
- * 机制事实(2026-10-04 对宿主 app-boot/src/plugin-compatibility.ts 逐行核实,
53
- * 0.1.7-rc.2 源码):宿主 peer 闸把**每一个** dsh-* peer 的范围拿去匹配
54
- * **宿主运行时版本**(semver.satisfies + includePrerelease),既不按包名跳过、
55
- * 也不按子包自身版本比对——因此若像 arrowkey-nav 那样按“包存在线”拆分范围,
56
- * 0.1.0/0.1.1 宿主会因 client-store 等项的窄枚举被整体拒载。要覆盖全部 15 rc,
57
- * 12 项 peer 必须都携带**全量枚举**;“某子包在老线不存在”由矩阵的运行时断言
58
- * (client inject / 路由探针)裁决,不由声明面预判。
59
- */
60
- export const hostPeerPackages = Object.freeze([
61
- '@deepseek-ai/dsh-api-session-controller',
62
- '@deepseek-ai/dsh-attachment',
63
- '@deepseek-ai/dsh-client-store',
64
- '@deepseek-ai/dsh-client-ui-chat',
65
- '@deepseek-ai/dsh-client-ui-conversation',
66
- '@deepseek-ai/dsh-client-ui-primitives',
67
- '@deepseek-ai/dsh-client-ui-renderer',
68
- '@deepseek-ai/dsh-client-ui-session',
69
- '@deepseek-ai/dsh-client-ui-slots',
70
- '@deepseek-ai/dsh-client-ui-tool',
71
- '@deepseek-ai/dsh-session',
72
- '@deepseek-ai/dsh-util-workspace-path',
73
- ])
74
-
75
- /**
76
- * cordis 的 peer:宿主 0.1.7+ 线依赖 cordis ~4.0.4,更早线锁 ~4.0.2(INDEX §A
77
- * 铁律),故放宽为 ^4.0.2 横跨两代——cordis 版本不随宿主 rc 逐版发布,不适用
78
- * 枚举法。react 为上游生态 peer,保持 ^18.2.0 不动。
79
- */
80
- export const cordisRange = '^4.0.2'
1
+ /**
2
+ * hosts.mjs —— 宿主版本枚举的**唯一事实源**。
3
+ *
4
+ * 迁移基线:improve-dsh-plugins/enum-peer-migration/INDEX.md §A;
5
+ * 枚举口径(2026-10-04 用户指令,沿 dsh-date-wrapper P0 试点先例):
6
+ * **起步即全量收入 npm 上六条线(0.1.0/0.1.1/0.1.2/0.1.5/0.1.7/0.2.0)的全部 rc**
7
+ * (2026-10-04 对 @deepseek-ai/dsh 及全部 12 个 peer 子包逐一 npm 实测;0.1.3-alpha.2
8
+ * 与 0.1.6-alpha.1/2 为未成线 alpha,不入列),由本地隔离矩阵逐格验证后**删红留绿**;
9
+ * 矩阵结论落 `.compat-results/`。
10
+ * 升级流程:本数组加版本 → `node scripts/sync-hosts.mjs --write` → 矩阵绿 → 发版。
11
+ *
12
+ * 本数组与由它生成的声明写点(package.json peerDependencies 的 12 个 dsh-* 项 /
13
+ * package.json engines.dsh / 各 README 的 host-compat 管理块)**禁止手改**,
14
+ * 由 sync-hosts.mjs 校验/下发。cordis 与 react 例外(见 cordisRange 注释)。
15
+ */
16
+
17
+ /** 全部声明支持的宿主 rc(冻结;新增只在此处追加)。 */
18
+ export const supportedHosts = Object.freeze([
19
+ // 0.1.0 线(5 个 rc)
20
+ '0.1.0-rc.2',
21
+ '0.1.0-rc.3',
22
+ '0.1.0-rc.6',
23
+ '0.1.0-rc.7',
24
+ '0.1.0-rc.8',
25
+ // 0.1.1 线(2 个 rc)
26
+ '0.1.1-rc.1',
27
+ '0.1.1-rc.2',
28
+ // 0.1.2 线(1 个 rc)
29
+ '0.1.2-rc.1',
30
+ // 0.1.5 线(3 个 rc)
31
+ '0.1.5-rc.1',
32
+ '0.1.5-rc.2',
33
+ '0.1.5-rc.3',
34
+ // 0.1.7 线(2 个 rc)
35
+ '0.1.7-rc.1',
36
+ '0.1.7-rc.2',
37
+ // 0.2.0 线(2 个 rc)
38
+ '0.2.0-rc.1',
39
+ '0.2.0-rc.2',
40
+ ])
41
+
42
+ /** peerDependencies / engines.dsh 共用的枚举串(精确枚举无暗坑,INDEX §B)。 */
43
+ export const peerRange = supportedHosts.join(' || ')
44
+
45
+ /** 本地开发与矩阵默认宿主(devDependencies 若引入宿主包一律钉这里)。 */
46
+ export const developmentHost = '0.2.0-rc.2'
47
+
48
+ /**
49
+ * peer 闸指向的宿主子包(本插件消费的全部宿主面:peerDependencies 里的 12 个
50
+ * `@deepseek-ai/dsh-*` 项;`cordis` 与 `react` 不在其中——见各自注释)。
51
+ *
52
+ * 机制事实(2026-10-04 对宿主 app-boot/src/plugin-compatibility.ts 逐行核实,
53
+ * 0.1.7-rc.2 源码):宿主 peer 闸把**每一个** dsh-* peer 的范围拿去匹配
54
+ * **宿主运行时版本**(semver.satisfies + includePrerelease),既不按包名跳过、
55
+ * 也不按子包自身版本比对——因此若像 arrowkey-nav 那样按“包存在线”拆分范围,
56
+ * 0.1.0/0.1.1 宿主会因 client-store 等项的窄枚举被整体拒载。要覆盖全部 15 rc,
57
+ * 12 项 peer 必须都携带**全量枚举**;“某子包在老线不存在”由矩阵的运行时断言
58
+ * (client inject / 路由探针)裁决,不由声明面预判。
59
+ */
60
+ export const hostPeerPackages = Object.freeze([
61
+ '@deepseek-ai/dsh-api-session-controller',
62
+ '@deepseek-ai/dsh-attachment',
63
+ '@deepseek-ai/dsh-client-store',
64
+ '@deepseek-ai/dsh-client-ui-chat',
65
+ '@deepseek-ai/dsh-client-ui-conversation',
66
+ '@deepseek-ai/dsh-client-ui-primitives',
67
+ '@deepseek-ai/dsh-client-ui-renderer',
68
+ '@deepseek-ai/dsh-client-ui-session',
69
+ '@deepseek-ai/dsh-client-ui-slots',
70
+ '@deepseek-ai/dsh-client-ui-tool',
71
+ '@deepseek-ai/dsh-session',
72
+ '@deepseek-ai/dsh-util-workspace-path',
73
+ ])
74
+
75
+ /**
76
+ * cordis 的 peer:宿主 0.1.7+ 线依赖 cordis ~4.0.4,更早线锁 ~4.0.2(INDEX §A
77
+ * 铁律),故放宽为 ^4.0.2 横跨两代——cordis 版本不随宿主 rc 逐版发布,不适用
78
+ * 枚举法。react 为上游生态 peer,保持 ^18.2.0 不动。
79
+ */
80
+ export const cordisRange = '^4.0.2'