dsh-claude-style 0.21.2 → 0.21.3
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 +11 -27
- package/README.md +11 -10
- package/docs/CHANGELOG.md +40 -2
- package/docs/STYLE.md +25 -22
- package/docs/THIRD_PARTY_NOTICES.md +2 -2
- package/lib/assets/30b4854e7d1f.js.br +0 -0
- package/lib/assets/e464eff9bb24.js.br +0 -0
- package/lib/assets/manifest.json +5 -5
- package/lib/client.js +14 -14
- package/lib/host/appearance-overlays.js +1 -1
- package/lib/host/routes.js +1 -1
- package/lib/host/settings.js +1 -1
- package/lib/host/usage.js +1 -1
- package/lib/prices.json +164 -101
- package/package.json +1 -1
- package/lib/assets/5ad69ead473c.js.br +0 -0
- package/lib/assets/8fd9d8944401.js.br +0 -0
package/README.en.md
CHANGED
|
@@ -6,13 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
> **Why settle for another Claude Code when your next Claude Code Desktop is here.**
|
|
8
8
|
|
|
9
|
-
[](README.en.md)
|
|
10
|
-
|
|
9
|
+
[](README.en.md)
|
|
10
|
+
[](README.md)
|
|
11
11
|
[](https://www.npmjs.com/package/dsh-claude-style)
|
|
12
12
|
[](https://www.npmjs.com/package/dsh-claude-style)
|
|
13
13
|
[](https://github.com/Nwflower/dsh-claude-style)
|
|
14
|
-
[](https://www.dsh.so/artifact/dsh-claude-style/)
|
|
15
|
-
[](LICENSE)
|
|
16
14
|
|
|
17
15
|
</div>
|
|
18
16
|
|
|
@@ -33,7 +31,7 @@ Switch between the Claude and DeepSeek brands in settings; light and dark follow
|
|
|
33
31
|
</tr>
|
|
34
32
|
</table>
|
|
35
33
|
|
|
36
|
-
> Code home above, Markdown conversation below; light on the left, dark on the right.
|
|
34
|
+
> Code home above, Markdown conversation below; light on the left, dark on the right.
|
|
37
35
|
|
|
38
36
|
### DeepSeek
|
|
39
37
|
|
|
@@ -48,7 +46,7 @@ Switch between the Claude and DeepSeek brands in settings; light and dark follow
|
|
|
48
46
|
</tr>
|
|
49
47
|
</table>
|
|
50
48
|
|
|
51
|
-
>
|
|
49
|
+
> Deepy the pixel whale stands on the composer in eight states:
|
|
52
50
|
|
|
53
51
|
<table>
|
|
54
52
|
<tr>
|
|
@@ -65,10 +63,6 @@ Switch between the Claude and DeepSeek brands in settings; light and dark follow
|
|
|
65
63
|
</tr>
|
|
66
64
|
</table>
|
|
67
65
|
|
|
68
|
-
> In Settings the mascot can also be switched to the pixel crab Clawd or the whale girl. Resting the pointer on the mascot opens a pixel bubble: the DeepSeek account balance, gifted credit included and drawn down live as the conversation spends (checked against the platform at most once a minute), on top, and under it what the current conversation has cost, the same figure the statistics line shows.
|
|
69
|
-
|
|
70
|
-
> The workspaces, sessions, usage figures and nickname in the screenshots are sample data.
|
|
71
|
-
|
|
72
66
|
## Installation
|
|
73
67
|
|
|
74
68
|
From the official plugin page add the package below, or from a terminal:
|
|
@@ -82,15 +76,7 @@ dsh plugin --profile web add dsh-claude-style # npm package (
|
|
|
82
76
|
dsh plugin --profile web add Nwflower/dsh-claude-style#dist # GitHub release branch
|
|
83
77
|
```
|
|
84
78
|
|
|
85
|
-
Also from the [plugin market](https://github.com/dsh-market/dsh-market) or the Skin Center of
|
|
86
|
-
|
|
87
|
-
## Manual unread marks
|
|
88
|
-
|
|
89
|
-
Choose **Mark as unread** or **Clear unread mark** from a session's ellipsis menu. Marks are saved in the current profile, survive reloads, and clear when you leave and later open that session. The host's automatic completion reminders stay independent.
|
|
90
|
-
|
|
91
|
-
## Retract and edit a message
|
|
92
|
-
|
|
93
|
-
Hover a message you sent and **Retract** and **Edit** join the clock and copy buttons. Both open a new session and leave the original as it was: retracting drops that message and everything after it and puts the text back in the composer for you to send again, while editing amends the text in place first and sends it in the new session as soon as you confirm. A message carrying images or files gets neither button, since attachments cannot travel with the text into a new session. Both wait while the turn is still running. Disable the feature under **Conversation** in the plugin settings.
|
|
79
|
+
Also available from the [plugin market](https://github.com/dsh-market/dsh-market) or the Skin Center of dsh-web-all. Keep one theme enabled at a time; dsh ≥ 0.2.2-rc.1 is required, and restart DeepSeek Harness after installing.
|
|
94
80
|
|
|
95
81
|
## Declarative appearance configuration
|
|
96
82
|
|
|
@@ -115,6 +101,7 @@ brandingPreset: company-primary
|
|
|
115
101
|
brandingPresets:
|
|
116
102
|
- id: company-primary
|
|
117
103
|
name: Company Primary
|
|
104
|
+
ink: original
|
|
118
105
|
mark:
|
|
119
106
|
light: "./branding/primary-mark-light.svg"
|
|
120
107
|
dark: "./branding/primary-mark-dark.svg"
|
|
@@ -126,10 +113,10 @@ modelOrderRows:
|
|
|
126
113
|
- sensenova/sensenova-6.8-flash
|
|
127
114
|
```
|
|
128
115
|
|
|
129
|
-
- Colour records
|
|
130
|
-
- A logo preset has a stable `id`, an optional `name`,
|
|
116
|
+
- Colour records use the five-seed model (`accent`, `background`, `text`, `code`, `link`) plus `edges`. The six built-in presets (`claude`, `deepseek`, `parchment`, `forest`, `dusk`, `rose`) and **Follow the brand** remain available.
|
|
117
|
+
- A logo preset has a stable `id`, an optional `name`, at least one of `mark` or `wordmark`, and an optional `ink` field (`original`, `accent` or `text`, defaulting to the original image colours). One string uses the same image in both appearances; a `light` / `dark` pair selects by appearance, with the supplied side covering a missing side.
|
|
131
118
|
- Relative image paths resolve from `$DSH_HOME/dsh-claude-style/` and must stay inside it. PNG, SVG and WebP files up to 2 MB are accepted. UI uploads live under `branding/presets/<id>/`, so switching presets needs no repeated upload.
|
|
132
|
-
- Appearance settings create, duplicate, rename, select and delete logo presets,
|
|
119
|
+
- Appearance settings include eight built-in vendor presets (OpenAI, Gemini, Qwen, Kimi Code, ZCode, MiniMax, Grok, Xiaomi MiMo) and let you create, duplicate, rename, select and delete logo presets, replace light and dark images separately, and adjust logo colour. An empty `brandingPreset` follows the active theme's logo, and any earlier standalone global uploads are migrated into a **Current images** preset automatically. Logo and colour selections stay independent.
|
|
133
120
|
- UI edits persist in the plugin-managed `appearance-overlays.json` and merge with base YAML by `id`. UI-created or edited records and selection overrides win; records added later to the file are merged in, and base records deleted through the UI do not return after a reload. After a manual configuration edit and reload, unconflicted records follow the file, while conflicts follow the latest UI edit.
|
|
134
121
|
- Invalid records are reported and skipped without removing valid ones. A missing or invalid image affects only that image and leaves the other presets and settings UI working.
|
|
135
122
|
- `modelOrder` accepts `id`, `brand`, `catalog` and `custom`. Brand order places recognised vendors first and hides descriptions on unrecognised rows. Custom order follows `provider/model` entries in `modelOrderRows`; remaining models follow in ID order.
|
|
@@ -138,14 +125,13 @@ modelOrderRows:
|
|
|
138
125
|
|
|
139
126
|
> The Anthropic fonts have no public release; this repository only offers [copies](https://github.com/Nwflower/dsh-claude-style/tree/master/packages/assets/src/fonts/anthropic) for download and study.
|
|
140
127
|
|
|
141
|
-
To enable them, install the `.ttf` files on your system, or copy them into `$DSH_HOME/dsh-claude-style/fonts
|
|
142
|
-
|
|
143
|
-
The mascot bubble's pixel text is set in [PoxiaoPixel](https://diaowinner.itch.io/poxiaopixel) by DWNfonts (SIL OFL 1.1); the package carries only the characters the bubble uses.
|
|
128
|
+
To enable them, install the `.ttf` files on your system, or copy them into `$DSH_HOME/dsh-claude-style/fonts/` (takes effect after a reload).
|
|
144
129
|
|
|
145
130
|
## Documentation
|
|
146
131
|
|
|
147
132
|
| Document | Contents |
|
|
148
133
|
| --- | --- |
|
|
134
|
+
| [Architecture](docs/ARCHITECTURE.md) | Repository layout, engine and half boundaries, cross-module invariants |
|
|
149
135
|
| [Design tokens](docs/STYLE.md) | The palette, typography, shape, motion and layer rules |
|
|
150
136
|
| [Architecture decisions](docs/adr/README.md) | One page per direction: background, decision, consequences, revisiting conditions |
|
|
151
137
|
| [Changelog](docs/CHANGELOG.md) | Version history |
|
|
@@ -168,8 +154,6 @@ The Sodium rendering engine is licensed under the [PolyForm Shield License 1.0.0
|
|
|
168
154
|
|
|
169
155
|
## Related projects
|
|
170
156
|
|
|
171
|
-
> Running several themes at once? Try [dsh-skin-manager](https://github.com/xiaoyangcheng84-svg/dsh-skin-manager) — it switches between all installed themes from a single settings page.
|
|
172
|
-
|
|
173
157
|
> Want to import your Claude Code / Codex session history into DSH and keep the conversation going? Try the author's other plugin, [dsh-chat-import](https://github.com/Nwflower/dsh-chat-import).
|
|
174
158
|
|
|
175
159
|
## Star History
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**为 DeepSeek Harness 复刻 Claude Code Desktop 风格与交互体验的主题插件。**
|
|
6
6
|
|
|
7
|
-
> **你的下一个 Claude Code Desktop
|
|
7
|
+
> **你的下一个 Claude Code Desktop,何必是 Claude Code。**
|
|
8
8
|
|
|
9
9
|
[](README.md)
|
|
10
10
|
[](README.en.md)
|
|
@@ -62,6 +62,7 @@ Claude 与 DeepSeek 品牌在插件设置里切换,亮暗跟随系统。外观
|
|
|
62
62
|
<td align="center" width="25%"><img src="./docs/gifs/sleeping.gif" width="120" alt="睡着" /><br />睡着</td>
|
|
63
63
|
</tr>
|
|
64
64
|
</table>
|
|
65
|
+
|
|
65
66
|
## 安装
|
|
66
67
|
|
|
67
68
|
官方插件页添加这个包名,或从终端安装:
|
|
@@ -75,9 +76,7 @@ dsh plugin --profile web add dsh-claude-style # npm 包(推
|
|
|
75
76
|
dsh plugin --profile web add Nwflower/dsh-claude-style#dist # GitHub 发布分支
|
|
76
77
|
```
|
|
77
78
|
|
|
78
|
-
也可从[插件市场](https://github.com/dsh-market/dsh-market)或 dsh-web-all
|
|
79
|
-
|
|
80
|
-
需要 dsh ≥ 0.2.2-rc.1,装好后重启 DeepSeek Harness。
|
|
79
|
+
也可从[插件市场](https://github.com/dsh-market/dsh-market)或 dsh-web-all 的皮肤中心安装。同一时刻只启用一个主题;需要 dsh ≥ 0.2.2-rc.1,装好后重启 DeepSeek Harness。
|
|
81
80
|
|
|
82
81
|
## 声明式外观配置
|
|
83
82
|
|
|
@@ -102,6 +101,7 @@ brandingPreset: company-primary
|
|
|
102
101
|
brandingPresets:
|
|
103
102
|
- id: company-primary
|
|
104
103
|
name: Company Primary
|
|
104
|
+
ink: original
|
|
105
105
|
mark:
|
|
106
106
|
light: "./branding/primary-mark-light.svg"
|
|
107
107
|
dark: "./branding/primary-mark-dark.svg"
|
|
@@ -113,10 +113,10 @@ modelOrderRows:
|
|
|
113
113
|
- sensenova/sensenova-6.8-flash
|
|
114
114
|
```
|
|
115
115
|
|
|
116
|
-
-
|
|
117
|
-
- 标志预设包含稳定的 `id`、可选的 `name
|
|
116
|
+
- 配色记录采用五色种子模型,支持 `accent`、`background`、`text`、`code`、`link` 和 `edges`。内置六套预设(`claude`、`deepseek`、`parchment`、`forest`、`dusk`、`rose`)及「跟随品牌」继续可用。
|
|
117
|
+
- 标志预设包含稳定的 `id`、可选的 `name`、至少提供 `mark` 或 `wordmark` 之一,以及可选的着色字段 `ink`(`original`、`accent`、`text`,默认保留原图颜色)。图片写成单个字符串时亮暗共用;写成 `light` / `dark` 对时按当前外观选择,缺少的一侧回退到另一侧。
|
|
118
118
|
- 相对图片路径以 `$DSH_HOME/dsh-claude-style/` 为根目录,只能引用该目录内的 PNG、SVG 或 WebP 文件,单张不超过 2 MB。UI 上传使用 `branding/presets/<id>/` 下的托管资源;切换预设不需要再次上传。
|
|
119
|
-
-
|
|
119
|
+
- 外观设置内置八套厂商标志(OpenAI、Gemini、Qwen、Kimi Code、ZCode、MiniMax、Grok、Xiaomi MiMo),可以新建、复制、重命名、选择和删除标志预设,也可分别替换明暗图片与调整标志颜色。`brandingPreset` 留空时跟随当前主题标志,此前在预设之外上传的全局图片会自动迁入「当前图片」预设,配色与标志选择互不影响。
|
|
120
120
|
- UI 修改通过插件的 `appearance-overlays.json` 持久化,按 `id` 与基础 YAML 合并。UI 创建或修改的记录及选择覆盖优先;文件后来新增的记录继续并入,UI 删除的基础记录不会因重载恢复。手动修改配置并重载后,未冲突的记录以文件为准,发生冲突的字段以最近一次 UI 修改为准。
|
|
121
121
|
- 无法解析的记录会被报告并跳过,其余记录继续生效。缺失或无效图片只影响对应图片,不会移除其它预设或使设置页失效。
|
|
122
122
|
- `modelOrder` 可取 `id`、`brand`、`catalog`、`custom`。`brand` 把可识别品牌排在前面,未识别行不显示副标题;`custom` 按 `modelOrderRows` 中的 `provider/model` 顺序排列,未列出的模型按标识排在后面。
|
|
@@ -125,13 +125,13 @@ modelOrderRows:
|
|
|
125
125
|
|
|
126
126
|
> Anthropic 没有公开发行这三款字体;本仓库只提供下载与研究的[副本](https://github.com/Nwflower/dsh-claude-style/tree/master/packages/assets/src/fonts/anthropic)。
|
|
127
127
|
|
|
128
|
-
|
|
129
128
|
启用时二选一:装进系统,或把 `.ttf` 复制到 `$DSH_HOME/dsh-claude-style/fonts/`(刷新页面后生效)。
|
|
130
129
|
|
|
131
130
|
## 文档
|
|
132
131
|
|
|
133
132
|
| 文档 | 说明 |
|
|
134
133
|
| --- | --- |
|
|
134
|
+
| [架构](docs/ARCHITECTURE.md) | 仓库结构、引擎与两半边边界、跨模块不变量 |
|
|
135
135
|
| [设计令牌](docs/STYLE.md) | 配色、字体、形状、动效与层级 |
|
|
136
136
|
| [架构决策](docs/adr/README.md) | 每条方向一页:背景、决定、后果与重审条件 |
|
|
137
137
|
| [更新日志](docs/CHANGELOG.md) | 版本历史 |
|
|
@@ -147,9 +147,10 @@ modelOrderRows:
|
|
|
147
147
|
|
|
148
148
|
- 「钠 / Sodium」取名致敬 Minecraft 的 [Sodium](https://github.com/CaffeineMC/sodium) 渲染优化模组,本插件与它无关。
|
|
149
149
|
- 消息导航参考 SherUnlocked-4869 的 [dsh-plugin-msg-nav](https://github.com/SherUnlocked-4869/dsh-plugin-msg-nav)(MIT)。
|
|
150
|
-
- Deepy
|
|
150
|
+
- Deepy 小鲸鱼的动画帧图来自 calmly-eating-bugs([@wp3171216237](https://github.com/wp3171216237))绘制的主题包,经作者授权随插件发布;20 个动画的 GIF 见 [docs/gifs/](docs/gifs/)。
|
|
151
|
+
- 鲸鱼娘像素表情来自 issue #224。
|
|
151
152
|
- 聊天区的增强动效改自 [dsh-chat-ux](https://github.com/alm-allen/dsh-chat-ux)(MIT)。
|
|
152
|
-
- Clawd是 Anthropic
|
|
153
|
+
- Clawd 是 Anthropic 的角色形象,其帧图不在 MIT 许可范围内(见 [LICENSE](LICENSE))。本插件是非官方爱好者作品,与 Anthropic 没有关联。
|
|
153
154
|
|
|
154
155
|
## 友链
|
|
155
156
|
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `dsh-claude-style` are documented here, newest first.
|
|
4
4
|
|
|
5
|
+
## [0.21.3] - 2026-11-15
|
|
6
|
+
|
|
7
|
+
[中文](#cn-0.21.3) | [English](#en-0.21.3)
|
|
8
|
+
|
|
9
|
+
<h3 id="cn-0.21.3">新增功能</h3>
|
|
10
|
+
|
|
11
|
+
- 支持使用 Ctrl+U 或 Cmd+U 打开当前输入框的文件选择器
|
|
12
|
+
- 推理滑块暴露当前模型族,并支持自定义旋钮图片、帧数与尺寸
|
|
13
|
+
|
|
14
|
+
### 体验优化
|
|
15
|
+
|
|
16
|
+
- 对话详情栏的子智能体行改用菱形图标,时长之外不再显示运行状态、可继续与 token 用量,产出节与子智能体节的图标降到标题墨色的三分之二
|
|
17
|
+
|
|
18
|
+
### 问题修复
|
|
19
|
+
|
|
20
|
+
- 减少两行步进接管前与长步骤折叠时的排版开销
|
|
21
|
+
- 窗口宽度不足 768px 时展开的侧栏重新拿到自己的轨道,不再被压成一条竖线
|
|
22
|
+
- 窄窗口下「标题进入顶栏」的顶栏与对话头部不再来回跳动,标题回到行内时行也不再停在半空中
|
|
23
|
+
- 标志颜色对 Claude 品牌的侧栏标志与字标生效,与设置页预览和账号行头像读同一个颜色
|
|
24
|
+
- 应用窗口里收起的侧栏折走整条轨道,浏览器页面里仍留宿主的 56 像素图标栏,窄窗口左侧不再多出一条空带
|
|
25
|
+
|
|
26
|
+
<h3 id="en-0.21.3">New Features</h3>
|
|
27
|
+
|
|
28
|
+
- Open the current composer's native file picker with Ctrl+U or Cmd+U
|
|
29
|
+
- Expose the current model family and reader-supplied knob artwork, frame counts and dimensions on the reasoning slider
|
|
30
|
+
|
|
31
|
+
### Improvements
|
|
32
|
+
|
|
33
|
+
- Draw the details rail's subagent rows with the diamond mark, keep only their clock beside it, and quiet the marks of the Outputs and Subagents sections to two thirds of the title's ink
|
|
34
|
+
|
|
35
|
+
### Bug Fixes
|
|
36
|
+
|
|
37
|
+
- Reduce layout work before stepped reasoning takes over and while long steps fold
|
|
38
|
+
- Reopening the sidebar below 768px gives it its own track back instead of squeezing it to a sliver
|
|
39
|
+
- The Windows caption row and the conversation header stop jumping in a narrow window, and the row comes back down when the title returns to it
|
|
40
|
+
- Make the mark-colour choice reach the Claude brand's sidebar mark and wordmark, in the same colour the settings preview and the account row's picture take
|
|
41
|
+
- Fold the collapsed sidebar's track away in the app window while the browser page keeps the host's 56px icon rail, so a narrow window no longer carries an empty band at the left
|
|
42
|
+
|
|
5
43
|
## [0.21.2] - 2026-11-14
|
|
6
44
|
|
|
7
45
|
[中文](#cn-0.21.2) | [English](#en-0.21.2)
|
|
@@ -1681,7 +1719,7 @@ Full Changelog: [v0.18.1...v0.18.2](https://github.com/Nwflower/dsh-claude-style
|
|
|
1681
1719
|
- 英雄首页那张选择器卡的触发点也记住答案,输入卡片上那个工作区触发点与首页那一行共用的查找由一处记住、页面结构变化才重查,登记表里这一条从三处降到两处。
|
|
1682
1720
|
- 首页那张宿主菜单卡也走同一条查找,英雄首页落位前改用宿主访问模块里记住答案的那一处,登记表里这条从两处降到一处。
|
|
1683
1721
|
- 两份决定草稿里记的现状跟上已经做完的部分,整份文档的查找记账现存四十三处,`importance` 台账覆盖全部五百三十九处 `!important`,边界表已有十四条由 `packages/testing/bounds.cjs` 供各场景读取,检查表达式里的其余数字由 `check-numbers.json` 记录并核对。
|
|
1684
|
-
-
|
|
1722
|
+
- 侧栏分区的标题改由总线登记表供着,标题清单由观察总线按选择器登记、随页面变化增量维护,每趟刷新只在清单里挑一次,标题与布局都不变时不再走文档,登记表里这一条欠账划掉、现存四十二处。
|
|
1685
1723
|
- 登记一处查不到的原因,首页那一行「开着的选择器」要的是「属性一变就作废」的答案,得由它自己的读取或当趟已经拿着的行来给。
|
|
1686
1724
|
- 对手分类按走查自己的口径补齐两处,去掉重要性之后有过渡开始也算作「这个候选正托着值」,与简写并排写的长属性也成为候选,台账的说明把试过的三条死路一并写下。
|
|
1687
1725
|
- 冒烟的静置判定补上「没有还在跑的有限动画」,页面上仍在运行的有限动画未结束就不采读数,无限循环的那种不算。
|
|
@@ -1731,7 +1769,7 @@ Full Changelog: [v0.18.1...v0.18.2](https://github.com/Nwflower/dsh-claude-style
|
|
|
1731
1769
|
- The hero picker's card trigger keeps its answer too, the workspace trigger on the composer card and the hero row served by one kept lookup re-asked only when the page's structure changes, and the ledger entry for that file drops from three lookups to two.
|
|
1732
1770
|
- The hero page reads the host's open menu card through the same lookup, using the accessor that keeps that answer, and the ledger entry for the file drops from two lookups to one.
|
|
1733
1771
|
- Both decision drafts' standing sections follow what has landed, the lookup record standing at forty-three sites, the `!important` ledger covering all five hundred and thirty-nine declarations, the bounds table holding fourteen values read through `packages/testing/bounds.cjs`, and the remaining numbers in check expressions recorded and verified in `check-numbers.json`.
|
|
1734
|
-
- The sidebar's section labels come from the bus registry now, the labels kept by the observation bus per selector and maintained incrementally as the page changes
|
|
1772
|
+
- The sidebar's section labels come from the bus registry now, the labels kept by the observation bus per selector and maintained incrementally as the page changes, so a pass picks from the list without walking the document and the ledger entry is struck out with forty-two sites remaining.
|
|
1735
1773
|
- Why one lookup cannot move is written down, the hero row's open pickers needing an answer invalidated by an attribute change, from a reader of its own or from the row the pass already holds.
|
|
1736
1774
|
- The opponent classification now matches the walk's own criteria in two places, a declaration counting as necessary when dropping its importance starts a transition and a longhand written beside a shorthand becoming a candidate, with the three dead ends tried recorded in the ledger's note.
|
|
1737
1775
|
- The smoke walk's settle rule now requires that no finite animation is still running, a reading waiting until every finite animation the page runs has finished, an endless one being no such thing.
|
package/docs/STYLE.md
CHANGED
|
@@ -16,28 +16,30 @@ rule names (D48). The three tables marked generated are written from
|
|
|
16
16
|
|
|
17
17
|
## Palette
|
|
18
18
|
|
|
19
|
-
Every look is a **colour card**: an accent, a canvas, a sidebar and
|
|
20
|
-
bubble per scheme, an inline-code ink and, when its prose links
|
|
21
|
-
their own, a link per scheme. The first card is the default
|
|
22
|
-
outlines are drawn either as a lit highlight or as a flat
|
|
23
|
-
brand art takes its colour from the
|
|
19
|
+
Every look is a **colour card**: an accent, a canvas, a body ink, a sidebar and
|
|
20
|
+
the reader's bubble per scheme, an inline-code ink and, when its prose links
|
|
21
|
+
keep a family of their own, a link per scheme. The first card is the default
|
|
22
|
+
look. A card's dark outlines are drawn either as a lit highlight or as a flat
|
|
23
|
+
surface step, and a brand preset's art takes its colour from the original
|
|
24
|
+
image, the ink or the accent (D97).
|
|
24
25
|
|
|
25
26
|
The colour every token paints is a **tone** of one of those seeds; the build
|
|
26
27
|
resolves the tones into plain colours, so the page ships literals and nothing
|
|
27
28
|
derives at runtime. The ladder is shared by every card; a card states only its
|
|
28
29
|
seeds, its sidebar, its bubble and its traits.
|
|
29
30
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
31
|
+
Six built-in presets (Claude, DeepSeek, Parchment, Forest, Dusk and Rose) and
|
|
32
|
+
reader-created schemes share the same five-seed model (`accent`, `background`,
|
|
33
|
+
`text`, `code`, `link`). Every card can be picked; a picked card paints its own
|
|
34
|
+
colours whatever the brand mark is, and offers 「恢复跟随品牌」 to hand the
|
|
35
|
+
colours back to the active theme's brand. Custom and edited schemes write the
|
|
36
|
+
same ladder as relative colours, one block per brand and appearance, so the
|
|
37
|
+
colours resolve in the page while unedited built-in cards keep their literals;
|
|
38
|
+
each branding preset's ink choice (`original`, `accent`, `text`) repaints the
|
|
39
|
+
brand art from the same table (D97).
|
|
38
40
|
|
|
39
41
|
The schemes are managed in one dialog of two columns. The left column lists
|
|
40
|
-
every scheme as a line of
|
|
42
|
+
every scheme as a line of five dots and a name, under a highlight that slides to
|
|
41
43
|
the line in hand; the scheme the page paints wears the accent's tick. The right
|
|
42
44
|
column edits that scheme: its name as the heading, then a light and a dark
|
|
43
45
|
**specimen** — a heading, a line of prose with an inline-code chip and a link,
|
|
@@ -395,7 +397,9 @@ Every mark in the rail comes from one set the rail draws itself
|
|
|
395
397
|
16-unit grid drawn at 16px, so its stroke is 1.25px wherever it appears, with
|
|
396
398
|
round caps and joins and the figure filling 1.5–14.5 of the box; the heading
|
|
397
399
|
chevron keeps the same pixel stroke on its own 12-unit grid. Marks wear the
|
|
398
|
-
row title's ink
|
|
400
|
+
row title's ink, at two thirds of it in Outputs and Subagents, where the figure
|
|
401
|
+
names the row's kind and the words carry what the reader came for. One meaning
|
|
402
|
+
has one figure: a branch and a change request,
|
|
399
403
|
a preset and a subagent each have their own. A checkout already named by the working
|
|
400
404
|
directory contributes only its branch. While the rail stands the header's own
|
|
401
405
|
preset label steps aside, and it returns when the rail closes or retreats.
|
|
@@ -442,13 +446,12 @@ have a separate 28px stop target beside the row's disclosure or navigation butto
|
|
|
442
446
|
One press asks for confirmation, a second requests cancellation, and blur cancels
|
|
443
447
|
the confirmation. The pending control is disabled; a failed request reports its
|
|
444
448
|
failure in the row and allows retry. Stop targets remain visible without hover
|
|
445
|
-
and keep their keyboard focus ring. A finished command
|
|
446
|
-
clock alone:
|
|
449
|
+
and keep their keyboard focus ring. A finished command keeps its
|
|
450
|
+
clock alone: its ending is what most rows report, so the word would be the
|
|
447
451
|
row's loudest part. Only work running, stopping or failed carries a state word,
|
|
448
|
-
the failed one in the error ink.
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
a summary of what actually runs.
|
|
452
|
+
the failed one in the error ink. A subagent's row carries its clock alone
|
|
453
|
+
whether it has settled or is still running: the stop target beside it says it
|
|
454
|
+
runs, and its tokens stay in the session's own figures.
|
|
452
455
|
|
|
453
456
|
## Typography
|
|
454
457
|
|
|
@@ -1176,7 +1179,7 @@ still frame.
|
|
|
1176
1179
|
the look no single feature owns is in `packages/client/src/theme/`, and the parts several
|
|
1177
1180
|
features share (the popover card and rows, the sliding highlight) are in
|
|
1178
1181
|
`packages/client/src/shared/`. The host selector discipline and the style checks the build
|
|
1179
|
-
runs are in `docs/adr/` (D3, D9,
|
|
1182
|
+
runs are in `docs/adr/` (D3, D9, D97).
|
|
1180
1183
|
- The page's scale (settings › General) is the `zoom` the theme sheet puts on the body, so a
|
|
1181
1184
|
length written into the page is read in a smaller space than the one a bounding rect is
|
|
1182
1185
|
measured in: code that turns a measured box into a written length goes through
|
|
@@ -66,7 +66,7 @@ SOFTWARE.
|
|
|
66
66
|
|
|
67
67
|
## transitions.dev
|
|
68
68
|
|
|
69
|
-
The "Text states swap" transition (`packages/client/src/
|
|
69
|
+
The "Text states swap" transition (`packages/client/src/shared/swapping-text.ts` with the `dsh-claude-swap-label` and `dsh-claude-swap-copy` rules in `swapping-text.css`, driven by `packages/client/src/features/chat-wait/chat-wait.ts` and the operation label of a shared file row in `packages/client/src/features/chat-files/` with the `dsh-claude-file-op-*` rules in its stylesheet) is ported the same way: its three-phase sequence (leave upward with a blur, change the text out of sight, enter from below), its duration, shift, blur and easing tokens as this package's own custom properties, and the reflow that releases the entry pose. The snippet's `prefers-reduced-motion` guard is answered by the animation choice this skin resolves onto `<body>` (D40), which already folds the system setting in.
|
|
70
70
|
|
|
71
71
|
The "Reasoning stream" transition (`packages/client/src/features/chat-fold/reasoning-stream.ts` and the `data-dsh-claude-reason-window` rules in that feature's `fold-motion.css`) is ported as well: its window (a few lines tall with a mask at each edge rather than painted gradients), its hold, step, lines, fade and easing tokens, and the stepping clock — read as live text, so there is no copy and no wrap and the steps stop at the newest line.
|
|
72
72
|
|
|
@@ -78,7 +78,7 @@ The "Input clear with dissolve" transition (the search field at the top of the m
|
|
|
78
78
|
|
|
79
79
|
The "Card resize" transition (the model picker's card taking the height a folded provider or a narrowed list leaves, `packages/client/src/shared/card-resize.ts` with the `dsh-claude-model-popover` and `dsh-claude-model-popover-sub` rules in the model picker's stylesheet) is ported as the width and height tween it is, with its duration as this package's `--dsh-claude-duration-resize` and its curve the settling one the other surface transitions already read. A height cannot be interpolated into `auto`, so the two ends are written as lengths around the rebuild and the height returns to the content once the travel lands. Its `prefers-reduced-motion` guard is answered by the skin's animation choice (D40).
|
|
80
80
|
|
|
81
|
-
The "Tooltip open/close" and "Avatar group hover" transitions (the colour cards' discs on the settings page, `packages/client/src/features/settings/
|
|
81
|
+
The "Tooltip open/close" and "Avatar group hover" transitions (the colour cards' discs on the settings page, `packages/client/src/features/settings/palette-parts.ts` with the `dsh-claude-palette-hint` and `dsh-claude-palette-swatch` rules in `palette-schemes.css`) are ported together: one hint per row of discs that appears after a short rest, travels and resizes between discs while it shows and leaves at once, with its geometry written with transitions off while it is hidden; and the disc under the pointer lifting and growing while its neighbours lift by a falloff per step, rising on the settling curve and springing back on the snippet's overshooting one. Their delay, exit, scale, lift, falloff and curve are this package's motion tokens, and the `prefers-reduced-motion` guard is answered by the skin's animation choice (D40).
|
|
82
82
|
|
|
83
83
|
Source: <https://transitions.dev/detail.html?t=text-states-swap> · <https://transitions.dev/detail.html?t=reasoning-stream> · <https://transitions.dev/detail.html?t=menu-dropdown> · <https://transitions.dev/detail.html?t=modal-open-close> · <https://transitions.dev/detail.html?t=page-side-by-side> · <https://transitions.dev/detail.html?t=notification-badge> · <https://transitions.dev/detail.html?t=skeleton-loader-and-reveal> · <https://transitions.dev/detail.html?t=texts-reveal> · <https://transitions.dev/detail.html?t=toggle> · <https://transitions.dev/detail.html?t=pro-gradient-text> · <https://transitions.dev/detail.html?t=input-clear-dissolve> · <https://transitions.dev/detail.html?t=card-resize> · <https://transitions.dev/detail.html?t=tooltip-open-close> · <https://transitions.dev/detail.html?t=avatar-group-hover> · <https://github.com/Jakubantalik/transitions.dev>
|
|
84
84
|
|
|
Binary file
|
|
Binary file
|
package/lib/assets/manifest.json
CHANGED
|
@@ -211,15 +211,15 @@
|
|
|
211
211
|
"encoding": "br",
|
|
212
212
|
"bytes": 101508
|
|
213
213
|
},
|
|
214
|
-
"
|
|
214
|
+
"e464eff9bb24.js": {
|
|
215
215
|
"type": "text/javascript; charset=utf-8",
|
|
216
216
|
"encoding": "br",
|
|
217
217
|
"bytes": 37335
|
|
218
218
|
},
|
|
219
|
-
"
|
|
219
|
+
"73714f02c5ea.js.map": {
|
|
220
220
|
"type": "application/json; charset=utf-8",
|
|
221
221
|
"encoding": "br",
|
|
222
|
-
"bytes":
|
|
222
|
+
"bytes": 194275
|
|
223
223
|
},
|
|
224
224
|
"be2ab9259df0.js": {
|
|
225
225
|
"type": "text/javascript; charset=utf-8",
|
|
@@ -271,12 +271,12 @@
|
|
|
271
271
|
"encoding": "br",
|
|
272
272
|
"bytes": 37777
|
|
273
273
|
},
|
|
274
|
-
"
|
|
274
|
+
"30b4854e7d1f.js": {
|
|
275
275
|
"type": "text/javascript; charset=utf-8",
|
|
276
276
|
"encoding": "br",
|
|
277
277
|
"bytes": 79567
|
|
278
278
|
},
|
|
279
|
-
"
|
|
279
|
+
"d8badd678e8d.js.map": {
|
|
280
280
|
"type": "application/json; charset=utf-8",
|
|
281
281
|
"encoding": "br",
|
|
282
282
|
"bytes": 292020
|