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.
- package/CHANGELOG.de.md +4 -4
- package/CHANGELOG.es.md +4 -4
- package/CHANGELOG.fr.md +4 -4
- package/CHANGELOG.it.md +4 -4
- package/CHANGELOG.md +15 -10
- package/CHANGELOG.ru.md +4 -4
- package/README.de.md +5 -5
- package/README.en.md +5 -5
- package/README.es.md +5 -5
- package/README.fr.md +5 -5
- package/README.it.md +5 -5
- package/README.md +5 -5
- package/README.ru.md +5 -5
- package/compat/harness-020rc2.json +99 -99
- package/lib/client.js +733 -420
- package/lib/client.js.map +1 -1
- package/lib/types/client/Reader.d.ts.map +1 -1
- package/lib/types/client/Reader.js +10 -6
- package/lib/types/client/Reader.js.map +1 -1
- package/lib/types/client/ReasoningCard.d.ts +2 -1
- package/lib/types/client/ReasoningCard.d.ts.map +1 -1
- package/lib/types/client/ReasoningCard.js +26 -4
- package/lib/types/client/ReasoningCard.js.map +1 -1
- package/lib/types/client/SettingsSection.d.ts +2 -0
- package/lib/types/client/SettingsSection.d.ts.map +1 -1
- package/lib/types/client/SettingsSection.js +2 -1
- package/lib/types/client/SettingsSection.js.map +1 -1
- package/lib/types/client/family-host.d.ts +51 -0
- package/lib/types/client/family-host.d.ts.map +1 -0
- package/lib/types/client/family-host.js +147 -0
- package/lib/types/client/family-host.js.map +1 -0
- package/lib/types/client/settings-copy.d.ts +1 -1
- package/lib/types/client/settings-copy.d.ts.map +1 -1
- package/lib/types/client/settings-copy.js +18 -0
- package/lib/types/client/settings-copy.js.map +1 -1
- package/lib/types/client/settings.d.ts.map +1 -1
- package/lib/types/client/settings.js +18 -8
- package/lib/types/client/settings.js.map +1 -1
- package/lib/types/client/store.d.ts +6 -0
- package/lib/types/client/store.d.ts.map +1 -1
- package/lib/types/client/store.js +2 -0
- package/lib/types/client/store.js.map +1 -1
- package/lib/types/client/types.d.ts +1 -0
- package/lib/types/client/types.d.ts.map +1 -1
- package/package.json +184 -183
- package/scripts/hosts.mjs +80 -80
- package/scripts/sync-hosts.mjs +170 -170
- package/scripts/test-host-compat.mjs +378 -378
- package/src/client/Reader.tsx +805 -801
- package/src/client/ReasoningCard.tsx +23 -5
- package/src/client/SettingsSection.tsx +19 -0
- package/src/client/family-host.ts +198 -0
- package/src/client/index.tsx +306 -306
- package/src/client/locales.ts +2422 -2422
- package/src/client/projection.ts +1 -1
- package/src/client/settings-copy.ts +100 -80
- package/src/client/settings.tsx +28 -10
- package/src/client/store.ts +11 -3
- package/src/client/types.ts +1 -0
- 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.
|
|
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": "
|
|
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-
|
|
73
|
-
"@
|
|
74
|
-
"@
|
|
75
|
-
"@types/
|
|
76
|
-
"@types/
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"typescript
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"mdast-util-
|
|
91
|
-
"mdast-util-
|
|
92
|
-
"
|
|
93
|
-
"micromark-
|
|
94
|
-
"micromark-extension-
|
|
95
|
-
"micromark-
|
|
96
|
-
"micromark-
|
|
97
|
-
"micromark-util-
|
|
98
|
-
"micromark-util-
|
|
99
|
-
"micromark-util-
|
|
100
|
-
"micromark-util-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"cordis.
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"README
|
|
115
|
-
"
|
|
116
|
-
"CHANGELOG
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
"
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
"
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
"
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"
|
|
138
|
-
"dsh
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
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'
|