Skip to content

feat(#12): kill and terminate buttons for spawned processes - #36

Merged
mmxgn merged 2 commits into
mainfrom
feat/kill-subagents
Aug 12, 2026
Merged

feat(#12): kill and terminate buttons for spawned processes#36
mmxgn merged 2 commits into
mainfrom
feat/kill-subagents

Conversation

@mmxgn

@mmxgn mmxgn commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Closes #12.

Child rows in the sidebar (parent_id != 0) now get the same hover-revealed action overlay that session rows have, carrying two buttons:

  • window-close-symbolic - Terminate process (SIGTERM)
  • edit-delete-symbolic - Force kill process (SIGKILL), for when it will not go quietly

The overlay construction in make_row moved out of the if (!s->parent_id) branch so both row kinds share it. apply_row_visibility pushes the label margin in by 72 px on child rows (2 icons) instead of 136 px (4 icons). Robot rows have no label vbox, so the name label itself is registered as gattn-row-labels.

No teardown code was needed: the existing poll_children -> on_child_exited path removes the row once the PID is gone.

Also updated README.md, docs/a11y-testing.md (tooltip list for both row kinds), and marked the FEATURES.org entry DONE.

Also adds a root .gitignore for the nix result symlink and .cache/.

mmxgn added 2 commits August 12, 2026 16:20
Child rows (parent_id != 0) get the same hover-revealed action overlay as
session rows, with two buttons: SIGTERM to end the process gracefully and
SIGKILL when it won't go quietly. Row teardown is already handled by
poll_children noticing the PID is gone.

Closes #12
@mmxgn
mmxgn merged commit 004aeaf into main Aug 12, 2026
4 of 6 checks passed
@mmxgn
mmxgn deleted the feat/kill-subagents branch August 12, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: kill sub-agents from the sidebar

1 participant