mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-23 17:52:49 +00:00
When Claude Code calls its EnterPlanMode tool, it reports the new mode through a system status message with permissionMode "plan". The Claude provider only read the compacting status from those messages, so the session kept the previous mode and never emitted mode_changed: the app, `paseo inspect`, and the stored agent record all kept showing the old mode. The provider now records the mode carried by a status message and emits mode_changed when it differs, sharing the bookkeeping with the init message so the plan-approval resume mode stays the mode Claude left. Closes #6063 Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>