mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
* fix(pi): complete locally handled prompts Slash commands the Pi CLI handles without starting a model turn previously left the Paseo turn hanging until interrupt. Parse the optional agentInvoked correlation from prompt acknowledgements, surface command_output/notify output as timeline content, and complete the turn locally when no agent turn will start. Older Pi binaries without the correlation are detected via a getState compatibility probe. * review: guard command output without an active turn, simplify delegates - Drop late-arriving command_output when no turn is active instead of emitting an orphaned timeline item with turnId undefined - Remove redundant 'text' in event check (type is already narrowed) - Inline recordNoTurnNotification delegate * refactor(pi): consolidate local prompt state --------- Co-authored-by: Mohamed Boudra <boudra.moha@gmail.com>