fix(tui): route prompts by next-step capability
This commit is contained in:
@@ -30,6 +30,7 @@ function stubAgent(rawId: string, supplied?: Session): StubAgent {
|
||||
options: {},
|
||||
session,
|
||||
get status() { return status },
|
||||
get acceptsNextStep() { return status === 'running' },
|
||||
ctx: new Context(),
|
||||
send: () => AgentMessageId('stub'),
|
||||
followup: () => AgentMessageId('stub'),
|
||||
|
||||
Reference in New Issue
Block a user