feat: Terminal Core UI migration + ReasoningPart restructure #82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature-new-ui"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
ServerReasoningPart+ 分组ReasoningPart,支持推理文本和工具调用交错显示assistant-message.tsx拆分为text-part.tsx、reasoning-block.tsx、grouped-parts.tsxChanges
UI Design System
border-radius设为 0(方形)bg-surface、text-on-surface等)ReasoningPart
ReasoningPart→ServerReasoningPartReasoningPart { parts: Array<ServerReasoningPart | ToolCallPart> }stream.ts和message-transform.ts新增合并算法ReasoningBlockView交错渲染推理步骤 + 内嵌工具卡片Files
web/src/index.css— Tailwind 主题 + 设计令牌web/src/App.css— 侧边栏/对话框/输入框样式web/src/lib/message-types.ts— 类型重构web/src/lib/message-transform.ts— 合并逻辑web/src/runtime/stream.ts— 流式合并web/src/components/session/*— 组件拆分 + 样式更新