e74228c6

Created Started Cancelled

By: ananjiani <ananjiani@noreply.codeberg.org>

pi: report blocked state to herdr (#414)

The herdr pi integration listens for `herdr:blocked` events, but no extension emitted them, so herdr showed `working` while pi waited on a prompt.

- `confirm-destructive.ts`: emit blocked around the destructive-command approval prompt.
- `questionnaire.ts`: emit blocked while the questionnaire is open.

Both clear the state in a `finally`, so a cancelled prompt does not leave the pane stuck as blocked.

Co-authored-by: Ammar Nanjiani <ammar.nanjiani@gmail.com>
Reviewed-on: https://codeberg.org/ananjiani/infra/pulls/414
2 of 2 jobs done 1 Passed 1 Failed