fix(tui): tighten subagent background shortcut

This commit is contained in:
Kit Langton 2026-06-30 13:44:55 -04:00
commit 3d0ff1c705
5 changed files with 66 additions and 20 deletions

View file

@ -316,7 +316,7 @@ describe("SubagentTool", () => {
}).pipe(Effect.forkScoped)
const backgrounded = yield* Effect.gen(function* () {
for (const _ of Array.from({ length: 20 })) {
for (const _ of Array.from({ length: 100 })) {
const result = yield* jobs.backgroundAll({ sessionID: parent.id, type: SubagentTool.name })
if (result.length > 0) return result
yield* Effect.sleep("10 millis")