dsh-dracula-theme 1.0.0 → 1.1.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/README.md +7 -0
- package/README.zh.md +2 -0
- package/lib/client.js +6 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -64,6 +64,13 @@ dsh plugin --profile web add https://github.com/ossFrankFrank/dsh-dracula-theme
|
|
|
64
64
|
|
|
65
65
|
Restart the profile, then pick the skin in **Settings → General → Dracula theme**.
|
|
66
66
|
|
|
67
|
+
> **DSH Desktop 2.0.4+** — DSH client packages moved to `0.1.2-alpha.1`; **1.1.0** is
|
|
68
|
+
> the first release compatible with that host (see CHANGELOG). On DSH Desktop,
|
|
69
|
+
> install from the in-app plugin market instead of the CLI `--profile web` flow
|
|
70
|
+
> (the desktop app now owns its own profile). Installing 1.0.0 on a 2.0.4 host
|
|
71
|
+
> makes the app **fail to start** (plugin client bundle references the removed
|
|
72
|
+
> `@deepseek-ai/dsh-client-runtime` module), so do not install the old version.
|
|
73
|
+
|
|
67
74
|
## Development
|
|
68
75
|
|
|
69
76
|
```sh
|
package/README.zh.md
CHANGED
|
@@ -63,6 +63,8 @@ dsh plugin --profile web add https://github.com/ossFrankFrank/dsh-dracula-theme
|
|
|
63
63
|
|
|
64
64
|
重启 profile 后,在**设置 → 通用 → 德古拉主题**里选择皮肤。
|
|
65
65
|
|
|
66
|
+
> **DSH Desktop 2.0.4+** — DSH 客户端包已升级到 `0.1.2-alpha.1`;**1.1.0** 是与该主机兼容的首个版本(见 CHANGELOG)。在 DSH Desktop 上请通过应用内插件市场安装,而不是原先的 `--profile web` CLI 流程(桌面端现在使用自己的 profile)。在 2.0.4 主机上安装 1.0.0 会导致应用**无法启动**(插件客户端 bundle 引用了已移除的 `@deepseek-ai/dsh-client-runtime` 模块),请勿安装旧版本。
|
|
67
|
+
|
|
66
68
|
## 开发
|
|
67
69
|
|
|
68
70
|
```sh
|
package/lib/client.js
CHANGED
|
@@ -18,7 +18,11 @@ window.__ModuleLoader__.load({
|
|
|
18
18
|
var exports = module.exports;
|
|
19
19
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
20
20
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
21
|
-
|
|
21
|
+
// DSH client packages moved to 0.1.2-alpha.1 in DSH Desktop 2.0.4:
|
|
22
|
+
// `@deepseek-ai/dsh-client-runtime` no longer exists in the web app's
|
|
23
|
+
// seed module table — `defineStore` lives in
|
|
24
|
+
// `@deepseek-ai/dsh-client-store` (a platform seed word).
|
|
25
|
+
let _client_store = require("@deepseek-ai/dsh-client-store");
|
|
22
26
|
|
|
23
27
|
//#region dsh-dracula: definitions
|
|
24
28
|
/** The settings row's locale namespace. */
|
|
@@ -508,7 +512,7 @@ window.__ModuleLoader__.load({
|
|
|
508
512
|
* component reads via props.useStore.
|
|
509
513
|
*/
|
|
510
514
|
function createSkinStore() {
|
|
511
|
-
return (0,
|
|
515
|
+
return (0, _client_store.defineStore)({
|
|
512
516
|
init: () => ({
|
|
513
517
|
skin: DEFAULT_SKIN,
|
|
514
518
|
revision: -1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-dracula-theme",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "🧛 Dracula theme for DeepSeek Harness: the classic dark palette (plus the Soft variant) registered into the built-in theme runtime",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ossFrankFrank",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"client": {
|
|
40
40
|
"inject": [
|
|
41
|
-
"@deepseek-ai/dsh-client-
|
|
41
|
+
"@deepseek-ai/dsh-client-store",
|
|
42
42
|
"@deepseek-ai/dsh-client-locale",
|
|
43
43
|
"@deepseek-ai/dsh-client-ui-theme"
|
|
44
44
|
],
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"react": "^18.2.0",
|
|
51
51
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
52
|
-
"@deepseek-ai/dsh-client-
|
|
53
|
-
"@deepseek-ai/dsh-client-ui-theme": "^0.1.
|
|
54
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.
|
|
55
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.
|
|
52
|
+
"@deepseek-ai/dsh-client-store": "^0.1.2-alpha.1",
|
|
53
|
+
"@deepseek-ai/dsh-client-ui-theme": "^0.1.2-alpha.1",
|
|
54
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.2-alpha.1",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.2-alpha.1"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"generate": "node scripts/gen-themes.mjs"
|
|
59
59
|
}
|
|
60
|
-
}
|
|
60
|
+
}
|