Skip to content

0.1.0 - 2026-12-06

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Dec 16:12

Release Notes

The first release.

Added

  • retake record and retake 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 honours ANTHROPIC_BASE_URL.
  • Streaming: server-sent events recorded with their timing and replayed with --pacing
    (instant, realtime or 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.take for work outside tests, --keep-failed and
    --allow-failed.
  • _session.take dependents: end-of-run finalization, retake finalize, retake clean
    and retake init.
  • Redaction before anything reaches disk: built-in patterns for common API keys and private
    keys, user patterns in retake.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 as examples/), retake ls, retake upgrade,
    staleness warnings and --fail-on-stale.
  • JSON Schemas for takes, retake.toml and the --json output of check and ls.
  • Resource tracking for Anthropic files and message batches, _resource.take, and
    retake reap to 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; the retake-cli
    Python wheel, which bundles the binary and which pytest-retake depends 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 | sh

Install prebuilt binaries via Homebrew

brew install retake

Download 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