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, andapply_patchstyle 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-patchwrites 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.5.tar.gz
(25.6 kB
view details)
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
cacli-0.1.5-py3-none-any.whl
(29.5 kB
view details)
File details
Details for the file cacli-0.1.5.tar.gz.
File metadata
- Download URL: cacli-0.1.5.tar.gz
- Upload date:
- Size: 25.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e03590a299369ef54cbdf98d993400e1e069cc027448351003dfc6107ac9456
|
|
| MD5 |
965be9ab4c6ddc519f6319e36f5d8f89
|
|
| BLAKE2b-256 |
2064f5e54a332e3b92d19e4eacc76e9f46e3cff07284a482b5fe28c5f2b5475e
|
File details
Details for the file cacli-0.1.5-py3-none-any.whl.
File metadata
- Download URL: cacli-0.1.5-py3-none-any.whl
- Upload date:
- Size: 29.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f32685e61abe93a2ff2ae8c0d726de0472fa0d16a3a88c759eae7d98775352c0
|
|
| MD5 |
f721367ca8bd7c160a0da955eeb38541
|
|
| BLAKE2b-256 |
e1ecf7dbb6ae5fbfefcd25f41efa5eb1df2635e43dd62874aba592b1f047d4d1
|