Skip to main content

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.

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.7.tar.gz (32.1 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.7-py3-none-any.whl (34.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cacli-0.1.7.tar.gz
  • Upload date:
  • Size: 32.1 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.7.tar.gz
Algorithm Hash digest
SHA256 7ec45f7ae2222b5da373544482a176a96d90c91bc4205e5e392d0d7050028efc
MD5 ab11d14535793a9d41dfece48ca8a08e
BLAKE2b-256 8c62b0378ba7cb24a059fa06ea33505176034326c52879ff4e470271270ad7c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cacli-0.1.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 698c45d6681552659dcdad0c9643e507218d2d97b59c318578c97a24a9bc16fa
MD5 6e3d29e39458ef5c525e5b8fe988438e
BLAKE2b-256 b4f07512a22cc017d91831437c62717b4d3dd1a385efffad7ae4d7523f4f6b43

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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