dsh-claude-style 0.21.5 → 0.21.6-dev.68

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
@@ -63,6 +63,12 @@ Switch between the Claude and DeepSeek brands in settings; light and dark follow
63
63
  </tr>
64
64
  </table>
65
65
 
66
+ ## Message rewind and revision history
67
+
68
+ Retract, edit, rerun and delete-turn open a confirmation dialog listing the turns leaving the current timeline and the files that can be restored. The conversation then continues from the original message position while the sidebar keeps presenting one logical conversation. Source sessions and later revisions move into the host archive and can be unarchived from **Revision history** in the message actions. Inherited-history dividers and fork-generated turn tails stay out of this continuous timeline.
69
+
70
+ The plugin records a workspace checkpoint for each turn and can restore code changes at the same time. History recorded before installation, or with an incomplete checkpoint, rewinds messages only and says so in the dialog. Git commits, external services and other command side effects are not undone.
71
+
66
72
  ## Installation
67
73
 
68
74
  From the official plugin page add the package below, or from a terminal:
@@ -78,6 +84,8 @@ dsh plugin --profile web add Nwflower/dsh-claude-style#dist # GitHub releas
78
84
 
79
85
  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.
80
86
 
87
+ The official DSH web and desktop frontends supply the browser module `@deepseek-ai/dsh-client-ui-primitives`. Profiles with pnpm’s `autoInstallPeers` disabled can use it without installing the package separately.
88
+
81
89
  ## Declarative appearance configuration
82
90
 
83
91
  `paletteSchemes` and `brandingPresets` accept both nested YAML objects and the existing JSON-string records. This snippet shows plugin fields only, not a complete Harness profile:
package/README.md CHANGED
@@ -63,6 +63,12 @@ Claude 与 DeepSeek 品牌在插件设置里切换,亮暗跟随系统。外观
63
63
  </tr>
64
64
  </table>
65
65
 
66
+ ## 消息回退与版本历史
67
+
68
+ 撤回、编辑、重跑和删除此轮会弹出确认窗口,列出将退出当前时间线的轮次和可恢复的文件。确认后,对话从原消息位置继续,侧边栏仍呈现同一条逻辑对话;原会话和之后的版本进入宿主归档,也可通过消息操作行的“版本历史”取消归档并打开。继承分隔行和 fork 产生的收尾行不会出现在这条连续时间线中。
69
+
70
+ 插件为每轮记录工作区检查点,可同时恢复代码改动。安装插件之前或检查点不完整的历史只回退消息,确认窗口会明确说明。Git 提交、外部服务变更以及命令产生的其他副作用不会自动撤销。
71
+
66
72
  ## 安装
67
73
 
68
74
  官方插件页添加这个包名,或从终端安装:
@@ -78,6 +84,8 @@ dsh plugin --profile web add Nwflower/dsh-claude-style#dist # GitHub 发布
78
84
 
