Repository navigation
v0.2.1
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
~/.localvolume, 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 showunknownseconds 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_DIRstill 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 intmag/.tmag uninstall --purgeremoves 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