dsh-claude-style 0.21.4 → 0.21.5
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.md +0 -43
- package/docs/CHANGELOG.md +48 -0
- package/docs/STYLE.md +7 -3
- package/lib/assets/24de8bb53fb7.js.br +0 -0
- package/lib/assets/64ec137f17cd.js.br +0 -0
- package/lib/assets/manifest.json +8 -8
- package/lib/client.js +14 -14
- package/lib/host/appearance-overlays.js +10 -1
- package/lib/host/brand.js +10 -1
- package/lib/host/branding-presets.js +10 -1
- package/lib/host/cache-file.js +14 -4
- package/lib/host/routes.js +10 -1
- package/lib/prices.json +55 -52
- package/package.json +1 -1
- package/lib/assets/0106fcda4b52.js.br +0 -0
- package/lib/assets/032fdf4c5d95.js.br +0 -0
package/README.md
CHANGED
|
@@ -78,49 +78,6 @@ dsh plugin --profile web add Nwflower/dsh-claude-style#dist # GitHub 发布
|
|
|
78
78
|
|
|
79
79
|
也可从[插件市场](https://github.com/dsh-market/dsh-market)或 dsh-web-all 的皮肤中心安装。同一时刻只启用一个主题;需要 dsh ≥ 0.2.2-rc.1,装好后重启 DeepSeek Harness。
|
|
80
80
|
|
|
81
|
-
## 声明式外观配置
|
|
82
|
-
|
|
83
|
-
插件配置中的 `paletteSchemes` 和 `brandingPresets` 同时接受嵌套 YAML 对象与既有 JSON 字符串记录。下面的片段只展示插件字段,不是完整的 Harness 配置:
|
|
84
|
-
|
|
85
|
-
```yaml
|
|
86
|
-
palette: claude
|
|
87
|
-
paletteColors: company-ocean
|
|
88
|
-
paletteSchemes:
|
|
89
|
-
- id: company-ocean
|
|
90
|
-
name: Company Ocean
|
|
91
|
-
base: deepseek
|
|
92
|
-
accent: "#2855d9"
|
|
93
|
-
background:
|
|
94
|
-
light: "#f7f9ff"
|
|
95
|
-
dark: "#111827"
|
|
96
|
-
code:
|
|
97
|
-
light: "#173f99"
|
|
98
|
-
dark: "#b8ceff"
|
|
99
|
-
|
|
100
|
-
brandingPreset: company-primary
|
|
101
|
-
brandingPresets:
|
|
102
|
-
- id: company-primary
|
|
103
|
-
name: Company Primary
|
|
104
|
-
ink: original
|
|
105
|
-
mark:
|
|
106
|
-
light: "./branding/primary-mark-light.svg"
|
|
107
|
-
dark: "./branding/primary-mark-dark.svg"
|
|
108
|
-
wordmark: "./branding/primary-wordmark.svg"
|
|
109
|
-
|
|
110
|
-
modelOrder: custom
|
|
111
|
-
modelOrderRows:
|
|
112
|
-
- deepseek-official/deepseek-v4.1-pro
|
|
113
|
-
- sensenova/sensenova-6.8-flash
|
|
114
|
-
```
|
|
115
|
-
|
|
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
|
-
- 相对图片路径以 `$DSH_HOME/dsh-claude-style/` 为根目录,只能引用该目录内的 PNG、SVG 或 WebP 文件,单张不超过 2 MB。UI 上传使用 `branding/presets/<id>/` 下的托管资源;切换预设不需要再次上传。
|
|
119
|
-
- 外观设置内置八套厂商标志(OpenAI、Gemini、Qwen、Kimi Code、ZCode、MiniMax、Grok、Xiaomi MiMo),可以新建、复制、重命名、选择和删除标志预设,也可分别替换明暗图片与调整标志颜色。`brandingPreset` 留空时跟随当前主题标志,此前在预设之外上传的全局图片会自动迁入「当前图片」预设,配色与标志选择互不影响。
|
|
120
|
-
- UI 修改通过插件的 `appearance-overlays.json` 持久化,按 `id` 与基础 YAML 合并。UI 创建或修改的记录及选择覆盖优先;文件后来新增的记录继续并入,UI 删除的基础记录不会因重载恢复。手动修改配置并重载后,未冲突的记录以文件为准,发生冲突的字段以最近一次 UI 修改为准。
|
|
121
|
-
- 无法解析的记录会被报告并跳过,其余记录继续生效。缺失或无效图片只影响对应图片,不会移除其它预设或使设置页失效。
|
|
122
|
-
- `modelOrder` 可取 `id`、`brand`、`catalog`、`custom`。`brand` 把可识别品牌排在前面,未识别行不显示副标题;`custom` 按 `modelOrderRows` 中的 `provider/model` 顺序排列,未列出的模型按标识排在后面。
|
|
123
|
-
|
|
124
81
|
## 字体
|
|
125
82
|
|
|
126
83
|
> Anthropic 没有公开发行这三款字体;本仓库只提供下载与研究的[副本](https://github.com/Nwflower/dsh-claude-style/tree/master/packages/assets/src/fonts/anthropic)。
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,54 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `dsh-claude-style` are documented here, newest first.
|
|
4
4
|
|
|
5
|
+
## [0.21.5] - 2026-11-17
|
|
6
|
+
|
|
7
|
+
[中文](#cn-0.21.5) | [English](#en-0.21.5)
|
|
8
|
+
|
|
9
|
+
<h3 id="cn-0.21.5">体验优化</h3>
|
|
10
|
+
|
|
11
|
+
- 压缩会话按钮改用栏内小字号,高度与距离自动压缩一行文本齐平
|
|
12
|
+
- 对话详情栏改用主对话区的画布底色,两栏站在同一底色上
|
|
13
|
+
|
|
14
|
+
### 问题修复
|
|
15
|
+
|
|
16
|
+
- 修复深色页面下对话详情栏左侧分界线过暗的问题,与左侧栏分界线颜色一致
|
|
17
|
+
- 修复逐字跟随模式下 token 输出较快时思考内容整段跳变与思考标题闪烁
|
|
18
|
+
- 修复悬停展开的侧栏收回时整列文字保持不透明滑出的问题,让内容随滑动一起淡出
|
|
19
|
+
- 修复 Firefox 未启用触摸事件时无法识别读者向上回看,展开历史步骤后页面被滚回底部的问题
|
|
20
|
+
- 修复手机端聚焦输入框触发页面自动放大且失焦不回弹的问题
|
|
21
|
+
- 修复首页挂件遮住工具条右端控件、侧栏视图切换器偏离工作区标题左沿的问题
|
|
22
|
+
- 修复带快照日期的 DeepSeek 模型路由恒按峰价计费,谷时费用不回落的问题
|
|
23
|
+
- 修复 ds-bot 聊天界面下界面开关挤扁侧栏顶部圆形按钮的问题,圆钮与开关保持自然尺寸,窄行先截断品牌标签
|
|
24
|
+
- 修复路径前缀反向代理部署下全部宿主接口与主题资产因根绝对基址而失效的问题,接口与资产改按页面自身目录解析
|
|
25
|
+
- 修复首字较慢的模型每轮都被挂出「暂未响应」的问题,徽标等待时长改为会话平均首 Token 时间的两倍,最低十秒
|
|
26
|
+
|
|
27
|
+
### 安全
|
|
28
|
+
|
|
29
|
+
- 收紧插件缓存文件与目录权限至 0600 与 0700,避免多用户机器上的其他账户读取对话缓存明文
|
|
30
|
+
|
|
31
|
+
<h3 id="en-0.21.5">Improvements</h3>
|
|
32
|
+
|
|
33
|
+
- Set the compact request in the rail's small size at the reading line's height, level with the distance text
|
|
34
|
+
- Paint the conversation details rail with the chat column's own canvas so the two surfaces share one ground
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
- Draw the details rail's left hairline in the sidebar split's border colour so the division reads on the dark canvas
|
|
39
|
+
- Fix choppy reasoning output and a flickering thinking title when tokens arrive fast in continuous display mode
|
|
40
|
+
- Fade the sidebar's content while the hover peek slides it away, so a closing peek no longer drags its labels out at full opacity
|
|
41
|
+
- Fix Firefox with touch events off not registering the reader scrolling up, which let opening earlier steps pull the page back to the end
|
|
42
|
+
- Fix phone browsers zooming the page on input focus and never restoring it on blur
|
|
43
|
+
- Fix the home mascot covering the right-end controls of the context row and the sidebar view switch missing the left edge of the workspace heading
|
|
44
|
+
- Fix snapshot-dated DeepSeek model routes billing every hour at the peak rate, with off-peak costs never falling
|
|
45
|
+
- Fix the surface switch squeezing ds-bot's round sidebar buttons into ellipses on the Bot surface; the buttons and switch keep their natural size and a narrow row truncates the brand label first
|
|
46
|
+
- Fix every host call and theme asset failing behind a path-prefix reverse proxy because of the origin-root base; routes and assets now resolve against the page's own directory
|
|
47
|
+
- Fix the overtime badge calling a slow-first-token model unresponsive every turn; it now waits out twice the session's average time to first token, ten seconds at the least
|
|
48
|
+
|
|
49
|
+
### Security
|
|
50
|
+
|
|
51
|
+
- Tighten plugin cache files and directories to 0600 and 0700 so other accounts on a shared machine cannot read conversation cache plaintext
|
|
52
|
+
|
|
5
53
|
## [0.21.4] - 2026-11-16
|
|
6
54
|
|
|
7
55
|
[中文](#cn-0.21.4) | [English](#en-0.21.4)
|
package/docs/STYLE.md
CHANGED
|
@@ -325,7 +325,10 @@ zero once it does not, so the list starts at the top and scrolls to its end.
|
|
|
325
325
|
**The conversation details rail.** The rail is the skin's own fixed column
|
|
326
326
|
against the conversation column's right edge: 320px wide, a 16px left inset
|
|
327
327
|
and one scroll inside, opened and retreated by the column's width (a 1360px window with an 860px column to open, 1180px or a 760px column to
|
|
328
|
-
Retreat) and squeezing the chat while it stands. It
|
|
328
|
+
Retreat) and squeezing the chat while it stands. It reads the conversation
|
|
329
|
+
column's own canvas (`--dsh-claude-canvas`), so the rail and the chat stand on
|
|
330
|
+
one ground; the hairline between them is the only division and wears
|
|
331
|
+
`--dsw-alias-border-l1`, the same edge as the sidebar's split. It starts under the conversation
|
|
329
332
|
header: the header keeps the column's whole width, so its title and controls
|
|
330
333
|
stand above the rail, and the body under it gives the rail its 320px. Its floor
|
|
331
334
|
is the conversation column's own, or the bottom panel's top edge while that
|
|
@@ -354,8 +357,9 @@ division lines. A section heading is 13/20 in the regular weight and stands on a
|
|
|
354
357
|
hairline of its own; the primary ink goes to headings, row titles, the occupancy
|
|
355
358
|
figure, the share column and a figure's value. Labels take the secondary ink; a
|
|
356
359
|
row's detail, the token column and the room left take the tertiary one. The small
|
|
357
|
-
size, 11.5/16, is kept for a row's trailing state, the file-list fold control
|
|
358
|
-
the legend's caption
|
|
360
|
+
size, 11.5/16, is kept for a row's trailing state, the file-list fold control,
|
|
361
|
+
the legend's caption and the compact request, which stands at the reading line's
|
|
362
|
+
own height beside the distance's words. Sections use 16px vertical insets and a hairline on their
|
|
359
363
|
top edge, and lengths stay on the 4px grid.
|
|
360
364
|
|
|
361
365
|
Each section is an independent native disclosure with keyboard activation and a
|
|
Binary file
|
|
Binary file
|
package/lib/assets/manifest.json
CHANGED
|
@@ -201,15 +201,15 @@
|
|
|
201
201
|
"encoding": "br",
|
|
202
202
|
"bytes": 143044
|
|
203
203
|
},
|
|
204
|
-
"
|
|
204
|
+
"24de8bb53fb7.js": {
|
|
205
205
|
"type": "text/javascript; charset=utf-8",
|
|
206
206
|
"encoding": "br",
|
|
207
|
-
"bytes":
|
|
207
|
+
"bytes": 21790
|
|
208
208
|
},
|
|
209
|
-
"
|
|
209
|
+
"2f3d434008e2.js.map": {
|
|
210
210
|
"type": "application/json; charset=utf-8",
|
|
211
211
|
"encoding": "br",
|
|
212
|
-
"bytes":
|
|
212
|
+
"bytes": 103078
|
|
213
213
|
},
|
|
214
214
|
"9d9ee6937d69.js": {
|
|
215
215
|
"type": "text/javascript; charset=utf-8",
|
|
@@ -251,15 +251,15 @@
|
|
|
251
251
|
"encoding": "br",
|
|
252
252
|
"bytes": 41733
|
|
253
253
|
},
|
|
254
|
-
"
|
|
254
|
+
"64ec137f17cd.js": {
|
|
255
255
|
"type": "text/javascript; charset=utf-8",
|
|
256
256
|
"encoding": "br",
|
|
257
|
-
"bytes":
|
|
257
|
+
"bytes": 21664
|
|
258
258
|
},
|
|
259
|
-
"
|
|
259
|
+
"5e9c27973da6.js.map": {
|
|
260
260
|
"type": "application/json; charset=utf-8",
|
|
261
261
|
"encoding": "br",
|
|
262
|
-
"bytes":
|
|
262
|
+
"bytes": 109266
|
|
263
263
|
},
|
|
264
264
|
"29f5ce9ce094.js": {
|
|
265
265
|
"type": "text/javascript; charset=utf-8",
|