@iasiv5/dsh-skins 1.0.8 → 1.0.10

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": "素笺玄墨 · 留白生辉 · 本色天成",
@@ -1206,7 +1206,7 @@ ${darkSelector}{${dark.join(";")}}`;
1206
1206
  "host.update.linkProtected": "本地 link 开发模式不会被在线更新覆盖",
1207
1207
  "host.update.sourceUnsupported": "当前安装来源不支持一键更新",
1208
1208
  "host.update.alreadyLatest": "已经是最新正式版本",
1209
- "host.update.sourceChanged": "更新开始前安装来源已变化,请重新打开皮肤切换器",
1209
+ "host.update.sourceChanged": "更新开始前安装来源已变化,请重新打开主题切换器",
1210
1210
  "host.update.commandFailed": "DSH 插件更新失败(exit {exitCode}):{output}",
1211
1211
  "host.update.commandTimeout": "DSH 插件更新超时",
1212
1212
  "host.update.rollbackSuffix": ";自动回滚失败:{reason}",
@@ -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",
@@ -1329,7 +1329,7 @@ ${darkSelector}{${dark.join(";")}}`;
1329
1329
  "host.update.linkProtected": "Local link development installs are never overwritten by online updates",
1330
1330
  "host.update.sourceUnsupported": "The current install source does not support one-click updates",
1331
1331
  "host.update.alreadyLatest": "Already on the latest stable release",
1332
- "host.update.sourceChanged": "The install source changed before the update started; reopen the skin switcher",
1332
+ "host.update.sourceChanged": "The install source changed before the update started; reopen the theme switcher",
1333
1333
  "host.update.commandFailed": "DSH plugin update failed (exit {exitCode}): {output}",
1334
1334
  "host.update.commandTimeout": "DSH plugin update timed out",
1335
1335
  "host.update.rollbackSuffix": "; automatic rollback failed: {reason}",
package/lib/index.js CHANGED
@@ -637,7 +637,7 @@ function createSelfUpdater(options, dependencies = {}) {
637
637
  const previousManifest = readInstalledManifest(profileDir);
638
638
  previousVersion = previousManifest?.version ?? currentVersion;
639
639
  if (detectInstallSource(previousSpec).kind !== "npm") {
640
- throw codedError("UPDATE_SOURCE_CHANGED", "更新开始前安装来源已变化,请重新打开皮肤切换器");
640
+ throw codedError("UPDATE_SOURCE_CHANGED", "更新开始前安装来源已变化,请重新打开主题切换器");
641
641
  }
642
642
  validatePluginManifest(previousManifest, previousVersion);
643
643
  snapshot = captureProfileSnapshot(profileDir);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iasiv5/dsh-skins",
3
- "description": "DSH Web 皮肤插件:多套品牌皮肤侧栏热切换,一键回到官方界面。",
4
- "version": "1.0.8",
3
+ "description": "DSH Web 皮肤插件:多套品牌皮肤侧栏热切换。",
4
+ "version": "1.0.10",
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
  },