fix(tui): route prompts by next-step capability

This commit is contained in:
_Kerman
2026-07-27 18:05:43 +08:00
parent a59ce0367c
commit f63d937496
21 changed files with 87 additions and 22 deletions

View File

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