···11# Changelog
2233+## 0.7.1
44+55+### Fixes
66+- `pty peek` now works on exited sessions by reading saved output from metadata
77+- `pty peek --wait` handles exited sessions: checks saved output, shows last lines and exit code if pattern not found
88+- `--wait` accepts multiple patterns (`--wait "passed" --wait "failed"`) — matches on any
99+- Increase saved output from 20 to 200 lines (`lastLines` in exit metadata)
1010+- Exit metadata saved twice: immediately in `onExit` (for status display) and again in `close()` (for complete output after all PTY data has flushed)
1111+- Fix TUI race where session showed as "running" after exit (delay list refresh 200ms to let metadata flush)
1212+- Fix SKILL.md examples to use multiple `--wait` flags instead of regex syntax
1313+314## 0.7.0
415516### Supervisor
+1-1
package.json
···11{
22 "name": "@myobie/pty",
33- "version": "0.7.0",
33+ "version": "0.7.1",
44 "description": "Persistent terminal sessions with detach/attach, plus a Playwright-style testing library for TUI apps",
55 "type": "module",
66 "license": "MIT",