dsh-claude-style 0.22.0 → 0.22.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/README.en.md +2 -51
- package/README.md +3 -9
- package/docs/CHANGELOG.md +46 -0
- package/docs/STYLE.md +79 -123
- package/lib/assets/50b688b6be5e.js.br +0 -0
- package/lib/assets/6e78c8b8bf54.js.br +0 -0
- package/lib/assets/81a4513f0644.js.br +0 -0
- package/lib/assets/924e7970966c.js.br +0 -0
- package/lib/assets/b0f93b820492.js.br +0 -0
- package/lib/assets/b39af598e794.js.br +0 -0
- package/lib/assets/c8b5374edd16.js.br +0 -0
- package/lib/assets/manifest.json +28 -28
- package/lib/client.js +15 -15
- package/lib/host/appearance-overlays.js +46 -12
- package/lib/host/rewind-peer.js +17 -0
- package/lib/host/routes.js +46 -22
- package/lib/host/session-cost.js +1 -1
- package/lib/host/session-panel-event.js +14 -0
- package/lib/host/session-panel-round.js +1 -1
- package/lib/host/session-panel.js +6 -206
- package/lib/host/session-rewind.js +5 -0
- package/lib/host/settings.js +46 -12
- package/lib/host/usage.js +46 -12
- package/lib/model-descriptions.json +487 -175
- package/lib/peakrate-catalog.json +46 -1
- package/lib/prices.json +81 -54
- package/package.json +1 -1
- package/lib/assets/24de8bb53fb7.js.br +0 -0
- package/lib/assets/2bb184bdab84.js.br +0 -0
- package/lib/assets/4482f7143b49.js.br +0 -0
- package/lib/assets/532023863a65.js.br +0 -0
- package/lib/assets/64ec137f17cd.js.br +0 -0
- package/lib/assets/b46c83caaec5.js.br +0 -0
- package/lib/assets/be2ab9259df0.js.br +0 -0
- package/lib/host/checkout.js +0 -99
- package/lib/host/session-panel-call.js +0 -27
- package/lib/host/session-panel-log.js +0 -140
package/README.en.md
CHANGED
|
@@ -63,12 +63,6 @@ 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
|
-
|
|
72
66
|
## Installation
|
|
73
67
|
|
|
74
68
|
From the official plugin page add the package below, or from a terminal:
|
|
@@ -86,49 +80,6 @@ Also available from the [plugin market](https://github.com/dsh-market/dsh-market
|
|
|
86
80
|
|
|
87
81
|
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
82
|
|
|
89
|
-
## Declarative appearance configuration
|
|
90
|
-
|
|
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:
|
|
92
|
-
|
|
93
|
-
```yaml
|
|
94
|
-
palette: claude
|
|
95
|
-
paletteColors: company-ocean
|
|
96
|
-
paletteSchemes:
|
|
97
|
-
- id: company-ocean
|
|
98
|
-
name: Company Ocean
|
|
99
|
-
base: deepseek
|
|
100
|
-
accent: "#2855d9"
|
|
101
|
-
background:
|
|
102
|
-
light: "#f7f9ff"
|
|
103
|
-
dark: "#111827"
|
|
104
|
-
code:
|
|
105
|
-
light: "#173f99"
|
|
106
|
-
dark: "#b8ceff"
|
|
107
|
-
|
|
108
|
-
brandingPreset: company-primary
|
|
109
|
-
brandingPresets:
|
|
110
|
-
- id: company-primary
|
|
111
|
-
name: Company Primary
|
|
112
|
-
ink: original
|
|
113
|
-
mark:
|
|
114
|
-
light: "./branding/primary-mark-light.svg"
|
|
115
|
-
dark: "./branding/primary-mark-dark.svg"
|
|
116
|
-
wordmark: "./branding/primary-wordmark.svg"
|
|
117
|
-
|
|
118
|
-
modelOrder: custom
|
|
119
|
-
modelOrderRows:
|
|
120
|
-
- deepseek-official/deepseek-v4.1-pro
|
|
121
|
-
- sensenova/sensenova-6.8-flash
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
- 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.
|
|
125
|
-
- 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.
|
|
126
|
-
- 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.
|
|
127
|
-
- 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.
|
|
128
|
-
- 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.
|
|
129
|
-
- 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.
|
|
130
|
-
- `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.
|
|
131
|
-
|
|
132
83
|
## Fonts
|
|
133
84
|
|
|
134
85
|
> 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.
|
|
@@ -147,9 +98,9 @@ To enable them, install the `.ttf` files on your system, or copy them into `$DSH
|
|
|
147
98
|
|
|
148
99
|
## License
|
|
149
100
|
|
|
150
|
-
Except where otherwise stated, this repository is licensed under MIT.
|
|
101
|
+
Except where otherwise stated, this repository is licensed under MIT (see [LICENSE](LICENSE)).
|
|
151
102
|
|
|
152
|
-
The Sodium rendering engine is licensed under the [PolyForm Shield License 1.0.0](packages/client/src/features/sodium/LICENSE).
|
|
103
|
+
The Sodium rendering engine is licensed under the [PolyForm Shield License 1.0.0](packages/client/src/features/sodium/LICENSE). Third-party code and asset notices are listed in [THIRD_PARTY_NOTICES.md](docs/THIRD_PARTY_NOTICES.md).
|
|
153
104
|
|
|
154
105
|
## Acknowledgements
|
|
155
106
|
|
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ Claude 与 DeepSeek 品牌在插件设置里切换,亮暗跟随系统。外观
|
|
|
31
31
|
</tr>
|
|
32
32
|
</table>
|
|
33
33
|
|
|
34
|
-
>
|
|
34
|
+
> 编程首页(上),对话界面(下);亮色在左,暗色在右。
|
|
35
35
|
|
|
36
36
|
### DeepSeek
|
|
37
37
|
|
|
@@ -63,12 +63,6 @@ Claude 与 DeepSeek 品牌在插件设置里切换,亮暗跟随系统。外观
|
|
|
63
63
|
</tr>
|
|
64
64
|
</table>
|
|
65
65
|
|
|
66
|
-
## 消息回退与版本历史
|
|
67
|
-
|
|
68
|
-
撤回、编辑、重跑和删除此轮会弹出确认窗口,列出将退出当前时间线的轮次和可恢复的文件。确认后,对话从原消息位置继续,侧边栏仍呈现同一条逻辑对话;原会话和之后的版本进入宿主归档,也可通过消息操作行的“版本历史”取消归档并打开。继承分隔行和 fork 产生的收尾行不会出现在这条连续时间线中。
|
|
69
|
-
|
|
70
|
-
插件为每轮记录工作区检查点,可同时恢复代码改动。安装插件之前或检查点不完整的历史只回退消息,确认窗口会明确说明。Git 提交、外部服务变更以及命令产生的其他副作用不会自动撤销。
|
|
71
|
-
|
|
72
66
|
## 安装
|
|
73
67
|
|
|
74
68
|
官方插件页添加这个包名,或从终端安装:
|
|
@@ -104,9 +98,9 @@ dsh plugin --profile web add Nwflower/dsh-claude-style#dist # GitHub 发布
|
|
|
104
98
|
|
|
105
99
|
## 许可
|
|
106
100
|
|
|
107
|
-
除特别说明,本仓库以 MIT
|
|
101
|
+
除特别说明,本仓库以 MIT 授权(见 [LICENSE](LICENSE))。
|
|
108
102
|
|
|
109
|
-
钠(Sodium)渲染引擎以 [PolyForm Shield 1.0.0](packages/client/src/features/sodium/LICENSE)
|
|
103
|
+
钠(Sodium)渲染引擎以 [PolyForm Shield 1.0.0](packages/client/src/features/sodium/LICENSE) 授权。第三方代码与资源许可见 [THIRD_PARTY_NOTICES.md](docs/THIRD_PARTY_NOTICES.md)。
|
|
110
104
|
|
|
111
105
|
## 鸣谢
|
|
112
106
|
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,52 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `dsh-claude-style` are documented here, newest first.
|
|
4
4
|
|
|
5
|
+
## [0.22.1] - 2026-11-23
|
|
6
|
+
|
|
7
|
+
[中文](#cn-0.22.1) | [English](#en-0.22.1)
|
|
8
|
+
|
|
9
|
+
<h3 id="cn-0.22.1">体验优化</h3>
|
|
10
|
+
|
|
11
|
+
- 对话详情栏并入宿主的会话面板,上下文、会话统计、Token 用量与产出成为面板里的节,停靠时每节一张卡片、不显示滚动条,环境一节补上本机与预设行;分支、进程、子智能体、团队与变更改由宿主面板自己的行与节展示
|
|
12
|
+
- 外观设置页的吉祥物项改为标题行开关与三张角色预览卡片(Clawd、Deepy、鲸娘),关闭时收起卡片,跟随主题时在对应卡片下标出「跟随主题显示」,手动固定角色后显示「恢复跟随主题」按钮
|
|
13
|
+
- 补齐 Gemini 4、GPT-6 Terra、Qwen 4 Max、HY-MT2、Xiaomi MiMo、LongCat、Reflection Beam、Mistral 全系子线以及 NVIDIA Nemotron、Inkling、蚂蚁百灵、Sakana Fugu、Solar、Liquid LFM、AI21 Jamba、讯飞星火、IBM Granite、华为盘古、快手 KAT-Coder、Apodex 与 Motif 的品牌组合标与双语描述,重绘 GLM 与 SCNet 组合标,修复 Amazon Nova 浅色主题星芒遮罩,并收紧短别名与蒸馏模型匹配边界
|
|
14
|
+
- 与 dsh-rewind 同时安装时,撤回、编辑、重跑和删除交给 dsh-rewind 提供,消息操作行只保留版本历史,宿主端也不再为新的轮次记录检查点;设置页的「消息操作行」下写明这一点,dsh-rewind 中途装上或卸下时随即跟随
|
|
15
|
+
- 重做「对话统计栏」设置面板并统一「随宽度同行」与「独立成行」两套底栏排布,合并水平停靠方向、六项会话级指标多选胶囊与实时微缩预览卡片,并让「Token 单位」同时作用于统计栏、上下文弹层与会话面板
|
|
16
|
+
- 重绘后的消息导航栏移至对话区左侧上方,展开卡片改为从左侧向右伸出,短横线贴左与轨道重合,指针移至短横线右侧文字区时列表保持静止
|
|
17
|
+
- 将「上下文占用图示」与「上下文占用百分比」整合为统一设置块,升级为 1% 至 100% 往复动态演示的「饼图」与「圆环」预览卡片,并以分段控件提供「默认绿橙红」「蓝黄红」与按需展开可拖动多色标 OKLCH 渐变编辑器的「自定义」色带
|
|
18
|
+
- 为宿主会话面板的各节补齐折叠与收起态摘要读数,并在探测到宿主节契约变更或引入原生折叠时自动回退
|
|
19
|
+
|
|
20
|
+
### 问题修复
|
|
21
|
+
|
|
22
|
+
- 会话费用把缓存写入 token 按缓存命中(读取)价计费,结果偏低;官方页面只列出输入未命中、缓存命中与输出三档,缓存写入没有单列价格,现改为按输入(未命中)价计费,缓存写入不再低于普通输入
|
|
23
|
+
- 修复宿主 0.2.3 起带搜索框的工作区菜单无法被识别的问题,悬停展开后指针穿越触发按钮与卡片之间的间隙时弹层保持展开,卡片恢复皮肤落位与文件夹菜单样式
|
|
24
|
+
- 桌面版开启系统通知后,后台任务结束不自动提醒,原因是事件订阅等待的点号依赖 uiSession.sessionStatus 并不存在,桌面宿主把状态表作为 uiSession 的属性发布,改为等待 uiSession 服务并读取其 sessionStatus 属性,宿主访问器同时兼容两种形态,提示音也一并恢复
|
|
25
|
+
- 修复工作台首页在缺少上下文行或输入框与槽位外层存在额外包裹容器时输入卡片悬停在窗口顶部、导致向上展开的插件弹层被窗口上沿裁切的问题
|
|
26
|
+
- 修复其他插件整体改写页面 body 样式后,所选配色方案的颜色丢失、账号菜单与更多菜单背景变透明的问题
|
|
27
|
+
- 修复发送消息时飞入动画把最后一个汉字挤到第二行的问题
|
|
28
|
+
- 修复过程滚动区域内步进思考窗口过高导致「思考」标题上端落入顶部渐隐遮罩的问题
|
|
29
|
+
|
|
30
|
+
<h3 id="en-0.22.1">Improvements</h3>
|
|
31
|
+
|
|
32
|
+
- Move the conversation details rail into the host's session panel, with Context, Session stats, Token usage and Outputs as its sections, one card per section and no scrollbar while docked, and this computer and the preset added to its Environment section, while the branch, processes, subagents, the team and change requests are shown by the panel's own rows and sections
|
|
33
|
+
- Replace the Mascot segmented control in Appearance settings with a header switch and three character preview cards (Crab, Deepy, Whale Girl); turning it off collapses the cards, following the theme marks the active brand's character as Following theme, and pinning a character offers a Follow theme again button
|
|
34
|
+
- Add brand lockups and bilingual descriptions for Gemini 4 elemental lines, GPT-6 Terra, Qwen 4 Max, HY-MT2, Xiaomi MiMo, LongCat, Reflection Beam, Mistral sub-lines, NVIDIA Nemotron, Inkling, Ant Ling, Sakana Fugu, Upstage Solar, Liquid LFM, AI21 Jamba, iFlytek Spark, IBM Granite, Huawei OpenPangu, KwaiKAT, Apodex and Motif, redraw the GLM and SCNet lockups, fix Amazon Nova's light-theme mark mask, and tighten short-alias and distilled-model matching boundaries
|
|
35
|
+
- Hand retract, edit, rerun and delete over to dsh-rewind when it is installed alongside, keeping only revision history in the message actions and recording no checkpoint for new turns on the host side, with the Message actions row in settings saying so and the hand-over following dsh-rewind being loaded or removed mid-session
|
|
36
|
+
- Redesign the conversation statistics bar settings with live miniature composer preview cards, unifying the toolbar-adaptive and dedicated-row placements across horizontal position, six multi-select metric chips, and shared token units across the bar, context popover, and session panel
|
|
37
|
+
- Move the redrawn message navigator rail to the top-left of the conversation area, opening its card to the right with left-aligned dashes over the rail marks and holding the list still while the pointer rests over the text to the right
|
|
38
|
+
- Consolidate context meter and percentage settings into one unified block with animated 1%–100% Pie and Ring preview cards and a segmented color-ramp control offering Green-to-red, Blue-yellow-red, and an expandable Custom OKLCH multi-stop editor
|
|
39
|
+
- Add section folding and collapsed summary readings to the host session panel, automatically rolling back when host section contract drift or native folding is detected
|
|
40
|
+
|
|
41
|
+
### Bug Fixes
|
|
42
|
+
|
|
43
|
+
- Session cost priced cache-write tokens at the cache-hit (read) rate, coming out too low; the official page lists only input cache-miss, cache-hit and output with no separate write price, so a write now bills at the input (cache-miss) rate and is never cheaper than uncached input
|
|
44
|
+
- Fix the workspace menu with a search field going unrecognized since host 0.2.3, keeping the hover-opened popup up while the pointer crosses the air between trigger and card and restoring the skin's placement and folder-menu look
|
|
45
|
+
- System notifications stayed silent after a background task on the desktop app because the event subscription waited on the dotted uiSession.sessionStatus dependency the desktop host never provides, publishing the status table as a property of uiSession instead, so the wait now names the uiSession service and reads its sessionStatus property, the host accessor resolves either form, and the sound cues recover with it
|
|
46
|
+
- Fix the studio home composer card sticking near the top edge and clipping upward-opening popovers when the context row is absent or extra wrappers surround the composer bar or dock slots
|
|
47
|
+
- Fix the selected colour scheme losing its colours, and the account and More menus turning transparent, after another plugin rewrote the page body's whole style attribute
|
|
48
|
+
- Fix the last character of a sent message breaking onto a second line during the flight animation
|
|
49
|
+
- Fix the stepped reasoning window inside a capped process group pushing the Thinking header into the group's top fade mask
|
|
50
|
+
|
|
5
51
|
## [0.22.0] - 2026-11-22
|
|
6
52
|
|
|
7
53
|
[中文](#cn-0.22.0) | [English](#en-0.22.0)
|
package/docs/STYLE.md
CHANGED
|
@@ -336,91 +336,58 @@ out of reach. The stack scrolls: the first entry's top margin and the last
|
|
|
336
336
|
entry's bottom margin take the free space while the stack fits, and fall to
|
|
337
337
|
zero once it does not, so the list starts at the top and scrolls to its end.
|
|
338
338
|
|
|
339
|
-
**The
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
Before the host's fold answers, Environment, Context, Session stats and Token
|
|
392
|
-
usage stand together. What the page knows is written: this computer, the preset,
|
|
393
|
-
the occupancy and any figure the live reading holds. The directory, the branch,
|
|
394
|
-
the context legend and figures not yet read keep their rows under placeholders:
|
|
395
|
-
12px bars of the stand-in ink at 4px corners, in the middle of a row of the
|
|
396
|
-
final height, breathing on the shared pulse. Outputs, Changes and the work
|
|
397
|
-
sections wait for the answer, since a placeholder that turned out empty would
|
|
398
|
-
pull every section under it up.
|
|
399
|
-
|
|
400
|
-
A row is one line: a mark, a title, its detail after a middle dot, and a
|
|
401
|
-
trailing state. The title gives way before the detail, which keeps its own width
|
|
402
|
-
up to its share of the line. What the line cannot say stands in the host's own
|
|
403
|
-
tooltip bubble, under the pointer or on keyboard focus: an output's full path, a
|
|
404
|
-
job's progress, and the whole title where the row cut it short. A row that says
|
|
405
|
-
everything in its own words raises no bubble. The bubble hangs on the body, so
|
|
406
|
-
the rail's own scrolling never cuts it, and a long path wraps inside it. A row's
|
|
407
|
-
hover plate stands 8px clear of its words on both sides. The trailing
|
|
408
|
-
state is words in the state's ink, without an outline. The environment section
|
|
409
|
-
starts at the top: a computer mark, a folder name with its parent path in the
|
|
410
|
-
separator the reader's system writes (`D:\DSH` on Windows), a separate branch
|
|
411
|
-
row, and the preset as its last row, with the preset's description as its hint.
|
|
412
|
-
|
|
413
|
-
Every mark in the rail comes from one set the rail draws itself
|
|
414
|
-
(`session-panel-marks.ts`); host glyphs are not mixed in. A mark stands on a
|
|
415
|
-
16-unit grid drawn at 16px, so its stroke is 1.25px wherever it appears, with
|
|
416
|
-
round caps and joins and the figure filling 1.5–14.5 of the box; the heading
|
|
417
|
-
chevron keeps the same pixel stroke on its own 12-unit grid. Marks wear the
|
|
418
|
-
row title's ink, at two thirds of it in Outputs and Subagents, where the figure
|
|
419
|
-
names the row's kind and the words carry what the reader came for. One meaning
|
|
420
|
-
has one figure: a branch and a change request,
|
|
421
|
-
a preset and a subagent each have their own. A checkout already named by the working
|
|
422
|
-
directory contributes only its branch. While the rail stands the header's own
|
|
423
|
-
preset label steps aside, and it returns when the rail closes or retreats.
|
|
339
|
+
**The session panel sections.** The host's session panel owns the column
|
|
340
|
+
beside the transcript: where it docks, when it shows as an overlay, its toggle,
|
|
341
|
+
its section titles, its drag order and its row layout. Docked, the skin draws
|
|
342
|
+
it as a stack of cards on the chat's canvas, one per section: the panel itself
|
|
343
|
+
takes no fill and no shadow, and each section takes the layer-1 fill, the large
|
|
344
|
+
radius and a 0.5px `--dsw-alias-border-l2` hairline on every side, 8px inside
|
|
345
|
+
and an even gap between cards. That hairline is the host's own section divider,
|
|
346
|
+
so where the host draws it on a card's top edge it is the card's edge. The
|
|
347
|
+
overlay keeps the host's single card, since gaps over the transcript would let
|
|
348
|
+
its text through. The panel scrolls with no bar, docked or as an overlay: a
|
|
349
|
+
bar outside the cards would read as a second edge, so the host's reserved
|
|
350
|
+
gutter and its transparent end border go with it, and the overlay's end inset
|
|
351
|
+
returns to the 8px of its start. Section titles keep the panel's 12px UI type,
|
|
352
|
+
never the serif heading face, and carry nothing beside them: the panel's
|
|
353
|
+
sections do not fold, so a summary figure there would repeat the open section's
|
|
354
|
+
own numbers. The skin adds four sections after the host's Environment —
|
|
355
|
+
Context, Session stats, Token usage and Outputs — and two Environment rows:
|
|
356
|
+
this computer before the host's working folder row, and the preset after the
|
|
357
|
+
host's checkout, local changes and connection rows, with the preset's
|
|
358
|
+
description in its hover card. While the panel shows, the header's
|
|
359
|
+
own preset label steps aside, and it returns when the panel closes.
|
|
360
|
+
|
|
361
|
+
A skin row uses the panel's own row marks (`data-session-panel-row` with its
|
|
362
|
+
`icon`, `content` and `trailing` parts), so its height, type, ink, hover plate
|
|
363
|
+
and focus ring are the panel's. The skin keeps only what the panel has no part
|
|
364
|
+
for: a row's detail after a middle dot on the same line, in the tertiary ink; a
|
|
365
|
+
trailing state as words in the secondary ink at 12px. What a row's line cannot
|
|
366
|
+
say stands in the panel's hover card, built by its details factory: an output's
|
|
367
|
+
full path and a preset's description.
|
|
368
|
+
A list longer than six rows shows five and the panel's own fold control.
|
|
369
|
+
|
|
370
|
+
Blocks that are no row — the context head, bar and legend, the compact request,
|
|
371
|
+
and the figures tables — stand on the rows' 6px inset at 13/20. Labels take the
|
|
372
|
+
secondary ink; a figure's value, the occupancy and the share column the primary
|
|
373
|
+
one; the token column and the room left the tertiary one. Both figures tables
|
|
374
|
+
stand open.
|
|
375
|
+
|
|
376
|
+
Before the host's fold answers, Context, Session stats and Token usage stand
|
|
377
|
+
with what the page knows written — the occupancy and any figure the live
|
|
378
|
+
reading holds — and the rest under placeholders: 12px bars of the stand-in ink
|
|
379
|
+
at 4px corners, in the middle of a row of the final height, breathing on the
|
|
380
|
+
shared pulse. Outputs waits
|
|
381
|
+
for the answer; a section that renders nothing is hidden by the panel itself.
|
|
382
|
+
|
|
383
|
+
Every mark on a skin row comes from one set the skin draws
|
|
384
|
+
(`session-panel-marks.ts`): a 16-unit grid drawn at 16px, so its stroke is
|
|
385
|
+
1.25px wherever it appears, with round caps and joins and the figure filling
|
|
386
|
+
1.5–14.5 of the box. Marks wear the row title's ink, at two thirds of it in
|
|
387
|
+
Outputs, where the figure names the row's kind. An output row names the file
|
|
388
|
+
and the folder it lies in, and only a file the model presented carries a state
|
|
389
|
+
word; its mark is a single-stroke sheet, with a picture frame for an image, so
|
|
390
|
+
a coloured file-type badge never competes with the legend.
|
|
424
391
|
|
|
425
392
|
The context bar is 4px tall, each part ending on a 2px cut in the panel's fill,
|
|
426
393
|
and a legend swatch is a 10px square. Messages are blue, system tools orange,
|
|
@@ -431,25 +398,9 @@ heuristic estimates proportionally calibrated to provider occupancy: the bar,
|
|
|
431
398
|
token column and percentage column share that allocation, with percentages
|
|
432
399
|
measured against the whole window. The figures carry no estimate mark; one
|
|
433
400
|
caption under the legend says the parts are estimates and its tooltip explains
|
|
434
|
-
the calibration. Free space is the window less occupancy.
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
and automatic continuations keep that round. Processes include every command
|
|
438
|
-
invocation across the session, with foreground waiting and background execution
|
|
439
|
-
identified from the creating invocation and its result. Subagents list every
|
|
440
|
-
child the session started, a running one above the finished count it settles
|
|
441
|
-
behind. Tasks, team boards and bound change requests remain session-wide.
|
|
442
|
-
|
|
443
|
-
A list shows two rows; the rest fold behind a quiet full-width control that
|
|
444
|
-
names the count left, which keeps a long list from pushing the sections under it
|
|
445
|
-
out of the column. Processes, Tasks, Subagents and Team each have their own section
|
|
446
|
-
with a regular-weight title. Running work stays visible; settled records share a
|
|
447
|
-
single “N finished” disclosure. Command rows use a terminal mark, a name, and a
|
|
448
|
-
separate right-aligned duration beside their execution mode and stop control.
|
|
449
|
-
An output row names the file and the folder it lies in, and only a
|
|
450
|
-
file the model presented carries a state word. Its mark is a single-stroke sheet
|
|
451
|
-
in the row's own ink, with a picture frame for an image, so a coloured file-type
|
|
452
|
-
badge never competes with the legend.
|
|
401
|
+
the calibration. Free space is the window less occupancy. Outputs cover the
|
|
402
|
+
latest human-prompted round; tool results, background notices and automatic
|
|
403
|
+
continuations keep that round.
|
|
453
404
|
|
|
454
405
|
The conversation view switch keeps the host's text tabs and selection. The
|
|
455
406
|
label's text colour brightens on hover or keyboard focus. The shared underline
|
|
@@ -460,13 +411,13 @@ returns the line to the selected label. Selection updates the resting position
|
|
|
460
411
|
without starting an animation. Reduced motion moves the line immediately.
|
|
461
412
|
The tabs and their overflow menu sit before the right-hand tools in the
|
|
462
413
|
conversation header, including the Windows caption when it has room. A narrow
|
|
463
|
-
header keeps them right-aligned on the next line. The
|
|
464
|
-
|
|
465
|
-
|
|
414
|
+
header keeps them right-aligned on the next line. The host's bottom border
|
|
415
|
+
separates the header from the conversation and takes the same colour as the
|
|
416
|
+
column dividers.
|
|
466
417
|
|
|
467
418
|
The title area and the session's more-actions trigger stay visible. The view
|
|
468
419
|
tabs, their overflow menu and the right-hand tools fade in while the pointer is
|
|
469
|
-
over the header, the main content
|
|
420
|
+
over the header, the main content with the session panel inside it, or the sidebar, including the
|
|
470
421
|
composer and the Windows caption space above the conversation. The caption carries
|
|
471
422
|
the sidebar's collapse control, so those columns keep the header buttons up. The
|
|
472
423
|
tools fade out over the host right panel and keep their place in the header.
|
|
@@ -513,9 +464,9 @@ runs, and its tokens stay in the session's own figures.
|
|
|
513
464
|
fill it sits on rather than as a contour whose colour has to be re-picked per
|
|
514
465
|
surface. The light rungs stay the warm opaque ladder.
|
|
515
466
|
- Layout dividers: 0.5px in `--dsw-alias-border-l1` below the conversation header
|
|
516
|
-
and where the sidebar
|
|
467
|
+
and where the sidebar meets the conversation.
|
|
517
468
|
- Content dividers: 0.5px in `--dsh-claude-divider`, a rung below the lightest
|
|
518
|
-
border, for
|
|
469
|
+
border, for menu groups, settings rows, foot areas and the
|
|
519
470
|
transcript's `hr`. Cards, fields and popovers use a 1px outline in l1.
|
|
520
471
|
- Spacing: 4 px rhythm.
|
|
521
472
|
- Bottom edge: the transcript never fades behind the composer by shadow. The
|
|
@@ -590,7 +541,6 @@ edit the JSON, not the table.
|
|
|
590
541
|
| `--dsh-claude-duration-count` | `220ms` | a session number counting to its new reading |
|
|
591
542
|
| `--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 |
|
|
592
543
|
| `--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 |
|
|
593
|
-
| `--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 |
|
|
594
544
|
| `--dsh-claude-duration-bounce` | `350ms` | a switch's knob travelling across with its double bounce |
|
|
595
545
|
| `--dsh-claude-duration-tab-underline` | `280ms` | the conversation tab underline stretching and settling under the next label |
|
|
596
546
|
| `--dsh-claude-duration-flight` | `400ms` | the sent message flying from the composer to its row |
|
|
@@ -610,6 +560,7 @@ edit the JSON, not the table.
|
|
|
610
560
|
| `--dsh-claude-period-preview-reveal` | `4000ms` | one turn of the settings page's new-text fade preview: the sample arriving character by character, then standing before the next wipe |
|
|
611
561
|
| `--dsh-claude-period-preview-caret` | `4000ms` | one turn of the settings page's caret preview: the sample line typed out, then standing whole before the next turn |
|
|
612
562
|
| `--dsh-claude-period-preview-enter` | `2600ms` | one turn of the Motion tab's message-entrance card: one message arriving, standing, and giving way to the next |
|
|
563
|
+
| `--dsh-claude-period-preview-meter` | `5200ms` | one round trip of the settings page's context-meter preview from 1% up to 100% and back to 1% |
|
|
613
564
|
| `--dsh-claude-period-wash-hue` | `4000ms` | one turn of the hue rotation the waiting line's colour wash runs through |
|
|
614
565
|
| `--dsh-claude-period-wash-drift` | `5000ms` | one orbit of the colour washes around the waiting line's glyph box |
|
|
615
566
|
| `--dsh-claude-period-pulse` | `1600ms` | a placeholder breathing while its numbers are computed |
|
|
@@ -631,7 +582,6 @@ edit the JSON, not the table.
|
|
|
631
582
|
| `--dsh-claude-ease-tab-leading-edge` | `cubic-bezier(0.2, 0, 0.32, 1.28)` | the leading edge of the tab underline stretching just past the new label before settling |
|
|
632
583
|
| `--dsh-claude-ease-tab-trailing-edge` | `cubic-bezier(0.52, 0, 0.72, 1)` | the trailing edge of the tab underline accelerating later and easing to a stop as it catches the leading edge |
|
|
633
584
|
| `--dsh-claude-ease-roll` | `cubic-bezier(0.4, 0, 0.2, 1)` | digits rolling over: the file rows' tail and the process group header's counts |
|
|
634
|
-
| `--dsh-claude-ease-column` | `cubic-bezier(0.4, 0, 0.2, 1)` | a column taking or giving up width beside the chat, and the chat's inset following it |
|
|
635
585
|
| `--dsh-claude-ease-spring` | `cubic-bezier(0.34, 1.45, 0.64, 1)` | a small overshoot as something lands: the overtime badge popping in, a switch's knob bouncing past its end |
|
|
636
586
|
| `--dsh-claude-ease-recoil` | `cubic-bezier(0.34, 3.85, 0.64, 1)` | a lifted colour disc springing back into its row once the pointer leaves, overshooting well past its place before it rests |
|
|
637
587
|
| `--dsh-claude-ease-settle` | `cubic-bezier(0.22, 1, 0.36, 1)` | a surface or a page settling into place out of its anchor: menus and dialogs opening and closing, a settings page sliding, the overtime badge sliding onto its line, the greeting's lines rising, a hint travelling between colour discs, a colour disc lifting |
|
|
@@ -673,7 +623,6 @@ edit the JSON, not the table.
|
|
|
673
623
|
|---|---|---|
|
|
674
624
|
| `--dsh-claude-layer-control` | `10` | a control kept over the composer card's own stacked rows: the send and stop buttons, the reasoning picker's trigger |
|
|
675
625
|
| `--dsh-claude-layer-picker` | `20` | a picker that hangs its card from inside the composer: the permission picker, whose card has to stand over the controls beside it |
|
|
676
|
-
| `--dsh-claude-layer-rail` | `24` | the conversation's details column: over the chat and the composer, under the host's own floating panels and under the header row, which hangs its menus in a layer of its own |
|
|
677
626
|
| `--dsh-claude-layer-chrome` | `30` | the window's title row the skin draws into: the title, view tabs and actions over the host's own header |
|
|
678
627
|
| `--dsh-claude-layer-peek` | `40` | the sidebar opened over the page while the pointer rests on its toggle: over the main window's title row and its own controls, under the floating cards and menus its rows open |
|
|
679
628
|
| `--dsh-claude-layer-float` | `99999` | a floating card or menu over everything the host draws: the popover cards, the hero menu |
|
|
@@ -845,16 +794,23 @@ setting: the official CNY and USD tables are stored apart, so the setting picks
|
|
|
845
794
|
table rather than converting one. A model the official table does not carry is
|
|
846
795
|
priced from the snapshot's catalogue — its published CNY line when the vendor has
|
|
847
796
|
one, its USD list price converted at the snapshot's fixed rate otherwise; a model
|
|
848
|
-
neither carries keeps the segment out of the line. On the line it
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
797
|
+
neither carries keeps the segment out of the line. On the line it leads the
|
|
798
|
+
token figures ahead of the cache share, and in the block it is the usage
|
|
799
|
+
section's first row.
|
|
800
|
+
|
|
801
|
+
The composer statistics bar offers two placements of one unified line: joining
|
|
802
|
+
the tool row between the left controls and the model and context controls while
|
|
803
|
+
width permits (wrapping onto its own row below when even the shortest step does
|
|
804
|
+
not fit), or always standing on its own row below the tools. Both placements
|
|
805
|
+
share horizontal position (`left`, `center`, `right`), the six session-aggregate
|
|
806
|
+
figure switches (cost, token total, cache share, output speed, TTFT, and turns
|
|
807
|
+
and steps), and the unified detail ladder (`full` → `directions` → `exact` →
|
|
808
|
+
`compact`). The token unit choice (`statsFooterTokenFormat`) reaches the
|
|
809
|
+
statistics bar, the context popover and the session panel alike, and the context
|
|
810
|
+
meter ring stays in the composer toolbar row regardless of whether the bar is
|
|
811
|
+
off or which placement is chosen. The invisible measuring copy stays inside its
|
|
812
|
+
positioning box so it cannot extend the transcript's scroll range beyond the
|
|
813
|
+
composer.
|
|
858
814
|
|
|
859
815
|
In the toolbar the cost segment keeps its width across a session switch:
|
|
860
816
|
the session's figure is replaced while the next one is being priced, so the
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/assets/manifest.json
CHANGED
|
@@ -201,35 +201,35 @@
|
|
|
201
201
|
"encoding": "br",
|
|
202
202
|
"bytes": 143044
|
|
203
203
|
},
|
|
204
|
-
"
|
|
204
|
+
"81a4513f0644.js": {
|
|
205
205
|
"type": "text/javascript; charset=utf-8",
|
|
206
206
|
"encoding": "br",
|
|
207
|
-
"bytes":
|
|
207
|
+
"bytes": 17719
|
|
208
208
|
},
|
|
209
|
-
"
|
|
209
|
+
"20bd438de88f.js.map": {
|
|
210
210
|
"type": "application/json; charset=utf-8",
|
|
211
211
|
"encoding": "br",
|
|
212
|
-
"bytes":
|
|
212
|
+
"bytes": 86509
|
|
213
213
|
},
|
|
214
|
-
"
|
|
214
|
+
"b39af598e794.js": {
|
|
215
215
|
"type": "text/javascript; charset=utf-8",
|
|
216
216
|
"encoding": "br",
|
|
217
|
-
"bytes":
|
|
217
|
+
"bytes": 36704
|
|
218
218
|
},
|
|
219
|
-
"
|
|
219
|
+
"3320b04364d5.js.map": {
|
|
220
220
|
"type": "application/json; charset=utf-8",
|
|
221
221
|
"encoding": "br",
|
|
222
|
-
"bytes":
|
|
222
|
+
"bytes": 187973
|
|
223
223
|
},
|
|
224
|
-
"
|
|
224
|
+
"b0f93b820492.js": {
|
|
225
225
|
"type": "text/javascript; charset=utf-8",
|
|
226
226
|
"encoding": "br",
|
|
227
|
-
"bytes":
|
|
227
|
+
"bytes": 9505
|
|
228
228
|
},
|
|
229
|
-
"
|
|
229
|
+
"a7f5cd16034b.js.map": {
|
|
230
230
|
"type": "application/json; charset=utf-8",
|
|
231
231
|
"encoding": "br",
|
|
232
|
-
"bytes":
|
|
232
|
+
"bytes": 28287
|
|
233
233
|
},
|
|
234
234
|
"b64d96d4a65c.js": {
|
|
235
235
|
"type": "text/javascript; charset=utf-8",
|
|
@@ -241,45 +241,45 @@
|
|
|
241
241
|
"encoding": "br",
|
|
242
242
|
"bytes": 73251
|
|
243
243
|
},
|
|
244
|
-
"
|
|
244
|
+
"6e78c8b8bf54.js": {
|
|
245
245
|
"type": "text/javascript; charset=utf-8",
|
|
246
246
|
"encoding": "br",
|
|
247
|
-
"bytes":
|
|
247
|
+
"bytes": 9688
|
|
248
248
|
},
|
|
249
|
-
"
|
|
249
|
+
"7526a9e91128.js.map": {
|
|
250
250
|
"type": "application/json; charset=utf-8",
|
|
251
251
|
"encoding": "br",
|
|
252
|
-
"bytes":
|
|
252
|
+
"bytes": 41639
|
|
253
253
|
},
|
|
254
|
-
"
|
|
254
|
+
"c8b5374edd16.js": {
|
|
255
255
|
"type": "text/javascript; charset=utf-8",
|
|
256
256
|
"encoding": "br",
|
|
257
|
-
"bytes":
|
|
257
|
+
"bytes": 22666
|
|
258
258
|
},
|
|
259
|
-
"
|
|
259
|
+
"02aef570fb71.js.map": {
|
|
260
260
|
"type": "application/json; charset=utf-8",
|
|
261
261
|
"encoding": "br",
|
|
262
|
-
"bytes":
|
|
262
|
+
"bytes": 113284
|
|
263
263
|
},
|
|
264
|
-
"
|
|
264
|
+
"50b688b6be5e.js": {
|
|
265
265
|
"type": "text/javascript; charset=utf-8",
|
|
266
266
|
"encoding": "br",
|
|
267
|
-
"bytes":
|
|
267
|
+
"bytes": 17791
|
|
268
268
|
},
|
|
269
|
-
"
|
|
269
|
+
"a1e505e62840.js.map": {
|
|
270
270
|
"type": "application/json; charset=utf-8",
|
|
271
271
|
"encoding": "br",
|
|
272
|
-
"bytes":
|
|
272
|
+
"bytes": 67726
|
|
273
273
|
},
|
|
274
|
-
"
|
|
274
|
+
"924e7970966c.js": {
|
|
275
275
|
"type": "text/javascript; charset=utf-8",
|
|
276
276
|
"encoding": "br",
|
|
277
|
-
"bytes":
|
|
277
|
+
"bytes": 101294
|
|
278
278
|
},
|
|
279
|
-
"
|
|
279
|
+
"8417e5a1fc9d.js.map": {
|
|
280
280
|
"type": "application/json; charset=utf-8",
|
|
281
281
|
"encoding": "br",
|
|
282
|
-
"bytes":
|
|
282
|
+
"bytes": 361951
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
}
|