e74228c6

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

Total

14m34s

Created Started Finished

Time to Start Worker time Duration Time to finish Idle
Config 0s 3s 3s 4s 0s
Eval 6m36s 37s 7m58s 14m35s 14m12s
Build - - - - -
Suite 0s 40s 14m34s 14m35s 14m13s

Timeline

Config Eval Failed Retried Compressed gap
0s6m40s6m50s14m20s14m30s