seamlock 0.3.2 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +31 -16
  2. package/bin/seamlock.js +13 -12
  3. package/package.json +6 -5
package/README.md CHANGED
@@ -1,16 +1,14 @@
1
- <h1 align="center">Seamlock</h1>
2
-
3
1
  <p align="center">
4
- <strong>Contract-level coherence and smart merging for parallel AI coding agents.</strong>
2
+ <img src="docs/assets/banner.png" alt="Seamlock — Contract-level coherence and smart merging for parallel AI coding agents" width="100%" />
5
3
  </p>
6
4
 
7
5
  <p align="center">
8
6
  <a href="https://github.com/lucas-rus/seamlock/actions/workflows/ci.yml"><img src="https://github.com/lucas-rus/seamlock/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
9
7
  <a href="https://github.com/lucas-rus/seamlock/releases/latest"><img src="https://img.shields.io/github/v/release/lucas-rus/seamlock?color=38bdf8&label=release" alt="Latest Release" /></a>
8
+ <a href="https://www.npmjs.com/package/seamlock"><img src="https://img.shields.io/npm/v/seamlock?color=38bdf8&label=npm" alt="npm" /></a>
9
+ <a href="https://pypi.org/project/seamlock/"><img src="https://img.shields.io/pypi/v/seamlock?color=34d399&label=PyPI" alt="PyPI" /></a>
10
+ <a href="https://crates.io/crates/seamlock-cli"><img src="https://img.shields.io/crates/v/seamlock-cli?color=f59e0b&label=crates.io" alt="crates.io" /></a>
10
11
  <a href="#license"><img src="https://img.shields.io/badge/license-MIT%20%7C%20Apache--2.0-818cf8.svg" alt="License" /></a>
11
- <a href="#mcp-integration"><img src="https://img.shields.io/badge/MCP-12%20tools-34d399.svg" alt="12 MCP Tools" /></a>
12
- <a href="#benchmarks"><img src="https://img.shields.io/badge/CommonMark-652%2F652%20(0%20conflicts)-10b981.svg" alt="CommonMark 652/652" /></a>
13
- <a href="#benchmarks"><img src="https://img.shields.io/badge/Full--Stack-30%2F30%20(0%20conflicts)-10b981.svg" alt="Full-Stack 30/30" /></a>
14
12
  </p>
15
13
 
16
14
  <p align="center">
@@ -26,7 +24,7 @@
26
24
 
27
25
  ---
28
26
 
