Repository navigation
fix(program-status): #2640/#2641 跟进:多序列 tmux 封套按原样透出,--auto 版本边界注释改准 - #2665
Merged
Merged
Conversation
deepcoldy#2640 复审的非阻断项 1。一个 tmux 透传封套里如果装了不止一条内层 序列(多条 7501 报告,或 7501 后面跟着别的 OSC),解析器原来既不产生 状态,也不把这些字节交给 renderer,整段被静默消费。裸 OSC 路径遇到 同类异形是降级为 data 的,两边不对称。 现在只有「一个封套一条 7501 报告」才被当作状态;其余情况把整个封套 原样作为 data 透出。真实 Kimi Code 每条报告单独封套(部署后抓包 9 个 封套全部是单条),此改动不影响现有行为。 测试:两种多序列封套都原样透出、无状态,且逐位置切块结果一致。 变异复验:恢复为静默丢弃时新用例失败。 Co-Authored-By: Claude Opus 5.5 <[email protected]>
deepcoldy#2641 合入时维护者指出的文档性 follow-up。原注释写「0.10.0 起存在」偏 保守。按 npm 包核对:0.5.0 首次提供 `--auto`(0.4.0 及更早报 unknown option);0.5.0–0.14.x 拒绝 `--auto --session`,但同样拒绝 `--yolo --session`;0.15.0 起两者都能与 `--session` 组合。只改注释。 Co-Authored-By: Claude Opus 5.5 <[email protected]>
ninjalyl
requested review from
47seek,
LucasIcarus,
deepcoldy,
xiaoxueSunn and
xiongz-c
as code owners
November 1, 2026 10:44
|
@ninjalyl @deepcoldy 合入 master 后的 Midscene E2E 失败:Dashboard Midscene 失败;Feishu live Midscene 失败。 这次运行覆盖 2332a97。 |
Owner
|
已合并,感谢跟进! 评审中确认的三条非阻断 follow-up,供后续 PR 处理:
再次感谢,部署观察数据(9/9 单条封套)对确认异形不可达很有帮助。 |
|
🚀 Released in v3.57.0 |
6 tasks
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.
背景
#2640 和 #2641 合入时,维护者留了几条非阻断的 follow-up。本 PR 处理其中两条,第三条评估后暂不处理(理由见下)。部署后的真实时序观察已回复在 #2640:#2640 (comment)
改动
1. tmux 封套内含多条序列时按原样透出(#2640 非阻断项 1)
ProgramStatusFramingStream解开 tmux 透传封套后,如果内层不止一条序列,原来的处理是:多条序列指多条 7501 报告,或 7501 后面跟着别的 OSC。裸 OSC 路径遇到同类异形是降级为 data 的,两边不对称。
现在只有「一个封套一条 7501 报告」才被当作状态,其余情况把整个封套原样作为 data 透出(
src/utils/program-status-parser.ts)。2.
--auto的版本边界注释改为实测结果(#2641 follow-up)只改
src/adapters/cli/kimi.ts的注释。原来写的「0.10.0 起存在」偏保守,改为:--auto,0.4.0 及更早报 unknown option;--auto --session,但同样拒绝--yolo --session;--session组合。影响面
验证
@moonshot-ai/kimi-code0.4.0 / 0.5.0 / 0.14.0 / 0.15.0 的包,检索dist核对:--auto-approve,0.5.0 起有.option("--auto", …);Cannot combine --auto with --continue or --session.,0.15.0 起没有。暂不处理:非提交
reset()之后的done被推迟(#2640 非阻断项 2)reset(),得逐个梳理worker.ts中二十多处调用点,改动面和回归风险都不小。done晚一些生效(剩余等待时间 + 2s),不会误判回合状态;目前 Kimi 的触发面很窄。🤖 Generated with Claude Code