diff --git a/apps/web/tests/subagent-conversation.e2e.ts b/apps/web/tests/subagent-conversation.e2e.ts
index 49fe63b3d0..2324f0ae2b 100644
--- a/apps/web/tests/subagent-conversation.e2e.ts
+++ b/apps/web/tests/subagent-conversation.e2e.ts
@@ -567,7 +567,7 @@ describe('web e2e: persisted subagent conversation and human continuation', () =
Math.round(clickAreaBox!.x - menuBox!.x),
Math.round(menuBox!.x + menuBox!.width - clickAreaBox!.x - clickAreaBox!.width),
// The outer menu padding insets the scrollable tree rows.
- ]).toEqual([3, 3])
+ ]).toEqual([4, 4])
await compareOrRefreshGolden(
BRANCHLESS_EXPECTED,
await captureStableAria(page, '[role="tree"][aria-label="Subagent sessions"]', scaffold.workspaceCwd),
diff --git a/docs/ui-radius.i18n.yaml b/docs/ui-radius.i18n.yaml
index a5015aa946..0c8d58fcd9 100644
--- a/docs/ui-radius.i18n.yaml
+++ b/docs/ui-radius.i18n.yaml
@@ -15,14 +15,14 @@
en: cd8120cba5566e19
zh: 65359436088c8bc5
/dsh-unified-corner-radius-standard/select-the-radius:
- en: 06ddd6bf9ef1e48c
- zh: 4c42d0c9266a00e8
+ en: e736416ec85d6e16
+ zh: 0edf60fccc867295
/dsh-unified-corner-radius-standard/reuse-tokens-and-preserve-deliberate-shapes:
en: fb6d50f3139ad186
zh: 668cb0c02bd22167
/dsh-unified-corner-radius-standard/nested-geometry-and-hover:
- en: 3920921700d8ad1c
- zh: fc99da8a5e905a27
+ en: 7fe4eb7707e6a9f3
+ zh: be7530a05c205e27
/dsh-unified-corner-radius-standard/settings-card-materials:
en: 85e7e63183df06d1
zh: 1da2b44083d7ebe2
diff --git a/docs/ui-radius.md b/docs/ui-radius.md
index d6d28568ca..303e7c9382 100644
--- a/docs/ui-radius.md
+++ b/docs/ui-radius.md
@@ -38,9 +38,9 @@ H means designed outer height in CSS pixels, including borders. R means CSS `bor
Prefer an existing shared size variant when a proposed control falls between these bands. A taller card remains a card: do not promote it to R28 merely because it exceeds a button's height. A multiline cell intentionally designed for multiple lines uses R16; an ordinary button whose label wraps retains its button variant.
-Concrete defaults: `Button` uses H28/R8 for `sm` and H36/R12 for `md`, including outline variants. Standard H32 inputs and H36 selectors use R12. The Workspace files and New terminal guide entries both use R20, including title-only and described variants. Reserve R28 for their enclosing panel or dialog, not those entries.
+Concrete defaults: `Button` uses H28/R8 for `sm` and H36/R12 for `md`, including outline variants. Standard H32 inputs and H36 selectors use R12. The Workspace files and New terminal guide entries both use R20, including title-only and described variants. Reserve R28 for their enclosing panel or dialog, not those entries. Composer statistics and the context-occupancy trigger use compact-control R8 with the theme curve, including hover, expanded, and focus states.
-Code blocks, diffs, and file previews share R16: changed-file entry cards, delivered-file cards, generic file attachment cards, and hover preview panels. The 40px file-icon tiles inside changed-file and delivery cards use R10 on all four corners as a component-specific exception. Their hover fills keep the same contour.
+Code blocks, diffs, and preview cards share R16: changed-file entry cards, delivered-file cards, submitted-plan cards, created-task cards, generic file attachment cards before and after sending, and hover preview panels. The 40px icon tiles inside changed-file, delivery, submitted-plan, and created-task cards use R10 on all four corners as a component-specific exception and share the same neutral tile fill and border in both themes. Their hover fills keep the same contour.
## Reuse tokens and preserve deliberate shapes
@@ -64,11 +64,13 @@ Distinguish these three arrangements before changing a child radius:
| Arrangement | Rule | Example |
|---|---|---|
-| Concentric inset | Inner R = max(0, outer R − inset); use the same curve | Outer R16, inset 4, inner R12 |
+| Circular concentric inset | Inner R = max(0, outer R − inset); both arcs share a center and use `round` | Outer R16, inset 4, inner R12 |
| Fill flush against an enclosing edge | The enclosure owns the visible corner; clip the fill or inherit the matching corner | A split-button card with two independent hover regions |
| Separate card or form group inside another surface | Choose the child's semantic tier; do not subtract all parent padding mechanically | R16 editor within an R20 settings card |
-Standard menus use outer R16, 4px padding, and R12 items. Compact menus use outer R12, 4px padding, and R8 items. Shared `SegmentedControl` uses outer R12, 4px inset, and R8 segments/indicator; `SegmentedTabs` uses outer R16, 4px inset, and R12 segments/indicator. Keep indicator offsets, width calculations, submenu alignment, and pointer bridges consistent when changing padding.
+Standard menus use outer R16, 4px padding, and R12 items, including command selection, task menus, and the exposed highlights in subagent and background-job menus. Tree disclosure gutters retain their indentation; controls inside a filled job row keep their own compact geometry. Compact menus use outer R12, 4px padding, and R8 items. Shared `SegmentedControl` uses outer R12, 4px inset, and R8 segments/indicator; `SegmentedTabs` uses outer R16, 4px inset, and R12 segments/indicator. Keep indicator offsets, width calculations, submenu alignment, and pointer bridges consistent when changing padding.
+
+The radius subtraction is also the nominal sizing rule for nested superellipses. Equal exponents do not make them exact offset curves, so their diagonal gap may differ from the side inset. Keep the shared superellipse menu and segmented-control treatments; use circular arcs when strict equal radial spacing is required.
A single clickable surface paints hover on itself. A flush pseudo-element or overlay uses the same radius and curve as the visible enclosure. Avoid a separately rounded fill that leaves a crescent between the background and the border.
diff --git a/docs/ui-radius.zh.md b/docs/ui-radius.zh.md
index 657684ebc7..80edb753c6 100644
--- a/docs/ui-radius.zh.md
+++ b/docs/ui-radius.zh.md
@@ -38,9 +38,9 @@ H 表示以 CSS 像素计、包含边框的设计外部高度。R 表示浏览
拟定控件尺寸落在档位之间时,优先复用已有的公共尺寸变体。高卡片仍是卡片,不因高度超过按钮就升到 R28。专门设计为多行的 cell 使用 R16;普通按钮的文字发生换行时,仍保留其按钮变体。
-具体默认值:`Button` 的 `sm` 使用 H28/R8,`md` 使用 H36/R12,包含描边变体。标准 H32 输入框和 H36 选择器使用 R12。“工作区文件”和“新建终端”引导入口统一使用 R20,包含仅标题与带描述的变体。R28 留给包围它们的面板或对话框,不用于这些入口。
+具体默认值:`Button` 的 `sm` 使用 H28/R8,`md` 使用 H36/R12,包含描边变体。标准 H32 输入框和 H36 选择器使用 R12。“工作区文件”和“新建终端”引导入口统一使用 R20,包含仅标题与带描述的变体。R28 留给包围它们的面板或对话框,不用于这些入口。输入框统计控件与上下文占用率入口使用紧凑控件的 R8 和主题曲线,包含 hover、展开与焦点状态。
-代码块、diff 与文件预览共用 R16:包括改动文件入口卡片、交付文件卡片、通用附件文件卡片和悬停预览浮层。改动文件与交付文件卡片内部的 40px 文件图标底框作为组件特例,四角统一使用 R10。各自的 hover 保持同一轮廓。
+代码块、diff 与预览卡片共用 R16:包括改动文件入口卡片、交付文件卡片、已提交计划卡片、已创建任务卡片、发送前后的通用附件文件卡片和悬停预览浮层。改动文件、交付文件、已提交计划与已创建任务卡片内部的 40px 图标底框作为组件特例,四角统一使用 R10,并在明暗两种主题下分别共用相同的中性底色与边框。各自的 hover 保持同一轮廓。
## 复用 token,保留有意设计的形状
@@ -64,11 +64,13 @@ H 表示以 CSS 像素计、包含边框的设计外部高度。R 表示浏览
| 关系 | 规则 | 示例 |
|---|---|---|
-| 同心内缩 | 内层 R = max(0, 外层 R − 内缩距离);使用相同曲线 | 外层 R16,内缩 4,内层 R12 |
+| 圆弧同心内缩 | 内层 R = max(0, 外层 R − 内缩距离);两段圆弧同心且使用 `round` | 外层 R16,内缩 4,内层 R12 |
| 底色紧贴容器边缘 | 由外框决定可见圆角;裁切底色或继承相应圆角 | 两个独立 hover 区域组成的分体按钮卡片 |
| 容器内独立的卡片或表单组 | 按子元素用途选择档位;不机械减去全部父级内边距 | R20 设置卡片内的 R16 编辑器 |
-标准菜单使用外层 R16、4px 内边距、R12 菜单项。紧凑菜单使用外层 R12、4px 内边距、R8 菜单项。公共 `SegmentedControl` 使用外层 R12、4px 内缩、R8 分段和指示器;`SegmentedTabs` 使用外层 R16、4px 内缩、R12 分段和指示器。修改内边距时,同步保持指示器偏移、宽度计算、子菜单对齐与指针桥接区域一致。
+标准菜单使用外层 R16、4px 内边距、R12 菜单项,包含命令选择、任务菜单,以及子会话和后台任务菜单的外露高亮区域。树形展开操作保留缩进;带底色任务行内的控件保留各自的紧凑几何。紧凑菜单使用外层 R12、4px 内边距、R8 菜单项。公共 `SegmentedControl` 使用外层 R12、4px 内缩、R8 分段和指示器;`SegmentedTabs` 使用外层 R16、4px 内缩、R12 分段和指示器。修改内边距时,同步保持指示器偏移、宽度计算、子菜单对齐与指针桥接区域一致。
+
+半径相减也用于嵌套超级椭圆的名义尺寸关系。相同指数不意味着两条曲线严格等距,因此对角线间隙可能不同于侧边内缩。菜单与分段控件保留公共的超级椭圆样式;要求径向严格等距时使用圆弧。
单个可点击表面在自身绘制 hover。贴边的伪元素或覆盖层使用与可见外框相同的圆角和曲线。避免单独给底色设置圆角,导致背景与边框之间出现月牙状空隙。
diff --git a/packages/client/ui-chat/README.i18n.yaml b/packages/client/ui-chat/README.i18n.yaml
index b1a7cbaa67..3afec610af 100644
--- a/packages/client/ui-chat/README.i18n.yaml
+++ b/packages/client/ui-chat/README.i18n.yaml
@@ -15,8 +15,8 @@
en: 41cd21266011d571
zh: 3172d1a2acbb27b7
/deepseek-ai-dsh-client-ui-chat/reference-previews:
- en: 35907a97c3edfa79
- zh: 5423c6d41fac73d3
+ en: 07a55c307ac68b95
+ zh: b2dd3f47008929c2
/deepseek-ai-dsh-client-ui-chat/hidden-chat-rows:
en: cbf1f0a2205046a5
zh: 2e59d0815351349f
@@ -24,8 +24,8 @@
en: 2157fcd6b0d100b5
zh: 9e865ac3953ebe30
/deepseek-ai-dsh-client-ui-chat/turn-token-usage:
- en: 9f39ef2d8b3a70b4
- zh: 77b7ff326d24e1c1
+ en: bb20da372b144302
+ zh: 75a8c5ab7ec8d665
/deepseek-ai-dsh-client-ui-chat/completed-turn-footer:
en: b4cd36e7ab91281e
zh: 8ccf412b9dde61d5
diff --git a/packages/client/ui-chat/README.md b/packages/client/ui-chat/README.md
index 7ad45dcdca..1bf489d09e 100644
--- a/packages/client/ui-chat/README.md
+++ b/packages/client/ui-chat/README.md
@@ -33,6 +33,8 @@ File-mention providers receive the viewed Session ID with the closing-turn owner
## Reference previews
+Sent generic-file attachments retain the draft's [file-card radius](../../../docs/ui-radius.md#radius-scale).
+
Chat supplies file and HTTP(S) navigation through one `MarkdownDelegateProvider` around its node list. Assistant Markdown file links open in the right Sidebar after the message settles, including references to unmodified files. Relative paths resolve in the viewed Session's workspace; absolute paths retain the same Session's filesystem access. `#L24` and `#L24-L30` navigate to the first specified line and reuse an existing file tab. Missing files show the preview's error state.
Standalone Markdown images show contained previews and open the shared image lightbox; local paths resolve against the viewed workspace after settlement. Image file links keep their sidebar activation and show a thumbnail after hover dwell or keyboard focus. Escape dismisses the thumbnail. Failed images retain a localized status and their description; no duplicate-image filtering is applied.
@@ -60,7 +62,7 @@ A completed Turn shows an expandable usage row only when the loaded window inclu
Settings → General → Performance & usage appears after Send behavior while busy and before Session Log upload, and stores `ui-chat.performanceUsage` as `detailed` (default) or `compact`. Compact shows only available output speed and cache-hit percentage beneath the composer, without interactive statistic dialogs or per-Turn usage. Detailed exposes session statistics and per-Turn token usage. Neither mode shows elapsed time in the completed-turn footer. The preference changes presentation only; accounting and Session events remain intact.
-The composer statistics are two `conversation.composer.dock` list entries: `activity` (order 0, turn and step counts and output speed, with LLM time, tool time, and TTFT) and `usage` (order 1, token total and cache hit). Another plugin replaces one pill by registering the same id and the same `order`; the dock orders rows by `order`, while a lower `priority` picks the replacement: a dynamic plugin receives one automatically, and a statically composed plugin passes it explicitly. A new id adds a pill. Each pill carries its id in `data-composer-stat`. An open pill dialog closes on Escape or on a pointerdown or click outside it, so activating another pill by pointer or keyboard swaps dialogs instead of stacking them.
+The composer statistics are two `conversation.composer.dock` list entries: `activity` (order 0, turn and step counts and output speed, with LLM time, tool time, and TTFT) and `usage` (order 1, token total and cache hit). The controls follow the shared [statistics-control radius](../../../docs/ui-radius.md#radius-scale). Another plugin replaces one control by registering the same id and the same `order`; the dock orders rows by `order`, while a lower `priority` picks the replacement: a dynamic plugin receives one automatically, and a statically composed plugin passes it explicitly. A new id adds a control. Each control carries its id in `data-composer-stat`. An open statistics dialog closes on Escape or on a pointerdown or click outside it, so activating another control by pointer or keyboard swaps dialogs instead of stacking them.
Explicit selections update every consumer immediately; accepted Host settings reconcile the live value, so a refused or pending write keeps the selected mode until the Host answers.
diff --git a/packages/client/ui-chat/README.zh.md b/packages/client/ui-chat/README.zh.md
index fb8d1dba8c..c08c2d5605 100644
--- a/packages/client/ui-chat/README.zh.md
+++ b/packages/client/ui-chat/README.zh.md
@@ -33,6 +33,8 @@ kind: "package-reference"
## 引用预览
+已发送的普通文件附件保留草稿中的[文件卡片圆角](../../../docs/ui-radius.zh.md#radius-scale)。
+
Chat 在节点列表外通过一个 `MarkdownDelegateProvider` 提供文件及 HTTP(S) 导航。Assistant Markdown 文件链接在消息落定后可于右侧栏打开,包括未修改文件的引用。相对路径基于当前查看的 Session 工作区解析;绝对路径仍使用同一 Session 的文件系统访问。`#L24` 和 `#L24-L30` 定位到指定起始行,并复用现有文件标签。文件缺失时显示预览错误状态。
独立的 Markdown 图片以内嵌预览显示,点击打开共享图片浮层;本地路径在消息落定后基于当前查看的工作区解析。图片文件链接保持点击打开侧栏,鼠标停留或键盘聚焦时显示缩略图,Esc 关闭缩略图。图片加载失败时保留本地化状态与图片说明;不执行重复图片过滤。
@@ -60,7 +62,7 @@ Assistant 尝试结束且没有可见消息时,Chat 隐藏已发布的 Node,
设置 → 通用设置 → 性能与用量位于繁忙时的发送行为之后、Session Log 上传之前,将 `ui-chat.performanceUsage` 保存为 `detailed`(默认)或 `compact`。简洁模式仅在输入框下方显示可用的输出速度和缓存命中率,不显示统计交互卡片或每轮用量。详细模式提供会话统计和每轮 token 用量。两种模式的已完成轮次页脚均不显示耗时。该偏好仅影响展示,记账和 Session 事件保持完整。
-输入框统计信息由两个 `conversation.composer.dock` 列表条目组成:`activity`(order 0,轮次数、步骤数与输出速度,以及 LLM 耗时、工具耗时与 TTFT)和 `usage`(order 1,token 总量与缓存命中)。其他插件以相同的 id 和相同的 `order` 注册即可替换某个胶囊;dock 按 `order` 排列各行,更低的 `priority` 决定由替换者渲染:动态插件会自动获得,静态组合的插件需显式传入。以新 id 注册则新增胶囊。每个胶囊在 `data-composer-stat` 中携带其 id。按下 Escape,或在已打开的对话框之外发生 pointerdown 或点击时,该对话框会关闭,因此用指针或键盘激活另一个胶囊会切换对话框,而不会叠加两个。
+输入框统计信息由两个 `conversation.composer.dock` 列表条目组成:`activity`(order 0,轮次数、步骤数与输出速度,以及 LLM 耗时、工具耗时与 TTFT)和 `usage`(order 1,token 总量与缓存命中)。这些控件遵循公共的[统计控件圆角规则](../../../docs/ui-radius.zh.md#radius-scale)。其他插件以相同的 id 和相同的 `order` 注册即可替换某个控件;dock 按 `order` 排列各行,更低的 `priority` 决定由替换者渲染:动态插件会自动获得,静态组合的插件需显式传入。以新 id 注册则新增控件。每个控件在 `data-composer-stat` 中携带其 id。按下 Escape,或在已打开的对话框之外发生 pointerdown 或点击时,该对话框会关闭,因此用指针或键盘激活另一个控件会切换对话框,而不会叠加两个。
明确选择会立即更新所有使用方;Host 接受的设置会校正实时值,因此写入被拒绝或尚未应答时保持所选模式,直到 Host 应答。
diff --git a/packages/client/ui-chat/src/client/chat/MessageItem.module.css b/packages/client/ui-chat/src/client/chat/MessageItem.module.css
index 5d19483335..3bacafab47 100644
--- a/packages/client/ui-chat/src/client/chat/MessageItem.module.css
+++ b/packages/client/ui-chat/src/client/chat/MessageItem.module.css
@@ -326,7 +326,7 @@
min-height: 64px;
padding: 8px 12px;
border: 0.5px solid var(--dsw-alias-border-l2, rgba(0, 0, 0, 0.12));
- border-radius: var(--dsw-radius-xl);
+ border-radius: var(--dsw-radius-lg);
background: var(--dsw-specific-input-major, transparent);
box-sizing: border-box;
}
diff --git a/packages/client/ui-chat/src/client/chat/StatsPills.module.css b/packages/client/ui-chat/src/client/chat/StatsPills.module.css
index 44dab51430..dd9816e96e 100644
--- a/packages/client/ui-chat/src/client/chat/StatsPills.module.css
+++ b/packages/client/ui-chat/src/client/chat/StatsPills.module.css
@@ -1,6 +1,5 @@
-/* Icon pills under the composer, each one composer-dock entry laid out by the
- dock's flex row; 12/20 tertiary text tier with a hover-pill affordance; each
- pill's click-open panel wears the shared stat-dialog.module.css skin. */
+/* Composer statistics use compact controls; their click-open panels share
+ stat-dialog.module.css. */
/* Entry root and dialog anchor: shrink-wraps its pill so the panel clamp
measures the pill. */
@@ -19,8 +18,7 @@
max-width: 100%;
padding: 1px 8px;
border: none;
- border-radius: 999px;
- corner-shape: round;
+ border-radius: var(--dsw-radius-sm);
background: transparent;
color: var(--dsw-alias-label-tertiary);
font: inherit;
diff --git a/packages/client/ui-commands/README.i18n.yaml b/packages/client/ui-commands/README.i18n.yaml
index 6177afb95c..97fd762cc1 100644
--- a/packages/client/ui-commands/README.i18n.yaml
+++ b/packages/client/ui-commands/README.i18n.yaml
@@ -27,8 +27,8 @@
en: 4feecdbec0c3f39e
zh: 618944ecade8a3a2
/deepseek-ai-dsh-client-ui-commands/understand-the-implementation:
- en: 3aeeba6c91c3ef19
- zh: d3afb3df6d15e17b
+ en: dbd2d83fb5e57ff3
+ zh: 6e2e837f6a08f2fb
/deepseek-ai-dsh-client-ui-commands/further-exploration:
en: 409c04f534d23de7
zh: 165022d7a0a554eb
diff --git a/packages/client/ui-commands/README.md b/packages/client/ui-commands/README.md
index 8bf2cdc958..a3f56ab147 100644
--- a/packages/client/ui-commands/README.md
+++ b/packages/client/ui-commands/README.md
@@ -59,6 +59,8 @@ Popup selection panels fill the composer overlay's width, matching the slash men
Each command-directory fetch requires an existing retained Client Session and waits for its initial history open to succeed before sending `commands.list`. A temporary `commandCatalog` reference holds that Session until the fetch settles. An unretained Session or a failed open rejects without sending the RPC, so background catalog refreshes do not reopen closed Sessions.
+Popup selection uses the [standard menu inset and item radii](../../../docs/ui-radius.md#nested-hover).
+
-----
diff --git a/packages/client/ui-commands/README.zh.md b/packages/client/ui-commands/README.zh.md
index 792611b54e..8c36427041 100644
--- a/packages/client/ui-commands/README.zh.md
+++ b/packages/client/ui-commands/README.zh.md
@@ -59,6 +59,8 @@ composer 携带图片或通用文件提交时,只有声明了 `input.attachmen
每次命令目录拉取都要求客户端已持有该会话,并等待首次历史打开成功后才发送 `commands.list`。临时的 `commandCatalog` 引用持续持有会话,直到拉取结束。未被持有的会话或打开失败会直接拒绝,不发送 RPC,因此后台目录刷新不会重新打开已关闭的会话。
+弹出选择面板使用[标准菜单的内缩与菜单项圆角](../../../docs/ui-radius.zh.md#nested-hover)。
+
-----
diff --git a/packages/client/ui-commands/src/client/PopupSelectView.module.css b/packages/client/ui-commands/src/client/PopupSelectView.module.css
index f500af280b..bf44e4afa8 100644
--- a/packages/client/ui-commands/src/client/PopupSelectView.module.css
+++ b/packages/client/ui-commands/src/client/PopupSelectView.module.css
@@ -9,7 +9,7 @@
right: 0;
box-sizing: border-box;
z-index: 100;
- padding: 3px;
+ padding: 4px;
display: flex;
flex-direction: column;
min-width: min(220px, 100%);
diff --git a/packages/client/ui-conversation/README.i18n.yaml b/packages/client/ui-conversation/README.i18n.yaml
index 8b555526ad..56b266e1a6 100644
--- a/packages/client/ui-conversation/README.i18n.yaml
+++ b/packages/client/ui-conversation/README.i18n.yaml
@@ -18,8 +18,8 @@
en: 1d2a3a7f98c2cc9b
zh: f895dd5e9f91e0a9
/deepseek-ai-dsh-client-ui-conversation/shell-and-standard-props:
- en: 51c7c9e2537aa4be
- zh: c4084541a776689e
+ en: d541ae8b98468d34
+ zh: f6899329498d97b8
/deepseek-ai-dsh-client-ui-conversation/temporary-composer-entries:
en: bb1244310f5c0382
zh: 824b84077432b559
diff --git a/packages/client/ui-conversation/README.md b/packages/client/ui-conversation/README.md
index 980340048f..75b8df9d7e 100644
--- a/packages/client/ui-conversation/README.md
+++ b/packages/client/ui-conversation/README.md
@@ -56,6 +56,8 @@ The shared image slot props keep display choices separate from durable reference
The composer measures its expanded control groups after size, content, visibility, or font-loading changes. If they cannot share a line, the row sets `--dsh-composer-model-text-display: none` and `--dsh-composer-model-icon-display: block` for the model seat; their defaults are `block` and `none`. Wrapping remains available if even the icon cannot fit.
+The context meter follows the [statistics-control radius](../../../docs/ui-radius.md#radius-scale).
+
The context-occupancy button shows a ring and percentage below the input card, after the Session statistics. Clicking it opens the token breakdown in a panel kept inside the viewport, including when no statistics are shown; the button stays hidden until context usage and capacity are available.
With Coding Tools off, the shell hides only Trajectory; other plugin-contributed Views remain available. The View tab bar is hidden when fewer than two Views are available. Turning Coding Tools off while Trajectory is active returns to Chat; stored View preferences and recorded Session data remain intact. Turning it on makes Trajectory available again. View owners receive the available roster so their navigation actions can follow the same visibility.
diff --git a/packages/client/ui-conversation/README.zh.md b/packages/client/ui-conversation/README.zh.md
index d4a100e7dd..6cfbe8ca6d 100644
--- a/packages/client/ui-conversation/README.zh.md
+++ b/packages/client/ui-conversation/README.zh.md
@@ -56,6 +56,8 @@ target package 通过 declaration merge 扩展 snapshot 与 Location data map,
控件组的尺寸、内容、可见性或字体加载状态变化后,composer 测量展开状态下的控件组。若无法排在同一行,控制栏为模型位设置 `--dsh-composer-model-text-display: none` 和 `--dsh-composer-model-icon-display: block`;两者默认值分别为 `block` 和 `none`。若连图标也放不下,仍允许换行。
+上下文占用率入口遵循[统计控件圆角规则](../../../docs/ui-radius.zh.md#radius-scale)。
+
上下文占用按钮在输入卡片下方、会话统计右侧显示圆环和百分比。点击按钮可在视口内的面板查看 token 构成,没有统计项时面板也不会越界;上下文用量和容量尚不可用时,按钮保持隐藏。
关闭代码工作工具时,外壳仅隐藏 Trajectory;其他插件贡献的 View 仍然可用。可用 View 少于两个时隐藏 View 标签栏。在 Trajectory 激活时关闭代码工作工具会返回 Chat;已保存的 View 偏好和 Session 记录保持不变。开启后,Trajectory 恢复可用。View 所有者接收可用列表,使导航操作跟随相同的可见性。
diff --git a/packages/client/ui-conversation/src/client/skeleton/ContextMeter.module.css b/packages/client/ui-conversation/src/client/skeleton/ContextMeter.module.css
index 7952f18006..9d94b96e76 100644
--- a/packages/client/ui-conversation/src/client/skeleton/ContextMeter.module.css
+++ b/packages/client/ui-conversation/src/client/skeleton/ContextMeter.module.css
@@ -1,4 +1,4 @@
-/* Context-occupancy pill below the composer plus its click-open breakdown
+/* Context-occupancy control below the composer plus its click-open breakdown
panel (menu surface: elevation-prominent). */
.root {
diff --git a/packages/client/ui-jobs/README.i18n.yaml b/packages/client/ui-jobs/README.i18n.yaml
index 0b6fe4ebae..c037d0003a 100644
--- a/packages/client/ui-jobs/README.i18n.yaml
+++ b/packages/client/ui-jobs/README.i18n.yaml
@@ -24,8 +24,8 @@
en: c34dad62fee63306
zh: 167d9da7928a9488
/deepseek-ai-dsh-client-ui-jobs/understand-the-implementation:
- en: 98daaa0c15166ea5
- zh: a37b5db4be2e40fe
+ en: 4f18681e6209c2d7
+ zh: 4472b22583ce8d39
/deepseek-ai-dsh-client-ui-jobs/further-exploration:
en: 01eaaecb5850f391
zh: 2eabd14cde191ab8
diff --git a/packages/client/ui-jobs/README.md b/packages/client/ui-jobs/README.md
index 713488561d..524c9d14b5 100644
--- a/packages/client/ui-jobs/README.md
+++ b/packages/client/ui-jobs/README.md
@@ -53,6 +53,8 @@ One slot entry in the header actions band (after the preset label) renders the t
| [`src/client/index.ts`](src/client/index.ts) | Slot registration and the dictionaries |
| [`src/client/locales.ts`](src/client/locales.ts) | The `job` namespace copy (zh source of truth) |
+Background-job rows follow the [standard menu edge geometry](../../../docs/ui-radius.md#nested-hover); controls inside a filled running row retain compact corners.
+
-----
diff --git a/packages/client/ui-jobs/README.zh.md b/packages/client/ui-jobs/README.zh.md
index b593a3773e..a749206857 100644
--- a/packages/client/ui-jobs/README.zh.md
+++ b/packages/client/ui-jobs/README.zh.md
@@ -53,6 +53,8 @@ kind: "package-reference"
| [`src/client/index.ts`](src/client/index.ts) | slot 注册与词典 |
| [`src/client/locales.ts`](src/client/locales.ts) | `job` 命名空间文案(zh 为事实源) |
+后台任务行遵循[标准菜单边缘几何](../../../docs/ui-radius.zh.md#nested-hover);带底色运行行内的控件保留紧凑圆角。
+
-----
diff --git a/packages/client/ui-jobs/src/client/JobListAction.module.css b/packages/client/ui-jobs/src/client/JobListAction.module.css
index 549d34f63c..f3f2286163 100644
--- a/packages/client/ui-jobs/src/client/JobListAction.module.css
+++ b/packages/client/ui-jobs/src/client/JobListAction.module.css
@@ -48,7 +48,7 @@
max-width: min(560px, calc(100vw - 32px));
max-height: min(480px, calc(100vh - 140px));
margin: 0;
- padding: 3px;
+ padding: 4px;
overflow: auto;
list-style: none;
border: 0;
@@ -155,6 +155,10 @@
background: transparent;
}
+.rowLineLive .row {
+ border-radius: var(--dsw-radius-sm);
+}
+
.rowLineLive .row:focus-visible {
background: color-mix(in srgb, var(--dsw-alias-label-primary) 6%, transparent);
}
@@ -229,7 +233,7 @@
min-height: 28px;
padding: 4px 7px;
border: 0;
- border-radius: var(--dsw-radius-sm);
+ border-radius: var(--dsw-radius-md);
background: transparent;
color: var(--dsw-alias-label-primary);
font-size: 12px;
diff --git a/packages/client/ui-plan/README.i18n.yaml b/packages/client/ui-plan/README.i18n.yaml
index 3a5ee2140c..925a4e8253 100644
--- a/packages/client/ui-plan/README.i18n.yaml
+++ b/packages/client/ui-plan/README.i18n.yaml
@@ -27,8 +27,8 @@
en: a13078ade4ef3b9d
zh: 2c8b3e8b62ad5652
/deepseek-ai-dsh-client-ui-plan/understand-the-implementation:
- en: 5a6910010ef46fb6
- zh: 00c55930c00a508c
+ en: 31edfe487dfa0c08
+ zh: c687a5fa5391415a
/deepseek-ai-dsh-client-ui-plan/further-exploration:
en: 59f62ef6269abf82
zh: c8b4ee607be1e432
diff --git a/packages/client/ui-plan/README.md b/packages/client/ui-plan/README.md
index afba1c7052..db2ea4266a 100644
--- a/packages/client/ui-plan/README.md
+++ b/packages/client/ui-plan/README.md
@@ -55,6 +55,8 @@ Plan cards derive from native `tool/call` or PTC dispatch arguments through a Co
The framework-bound `usePlans(turn)` exposes only submitted-plan data for that Turn. Chat indexes membership on Node updates and orders this collection when read; card rendering neither scans the transcript nor subscribes to other Turns or Node kinds.
+Submitted-plan cards follow the [file-card family](../../../docs/ui-radius.md#radius-scale) for their radius and icon-tile material.
+
-----
diff --git a/packages/client/ui-plan/README.zh.md b/packages/client/ui-plan/README.zh.md
index 5a08a67c43..f3f5bc6203 100644
--- a/packages/client/ui-plan/README.zh.md
+++ b/packages/client/ui-plan/README.zh.md
@@ -55,6 +55,8 @@ kind: "package-reference"
框架绑定的 `usePlans(turn)` 只提供该回合的已提交计划数据。Chat 随节点更新维护成员索引,并在读取时排列该集合;卡片渲染不扫描整段对话,也不订阅其他回合或节点类型。
+已提交计划卡片的圆角和图标底框材质遵循[文件卡片家族](../../../docs/ui-radius.zh.md#radius-scale)。
+
-----
diff --git a/packages/client/ui-plan/src/client/PlanPreview.module.css b/packages/client/ui-plan/src/client/PlanPreview.module.css
index 6344ddeb79..02a272fcf3 100644
--- a/packages/client/ui-plan/src/client/PlanPreview.module.css
+++ b/packages/client/ui-plan/src/client/PlanPreview.module.css
@@ -12,7 +12,7 @@
padding: 8px 10px;
margin: 0;
border: 0.5px solid var(--dsw-alias-border-l1);
- border-radius: var(--dsw-radius-xl);
+ border-radius: var(--dsw-radius-lg);
background: var(--plan-card-fill);
color: var(--dsw-alias-label-primary);
font: inherit;
@@ -23,7 +23,8 @@
:global(body[data-ds-dark-theme]) .card { --plan-card-fill: var(--dsw-static-neutral-850); --plan-card-hover: var(--dsw-static-neutral-800); }
.card:hover { background: var(--plan-card-hover); }
.card:focus-visible { outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary)); outline-offset: 3px; }
-.cardIcon { box-sizing: border-box; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0.5px solid var(--dsw-alias-border-l1); border-radius: var(--dsw-radius-md); background: var(--plan-card-fill); }
+.cardIcon { box-sizing: border-box; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0.5px solid var(--dsw-alias-border-l1); border-radius: 10px; background: color-mix(in srgb, var(--dsw-static-neutral-00) 50%, transparent); }
+:global(body[data-ds-dark-theme]) .cardIcon { background: color-mix(in srgb, var(--dsw-static-neutral-00) 5%, transparent); }
.cardDetails { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.cardTitle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 500; line-height: 20px; }
.cardDescription { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dsw-alias-label-tertiary); font-size: 10px; line-height: 16px; }
diff --git a/packages/client/ui-schedule/README.i18n.yaml b/packages/client/ui-schedule/README.i18n.yaml
index 21244ecf66..50241a25d1 100644
--- a/packages/client/ui-schedule/README.i18n.yaml
+++ b/packages/client/ui-schedule/README.i18n.yaml
@@ -21,8 +21,8 @@
en: 6bd6882dbbbefcb0
zh: 03aa15f1a65d13dc
/deepseek-ai-dsh-client-ui-schedule/understand-the-implementation:
- en: a03a551e0ed96c6b
- zh: a85efe7db56b7df3
+ en: 959145f9a08c3913
+ zh: caae642a82d2acd3
/deepseek-ai-dsh-client-ui-schedule/further-exploration:
en: 06e265120b05dbf5
zh: 08ab1ef979b8ea40
diff --git a/packages/client/ui-schedule/README.md b/packages/client/ui-schedule/README.md
index 9f60a11b1c..2731187fae 100644
--- a/packages/client/ui-schedule/README.md
+++ b/packages/client/ui-schedule/README.md
@@ -67,6 +67,8 @@ A restored task tab carries no navigation parameters, because the Sidebar persis
Subscriptions exist only while the framework observes a source. The final unsubscribe releases event listeners and invalidates pending responses. Components receive framework-bound `useCatalog` hooks and explicit action callbacks. The mounted Records view reads `schedule.history` with the selected task's original Session binding; catalog and list responses omit full history. Components own disposable search, filtering, selection, confirmation, and history-page state. Reminder records remain Host-owned and do not come from historical Session projections or browser-local demo data.
+Task menus use the [standard menu geometry](../../../docs/ui-radius.md#nested-hover), including keyboard-highlighted rows. Created-task cards follow the [file-card family](../../../docs/ui-radius.md#radius-scale) for their radius and icon-tile material.
+
diff --git a/packages/client/ui-schedule/README.zh.md b/packages/client/ui-schedule/README.zh.md
index 29c127bad3..cd027ea2ea 100644
--- a/packages/client/ui-schedule/README.zh.md
+++ b/packages/client/ui-schedule/README.zh.md
@@ -67,6 +67,8 @@ kind: "package-reference"
仅在框架观察数据源期间订阅。最后一个订阅取消时释放事件监听,并使尚未完成的响应失效。组件接收框架绑定的 `useCatalog` hook 和明确的操作回调。已挂载的任务运行记录视图使用所选任务的原会话绑定读取 `schedule.history`;目录和列表响应不包含完整历史。组件拥有可丢弃的搜索、筛选、选择、确认和历史分页状态。提醒记录由 Host 拥有,不来自历史会话投影或浏览器本地演示数据。
+任务菜单使用[标准菜单几何](../../../docs/ui-radius.zh.md#nested-hover),包含键盘高亮行。已创建任务卡片的圆角和图标底框材质遵循[文件卡片家族](../../../docs/ui-radius.zh.md#radius-scale)。
+
diff --git a/packages/client/ui-schedule/src/client/ScheduleCreateCard.module.css b/packages/client/ui-schedule/src/client/ScheduleCreateCard.module.css
index 551dee0b93..a56588c1d4 100644
--- a/packages/client/ui-schedule/src/client/ScheduleCreateCard.module.css
+++ b/packages/client/ui-schedule/src/client/ScheduleCreateCard.module.css
@@ -1,7 +1,4 @@
-/* schedule_create transcript card: clock, task title, frequency, open action.
- The box is the delivery card's (ui-deliverables Deliverables.module.css
- `.file`): the same fill/hover pair, 60px row, 8/10 padding, and 18px corner,
- with one inset overlay button making the whole row open the task. */
+/* Created-task cards follow the file-card treatment in docs/ui-radius.md. */
.card {
--card-fill: var(--dsw-static-neutral-50);
@@ -15,7 +12,7 @@
padding: 8px 10px;
overflow: hidden;
border: 0.5px solid var(--dsw-alias-border-l1);
- border-radius: 18px;
+ border-radius: var(--dsw-radius-lg);
background: var(--card-fill);
color: var(--dsw-alias-label-primary);
transition: background-color 120ms ease;
@@ -59,8 +56,6 @@
pointer-events: none;
}
-/* The clock glyph sits in the delivery card's icon frame (`.fileIcon`): a
- 40px bordered 10px-corner square on the card's own fill. */
.leading {
display: grid;
flex: none;
@@ -68,12 +63,16 @@
box-sizing: border-box;
width: 40px;
height: 40px;
- border: 0.5px solid var(--dsw-alias-border-l2);
+ border: 0.5px solid var(--dsw-alias-border-l1);
border-radius: 10px;
- background: var(--card-fill);
+ background: color-mix(in srgb, var(--dsw-static-neutral-00) 50%, transparent);
color: var(--dsw-alias-label-secondary);
}
+:global(body[data-ds-dark-theme]) .leading {
+ background: color-mix(in srgb, var(--dsw-static-neutral-00) 5%, transparent);
+}
+
.leading svg {
flex: none;
}
@@ -118,7 +117,7 @@
white-space: nowrap;
}
-/* The open control keeps the primitive's outlined capsule geometry and stays
+/* The open control keeps the primitive's compact outlined geometry and stays
its own target over the row-wide overlay. */
.openButton {
flex: none;
diff --git a/packages/client/ui-schedule/src/client/TaskMenu.module.css b/packages/client/ui-schedule/src/client/TaskMenu.module.css
index 91fa09e354..5ddd158c37 100644
--- a/packages/client/ui-schedule/src/client/TaskMenu.module.css
+++ b/packages/client/ui-schedule/src/client/TaskMenu.module.css
@@ -10,12 +10,12 @@
.list {
/* min-widths below are the design's outer card widths — include the pad. */
box-sizing: border-box;
- padding: 3px;
+ padding: 4px;
display: flex;
flex-direction: column;
gap: 0;
border: 0;
- border-radius: 16px;
+ border-radius: var(--dsw-radius-lg);
background: var(--dsw-specific-menu);
backdrop-filter: var(--dsw-menu-backdrop-filter);
--dsw-elevation-stroke-color: var(--dsw-alias-border-l1);
@@ -88,7 +88,7 @@
min-height: 34px;
padding: 6px 8px;
border: none;
- border-radius: 8px;
+ border-radius: var(--dsw-radius-md);
background: transparent;
cursor: pointer;
font-size: 13px;
diff --git a/packages/client/ui-schedule/tests/schedule-create-card.client.spec.tsx b/packages/client/ui-schedule/tests/schedule-create-card.client.spec.tsx
index 9a295266ba..58a5f134a6 100644
--- a/packages/client/ui-schedule/tests/schedule-create-card.client.spec.tsx
+++ b/packages/client/ui-schedule/tests/schedule-create-card.client.spec.tsx
@@ -284,11 +284,9 @@ describe('ScheduleCreateCard', () => {
expect(frequency).toMatch(/color:\s*var\(--dsw-alias-label-tertiary\);/)
expect(frequency).toMatch(/font-size:\s*10px;/)
expect(frequency).toMatch(/line-height:\s*16px;/)
- // The box is the delivery card's (ui-deliverables `.file`): fill/hover pair,
- // 8/10 padding, 18px corner, and a 60px row (8px insets around 44px).
const card = /\.card\s*\{([^}]*)\}/.exec(stylesheet)?.[1] ?? ''
expect(card).toMatch(/padding:\s*8px 10px;/)
- expect(card).toMatch(/border-radius:\s*18px;/)
+ expect(card).toMatch(/border-radius:\s*var\(--dsw-radius-lg\);/)
expect(card).toMatch(/background:\s*var\(--card-fill\);/)
expect(stylesheet).toMatch(/\.card:has\(\.cardOpen\):hover\s*\{[^}]*background:\s*var\(--card-hover\);/)
expect(stylesheet).toMatch(/\.row\s*\{[^}]*min-height:\s*44px;/)
diff --git a/packages/client/ui-subagent/README.i18n.yaml b/packages/client/ui-subagent/README.i18n.yaml
index 5bf8a6dee4..7cd80f156c 100644
--- a/packages/client/ui-subagent/README.i18n.yaml
+++ b/packages/client/ui-subagent/README.i18n.yaml
@@ -36,8 +36,8 @@
en: b817e9907392f59c
zh: e42feb97d572a989
/deepseek-ai-dsh-client-ui-subagent/understand-the-implementation/composer-election:
- en: 1c15af4dd7c0b791
- zh: f789737ab4dd8cb2
+ en: 13c33af89ba0942e
+ zh: 00374c7944728ae2
/deepseek-ai-dsh-client-ui-subagent/further-exploration:
en: 1766e9012e307178
zh: f3ee637f5941aae5
diff --git a/packages/client/ui-subagent/README.md b/packages/client/ui-subagent/README.md
index 30cea03817..76e0106c68 100644
--- a/packages/client/ui-subagent/README.md
+++ b/packages/client/ui-subagent/README.md
@@ -71,6 +71,8 @@ One-shot children always elect a read-only composer. A continuable child elects
Unknown-mode catalog rows remain visible and clickable, using the child id when no label is available. Their composer is read-only until child history establishes a supported mode; a read failure is reported in the child conversation.
+Lineage-menu highlights follow the [standard menu edge geometry](../../../docs/ui-radius.md#nested-hover); tree disclosure controls retain their separate left gutter.
+
-----
diff --git a/packages/client/ui-subagent/README.zh.md b/packages/client/ui-subagent/README.zh.md
index 0479608885..6bb19ef56c 100644
--- a/packages/client/ui-subagent/README.zh.md
+++ b/packages/client/ui-subagent/README.zh.md
@@ -71,6 +71,8 @@ one-shot child 始终选用只读编辑器。可继续 child 仅在其确切 par
模式未知的目录项仍可见、可点击,没有标签时显示子会话 id。读取子历史并确认受支持模式前,输入区保持只读;读取失败在该子会话中报告。
+会话树菜单高亮遵循[标准菜单边缘几何](../../../docs/ui-radius.zh.md#nested-hover);树形展开控件保留独立的左侧空间。
+
-----
diff --git a/packages/client/ui-subagent/src/client/SubagentHeaderLineage.module.css b/packages/client/ui-subagent/src/client/SubagentHeaderLineage.module.css
index 19e1378313..4fc2a6f8f5 100644
--- a/packages/client/ui-subagent/src/client/SubagentHeaderLineage.module.css
+++ b/packages/client/ui-subagent/src/client/SubagentHeaderLineage.module.css
@@ -97,7 +97,7 @@
width: 336px;
max-width: min(400px, calc(100vw - 32px));
max-height: min(560px, calc(100vh - 140px));
- padding: 3px;
+ padding: 4px;
overflow: hidden;
border-radius: var(--dsw-radius-lg);
--dsh-scrollbar-thumb: var(--dsw-alias-scrollbar-bg-l2);
@@ -146,7 +146,7 @@
min-height: 44px;
padding: 6px 7px 6px 9px;
border: 0;
- border-radius: var(--dsw-radius-lg);
+ border-radius: var(--dsw-radius-md);
background: transparent;
color: var(--dsw-alias-label-primary);
font-size: 12px;
@@ -171,7 +171,7 @@
min-width: 0;
margin: -6px -7px -6px;
padding: 6px 7px;
- border-radius: var(--dsw-radius-lg);
+ border-radius: var(--dsw-radius-md);
}
.rowActivitySlot {
diff --git a/packages/client/ui-theme/tests/expected/radius-exceptions.expected.json b/packages/client/ui-theme/tests/expected/radius-exceptions.expected.json
index 2f962a9444..274fc5b552 100644
--- a/packages/client/ui-theme/tests/expected/radius-exceptions.expected.json
+++ b/packages/client/ui-theme/tests/expected/radius-exceptions.expected.json
@@ -5,6 +5,9 @@
"ui-deliverables/src/client/Deliverables.module.css": [
".fileIcon: border-radius: 10px"
],
+ "ui-plan/src/client/PlanPreview.module.css": [
+ ".cardIcon: border-radius: 10px"
+ ],
"ui-schedule/src/client/ClockPicker.module.css": [
".option: border-radius: 10px"
],
@@ -23,7 +26,6 @@
".deleteButton: border-radius: 6px"
],
"ui-schedule/src/client/ScheduleCreateCard.module.css": [
- ".card: border-radius: 18px",
".leading: border-radius: 10px"
],
"ui-schedule/src/client/TaskManagerPage.module.css": [
@@ -42,10 +44,6 @@
".delivery: border-radius: 8px",
".linkedSession: border-radius: 14px"
],
- "ui-schedule/src/client/TaskMenu.module.css": [
- ".list: border-radius: 16px",
- ".item: border-radius: 8px"
- ],
"ui-settings-account/src/client/AccountNotice.module.css": [
".card: border-radius: 16px"
],