Skip to content

v3.4.2 — Wezterm Lua plugin (zero-click recovery + AI launcher)

Latest

Choose a tag to compare

@wolverin0 wolverin0 released this 09 May 03:07
· 344 commits to main since this release
221637c

v3.4.1 made snapshot-watching default-on. v3.4.2 makes the recovery side equally automatic — no `npm run restore-session` to remember after a crash. Plus a launcher menu so you don't memorize AI flag combos.

Three features

  1. Auto-restore on `mux-startup` — silent re-spawn of AI panes after any wezterm crash, if snapshot < 30 min old and has ≥ 2 entries.
  2. `LEADER+R` fuzzy picker — wezterm's native `InputSelector` over all snapshots. Chrome-style recent-sessions menu.
  3. `LEADER+L` launcher menu — preset AI launches (claude --continue, claude --channels, codex resume --last, etc.). Fully overridable.

Install in your wezterm.lua

local wezterm = require 'wezterm'
local config = wezterm.config_builder()
local wezbridge_dir = '/abs/path/to/wezbridge'
package.path = package.path .. ';' .. wezbridge_dir .. '/wezterm/?.lua'
config.leader = { key = 'a', mods = 'CTRL', timeout_milliseconds = 2000 }
require('wezbridge').apply(config, {
  wezbridge_dir = wezbridge_dir,
  auto_restore = true,
  restore_keybind = { mods = 'LEADER', key = 'r' },
  launcher_keybind = { mods = 'LEADER', key = 'l' },
})
return config

See `wezterm/example-wezterm.lua` for a fuller example.

Full diff: v3.4.1...v3.4.2