Repository navigation
feat(lark): 支持 TraeX 和 Pi 动态单卡回复 - #2757
Merged
deepcoldy merged 1 commit intoNov 3, 2026
Merged
Conversation
tongyihao1233
requested review from
47seek,
LucasIcarus,
deepcoldy,
xiaoxueSunn and
xiongz-c
as code owners
November 3, 2026 16:47
Owner
|
你好,这个 PR 的自动评审群已建,麻烦点击链接加入群聊、查看评审意见并跟进后续修改: 另外你暂时不在自动拉群名单里,也可以把 GitHub 账号和飞书信息补进名单文档,补好后后续评审会自动拉你进群:https://bytedance.larkoffice.com/wiki/WJ1nwWbtxi89erkNGNbcgkt9nUe (本条为自动流程发出的提示消息) |
Owner
|
已合并,感谢贡献!🎉 这个 PR 把动态单卡( 后续跟进(均不影响本次合并):
欢迎继续贡献,也欢迎在使用中反馈真机上的表现。 |
|
🚀 Released in v3.57.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.
feat(lark): 支持 TraeX 和 Pi 动态单卡回复
TraeX、Pi 普通飞书会话即使配置
replyCardMode: "unified",也会因 CLI 准入限制回退到默认消息模式。本次让两种 CLI 复用现有结构化转录桥和动态单卡链路:同轮过程、工具调用、最终答复及终态更新同一张卡,后续轮次创建新卡。改动
supportsUnifiedReplyCardCli,供运行时准入和/card on|off的模式说明共同使用,新增traex、pi。botmux send合卡逻辑,不新增事件协议或持久化格式。影响范围
legacy模式继续走原路径;独立终端状态卡仍由现有配置控制。附件、自定义卡片和通知其他对象的消息沿用原交付方式。验证
基于
master的af974bf,使用 Bun 1.4.3、Node 22。bun run build通过:TypeScript、脚本和测试 mock 类型检查、Dashboard bundle、域名和内嵌资源审计。bun run build再次通过。turn-reply-card-runtime和cli-send-reply-card:168 项通过。git diff --check通过。原生 Bun 必须逐文件独立运行,并在进程启动时使用隔离的 HOME/TMPDIR;仓库
bunfig.toml的测试 fence/shim 同时生效。未运行全量 unit 套件或真实飞书 E2E,未部署在线 daemon。额外尝试将 runtime 测试纳入独立的全量 tsc 配置时,遇到 Node/Bun 事件类型冲突和原有测试 mock 类型问题;该额外检查未通过,不属于上述已通过的标准 build 检查。
展示示意
复用既有单卡渲染器,布局沿用上游公开示意图。此图用于说明工作中、过程记录与最终答复的布局,不是本次 TraeX/Pi 飞书实测截图。
既有边界与共享问题
terminate:true结束且没有终态记录,卡片可能保持执行中,直至后续输入接续。