Skip to content

weave v0.1.0

Choose a tag to compare

@rs545837 rs545837 released this 08 Feb 00:55
· 355 commits to main since this release

weave v0.1.0 — Entity-level semantic merge driver for Git

First release of weave, a semantic merge driver that resolves merge conflicts at the entity level (functions, classes, imports) instead of line-by-line.

Highlights

  • Entity-level 3-way merge — matches entities by name across versions, merges independently
  • 7 language support — TypeScript, JavaScript, Python, Rust, Go, Java, C
  • Decorator/annotation-aware merge — treats decorators as commutative (unordered)
  • Comment bundling — doc comments (JSDoc, ///, JavaDoc) travel with their entity
  • Inner entity merge — merges class/impl members by name (method reordering safe)
  • Import commutative merge — imports treated as unordered sets
  • Whitespace-aware merge — formatting changes don't cause false conflicts
  • CRDT entity state — advisory locks for multi-agent coordination
  • MCP server — 9 tools for AI agent integration

Benchmark

31/31 scenarios clean (100%) vs git 15/31 (48%).

Install

```bash

Homebrew

brew install ataraxy-labs/tap/weave

From source

cargo install --git https://github.com/Ataraxy-Labs/weave --path crates/weave-cli
```

Setup

```bash
weave setup # configures git to use weave as merge driver
```