29
- **Seamlock** is a local Rust orchestration engine and [MCP](https://modelcontextprotocol.io) server for running multiple AI coding agents (OpenCode, Claude Code, Cursor, Antigravity) **in parallel on the same repository** without merge conflicts or silent cross-file breakage.
27
+ **Seamlock** is a local Rust orchestration engine and [MCP](https://modelcontextprotocol.io) server for running multiple AI coding agents (**Claude Code, OpenAI Codex CLI, OpenCode, Cursor, Windsurf, Gemini CLI, VS Code / Copilot, Antigravity, or any MCP client**) **in parallel on the same repository** without merge conflicts or silent cross-file breakage.
30
28
 
31
29
  Instead of locking whole files or relying on a slow post-hoc merge agent, Seamlock tracks **symbol contracts** (signatures, types, exports, schemas, HTTP routes) and **live edit regions** across git worktrees, sending surgical notices only to affected agents and verifying every merge before it lands.
32
30
 
@@ -34,23 +32,24 @@ Instead of locking whole files or relying on a slow post-hoc merge agent, Seamlo
34
32
 
35
33
  ## Quick Start
36
34
 
37
- Install Seamlock and auto-connect it to your coding agents (macOS and Linux):
35
+ Install Seamlock and auto-connect it to your coding agents (macOS, Linux, and Windows):
38
36
 
39
37
  ```bash
40
38
  # Homebrew (macOS & Linux)
41
39
  brew install lucas-rus/tap/seamlock && seamlock setup
42
40
 
43
- # npm / npx
41
+ # npm / npx (macOS, Linux, Windows)
44
42
  npm install -g seamlock && seamlock setup
45
43
 
46
- # PyPI (uvx / pipx)
44
+ # PyPI (uvx / pipx — macOS, Linux, Windows)
47
45
  pipx install seamlock && seamlock setup
48
46
 
49
47
  # crates.io (prebuilt via cargo-binstall, or cargo install seamlock-cli)
50
48
  cargo binstall seamlock-cli && seamlock setup
51
49
 
52
- # Or curl installer
50
+ # Shell installer (macOS / Linux) or PowerShell (Windows)
53
51
  curl -fsSL https://raw.githubusercontent.com/lucas-rus/seamlock/main/install.sh | sh -s -- --setup
52
+ # irm https://raw.githubusercontent.com/lucas-rus/seamlock/main/install.ps1 | iex
54
53
  ```
55
54
 
56
55
  *(From source with Rust >= 1.90: `cargo install seamlock-cli && seamlock setup`.)*
@@ -136,16 +135,22 @@ Seamlock treats each agent's worktree like a CPU cache and each symbol like a ca
136
135
 
137
136
  ## Benchmarks
138
137
 
139
- Evaluated in [`seamlock-bench`](https://github.com/lucas-rus/seamlock-bench) against a strong baseline: **`parallel-integrator`** (the same parallel agents in isolated worktrees, followed by an extra AI Integrator agent that resolves all merge conflicts and fixes regressions).
138
+ <p align="center">
139
+ <img src="docs/assets/benchmarks.png" alt="Seamlock v0.3.2 vs AI Merge Integrator across 4 multi-agent suites" width="100%" />
140
+ </p>
140
141
 
141
- ### Current Release (`v0.3.1`, DeepSeek V4.1 Flash)
142
+ Evaluated in [`seamlock-bench`](https://github.com/lucas-rus/seamlock-bench). On 12-agent CommonMark (652 official spec examples), **uncoordinated parallel agents (`parallel-off`) collapse to 199/652** (~9 merge conflicts, ~302 integration-loss regressions), while a **single sequential agent takes 65.1 min** (`3.1×` slower than Seamlock, 651.2/652). Rather than comparing against sequential, the table below benchmarks Seamlock head-to-head against the strongest baseline: **`parallel-integrator`** (the same parallel agents in isolated worktrees, followed by an extra AI Integrator agent that resolves all merge conflicts and fixes regressions).
142
143
 
143
- All runs use `opencode-go/deepseek-v4.1-flash` with default Seamlock (`--mode enforce --regions --trim-outputs`) and list-price API cost ([protocol](https://github.com/lucas-rus/seamlock-bench/blob/main/PROTOCOL.md)). Across every suite, Seamlock achieved **0 merge conflicts** where the integrator had to resolve 1–10 conflicts per run:
144
+ ### Current Release (`v0.3.2`, DeepSeek V4.1 Flash + Pre-Registered Baselines)
145
+
146
+ All DeepSeek runs use `opencode-go/deepseek-v4.1-flash` with default Seamlock (`--mode enforce --regions --trim-outputs`) and list-price API cost ([protocol](https://github.com/lucas-rus/seamlock-bench/blob/main/PROTOCOL.md)). Across every suite, Seamlock achieved **0 merge conflicts** where the integrator had to resolve 1–10 conflicts per run:
144
147
 
145
148
  | Benchmark Suite | Condition | Tests Passed | Conflicts | Wall Time | Total Tokens | List Cost |
146
149
  |---|---|---:|---:|---:|---:|---:|
147
- | **12-agent Python CommonMark** (652 official spec examples) | **Seamlock v0.3.1** | **652/652** | **0** | **20.0 min** | **34.0M** | **$0.99** |
150
+ | **12-agent Python CommonMark** (652 official spec examples) | **Seamlock v0.3.2** | **652/652** | **0** | **20.0 min** | **34.0M** | **$0.99** |
148
151
  | | `parallel-integrator` (n=4) | 652/652 | ~9 resolved | 31.7 min | 43.8M | $1.15 |
152
+ | | `sequential` (1 agent, `hy4` n=5) | 651.2/652 | 0 | 65.1 min *(3.1× slower)* | 34.0M | — |
153
+ | | `parallel-off` (uncoordinated, `hy4` n=5) | 199/652 *(broken)* | ~9 unresolved | 13.7 min | 48.0M | — |
149
154
  | **6-agent Polyglot Full-Stack** (SQL + Python + TS `@/`, 30 live E2E) | **Seamlock v0.3.1** (n=2) | **30/30** | **0** | **8.8 min** | **7.7M** | $0.40 |
150
155
  | | `parallel-integrator` (n=3) | 30/30 | 5–6 resolved | 13.8 min | 8.2M | **$0.33** |
151
156
  | **5-agent Product Sprint** (Next.js + Postgres app) | **Seamlock** (n=2) | Matched | **0** | **16.7 min** | **31.5M** | **$0.69** |
@@ -220,10 +225,16 @@ Seamlock runs locally next to your repository as a 12-tool [MCP](https://modelco
220
225
 
221
226
  ### Connect Your Client
222
227
 
223
- - **Automatic (OpenCode, Claude Code, Cursor, Antigravity):**
228
+ - **Automatic (auto-detects OpenCode, Claude Code, Codex CLI, Cursor, Windsurf, Gemini CLI, VS Code / Copilot, Antigravity):**
224
229
  ```bash
225
230
  seamlock setup
226
231
  ```
232
+ - **Any other MCP client (Cline, Roo Code, Zed, Continue, etc.):**
233
+ Add a standard stdio MCP server running `seamlock mcp` (or `npx -y seamlock mcp`).
234
+ - **OpenAI Codex CLI (`~/.codex/config.toml`):**
235
+ ```bash
236
+ seamlock setup --client codex
237
+ ```
227
238
  - **OpenCode (CLI):**
228
239
  ```bash
229
240
  opencode mcp add --global seamlock -- seamlock mcp --agent-cli opencode
@@ -323,6 +334,10 @@ Protocol simulation (notices each agent would receive)
323
334
 
324
335
  ### Watch a Team Live
325
336
 
337
+ <p align="center">
338
+ <img src="docs/assets/seamlock-watch-demo.gif" alt="seamlock watch live terminal dashboard coordinating 12 parallel agents" width="100%" />
339
+ </p>
340
+
326
341
  ```bash
327
342
  seamlock watch .seamlock/runs/ # follow the latest run in a live terminal dashboard
328
343
  seamlock watch .seamlock/runs/ --web # open live coordination graph in the browser
package/bin/seamlock.js CHANGED
@@ -5,32 +5,33 @@ const { spawnSync } = require("node:child_process");
5
5
  const path = require("node:path");
6
6
 
7
7
  const PLATFORMS = {
8
- "darwin-arm64": "seamlock-darwin-arm64",
9
- "darwin-x64": "seamlock-darwin-x64",
10
- "linux-arm64": "seamlock-linux-arm64",
11
- "linux-x64": "seamlock-linux-x64",
8
+ "darwin-arm64": { pkg: "seamlock-darwin-arm64", bin: "seamlock" },
9
+ "darwin-x64": { pkg: "seamlock-darwin-x64", bin: "seamlock" },
10
+ "linux-arm64": { pkg: "seamlock-linux-arm64", bin: "seamlock" },
11
+ "linux-x64": { pkg: "seamlock-linux-x64", bin: "seamlock" },
12
+ "win32-x64": { pkg: "seamlock-windows-x64", bin: "seamlock.exe" },
12
13
  };
13
14
 
14
15
  const key = `${process.platform}-${process.arch}`;
15
- const pkg = PLATFORMS[key];
16
+ const entry = PLATFORMS[key];
16
17
 
17
- if (!pkg) {
18
+ if (!entry) {
18
19
  console.error(
19
20
  `seamlock: unsupported platform ${key}. Supported platforms: ${Object.keys(PLATFORMS).join(", ")}.\n` +
20
- "Install from source with: cargo install --git https://github.com/lucas-rus/seamlock seamlock-cli"
21
+ "Install from source with: cargo install seamlock-cli"
21
22
  );
22
23
  process.exit(1);
23
24
  }
24
25
 
25
26
  let binPath;
26
27
  try {
27
- const pkgDir = path.dirname(require.resolve(`${pkg}/package.json`));
28
- binPath = path.join(pkgDir, "bin", "seamlock");
28
+ const pkgDir = path.dirname(require.resolve(`${entry.pkg}/package.json`));
29
+ binPath = path.join(pkgDir, "bin", entry.bin);
29
30
  } catch {
30
31
  console.error(
31
- `seamlock: platform package "${pkg}" is not installed.\n` +
32
- "Try reinstalling without --omit=optional or install via Homebrew:\n" +
33
- " brew install lucas-rus/tap/seamlock"
32
+ `seamlock: platform package "${entry.pkg}" is not installed.\n` +
33
+ "Try reinstalling without --omit=optional, or install from crates.io:\n" +
34
+ " cargo binstall seamlock-cli"
34
35
  );
35
36
  process.exit(1);
36
37
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "seamlock",
3
3
  "description": "Contract-level coherence and smart merging for parallel AI coding agents",
4
- "version": "0.3.2",
4
+ "version": "0.3.4",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "homepage": "https://github.com/lucas-rus/seamlock",
7
7
  "repository": {
@@ -33,9 +33,10 @@
33
33
  "node": ">=18"
34
34
  },
35
35
  "optionalDependencies": {
36
- "seamlock-darwin-arm64": "0.3.2",
37
- "seamlock-darwin-x64": "0.3.2",
38
- "seamlock-linux-arm64": "0.3.2",
39
- "seamlock-linux-x64": "0.3.2"
36
+ "seamlock-darwin-arm64": "0.3.4",
37
+ "seamlock-darwin-x64": "0.3.4",
38
+ "seamlock-linux-arm64": "0.3.4",
39
+ "seamlock-linux-x64": "0.3.4",
40
+ "seamlock-windows-x64": "0.3.4"
40
41
  }
41
42
  }