Skip to content

v0.1.2 — Hook recursion cap, honest mutations, schedule docs

Choose a tag to compare

@av av released this 13 Jul 21:09
· 122 commits to master since this release

Highlights

  • Hook recursion is now capped. A hook that mutates the store could previously recurse without bound; hook and schedule commands now run with AGENT_STORE_HOOK_DEPTH set and dispatch stops at depth 3 — see docs/hooks.md.
  • A failing hook no longer hides your record ID. Mutations print their normal output (ID, or the full JSON envelope with --json) even when a post-commit hook fails; the failure goes to stderr with exit 1.
  • No-op set/unset report Unchanged and no longer bump updated_at or write a store event, so agents sorting by activity don't get false signals.
  • Schedules are now documented: new docs/schedules.md covers add at/add every, tick, crontab integration, per-record execution, and limits. Plus smaller fixes: find --count ignores --limit as documented, ctx stays within its 8192-byte cap, empty kinds are rejected, and schedule disable errors properly when crontab is missing.

Install

curl -fsSL https://raw.githubusercontent.com/av/agent-store/master/install.sh | sh

Also available via brew install av/tap/agent-store, nix run github:av/agent-store,
cargo binstall --git https://github.com/av/agent-store agent-store, or the
prebuilt archives below — see the install matrix.

Verifying downloads

Each asset has a matching .sha256 file and a signed build provenance
attestation
:

tag=v0.1.2
asset=agent-store-$tag-x86_64-unknown-linux-gnu.tar.gz
curl -fsSLO "https://github.com/av/agent-store/releases/download/$tag/$asset"
curl -fsSLO "https://github.com/av/agent-store/releases/download/$tag/$asset.sha256"
sha256sum -c "$asset.sha256"   # macOS: shasum -a 256 -c "$asset.sha256"
gh attestation verify "$asset" --repo av/agent-store

What's Changed

See the curated CHANGELOG.md.

Full Changelog: v0.1.1...v0.1.2