Skip to content

agent-2pc v1.9.0: Unified Diff Preview Engine & Portable .a2pc Transaction Bundles

Choose a tag to compare

@github-actions github-actions released this 15 Oct 13:53
· 4 commits to main since this release
8c49840

⚡ What's New in v1.9.0

  • Transaction Unified Diff & Diffstat Engine (src/diff.rs):
    • Added agent-2pc diff --tid <TID> [--stat] and MCP tool agent_2pc_diff.
    • Generates git-style unified diffs and file change statistics across all staged mutations in Phase 1 before calling commit.
  • Portable Swarm Transaction Bundles (src/bundle.rs):
    • Added agent-2pc export --tid <TID> [--output <file>] and agent-2pc import --file <bundle.a2pc>.
    • Serializes an active 2PC transaction into a portable .a2pc bundle with full scratch filesystem payloads and CRC32 tamper verification.
    • Allows cross-agent handoffs, multi-agent code review, and swarm coordination.
  • MCP Surface Expansion (19 Tools):
    • Registered agent_2pc_diff, agent_2pc_export, and agent_2pc_import with full M8ven/OpenAI dual-location behavioral annotations.
  • Client SDKs Updated:
    • Python SDK: added session.diff(stat=...) and session.export_bundle(output=...).
    • TypeScript SDK: added session.diff(stat?: boolean) and session.exportBundle(output?: string).
  • Registry & Verification:
    • 49/49 passing tests across 12 test suites.
    • Clippy clean on Rust 2024 edition.
    • Live on Crates.io: cargo install agent-2pc (v1.9.0).