Repository navigation
fix(traex): 恢复新版日志的思考卡片进度 - #3508
Merged
Merged
Conversation
wzomg
requested review from
47seek,
LucasIcarus,
deepcoldy,
xiaoxueSunn and
xiongz-c
as code owners
November 16, 2026 08:33
Owner
|
感谢贡献,PR 已合并。 本 PR 在 TraeX 0.215 把模型/工具时间线写成 一个非阻断后续项(不影响本次合入):重启中断扫描( |
|
🚀 Released in v3.59.17 |
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.
问题
TraeX 0.215.0 的 rollout 可以把推理和工具进度写成
response_item。Botmux 原先只从history_mutation提取这些进度,所以该格式下仍能收到最终回复,思考卡片却缺少实时更新。改动
response_item的原生元数据读取轮次 ID,把推理、工具调用和结果交给现有 CoT 转换器。缺少轮次归属的记录会跳过。history_mutation,按轮次、记录类别和原生项或工具调用 ID 去重,覆盖两种格式在不同轮询窗口写入的情况。验证
bun run build通过。bun run test test/traex-transcript.test.ts test/traex-worker-bridge-wiring.test.ts test/codex-bridge-queue.test.ts test/traex-merged-turn-attribution.test.ts test/traex-same-turn-inputs.test.ts test/traex-history-user.test.ts test/traex-tape-player.test.ts,305 项通过,1 项跳过。如需回退,可 revert 本提交。