dsh-background-by-model 0.3.0 → 0.3.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/README.md +14 -26
- package/README.zh.md +14 -26
- package/example_img/rule-editor.webp +0 -0
- package/example_img/wallpaper-deepseek.webp +0 -0
- package/example_img/wallpaper-kimi.webp +0 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -46,46 +46,28 @@ Notes:
|
|
|
46
46
|
|
|
47
47
|
## Screenshots
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
<img src="example_img/image.png" alt="Custom homepage" width="720">
|
|
51
|
-
<br/>
|
|
52
|
-
<em>Custom homepage · wallpaper + theme color of the matched rule applied</em>
|
|
53
|
-
</p>
|
|
54
|
-
|
|
55
|
-
<p align="center">
|
|
56
|
-
<img src="example_img/image-2.png" alt="Per-rule theme color picker" width="720">
|
|
57
|
-
<br/>
|
|
58
|
-
<em>Per-rule theme color · HSL wheel + numeric input + inspiration palette</em>
|
|
59
|
-
</p>
|
|
49
|
+
One interface, one config — only the current model differs:
|
|
60
50
|
|
|
61
51
|
<p align="center">
|
|
62
|
-
<img src="example_img/
|
|
52
|
+
<img src="example_img/wallpaper-deepseek.webp" alt="Appearance under DeepSeek" width="880">
|
|
63
53
|
<br/>
|
|
64
|
-
<em>
|
|
54
|
+
<em>DeepSeek V4.1 Flash · matched the rule whose match string contains <code>deepseek</code>: a light wallpaper with a matching theme color</em>
|
|
65
55
|
</p>
|
|
66
56
|
|
|
67
57
|
<p align="center">
|
|
68
|
-
<img src="example_img/
|
|
58
|
+
<img src="example_img/wallpaper-kimi.webp" alt="Appearance under Kimi" width="880">
|
|
69
59
|
<br/>
|
|
70
|
-
<em>
|
|
60
|
+
<em>Kimi K2.7 Code · matched the rule containing <code>kimi</code>: a dark wallpaper, a dark theme, and the whole interface reskinned with it</em>
|
|
71
61
|
</p>
|
|
72
62
|
|
|
73
63
|
<p align="center">
|
|
74
|
-
<img src="example_img/
|
|
64
|
+
<img src="example_img/rule-editor.webp" alt="One rule's editor" width="660">
|
|
75
65
|
<br/>
|
|
76
|
-
<em>
|
|
66
|
+
<em>One rule on the Model Background tab · image, layout mode, theme color (wheel / HSL / RGB / extract from this image / pick from image), background opacity and background blur are all properties of that rule alone</em>
|
|
77
67
|
</p>
|
|
78
68
|
|
|
79
69
|
<p align="center">
|
|
80
|
-
<
|
|
81
|
-
<br/>
|
|
82
|
-
<em>Layout modes · Fit / Fill / Stretch / Tile / Center, per rule</em>
|
|
83
|
-
</p>
|
|
84
|
-
|
|
85
|
-
<p align="center">
|
|
86
|
-
<img src="example_img/image-10.png" alt="Config export and import" width="720">
|
|
87
|
-
<br/>
|
|
88
|
-
<em>Export and import configs to share</em>
|
|
70
|
+
<sub>Example wallpaper art from <a href="https://space.bilibili.com/4168597">ZipZipPipe</a> on bilibili</sub>
|
|
89
71
|
</p>
|
|
90
72
|
|
|
91
73
|
## Features
|
|
@@ -221,6 +203,12 @@ No. Both were removed in 0.3.0; each rule uses a static image.
|
|
|
221
203
|
|
|
222
204
|
## Recent Optimizations
|
|
223
205
|
|
|
206
|
+
### v0.3.1
|
|
207
|
+
|
|
208
|
+
- **Docs and screenshots refreshed** — The screenshots now show the current three-tab UI: one config under DeepSeek and under Kimi, plus a single rule's editor. The seven old captures (still showing the removed Color tab and the old Background page) are gone, and the image folder dropped from 3.6 MB to 220 kB.
|
|
209
|
+
- **Screenshots ship inside the npm package** — `example_img/` is part of the published tarball now, so the README rendered on npm has no broken images.
|
|
210
|
+
- **Art credit** — The example wallpaper art comes from [ZipZipPipe](https://space.bilibili.com/4168597) on bilibili.
|
|
211
|
+
|
|
224
212
|
### v0.3.0
|
|
225
213
|
|
|
226
214
|
- **Model rules replaced the single global wallpaper** — The background is now driven by an ordered list of rules, each selected by a match string against the current session's model name (first match wins, rule 1 falls back). The match string is compared against the provider, model id and display name together.
|
package/README.zh.md
CHANGED
|
@@ -46,46 +46,28 @@
|
|
|
46
46
|
|
|
47
47
|
## 截图
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
<img src="example_img/image.png" alt="自定义主页" width="720">
|
|
51
|
-
<br/>
|
|
52
|
-
<em>自定义主页 · 命中规则的主题色与壁纸同时生效</em>
|
|
53
|
-
</p>
|
|
54
|
-
|
|
55
|
-
<p align="center">
|
|
56
|
-
<img src="example_img/image-2.png" alt="单条规则的主题色选择器" width="720">
|
|
57
|
-
<br/>
|
|
58
|
-
<em>单条规则的主题色 · HSL 色轮 + 数值输入 + 灵感色板</em>
|
|
59
|
-
</p>
|
|
49
|
+
同一套界面、同一份配置,只因为当前模型不同:
|
|
60
50
|
|
|
61
51
|
<p align="center">
|
|
62
|
-
<img src="example_img/
|
|
52
|
+
<img src="example_img/wallpaper-deepseek.webp" alt="DeepSeek 下的外观" width="880">
|
|
63
53
|
<br/>
|
|
64
|
-
<em
|
|
54
|
+
<em>DeepSeek V4.1 Flash · 命中匹配串含 <code>deepseek</code> 的规则:浅色壁纸 + 与图相配的主题色</em>
|
|
65
55
|
</p>
|
|
66
56
|
|
|
67
57
|
<p align="center">
|
|
68
|
-
<img src="example_img/
|
|
58
|
+
<img src="example_img/wallpaper-kimi.webp" alt="Kimi 下的外观" width="880">
|
|
69
59
|
<br/>
|
|
70
|
-
<em
|
|
60
|
+
<em>Kimi K2.7 Code · 命中匹配串含 <code>kimi</code> 的规则:深色壁纸 + 深色主题,整个界面跟着换肤</em>
|
|
71
61
|
</p>
|
|
72
62
|
|
|
73
63
|
<p align="center">
|
|
74
|
-
<img src="example_img/
|
|
64
|
+
<img src="example_img/rule-editor.webp" alt="单条规则的编辑器" width="660">
|
|
75
65
|
<br/>
|
|
76
|
-
<em
|
|
66
|
+
<em>「模型背景」页的单条规则 · 图片、布局模式、主题色(色轮 / HSL / RGB / 从本图提取 / 从图片取色)、背景透明度与背景模糊度,都是这一条规则自己的属性</em>
|
|
77
67
|
</p>
|
|
78
68
|
|
|
79
69
|
<p align="center">
|
|
80
|
-
<
|
|
81
|
-
<br/>
|
|
82
|
-
<em>布局模式 · 适应 / 填充 / 拉伸 / 平铺 / 居中,每条规则各自选择</em>
|
|
83
|
-
</p>
|
|
84
|
-
|
|
85
|
-
<p align="center">
|
|
86
|
-
<img src="example_img/image-10.png" alt="配置导出导入" width="720">
|
|
87
|
-
<br/>
|
|
88
|
-
<em>配置的导出和导入进行分享</em>
|
|
70
|
+
<sub>示例壁纸素材来源于 bilibili <a href="https://space.bilibili.com/4168597">ZipZipPipe</a></sub>
|
|
89
71
|
</p>
|
|
90
72
|
|
|
91
73
|
## 功能特性
|
|
@@ -221,6 +203,12 @@ pnpm run typecheck
|
|
|
221
203
|
|
|
222
204
|
## 近期优化
|
|
223
205
|
|
|
206
|
+
### v0.3.1
|
|
207
|
+
|
|
208
|
+
- **文档与截图更新** — 截图换成当前的三选项卡界面:同一份配置在 DeepSeek 与 Kimi 下的两种外观,外加单条规则的编辑器。旧的七张图(还带着已删除的「色彩」选项卡与旧「背景」页)已删除,图片体积从 3.6 MB 降到 220 KB。
|
|
209
|
+
- **npm 包内附截图** — `example_img/` 现在包含在发布包里,npm 页面上的 README 不再有裂图。
|
|
210
|
+
- **素材致谢** — 示例壁纸素材来源于 bilibili [ZipZipPipe](https://space.bilibili.com/4168597)。
|
|
211
|
+
|
|
224
212
|
### v0.3.0
|
|
225
213
|
|
|
226
214
|
- **模型规则取代单张全局壁纸** — 背景改由有序规则列表驱动,每条规则用匹配串比对当前会话的模型名来选中(先命中者胜,规则 1 兜底);匹配串会同时比对 provider、模型 id 与显示名三者。
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-background-by-model",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Appearance plugin for DeepSeek Harness: an ordered list of model rules, each carrying its own wallpaper, theme color, layout mode, opacity and blur — the background follows the model you switch to.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
"lib/invariant.js",
|
|
47
47
|
"lib/client.js",
|
|
48
48
|
"lib/client.js.map",
|
|
49
|
-
"cordis.patch.yml"
|
|
49
|
+
"cordis.patch.yml",
|
|
50
|
+
"example_img"
|
|
50
51
|
],
|
|
51
52
|
"scripts": {
|
|
52
53
|
"bundle": "tsdown",
|