@nonamelego/dsh-catppuccin 0.5.10-beta.0 → 0.6.0

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
@@ -19,29 +19,39 @@
19
19
 
20
20
  ## Contents
21
21
 
22
- - [Introduction](#introduction)
23
- - [Features](#features)
24
- - [Previews](#previews)
25
- - [Installation](#installation)
26
- - [Usage](#usage)
27
- - [Glassmorphism](#glassmorphism)
28
- - [Compatibility, permissions and failure bounds](#compatibility-permissions-and-failure-bounds)
29
- - [Development](#development)
30
- - [🙋 FAQ](#-faq)
31
- - [💝 Credits](#-credits)
22
+ <p align="center">
23
+ <a href="#introduction">Introduction</a> ·
24
+ <a href="#features">Features</a> ·
25
+ <a href="#previews">Previews</a> ·
26
+ <a href="#installation">Installation</a> ·
27
+ <a href="#usage">Usage</a> ·
28
+ <a href="#glassmorphism">Glassmorphism</a> ·
29
+ <a href="#compatibility-permissions-and-failure-bounds">Compatibility</a> ·
30
+ <a href="#development">Development</a> ·
31
+ <a href="#-faq">🙋 FAQ</a> ·
32
+ <a href="#-credits">💝 Credits</a>
33
+ </p>
32
34
 
33
35
  <p align="center">
34
36
  <img src="https://raw.githubusercontent.com/NoNameLeGo/dsh-catppuccin-theme/main/assets/previews/combined.png" width="100%" alt="DeepSeek Harness under the four Catppuccin flavours"/>
35
- <br/><br/>
37
+ </p>
38
+
39
+ <details>
40
+ <summary>🪟 Glass skin (Mica mode) · Latte &amp; Mocha</summary>
41
+
42
+ <p align="center">
36
43
  <img src="https://raw.githubusercontent.com/NoNameLeGo/dsh-catppuccin-theme/main/assets/previews/glass-combined.png" width="100%" alt="Glass skin · Latte & Mocha"/>
37
44
  </p>
38
45
 
46
+ </details>
47
+
39
48
  ## Introduction
40
49
 
41
50
  A [Catppuccin](https://github.com/catppuccin/catppuccin) theme plugin for
42
51
  [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) — one package that fits
43
52
  the **Web GUI** (`dsh web`), the **desktop shells** (the official Electron `apps/desktop` and the
44
- community DSH Desktop — both on the same `desktop` profile) and **dsh-TUI** alike: full recolouring plus a
53
+ community DSH Desktop — both on the same `desktop` profile) and
54
+ **[dsh-TUI](https://github.com/ccch1mneyyy/dsh-TUI)** alike: full recolouring plus a
45
55
  glass skin on Web / Desktop, and the four official theme palettes auto-synced to the TUI.
46
56
 
47
57
  It ships all four Catppuccin flavours — **Latte**, **Frappé**, **Macchiato**, **Mocha** —
@@ -75,8 +85,9 @@ Catppuccin theme automatically.
75
85
  - 🔄 **Update check**: one-click "Check for updates" in Settings compares the latest npm
76
86
  version and gives you a copyable upgrade command; **auto-check is on by default** (once at
77
87
  startup, then every 6 hours) and the release channel switches between stable and beta
78
- - 💻 **dsh-TUI terminal themes**: one command installs into dsh-TUI; the four themes sync to
79
- `~/.dsh-tui/themes/` automatically (see [Installation · dsh-TUI](#dsh-tui-terminal-themes))
88
+ - 💻 **[dsh-TUI](https://github.com/ccch1mneyyy/dsh-TUI) terminal themes**: one command installs into
89
+ dsh-TUI; the four themes sync to `~/.dsh-tui/themes/` automatically
90
+ (see [Installation · dsh-TUI](#dsh-tui-terminal-themes))
80
91
 
81
92
  ## Previews
82
93
 
@@ -170,7 +181,8 @@ plugin UI, while the **community shell** runs the same command with
170
181
 
171
182
  ### dsh-TUI (terminal) themes
172
183
 
173
- The same package covers the TUI. Install it into the dsh-tui profile:
184
+ This section covers **[dsh-TUI](https://github.com/ccch1mneyyy/dsh-TUI)**, a third-party terminal
185
+ front end (install it first). The same package covers the TUI — install it into the dsh-tui profile:
174
186
 
175
187
  ```sh
176
188
  dsh plugin --profile dsh-tui add @nonamelego/dsh-catppuccin
@@ -213,6 +225,11 @@ installing, launch `dsh --profile dsh-tui` and pick the theme with `/theme` —
213
225
  4. Choosing **Follow system** reverts to the official theme — it restores the preference
214
226
  you had before enabling Catppuccin (light / dark / follow system) instead of forcing a reset.
215
227
 
228
+ > **Second entrance**: open this plugin's own card on the **Plugins** page and the middle of
229
+ > its detail page shows the **same settings** (Catppuccin theme / Glass / Check for updates) —
230
+ > both read and write one set of preferences, so either place works. That area comes from the
231
+ > host's plugin detail page (`0.2.0-rc.2` and later); older versions do not have it.
232
+
216
233
  ### Other options in the Catppuccin row
217
234
 
218
235
  - **Code highlight style**: default / **italic comments** — affects only the shiki colours used
@@ -412,6 +429,19 @@ link debugging; state-contract migration rules are in
412
429
  point** — **remove the plugin in its plugin UI, then enter the package name
413
430
  `@nonamelego/dsh-catppuccin` again to reinstall**, and restart the app. The two routes are not
414
431
  interchangeable; see the table under Install → Desktop.
432
+ - **Q: "I ran the upgrade but the version did not change (the desktop app still shows the old one)?"**
433
+ A: Most likely pnpm 11's built-in **minimum release age** (`minimumReleaseAge`, default **24 hours**)
434
+ silently filtered the fresh release out: `pnpm add` resolves to the **previous** version inside the
435
+ window (installing `@beta` on release day lands on the previous beta) while the UI keeps showing the
436
+ target version. Three ways out, pick one:
437
+ ① **name the exact version** (easiest) — `@nonamelego/dsh-catppuccin@0.5.10-beta.0`; pnpm then records
438
+ that version in the profile's `minimumReleaseAgeExclude` automatically;
439
+ ② give this package a **whole-package exemption** in the profile's `pnpm-workspace.yaml` (configure once,
440
+ every future beta installs immediately): `minimumReleaseAgeExclude:` then a new line with
441
+ ` - '@nonamelego/dsh-catppuccin'`; ③ wait until the release is 24 hours old.
442
+ To confirm: check `version` in the profile's
443
+ `node_modules/@nonamelego/dsh-catppuccin/package.json` and the `specifier:` for that package in
444
+ `pnpm-lock.yaml`.
415
445
 
416
446
  ## 💝 Credits
417
447
 
package/README.md CHANGED
@@ -17,30 +17,39 @@
17
17
 
18
18
  ## 目录
19
19
 
20
- - [简介](#简介)
21
- - [特性](#特性)
22
- - [预览](#预览)
23
- - [安装](#安装)
24
- - [使用](#使用)
25
- - [玻璃拟态(Glassmorphism)](#玻璃拟态glassmorphism)
26
- - [兼容性、权限与失败边界](#兼容性权限与失败边界)
27
- - [开发](#开发)
28
- - [🙋 常见问题](#常见问题)
29
- - [💝 致谢](#致谢)
20
+ <p align="center">
21
+ <a href="#简介">简介</a> ·
22
+ <a href="#特性">特性</a> ·
23
+ <a href="#预览">预览</a> ·
24
+ <a href="#安装">安装</a> ·
25
+ <a href="#使用">使用</a> ·
26
+ <a href="#玻璃拟态glassmorphism">玻璃拟态</a> ·
27
+ <a href="#兼容性权限与失败边界">兼容性</a> ·
28
+ <a href="#开发">开发</a> ·
29
+ <a href="#-常见问题">🙋 常见问题</a> ·
30
+ <a href="#-致谢">💝 致谢</a>
31
+ </p>
30
32
 
31
33
  <p align="center">
32
34
  <img src="https://raw.githubusercontent.com/NoNameLeGo/dsh-catppuccin-theme/main/assets/previews/combined.png" width="100%" alt="Catppuccin 四主题下的 DeepSeek Harness"/>
33
- <br/><br/>
35
+ </p>
36
+
37
+ <details>
38
+ <summary> 关键字高亮 · Latte &amp; Mocha</summary>
39
+
40
+ <p align="center">
34
41
  <img src="https://raw.githubusercontent.com/NoNameLeGo/dsh-catppuccin-theme/main/assets/previews/glass-combined.png" width="100%" alt="玻璃质感 · Latte & Mocha"/>
35
42
  </p>
36
43
 
44
+ </details>
45
+
37
46
  ## 简介
38
47
 
39
48
  [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 的
40
49
  [Catppuccin](https://github.com/catppuccin/catppuccin) 主题插件——一个包同时适配
41
50
  **Web GUI**(`dsh web`)、**桌面版**(官方 Electron 壳 `apps/desktop` 与社区 DSH Desktop,
42
- 共用 `desktop` profile)与 **dsh-TUI** 终端:Web / 桌面端做全界面换色与玻璃质感,
43
- TUI 端自动同步四套官方主题色板。
51
+ 共用 `desktop` profile)与 **[dsh-TUI](https://github.com/ccch1mneyyy/dsh-TUI)** 终端:
52
+ Web / 桌面端做全界面换色与玻璃质感,TUI 端自动同步四套官方主题色板。
44
53
 
45
54
  它内置 Catppuccin 的四个主题——**Latte**、**Frappé**、**Macchiato**、**Mocha**——
46
55
  把整个界面的配色都换成对应的 Catppuccin 色板;并在 **设置 → 常规 → 外观**
@@ -68,7 +77,7 @@ Catppuccin 主题。
68
77
  纯色背景跟随主题底色——内容滚入视口边缘时柔化穿过,层次更立体
69
78
  - 🎨 玻璃配色自动跟随当前 Catppuccin 主题
70
79
  - 🔄 **检查 Catppuccin 插件更新**:设置页一键检测本插件(dsh-catppuccin)在 npm 上的最新版本,发现新版直接给出可复制的升级命令;**默认开启自动检查**(启动后一次 + 每 6 小时),更新渠道可选稳定版 / Beta
71
- - 💻 **dsh-TUI 终端主题**:一条安装命令装进 dsh-TUI,四套主题自动同步到 `~/.dsh-tui/themes/`,见[安装 · dsh-TUI](#dsh-tui-终端版主题)
80
+ - 💻 **[dsh-TUI](https://github.com/ccch1mneyyy/dsh-TUI) 终端主题**:一条安装命令装进 dsh-TUI,四套主题自动同步到 `~/.dsh-tui/themes/`,见[安装 · dsh-TUI](#dsh-tui终端版主题)
72
81
 
73
82
  ## 预览
74
83
 
@@ -151,9 +160,10 @@ dsh plugin --profile web add https://github.com/NoNameLeGo/dsh-catppuccin-theme
151
160
  桌面版同理,但按上面的表走:**官方壳**在插件界面里直接填 Git 地址;**社区壳**把这条命令的
152
161
  `dsh plugin --profile web add …` 换成 `dsh plugin --profile desktop add …`。
153
162
 
154
- ### dsh-TUI(终端版)主题
163
+ ### **[dsh-TUI](https://github.com/ccch1mneyyy/dsh-TUI)**(终端版)主题
155
164
 
156
- 与 Web GUI 插件同一个包。用标准的插件安装命令装进 dsh-tui profile:
165
+ 本节针对第三方终端前端 **[dsh-TUI](https://github.com/ccch1mneyyy/dsh-TUI)**(需先自行装好它)。
166
+ 与 Web GUI 插件同一个包,用标准的插件安装命令装进 dsh-tui profile:
157
167
 
158
168
  ```sh
159
169
  dsh plugin --profile dsh-tui add @nonamelego/dsh-catppuccin
@@ -187,6 +197,10 @@ dsh plugin --profile dsh-tui add https://github.com/NoNameLeGo/dsh-catppuccin-th
187
197
  4. 选择 **跟随系统** 则回退到官方主题——会还原你启用 Catppuccin 之前
188
198
  的官方偏好(浅色 / 深色 / 跟随系统),而不是强制重置。
189
199
 
200
+ > **另一处入口**:在 **插件页**(Plugins)点开本插件自己的卡片,中间会出现**同一组设置**
201
+ > (Catppuccin 主题 / 玻璃质感 / 检查更新)——两处读写的是同一份偏好,改哪边都一样。
202
+ > 该区域由宿主(≥ `0.2.0-rc.2` 的插件详情页)提供,更旧的版本上没有。
203
+
190
204
  ### Catppuccin 行里的其它选项
191
205
 
192
206
  - **代码高亮风格**:默认 / **注释斜体**(italic-comments)——只影响代码块与 diff 的 shiki 高亮配色。
@@ -376,6 +390,16 @@ CHANGELOG 草稿由 `pnpm changelog:gen` 从 conventional 提交里产出。
376
390
  DSH 终端里用同一条命令(把 `web` 换成 `desktop`);**官方壳没有升级入口**——要在插件界面里
377
391
  **先删掉本插件,再重新填一遍包名 `@nonamelego/dsh-catppuccin` 安装**,然后重启应用。
378
392
  两种方式不通用,详见上面「安装 → 桌面版」的对照表。
393
+ - Q: **_"升级命令跑了,但版本没变(桌面版重启后也还是旧的)?"_**\
394
+ A: 大概率是 pnpm 11 内置的**最小发布年龄**(`minimumReleaseAge`,默认 **24 小时**)把刚发布的版本
395
+ 静默过滤掉了:`pnpm add` 会解析到**上一个**符合窗口的版本(例如新 beta 发布当天去装 `@beta`,
396
+ 实际装到的仍是上一个 beta),而界面显示的却是目标版本。三条出路,任选其一:
397
+ ① **指名精确版本**(最省事)——`@nonamelego/dsh-catppuccin@0.5.10-beta.0`,pnpm 会自动把该版本
398
+ 写进当前 profile 的 `minimumReleaseAgeExclude`;② 在当前 profile 的 `pnpm-workspace.yaml` 里
399
+ 给本包**整包豁免**(一次配置,之后每个新 beta 都能立刻装):
400
+ `minimumReleaseAgeExclude:` 换行再加 ` - '@nonamelego/dsh-catppuccin'`;③ 等版本发布满 24 小时。
401
+ 判断方法:看 profile 里 `node_modules/@nonamelego/dsh-catppuccin/package.json` 的 `version`,
402
+ 以及 `pnpm-lock.yaml` 里那个包的 `specifier:`。
379
403
 
380
404
  ## 💝 致谢
381
405