dsh-claude-wallpaper 0.0.0-stage → 0.26.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.en.md +192 -0
- package/README.md +191 -3
- package/cordis.patch.yml +29 -0
- package/docs/CHANGELOG.md +29 -0
- package/lib/assets/012cc14e9f0e.png +0 -0
- package/lib/assets/07ba49c55318.svg.br +0 -0
- package/lib/assets/192fda8da55a.svg.br +0 -0
- package/lib/assets/22360387d0e1.svg.br +0 -0
- package/lib/assets/2d4bd629514d.svg.br +0 -0
- package/lib/assets/2ee5f5c4da8d.png +0 -0
- package/lib/assets/3584a1cea0ef.png +0 -0
- package/lib/assets/3b6d7b199795.svg.br +0 -0
- package/lib/assets/40ad6f7bff18.png +0 -0
- package/lib/assets/467d7763b760.png +0 -0
- package/lib/assets/59c57341b28b.png +0 -0
- package/lib/assets/5ff45ccd6396.svg.br +0 -0
- package/lib/assets/5ffd3420f353.png +0 -0
- package/lib/assets/61494b8e050c.png +0 -0
- package/lib/assets/62647b81453f.svg.br +0 -0
- package/lib/assets/656baa41eef1.png +0 -0
- package/lib/assets/667ef769c4cf.png +0 -0
- package/lib/assets/6cda22c8c355.svg.br +0 -0
- package/lib/assets/6e1d28718c56.png +0 -0
- package/lib/assets/6f19e3c60d66.png +0 -0
- package/lib/assets/737bbc7bac2e.png +0 -0
- package/lib/assets/7f10aaf08b36.svg.br +0 -0
- package/lib/assets/84bc02d65566.svg.br +0 -0
- package/lib/assets/8a2b002872f2.png +0 -0
- package/lib/assets/917b19426a88.svg.br +0 -0
- package/lib/assets/97e74499dffc.png +0 -0
- package/lib/assets/9bad6b536520.png +0 -0
- package/lib/assets/ae2250afa4d4.svg.br +0 -0
- package/lib/assets/aee0b9809ae6.svg.br +0 -0
- package/lib/assets/b523bd91586b.png +0 -0
- package/lib/assets/b5c88fffcd08.svg.br +0 -0
- package/lib/assets/b75776c4e109.png +0 -0
- package/lib/assets/bbb172bc2d30.png +0 -0
- package/lib/assets/bd48fda92d54.svg.br +0 -0
- package/lib/assets/c94f98071b0f.svg.br +0 -0
- package/lib/assets/d0b76604f76f.svg.br +0 -0
- package/lib/assets/e22e8d694fc9.png +0 -0
- package/lib/assets/e4c4d54e666e.svg.br +0 -0
- package/lib/assets/f5ab76c06270.png +0 -0
- package/lib/assets/f78f468b38e7.png +0 -0
- package/lib/assets/manifest.json +205 -0
- package/lib/claude-mark.svg +1 -0
- package/lib/client.ban.js +12 -0
- package/lib/client.chatSend.js +12 -0
- package/lib/client.composerMarkdown.js +357 -0
- package/lib/client.contextStats.js +12 -0
- package/lib/client.js +168 -0
- package/lib/client.mascot.js +12 -0
- package/lib/client.messageActions.js +13 -0
- package/lib/client.search.js +12 -0
- package/lib/client.settings.js +25 -0
- package/lib/client.turnNav.js +12 -0
- package/lib/client.wallpaper-tone.js +143 -0
- package/lib/fonts/ClaudeStylePixel.woff2 +0 -0
- package/lib/fonts/InterVariable.woff2 +0 -0
- package/lib/fonts/JetBrainsMonoItalicVariable.woff2 +0 -0
- package/lib/fonts/JetBrainsMonoVariable.woff2 +0 -0
- package/lib/fonts/NotoSerifVariable.woff2 +0 -0
- package/lib/fonts/OFL.txt +102 -0
- package/lib/host/appearance-overlays.js +851 -0
- package/lib/host/brand-image-shared.js +87 -0
- package/lib/host/brand.js +209 -0
- package/lib/host/branding-presets.js +397 -0
- package/lib/host/fuse.js +144 -0
- package/lib/host/host-services.js +9 -0
- package/lib/host/index.js +58 -0
- package/lib/host/json-document.js +7 -0
- package/lib/host/paths.js +91 -0
- package/lib/host/peakrate-catalog.js +169 -0
- package/lib/host/peakrate.js +142 -0
- package/lib/host/prices-document.js +205 -0
- package/lib/host/prices.js +144 -0
- package/lib/host/refresh-loop.js +43 -0
- package/lib/host/rewind-peer.js +17 -0
- package/lib/host/routes.js +1006 -0
- package/lib/host/search.js +387 -0
- package/lib/host/session-compact.js +55 -0
- package/lib/host/session-cost.js +417 -0
- package/lib/host/session-name.js +31 -0
- package/lib/host/session-panel-context.js +346 -0
- package/lib/host/session-panel-event.js +14 -0
- package/lib/host/session-panel-round.js +67 -0
- package/lib/host/session-panel.js +137 -0
- package/lib/host/session-rewind-config.js +511 -0
- package/lib/host/session-rewind-files.js +50 -0
- package/lib/host/session-rewind-git.js +469 -0
- package/lib/host/session-rewind-maintenance.js +69 -0
- package/lib/host/session-rewind-routes.js +212 -0
- package/lib/host/session-rewind-store.js +279 -0
- package/lib/host/session-rewind.js +621 -0
- package/lib/host/settings.js +506 -0
- package/lib/host/sound.js +54 -0
- package/lib/host/usage-fold.js +204 -0
- package/lib/host/usage-ledger.js +89 -0
- package/lib/host/usage-record.js +172 -0
- package/lib/host/usage-summary.js +129 -0
- package/lib/host/usage.js +731 -0
- package/lib/host/widget-usage.js +170 -0
- package/lib/model-descriptions.json +1033 -0
- package/lib/peakrate-catalog.json +2759 -0
- package/lib/prices.json +2452 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +95 -5
- package/scripts/capture-dsh.ps1 +54 -0
- package/scripts/click-dsh.ps1 +50 -0
- package/scripts/embed-tone.mjs +74 -0
- package/scripts/engine-about.mjs +124 -0
- package/scripts/engine-library-merge.mjs +89 -0
- package/scripts/fuse-wallpaper.mjs +290 -0
- package/scripts/release.mjs +97 -0
- package/scripts/verify-bundle.mjs +187 -0
- package/scripts/verify-fusion.mjs +147 -0
- package/skin.json +11 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 rikuidang
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.en.md
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
# dsh-claude-wallpaper
|
|
2
|
+
|
|
3
|
+
**English** | [简体中文](README.md)
|
|
4
|
+
|
|
5
|
+
A single DeepSeek Harness plugin that merges the [Claude Style](#upstream-projects) theme with the [Wallpaper Engine](#upstream-projects) background stack: one entry in Settings, the Claude Code look on the surface, Wallpaper Engine wallpapers behind it.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Upstream projects
|
|
10
|
+
|
|
11
|
+
This is not a from-scratch project — it is the result of merging two MIT-licensed open source plugins. All credit for the theme and the wallpaper renderer belongs to their authors.
|
|
12
|
+
|
|
13
|
+
| Upstream | Repository | Merged baseline |
|
|
14
|
+
|---|---|---|
|
|
15
|
+
| Claude Style | https://github.com/Nwflower/dsh-claude-style | `dsh-claude-style@0.22.6` |
|
|
16
|
+
| Wallpaper Engine | https://github.com/elysia395/dsh-wallpaper-engine | `dsh-plugin-wallpaper-engine@1.5.2` |
|
|
17
|
+
|
|
18
|
+
Both MIT licences and copyright notices remain in force. See [LICENSE](LICENSE) and [docs/THIRD_PARTY_NOTICES.md](docs/THIRD_PARTY_NOTICES.md).
|
|
19
|
+
|
|
20
|
+
## Why merge
|
|
21
|
+
|
|
22
|
+
Installing both plugins side by side works, but causes three problems:
|
|
23
|
+
|
|
24
|
+
1. **Two entries in Settings** — "Claude Style" and "Wallpaper Engine" sit next to each other, and nobody knows which one owns what.
|
|
25
|
+
2. **Colour clash** — the wallpaper engine ships a "global UI colour" feature that rewrites the host's colour tokens with its own accent. Body-level text (thinking stream, composer hint, file paths) ends up tinted with the accent colour — measured `rgb(117,230,245)`, a cyan — instead of following the theme.
|
|
26
|
+
3. **Duplicate controls** — background opacity, sidebar and corner radius each exist twice.
|
|
27
|
+
|
|
28
|
+
This build fixes all three at once.
|
|
29
|
+
|
|
30
|
+
## What changed
|
|
31
|
+
|
|
32
|
+
### Settings UI
|
|
33
|
+
|
|
34
|
+
- The wallpaper engine **no longer registers its own settings section**. Its settings render inside the Claude Style settings page, as the "壁纸 / Wallpaper" tab.
|
|
35
|
+
- Inside that tab the engine's own "appearance" sub-tab is gone; **theme mode, theme presets, liquid glass and corner radius** are folded directly under the "library" tab.
|
|
36
|
+
- The "typography" and "Beta lab" sub-tabs are removed (the former depends on the fonts subpackage, which is not installed; the latter is experimental inner-corner glass).
|
|
37
|
+
- The "extensions" tab is removed (the avatar / effects / parallax modules used to live there).
|
|
38
|
+
|
|
39
|
+
### Colours
|
|
40
|
+
|
|
41
|
+
The wallpaper engine **can no longer change any text colour**:
|
|
42
|
+
|
|
43
|
+
- The `data-we-ui-color` gate is never attached, so its five rules (link, file path, composer text, caret, business colour) never match;
|
|
44
|
+
- the two rules that assigned `--dsw-alias-label-*` directly (light-mode boost, sidebar fallback) have been emptied;
|
|
45
|
+
- in wallpaper mode the Claude Style label ramp is pinned to white, so the thinking stream no longer samples colour from the wallpaper.
|
|
46
|
+
|
|
47
|
+
### About page
|
|
48
|
+
|
|
49
|
+
- credits are rewritten as upstream attribution plus maintainer credit;
|
|
50
|
+
- the repository link and star button point at this repository.
|
|
51
|
+
|
|
52
|
+
### Kept intact
|
|
53
|
+
|
|
54
|
+
- **Theme**: Claude Code look, brand presets, palettes, typography, composer, session panel, motion, usage and cost, session search / compact / rewind
|
|
55
|
+
- **Wallpaper**: Scene / Web / Video / Image; library, rotation, Steam Workshop download; liquid glass; realtime scene rendering (WebWallGL)
|
|
56
|
+
|
|
57
|
+
## Installation
|
|
58
|
+
|
|
59
|
+
### Requirements
|
|
60
|
+
|
|
61
|
+
| Dependency | Version |
|
|
62
|
+
|---|---|
|
|
63
|
+
| DeepSeek Harness | `>= 0.2.2-rc.3` |
|
|
64
|
+
| Node.js | `>= 22.12.0` |
|
|
65
|
+
|
|
66
|
+
Wallpapers additionally require a local [Wallpaper Engine](https://www.wallpaperengine.io/) installation (Steam) — the plugin discovers wallpapers from the Steam library folders. The plugin installs fine without it; there just won't be any wallpaper sources.
|
|
67
|
+
|
|
68
|
+
### Option 1 — install from a release (recommended)
|
|
69
|
+
|
|
70
|
+
1. Open [Releases](https://github.com/rikuidang/dsh-claude-wallpaper/releases) and download `dsh-claude-wallpaper-<version>.tgz`.
|
|
71
|
+
2. Install that package from the DSH plugin manager ("install from file"), or follow Option 2.
|
|
72
|
+
3. **Wait for the install script to finish.** `postinstall` re-applies the patches to the wallpaper engine's bundle (fusing, colour removal, about page, tab pruning). The log should show:
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
engine: fused / fontcolor: fused / labelblocks: fused(2)
|
|
76
|
+
about-repo: fused(1) / expose-mode: fused
|
|
77
|
+
no-typo-tab: fused / no-beta-tab: fused / no-app-tab: fused / no-ext-tab: fused
|
|
78
|
+
join-group: removed / credits: updated / merge: applied
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Any `anchor missing` line means the pinned upstream text changed and the scripts in `scripts/` need updating.
|
|
82
|
+
4. **Restart DSH**, then reload the UI.
|
|
83
|
+
|
|
84
|
+
### Option 2 — install from npm
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
cd ~/.dsh/profiles/desktop
|
|
88
|
+
pnpm add dsh-claude-wallpaper
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Same as above: make sure `postinstall` ran (the twelve patch lines in the log),
|
|
92
|
+
then restart DSH.
|
|
93
|
+
|
|
94
|
+
### Option 3 — install manually
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
cd ~/.dsh/profiles/desktop
|
|
98
|
+
pnpm add file:/path/to/dsh-claude-wallpaper-<version>.tgz
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Then confirm two things:
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
# 1. the dependency is in the profile
|
|
105
|
+
python -c "import json;print(json.load(open('package.json'))['dependencies'].get('dsh-claude-wallpaper'))"
|
|
106
|
+
|
|
107
|
+
# 2. the patches ran
|
|
108
|
+
cd node_modules/dsh-claude-wallpaper
|
|
109
|
+
npm run fuse && npm run about && npm run merge-library
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
Restart DSH afterwards.
|
|
113
|
+
|
|
114
|
+
### Option 4 — from source
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
git clone https://github.com/rikuidang/dsh-claude-wallpaper.git
|
|
118
|
+
cd dsh-claude-wallpaper
|
|
119
|
+
pnpm pack
|
|
120
|
+
# install the produced tgz as in Option 1
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Do **not** install the source directory with `pnpm link`: the `link:` protocol does not install the linked package's dependencies, and every wallpaper engine row fails with `ERR_MODULE_NOT_FOUND`.
|
|
124
|
+
|
|
125
|
+
### Post-install checklist
|
|
126
|
+
|
|
127
|
+
Open **Settings → Claude Style** and confirm:
|
|
128
|
+
|
|
129
|
+
- [ ] The left navigation has **only** "Claude Style" — no separate "Wallpaper Engine" entry
|
|
130
|
+
- [ ] Tabs are: general / appearance / conversation / input / motion / wallpaper
|
|
131
|
+
- [ ] The appearance tab shows **background opacity** (marked experimental)
|
|
132
|
+
- [ ] The wallpaper tab's tabs are: library / playback / system / about — **no** appearance, no extensions
|
|
133
|
+
- [ ] The library tab shows **theme mode** (light / dark / glass) and **liquid glass & corners**
|
|
134
|
+
- [ ] Theme presets list eight factory presets, not empty slots
|
|
135
|
+
- [ ] Thinking stream, composer hint and file paths are white, not cyan
|
|
136
|
+
|
|
137
|
+
## Data and configuration
|
|
138
|
+
|
|
139
|
+
| What | Where |
|
|
140
|
+
|---|---|
|
|
141
|
+
| Wallpaper engine settings, cache, thumbnails, glass presets | `~/.dsh-wallpaper-engine/` |
|
|
142
|
+
| Claude Style settings | `~/.dsh/dsh-claude-style/` |
|
|
143
|
+
| Installed plugin | `~/.dsh/profiles/desktop/node_modules/dsh-claude-wallpaper/` |
|
|
144
|
+
|
|
145
|
+
The two data directories are independent. Deleting `~/.dsh-wallpaper-engine/` resets wallpaper settings — including custom presets and uploaded wallpapers.
|
|
146
|
+
|
|
147
|
+
> Empty preset slots come from **tombstone files** (`dsh-we/glass-preset-tombstone@1`) left in the user `glass-presets/` directory; they permanently shadow the factory presets of the same id. Delete the tombstones to restore them.
|
|
148
|
+
|
|
149
|
+
## Repository layout
|
|
150
|
+
|
|
151
|
+
```
|
|
152
|
+
lib/ runtime (host half + browser half)
|
|
153
|
+
host/ routes, settings, fusion self-healing (fuse.js)
|
|
154
|
+
client.js browser entry (Claude Style core)
|
|
155
|
+
client.settings.js settings page (includes the wallpaper tab injection)
|
|
156
|
+
client.wallpaper-tone.js colour normalisation in wallpaper mode (pure CSS)
|
|
157
|
+
scripts/
|
|
158
|
+
fuse-wallpaper.mjs artifact patches: section fusion / colour removal / about repo / tab pruning
|
|
159
|
+
engine-about.mjs about page: rewrite credits
|
|
160
|
+
engine-library-merge.mjs fold the appearance panel into the library tab
|
|
161
|
+
verify-bundle.mjs evaluates the produced bundle
|
|
162
|
+
capture-dsh.ps1 screenshot the DSH window (self-verification)
|
|
163
|
+
click-dsh.ps1 click inside the window, then screenshot
|
|
164
|
+
release.mjs publish a GitHub release through the API
|
|
165
|
+
docs/ changelog and third-party notices
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
## Development
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
npm run fuse # re-apply every artifact patch
|
|
172
|
+
npm run about # about-page surgery
|
|
173
|
+
npm run merge-library # fold the appearance panel into the library tab
|
|
174
|
+
npm run verify # validate the produced bundle
|
|
175
|
+
npm run release -- v0.0.0 "title" notes.md assets.tgz
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
The artifact patches are **build-time text rewrites**: at runtime there are no observers, no DOM queries and no network calls — the files on disk are rewritten, so the browser receives the finished static code.
|
|
179
|
+
|
|
180
|
+
`postinstall` re-applies all of them, so upgrading dependencies does not revert the result.
|
|
181
|
+
|
|
182
|
+
## Known limitations
|
|
183
|
+
|
|
184
|
+
- Patch anchors are pinned to specific upstream text. When the wallpaper engine changes that code, `postinstall` reports `anchor missing` and skips — the anchors in `scripts/` then need updating.
|
|
185
|
+
- The engine's theme presets and colour controls still live in the library tab. Keeping only theme mode and the thinking indicator would need row-level filtering, but the rendered row object only carries `{rank, node}` — the pref name is not reachable from the renderer.
|
|
186
|
+
- Liquid glass appearance is decided by the wallpaper engine; Claude Style does not override it.
|
|
187
|
+
|
|
188
|
+
## Licence
|
|
189
|
+
|
|
190
|
+
MIT — see [LICENSE](LICENSE).
|
|
191
|
+
|
|
192
|
+
Both upstream projects are MIT as well: Claude Style © Nwflower, Wallpaper Engine © elysia395 and its contributors. Modifications in this repository are released under the same licence.
|
package/README.md
CHANGED
|
@@ -1,3 +1,191 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# dsh-claude-wallpaper
|
|
2
|
+
|
|
3
|
+
[English](README.en.md) | **简体中文**
|
|
4
|
+
|
|
5
|
+
把 [Claude Style](#上游项目) 主题与 [壁纸引擎](#上游项目) 的背景体系合并成的**一个** DeepSeek Harness 插件:设置里只有一个入口,界面是 Claude Code 的观感,背后是 Wallpaper Engine 的壁纸。
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 上游项目
|
|
10
|
+
|
|
11
|
+
本项目不是从零写的,它是两个 MIT 开源项目合并后的产物。所有主题能力、壁纸渲染能力的著作权归各自作者。
|
|
12
|
+
|
|
13
|
+
| 上游 | 仓库 | 合并基线 |
|
|
14
|
+
|---|---|---|
|
|
15
|
+
| Claude Style | https://github.com/Nwflower/dsh-claude-style | `dsh-claude-style@0.22.6` |
|
|
16
|
+
| 壁纸引擎 | https://github.com/elysia395/dsh-wallpaper-engine | `dsh-plugin-wallpaper-engine@1.5.2` |
|
|
17
|
+
|
|
18
|
+
两者的 MIT 许可与版权声明继续有效,详见 [LICENSE](LICENSE) 与 [docs/THIRD_PARTY_NOTICES.md](docs/THIRD_PARTY_NOTICES.md)。
|
|
19
|
+
|
|
20
|
+
## 为什么要合并
|
|
21
|
+
|
|
22
|
+
两个插件单独装能一起用,但会有三个问题:
|
|
23
|
+
|
|
24
|
+
1. **设置里两个入口** —「Claude Style」和「壁纸引擎」并列,用户不知道哪个管什么。
|
|
25
|
+
2. **配色互相打架** — 壁纸引擎有一套「全局 UI 配色」,会把宿主的颜色令牌改写成它自己的 accent。结果是思考流、输入框提示、文件路径这些**正文级文字**被染成强调色(实测 `rgb(117,230,245)` 青),和主题不协调。
|
|
26
|
+
3. **同功能两套控件** — 背景不透明度、侧栏、圆角各有两个滑杆。
|
|
27
|
+
|
|
28
|
+
合并版把这三件事一次性解决。
|
|
29
|
+
|
|
30
|
+
## 改了什么
|
|
31
|
+
|
|
32
|
+
### 设置界面
|
|
33
|
+
|
|
34
|
+
- 壁纸引擎**不再注册独立的设置分区**。它的设置渲染在 Claude Style 设置页的「壁纸」页签里。
|
|
35
|
+
- 「壁纸」页签内,壁纸引擎原来的「外观」子页签被移除;**主题模式、主题预设、液态玻璃与圆角**直接并入「壁纸库」页签下方。
|
|
36
|
+
- 「字体与排版」与「Beta 实验室」两个子页签移除(前者依赖未安装的 fonts 子包,后者是实验性内圆角玻璃)。
|
|
37
|
+
- 「扩展」页签移除(头像 / 特效 / 视差三个模块所在页)。
|
|
38
|
+
|
|
39
|
+
### 配色
|
|
40
|
+
|
|
41
|
+
壁纸引擎**不再具备任何修改文字颜色的能力**:
|
|
42
|
+
|
|
43
|
+
- 不再挂 `data-we-ui-color` 门 —— 该门下的 5 条规则(链接 / 文件路径 / 输入框文字 / 光标 / 业务色)全部失效;
|
|
44
|
+
- 清空两处直接改写 `--dsw-alias-label-*` 的规则(浅色提亮、左栏空窗兜底);
|
|
45
|
+
- 壁纸模式下 Claude Style 的字阶统一提白,思考流正文不再随壁纸取样变色。
|
|
46
|
+
|
|
47
|
+
### 关于页
|
|
48
|
+
|
|
49
|
+
- 贡献者致谢改为上游项目归属 + 维护者署名;
|
|
50
|
+
- 仓库链接与 Star 按钮指向本项目。
|
|
51
|
+
|
|
52
|
+
### 保留的功能
|
|
53
|
+
|
|
54
|
+
- **主题**:Claude Code 观感、品牌预设、调色板、字体、输入框、会话面板、动效、统计与费用、会话搜索/压缩/回滚
|
|
55
|
+
- **壁纸**:Scene / Web / Video / Image 四类;壁纸库、轮播、Steam 创意工坊下载;液态玻璃;场景实时渲染(WebWallGL)
|
|
56
|
+
|
|
57
|
+
## 安装
|
|
58
|
+
|
|
59
|
+
### 前置条件
|
|
60
|
+
|
|
61
|
+
| 依赖 | 版本 |
|
|
62
|
+
|---|---|
|
|
63
|
+
| DeepSeek Harness | `>= 0.2.2-rc.3` |
|
|
64
|
+
| Node.js | `>= 22.12.0` |
|
|
65
|
+
|
|
66
|
+
壁纸功能需要本机安装 [Wallpaper Engine](https://www.wallpaperengine.io/)(Steam),插件会从 Steam 库目录自动发现壁纸。没有 Wallpaper Engine 也能装,只是没有可选的壁纸源。
|
|
67
|
+
|
|
68
|
+
### 方式一:从 Release 安装(推荐)
|
|
69
|
+
|
|
70
|
+
1. 打开 [Releases](https://github.com/rikuidang/dsh-claude-wallpaper/releases),下载最新版本的 `dsh-claude-wallpaper-<version>.tgz`。
|
|
71
|
+
2. 在 DSH 里安装这个包(插件管理器的「从文件安装」,或按下节手动执行)。
|
|
72
|
+
3. **等安装脚本跑完**。`postinstall` 会把壁纸引擎产物里的补丁重新打上(融合、去字色、关于页、页签),日志里应能看到:
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
engine: fused / fontcolor: fused / labelblocks: fused(2)
|
|
76
|
+
about-repo: fused(1) / expose-mode: fused
|
|
77
|
+
no-typo-tab: fused / no-beta-tab: fused / no-app-tab: fused / no-ext-tab: fused
|
|
78
|
+
join-group: removed / credits: updated / merge: applied
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
任何一项报 `anchor missing` 说明依赖版本变了,锚点对不上,需要在仓库里更新脚本。
|
|
82
|
+
4. **重启 DSH**,然后刷新界面。
|
|
83
|
+
|
|
84
|
+
### 方式二:从 npm 安装
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
cd ~/.dsh/profiles/desktop
|
|
88
|
+
pnpm add dsh-claude-wallpaper
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
装了之后同样要确认 `postinstall` 跑过(日志会出现那 12 行补丁输出),然后重启 DSH。
|
|
92
|
+
|
|
93
|
+
### 方式三:手动安装
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
cd ~/.dsh/profiles/desktop
|
|
97
|
+
pnpm add file:/path/to/dsh-claude-wallpaper-<version>.tgz
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
装完后确认两件事:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
# 1. 依赖在 profile 里
|
|
104
|
+
python -c "import json;print(json.load(open('package.json'))['dependencies'].get('dsh-claude-wallpaper'))"
|
|
105
|
+
|
|
106
|
+
# 2. 补丁已经打上(跑 postinstall)
|
|
107
|
+
cd node_modules/dsh-claude-wallpaper
|
|
108
|
+
npm run fuse && npm run about && npm run merge-library
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
然后重启 DSH。
|
|
112
|
+
|
|
113
|
+
### 方式四:从源码
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
git clone https://github.com/rikuidang/dsh-claude-wallpaper.git
|
|
117
|
+
cd dsh-claude-wallpaper
|
|
118
|
+
pnpm pack
|
|
119
|
+
# 用打出来的 tgz 按「方式一」安装
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
源码目录里**不能**直接用 `pnpm link` 装:`link:` 协议不会安装被链接包的依赖,壁纸引擎的行会全部 `ERR_MODULE_NOT_FOUND`。
|
|
123
|
+
|
|
124
|
+
### 安装后自检
|
|
125
|
+
|
|
126
|
+
打开 **设置 → Claude Style**,确认:
|
|
127
|
+
|
|
128
|
+
- [ ] 左侧导航里**只有**「Claude Style」,没有独立的「壁纸引擎」
|
|
129
|
+
- [ ] 页签为:通用 / 外观 / 对话 / 输入 / 动效 / 壁纸
|
|
130
|
+
- [ ] 「外观」页里能看到 **背景不透明度**(标着「实验性」)
|
|
131
|
+
- [ ] 「壁纸」页签的页签为:壁纸库 / 播放 / 系统 / 关于(**没有**外观、扩展)
|
|
132
|
+
- [ ] 「壁纸库」页里能看到 **主题模式**(浅色 / 深色 / 玻璃)与 **液态玻璃与圆角**
|
|
133
|
+
- [ ] 「主题预设」有 8 套出厂预设,不是「空预设位」
|
|
134
|
+
- [ ] 思考流正文、输入框提示、文件路径都是白字,没有青色
|
|
135
|
+
|
|
136
|
+
## 数据与配置
|
|
137
|
+
|
|
138
|
+
| 内容 | 位置 |
|
|
139
|
+
|---|---|
|
|
140
|
+
| 壁纸引擎设置、缓存、缩略图、玻璃预设 | `~/.dsh-wallpaper-engine/` |
|
|
141
|
+
| Claude Style 设置 | `~/.dsh/dsh-claude-style/` |
|
|
142
|
+
| 插件安装位置 | `~/.dsh/profiles/desktop/node_modules/dsh-claude-wallpaper/` |
|
|
143
|
+
|
|
144
|
+
两者互不覆盖。想重置壁纸设置,删掉 `~/.dsh-wallpaper-engine/` 即可(会同时清掉自定义预设与上传的壁纸)。
|
|
145
|
+
|
|
146
|
+
> 玻璃预设出现过「空预设位」,原因是用户层 `glass-presets/` 里残留了**墓碑文件**(`dsh-we/glass-preset-tombstone@1`),把同名出厂预设永久遮住。删掉那些墓碑即可恢复。
|
|
147
|
+
|
|
148
|
+
## 仓库结构
|
|
149
|
+
|
|
150
|
+
```
|
|
151
|
+
lib/ 插件运行时(宿主半边 + 浏览器半边)
|
|
152
|
+
host/ 宿主:路由、设置、融合自愈(fuse.js)
|
|
153
|
+
client.js 浏览器入口(Claude Style 主体)
|
|
154
|
+
client.settings.js 设置页(含壁纸页签注入)
|
|
155
|
+
client.wallpaper-tone.js 壁纸模式下的配色归一(纯 CSS)
|
|
156
|
+
scripts/
|
|
157
|
+
fuse-wallpaper.mjs 产物补丁:设置分区融合 / 去字色 / 关于页仓库 / 页签裁剪
|
|
158
|
+
engine-about.mjs 关于页:删交流群、换贡献者
|
|
159
|
+
engine-library-merge.mjs 把外观面板并进壁纸库页签
|
|
160
|
+
verify-bundle.mjs 产物可求值性校验
|
|
161
|
+
capture-dsh.ps1 截取 DSH 窗口(自验用)
|
|
162
|
+
click-dsh.ps1 窗口内点击后截图(自验用)
|
|
163
|
+
release.mjs 用 GitHub API 发 Release
|
|
164
|
+
docs/ 变更记录与第三方声明
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
## 开发
|
|
168
|
+
|
|
169
|
+
```bash
|
|
170
|
+
npm run fuse # 重放全部产物补丁
|
|
171
|
+
npm run about # 关于页手术
|
|
172
|
+
npm run merge-library # 外观面板并入壁纸库
|
|
173
|
+
npm run verify # 产物校验
|
|
174
|
+
npm run release -- v0.0.0 "标题" notes.md assets.tgz
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
产物补丁是**构建期文本改写**,运行期零观察者、零 DOM 查询、零网络请求 —— 改的是磁盘上的产物文件,浏览器拿到的就是改好的静态代码。
|
|
178
|
+
|
|
179
|
+
`postinstall` 会自动重放这些补丁,所以升级依赖后不会回潮。
|
|
180
|
+
|
|
181
|
+
## 已知限制
|
|
182
|
+
|
|
183
|
+
- 补丁锚点绑定上游产物的具体文本。壁纸引擎升级到改了那段代码的版本时,`postinstall` 会报 `anchor missing` 并跳过,需要在 `scripts/` 里更新锚点。
|
|
184
|
+
- 壁纸引擎的「主题与配色」里有主题预设、配色等还留在壁纸库里;只保留主题模式与思考态动图需要行级过滤,而设置行的渲染对象只有 `{rank, node}`,拿不到 pref 名,暂未实现。
|
|
185
|
+
- 液态玻璃的观感由壁纸引擎决定,Claude Style 不覆盖它。
|
|
186
|
+
|
|
187
|
+
## 许可
|
|
188
|
+
|
|
189
|
+
MIT,见 [LICENSE](LICENSE)。
|
|
190
|
+
|
|
191
|
+
上游项目同样为 MIT:Claude Style © Nwflower,壁纸引擎 © elysia395 及其贡献者。本项目对二者的修改同样以 MIT 发布。
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Claude Style × 壁纸引擎 合并 bundle
|
|
2
|
+
#
|
|
3
|
+
# 一条 patch,一个插件、一个开关。这里插入的是**背景体系**的全部行:
|
|
4
|
+
#
|
|
5
|
+
# · ui-skin-claude-wallpaper Claude Style 本体(主题 / 品牌 / 输入框 / 会话 / 统计 …)
|
|
6
|
+
# · wallpaper-engine 壁纸引擎主行:Steam 库发现、墙纸扫描、设置与清单、场景渲染页
|
|
7
|
+
# · wallpaper-engine-media-bridge 壁纸域宿主路由 + 浏览器半边(/inventory、/media、/preview、
|
|
8
|
+
# /scene-*、上传、URL 导入、属性面板、遮挡轮播…)
|
|
9
|
+
# · wallpaper-engine-glass 液态玻璃(背景之上的玻璃层、预设、颜色与保真度)
|
|
10
|
+
#
|
|
11
|
+
# 下面这些行**有意不插入**(它们不是「背景」):
|
|
12
|
+
# wallpaper-engine-fx · wallpaper-engine-parallax · wallpaper-engine-pet-link
|
|
13
|
+
# wallpaper-engine-mascot-avatar · wallpaper-engine-about-notice · wallpaper-engine-fonts
|
|
14
|
+
#
|
|
15
|
+
# ⚠️ 行 `name` 用的是**真实包名**(裸名):本版 DSH 不传 bareModuleBaseUrl,行名一律从
|
|
16
|
+
# <profile>/cordis.yml 旁起算 ⇒ <profile>/node_modules/<name>。这些包是本 bundle 的
|
|
17
|
+
# dependencies,pnpm 会把它们 hoist 到 profile 的 node_modules 里,故此名可解析。
|
|
18
|
+
#
|
|
19
|
+
# ⚠️ `ui-skin-claude-wallpaper` 这个 id 是 Claude Style 原有的接线面(skin.json 的 wiring.id),
|
|
20
|
+
# 冻结不动;壁纸四条行沿用壁纸引擎自己的 id,避免与任何既有行撞车。
|
|
21
|
+
- insert:
|
|
22
|
+
- id: ui-skin-claude-wallpaper
|
|
23
|
+
name: 'dsh-claude-wallpaper'
|
|
24
|
+
- id: wallpaper-engine
|
|
25
|
+
name: 'dsh-plugin-wallpaper-engine'
|
|
26
|
+
- id: wallpaper-engine-media-bridge
|
|
27
|
+
name: 'dsh-plugin-wallpaper-engine-media-bridge'
|
|
28
|
+
- id: wallpaper-engine-glass
|
|
29
|
+
name: 'dsh-plugin-wallpaper-engine-glass'
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# 更新日志 / Changelog
|
|
2
|
+
|
|
3
|
+
本文件只记录**本仓库**的版本。/ Only versions of this repository are recorded here.
|
|
4
|
+
|
|
5
|
+
## [0.26.0] - 2026-12-06
|
|
6
|
+
|
|
7
|
+
- 壁纸引擎的「外观」面板并入「壁纸库」页签;「外观」页签移除
|
|
8
|
+
- 「字体与排版」「Beta 实验室」两个子页签移除
|
|
9
|
+
- 通过组件内部的闭包工厂 `__DSH_APPCTX__` 复用原渲染器,不再跨作用域
|
|
10
|
+
|
|
11
|
+
## [0.25.0] - 2026-12-06
|
|
12
|
+
|
|
13
|
+
- 壁纸页移除「扩展」页签
|
|
14
|
+
- 壁纸引擎不再改写任何文字颜色(拔 `data-we-ui-color` 门 + 清空两处字阶块)
|
|
15
|
+
- Claude Style「外观」页签恢复(背景不透明度、页面缩放)
|
|
16
|
+
|
|
17
|
+
## [0.24.0] - 2026-12-06
|
|
18
|
+
|
|
19
|
+
- 关于页:贡献者致谢改为上游归属 + 维护者署名
|
|
20
|
+
- 关于页仓库链接与 Star 按钮指向本仓库
|
|
21
|
+
- 产物补丁改为 `postinstall` 链自动重放
|
|
22
|
+
|
|
23
|
+
## [0.23.0] - 2026-12-06
|
|
24
|
+
|
|
25
|
+
首个合并版本:
|
|
26
|
+
|
|
27
|
+
- 插件更名 `dsh-claude-wallpaper`(注册 id、DOM 属性、设置分块 owner、宿主常量同步)
|
|
28
|
+
- 壁纸引擎的设置并入 Claude Style 设置页,导航里只剩一个入口
|
|
29
|
+
- 壁纸体系完整保留:Scene / Web / Video / Image、壁纸库、轮播、创意工坊、液态玻璃
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|