co-mono/packages/agent/test
Mario Zechner 5ef3cc90d1 Add guard against concurrent prompt() calls
Agent.prompt() and Agent.continue() now throw if called while already
streaming, preventing race conditions and corrupted state. Use
queueMessage() to queue messages during streaming, or await the
previous call.

AgentSession.prompt() has the same guard with a message directing
users to queueMessage().

Ref #403
2026-01-02 22:02:24 +01:00
..
utils WIP: Refactor agent package - not compiling 2025-12-30 22:42:20 +01:00
agent-loop.test.ts Support multiple messages in agent.prompt() and agentLoop 2025-12-30 22:42:22 +01:00
agent.test.ts Add guard against concurrent prompt() calls 2026-01-02 22:02:24 +01:00
e2e.test.ts WIP: Refactor agent package - not compiling 2025-12-30 22:42:20 +01:00