Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 13 Aug 05:08
· 486 commits to main since this release
Immutable release. Only release title and notes can be modified.

Added

  • Remote dev is out of the experimental stage. Federate several machines into
    one dashboard: each host runs its sessions in its own pty pool, so a dropped
    connection or a slept laptop detaches windows without touching the sessions,
    and reconnecting brings them back.

    • Space h opens a hosts panel showing each host's connection state, session
      counts, daemon version, latency, and CPU + memory, with l for its full
      connection log and c to suspend a host in place instead of deleting it.
    • The dashboard deploys miao-server to a host that hasn't got one, offering a
      build and letting the host prove it can run it; cargo xtask dist is what
      bundles the servers into a dashboard.
    • A host with no terminfo entry for your TERM is offered this terminal's,
      which stops sessions there silently falling back to xterm-256color.
    • u upgrades a host's server in place, and the panel says which hosts a
      restart would move.
    • Each host takes verbatim ssh Options, mostly for port forwards — they come
      up with the connection, come back after a reconnect, and go away with it.
    • Space A attaches a window to every detached session that is free to take.
    • [launcher] pooled = true runs this machine's sessions in a pool too, so
      they survive closing the window, a crashed multiplexer, and logging out.
    • programs.captain-miao.server.enable = true — a Home Manager module, and the
      whole setup a Nix host needs to be reachable from another machine's dashboard.
  • 🧪 Add experimental support for tmux, as a third terminal backend alongside
    Kitty and zellij. Probe-verified against tmux 3.7b only; the documented ≥ 3.2
    floor is a claim, not a tested one.

  • 🧪 Add experimental support for git worktrees: Ctrl-g in the new-session
    picker starts the session in a fresh one, which the agent creates and owns.

  • Misc

    • Space l switches between one shared session tab and one tab per session.
    • The dashboard's own tab says how many sessions want you — miao (2).

Changed

  • The commands are now miao, miao-server and miao-client (were
    captain-miao, …) — re-run your installer, and delete the old captain-miao
    binary if cargo install left one in ~/.cargo/bin.
  • The shared tab holding your sessions is miao:sessions, renamed from
    cm:sessions; sessions in an old tab keep running and stay reachable.
  • r lists one host at a time (named in the picker, Ctrl-h switches), so
    the cross-host browser b is gone.
  • The resume picker loads off the UI thread and shows the 50 most recent
    sessions on the default host, keeping your typed filter when the list lands.
  • Killing a remote session answers the keystroke instead of freezing the
    dashboard for the ssh round trip.
  • Pooled sessions are created by their first attach, so the agent's TUI probes
    a real terminal and Shift+Enter no longer arrives as a bare Enter.
  • Attach windows report their own end rather than being found by polling the
    whole window tree, which on zellij cost about 20 ms per pane.
  • A host that is still dialing says so instead of counting with the ones that
    are down.
  • The status glyphs are ordinary emoji, so they no longer need a Nerd Font.
  • Keep-awake counts only sessions on this machine, so a busy session on a
    remote host no longer keeps your laptop awake.
  • Release binaries are about 20% smaller (LTO, and 11 crates dropped from the
    dependency tree) — --help is no longer coloured and third-party crates no
    longer log at ERROR.

Fixed

  • The cursor stays on the session you selected when something re-sorts the
    table underneath it.
  • A long-running session no longer freezes on macOS when the periodic
    $TMPDIR sweep deletes its hook socket out from under it.
  • w works on a remote host whose login shell is fish.
  • A failed window-tree snapshot no longer drops every window binding.

Removed

  • The mute flag (m). A session you don't want to look at is one you scroll
    past; a muted left in your state files is ignored.

Full Changelog: v0.2.1...v0.3.0