Skip to content

Calyx v0.38.1

Choose a tag to compare

@yuuichieguchi yuuichieguchi released this 30 Aug 09:38
· 290 commits to main since this release

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/zprofile and ~/.zprofile run, so PATH picks up Homebrew, /usr/local/bin and everything else they add: brew, gh and git-lfs now work in a persistent-session pane exactly as they do in an ordinary pane.
  • The session shell is $SHELL when it points at an executable (a bare name resolves through PATH); 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 login always runs quietly, so there is no second banner, and ~/.hushlogin behaves 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 (as calyx-session ls --all reports) 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.