Repository navigation
fix: 修复子 Agent 压缩后完成提醒漏报 - #255
Merged
Merged
Conversation
pull upstream
fix: 修复子 Agent 压缩后完成提醒漏报
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.
问题
自主子 Agent 使用
session_squash的next-user模式保存任务快照后,可能没有正常 stop 事件,从而漏掉完成上报提醒,导致父 Agent 无法及时收到结果。改动
pi-session-tools在 next-user 分支和摘要持久化成功后,通过公共事件总线发布pi-session-tools:squash-completed。pi-interactive-subagents在 spawn/resume 时显式传递实际交互模式,只对仍空闲的自主子 Agent 补偿一次延迟完成提醒。验证
2c99c6a64835d907379277860831bd2e6dc86dfa已通过本地npm run check,并在 fork PR fix: 修复子 Agent 压缩后完成提醒漏报 mutallipp/pi-extensions#3 通过合并前 CI。mutallipp:main,创建时 head 为dbd585f2cbfecc2895f79eb8ff8069cdfad7637d;已同步 upstream 主分支。范围与替代关系
本 PR 从我们的
main提交到 upstreammain,替代误用功能分支作为来源的 #254。代码差异仍仅包含本次修复涉及的 13 个文件,不包含额外功能。这里只提交供审查,不自动合并。