pi-mono/packages/coding-agent/src
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
..
cli fix: enabledModels now supports glob patterns for OAuth providers 2026-01-01 02:04:04 +01:00
core Add guard against concurrent prompt() calls 2026-01-02 22:02:24 +01:00
modes Add terminal title support to TUI framework (#407) 2026-01-02 22:00:34 +01:00
utils Fix characters (#372) 2026-01-01 02:16:29 +01:00
cli.ts Remove old implementation files (main.ts, cli.ts, tui-renderer.ts), rename new files 2025-12-09 01:21:28 +01:00
config.ts WIP: Rewrite export-html with tree sidebar, client-side rendering 2026-01-01 03:36:47 +01:00
index.ts Consolidate session events: remove session_before_new/session_new, add reason field to switch events 2026-01-01 23:31:26 +01:00
main.ts WIP: Rewrite export-html with tree sidebar, client-side rendering 2026-01-01 03:36:47 +01:00
migrations.ts Add automatic session migration for v0.30.0 bug 2025-12-26 03:24:49 +01:00