Skip to content

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 06 Nov 07:14
· 48 commits to main since this release
v0.2.1
6394912

tmag 0.2.1 keeps containers that share a home directory from ending each other's sessions.

Fix

  • Each process table gets its own state directory. tmag proves sessions from the processes it can see. Containers that share a home directory, such as devcontainers sharing a ~/.local volume, used to share one state directory, so each container's tmag ended the other's sessions: their processes were invisible to it. A session would show unknown seconds after it started.
  • The state directory is now $XDG_STATE_HOME/tmag/<realm>/. The realm is the boot and PID namespace on Linux, and the boot on macOS. TMAG_STATE_DIR still names the directory itself.
  • tmag prune, which the picker key runs, removes state nobody has written for 30 days: other realms' directories, and the state tmag 0.2.0 and earlier kept directly in tmag/. tmag uninstall --purge removes only this realm's directory.

Updating

prefix + U, then prefix + M-a. Sessions that are already running show unknown until their next hook, because the new directory starts empty.

Full Changelog: v0.2.0...v0.2.1