Skip to content

saikai 0.5.1

Choose a tag to compare

@m-morino m-morino released this 05 Jul 12:45

Mirror UX, native-fidelity selection, and claude-agents awareness. All changes are on top of 0.5.0.

Mirror

  • Native selection everywhere. Dragging inside the claude pane now runs the terminal's OWN selection (content-anchored, self-scrolling) instead of a screen-fixed block overlay whose start drifted when the host scrolled. Works in both the app view (delegated over /mouse) and the pane direct view (xterm-native). Copy is automatic on release and lands on the device you're holding (relayed from the host's clipboard). A long-press in the pane starts a one-shot selection drag with no Select mode; the session-list keeps its block selection + row menu.
  • No more flickering cursor. The browser cursor was chasing every repaint because the host hid its hardware cursor before any mirror client connected. The app view now calms the cursor during write bursts and re-shows it at the true position; the pane view implements DEC 2026 (synchronized output) so claude's frames paint atomically.
  • Fit-to-width now fits height too — the grid clears the key bar instead of hiding rows behind it; the key bar hugs the terminal's bottom edge when the canvas fits.
  • https on Windows — the TLS cert is minted in-process (cryptography), so TLS-by-default works where the openssl CLI isn't on PATH; a fallback to HTTP now records WHY in saikai.log.

claude agents

  • Agents-feature sessions (the & marker) get their own Agents list section instead of diluting "Open", with an honest refusal that points at the parent claude's agents view.
  • Lineage awareness: saikai reads the parent link claude records in each agent's transcript, clusters agents under their parent (↳ … ⟨parent⟩), and shows a "spawned by" line in the preview.
  • Shift+K terminates a runaway agent — confirmed and identity-verified (pid + start-time, so a recycled pid is never hit; the parent interactive claude is untouched). On a parent row it bulk-stops all of that parent's live child agents.
  • Desktop-SSH mirror sessions (ssh-*) stay badged and non-resumable-here.

Install / upgrade

uv tool install --force saikai