Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(composer): align the reasoning slider stops to their labels

ZeroY9fd9693f23e2
diff --git a/apps/desktop/src/features/chat/composer/ComposerModelPicker.tsx b/apps/desktop/src/features/chat/composer/ComposerModelPicker.tsx
index e1dcd8c84..3c667c785 100644
--- a/apps/desktop/src/features/chat/composer/ComposerModelPicker.tsx
+++ b/apps/desktop/src/features/chat/composer/ComposerModelPicker.tsx
@@ -185,7 +185,10 @@ export function ComposerModelPicker({
(issue #417): one drag adjusts the level without entering the
submenu, while the entry itself opens the classic radio list. */}
{thinkingMenuLevels.length > 1 ? (
- <div className="composer-thinking-slider">
+ <div
+ className="composer-thinking-slider"
+ style={{ "--stop-count": thinkingMenuLevels.length } as CSSProperties}
+ >
<input
type="range"
className="composer-thinking-range"
@@ -210,23 +213,41 @@ export function ComposerModelPicker({
if (THINKING_SLIDER_KEYS.has(event.key)) event.stopPropagation();
}}
/>
+ {/*
+ Label visibility contract: with more than four stops the
+ ladder cannot fit every canonical word, so only the selected
+ stop and its immediate neighbours keep visible text; the rest
+ collapse to a tick dot but stay clickable and keep their
+ tooltip. Four or fewer stops show every label.
+ */}
<div className="composer-thinking-ticks" aria-hidden="true">
- {thinkingMenuLevels.map((level, index) => (
- <button
- key={level}
- type="button"
- tabIndex={-1}
- className={`composer-thinking-tick ${thinkingSliderValue === index ? "active" : ""}`}
- title={level}
- onMouseDown={(event) => event.preventDefault()}
- onClick={() => {
- setDragThinkingIndex(index);
- if (level !== thinkingLevel) void commitThinkingLevel(level);
- }}
- >
- {level}
- </button>
- ))}
+ {thinkingMenuLevels.map((level, index) => {
+ const position =
+ index === thinkingSliderValue
+ ? "selected"
+ : index === thinkingSliderValue - 1
+ ? "before"
+ : index === thinkingSliderValue + 1
+ ? "after"
+ : "hidden";
+ return (
+ <button
+ key={level}
+ type="button"
+ tabIndex={-1}
+ data-pos={position}
+ className={`composer-thinking-tick ${thinkingSliderValue === index ? "active" : ""}`}
+ title={level}
+ onMouseDown={(event) => event.preventDefault()}
+ onClick={() => {
+ setDragThinkingIndex(index);
+ if (level !== thinkingLevel) void commitThinkingLevel(level);
+ }}
+ >
+ {level}
+ </button>
+ );
+ })}
</div>
</div>
) : null}
diff --git a/apps/desktop/src/styles/composer-menus.css b/apps/desktop/src/styles/composer-menus.css
index 00cce9b8d..cac9c9ce9 100644
--- a/apps/desktop/src/styles/composer-menus.css
+++ b/apps/desktop/src/styles/composer-menus.css
@@ -238,8 +238,16 @@
}
/* Reasoning slider (issue #417): the menu root carries the slider directly
- under the Reasoning level entry; the entry opens the classic radio list. */
+ under the Reasoning level entry; the entry opens the classic radio list.
+
+ Point/label alignment contract: the ticks row is an n-column grid and the
+ range input is inset on both sides by half a column minus half the thumb
+ (W/(2n) - r). The native thumb center then lands exactly on the center of
+ the matching column for every stop count, so the active label always sits
+ under the thumb. The thumb radius lives in --thinking-thumb-radius so the
+ formula stays correct if the thumb size ever changes. */
.composer-thinking-slider {
+ --thinking-thumb-radius: 7px;
display: flex;
flex-direction: column;
gap: 2px;
@@ -252,6 +260,8 @@
width: 100%;
height: 18px;
margin: 0;
+ /* Inset so the thumb travel matches the grid column centers. */
+ padding: 0 calc(100% / (2 * var(--stop-count, 1)) - var(--thinking-thumb-radius));
background: transparent;
cursor: pointer;
}
@@ -303,27 +313,45 @@
background: var(--ds-accent);
}
-/* One label per stop; long ladders ellipsize instead of wrapping. */
+/* n equal columns so label i centers on the same x as the thumb at index i. */
.composer-thinking-ticks {
- display: flex;
+ display: grid;
+ grid-template-columns: repeat(var(--stop-count, 1), minmax(0, 1fr));
gap: 2px;
}
+/* Each label centers in its column; a tick dot marks the stop above the
+ text. Long words ellipsize inside the column so the label center never
+ leaves the thumb center. */
.composer-thinking-tick {
- flex: 1 1 0;
+ position: relative;
min-width: 0;
overflow: hidden;
- padding: 0;
+ padding: 6px 0 0;
border-radius: var(--radius-sm);
color: var(--ds-text-muted);
font-size: var(--text-2xs);
line-height: var(--leading-compact);
+ text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
cursor: pointer;
transition: color var(--motion-duration-fast) var(--motion-ease-out);
}
+.composer-thinking-tick::before {
+ content: "";
+ position: absolute;
+ top: 0;
+ left: 50%;
+ width: 5px;
+ height: 5px;
+ border-radius: var(--radius-full);
+ background: var(--ds-text-muted);
+ opacity: 0.55;
+ transform: translateX(-50%);
+}
+
.composer-thinking-tick:hover,
.composer-thinking-tick:focus-visible {
color: var(--ds-text-primary);
@@ -334,6 +362,23 @@
font-weight: var(--font-weight-strong);
}
+.composer-thinking-tick.active::before {
+ background: var(--ds-accent);
+ opacity: 1;
+}
+
+/* Label visibility: ladders longer than four stops cannot fit every canonical
+ word, so only the selected stop and its immediate neighbours keep text;
+ the rest collapse to a tick dot but stay clickable and keep their tooltip.
+ Four or fewer stops show every label. */
+.composer-thinking-slider[style*="--stop-count: 5"] .composer-thinking-tick[data-pos="hidden"],
+.composer-thinking-slider[style*="--stop-count: 6"] .composer-thinking-tick[data-pos="hidden"],
+.composer-thinking-slider[style*="--stop-count: 7"] .composer-thinking-tick[data-pos="hidden"],
+.composer-thinking-slider[style*="--stop-count: 8"] .composer-thinking-tick[data-pos="hidden"] {
+ font-size: 0;
+ overflow: visible;
+}
+
@keyframes composer-menu-in {
from {
opacity: 0;
diff --git a/apps/desktop/test/composer-model-thinking-menu.test.mjs b/apps/desktop/test/composer-model-thinking-menu.test.mjs
index fa66c251f..b0477f270 100644
--- a/apps/desktop/test/composer-model-thinking-menu.test.mjs
+++ b/apps/desktop/test/composer-model-thinking-menu.test.mjs
@@ -34,7 +34,9 @@ test("the menu root carries the reasoning slider under the reasoning entry", ()
// The root view renders the slider directly beneath the Reasoning level
// entry; the entry itself still opens the classic radio-list submenu.
assert.match(composerSource, /onClick=\{\(\) => showView\("thinking"\)\}[\s\S]*?className="composer-thinking-slider"/);
- assert.match(composerSource, /\{thinkingMenuLevels\.length > 1 \? \(\s*<div className="composer-thinking-slider">/);
+ assert.match(composerSource, /\{thinkingMenuLevels\.length > 1 \? \(/);
+ assert.match(composerSource, /className="composer-thinking-slider"/);
+ assert.match(composerSource, /"--stop-count": thinkingMenuLevels\.length/);
assert.match(composerSource, /type="range"/);
assert.match(composerSource, /className="composer-thinking-range"/);
assert.match(composerSource, /aria-label=\{t\("chat.reasoningLevel"\)\}/);
@@ -56,6 +58,28 @@ test("the menu root carries the reasoning slider under the reasoning entry", ()
assert.doesNotMatch(composerSource, /thinkingMode|showThinkingMode|ThinkingSelectionMode|thinkingCommitChainRef/);
});
+test("the reasoning slider aligns each label to its stop and collapses long ladders", () => {
+ // Each tick carries a positional marker so CSS can keep the selected stop
+ // and its neighbours labeled while collapsing the rest on long ladders.
+ assert.match(pickerSource, /data-pos=\{position\}/);
+ assert.match(pickerSource, /index === thinkingSliderValue - 1/);
+ assert.match(pickerSource, /index === thinkingSliderValue \+ 1/);
+
+ // The ticks row is an n-column grid keyed to --stop-count, and the range
+ // input is inset by half a column minus the thumb radius so the native
+ // thumb center lands on the matching column center for every stop count.
+ assert.match(stylesSource, /\.composer-thinking-ticks \{\s*display: grid;/);
+ assert.match(stylesSource, /grid-template-columns: repeat\(var\(--stop-count, 1\), minmax\(0, 1fr\)\)/);
+ assert.match(stylesSource, /--thinking-thumb-radius: 7px/);
+ assert.match(stylesSource, /padding: 0 calc\(100% \/ \(2 \* var\(--stop-count, 1\)\) - var\(--thinking-thumb-radius\)\)/);
+
+ // Labels center in their column and carry a tick dot; hidden labels keep
+ // their tooltip while collapsing to the dot on ladders longer than four.
+ assert.match(stylesSource, /\.composer-thinking-tick::before/);
+ assert.match(stylesSource, /\.composer-thinking-tick\.active::before/);
+ assert.match(stylesSource, /\.composer-thinking-slider\[style\*="--stop-count: 8"\] \.composer-thinking-tick\[data-pos="hidden"\]/);
+});
+
test("opening the combined menu preloads model metadata before its submenu", () => {
assert.match(
composerSource,
diff --git a/docs/spec/04-ux/08-component-spec.md b/docs/spec/04-ux/08-component-spec.md
index e45b35364..1129992e5 100644
--- a/docs/spec/04-ux/08-component-spec.md
+++ b/docs/spec/04-ux/08-component-spec.md
@@ -2784,8 +2784,16 @@ reasoning-level control.
- The combined model × reasoning menu opens at `bottom: calc(100% + 8px)` with
`role="menu"`. Its root has exactly two `role="menuitem"` entries and, when
the menu lists more than one level, a drag slider with one labeled stop per
- level directly beneath the Reasoning level entry (D458). Tick labels are
- clickable but not tab stops; the range input is the accessible control.
+ level directly beneath the Reasoning level entry (D458). Each label centers
+ on its stop: the ticks row is an n-column grid and the range input is inset
+ on both sides by half a column minus the thumb radius, so the thumb lands on
+ the matching column center for every stop count. A tick dot marks each stop
+ above its label; the selected stop uses the accent token, the rest a muted
+ token. Tick labels are clickable but not tab stops; the range input is the
+ accessible control. When the ladder lists more than four stops, only the
+ selected stop and its immediate neighbours keep visible text and the rest
+ collapse to their tick dot while staying clickable with their tooltip;
+ four or fewer stops show every label.
The Model submenu has a search input and sticky provider headings, while
the Reasoning level submenu starts with `Current model <model> supports
these reasoning levels` and lists `omit` then the selected model binding's
diff --git a/docs/spec/06-delivery/04-e2e-test-plan.md b/docs/spec/06-delivery/04-e2e-test-plan.md
index 29d07c29e..7e04dd250 100644
--- a/docs/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/spec/06-delivery/04-e2e-test-plan.md
@@ -3100,9 +3100,13 @@ identify the platform validation still needed.
- **Steps**: 1) Open the Composer model × reasoning chip. 2) Confirm the root
contains the Model and Reasoning level entries with current values, plus a
slider with one labeled stop per supported level directly beneath the
- Reasoning level entry. 3) Drag and click the slider across multiple
+ Reasoning level entry; confirm each visible label is centered on its stop
+ and a tick dot marks every stop. 3) Drag and click the slider across multiple
supported levels and click a tick label, confirming the chip updates while
- the menu stays at the root. 4) Open Model, search for a model, and select a
+ the menu stays at the root; on a ladder longer than four stops, confirm only
+ the selected stop and its immediate neighbours keep visible labels while the
+ rest collapse to their tick dot and stay clickable. 4) Open Model, search
+ for a model, and select a
model from a provider group; confirm the menu remains open at the root.
5) Open Reasoning level and choose a level from the radio list. 6) Repeat
with a non-reasoning provider and an unknown free-form model id; exercise
diff --git a/docs/spec/08-meta/decisions-log.md b/docs/spec/08-meta/decisions-log.md
index ede070476..58adf27a2 100644
--- a/docs/spec/08-meta/decisions-log.md
+++ b/docs/spec/08-meta/decisions-log.md
@@ -175,7 +175,7 @@ Gold source: local Codex electron captures; latest row wins where rows conflict.
| D267 | Project archive is one workbench, not three bands | *(row anatomy and inline expansion superseded by D455)* **Revise D168's band layout: Settings → Project archive renders the D257 one-workbench composition — a quiet intro line carrying only the page description, one toolbar (Recent/Name sort on the shared `settings-segment` primitive, search with clear affordance and live match count, primary Add project), and one settings panel whose always-visible Pinned / All projects / Archived groups are non-interactive in-panel header strips with per-section counts instead of one panel per section. The decorative gradient hero band is removed together with the four page-level overview counters it carried, retiring the `project.statProjects`, `project.statOpen`, `project.statArchived`, and `project.statSessions` keys; the per-group counts on the panel's header strips are now the only totals. The external uppercase section labels are removed as well; row geometry matches the capability rows (32px controls, 14px list gap, 28px row glyph). Beyond dropping the four retired counter keys this is presentation only: D168's row anatomy, row menu grouping, search matching, session batching, activation semantics, and accessibility semantics are unchanged, and no ADR is required.** | D168's overview banner used a decorative gradient and `--text-xl` counter tiles, which the design system forbids, and its per-section panels repeated the same elevated frame three times. Demoting the counters to an inline run kept the clutter without earning it: every total they showed is already legible from the per-group strip counts, so restating them above the toolbar duplicated numbers and gave the destination a header no sibling page has. Dropping them leaves the durable index looking and behaving like the agent capability pages. |
| D455 | Project archive is a list + inspector | *(row anatomy superseded by the same-day "Project archive reads as an inset grouped card list" entry)* **Revise D267's expanding rows: Settings → Project archive keeps the quiet intro and toolbar, then a one-column workbench. The index remains Pinned / All projects / Archived with per-section counts and no visibility toggle (D133). Compact rows show glyph, name, one status tag, session count, and relative time. A click selects and stays in Settings; double-click, Enter, or the inspector Open action activates and returns to chat. Folders, chats (batches of eight), and the row menu open under the selected row at full width. Search still matches session titles and selects the owning project. Presentation only: no IPC, storage, or host change. See ADR 0294 and E2E-038.** | Inline expansion and per-row menus made a long durable index hard to scan, and clicking a name left Settings instead of managing the project. |
| D456 | Session thinking-parameter omission | **Amend ADR 0194 / ADR 0144 / ADR 0221: session `thinkingLevel` accepts `omit` in addition to the seven canonical levels. Composer prepends `omit` on a reasoning model. Settings `defaultThinkingLevel` also accepts `omit` when the binding enables any reasoning level. Runtime bookkeeping stays `off` and uses the low-level provider stream so no thinking override is synthesized. Binding/catalog capability lists stay canonical. Schema v19 widens the session CHECK to include `omit`. Handshake protocol version is unchanged. See ADR 0295 and E2E-203a.** | Explicit `off` still serializes a disable; users need a session-level do-not-send matching subagents. |
-| D458 | Composer reasoning slider on the menu root | **Amend the combined model × reasoning menu: when more than one level is listed, a native range slider with one labeled stop per level sits under the Reasoning level entry. Slider and tick commits persist the last pending level through `configureActiveSession` without leaving the root; the entry still opens the classic radio list. Tick labels are not tab stops. Renderer only. See issue #417, `04-ux/08-component-spec.md`, and E2E-050.** | Switching a level required a submenu trip; a Codex-style slider keeps the radio list while making quick adjustments one drag. |
+| D458 | Composer reasoning slider on the menu root | **Amend the combined model × reasoning menu: when more than one level is listed, a native range slider with one labeled stop per level sits under the Reasoning level entry. Slider and tick commits persist the last pending level through `configureActiveSession` without leaving the root; the entry still opens the classic radio list. Tick labels are not tab stops. Each label centers on its stop: the ticks row is an n-column grid and the range input is inset by half a column minus the thumb radius, with a tick dot per stop (accent for the selected, muted for the rest). Ladders longer than four stops keep only the selected stop and its immediate neighbours labeled and collapse the rest to their tick dot. Renderer only. See issue #417, `04-ux/08-component-spec.md`, and E2E-050.** | Switching a level required a submenu trip; a Codex-style slider keeps the radio list while making quick adjustments one drag. |
## E. M5 hardening decisions (0.4.0)
diff --git a/docs/zh-CN/spec/04-ux/08-component-spec.md b/docs/zh-CN/spec/04-ux/08-component-spec.md
index 7295f9843..9c4ff7cbb 100644
--- a/docs/zh-CN/spec/04-ux/08-component-spec.md
+++ b/docs/zh-CN/spec/04-ux/08-component-spec.md
@@ -1981,7 +1981,7 @@ MainChat 底部的输入区域,用于撰写和发送提示。支持多行输
发现不可用时仍显示已配置的模型 ID。
- 打开组合菜单时,会在进入“模型”子菜单前开始加载模型。首个可见行使用缓存元数据或
已配置绑定;实时发现会在后台更新列表,不会把已配置别名替换成 wire ID 或第二个可见名称。
-- 组合的模型 × 推理菜单在 `bottom: calc(100% + 8px)` 以 `role="menu"` 打开。根层正好两条 `role="menuitem"` 条目;当菜单列出一个以上等级时,推理等级条目正下方有一条每个等级一个刻度的拖动滑杆(D458)。刻度标签可点但不是 Tab 停靠点,range 输入才是可访问控件。模型子菜单有搜索输入和粘性提供商标题;推理等级子菜单以 `Current model <model> supports these reasoning levels` 开头,先列出 `omit` 再列出绑定已启用档位的经典单选行。`omit` 作为会话思考等级持久化,且不发送提供商思考覆盖(ADR 0295)。行使用 `role="menuitemradio"`、`aria-checked`、当前行样式和末尾勾选。从列表选择具体模型或等级会持久化完整会话配置、清除模型过滤并返回根层且不关闭菜单;滑杆和刻度提交最后一次待提交的档位并留在原地。关闭再打开总是从根层开始。
+- 组合的模型 × 推理菜单在 `bottom: calc(100% + 8px)` 以 `role="menu"` 打开。根层正好两条 `role="menuitem"` 条目;当菜单列出一个以上等级时,推理等级条目正下方有一条每个等级一个刻度的拖动滑杆(D458)。每个标签都对齐到自己的刻度:刻度行是 n 列网格,range 输入两侧各内缩半列减去滑块半径,因此对任意档位数滑块中心都精确落在对应列的中心。每个刻度在标签上方有一个刻度点;选中档用 accent token,其余用 muted token。刻度标签可点但不是 Tab 停靠点,range 输入才是可访问控件。当阶梯超过四档时,只保留选中档及其相邻两档的可见文字,其余收起为刻度点,但仍可点并保留 tooltip;四档及以下显示全部标签。模型子菜单有搜索输入和粘性提供商标题;推理等级子菜单以 `Current model <model> supports these reasoning levels` 开头,先列出 `omit` 再列出绑定已启用档位的经典单选行。`omit` 作为会话思考等级持久化,且不发送提供商思考覆盖(ADR 0295)。行使用 `role="menuitemradio"`、`aria-checked`、当前行样式和末尾勾选。从列表选择具体模型或等级会持久化完整会话配置、清除模型过滤并返回根层且不关闭菜单;滑杆和刻度提交最后一次待提交的档位并留在原地。关闭再打开总是从根层开始。
- 未知的 Custom/OpenAI-compatible 模型可以启用显式推理
从模型菜单覆盖。提供商刷新,会话选择
支持的级别最接近 `medium`,并出现工具栏触发器;已知的
diff --git a/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md b/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
index c600c7b1f..6521b013f 100644
--- a/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
@@ -1852,7 +1852,7 @@ hover/focus 不带移位标签,项目标题 hover/focus 路径显示
#### E2E-050:Composer 模型 × 推理菜单遵循精确能力
- **先决条件**:一种编目推理模型、一种非推理模型,以及一个未知的自由格式模型 ID。
-- **步骤**:1) 打开 Composer 模型 × 推理芯片。2) 确认根层包含带当前值的模型和推理等级条目,以及推理等级条目正下方每个支持等级一个刻度的滑杆。3) 拖动并点击滑杆跨过多档,再点击一个刻度标签,确认芯片更新且菜单留在根层。4) 打开模型,搜索并从一个提供商分组选择模型;确认菜单仍在根层打开。5) 打开推理等级并从单选列表选择一档。6) 对非推理提供商和未知自由格式模型 ID 重复;练习 Escape、外部点击、上/下、Enter、左方向键和滑杆方向键。
+- **步骤**:1) 打开 Composer 模型 × 推理芯片。2) 确认根层包含带当前值的模型和推理等级条目,以及推理等级条目正下方每个支持等级一个刻度的滑杆;确认每个可见标签都对齐到自己的刻度、每个刻度都有刻度点。3) 拖动并点击滑杆跨过多档,再点击一个刻度标签,确认芯片更新且菜单留在根层;对超过四档的阶梯,确认只保留选中档及其相邻两档的可见标签,其余收起为刻度点且仍可点。4) 打开模型,搜索并从一个提供商分组选择模型;确认菜单仍在根层打开。5) 打开推理等级并从单选列表选择一档。6) 对非推理提供商和未知自由格式模型 ID 重复;练习 Escape、外部点击、上/下、Enter、左方向键和滑杆方向键。
- **预期**:芯片在右侧工具栏,带 Bot 图标,位于独立提示词增强 Sparkles 动作和发送/中止之前;Off 省略等级文本。单个锚定菜单把根层原地替换成返回行和子菜单,从不打开标签页或第二个弹出层,再打开总是从根层开始。模型搜索过滤粘性提供商分组;推理等级来自 `omit` 然后绑定已启用档位的规范顺序。当列出一个以上等级时,根层在推理等级条目正下方承载拖动滑杆(单档绑定隐藏滑杆)。拖过多个刻度只持久化最后一次待提交的档位;刻度标签不是 Tab 停靠点。滑杆和刻度提交立即更新芯片且菜单留在根层。推理等级条目打开单选列表,使用单选语义、末尾勾选和当前模型支持说明。选择任一值立即更新芯片和根层值、清除模型过滤并保持菜单打开。非推理或未知模型从 `off` 开始,但显式 Settings 绑定可以提供其配置档位;发现不会自动提升。刷新发现的模型数据不能覆盖绑定。第一条消息创建会话之前,Composer 使用模型菜单里选中的精确模型而不是提供商默认模型;物化后仍保持同一精确模型能力。
- **链接规格**:`03-runtime/11-provider-model-system.md`,
`03-runtime/12-provider-config-schema.md`,
diff --git a/docs/zh-CN/spec/08-meta/decisions-log.md b/docs/zh-CN/spec/08-meta/decisions-log.md
index d3400b922..b84ee8f03 100644
--- a/docs/zh-CN/spec/08-meta/decisions-log.md
+++ b/docs/zh-CN/spec/08-meta/decisions-log.md
@@ -178,7 +178,7 @@
| D267 | 项目存档是一个工作台,而不是三个堆叠带 | *(行剖析与行内展开被 D455 取代)* **修订 D168 的堆叠带布局:设置 → 项目存档改为呈现 D257 的一个工作台构成 —— 一条仅承载页面说明的安静引导行、一个工具栏(使用共享 `settings-segment` 基元的“最近/名称”排序、带清除可供性与实时匹配计数的搜索、主要“添加项目”),以及一个设置面板,其始终可见的固定/所有项目/存档分组是面板内带每部分计数的非交互标题条,而不是每部分一个面板。装饰渐变英雄带被移除,它承载的四个页面级概览计数器也一并移除,并停用 `project.statProjects`、`project.statOpen`、`project.statArchived` 和 `project.statSessions` 键;面板标题条上的分组计数现在是唯一的总计。外部大写部分标签也被移除;行几何与能力页面行一致(32px 控件、14px 列表间距、28px 行字形)。除停用上述四个计数器键外,其余仅为演示层变更:D168 的行剖析、行菜单分组、搜索匹配、会话批处理、激活语义和无障碍语义均不变,且不需要新的 ADR。** | D168 的概述横幅使用了装饰渐变和 `--text-xl` 计数器格,而设计系统明确禁止两者,且其每部分面板把同一个高架框重复了三次。把计数器降级为内联串只是保留了杂乱而没有换来价值:它们展示的每个总计都已能从分组条计数中读出,因此在工具栏上方重述这些数字既重复了数字,也让该目的地拥有了兄弟页面都没有的页头。移除它们后,持久索引在外观和行为上都与智能体能力页面一致。 |
| D455 | 项目存档改为列表 + 检查器 | *(行剖析被同日的「项目档案呈现为内嵌分组卡片列表」条目取代)* **修订 D267 的展开行:设置 → 项目存档保留安静引导行和工具栏,随后是单列工作台。索引仍按已置顶 / 全部项目 / 已归档分组并显示计数,且没有可见性开关(D133)。精简行显示字形、名称、一个状态标签、会话计数和相对时间。单击选中并留在设置页;双击、Enter 或检查器的打开操作激活项目并返回聊天。文件夹、对话(每批 8 条)和行菜单在选中行下方铺满宽度打开。搜索仍匹配会话标题并选中所属项目。仅演示层:无 IPC、存储或宿主改动。见 ADR 0294 与 E2E-038。** | 行内展开和行菜单让长索引难以扫读,单击名称还会离开设置页,不利于管理。 |
| D456 | 会话思考参数不发送 | **修订 ADR 0194 / ADR 0144 / ADR 0221:会话 `thinkingLevel` 在七个规范档位之外接受 `omit`。Composer 在推理模型上把 `omit` 放在菜单最前。设置页 `defaultThinkingLevel` 在绑定启用任一推理档时也接受 `omit`。运行时记账仍为 `off`,走低层 provider 流,不合成思考覆盖。绑定/目录能力列表保持规范档位。Schema v19 把会话 CHECK 扩到包含 `omit`。握手协议版本不变。见 ADR 0295 与 E2E-203a。** | 显式 `off` 仍会序列化为关闭思考;用户需要与子智能体一致的会话级不发送。 |
-| D458 | Composer 菜单根层承载推理滑块 | **修订组合的模型 × 推理菜单:列出一个以上等级时,推理等级条目下方放一条原生 range 滑杆,每个等级一个带标签刻度。滑杆和刻度提交通过 `configureActiveSession` 持久化最后一次待提交档位且不离开根层;条目仍打开经典单选列表。刻度标签不是 Tab 停靠点。仅渲染层。见 issue #417、`04-ux/08-component-spec.md` 与 E2E-050。** | 改档原先必须进子菜单;Codex 风格滑杆保留单选列表,同时让临时调整只需拖一次。 |
+| D458 | Composer 菜单根层承载推理滑块 | **修订组合的模型 × 推理菜单:列出一个以上等级时,推理等级条目下方放一条原生 range 滑杆,每个等级一个带标签刻度。滑杆和刻度提交通过 `configureActiveSession` 持久化最后一次待提交档位且不离开根层;条目仍打开经典单选列表。刻度标签不是 Tab 停靠点。每个标签对齐到自己的刻度:刻度行为 n 列网格,range 输入两侧各内缩半列减去滑块半径,每个刻度有一个刻度点(选中用 accent,其余用 muted)。超过四档的阶梯只保留选中档及相邻两档的标签,其余收起为刻度点。仅渲染层。见 issue #417、`04-ux/08-component-spec.md` 与 E2E-050。** | 改档原先必须进子菜单;Codex 风格滑杆保留单选列表,同时让临时调整只需拖一次。 |
## E.M5 强化决策 (0.4.0)