新版编程模式优化模型思考内容展示,支持恢复类似 Quest 旧版的实时流式完整展开

**一句话诉求**:为「模型思考内容」增加展示模式开关,在保留新版折叠的同时,允许切回旧版 Quest 的实时流式 + 完整展开 + 自动滚动,以恢复对模型推理链路的可观测性。

**建议优先级**::yellow_circle: Medium - Important improvement

## 一、问题 Problem

新版编程模式对思考内容默认折叠,在需要审查推理过程的场景下形成三处体验倒退:

1. **长思考默认折叠**:无法查看完整思考过程,只能看到片段,中间推理被截断。

2. **思考内容不随输出自动滚动**:流式输出时需反复手动拖动才能跟上进度,边写边读被打断。

3. **思考区域字体偏小**:长文本阅读吃力,逐字核对成本高。

### 新旧版本对比

- 输出方式:旧版 Quest 实时流式打印;新版折叠后按需展开。

- 展开状态:旧版完整展开;新版默认折叠,长思考仅露片段。

- 滚动行为:旧版随输出自动滚动;新版需手动拖动。

- 字体大小:旧版可读性正常;新版偏小。

- 可观测性:旧版能跟完模型思路;新版只能看结果加局部思考。

**核心矛盾**:新版优化了「看结果」的效率,却牺牲了「看过程」的能力;而对重度用户来说,看过程是判断和纠偏的唯一依据。

## 二、方案 Solution

**核心诉求**:提供一个开关 / 设置项,让用户自行选择思考内容的展示模式。

- 模式 A(新版默认):折叠模式,适合日常快速任务,界面紧凑。

- 模式 B(Quest 风格):实时流式完整展开模式,思考内容随输出流式打印、全量可见、自动滚动。

**期望细节**:

1. 即时切换:会话内切换立即生效,无需重启或新开会话。

2. 记忆偏好:记住用户上次选择,作为下次默认值。

3. 字体跟随:流式展开模式下,思考区域字体大小跟随编辑器字体设置,而非独立的小号字。

4. 自动滚动可控:默认随输出滚动;用户手动上滑查看历史时暂停自动滚动,回到底部后恢复。

5. 入口易发现:建议同时提供「设置项」与「思考区域旁的快捷切换按钮」两个入口。

## 三、使用场景 Use Case

**主要场景:校验模型思考链路**。用于确认三件事:模型是否正确理解了任务、推理路径是否合理、从哪一步开始跑偏。

典型任务类型:

- 复杂重构、大范围改动

- 跨文件 / 跨模块的联动修改

- 需求本身存在歧义、需要先对齐理解的任务

- 结果不符合预期,需要定位是「理解错」还是「执行错」

这类场景下,**只看最终输出无法定位问题**,必须能读到完整的实时思考过程,否则只能靠反复试错。

**次要场景:不影响的默认使用**。日常轻量任务(单点修改、快速问答、格式化调整)可继续使用折叠模式,保持界面清爽,不受本次改动影响。

## 附录:English Version (Condensed)

**Title**: Add a display-mode toggle for model thinking content, restoring Quest-style real-time streaming full expansion.

**Problem**: In the new coding mode, thinking content is collapsed by default, causing three regressions. Long thinking traces are collapsed so the full reasoning process cannot be reviewed. The thinking pane does not auto-scroll with streaming output and must be dragged manually. The font in the thinking area is too small for comfortable reading. The old Quest version streamed in real time and was fully expanded.

**Solution**: Provide a toggle letting users choose between the new collapsed mode and a Quest-style real-time streaming full-expansion mode. It should switch instantly within a session without restart, remember the last choice as the next default, follow the editor font size, and support pause-on-manual-scroll with resume at the bottom.

**Use Case**: Primarily for validating the model’s reasoning chain: whether it understood the task correctly, whether the reasoning path is sound, and at which step it drifted. Essential for complex refactors, cross-file changes, and ambiguous requirements, where the final output alone cannot reveal the problem. Routine quick tasks can keep using collapsed mode.

**Priority**: Medium - Important improvement. It does not block functionality, but it directly affects observability of the model’s reasoning, which is the core means heavy users rely on to judge and correct behavior.

**Additional Info**: Screenshots comparing old Quest vs. new presentation, plus a real long-thinking session example showing what is lost when collapsed, can be provided on request.