Shell cancel session
project_shell_cancel_sessionCancel all shell runs tracked in a session and kill every process tree to cleanly tear down a session or stop a stuck session's running commands.
Instructions
Cancel ALL shell runs tracked in this session (kills every process tree). Use to cleanly tear down a session. Use when: a session is ending or a stuck session has many running commands and they must all be stopped. Avoid when: only one run needs cancelling (project_shell_cancel by run_id). Destructive: running commands are killed. Speed: fast; iterates the in-process shell run table and kills each tree. Output: shell_cancel_session: cancelled_run_ids[], count. Batch-safe: no
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||