Save code agent conversations aligned with git commits.
Project description
codey-cli
Save CLI code agent conversations and align them with git commits in a single codey.html file.
Install
pip install codey-cli
Quick Start
From your project root:
codey codex .
Then use the agent normally. When you exit the agent, ./codey.html will be created/updated in the current directory.
How It Works
codeyruns your agent command inside a PTY (keeps the original TUI).- On exit, it reads new git commits since last run.
- It records your input lines (the text you submit with Enter).
- It writes/updates
codey.htmlwith a two‑column timeline:- Left: git commits (message, author, hash, time)
- Right: your conversation inputs
Commands
You can use any CLI agent:
codey codex .
codey opencode .
codey claude .
Or pass any CLI command:
codey <your-command> [args...]
Output
codey.html is saved in the current working directory and updated incrementally.
State is stored in a hidden JSON block inside the HTML, so reruns only append new data.
Notes
- Only user input lines are recorded (assistant output is not stored).
- Input text is cleaned to remove terminal control sequences.
- Works on macOS and Linux.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file codey_cli-0.1.2.tar.gz.
File metadata
- Download URL: codey_cli-0.1.2.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71b2fbd31928e4e32f7a229faf07faeb342233b5237c12efb2607de5c8289e4b
|
|
| MD5 |
e4879fb162e01f7d929570d973351742
|
|
| BLAKE2b-256 |
3273f1f7e5634716bac5188db4c076abb6f6c111ca9c2583acebe5a21544a386
|
File details
Details for the file codey_cli-0.1.2-py3-none-any.whl.
File metadata
- Download URL: codey_cli-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e28852c6b1051191b0d7ff5c23ef8b659fb30d0768c37ce311598539838995b0
|
|
| MD5 |
9a878af49de987a8fc691a6b634423a2
|
|
| BLAKE2b-256 |
53bd6e7b48ff2e2d25eea90e1fb94ab0abff31d09b6996f0e431c6940677f024
|