I built codey, a small CLI wrapper for code‑agent tools (Codex / Claude / OpenCode). It runs the agent inside a PTY so the original TUI stays intact, and on exit it:
- Records the user input lines (what you actually submit) - Reads new git commits since last run - Generates/updates a local codey.html with a two‑column timeline: - Left: commits (message, author, hash, time) - Right: your inputs
Why: I wanted a lightweight way to review “what I asked the agent” in the same timeline as my git history.
Usage:
pip install codey-cli codey codex .
The HTML is local and incremental (state is embedded in the file). Feedback welcome, especially on edge cases and terminal input parsing.