omp packages

@hitori-chan/pi-tasks0.3.0

Background tasks for pi: background bash, monitors, subagents, a live panel and /tasks

hitori-chan Published 4 days ago MIT ~0 downloads/mo

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.

Did it work for you?

Result

One report per person. A new report replaces your old one.

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

  • bash with run_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.
  • monitor runs a command and sends each line it prints to the agent as an event.
  • agent runs a subagent, a separate pi process with its own context, in the foreground or background. resume continues a finished one.
  • task_stop stops 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.