79
85
  也可从[插件市场](https://github.com/dsh-market/dsh-market)或 dsh-web-all 的皮肤中心安装。同一时刻只启用一个主题;需要 dsh ≥ 0.2.2-rc.1,装好后重启 DeepSeek Harness。
80
86
 
87
+ 官方 DSH 网页和桌面界面自带浏览器组件模块 `@deepseek-ai/dsh-client-ui-primitives`。即使 profile 关闭了 pnpm 的 `autoInstallPeers`,也无需在 profile 中另外安装组件包。
88
+
81
89
  ## 字体
82
90
 
83
91
  > Anthropic 没有公开发行这三款字体;本仓库只提供下载与研究的[副本](https://github.com/Nwflower/dsh-claude-style/tree/master/packages/assets/src/fonts/anthropic)。
package/docs/CHANGELOG.md CHANGED
@@ -2,6 +2,56 @@
2
2
 
3
3
  All notable changes to `dsh-claude-style` are documented here, newest first.
4
4
 
5
+ ## [0.21.6] - 2026-11-19
6
+
7
+ [中文](#cn-0.21.6) | [English](#en-0.21.6)
8
+
9
+ <h3 id="cn-0.21.6">体验优化</h3>
10
+
11
+ - 已有会话输入栏在第三方额度控件存在时优先保持紧凑单行,模型名按剩余空间省略,空间不足时安全换行
12
+ - 对话详情的上下文分项按八类拆分(系统提示、工具、技能和MCP、对话正文、推理过程、执行过程、工具结果、文件与图片、上下文注入),推理按助手消息残差计量,文件与图片从各消息独立提取,能力行名称随构成变化
13
+ - 消息撤回、编辑、重跑与删除此轮新增确认窗口和工作区检查点,可在原历史位置继续并同时恢复代码改动;侧边栏只显示逻辑对话的活动版本,原 fork 进入宿主归档并可从版本历史取消归档
14
+ - 侧栏悬停唤出扩展到窗口左缘 32px 全高热区,悬浮展开与收回时主区保持原位
15
+ - 上下文计价的字符类别系数对 DeepSeek 分词器重新拟合(词长表与数字锚点保持不变),详情栏分项更贴近实际占用;流式增长的低估单独成层,基准准确度与动画手感各自独立可调
16
+
17
+ ### 问题修复
18
+
19
+ - 滚动长会话时,状态装饰和流程摘要的数字不再参与指针命中测试;流程按钮仍可点击
20
+ - 合并对话末尾的位置读取,避免无关页面更新在切换或阅读长会话时触发布局测量
21
+ - 修复深色模式下模型选择器的推理档位文字(如 Max)在自定义强调色下变成深蓝而难以辨认,各档位文字与画布保持正文可读的对比度
22
+ - 修复紧凑底栏下上下文圆环掉出统计排列的问题(#405),移除「底栏上下文圆环」开关,圆环常驻输入区工具栏、与费用等统计项同排,百分比读数仍随「上下文占用百分比」开关显示
23
+ - 首页模型排名和最常用模型跟随当前工作区或活跃会话范围;范围内没有模型用量时显示为空
24
+ - 官方 DSH 界面提供的浏览器组件不再要求在 profile 内另外安装
25
+ - 过程摘要只替换活动按钮上的计数句,按钮内的其余内容不再被一并隐藏,助手正文保持可见
26
+ - Windows 标题栏中的会话标签持续可见,移动指针或使用输入法组词时不会淡出
27
+ - 修复切回会话时插件把宿主恢复的阅读位置缓动到末尾并重新开启跟随的问题,交还跟随只在读者已经位于末尾时进行
28
+ - 修复悬停展开的账号菜单与工作区、预设选择卡片在指针移入时立即收起的问题,指针在入口与卡片之间移动时保持展开
29
+ - 修复消息撤回后分岔收尾行短暂留在时间线的问题,收尾行随宿主快照发布即时隐去,逻辑对话保持一条连续时间线
30
+ - 修复网页字体加载后标题栏控件簇与会话标题的间距偏离设定值的问题,标题宽度随字体落定即重新定位
31
+
32
+ <h3 id="en-0.21.6">Improvements</h3>
33
+
34
+ - Keep the conversation composer compact and single-row with third-party quota controls when room allows, ellipsize the model name, and wrap safely when space runs out
35
+ - Split the details rail context into eight categories (system prompt, tools/skills/MCP, conversation, reasoning, execution, tool results, files/images, context injection), meter reasoning as the assistant residual, extract files/images from every message, and let the capability row's label follow its mix
36
+ - Add confirmation dialogs and workspace checkpoints to message retract, edit, rerun and delete-turn, continuing from the original history position while restoring code changes; the sidebar shows only the active revision of one logical conversation, archives source forks, and lets revision history unarchive them
37
+ - Extend sidebar hover peeking to a full-height 32px strip at the window's left edge while the centre stays in place as the overlay opens and closes
38
+ - Refit the context estimator's character-class rates to the DeepSeek tokenizer (word-length table and digit anchors preserved) for a closer detail-panel split; the streaming growth under-estimate becomes its own layer, so base accuracy and animation feel tune independently
39
+
40
+ ### Bug Fixes
41
+
42
+ - Exclude chat status decorations and process-summary digits from hit testing while keeping disclosure buttons clickable
43
+ - Coalesce chat tail position checks and avoid layout reads triggered by unrelated page updates while switching or reading long conversations
44
+ - Fix the reasoning level text in the model selector (such as Max) turning a hard-to-read dark blue in dark mode with a custom accent, keeping every level at body-text contrast against the canvas
45
+ - Fix the context ring dropping out of the compact footer's statistics arrangement (#405) by removing the 'Footer context ring' switch, the ring always standing in the composer toolbar beside the cost and other figures while its percentage still follows the 'Context occupancy percentage' switch
46
+ - Keep the home model ranking and favorite model within the selected workspace or active sessions, and show an empty state when no model usage is attributed
47
+ - Mark the official DSH frontend’s built-in browser UI primitives as an optional npm peer
48
+ - The process summary replaces only the count sentence on the activity button, no longer hiding the rest of the control's content and keeping the assistant's answer visible
49
+ - Keep conversation tabs visible in the Windows title bar when the pointer leaves the conversation or an IME candidate window opens
50
+ - Fix the hand-back springing a reading position the host restored to the end when the reader switches back to a conversation, handing the follow back only from the end he is already at
51
+ - Fix hover-opened account menus and workspace/preset picker cards folding as the pointer moves into them, keeping the card open while the pointer travels between the trigger and the card
52
+ - Fix the forked turn tail lingering on the timeline after a message retract, hiding it as soon as the host publishes the turn end so a logical conversation keeps one continuous timeline
53
+ - Fix the caption-row control cluster drifting off its set gap from the session title after a webfont loads, re-placing it as soon as the title's width settles
54
+
5
55
  ## [0.21.5] - 2026-11-17
6
56
 
7
57
  [中文](#cn-0.21.5) | [English](#en-0.21.5)
package/docs/STYLE.md CHANGED
@@ -209,13 +209,14 @@ card leaves unset.
209
209
  | `--dsh-claude-data-7` | literal | `#e2504f` | `#ff7b78` | `#e2504f` | `#ff7b78` | `#e2504f` | `#ff7b78` | `#e2504f` | `#ff7b78` | `#e2504f` | `#ff7b78` | `#e2504f` | `#ff7b78` | `light-dark(#e2504f, #ff7b78)` | the Models chart and legend's categorical colour 7 |
210
210
  | `--dsh-claude-data-8` | literal | `#7aae24` | `#a1d45a` | `#7aae24` | `#a1d45a` | `#7aae24` | `#a1d45a` | `#7aae24` | `#a1d45a` | `#7aae24` | `#a1d45a` | `#7aae24` | `#a1d45a` | `light-dark(#7aae24, #a1d45a)` | the Models chart and legend's categorical colour 8 |
211
211
  | `--dsh-claude-data-9` | literal | `#8b91a0` | `#a6acb8` | `#8b91a0` | `#a6acb8` | `#8b91a0` | `#a6acb8` | `#8b91a0` | `#a6acb8` | `#8b91a0` | `#a6acb8` | `#8b91a0` | `#a6acb8` | `light-dark(#8b91a0, #a6acb8)` | the Models chart and legend's categorical colour 9 |
212
- | `--dsh-claude-context-messages` | literal | `#3783f0` | `#64a5ff` | `#3783f0` | `#64a5ff` | `#3783f0` | `#64a5ff` | `#3783f0` | `#64a5ff` | `#3783f0` | `#64a5ff` | `#3783f0` | `#64a5ff` | `light-dark(#3783f0, #64a5ff)` | context user messages, and the used-ink bar that stands before the parts arrive |
213
- | `--dsh-claude-context-assistant` | literal | `#8a6ee2` | `#a88eff` | `#8a6ee2` | `#a88eff` | `#8a6ee2` | `#a88eff` | `#8a6ee2` | `#a88eff` | `#8a6ee2` | `#a88eff` | `#8a6ee2` | `#a88eff` | `light-dark(#8a6ee2, #a88eff)` | context assistant messages: the model's own words, told apart from the user's |
212
+ | `--dsh-claude-context-messages` | literal | `#3783f0` | `#64a5ff` | `#3783f0` | `#64a5ff` | `#3783f0` | `#64a5ff` | `#3783f0` | `#64a5ff` | `#3783f0` | `#64a5ff` | `#3783f0` | `#64a5ff` | `light-dark(#3783f0, #64a5ff)` | context conversation bodies (user and assistant text), and the used-ink bar that stands before the parts arrive |
213
+ | `--dsh-claude-context-assistant` | literal | `#8a6ee2` | `#a88eff` | `#8a6ee2` | `#a88eff` | `#8a6ee2` | `#a88eff` | `#8a6ee2` | `#a88eff` | `#8a6ee2` | `#a88eff` | `#8a6ee2` | `#a88eff` | `light-dark(#8a6ee2, #a88eff)` | context reasoning: the assistant's reasoning residual, told apart from the conversation's text |
214
+ | `--dsh-claude-context-tool-call` | literal | `#c04f8e` | `#e07ab0` | `#c04f8e` | `#e07ab0` | `#c04f8e` | `#e07ab0` | `#c04f8e` | `#e07ab0` | `#c04f8e` | `#e07ab0` | `#c04f8e` | `#e07ab0` | `light-dark(#c04f8e, #e07ab0)` | context tool calls: the assistant's invocations, told apart from the results they bring back |
214
215
  | `--dsh-claude-context-tool-result` | literal | `#2695ac` | `#4db4cc` | `#2695ac` | `#4db4cc` | `#2695ac` | `#4db4cc` | `#2695ac` | `#4db4cc` | `#2695ac` | `#4db4cc` | `#2695ac` | `#4db4cc` | `light-dark(#2695ac, #4db4cc)` | context tool results: what the tools handed back, told apart from both sides of the conversation |
215
- | `--dsh-claude-context-tools` | literal | `#df5200` | `#ff7333` | `#df5200` | `#ff7333` | `#df5200` | `#ff7333` | `#df5200` | `#ff7333` | `#df5200` | `#ff7333` | `#df5200` | `#ff7333` | `light-dark(#df5200, #ff7333)` | context system tools: Claude Desktop's orange category |
216
- | `--dsh-claude-context-mcp` | literal | `#009e7d` | `#2bbe9b` | `#009e7d` | `#2bbe9b` | `#009e7d` | `#2bbe9b` | `#009e7d` | `#2bbe9b` | `#009e7d` | `#2bbe9b` | `#009e7d` | `#2bbe9b` | `light-dark(#009e7d, #2bbe9b)` | context MCP tools: Claude Desktop's green category |
216
+ | `--dsh-claude-context-tools` | literal | `#df5200` | `#ff7333` | `#df5200` | `#ff7333` | `#df5200` | `#ff7333` | `#df5200` | `#ff7333` | `#df5200` | `#ff7333` | `#df5200` | `#ff7333` | `light-dark(#df5200, #ff7333)` | context capability row (tools, skills and MCP merged): Claude Desktop's orange category |
217
+ | `--dsh-claude-context-attachment` | literal | `#009e7d` | `#2bbe9b` | `#009e7d` | `#2bbe9b` | `#009e7d` | `#2bbe9b` | `#009e7d` | `#2bbe9b` | `#009e7d` | `#2bbe9b` | `#009e7d` | `#2bbe9b` | `light-dark(#009e7d, #2bbe9b)` | context files and images extracted from any message: Claude Desktop's green category |
217
218
  | `--dsh-claude-context-system` | literal | `#b67800` | `#da950b` | `#b67800` | `#da950b` | `#b67800` | `#da950b` | `#b67800` | `#da950b` | `#b67800` | `#da950b` | `#b67800` | `#da950b` | `light-dark(#b67800, #da950b)` | context system prompt: Claude Desktop's yellow category |
218
- | `--dsh-claude-context-fixed` | literal | `#8f8f8f` | `#8a8a8a` | `#8f8f8f` | `#8a8a8a` | `#8f8f8f` | `#8a8a8a` | `#8f8f8f` | `#8a8a8a` | `#8f8f8f` | `#8a8a8a` | `#8f8f8f` | `#8a8a8a` | `light-dark(#8f8f8f, #8a8a8a)` | context instruction files, skills and other context: Claude Desktop's neutral grey for the parts a turn does not grow |
219
+ | `--dsh-claude-context-fixed` | literal | `#8f8f8f` | `#8a8a8a` | `#8f8f8f` | `#8a8a8a` | `#8f8f8f` | `#8a8a8a` | `#8f8f8f` | `#8a8a8a` | `#8f8f8f` | `#8a8a8a` | `#8f8f8f` | `#8a8a8a` | `light-dark(#8f8f8f, #8a8a8a)` | context injection (instruction files and other attributed context): Claude Desktop's neutral grey for the parts a turn does not grow |
219
220
  | `--dsh-claude-ripple-wave` | literal | `#3b6ef0` | `#7fa6ff` | `#3b6ef0` | `#7fa6ff` | `#3b6ef0` | `#7fa6ff` | `#3b6ef0` | `#7fa6ff` | `#3b6ef0` | `#7fa6ff` | `#3b6ef0` | `#7fa6ff` | `var(--dsw-alias-link, #3b6ef0)` | the front of a ripple in the new-conversation page's glyph field |
220
221
  | `--dsh-claude-scrollbar` | `scrollbar` | `rgba(213, 213, 213, 0.9)` | `rgba(62, 62, 62, 0.9)` | `rgba(209, 210, 213, 0.9)` | `rgba(55, 59, 64, 0.9)` | `rgba(205, 199, 186, 0.9)` | `rgba(64, 63, 59, 0.9)` | `rgba(205, 209, 205, 0.9)` | `rgba(57, 64, 60, 0.9)` | `rgba(208, 206, 213, 0.9)` | `rgba(61, 59, 64, 0.9)` | `rgba(211, 199, 200, 0.9)` | `rgba(64, 59, 61, 0.9)` | `var(--dsw-alias-border-l2)` | scrollbar thumb |
221
222
  | `--dsh-claude-scrollbar-hover` | `scrollbar-hover` | `rgba(138, 138, 138, 0.8)` | `rgba(113, 113, 113, 0.9)` | `rgba(134, 135, 138, 0.8)` | `rgba(105, 109, 115, 0.9)` | `rgba(130, 125, 113, 0.8)` | `rgba(115, 114, 109, 0.9)` | `rgba(130, 134, 130, 0.8)` | `rgba(108, 115, 110, 0.9)` | `rgba(133, 131, 138, 0.8)` | `rgba(112, 109, 115, 0.9)` | `rgba(136, 125, 126, 0.8)` | `rgba(115, 109, 112, 0.9)` | `var(--dsw-alias-label-caption)` | scrollbar thumb under the pointer |
@@ -269,8 +270,10 @@ their colour from the rung in force; the caption and the scale ends keep their
269
270
  own caption inks. Every thinking rung has one place on a single ramp between two
270
271
  ends mixed from the theme accent: the low end toward the raised surface (less
271
272
  saturated, lower contrast), the high end toward the label ink (more contrast),
272
- and the rung's index over the ladder's span places it. The hue starts at the
273
- theme accent and travels slightly toward red as the rung climbs. The switch-off
273
+ and the rung's index over the ladder's span places it. On dark both ends keep a
274
+ lightness floor, so every rung reads at 4.5:1 or more on the canvas whatever
275
+ accent the reader picks. The hue starts at the theme accent and travels slightly
276
+ toward red as the rung climbs. The switch-off
274
277
  level and the model's own default level have no strength the catalog names, so
275
278
  both keep the resting ink (`--dsw-alias-label-secondary`). The row off leaves the
276
279
  resting ink on every rung.
@@ -553,7 +556,7 @@ edit the JSON, not the table.
553
556
  | `--dsh-claude-duration-move` | `200ms` | something travelling along its own track: a fold's door, the reasoning slider's knob and fill, a hint moving from one colour disc to the next |
554
557
  | `--dsh-claude-duration-count` | `220ms` | a session number counting to its new reading |
555
558
  | `--dsh-claude-duration-slide` | `240ms` | the segmented controls' sliding highlight, a sidebar icon's quarter turn, the wording box taking the width of the words arriving, and streamed content sliding up from the bottom edge |
556
- | `--dsh-claude-duration-fade` | `300ms` | a slow cross-fade: the theme flip, the titlebar tabs' hover reveal, the reasoning knob's glow, a placeholder handing its place to what it stood for |
559
+ | `--dsh-claude-duration-fade` | `300ms` | a slow cross-fade: the theme flip, the reasoning knob's glow, a placeholder handing its place to what it stood for |
557
560
  | `--dsh-claude-duration-column` | `300ms` | a column taking or giving up width beside the chat: the conversation's details rail opening or closing, and the chat's own inset following it |
558
561
  | `--dsh-claude-duration-bounce` | `350ms` | a switch's knob travelling across with its double bounce |
559
562
  | `--dsh-claude-duration-flight` | `400ms` | the sent message flying from the composer to its row |
Binary file
Binary file
@@ -211,15 +211,15 @@
211
211
  "encoding": "br",
212
212
  "bytes": 103078
213
213
  },
214
- "9d9ee6937d69.js": {
214
+ "8d79b206742e.js": {
215
215
  "type": "text/javascript; charset=utf-8",
216
216
  "encoding": "br",
217
- "bytes": 37900
217
+ "bytes": 37903
218
218
  },
219
- "57a603028d72.js.map": {
219
+ "e4c60bfbd7b0.js.map": {
220
220
  "type": "application/json; charset=utf-8",
221
221
  "encoding": "br",
222
- "bytes": 197988
222
+ "bytes": 202086
223
223
  },
224
224
  "be2ab9259df0.js": {
225
225
  "type": "text/javascript; charset=utf-8",
@@ -261,15 +261,15 @@
261
261
  "encoding": "br",
262
262
  "bytes": 109266
263
263
  },
264
- "29f5ce9ce094.js": {
264
+ "4482f7143b49.js": {
265
265
  "type": "text/javascript; charset=utf-8",
266
266
  "encoding": "br",
267
- "bytes": 9948
267
+ "bytes": 17399
268
268
  },
269
- "4d70bf836950.js.map": {
269
+ "db327a6a7b51.js.map": {
270
270
  "type": "application/json; charset=utf-8",
271
271
  "encoding": "br",
272
- "bytes": 37777
272
+ "bytes": 64844
273
273
  },
274
274
  "916427f9e240.js": {
275
275
  "type": "text/javascript; charset=utf-8",