Skip to content

0.1.5#5

Merged
blacknon merged 11 commits into
masterfrom
0.1.5
Jun 5, 2026
Merged

0.1.5#5
blacknon merged 11 commits into
masterfrom
0.1.5

Conversation

@blacknon

@blacknon blacknon commented Jun 1, 2026

Copy link
Copy Markdown
Owner

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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8933bdbbf0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/app/state.rs
Comment thread src/runner/mod.rs Outdated
Comment thread src/logging.rs Outdated
Comment thread src/logging.rs
@blacknon blacknon merged commit acbeab6 into master Jun 5, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant