Skip to main content

Provider-agnostic CLI for running coding agents

Project description

cacli

coding agent CLI

Recovering Changes From Transcripts

cacli apply-transcript <transcript.jsonl> can recover reconstructable file edits from Claude Code or Codex JSON/JSONL transcripts.

Examples:

# Produce a reviewable patch without touching the working tree
cacli apply-transcript session.jsonl --mode generate-patch

# Apply the auto-applicable prefix directly to the current tree
cacli apply-transcript session.jsonl --mode auto-apply

# Approve each recoverable edit interactively
cacli apply-transcript session.jsonl --mode interactive

Behavior:

  • The command scans the full transcript before doing anything else.
  • It reconstructs Write, Edit, MultiEdit, and apply_patch style changes.
  • It flags mutating shell commands that cannot be reconstructed, such as sed -i.
  • Automatic replay stops at the first unreconstructable mutating shell command or edit that no longer applies cleanly.
  • generate-patch writes a patch for the auto-applicable prefix without modifying the working tree.

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

cacli-0.1.6.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

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

cacli-0.1.6-py3-none-any.whl (34.2 kB view details)

Uploaded Python 3

File details

Details for the file cacli-0.1.6.tar.gz.

File metadata

  • Download URL: cacli-0.1.6.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for cacli-0.1.6.tar.gz
Algorithm Hash digest
SHA256 24d9c92e679475240982d2be53ce31d2a990a72de61cf62e0278fc78bb044555
MD5 6d0c7787caff80514c5e7069993474dd
BLAKE2b-256 c309a5036eb33a4b656b1ca4f404be76a6f83065e76cafe8ee601c9b481dea5a

See more details on using hashes here.

File details

Details for the file cacli-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: cacli-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 34.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for cacli-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 78cbe120df550564dffdffc6c05f6eaf2fe3c2fb6ee2343e060b5472d599f2da
MD5 df72374f7ca66aa912bd6aa6ab51b862
BLAKE2b-256 0c3f65e788d3df5469f7ff9042b7d93d910666c423c069d7c8025548ff75ed20

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