dsh-background-by-model 0.8.1 → 0.8.2

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.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Changelog
2
2
 
3
- > The full release history lives here; the **Recent optimizations** section of [README.md](./README.md#recent-optimizations) lists only the two most recent releases (v0.8.1 / v0.8.0).
3
+ > The full release history lives here; the **Recent optimizations** section of [README.md](./README.md#recent-optimizations) lists only the two most recent releases (v0.8.2 / v0.8.1).
4
+
5
+ ## v0.8.2
6
+
7
+ - **The dsh dependency floor moves to the host's own version (`>=0.2.1-alpha.2`)** — `engines.dsh`, the five `dsh-client-*` peers and `dsh-home-paths` still asked for the 0.1.7 generation while the harness in use is 0.2.1-alpha.2. Those five are the packages the host injects into the browser half, so the declaration is what says which generation this code was written against — with the old floor an install could pair it with the previous one. `dsh-invariants` cannot follow (npm has no 0.2.1-alpha.2 of it, and a 0.2.x host does not ship it), so it keeps `>=0.1.7-rc.2`; `@deepseek-ai/cordis` is untouched. The lockfile resolves the dsh family to 0.2.1-alpha.2, and `pnpm test` is ten checks, all green against it.
4
8
 
5
9
  ## v0.8.1
6
10
 
package/CHANGELOG.zh.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # 更新日志
2
2
 
3
- > 这里保留完整的历史记录;[README.zh.md](./README.zh.md#近期优化) 的「近期优化」一节只列最近两个版本(v0.8.1 / v0.8.0)。
3
+ > 这里保留完整的历史记录;[README.zh.md](./README.zh.md#近期优化) 的「近期优化」一节只列最近两个版本(v0.8.2 / v0.8.1)。
4
+
5
+ ## v0.8.2
6
+
7
+ - **dsh 依赖下界抬到宿主自己那一版(`>=0.2.1-alpha.2`)** —— `engines.dsh`、5 个 `dsh-client-*` peer 与 `dsh-home-paths` 此前要的还是 0.1.7 那一代,而在用的宿主是 0.2.1-alpha.2。那 5 个 client 包正是宿主注入给浏览器半边的,所以这份声明是唯一说明「这里的代码是对着哪一代写的」的地方 —— 下界停在旧一代,装出来的插件就可能配着上一代客户端跑在 0.2.1-alpha.2 旁边。`dsh-invariants` 跟不了(npm 上没有它的 0.2.1-alpha.2,0.2.x 宿主也压根不带这个包),继续留在 `>=0.1.7-rc.2`;`@deepseek-ai/cordis` 没动。锁文件把 dsh 家族解析到 0.2.1-alpha.2,`pnpm test` 十道全过。
4
8
 
5
9
  ## v0.8.1
6
10
 
package/README.md CHANGED
@@ -270,6 +270,10 @@ The effect is **Instant**, or the duration is `0` — an effect and a duration a
270
270
 
271
271
  > Only the two most recent releases are listed here; older ones live in [CHANGELOG.md](./CHANGELOG.md).
272
272
 
273
+ ### v0.8.2
274
+
275
+ - **The dsh dependency floor follows the host** — `engines.dsh`, the five `dsh-client-*` peers and `dsh-home-paths` now declare `>=0.2.1-alpha.2` instead of the 0.1.7 generation, so an install cannot be paired with the previous client packages. `dsh-invariants` and `@deepseek-ai/cordis` stay as they are, each for its own reason.
276
+
273
277
  ### v0.8.1
274
278
 
275
279
  - **The wallpaper layer has a brightness slider now**, between opacity and blur (`0–200%`, `100%` untouched, double-click to reset), stored per rule like the other two. They could dim a picture and frost it; nothing could lift an underexposed one.
@@ -278,11 +282,6 @@ The effect is **Instant**, or the duration is `0` — an effect and a duration a
278
282
  - **The interface parts are found by name instead of by position** — the frame grew rows after the overlay, and "the three children before it" had quietly become the wrong columns, so the part sliders were writing where nobody looks.
279
283
  - **The Interface tab's blur sliders are gone, and so is the capability behind them** — what they frosted was the wallpaper behind a column (the wallpaper layer's own blur already does that, per rule) or a backdrop nobody reads once a panel is translucent. The tab is opacity only now.
280
284
 
281
- ### v0.8.0
282
-
283
- - **The bundle is built when the tarball is packed, not committed** — `lib/` was ~1 MB of generated JavaScript per release and effectively all of this repository's growth; it is now gitignored and built by `prepack`, so what npm serves is always built from the tagged source.
284
- - **Installing straight from a GitHub checkout is gone** — that tree has no `lib/` and nothing in it builds one, so npm is the only source. Releases also now come from GitHub Actions over OIDC and carry build provenance.
285
-
286
285
  ## Star History
287
286
 
288
287
  [![Star History Chart](https://api.star-history.com/chart?repos=HarmlessFunny/dsh-background-by-model&type=timeline&legend=bottom-right)](https://www.star-history.com/?repos=HarmlessFunny%2Fdsh-background-by-model&type=timeline&legend=bottom-right)
package/README.zh.md CHANGED
@@ -270,6 +270,10 @@ pnpm test # 构建 lib/、类型检查、跑十道检查
270
270
 
271
271
  > 这里只列最近两个版本;更早的版本见 [CHANGELOG.zh.md](./CHANGELOG.zh.md)。
272
272
 
273
+ ### v0.8.2
274
+
275
+ - **dsh 依赖下界跟着宿主走** —— `engines.dsh`、5 个 `dsh-client-*` peer 与 `dsh-home-paths` 从 0.1.7 那一代改成声明 `>=0.2.1-alpha.2`,装出来的插件不会再被配上上一代客户端包。`dsh-invariants` 与 `@deepseek-ai/cordis` 各有理由,保持不动。
276
+
273
277
  ### v0.8.1
274
278
 
275
279
  - **壁纸层多了亮度滑块**,夹在透明度与模糊之间(`0–200%`,`100%` 即原图,双击复位),和另外两条一样按规则保存。它们能把画面压暗、能起雾,却没有任何东西能把一张曝光不足的图提亮。
@@ -278,11 +282,6 @@ pnpm test # 构建 lib/、类型检查、跑十道检查
278
282
  - **界面各分区按名字找,不按位置找** —— 框架在覆盖层之后又长出了行,「覆盖层之前的那三个子元素」悄悄变成了错的列,分区滑块一直在往没人看的地方写。
279
283
  - **「界面」页的模糊度滑块删掉了,连同它们底下那套能力** —— 被雾住的那一列,磨的其实是它背后的壁纸(这件事壁纸层自己的模糊早就按规则在做);被雾住的面板,雾的是一块一旦半透明就没人再看的底色。这一页现在只剩透明度。
280
284
 
281
- ### v0.8.0
282
-
283
- - **构建产物在打包时生成,不再提交进仓库** —— `lib/` 是每次发版约 1 MB 的生成代码,也几乎就是这个仓库增长的全部;现在它被 gitignore 挡住、由 `prepack` 生成,所以 npm 上发出去的永远是从被打 tag 的那份源码构建出来的。
284
- - **不能再直接从 GitHub 仓库安装了** —— 那棵树里没有 `lib/`,也没有任何东西会去构建它,所以只剩 npm 一个来源。发版也改由 GitHub Actions 走 OIDC 完成,并附带构建 provenance。
285
-
286
285
  ## Star History
287
286
 
288
287
  [![Star History Chart](https://api.star-history.com/chart?repos=HarmlessFunny/dsh-background-by-model&type=timeline&legend=bottom-right)](https://www.star-history.com/?repos=HarmlessFunny%2Fdsh-background-by-model&type=timeline&legend=bottom-right)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-background-by-model",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Appearance plugin for DeepSeek Harness: an ordered list of model rules, each carrying its own wallpapers — every image with its own framing and theme color — plus layout mode, opacity, brightness and blur; the background follows the model you switch to, and a rule can rotate through several images on its own rhythm.",
5
5
  "keywords": [
6
6
  "deepseek-harness",
@@ -23,7 +23,7 @@
23
23
  "author": "Tkingxiao",
24
24
  "type": "module",
25
25
  "engines": {
26
- "dsh": ">=0.1.7-rc.2"
26
+ "dsh": ">=0.2.1-alpha.2"
27
27
  },
28
28
  "exports": {
29
29
  ".": {
@@ -67,7 +67,7 @@
67
67
  "test": "tsdown && tsc -p tsconfig.json && node scripts/holiday-check.ts && node scripts/rotation-check.ts && node scripts/transition-check.ts && node scripts/repaint-check.ts && node scripts/code-plate-check.ts && node scripts/image-mode-check.ts && node scripts/rules-view-check.ts && node scripts/preset-check.ts && node scripts/ui-strings-check.ts && node scripts/node-half-check.mjs"
68
68
  },
69
69
  "devDependencies": {
70
- "@deepseek-ai/dsh-home-paths": "^0.1.0-rc.6",
70
+ "@deepseek-ai/dsh-home-paths": ">=0.2.1-alpha.2",
71
71
  "@types/node": "^26.2.0",
72
72
  "@types/react": "^19.2.18",
73
73
  "@types/react-dom": "^19.2.4",
@@ -76,15 +76,15 @@
76
76
  "unrun": "^0.3.1"
77
77
  },
78
78
  "dependencies": {
79
- "@deepseek-ai/dsh-home-paths": "^0.1.0-rc.6"
79
+ "@deepseek-ai/dsh-home-paths": ">=0.2.1-alpha.2"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "@deepseek-ai/cordis": "^4.0.2",
83
- "@deepseek-ai/dsh-client-locale": ">=0.1.7-rc.2",
84
- "@deepseek-ai/dsh-client-store": ">=0.1.7-rc.2",
85
- "@deepseek-ai/dsh-client-connection": ">=0.1.7-rc.2",
86
- "@deepseek-ai/dsh-client-ui-settings": ">=0.1.7-rc.2",
87
- "@deepseek-ai/dsh-client-ui-theme": ">=0.1.7-rc.2",
83
+ "@deepseek-ai/dsh-client-locale": ">=0.2.1-alpha.2",
84
+ "@deepseek-ai/dsh-client-store": ">=0.2.1-alpha.2",
85
+ "@deepseek-ai/dsh-client-connection": ">=0.2.1-alpha.2",
86
+ "@deepseek-ai/dsh-client-ui-settings": ">=0.2.1-alpha.2",
87
+ "@deepseek-ai/dsh-client-ui-theme": ">=0.2.1-alpha.2",
88
88
  "@deepseek-ai/dsh-invariants": ">=0.1.7-rc.2",
89
89
  "react": "^18.2.0"
90
90
  },