Repository navigation
Calyx v0.38.1
What's Changed
Login shell for persistent sessions on macOS
- A persistent session started without an explicit command now runs your shell as a login shell, through the same
login(1)mechanism an ordinary pane uses./etc/zprofileand~/.zprofilerun, soPATHpicks up Homebrew,/usr/local/binand everything else they add:brew,ghandgit-lfsnow work in a persistent-session pane exactly as they do in an ordinary pane. - The session shell is
$SHELLwhen it points at an executable (a bare name resolves throughPATH); otherwise the shell from your passwd entry is used. - A new persistent pane keeps the "Last login:" line the pane itself printed instead of briefly showing it and wiping it, matching an ordinary pane. The session-side
loginalways runs quietly, so there is no second banner, and~/.hushloginbehaves as before. Reattaching to an existing session, and a session restored after a crash, still replay the session's scrollback onto a cleared screen. - Because a default session's direct child is now
login(1), the exit status recorded for it (ascalyx-session ls --allreports) is login's, which is 0, rather than the shell's own; a session ended by a signal is still reported as such. Sessions started with an explicit command, and sessions on non-macOS hosts, are unchanged.
Note: Sessions that were already running keep the shell they started with. If the session daemon was already running when you updated, it keeps starting new sessions the old way until every persistent session has ended and it exits on its own (about 30 seconds later); persistent sessions started after that get the login shell. The MCP tool set is unchanged in this release, so there is no need to restart your agent CLI instances.