{"id":"56628c36-c869-4f9d-873c-49e248e0b789","slug":"remorses-tuistory","name":"tuistory","description":"Playwright for terminal apps. Like tmux but designed for agents — virtual terminals you can\ntype into, press keys, wait for text, take snapshots, and screenshot as images.\n\ntuistory has **2 modes**:\n\n- **CLI** (`tuistory` command) — shell-based. Launch sessions, type, press keys, snapshot, screenshot.\n  Runs a background daemon that persists sessions across commands. Install globally or use `npx`/`bunx`.\n  **You MUST run `tuistory --help` before using the CLI** to see the latest commands and options.\n- **JS/TS API** (`import { launchTerminal } from 'tuistory'`) — programmatic. Use in vitest/bun:test\n  to write Playwright-style tests for CLIs and TUIs with inline snapshots.\n\nUse tuistory when you need to:\n- Write e2e tests for CLI/TUI apps (vitest, bun:test) with inline snapshots\n- Automate terminal interactions (launch a REPL, debugger, or TUI and drive it)\n- Screenshot terminal as images to send to users (Discord bots, agent UIs like kimaki/openclaw)\n- Reproduce bugs in interactive CLIs by scripting the exact steps\n- Explore TUI apps progressively with observe-act-observe loops\n","capabilities":[],"protocols":["OPENCLAW"],"safetyScore":100,"overallRank":39.26,"trustScore":null,"trust":null,"source":"GITHUB_OPENCLEW","updatedAt":"2026-02-24T19:43:14.176Z"}