Repository navigation
feat: 支持显示思维链功能 - #1
Merged
Merged
Conversation
为推理型 provider(Codex reasoning / Claude thinking / Pi thinking_delta / OpenCode reasoning)增加端到端的思维链展示能力。推理内容与 assistant 文本 共享同一消息 ID,以可折叠的「Thinking」区块在 UI 中渲染。 - contracts: OrchestrationMessage.reasoningText(可选)、ThreadMessageSentPayload.reasoning、 thread.message.assistant.reasoning.delta 命令 - decider/projector: 新增 reasoning delta 命令分支,流式合并 reasoningText (streaming 追加 / completion 替换) - ingestion: 提取 reasoning_text / reasoning_summary_text 增量,复用 createBufferedTextStore 缓冲逻辑,遵循 enableAssistantStreaming 投递模式 - 持久化: ProjectionThreadMessage 增加 reasoningText,SQLite upsert/SELECT 补 reasoning_text 列,新增 migration 033 - ProjectionPipeline / ProjectionSnapshotQuery: 投影与读取模型双向贯通 - UI: AssistantReasoningBlock 可折叠组件,流式时自动展开、完成后自动收起 - i18n: 中英文 chat.reasoning.* 键 验证: vp run typecheck / vp check 通过;ingestion 42/42、orchestration+ persistence 179/179、contracts+client-runtime+web 452/452 测试通过 Co-authored-by: traeagent <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
为推理型 provider(Codex reasoning / Claude thinking / Pi thinking_delta / OpenCode reasoning)增加端到端的思维链展示能力。推理内容与 assistant 文本共享同一消息 ID,以可折叠的「Thinking」区块在 UI 中渲染。
改动
OrchestrationMessage.reasoningText(可选)、ThreadMessageSentPayload.reasoning、thread.message.assistant.reasoning.delta命令reasoningText(streaming 追加 / completion 替换)reasoning_text/reasoning_summary_text增量,复用createBufferedTextStore缓冲,遵循enableAssistantStreaming投递模式ProjectionThreadMessage加reasoningText,SQLite upsert/SELECT 补reasoning_text列,新增 migration 033AssistantReasoningBlock可折叠组件,流式时自动展开、完成后自动收起chat.reasoning.*键验证
vp run typecheck通过(0 错误)vp check格式化通过