@hitori-chan/pi-tasks0.3.0
Background tasks for pi: background bash, monitors, subagents, a live panel and /tasks
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
@hitori-chan/pi-tasks
Background tasks for pi. Servers, builds and subagents keep running while the agent works, and report back when they end.
pi install npm:@hitori-chan/pi-tasks
Tools
bashwithrun_in_background: true. A foreground command still running at its timeout (2 min by default, up to 10) moves to the background, and so does one you press Ctrl+B on.monitorruns a command and sends each line it prints to the agent as an event.agentruns a subagent, a separatepiprocess with its own context, in the foreground or background.resumecontinues a finished one.task_stopstops a task.
/tasks lists tasks; Enter shows one's output, x stops it. The footer counts background commands and monitors, and lists subagents under its status line; "tasks": { "panel": false } or /config counts them instead.
Tasks belong to the session: quitting, /new and /reload stop them.
Named agents
Markdown files in ~/.pi/agent/agents/ or a trusted project's .pi/agents/. The body is appended to the subagent's system prompt; tools, model and thinking are optional.
---
name: scout
description: Finds where things are, fast
tools: read, grep, find, ls
model: llama-cpp/qwen3.8-27b
thinking: low
---
Search, don't edit. Reply with file paths and line numbers.