From 10d82a60c6ac2695802f2f31b21e0e76d05fcf2b Mon Sep 17 00:00:00 2001 From: Kit Langton Date: Tue, 30 Jun 2026 14:36:01 -0400 Subject: [PATCH] test(core): wait for subagent tool registration --- packages/core/test/tool-subagent.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/test/tool-subagent.test.ts b/packages/core/test/tool-subagent.test.ts index 416049f941..07c6296f00 100644 --- a/packages/core/test/tool-subagent.test.ts +++ b/packages/core/test/tool-subagent.test.ts @@ -303,6 +303,7 @@ describe("SubagentTool", () => { yield* withSubagent(parent.location) const locations = yield* LocationServiceMap.Service const registry = yield* ToolRegistry.Service.pipe(Effect.provide(locations.get(parent.location))) + yield* waitForTool(registry, SubagentTool.name) const settled = yield* settleTool(registry, { sessionID: parent.id,