github joshmedeski/sesh v2.35.0

2 hours ago

✨ Features

  • Herdr and Rex support: sesh now runs every session operation through a multiplexer interface, with tmux, herdr, the Herdr desktop app, and Rex as backends. multiplexer = "auto" picks the right one for the terminal you're in, or pin it with multiplexer = "rex" (etc). Listing, connecting, previews, startup commands, sesh last, rename, and kill all work. (#550, #551)
  • Panes in config: Define a pane once with [[pane]] and list it by name in a session's or window's panes, with optional layout and zoom. (#514, thanks @bivashy)
  • sesh url: Lists every link in the current pane in a picker and opens the ones you choose in the browser. --history <lines> (or [url].history) adds scrollback. Works on tmux and Rex. (#534)
  • Jujutsu (jj) support: jj repos get named after the repo root, sesh root finds the jj workspace, and sesh worktree creates jj workspaces when the repo has a .jj directory. (#520, #525)
  • GitLab and custom forge hosts: [[worktree]] accepts forge and host, so worktrees resolve issues and merge requests from GitLab and self-hosted hosts, auto-detected from the origin remote. (#530, thanks @userzimmermann)
  • Worktree connect from a URL or the clipboard: sesh worktree connect accepts an issue/PR URL directly, or --clipboard to read one. (#538, thanks @userzimmermann)
  • Run a command in a new worktree window: sesh worktree connect <n> -c '<cmd>' runs the command in a fresh window named after the program, so it never types into an agent that's already running. (#524)
  • --background: sesh connect, sesh mkdir, and sesh clone can create a session without switching to it, printing its name for scripts. sesh clone also gains --switch and --command. (#536)
  • Worktree issue titles in the picker: Set tui.show_worktree_titles = true to show the issue title after each worktree session name and match it when filtering. (#533)

🐛 Fixes

  • Live tmux sessions with the cache on: tmux sessions are no longer cached, so the picker stops showing missing, stale, or misnamed sessions when several processes refresh the cache at once. Only the slow sources (zoxide, tmuxinator) are cached now. (#539, thanks @jakobwesthoff)
  • Style codes in names: #[...] tmux style codes pass through again; every other # is still escaped. (#527, thanks @allisnulll)
  • tmux_command everywhere: Window, pane, and session lookups now use the configured tmux_command instead of a hard-coded tmux. (#526, thanks @raven-clown)
  • --hide-duplicates with --hide-attached: The attached session's zoxide entry is now hidden too. (#546)
  • Imported [[worktree]] blocks: Worktree configs in imported files are no longer dropped. (#542)
  • Home dir shortening: Sibling directories that share the home dir prefix (/home/username vs /home/user) are no longer shortened to ~name. (#532, thanks @ChandraChaan)
  • Trailing whitespace in paths: zoxide paths that end in a space or tab keep it. (#537, thanks @tharropoulos)

🔧 Behind the Scenes

  • Bumped lipgloss, x/ansi and x/term. bubbletea stays at v2.0.10 because v2.1.x makes the picker flicker. (#543)
  • The README has a hero image and demo gif, and lists sesh-style alternatives for Herdr, Rex, WezTerm, and Zellij.

👋 New Contributors

Full Changelog: v2.34.0...v2.35.0

Don't miss a new sesh release

NewReleases is sending notifications on new releases.