@iasiv5/dsh-skins 1.0.7 → 1.0.9

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.en.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![CI](https://img.shields.io/github/actions/workflow/status/iasiv5/dsh-skins/ci.yml?branch=main&label=CI)](../../actions/workflows/ci.yml)
5
5
  [![License](https://img.shields.io/github/license/iasiv5/dsh-skins?label=License)](./LICENSE)
6
6
  [![npm](https://img.shields.io/npm/v/@iasiv5/dsh-skins?label=npm)](https://www.npmjs.com/package/@iasiv5/dsh-skins)
7
- [![DSH Web](https://img.shields.io/badge/DSH%20Web-0.1.2--rc.1%20verified-2563eb)](#faq)
7
+ [![DSH Web](https://img.shields.io/badge/DSH%20Web-0.1.7--rc.2%20verified-2563eb)](#faq)
8
8
 
9
9
  English · [中文](./README.md)
10
10
 
@@ -179,7 +179,7 @@ Pick "DeepSeek Harness (Official)" in the skin switcher, or open `/?skin=officia
179
179
  Updates follow a "back up first, then install" transaction: any verification failure automatically restores the previous version, and the popover shows the failure reason (in Chinese and English). If it still fails, update manually with `dsh plugin --profile web update @iasiv5/dsh-skins`.
180
180
 
181
181
  **Which DSH Web versions are supported?**
182
- Verified with DSH Web `0.1.2-rc.1`. Later rc builds of the same series are expected to work, but unverified versions carry no promise.
182
+ Verified with DSH Web `0.1.7-rc.2`. Later rc builds of the same series are expected to work, but unverified versions carry no promise.
183
183
 
184
184
  **Does my appearance preference sync across browsers?**
185
185
  In the browser on the DSH host machine (loopback), the preference is persisted by the DSH Host and shared naturally. Other remote browsers keep the preference in their own `localStorage` — independent per browser, never overwritten.
package/README.i18n.yaml CHANGED
@@ -2,5 +2,5 @@
2
2
  # last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # node scripts/verify-readme-pairing.mjs --write
5
- README.md: 6b3fc64db0b4b999a9d0f5e24bbf80229b68a760
6
- README.en.md: 2d9d9feaf2b9bc3911abcd14b6951afa4aee518c
5
+ README.md: 149994f9f273309a36c63e0f90b64e6d4250dd21
6
+ README.en.md: fb11ff2fe92028f050fbd91e881c2d059329b0e8
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![CI](https://img.shields.io/github/actions/workflow/status/iasiv5/dsh-skins/ci.yml?branch=main&label=CI)](../../actions/workflows/ci.yml)
5
5
  [![License](https://img.shields.io/github/license/iasiv5/dsh-skins?label=License)](./LICENSE)
6
6
  [![npm](https://img.shields.io/npm/v/@iasiv5/dsh-skins?label=npm)](https://www.npmjs.com/package/@iasiv5/dsh-skins)
7
- [![DSH Web](https://img.shields.io/badge/DSH%20Web-0.1.2--rc.1%20verified-2563eb)](#faq)
7
+ [![DSH Web](https://img.shields.io/badge/DSH%20Web-0.1.7--rc.2%20verified-2563eb)](#faq)
8
8
 
9
9
  [English](./README.en.md) · 中文
10
10
 
@@ -179,7 +179,7 @@ URL 也能切皮肤:`/?skin=official`、`/?skin=meirenzhi`、`/?skin=openbmc`
179
179
  更新遵循「先备份、再安装」的事务流程,任何校验失败都会自动恢复原版本,弹层显示失败原因(中英双语)。仍失败时可用 `dsh plugin --profile web update @iasiv5/dsh-skins` 手动更新。
180
180
 
181
181
  **支持哪些 DSH Web 版本?**
182
- 已使用 DSH Web `0.1.2-rc.1` 验证。同系列 rc 版本理论上兼容,未经验证的版本不作承诺。
182
+ 已使用 DSH Web `0.1.7-rc.2` 验证。同系列 rc 版本理论上兼容,未经验证的版本不作承诺。
183
183
 
184
184
  **外观偏好在不同的浏览器间同步吗?**
185
185
  在 DSH 所在机器的浏览器(loopback)上,偏好由 DSH Host 持久化,天然共享。其他远程浏览器由插件将偏好存入本地 `localStorage`,各浏览器独立、互不覆盖。
package/lib/client.js CHANGED
@@ -1100,7 +1100,7 @@ ${darkSelector}{${dark.join(";")}}`;
1100
1100
  var NS = "dsh-skins.ui";
1101
1101
  var DICTS = {
1102
1102
  zh: {
1103
- "skins.switch": "皮肤切换",
1103
+ "skins.switch": "主题切换",
1104
1104
  "skins.title": "选择皮肤",
1105
1105
  "skins.official.label": "DeepSeek Harness(官方)",
1106
1106
  "skins.official.description": "素笺玄墨 · 留白生辉 · 本色天成",
@@ -1226,7 +1226,7 @@ ${darkSelector}{${dark.join(";")}}`;
1226
1226
  "host.rollback.bundleMissing": "恢复后的 bundle 注册校验失败"
1227
1227
  },
1228
1228
  en: {
1229
- "skins.switch": "Skin Switcher",
1229
+ "skins.switch": "Theme Switcher",
1230
1230
  "skins.title": "Choose Skin",
1231
1231
  "skins.official.label": "DeepSeek Harness (Official)",
1232
1232
  "skins.official.description": "Plain paper & dark ink · breathing white space · naturally itself",
@@ -3114,11 +3114,13 @@ ${names}`);
3114
3114
  /* ---------- ④b 品牌徽章:官方 ▐HARNESS▌ 同构反色片(HTML/CSS 绘制) ----------
3115
3115
  * 壳里不存在 --dsw-alias-label-primary-inverted 令牌(那是官方 BrandWordmark
3116
3116
  * 的内部实现细节),内联 var() 取不到值会让字色整体失效——改为皮肤自带
3117
- * 规则 + 明暗两套显式颜色(与 tgcf 的 NO TABOOS 徽章同一模式)。 */
3117
+ * 规则 + 明暗两套显式颜色(与 tgcf 的 NO TABOOS 徽章同一模式)。
3118
+ * 圆角 4px:官方 SVG rect 虽是 rx=2,但实测对比需在 14px 高度上取 4px
3119
+ * 才有官方观感的弧度(tgcf 徽章同值)。 */
3118
3120
  body[data-dsh-openbmc-skin] .dsh-openbmc-badge {
3119
3121
  display: inline-flex; align-items: center;
3120
3122
  background: #14202B; color: #F7FAFC;
3121
- border-radius: 2px; padding: 0 5px;
3123
+ border-radius: 4px; padding: 0 5px;
3122
3124
  font-size: 10px; line-height: 14px; font-weight: 650; letter-spacing: .08em;
3123
3125
  }
3124
3126
  body[data-dsh-openbmc-skin][data-ds-dark-theme] .dsh-openbmc-badge {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iasiv5/dsh-skins",
3
- "description": "DSH Web 皮肤插件:多套品牌皮肤侧栏热切换,一键回到官方界面。",
4
- "version": "1.0.7",
3
+ "description": "DSH Web 皮肤插件:多套品牌皮肤侧栏热切换。",
4
+ "version": "1.0.9",
5
5
  "homepage": "https://github.com/iasiv5/dsh-skins#readme",
6
6
  "repository": {
7
7
  "type": "git",
@@ -56,15 +56,16 @@
56
56
  },
57
57
  "peerDependencies": {
58
58
  "@deepseek-ai/cordis": "^4.0.1",
59
- "@deepseek-ai/dsh-client-connection": "^0.1.1-rc.2 || ^0.1.2-rc.1",
60
- "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.2 || ^0.1.2-rc.1",
61
- "@deepseek-ai/dsh-client-ui-conversation": "^0.1.1-rc.2 || ^0.1.2-rc.1",
62
- "@deepseek-ai/dsh-client-ui-sidebar": "^0.1.1-rc.2 || ^0.1.2-rc.1",
63
- "@deepseek-ai/dsh-client-ui-theme": "^0.1.1-rc.2 || ^0.1.2-rc.1"
59
+ "@deepseek-ai/dsh-client-connection": ">=0.1.1-rc.2",
60
+ "@deepseek-ai/dsh-client-locale": ">=0.1.1-rc.2",
61
+ "@deepseek-ai/dsh-client-runtime": ">=0.1.1-rc.2",
62
+ "@deepseek-ai/dsh-client-ui-conversation": ">=0.1.1-rc.2",
63
+ "@deepseek-ai/dsh-client-ui-sidebar": ">=0.1.1-rc.2",
64
+ "@deepseek-ai/dsh-client-ui-theme": ">=0.1.1-rc.2"
64
65
  },
65
66
  "license": "MIT",
66
67
  "devDependencies": {
67
- "@deepseek-ai/cordis": "^4.0.1",
68
+ "@deepseek-ai/cordis": "^4.0.4",
68
69
  "esbuild": "^0.28.2",
69
70
  "playwright-core": "1.62.1"
70
71
  },