piagent_
← ~/map

$ cat ~/map/pi-background-task.md

pi-background-task

Six tmux-backed tools that start long-running commands, page bounded logs, send input, wait, and stop jobs.

extensions✓ Sep 11

Facts

repository
github.com/ZKiteLM/pi-background-task ↗
GitHub Stars
★ 4
Forks
0
license
MIT
npm / mo
—
last push
Sep 8, 2026

install

pi install npm:pi-background-task

## TL;DR

A pi extension with six tmux-backed tools for long-running commands: start jobs, page bounded logs by byte offset, send terminal input, wait without model polling, and stop tasks, with durable full-output capture.

## Key points

## FAQ

Q How do I watch a background task myself?

/bg-attach prints the exact tmux attach command for a task ID — the extension never replaces Pi's terminal automatically.

Q Where does job history live?

Jobs are tracked along Pi's session tree. /bg-tasks lists jobs on the current root-to-leaf branch, /bg-tasks all includes project history, and /bg-clear deletes completed records visible on the current branch after confirmation.

## References

## Related entries

## Guides

Last updated: Sep 11, 2026