Skip to content

v0.1.5

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Jun 23:41
acbeab6

0.1.5

  • Add --record-stdin so twatch can record terminal output from stdin without spawning a child PTY
  • Add --size WIDTH,HEIGHT for fixed-size stdin recording and document the tmux-oriented JSONL recording flow
  • Store --record-stdin traces as checkpoints plus deltas instead of writing a full snapshot on every frame
  • Compact in-memory cell symbols, compress delta history when -C is enabled, and raise the default checkpoint interval to reduce long-running memory pressure
  • Add transparent .jsonl.gz log read/write support and make the tmux plugin default to archive compression so active pane replay stays faster
  • Compress large snapshot and delta payloads inside JSONL records so plain .jsonl traces also shrink without hiding frame metadata
  • Open replay after preloading the first 256 frames and continue loading the rest in the background to reduce large-log startup delay
  • Spill older active --record-stdin frames into a compact sidecar during long-running sessions so live .jsonl logs grow more slowly
  • Add tunable --record-stdin-spill-every and --record-stdin-spill-retain controls, and store deltas in a more compact run/style-table form to shrink active tmux logs further
  • Treat -L 0 as unlimited history retention so tmux replay can avoid trimming large recordings on startup
  • Write active JSONL records in a more compact array-based format while keeping backward-compatible readers for older object-based logs

This release is focused on tmux-oriented recording and replay scalability.
It adds the first backend-oriented building block for tmux pipe-pane style integrations by letting twatch ingest terminal output from stdin and store it as replayable traces.

Notes:

  • --record-stdin requires --logfile and cannot be combined with --batch, --replay, or a child command
  • Replay readers remain backward-compatible with older object-based JSONL logs