Skip to content

Releases

agentckpt v0.3.0

Choose a tag to compare

@github-actions github-actions released this 27 Oct 08:29
6ed3141

agentckpt v0.3.0: safer snapshots

Snapshots now store exactly what's on disk, restore never leaves a half-applied tree, and you control what goes in.

New

  • .agentckptignore: keep paths out of snapshots (same syntax as .gitignore) without touching your .gitignore, index or git status. restore never deletes excluded paths. (#11)
  • Gitignored state (#4): each snap records a metadata-only manifest of gitignored files, and restore warns when they changed or went missing. Opt in to capturing named paths with include_ignored; secret-looking files (.env*, *.pem, …) also need allow_secrets = true and are stored unencrypted.

Fixes

  • Files over --max-bytes are skipped before git add, so they never grow the store (#2).
  • Symlinks are restored as symlinks; restore is all-or-nothing, so an error leaves the tree unchanged (#6).
  • Snapshots keep exact bytes: no core.autocrlf, eol or git-lfs conversion, so Windows no longer reports untouched files as conflicts. --path .github keeps its leading dot (#8).

Docs

  • First-screen FAQ: store size, .gitignore, ignored .env.

Install

pipx install https://github.com/Blackman99/agentckpt/releases/download/v0.3.0/agentckpt-0.3.0-py3-none-any.whl

Full changelog: CHANGELOG.md

agentckpt v0.2.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 03:28

agentckpt v0.2.0: agent hooks

Your coding agent now checkpoints the working tree itself: before each prompt, before each edit or shell command, and after each turn. Undo any step with agentckpt restore <id> --force, without touching your git branches or index.

New

  • agentckpt hook: one adapter for every agent's hooks.
    • Codex notify passes the JSON as the last argument. Claude Code, Codex and Gemini CLI lifecycle hooks pass it on stdin.
    • It finds the project from the payload cwd and writes messages like claude: before Edit src/app.py, codex: before Bash `rm -rf build` and codex: turn complete "Rename foo to bar".
    • It always exits 0 and prints nothing on stdout, so it never blocks a prompt, denies a tool call or adds model context.
  • agentckpt run -- <agent>: snap before and after any CLI (Aider, Cursor CLI, …).
  • Drop-in configs in examples/ for Codex, Claude Code, Gemini CLI and OpenCode, plus shell wrappers.

Quick start

pipx install git+https://github.com/Blackman99/agentckpt
cd your-repo && agentckpt init
# ~/.codex/config.toml
notify = ["agentckpt", "hook", "--source", "codex"]
// .claude/settings.json
{ "hooks": { "PreToolUse": [{ "matcher": "Edit|Write|MultiEdit|NotebookEdit|Bash",
  "hooks": [{ "type": "command", "command": "agentckpt hook --source claude" }] }] } }

Fixes

  • Shadow-store git calls now drop inherited GIT_INDEX_FILE / GIT_DIR / GIT_WORK_TREE. Before this, a snap run from inside a git or agent environment could write to the user's real index.

Still zero runtime dependencies (stdlib + git). Docs: https://blackman99.github.io/agentckpt/docs/hooks/

agentckpt v0.1.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 03:06

agentckpt v0.1.0

Checkpoint a working tree while coding agents run, and restore any snapshot without touching your git branches or index.

Why

Coding agents edit and delete files. /undo is often missing or unreliable (openai/codex#9203). agentckpt keeps a private shadow store under .agentckpt/ so you can snap and restore freely.

Install

uvx --from git+https://github.com/Blackman99/agentckpt agentckpt demo
pipx install git+https://github.com/Blackman99/agentckpt

Commands

init · snap · watch · ls · diff · restore · prune · doctor · demo

Docs: https://blackman99.github.io/agentckpt/docs/