Repository navigation
Releases
Releases · simdugas/retake
0.1.0 - 2026-12-06
Release Notes
The first release.
Added
retake recordandretake replay: a local proxy that records real Anthropic Messages
API exchanges into JSONL take files and replays them deterministically, for any language
or SDK that honoursANTHROPIC_BASE_URL.- Streaming: server-sent events recorded with their timing and replayed with
--pacing
(instant,realtimeor a speed factor). - Error handling while recording: account errors refuse the recording; transient errors
(429, any 5xx, cut-off streams, failed connections) are dropped when retried successfully;
--allow-errors. - The control protocol and
pytest-retake: one take per test, test outcomes (passed,
failed,skipped),_session.takefor work outside tests,--keep-failedand
--allow-failed. _session.takedependents: end-of-run finalization,retake finalize,retake clean
andretake init.- Redaction before anything reaches disk: built-in patterns for common API keys and private
keys, user patterns inretake.toml, secrets split across stream events, a final scan,
and withholding of content Retake cannot scan unless--allow-unscanned. - Normalization rules in
retake.toml([match]): selectors, built-ins for UUIDs,
timestamps and temporary paths, numbered placeholders, a guard against over-broad rules,
and per-rule match counts;retake replay --verbose. - Binary content: content-addressed blobs in
_blobs/, relaxed media matching rules,
decoded and redacted text inside base64, decompression of gzip, br and zstd responses,
and multipart uploads. retake check(static validation of committed takes, including a directory that holds
several takes directories, such asexamples/),retake ls,retake upgrade,
staleness warnings and--fail-on-stale.- JSON Schemas for takes,
retake.tomland the--jsonoutput ofcheckandls. - Resource tracking for Anthropic files and message batches,
_resource.take, and
retake reapto delete resources recordings left behind. - Examples: a tool-using refund agent, its streaming variant, and a pytest suite, each with
recorded takes;pytest_docs, a pytest suite showing a session-scoped Files API upload,
binary content, normalization rules, a user redaction pattern and a skipped test; and
curl, a shell script client. - Installation without Rust: prebuilt binaries for macOS (arm64, x86_64) and Linux (x86_64,
arm64, static musl) with a shell installer and a Homebrew formula; theretake-cli
Python wheel, which bundles the binary and whichpytest-retakedepends on; and
cargo install retake. The minimum supported Rust version is 1.88. - A user guide (mdBook) with the detailed documentation, published with each release at
https://simdugas.github.io/retake/, where the JSON Schemas'$ids point
(https://simdugas.github.io/retake/schema/).
Install retake 0.1.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/simdugas/retake/releases/download/v0.1.0/retake-installer.sh | shInstall prebuilt binaries via Homebrew
brew install retakeDownload retake 0.1.0
| File | Platform | Checksum |
|---|---|---|
| retake-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| retake-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| retake-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| retake-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |