Repository navigation
Releases
Releases · Yangmoooo/bgx
bgx 0.5.1
Changed
listandinfoshow uptime of a day or longer as3d 04:05:06.- Local builds accept newer stable Zig releases than the minimum in
.zig-version.
Fixed
- New output appends correctly after a running task's log is cleared.
bgx 0.5.0
Added
- Local builds automatically include the Git version and a dirty-worktree marker.
restart NAMEreruns the recorded command in its recorded directory with the
current environment, keeping its name and replacing its log. No failure rollback.stop --allstops recorded runs while keeping their records and logs.
Fixed
- Avoid reporting exited process groups as unknown during macOS exit races.
- Clarify
stopusage in help and avoid repeated run names in error messages.
bgx 0.4.0
Added
- Bash and zsh completion for commands, options, and run names.
rename OLD NEWchanges a run's name while keeping its process and log.stopandremoveaccept multiple names and continue after individual errors.
Changed
- Existing state must be cleared before upgrading. Stop runs with the old
version and save any logs you need; there is no automatic migration.
Removed
- The
psandlogsaliases; uselist/lsandlog.
Fixed
- Align command descriptions and group related commands in help output.
bgx 0.3.0
Added
- Omit the name in
start -- PROGRAMto generate a unique name for each run.
Changed
startprints the run's name and allows explicit reuse of exited names.
Reuse discards the old record and log, including when the new launch fails.- Startup failures retain their own diagnostics and log for inspection.
- Existing state must be cleared before upgrading. Stop runs with the old
version and save any logs you need; there is no automatic migration. - Argument errors explain the problem and show the relevant command's usage.
- Command help accepts
-h/--helpanywhere before--; program arguments after it remain unchanged.
Removed
restartandreplace. Supply the command withstartfor each new run.
bgx 0.2.0
Added
restart NAMEreruns the recorded command in its recorded directory.replace NAME -- PROGRAM [ARGS...]adopts a new command and directory on
successful launch. Both commands stop any running execution first.prune [--dry-run]removes exited tasks or previews the selection.info NAMEshows task details, status diagnostics, and log paths.log -f/--followstreams the opened log across task exit and name replacement;
--tail Nselects initial output.
Changed
startrejects all existing names; userestartorreplaceinstead.- Tasks retain their last confirmed execution and at most one latest launch
attempt. Failed restart/replace preserves the old definition and log; uncertain
outcomes block further launches and ordinary removal.infoshows attempt details. - Storage schema 2 is incompatible with earlier formats. Stop tasks with the
old version, verify exit, delete the selected state directory, and recreate them.
No automatic migration is provided. stoppreserves process identity and records confirmed completion separately.
Fixed
listreports invalid records by name and continues listing, returning nonzero.logreads without creating state, changing permissions, or acquiring name locks;
concurrent name reuse cannot redirect a read to another execution's log.
bgx 0.1.0
Added
- Start, list, and stop named background tasks on macOS and Linux, even after closing the terminal.
- View task logs, remove task records, and reuse names after tasks exit.