Releases: stablekernel/pi-background-run
Releases · stablekernel/pi-background-run
Release list
v0.8.0
v0.7.0
v0.6.0
v0.5.0
Highlights
- bggrep tool — search across background job logs (#4)
- bgtail delta tailing — tail only new output since the last read (#4)
- Project-local job logs — relative
jobsDirkeeps logs with the repo (auto git-excluded, migration-safe) (#1)
Also: CI now posts a sticky test-status report on every PR (updated in place, never stacking), and lint-test is a required merge check on main.
Full Changelog: v0.4.0...v0.5.0
v0.4.0
Highlights
- Slash commands —
/bgstatus [id] [done],/bgtail <id> [lines],/bgclean [days] [all]are now available directly in the TUI (registered viapi.registerCommand, sharing core logic with the agent tools)./bgrunstays agent-only. - Zombie-proof session resume — jobs that finished while pi was down no longer reconstruct as "running" forever: stale records (no live child handle) are revalidated via the log's exit marker + pid liveness, and a done entry is backfilled to the transcript. Reconstruction also honors
state: "done"with a missing exit code (signal kills). - Session-scoped cleanup by default —
bgcleanonly removes this session's old logs unless you passall: true. Session-boundary auto-sweeps are session-scoped plus a global orphan sweep (default on) that removes finished, week-old logs from crashed/abandoned sessions, throttled to once percleanupDaysvia a.last-cleanmarker. Running jobs are always pid-protected. Opt out withglobalAutoClean: false/PI_BGRUN_GLOBAL_AUTO_CLEAN=0. - Date-aware widget — the "since" timestamp now includes the date when a job started on a previous day (and the year when it differs).
Configuration additions
| Knob | Default | Env var |
|---|---|---|
globalAutoClean |
true |
PI_BGRUN_GLOBAL_AUTO_CLEAN |
Full Changelog: v0.3.0...v0.4.0
v0.3.0
v0.2.1
v0.2.0
Full Changelog: https://github.com/stablekernel/pi-background-run/commits/v0.2.0