Skip to main content

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.

demo

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

  • codey runs 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.html with 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

codey_cli-0.1.3.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codey_cli-0.1.3-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file codey_cli-0.1.3.tar.gz.

File metadata

  • Download URL: codey_cli-0.1.3.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for codey_cli-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3f57ee184bef46cdf786300fbe18044dd74ea3b08a106c9b41616b18091b4f9e
MD5 e359c9b83719ea736702602e5bc89b96
BLAKE2b-256 5ce154ebdf8fc4f7418a8458ff760a6458cbe0db7d1f380360b91ea2906ee9f8

See more details on using hashes here.

File details

Details for the file codey_cli-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: codey_cli-0.1.3-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

Hashes for codey_cli-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3421ae25d8fe936c7d452f21cd717534504654dce36a51be408b70d191bdff39
MD5 ca15c51d96dbb961eff57de9d9b99af0
BLAKE2b-256 e285ed8ef2a43e6c6f34c070100bcfa3f36a4ac4dd2e928c8306e83164a4742d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page