web_ui: scope /cancel and /logout's SIGINT to the harness's own claude child

This commit is contained in:
damocles 2026-08-02 13:04:12 +02:00 committed by mara
commit 3617578341
3 changed files with 79 additions and 24 deletions

View file

@ -237,8 +237,9 @@
++ (with pkgs; [
bashInteractive
coreutils-full
# procps for pkill — used by the web UI's /api/cancel to SIGINT the
# in-flight claude turn.
# procps for kill — used by the web UI's /api/cancel and /api/logout
# to SIGINT the harness-spawned claude child found via a /proc scan
# (see hive-agent::web_ui::find_claude_child).
procps
# jq: JSON processing in shell — useful for parsing API responses,
# forge REST calls, sqlite output, etc.