@nonamelego/dsh-catppuccin 0.5.6-beta.0 → 0.5.6-beta.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/README.en.md CHANGED
@@ -39,7 +39,8 @@
39
39
 
40
40
  A [Catppuccin](https://github.com/catppuccin/catppuccin) theme plugin for
41
41
  [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) — one package that fits
42
- the **Web GUI** (`dsh web`), **DSH Desktop** and **dsh-TUI** alike: full recolouring plus a
42
+ the **Web GUI** (`dsh web`), the **desktop shells** (the official Electron `apps/desktop` and the
43
+ community DSH Desktop — both on the same `desktop` profile) and **dsh-TUI** alike: full recolouring plus a
43
44
  glass skin on Web / Desktop, and the four official theme palettes auto-synced to the TUI.
44
45
 
45
46
  It ships all four Catppuccin flavours — **Latte**, **Frappé**, **Macchiato**, **Mocha** —
@@ -122,16 +123,26 @@ dsh plugin --profile web add @nonamelego/dsh-catppuccin
122
123
  Restart `dsh web` after installing — `dsh plugin` adds it to the profile's bundles.
123
124
  Use the profile name of your choice in place of `web` (e.g. `headless`).
124
125
 
125
- **[DSH Desktop](https://github.com/anywhere-labs/deepseek-harness-desktop)**: the desktop build's
126
- active profile is named `desktop`, so run:
126
+ **Desktop**: the desktop build's active profile is named `desktop`
127
+ (`$DSH_HOME/profiles/desktop`), so run:
127
128
 
128
129
  ```sh
129
130
  dsh plugin --profile desktop add @nonamelego/dsh-catppuccin
130
131
  ```
131
132
 
132
- Run it in the DSH terminal of the desktop app (`dsh plugin` defaults to the active profile).
133
+ Run it in the DSH terminal of the desktop app (`dsh plugin` defaults to the active profile),
134
+ then restart the app.
133
135
  Installing from the repo works the same way: `dsh plugin --profile desktop add https://github.com/NoNameLeGo/dsh-catppuccin-theme`.
134
136
 
137
+ > **Two desktop shells, one profile**: the official
138
+ > [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) monorepo ships
139
+ > `apps/desktop` / `apps/desktop-host` (Electron, still in development), and the community
140
+ > [DSH Desktop](https://github.com/anywhere-labs/deepseek-harness-desktop) does the same — both boot
141
+ > `$DSH_HOME/profiles/desktop`, so the command above works for either. This plugin's desktop support
142
+ > targets the **official web + desktop** builds; the community shell's `desktopProfiles` service probe
143
+ > is kept, while the official shell is recognized through the `DSH_DESKTOP_NODE_EXECUTABLE` it injects
144
+ > (see `src/profile-detect.ts`).
145
+
135
146
  ### Option 2: from the repository
136
147
 
137
148
  ```sh
@@ -307,11 +318,12 @@ Then add `@nonamelego/dsh-catppuccin` to the profile's `package.json`
307
318
  - **Q: "How is my theme choice remembered?"**
308
319
  A: The choice persists in DSH's official settings document (the `catppuccin` namespace,
309
320
  stored under the DSH home, shared across every DSH instance on the machine), with
310
- localStorage as an in-browser cache and cross-tab sync. So plain `dsh web`,
311
- `dsh web --port <custom>`, and **DSH Desktop** (which boots on a fresh random loopback
312
- port every launch) all restore the preference automatically. The glass switch and every
321
+ localStorage as an in-browser cache and cross-tab sync. So switching browser,
322
+ clearing site data, a custom port (`dsh web --port <custom>`) or a second desktop
323
+ instance never loses the preference; **DSH Desktop** (the official shell and
324
+ `anywhere-labs/dsh-desktop`) restores it across restarts too. The glass switch and every
313
325
  knob persist the same way. Since 0.5.0, a legacy `catppuccin-state.json` is migrated
314
- into the settings document once on first launch (the file is kept as a rollback copy).
326
+ into the official settings once on first launch (the file is kept as a rollback copy).
315
327
  - **Q: "How do I know if this plugin has a new version?"**
316
328
  A: Settings → General → **Check Catppuccin plugin updates** compares against npm in one
317
329
  click and gives a copyable upgrade command; or run
package/README.md CHANGED
@@ -37,7 +37,8 @@
37
37
 
38
38
  [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 的
39
39
  [Catppuccin](https://github.com/catppuccin/catppuccin) 主题插件——一个包同时适配
40
- **Web GUI**(`dsh web`)、**DSH Desktop** 与 **dsh-TUI** 终端:Web / 桌面端做全界面换色与玻璃质感,
40
+ **Web GUI**(`dsh web`)、**桌面版**(官方 Electron 壳 `apps/desktop` 与社区 DSH Desktop,
41
+ 共用 `desktop` profile)与 **dsh-TUI** 终端:Web / 桌面端做全界面换色与玻璃质感,
41
42
  TUI 端自动同步四套官方主题色板。
42
43
 
43
44
  它内置 Catppuccin 的四个主题——**Latte**、**Frappé**、**Macchiato**、**Mocha**——
@@ -114,17 +115,24 @@ dsh plugin --profile web add @nonamelego/dsh-catppuccin
114
115
  装完重启 `dsh web` 即可,`dsh plugin` 会自动把它加进 profile 的 bundles。
115
116
  其他 profile 把命令里的 `web` 换成对应名字即可(如 `headless`)。
116
117
 
117
- **[DSH Desktop](https://github.com/anywhere-labs/deepseek-harness-desktop)**:桌面版默认激活的 profile 就叫 `desktop`,把命令里的 `web`
118
- 换成 `desktop` 即可:
118
+ **桌面版**:桌面端默认激活的 profile 就叫 `desktop`(`$DSH_HOME/profiles/desktop`),
119
+ 把命令里的 `web` 换成 `desktop` 即可:
119
120
 
120
121
  ```sh
121
122
  dsh plugin --profile desktop add @nonamelego/dsh-catppuccin
122
123
  ```
123
124
 
124
125
  在桌面的 **DSH 终端**里运行即可(`dsh plugin` 默认作用于当前激活的 profile,
125
- 若在托盘里选了别的 profile 就换成那个名字),装完重启 **[DSH Desktop](https://github.com/anywhere-labs/deepseek-harness-desktop)** 生效。
126
+ 若在托盘里选了别的 profile 就换成那个名字),装完**重启桌面应用**生效。
126
127
  从仓库安装的方式同理:`dsh plugin --profile desktop add https://github.com/NoNameLeGo/dsh-catppuccin-theme`。
127
128
 
129
+ > **两个桌面壳,同一个 profile**:官方 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)
130
+ > 仓库里的 `apps/desktop` / `apps/desktop-host`(Electron,仍在开发中)与社区的
131
+ > [DSH Desktop](https://github.com/anywhere-labs/deepseek-harness-desktop) 都启动
132
+ > `$DSH_HOME/profiles/desktop`,所以**上面的命令对两者都成立**。本插件的桌面支持以
133
+ > **官方 web + 官方 desktop** 为维护核心;社区壳的 `desktopProfiles` 服务探测也保留,
134
+ > 官方壳则靠它注入的 `DSH_DESKTOP_NODE_EXECUTABLE` 识别(见 `src/profile-detect.ts`)。
135
+
128
136
  ### 方式二:从仓库安装
129
137
 
130
138
  ```sh
@@ -284,12 +292,15 @@ pnpm --dir C:\Users\LeGo\.dsh\profiles\web add link:D:\Vibe-Coding\dsh-catppucci
284
292
  A: 官方外观行只列出内置的浅色/深色/跟随系统偏好。四个主题在它正下方的
285
293
  **Catppuccin** 行里。
286
294
  - Q: **_"我的主题选择是怎么记住的?"_**
287
- A: 选择持久保存在 DSH 的官方 settings 文档(`catppuccin` namespace,存于
288
- DSH home 下,同一台机器的 DSH 共享这份偏好),浏览器 localStorage 作为
289
- 即时缓存与多标签页同步。因此普通 `dsh web`、`dsh web --port` 自定义端口,
290
- 以及 **DSH Desktop**(每次启动用随机回环端口)都能跨重启自动恢复;玻璃质感
291
- 开关与各旋钮同样持久保存。0.5.0 起旧版 `catppuccin-state.json` 会在首次
292
- 启动时一次性迁移进 settings 文档(文件保留作回退)。
295
+ A: 选择持久保存在 DSH 的官方设置里(同一台机器的 DSH 共享这份偏好),浏览器
296
+ localStorage 作为即时缓存与多标签页同步。落点随 DSH 版本而异:**0.1.6 及更早**
297
+ 存于 DSH home 下的官方 settings 文档(`catppuccin` 命名空间);**0.1.7 起**上游
298
+ 改为「插件配置表单」,落点是当前 profile 的 patch 文件里本插件的 `config:` 段
299
+ (本插件两套都支持,按宿主实际提供的服务自动选择)。因此换浏览器、清站点数据、
300
+ 自定义端口(`dsh web --port`)或再开一个桌面实例,偏好都不会丢;
301
+ **DSH Desktop**(官方壳与 `anywhere-labs/dsh-desktop`)同样跨重启自动恢复。
302
+ 玻璃质感开关与各旋钮同样持久保存。0.5.0 起旧版 `catppuccin-state.json`
303
+ 会在首次启动时一次性迁移进官方设置(文件保留作回退)。
293
304
  - Q: **_"怎么知道这个插件有没有新版本?"_**
294
305
  A: 设置 → 常规 → **检查 Catppuccin 插件更新** 一键检测本插件在 npm 上的最新版本,
295
306
  发现新版会给出可复制的升级命令;也可以随时手动执行