dsh-claude-style 0.21.1 → 0.21.2-dev.64
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 +43 -1
- package/README.md +43 -1
- package/docs/CHANGELOG.md +72 -0
- package/docs/STYLE.md +43 -31
- package/docs/THIRD_PARTY_NOTICES.md +1 -1
- package/lib/assets/5ad69ead473c.js.br +0 -0
- package/lib/assets/manifest.json +4 -4
- package/lib/client.js +14 -14
- package/lib/host/appearance-overlays.js +619 -0
- package/lib/host/brand-image-shared.js +96 -0
- package/lib/host/brand.js +11 -62
- package/lib/host/branding-presets.js +331 -0
- package/lib/host/routes.js +46 -4
- package/lib/host/session-panel-round.js +2 -14
- package/lib/host/session-panel.js +1 -3
- package/lib/host/settings.js +41 -4
- package/lib/host/usage.js +40 -4
- package/lib/model-descriptions.json +24 -2
- package/lib/prices.json +33 -32
- package/package.json +3 -1
- package/lib/assets/74468df99d69.js.br +0 -0
package/README.en.md
CHANGED
|
@@ -92,6 +92,48 @@ Choose **Mark as unread** or **Clear unread mark** from a session's ellipsis men
|
|
|
92
92
|
|
|
93
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.
|
|
94
94
|
|
|
95
|
+
## Declarative appearance configuration
|
|
96
|
+
|
|
97
|
+
`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:
|
|
98
|
+
|
|
99
|
+
```yaml
|
|
100
|
+
palette: claude
|
|
101
|
+
paletteColors: company-ocean
|
|
102
|
+
paletteSchemes:
|
|
103
|
+
- id: company-ocean
|
|
104
|
+
name: Company Ocean
|
|
105
|
+
base: deepseek
|
|
106
|
+
accent: "#2855d9"
|
|
107
|
+
background:
|
|
108
|
+
light: "#f7f9ff"
|
|
109
|
+
dark: "#111827"
|
|
110
|
+
code:
|
|
111
|
+
light: "#173f99"
|
|
112
|
+
dark: "#b8ceff"
|
|
113
|
+
|
|
114
|
+
brandingPreset: company-primary
|
|
115
|
+
brandingPresets:
|
|
116
|
+
- id: company-primary
|
|
117
|
+
name: Company Primary
|
|
118
|
+
mark:
|
|
119
|
+
light: "./branding/primary-mark-light.svg"
|
|
120
|
+
dark: "./branding/primary-mark-dark.svg"
|
|
121
|
+
wordmark: "./branding/primary-wordmark.svg"
|
|
122
|
+
|
|
123
|
+
modelOrder: custom
|
|
124
|
+
modelOrderRows:
|
|
125
|
+
- deepseek-official/deepseek-v4.1-pro
|
|
126
|
+
- sensenova/sensenova-6.8-flash
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
- Colour records keep the seed model, including `accent`, `background`, `text`, `code`, `link` and `edges`. Built-in presets and **Follow the brand** remain available.
|
|
130
|
+
- A logo preset has a stable `id`, an optional `name`, and `mark` / `wordmark` assets. 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
|
+
- 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, with separate light and dark replacement. An empty `brandingPreset` keeps the previous global uploads. Logo and colour selections stay independent.
|
|
133
|
+
- 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
|
+
- 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
|
+
- `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.
|
|
136
|
+
|
|
95
137
|
## Fonts
|
|
96
138
|
|
|
97
139
|
> 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.
|
|
@@ -107,7 +149,7 @@ The mascot bubble's pixel text is set in [PoxiaoPixel](https://diaowinner.itch.i
|
|
|
107
149
|
| [Design tokens](docs/STYLE.md) | The palette, typography, shape, motion and layer rules |
|
|
108
150
|
| [Architecture decisions](docs/adr/README.md) | One page per direction: background, decision, consequences, revisiting conditions |
|
|
109
151
|
| [Changelog](docs/CHANGELOG.md) | Version history |
|
|
110
|
-
| [Contributing](CONTRIBUTING.md) |
|
|
152
|
+
| [Contributing](CONTRIBUTING.md) | Fix-first contribution flow and change-fragment format |
|
|
111
153
|
|
|
112
154
|
## License
|
|
113
155
|
|
package/README.md
CHANGED
|
@@ -79,6 +79,48 @@ dsh plugin --profile web add Nwflower/dsh-claude-style#dist # GitHub 发布
|
|
|
79
79
|
|
|
80
80
|
需要 dsh ≥ 0.2.2-rc.1,装好后重启 DeepSeek Harness。
|
|
81
81
|
|
|
82
|
+
## 声明式外观配置
|
|
83
|
+
|
|
84
|
+
插件配置中的 `paletteSchemes` 和 `brandingPresets` 同时接受嵌套 YAML 对象与既有 JSON 字符串记录。下面的片段只展示插件字段,不是完整的 Harness 配置:
|
|
85
|
+
|
|
86
|
+
```yaml
|
|
87
|
+
palette: claude
|
|
88
|
+
paletteColors: company-ocean
|
|
89
|
+
paletteSchemes:
|
|
90
|
+
- id: company-ocean
|
|
91
|
+
name: Company Ocean
|
|
92
|
+
base: deepseek
|
|
93
|
+
accent: "#2855d9"
|
|
94
|
+
background:
|
|
95
|
+
light: "#f7f9ff"
|
|
96
|
+
dark: "#111827"
|
|
97
|
+
code:
|
|
98
|
+
light: "#173f99"
|
|
99
|
+
dark: "#b8ceff"
|
|
100
|
+
|
|
101
|
+
brandingPreset: company-primary
|
|
102
|
+
brandingPresets:
|
|
103
|
+
- id: company-primary
|
|
104
|
+
name: Company Primary
|
|
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`。内置预设及“跟随品牌”继续可用。
|
|
117
|
+
- 标志预设包含稳定的 `id`、可选的 `name`、以及 `mark` / `wordmark`。图片写成单个字符串时两种外观共用;写成 `light` / `dark` 对时按当前外观选择,缺少的一侧回退到另一侧。
|
|
118
|
+
- 相对图片路径以 `$DSH_HOME/dsh-claude-style/` 为根目录,只能引用该目录内的 PNG、SVG 或 WebP 文件,单张不超过 2 MB。UI 上传使用 `branding/presets/<id>/` 下的托管资源;切换预设不需要再次上传。
|
|
119
|
+
- 外观设置可以新建、复制、重命名、选择和删除标志预设,也可分别替换明暗图片。`brandingPreset` 留空时继续使用此前的全局上传图片,配色与标志选择互不影响。
|
|
120
|
+
- UI 修改通过插件的 `appearance-overlays.json` 持久化,按 `id` 与基础 YAML 合并。UI 创建或修改的记录及选择覆盖优先;文件后来新增的记录继续并入,UI 删除的基础记录不会因重载恢复。手动修改配置并重载后,未冲突的记录以文件为准,发生冲突的字段以最近一次 UI 修改为准。
|
|
121
|
+
- 无法解析的记录会被报告并跳过,其余记录继续生效。缺失或无效图片只影响对应图片,不会移除其它预设或使设置页失效。
|
|
122
|
+
- `modelOrder` 可取 `id`、`brand`、`catalog`、`custom`。`brand` 把可识别品牌排在前面,未识别行不显示副标题;`custom` 按 `modelOrderRows` 中的 `provider/model` 顺序排列,未列出的模型按标识排在后面。
|
|
123
|
+
|
|
82
124
|
## 字体
|
|
83
125
|
|
|
84
126
|
> Anthropic 没有公开发行这三款字体;本仓库只提供下载与研究的[副本](https://github.com/Nwflower/dsh-claude-style/tree/master/packages/assets/src/fonts/anthropic)。
|
|
@@ -93,7 +135,7 @@ dsh plugin --profile web add Nwflower/dsh-claude-style#dist # GitHub 发布
|
|
|
93
135
|
| [设计令牌](docs/STYLE.md) | 配色、字体、形状、动效与层级 |
|
|
94
136
|
| [架构决策](docs/adr/README.md) | 每条方向一页:背景、决定、后果与重审条件 |
|
|
95
137
|
| [更新日志](docs/CHANGELOG.md) | 版本历史 |
|
|
96
|
-
| [贡献指南](CONTRIBUTING.md) |
|
|
138
|
+
| [贡献指南](CONTRIBUTING.md) | 修复优先的贡献流程与变更记录格式 |
|
|
97
139
|
|
|
98
140
|
## 许可
|
|
99
141
|
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,78 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `dsh-claude-style` are documented here, newest first.
|
|
4
4
|
|
|
5
|
+
## [0.21.2] - 2026-11-14
|
|
6
|
+
|
|
7
|
+
[中文](#cn-0.21.2) | [English](#en-0.21.2)
|
|
8
|
+
|
|
9
|
+
<h3 id="cn-0.21.2">新增功能</h3>
|
|
10
|
+
|
|
11
|
+
- 配色方案与命名标志预设支持结构化 YAML、界面管理和明暗图片变体
|
|
12
|
+
- 模型选择器支持按标识、品牌、目录或自定义顺序排列,未识别品牌的模型行不再显示副标题
|
|
13
|
+
- 模型选择器新增 SenseNova 与 SCNet 品牌组合标和厂商文案
|
|
14
|
+
- 品牌标志新增八套内置的厂商标志预设,默认预设改为跟随主题,标志颜色成为每套预设自己的设置,以前上传的图片自动移进一套名为「当前图片」的预设
|
|
15
|
+
|
|
16
|
+
### 体验优化
|
|
17
|
+
|
|
18
|
+
- 以多参数选择器列表结尾的样式规则在构建时展开成按类名、属性或标签匹配的几条,浏览器不再拿它们去试页面上的每个元素;六千节点的页面上,皮肤样式表下的一次样式计算从 28.7 毫秒降到 22.5 毫秒
|
|
19
|
+
- 皮肤的样式表按宿主自己的类名匹配宿主元素,节点一插入就带着皮肤的样式,写上部件标记不再让浏览器重算样式;六千节点的页面上,一次样式计算从 22.5 毫秒降到 13.7 毫秒,宿主在插入后立即读布局时一次挂载的遍历、样式与布局合计从 72.3 毫秒降到 32.6 毫秒
|
|
20
|
+
- 折叠展开动效的三条样式规则不再让对话里的每个元素逐行查找它上方的全部消息,切换到一段六百条消息的会话时样式计算从 236.9 毫秒降到 92.8 毫秒,两百条时从 53.7 毫秒降到 32.9 毫秒
|
|
21
|
+
- 挂上一段对话时,给宿主元素命名的那趟遍历每个元素只做一次选择器判断,被移走的子树不再逐个节点查十几张表;切换到一段六百条消息的会话时,皮肤的脚本时间从 66.0 毫秒降到 47.7 毫秒
|
|
22
|
+
- 首页模型图与图例改用更明亮干净的十色分类色板
|
|
23
|
+
- 配色卡片在指针所在的色球上显示按色球深浅取白或黑的画笔,点任一色球打开该方案的编辑,「管理」移到配色开关左侧,新建方案只留在管理窗口里
|
|
24
|
+
- 品牌标志改为卡片与管理窗口,开关下方的卡片显示当前使用的标志,指针所在的图形或字标上出现画笔进入编辑,「管理」在开关左侧,切换、新建、改名、浅色与深色图片、复制与删除都在管理窗口里完成
|
|
25
|
+
- 对话详情栏的图标统一为一套同线宽的线形图标,分支、合并请求、预设与子智能体各用自己的图形,图标与标题同色;Windows 路径改用反斜杠分隔,不足一秒结束的命令不再显示「0 秒」,上下文色条变细、色段之间留出间隙,图例方块加大,指令文件、技能与其他上下文统一用中性灰;距离自动压缩那一行改用图例的字号与墨色,「压缩会话」改为无描边的浅灰底按钮
|
|
26
|
+
- 对话详情栏在数据到达前就显示环境、上下文、会话统计与 Token 用量四节,未读到的行用骨架条占位,折叠的节保持与展开时相同的上下边距,标题在开合前后不再移动
|
|
27
|
+
|
|
28
|
+
### 问题修复
|
|
29
|
+
|
|
30
|
+
- 详情栏展开时切换会话,栏会先收起再展开,对话的右边缘跟着来回移动一次;现在栏与对话的宽度在切换期间保持不动,只有栏内的读数换成新会话的。本地一段 105 行的会话,切换回它时浏览器的样式计算从 351 毫秒降到 221 毫秒
|
|
31
|
+
- 详情栏展开时标题栏的子智能体入口重新让位,栏内的子智能体一节列出本会话开始过的全部子智能体,已结束的折成计数
|
|
32
|
+
- 触屏窄屏布局交由宿主或移动适配插件控制帧网格,避免会话列落入零宽或侧栏轨道
|
|
33
|
+
- 修复首页热力图用量最少的一档比没有用量的空白格还浅的问题
|
|
34
|
+
- 混元模型行的图形改用官方的腾讯混元美术,字标沿用英文 Tencent,图形在浅色与深色画布上都保留品牌色
|
|
35
|
+
- 修复「动画」设为「减弱」时状态行加载点仍飞速换帧而抽搐、详情栏上下文色块被扫光遮罩盖住不显示的问题
|
|
36
|
+
- 管理窗口的选中高亮按行的实际大小绘制,面板入场动画期间不再小一圈
|
|
37
|
+
- 视图页签的滑块在网页字体到位后重新量一次宽度,激活页签变宽时不再留出一条缝
|
|
38
|
+
|
|
39
|
+
### 移除
|
|
40
|
+
|
|
41
|
+
- 移除进行中回合的过程行入场与工具输出的逐行淡入,长会话流式输出和打开工具正文时不再逐行重算样式并启动动画
|
|
42
|
+
|
|
43
|
+
<h3 id="en-0.21.2">New Features</h3>
|
|
44
|
+
|
|
45
|
+
- Support structured YAML, UI management and light/dark assets for colour schemes and named logo presets
|
|
46
|
+
- Add ID, brand, catalog and custom model ordering, and keep description lines off models without a recognised brand
|
|
47
|
+
- Add SenseNova and SCNet vendor lockups and descriptions to the model picker
|
|
48
|
+
- Brand marks gain eight built-in vendor presets, the default set follows the theme, the mark colour belongs to each set, and images uploaded earlier move into a set named Current images on their own
|
|
49
|
+
|
|
50
|
+
### Improvements
|
|
51
|
+
|
|
52
|
+
- Style rules ending in a multi-argument selector list are written out at build time into rules matched by class, attribute or tag, so the browser no longer tries them on every element; on a 6,000-node page one style calculation under the skin's sheet drops from 28.7 ms to 22.5 ms
|
|
53
|
+
- The skin's stylesheet now matches host elements by the host's own class names, so a node carries the skin's styles the moment the host inserts it and writing a part mark no longer makes the browser recalculate; on a 6,000-node page one style calculation drops from 22.5 ms to 13.7 ms, and a mount whose layout the host reads right after inserting drops from 72.3 ms to 32.6 ms of walk, style and layout
|
|
54
|
+
- The three style rules behind the fold's reveal no longer have every element of a conversation search all the messages above it; switching to a 600-message session drops from 236.9 ms of style calculation to 92.8 ms, and a 200-message one from 53.7 ms to 32.9 ms
|
|
55
|
+
- The pass that names host elements now asks one selector test of each element of a mounted conversation, and no longer looks every node of a removed subtree up in a dozen tables; switching to a 600-message session drops from 66.0 ms of the skin's script time to 47.7 ms
|
|
56
|
+
- Give the home models chart and legend a brighter, cleaner ten-colour palette
|
|
57
|
+
- Colour cards show a pencil on the disc under the pointer, white or black by the disc's lightness, any disc opens the scheme's editor, Manage moves beside the colour switch, and new schemes are made from the manager alone
|
|
58
|
+
- Brand marks become a card with a manager, the card under the switch showing the set in use, a pencil on the mark or word under the pointer opening its editor, Manage beside the switch, and switching, creating, naming, light and dark images, copying and deleting all done in the manager
|
|
59
|
+
- The details rail's marks become one line set at one stroke weight, with their own figures for branch, change request, preset and subagent, in the title's ink; Windows paths use backslashes, commands that finish within a second no longer show 0 s, the context bar is thinner with gaps between its parts, legend swatches are larger, and instruction files, skills and other context share one neutral grey; the distance to automatic compaction reads at the legend's size and ink, and Compact session sits on a light plate without an outline
|
|
60
|
+
- The details rail shows Environment, Context, Session stats and Token usage before its data arrives, with placeholder bars on the rows not yet read, and folded sections keep the insets of open ones so a heading no longer moves when it folds
|
|
61
|
+
|
|
62
|
+
### Bug Fixes
|
|
63
|
+
|
|
64
|
+
- Switching sessions with the details rail open used to fold the rail away and bring it back, moving the chat's right edge out and in once; the rail and the chat now keep their widths through a switch and only the rail's readings change to the new session. Returning to a local 105-row session drops from 351 ms of browser style calculation to 221 ms
|
|
65
|
+
- The header's subagent entry steps aside again while the details rail stands, and the rail's Subagents section lists every child the session started, settled ones behind a finished count
|
|
66
|
+
- Leave narrow touch frame grids to the host or mobile adapter so the conversation cannot land in a zero-width or sidebar rail track
|
|
67
|
+
- Fix the home heat grid's faintest level looking lighter than an empty day
|
|
68
|
+
- Hunyuan rows draw the official Tencent Hunyuan mark beside the English Tencent wordmark, the mark keeping its brand colours on both canvases
|
|
69
|
+
- Fix the waiting line's dots racing through their frames and the details rail's context parts hidden under the reveal cover when the animation choice is Reduced
|
|
70
|
+
- A manager's selected highlight now matches its line, instead of drawing smaller while the panel was still arriving
|
|
71
|
+
- The view tabs' pill measures again once the page's fonts arrive, so a tab that widened no longer keeps a gap under the pill
|
|
72
|
+
|
|
73
|
+
### Removals
|
|
74
|
+
|
|
75
|
+
- Remove the process-row entrance and the tool-output line-by-line fade, so a long streamed turn and an opened tool body no longer recalculate styles and start an animation per row
|
|
76
|
+
|
|
5
77
|
## [0.21.1] - 2026-11-14
|
|
6
78
|
|
|
7
79
|
[中文](#cn-0.21.1) | [English](#en-0.21.1)
|
package/docs/STYLE.md
CHANGED
|
@@ -197,24 +197,23 @@ card leaves unset.
|
|
|
197
197
|
| `--dsh-claude-table-head` | `table-head` | `#f4f4f4` | `#282828` | `#f0f1f4` | `#22252d` | `#ece6d8` | `#2d2925` | `#ecf0ec` | `#242926` | `#efedf4` | `#27252f` | `#f2e6e7` | `#2d2527` | `var(--dsw-alias-bg-layer-2)` | table header row |
|
|
198
198
|
| `--dsh-claude-ripple-ink` | `ink-3` | `#91888b` | `#9c9395` | `#848892` | `#88929f` | `#867d6a` | `#99978a` | `#7f897f` | `#8a9a90` | `#868391` | `#97909d` | `#8f7b7d` | `#9d8f96` | `var(--dsw-alias-label-secondary, #8a8a85)` | the new-conversation page's glyph field, and the wake a ripple leaves in it |
|
|
199
199
|
| `--dsh-claude-data-ink` | literal | `#3b6ecf` | `#3b6ecf` | `#3b6ecf` | `#3b6ecf` | `#3b6ecf` | `#3b6ecf` | `#3b6ecf` | `#3b6ecf` | `#3b6ecf` | `#3b6ecf` | `#3b6ecf` | `#3b6ecf` | `var(--dsw-alias-link, #3b6ecf)` | the home heat grid's single data blue |
|
|
200
|
-
| `--dsh-claude-data-0` | literal | `#
|
|
201
|
-
| `--dsh-claude-data-1` | literal | `#
|
|
202
|
-
| `--dsh-claude-data-2` | literal | `#
|
|
203
|
-
| `--dsh-claude-data-3` | literal | `#
|
|
204
|
-
| `--dsh-claude-data-4` | literal | `#
|
|
205
|
-
| `--dsh-claude-data-5` | literal | `#
|
|
206
|
-
| `--dsh-claude-data-6` | literal | `#
|
|
207
|
-
| `--dsh-claude-data-7` | literal | `#
|
|
208
|
-
| `--dsh-claude-data-8` | literal | `#
|
|
209
|
-
| `--dsh-claude-data-9` | literal | `#
|
|
200
|
+
| `--dsh-claude-data-0` | literal | `#3b7ddd` | `#6aa2ff` | `#3b7ddd` | `#6aa2ff` | `#3b7ddd` | `#6aa2ff` | `#3b7ddd` | `#6aa2ff` | `#3b7ddd` | `#6aa2ff` | `#3b7ddd` | `#6aa2ff` | `light-dark(#3b7ddd, #6aa2ff)` | the Models chart and legend's categorical colour 0 |
|
|
201
|
+
| `--dsh-claude-data-1` | literal | `#ec7a2c` | `#ff9b55` | `#ec7a2c` | `#ff9b55` | `#ec7a2c` | `#ff9b55` | `#ec7a2c` | `#ff9b55` | `#ec7a2c` | `#ff9b55` | `#ec7a2c` | `#ff9b55` | `light-dark(#ec7a2c, #ff9b55)` | the Models chart and legend's categorical colour 1 |
|
|
202
|
+
| `--dsh-claude-data-2` | literal | `#25a06b` | `#45c98c` | `#25a06b` | `#45c98c` | `#25a06b` | `#45c98c` | `#25a06b` | `#45c98c` | `#25a06b` | `#45c98c` | `#25a06b` | `#45c98c` | `light-dark(#25a06b, #45c98c)` | the Models chart and legend's categorical colour 2 |
|
|
203
|
+
| `--dsh-claude-data-3` | literal | `#8a63d8` | `#ac8cf7` | `#8a63d8` | `#ac8cf7` | `#8a63d8` | `#ac8cf7` | `#8a63d8` | `#ac8cf7` | `#8a63d8` | `#ac8cf7` | `#8a63d8` | `#ac8cf7` | `light-dark(#8a63d8, #ac8cf7)` | the Models chart and legend's categorical colour 3 |
|
|
204
|
+
| `--dsh-claude-data-4` | literal | `#13a5bd` | `#3dc6dc` | `#13a5bd` | `#3dc6dc` | `#13a5bd` | `#3dc6dc` | `#13a5bd` | `#3dc6dc` | `#13a5bd` | `#3dc6dc` | `#13a5bd` | `#3dc6dc` | `light-dark(#13a5bd, #3dc6dc)` | the Models chart and legend's categorical colour 4 |
|
|
205
|
+
| `--dsh-claude-data-5` | literal | `#df4d8f` | `#f77cb2` | `#df4d8f` | `#f77cb2` | `#df4d8f` | `#f77cb2` | `#df4d8f` | `#f77cb2` | `#df4d8f` | `#f77cb2` | `#df4d8f` | `#f77cb2` | `light-dark(#df4d8f, #f77cb2)` | the Models chart and legend's categorical colour 5 |
|
|
206
|
+
| `--dsh-claude-data-6` | literal | `#e0a514` | `#f4c445` | `#e0a514` | `#f4c445` | `#e0a514` | `#f4c445` | `#e0a514` | `#f4c445` | `#e0a514` | `#f4c445` | `#e0a514` | `#f4c445` | `light-dark(#e0a514, #f4c445)` | the Models chart and legend's categorical colour 6 |
|
|
207
|
+
| `--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 |
|
|
208
|
+
| `--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 |
|
|
209
|
+
| `--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 |
|
|
210
210
|
| `--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 |
|
|
211
211
|
| `--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
212
|
| `--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 |
|
|
213
213
|
| `--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 |
|
|
214
214
|
| `--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 |
|
|
215
215
|
| `--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 |
|
|
216
|
-
| `--dsh-claude-context-
|
|
217
|
-
| `--dsh-claude-context-other` | literal | `#9d7f68` | `#bd9e86` | `#9d7f68` | `#bd9e86` | `#9d7f68` | `#bd9e86` | `#9d7f68` | `#bd9e86` | `#9d7f68` | `#bd9e86` | `#9d7f68` | `#bd9e86` | `light-dark(#9d7f68, #bd9e86)` | context other context: the attributed injections with no family of their own |
|
|
216
|
+
| `--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 |
|
|
218
217
|
| `--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 |
|
|
219
218
|
| `--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 |
|
|
220
219
|
| `--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 |
|
|
@@ -363,12 +362,21 @@ survives data refreshes. Environment, Context and the three lists start open;
|
|
|
363
362
|
Session stats and Token usage are tables of figures and start folded. The closed
|
|
364
363
|
heading shows a directory name, a context percentage and miniature meter, the
|
|
365
364
|
output speed, the cost or an item count. A folded section stands on its heading's
|
|
366
|
-
own line
|
|
367
|
-
other section. The chevron belongs to a folded section; on an open one it waits
|
|
365
|
+
own line with the same 16px insets an open one has, so the heading does not move
|
|
366
|
+
when it folds, and keeps the hairline above it like any other section. The chevron belongs to a folded section; on an open one it waits
|
|
368
367
|
out of sight and returns under the pointer or on keyboard focus, leaving the
|
|
369
368
|
heading clean at rest. A heading paints nothing under the pointer: it is the
|
|
370
369
|
column's own division line, not a row of the list.
|
|
371
370
|
|
|
371
|
+
Before the host's fold answers, Environment, Context, Session stats and Token
|
|
372
|
+
usage stand together. What the page knows is written: this computer, the preset,
|
|
373
|
+
the occupancy and any figure the live reading holds. The directory, the branch,
|
|
374
|
+
the context legend and figures not yet read keep their rows under placeholders:
|
|
375
|
+
12px bars of the stand-in ink at 4px corners, in the middle of a row of the
|
|
376
|
+
final height, breathing on the shared pulse. Outputs, Changes and the work
|
|
377
|
+
sections wait for the answer, since a placeholder that turned out empty would
|
|
378
|
+
pull every section under it up.
|
|
379
|
+
|
|
372
380
|
A row is one line: a mark, a title, its detail after a middle dot, and a
|
|
373
381
|
trailing state. The title gives way before the detail, which keeps its own width
|
|
374
382
|
up to its share of the line. What the line cannot say stands in the host's own
|
|
@@ -378,15 +386,24 @@ everything in its own words raises no bubble. The bubble hangs on the body, so
|
|
|
378
386
|
the rail's own scrolling never cuts it, and a long path wraps inside it. A row's
|
|
379
387
|
hover plate stands 8px clear of its words on both sides. The trailing
|
|
380
388
|
state is words in the state's ink, without an outline. The environment section
|
|
381
|
-
starts at the top: a computer mark, a folder name with its parent path
|
|
382
|
-
|
|
383
|
-
the preset
|
|
389
|
+
starts at the top: a computer mark, a folder name with its parent path in the
|
|
390
|
+
separator the reader's system writes (`D:\DSH` on Windows), a separate branch
|
|
391
|
+
row, and the preset as its last row, with the preset's description as its hint.
|
|
392
|
+
|
|
393
|
+
Every mark in the rail comes from one set the rail draws itself
|
|
394
|
+
(`session-panel-marks.ts`); host glyphs are not mixed in. A mark stands on a
|
|
395
|
+
16-unit grid drawn at 16px, so its stroke is 1.25px wherever it appears, with
|
|
396
|
+
round caps and joins and the figure filling 1.5–14.5 of the box; the heading
|
|
397
|
+
chevron keeps the same pixel stroke on its own 12-unit grid. Marks wear the
|
|
398
|
+
row title's ink. One meaning has one figure: a branch and a change request,
|
|
399
|
+
a preset and a subagent each have their own. A checkout already named by the working
|
|
384
400
|
directory contributes only its branch. While the rail stands the header's own
|
|
385
401
|
preset label steps aside, and it returns when the rail closes or retreats.
|
|
386
402
|
|
|
387
|
-
The context bar is
|
|
388
|
-
|
|
389
|
-
|
|
403
|
+
The context bar is 4px tall, each part ending on a 2px cut in the panel's fill,
|
|
404
|
+
and a legend swatch is a 10px square. Messages are blue, system tools orange,
|
|
405
|
+
MCP tools green and the system prompt yellow; instruction files, skills and
|
|
406
|
+
other context share one neutral gray. Request tool names and retained message sources identify the
|
|
390
407
|
parts, and surface replacements retire the contributions they cover. Parts are
|
|
391
408
|
heuristic estimates proportionally calibrated to provider occupancy: the bar,
|
|
392
409
|
token column and percentage column share that allocation, with percentages
|
|
@@ -394,13 +411,12 @@ measured against the whole window. The figures carry no estimate mark; one
|
|
|
394
411
|
caption under the legend says the parts are estimates and its tooltip explains
|
|
395
412
|
the calibration. Free space is the window less occupancy.
|
|
396
413
|
|
|
397
|
-
Outputs
|
|
398
|
-
|
|
399
|
-
that is still running remains visible until it ends; continuing an existing child
|
|
400
|
-
in the current round brings it into that round. Processes include every command
|
|
414
|
+
Outputs cover the latest human-prompted round. Tool results, background notices
|
|
415
|
+
and automatic continuations keep that round. Processes include every command
|
|
401
416
|
invocation across the session, with foreground waiting and background execution
|
|
402
|
-
identified from the creating invocation and its result.
|
|
403
|
-
|
|
417
|
+
identified from the creating invocation and its result. Subagents list every
|
|
418
|
+
child the session started, a running one above the finished count it settles
|
|
419
|
+
behind. Tasks, team boards and bound change requests remain session-wide.
|
|
404
420
|
|
|
405
421
|
A list shows two rows; the rest fold behind a quiet full-width control that
|
|
406
422
|
names the count left, which keeps a long list from pushing the sections under it
|
|
@@ -513,9 +529,8 @@ edit the JSON, not the table.
|
|
|
513
529
|
|---|---|---|
|
|
514
530
|
| `--dsh-claude-duration-instant` | `80ms` | the composer caret following the insertion point |
|
|
515
531
|
| `--dsh-claude-duration-feedback` | `120ms` | a control answering hover, press or focus: its colour, background, border, shadow, or a small turn or slide of its own parts |
|
|
516
|
-
| `--dsh-claude-duration-reveal` | `120ms` | content entering the chat area: an opened row's body, and
|
|
532
|
+
| `--dsh-claude-duration-reveal` | `120ms` | content entering the chat area: an opened row's body, and each streamed piece of the answer |
|
|
517
533
|
| `--dsh-claude-duration-stream-fade` | `240ms` | one character of a streaming answer coming to its own colour (features/chat-reveal), and the settings page's preview of it |
|
|
518
|
-
| `--dsh-claude-duration-row-enter` | `240ms` | one row of a turn's process — a tool call, a thought, a context injection — rising into its place as the live turn writes it (features/chat-row-enter) |
|
|
519
534
|
| `--dsh-claude-duration-enter` | `320ms` | one message the reader sends growing into its row, the same growth on the Motion tab's card, and a colour disc lifting out of its row and springing back |
|
|
520
535
|
| `--dsh-claude-duration-surface` | `150ms` | a floating surface or a group of controls appearing: popover cards, menus, panels, the search dialog, a toast, a strip fading in, a hint over what it names |
|
|
521
536
|
| `--dsh-claude-duration-exit` | `120ms` | a surface leaving on the reader's dismissal: a menu or a dialog closing, the overtime badge leaving |
|
|
@@ -527,9 +542,6 @@ edit the JSON, not the table.
|
|
|
527
542
|
| `--dsh-claude-duration-clear-delay` | `50ms` | how long after a field empties the streak under its cleared words starts to rise |
|
|
528
543
|
| `--dsh-claude-duration-clear-text` | `400ms` | the two halves of clearing a field: the words leaving it, and the placeholder taking their place |
|
|
529
544
|
| `--dsh-claude-duration-clear` | `1000ms` | one whole clear: the words leaving, the placeholder arriving, and the streak's rise, peak and fall |
|
|
530
|
-
| `--dsh-claude-duration-line-chunk` | `140ms` | how long one chunk of a tool body's output — two rows — stands before the next two arrive (features/chat-tool-lines) |
|
|
531
|
-
| `--dsh-claude-duration-line-row` | `12ms` | how long one row stands before the next arrives once a tool body's first forty rows are spent |
|
|
532
|
-
| `--dsh-claude-duration-line-settle` | `3800ms` | the longest a batch of a tool body's rows may take to arrive; a longer batch has every offset scaled down to fit it |
|
|
533
545
|
| `--dsh-claude-duration-roll` | `160ms` | a figure's characters rolling over to new digits |
|
|
534
546
|
| `--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 |
|
|
535
547
|
| `--dsh-claude-duration-count` | `220ms` | a session number counting to its new reading |
|
|
@@ -36,7 +36,7 @@ SOFTWARE.
|
|
|
36
36
|
|
|
37
37
|
## Lobe Icons
|
|
38
38
|
|
|
39
|
-
The vendor lockups the model picker draws (`packages/assets/src/icons/combine/`, inlined into `lib/client.js`) are composed by `scripts/data/fetch-lobe-combines.py`: most from Lobe Icons (`@lobehub/icons-static-svg` ships each vendor's mono mark, colour mark and wordmark, and `@lobehub/icons` carries each vendor's brand colour and which artwork variants exist), the rest — OpenAI's and Reflection's — from artwork the repository carries under `packages/assets/src/icons/`. Brand names and logos remain trademarks of their respective owners.
|
|
39
|
+
The vendor lockups the model picker draws (`packages/assets/src/icons/combine/`, inlined into `lib/client.js`) are composed by `scripts/data/fetch-lobe-combines.py`: most from Lobe Icons (`@lobehub/icons-static-svg` ships each vendor's mono mark, colour mark and wordmark, and `@lobehub/icons` carries each vendor's brand colour and which artwork variants exist), the rest — OpenAI's and Reflection's lockups, and the mark inside Tencent's — from artwork the repository carries under `packages/assets/src/icons/`. Brand names and logos remain trademarks of their respective owners.
|
|
40
40
|
|
|
41
41
|
Source: <https://github.com/lobehub/lobe-icons>
|
|
42
42
|
|
|
Binary file
|
package/lib/assets/manifest.json
CHANGED
|
@@ -271,15 +271,15 @@
|
|
|
271
271
|
"encoding": "br",
|
|
272
272
|
"bytes": 37777
|
|
273
273
|
},
|
|
274
|
-
"
|
|
274
|
+
"5ad69ead473c.js": {
|
|
275
275
|
"type": "text/javascript; charset=utf-8",
|
|
276
276
|
"encoding": "br",
|
|
277
|
-
"bytes":
|
|
277
|
+
"bytes": 79567
|
|
278
278
|
},
|
|
279
|
-
"
|
|
279
|
+
"4d84b13e25f3.js.map": {
|
|
280
280
|
"type": "application/json; charset=utf-8",
|
|
281
281
|
"encoding": "br",
|
|
282
|
-
"bytes":
|
|
282
|
+
"bytes": 292020
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
}
|