dsh-claude-style 0.19.0 → 0.19.1

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/docs/CHANGELOG.md CHANGED
@@ -2,7 +2,51 @@
2
2
 
3
3
  All notable changes to `dsh-claude-style` are documented here, newest first.
4
4
 
5
- ## [Unreleased]
5
+ ## [0.19.1] - 2026-10-24
6
+
7
+ [中文](#cn-0.19.1) | [English](#en-0.19.1)
8
+
9
+ <h3 id="cn-0.19.1">体验优化</h3>
10
+
11
+ - 合并重复的颜色标记:抬升面、活跃行墨色、会话标题墨色与水波墨色改用宿主的对应颜色,二级表头与浅色第二层面板取与悬停底板和画布相同的值,首页的数据蓝收敛为一个标记,各处属性回退的墨色与画布字面值按色阶统一。
12
+ - 改善紧凑底栏的间距:各数字之间改为与独立成行时一致,底栏整体收窄。
13
+ - 改善紧凑底栏在宽度充足时的信息展开:先由折叠总数展开为精确总数,再展开为输入与输出的 token 数;空间不足时才退为独立成行。
14
+ - 改善对话输入区底部控件的对齐与文字层次:权限、统计、模型与推理强度共用 28px 控制盒和 2px 内边距,文字统一以半透明主文字色呈现,悬停时恢复到完全不透明。
15
+ - 改善模型选择器里 Kimi K3.1 Pro 的描述:它读自己这条产品线的官方定位,不再沿用 K3 那一句。
16
+ - 改善紧凑底栏:工具栏上只显示费用、Token 总量与缓存命中百分比,费用取四位有效数字与四位小数中较短的写法,Token 按 123tok、1.1ktok、15.1Mtok、1.2Btok 显示,缓存命中不再带「缓存命中」四字。
17
+ - 改善紧凑底栏中上下文环的位置:它现在站在「收进上下文」所在的位置,即输入行内模型选择器之后,不再随数字浮到工具栏上。
18
+
19
+ ### 问题修复
20
+
21
+ - 修复主窗口设置中输入区的上下文外显样式与数字夹在模型选择器各项之间的问题:它们现在与统计信息位置、底栏统计位置和计费币种排成一块。
22
+ - 修复页面缩放为 1.25 或 1.5 倍时整页可以滚过内容末尾、露出一段空白的问题:缩放后的页面按窗口自身的尺寸绘制,窗口的边缘就是页面的边缘。
23
+ - 修复 Kimi Code 的 K3、K3.1 Pro 与 K3.1 Pro Highspeed 会话不显示费用的问题:价格快照补上 K3.1 的两条目录价,模型标识解析覆盖 Kimi Code 的写法,人民币价目按厂商公布的价格作答。
24
+ - 修复启用壁纸引擎后,用量面板热力图的日期提示、会话标题的提示以及品牌图片的清除按钮在透明画布上丢掉文字与记号的问题:这些反色底上的字与记号改用宿主自己的表面色。
25
+
26
+ ### 其他变更
27
+
28
+ - 改善 `npm run verify` 的失败判定:超时、进程被系统终止、浏览器无法启动和测试套件未装载等基础设施问题记为「未判定」且不写入判定缓存,只有断言失败才记为失败并缓存;同一轮运行的冒烟与端到端通道按机器核心数分配固定的并发页数。
29
+
30
+ <h3 id="en-0.19.1">Improvements</h3>
31
+
32
+ - Consolidate the duplicated colour markers: the raised surface, the active row's ink, the session title's ink and the ripple's ink now take the host's own colours, the table head and the light second-level panel use the hover plate's and the canvas' values, the home page's data blue becomes one marker, and the property fallbacks spell one literal per ink and canvas step.
33
+ - Improve the compact footer's spacing: its figures stand apart exactly as they do on their own line, narrowing the footer.
34
+ - Improve how the compact footer expands when the toolbar has room: the folded token total becomes the exact count, then the input and output token figures; the line moves below only when even the folded form does not fit.
35
+ - Improve the alignment and text hierarchy of the controls under the conversation composer: permission, statistics, model and effort now share a 28px control box and a 2px inset, their words use one translucent primary ink, and the ink returns to full opacity under the pointer.
36
+ - Improve the model picker's description for Kimi K3.1 Pro: the row now reads its own model line's positioning instead of K3's.
37
+ - Improve the compact footer: the toolbar shows the cost, one session token total and the cache-hit percentage — the cost in the shorter of four significant digits and four decimals, the total as 123tok, 1.1ktok, 15.1Mtok or 1.2Btok, and the cache hit without its label.
38
+ - Improve where the compact footer draws the context ring: it stands where the Inside the context popover position draws it, after the model picker inside the composer row, instead of riding the toolbar with the figures.
39
+
40
+ ### Bug Fixes
41
+
42
+ - Fix Context display and Context display number sitting among the model picker's rows in Main window settings: they now stand in one block with Conversation statistics position, Footer alignment and Billing currency.
43
+ - Fix the page scrolling past the end of its content into an empty band at a page zoom of 1.25 or 1.5: the scaled page now draws at the window's own size, so the window's edge is the page's edge.
44
+ - Fix K3, K3.1 Pro and K3.1 Pro Highspeed sessions on Kimi Code showing no cost: the price snapshot now carries K3.1's two catalogue lines, model-id resolution covers the Kimi Code spellings, and the CNY figures answer as the vendor publishes them.
45
+ - Fix the usage panel's day tip, the session title's tip and the brand picture's remove mark losing their ink over a wallpaper's cleared canvas: the words and marks on those inverted plates now take the host's own raised-surface tone.
46
+
47
+ ### Chores
48
+
49
+ - Improve how `npm run verify` judges a failure: a timeout, a process the system ended, a browser that would not start and a spec suite that did not load now answer unjudged without filing a verdict, only a failed assertion fails and is cached, and the smoke and end-to-end lanes of one run share a fixed page budget from the machine's core count.
6
50
 
7
51
  ## [0.19.0] - 2026-10-23
8
52
 
package/docs/STYLE.md CHANGED
@@ -65,13 +65,13 @@ card leaves unset.
65
65
  | --- | --- | --- | --- |
66
66
  | `canvas` | | `Δl 0` | `Δl 0` |
67
67
  | `surface-1` | | `Δl 0` | `Δl +0.036` |
68
- | `surface-2` | | `Δl -0.004` | `Δl +0.065` |
68
+ | `surface-2` | | `Δl 0` | `Δl +0.065` |
69
69
  | `surface-3` | | `Δl +0.002` | `Δl +0.104` |
70
70
  | `overlay` | | `Δl +0.01 · C 0` | `Δl +0.065` |
71
71
  | `code-block` | | `Δl +0.01 · C 0` | `Δl +0.036` |
72
72
  | `inset` | | `Δl +0.01 · C 0` | `Δl -0.024` |
73
73
  | `card` | | `Δl 0` | `Δl +0.044` |
74
- | `table-head` | | `Δl -0.037` | `Δl +0.065` |
74
+ | `table-head` | | `Δl -0.034` | `Δl +0.065` |
75
75
  | `hover-plate` | | `Δl -0.034` | `Δl +0.104` |
76
76
  | `selector` | | `Δl -0.004` | `Δl +0.104` |
77
77
  | `chip` | | `Δl -0.019` | `Δl 0` |
@@ -80,9 +80,6 @@ card leaves unset.
80
80
  | `ink-2` | | `Δl -0.474 · ΔC +0.01` | `Δl +0.571 · ΔC +0.009` |
81
81
  | `ink-3` | | `Δl -0.365 · ΔC +0.011` | `Δl +0.458 · ΔC +0.012` |
82
82
  | `ink-4` | | `Δl -0.251 · ΔC +0.007` | `Δl +0.336 · ΔC +0.01` |
83
- | `ink-strong` | | — | `Δl +0.77 · ΔC +0.003` |
84
- | `session-ink` | | — | `Δl +0.455 · ΔC +0.009` |
85
- | `ripple-ink` | | `Δl -0.358 · ΔC +0.007` | `Δl +0.451 · ΔC +0.014` |
86
83
  | `bubble` | | `Δl -0.037 · ΔC +0.002` | `Δl +0.09 · α 0.06` |
87
84
  | `bubble-flat` | | — | `Δl +0.088 · ΔC +0.006` |
88
85
  | `border-1` | | `Δl -0.067` | `Δl +0.026 · α 0.09` |
@@ -112,7 +109,7 @@ card leaves unset.
112
109
  | --- | --- | --- | --- | --- | --- | --- | --- |
113
110
  | `--dsw-alias-bg-base` | `canvas` | `#ffffff` | `#191919` | `#ffffff` | `#13161d` | host's own | |
114
111
  | `--dsw-alias-bg-layer-1` | `surface-1` | `#ffffff` | `#212121` | `#ffffff` | `#1b1e26` | host's own | |
115
- | `--dsw-alias-bg-layer-2` | `surface-2` | `#fefefe` | `#282828` | `#fefefe` | `#22252d` | host's own | |
112
+ | `--dsw-alias-bg-layer-2` | `surface-2` | `#ffffff` | `#282828` | `#ffffff` | `#22252d` | host's own | |
116
113
  | `--dsw-alias-bg-layer-3` | `surface-3` | `#ffffff` | `#323232` | `#ffffff` | `#2b2f37` | host's own | |
117
114
  | `--dsw-alias-bg-overlay` | `overlay` | `#ffffff` | `#282828` | `#ffffff` | `#22252d` | host's own | |
118
115
  | `--dsw-alias-border-l1` | `border-1` / `border-1-flat` | `#e9e9e9` | `rgba(255, 255, 255, 0.09)` | — | `#23262e` | host's own | the standard edge: card and panel outlines, dividers, field outlines |
@@ -156,14 +153,12 @@ card leaves unset.
156
153
  | `--dsw-alias-brand-primary-new-colorprimary-new-color` | `accent` | `#d97757` | `#d97757` | `#4d6bfe` | `#4d6bfe` | host's own | |
157
154
  | `--dsh-claude-canvas` | `canvas` | `#ffffff` | `#191919` | `#ffffff` | `#13161d` | `var(--dsw-alias-bg-base)` | the page canvas, the search box |
158
155
  | `--dsh-claude-sidebar-canvas` | card `sidebar` | `#fafafa` | `#1f1f1f` | `#fafafa` | `#13161d` | `var(--dsw-specific-sidebar-fill)` | the sidebar |
159
- | `--dsh-claude-raised` | `card` | — | `#232323` | — | `#1d2028` | `var(--dsw-alias-bg-overlay)` | popovers and menus raised above the dark canvas |
160
156
  | `--dsh-claude-card` | `card` | `#ffffff` | `#232323` | `#ffffff` | `#1d2028` | `var(--dsw-alias-bg-overlay)` | cards on the canvas in light and raised in dark: the account popover, the search palette |
161
157
  | `--dsh-claude-inverse-fill` | `ink` | `#161616` | `#fdfdfd` | `#161616` | `#f4f9ff` | `var(--dsw-alias-interactive-bg-hover)` | the model picker's group label fill: an inverted chip under Claude, a hover-plate chip under the host |
162
158
  | `--dsh-claude-inverse-ink` | `inverse-ink` | `#ffffff` | `#171717` | `#ffffff` | `#11141a` | `var(--dsw-alias-label-primary)` | the model picker's group label ink |
163
- | `--dsh-claude-ink-strong` | `ink-strong` | — | `#fbf9f9` | — | `#f0f5ff` | `var(--dsw-alias-label-primary)` | active row ink |
164
- | `--dsh-claude-session-ink` | `session-ink` | — | `#9a9294` | — | `#8a91a0` | `var(--dsw-alias-label-secondary)` | session title at rest |
165
- | `--dsh-claude-table-head` | `table-head` | `#f3f3f3` | `#282828` | `#f3f3f3` | `#22252d` | `var(--dsw-alias-bg-layer-2)` | table header row |
166
- | `--dsh-claude-ripple-ink` | `ripple-ink` | `#918b8c` | `#9b9093` | `#918b8c` | `#888fa2` | `var(--dsw-alias-label-secondary, #8a8a85)` | the new-conversation page's glyph field, and the wake a ripple leaves in it |
159
+ | `--dsh-claude-table-head` | `table-head` | `#f4f4f4` | `#282828` | `#f4f4f4` | `#22252d` | `var(--dsw-alias-bg-layer-2)` | table header row |
160
+ | `--dsh-claude-ripple-ink` | `ink-3` | `#91888a` | `#9c9395` | `#91888a` | `#8a92a3` | `var(--dsw-alias-label-secondary, #8a8a85)` | the new-conversation page's glyph field, and the wake a ripple leaves in it |
161
+ | `--dsh-claude-data-ink` | literal | `#3b6ecf` | `#3b6ecf` | `#3b6ecf` | `#3b6ecf` | `var(--dsw-alias-link, #3b6ecf)` | the home page's data blue: the deepest step of the model chart's ramp and the ink the heat grid's levels are mixed from |
167
162
  | `--dsh-claude-ripple-wave` | literal | `#3b6ef0` | `#7fa6ff` | `#3b6ef0` | `#7fa6ff` | `var(--dsw-alias-link, #3b6ef0)` | the front of a ripple in the new-conversation page's glyph field |
168
163
  | `--dsh-claude-scrollbar` | `scrollbar` | `rgba(213, 213, 213, 0.9)` | `rgba(62, 62, 62, 0.9)` | `rgba(213, 213, 213, 0.9)` | `rgba(55, 59, 64, 0.9)` | `var(--dsw-alias-border-l2)` | scrollbar thumb |
169
164
  | `--dsh-claude-scrollbar-hover` | `scrollbar-hover` | `rgba(138, 138, 138, 0.8)` | `rgba(113, 113, 113, 0.9)` | `rgba(138, 138, 138, 0.8)` | `rgba(105, 109, 115, 0.9)` | `var(--dsw-alias-label-caption)` | scrollbar thumb under the pointer |
@@ -675,8 +670,9 @@ The cost is the session's own. The host half prices every settlement at its
675
670
  own instant and route and answers the settled total over `SESSION_COST_PATH`;
676
671
  the browser adds the tokens the streaming answer has grown by at the output
677
672
  rate in force, so the figure moves with the written-back tokens and settles
678
- with them. It writes four decimals and the symbol of the `billingCurrency`
679
- setting (`¥0.0015`, `$0.0002`): the official CNY and USD tables are stored
673
+ with them. It writes the shorter of four significant digits and four decimals,
674
+ with the symbol of the `billingCurrency` setting (`¥0.0015`, `$0.0002`,
675
+ `¥2.405`): the official CNY and USD tables are stored
680
676
  apart, so the setting picks a table rather than converting one. A model the
681
677
  official table does not carry is priced from the snapshot's catalogue — its
682
678
  published CNY line when the vendor has one, its USD list price converted at the
Binary file
@@ -101,15 +101,15 @@
101
101
  "encoding": "br",
102
102
  "bytes": 77602
103
103
  },
104
- "4b958bf4ff1a.js": {
104
+ "ff0d661c7214.js": {
105
105
  "type": "text/javascript; charset=utf-8",
106
106
  "encoding": "br",
107
- "bytes": 33797
107
+ "bytes": 34368
108
108
  },
109
- "43f14b161dc7.js.map": {
109
+ "7ec3d9b872d0.js.map": {
110
110
  "type": "application/json; charset=utf-8",
111
111
  "encoding": "br",
112
- "bytes": 180885
112
+ "bytes": 184403
113
113
  },
114
114
  "b55a1acf34e0.js": {
115
115
  "type": "text/javascript; charset=utf-8",