refactor(agent): complete inbox lifecycle migration
This commit is contained in:
@@ -34,6 +34,7 @@ function stubAgent(ctx: Context, rawId: string): Agent {
|
||||
steer: () => ({ outcome: Promise.resolve({ status: 'rejected' as const }) }),
|
||||
inject: () => {},
|
||||
cancel() {},
|
||||
runMaintenance: task => task(new AbortController().signal),
|
||||
whenIdle: () => Promise.resolve(),
|
||||
}
|
||||
agentScopeDisposers.set(agent, async () => { await scopeFiber.dispose() })
|
||||
|
||||
Reference in New Issue
Block a user