You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
恢复说明
此 PR 替代 #2270。原 fork 被误删后,GitHub 将 #2270 自动关闭,且新建同名 fork 无法重新关联旧 PR。当前分支从 GitHub 保留的
refs/pull/2270/head原样恢复,head 仍为维护者已确认全量 CI 首跑全绿的96c603a58,没有新增代码改动。请沿用 #2270 的既有评审结论和讨论记录。问题
TraeX fresh RPC 首轮已在 rollout 中写入
assistant_final/task_complete,但 headless async trigger 偶发永久停留在pending。根因有两层:
cliSessionId,导致 structured bridge 可能错过首轮 rollout 绑定。assistant_final,结果发送仍可能等待 TUIisPromptReady。ANSI/CUP composer 重绘识别失败时,final_output无法收敛。修复
remoteThreadId,显式传给 spawn-time bridge。assistant_final直接触发emitReadyCodexTurns(),不再依赖 TUI ready heuristic。验证
212 pass / 1 skip / 0 failtsc -p tsconfig.scripts.jsongit diff --checksession run --wait:state=completedasync-triggers/*.json均持久化为completed