Conversation
生产端零调用,仅被单测引用;combineAbortSignals 已覆盖同类场景。 一并移除对应的单测用例。
Task 与 Team 工具原本以 8 个位置参数(Task)和散开的 options 字段(Team) 重复传递同一组委派依赖,getBuiltinTools 还需逐字段转发。引入声明式的 SubagentDelegationDeps 容器统一承载 registry、资源快照与偏好选择器, 以命名依赖注入替代样板透传,并清理由此产生的死 import。 - createTaskTool 改为接收容器,函数体通过解构保持不变 - TeamToolOptions 继承容器,去掉重复且误名的 subagentRegistry 字段 - getBuiltinTools 单次构建容器并复用,公共 opts 签名不变
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Summary
Impact
The branch removes 180,848 net lines, a 30.45% reduction from baseline. The default suite now emphasizes deterministic state-machine and protocol tests, while paid real-API qualification covers the production paths that cannot be established locally.
session.tsno longer owns active/recent run storage or the Agent execution loop. Those responsibilities now live insessionRunState.tsandsessionRunExecutor.ts.Validation
bun run buildbun run lintbun run test:allbun run --filter blade-code test:coveragePaid real-API calls were not executed. The release-blocking file selection and credential isolation contract were verified deterministically.
Notes
The working tree contains unrelated local changes that are intentionally not part of this PR.