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.
Metadata
Release files for codey-cli 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| codey_cli-0.1.3.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| codey_cli-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.0 kB
Release files / codey_cli-0.1.3.tar.gz
| Download URL | codey_cli-0.1.3.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f57ee184bef46cdf786300fbe18044dd74ea3b08a106c9b41616b18091b4f9e
|
|
BLAKE2b-256 checksum How to use checksums |
5ce154ebdf8fc4f7418a8458ff760a6458cbe0db7d1f380360b91ea2906ee9f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / codey_cli-0.1.3-py3-none-any.whl
| Download URL | codey_cli-0.1.3-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3421ae25d8fe936c7d452f21cd717534504654dce36a51be408b70d191bdff39
|
|
BLAKE2b-256 checksum How to use checksums |
e285ed8ef2a43e6c6f34c070100bcfa3f36a4ac4dd2e928c8306e83164a4742d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|