| name | pi-processes |
| description | Manage long-running commands with this package's custom process tool. Use for dev servers, test watchers, build watchers, local APIs, preview servers, and log tails that should keep running while work continues. |
Pi Processes
Use the custom process tool instead of shell background patterns such as &, nohup, disown, or setsid.
If the user invoked a prompt or slash command with arguments, treat those arguments as the target process name, command, filter, or action context.
Use human_in_loop for every user-facing clarification or approval question. Do not ask those questions in plain assistant text.
Workflow
- Start a command with a stable descriptive name.
- Continue other work; do not block the conversation waiting for watchers or servers.
- For finite tasks where you need a pause before checking completion, use
wait once, then inspect process output or process list once.
- Inspect
process output or process logs only when needed.
- Use
process write for stdin.
- Kill processes when they are no longer needed and clear finished entries.
Common actions
start: requires name and command.
list: shows known processes.
output: requires id; returns recent stdout/stderr.
logs: requires id; returns log file paths.
kill: requires id.
clear: removes finished processes from the manager.
write: requires id and input; optional end closes stdin.