Repository navigation
收窄 TraeX 串行批次到终态围栏 - #1684
Merged
deepcoldy merged 1 commit intoOct 5, 2026
Merged
收窄 TraeX 串行批次到终态围栏#1684
Conversation
xinna2001
requested review from
47seek,
LucasIcarus,
deepcoldy,
xiaoxueSunn and
xiongz-c
as code owners
October 3, 2026 15:20
|
🚀 Released in v3.34.0 |
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.
背景
这是 #1681 的评审跟进。原 PR 在处理反馈期间已经合入;本 PR 只处理维护者在 评论 中指出的跨 CLI 影响面问题,不重复原修复。
评审确认:#1681 将
runtimeSupportsTypeAhead传给shouldStopPendingBatch后,所有supportsTypeAhead: false/undefined的适配器都会变成一批只写一条,与“仅 TraeX 显式开启新行为”的约束不一致。修改
postTerminalPromptFence。shouldStopPendingBatch的第三个参数改为表达“是否允许同批连续写入”,避免把 type-ahead 能力与批次策略继续混用。cliAdapter.postTerminalPromptFence !== true:supportsTypeAhead: false/undefined的 CLI 保持 master 原有的同批行为。runtimeSupportsTypeAhead扩大影响面。影响面
postTerminalPromptFence的适配器,目前为 TraeX。验证
master:fededf3f6a874c786f4531d4c972b36019f535fb。548 passed / 1 skipped。749 passed / 1 skipped。tsc --noEmit -p tsconfig.json:通过。package.json的完整 build 步骤执行:domain audit、主工程及 scripts/test-mocks 类型检查、Dashboard bundle、dist audit、内嵌资源检查均通过。