refactor(agent): expose mutable inbox state

This commit is contained in:
_Kerman
2026-07-30 15:35:18 +08:00
parent c0ef93efc8
commit 4370004360
52 changed files with 534 additions and 913 deletions

View File

@@ -23,10 +23,7 @@ function stubAgent(ctx: Context, rawId: string): Agent {
options: {},
session: new Session(id),
status: 'idle' as const,
acceptsNextStep: false,
ctx: scopeFiber.ctx,
send: () => {},
updateInbox: (): 'not-found' => 'not-found',
followup: () => {},
steer: () => {},
inject: () => {},