Skip to content

v1.4.4 - Global Multi-Harness Install

Choose a tag to compare

@sarthexe sarthexe released this 12 Nov 21:00
· 12 commits to main since this release

Install once, work everywhere

python -m code_airlock install now configures every supported harness globally in the user's home directory, with zero repository clutter.

Global targets

  • OpenCode: ~/.config/opencode/opencode.json and ~/.config/opencode/AGENTS.md
  • Claude Code: ~/.claude.json and ~/.claude/CLAUDE.md
  • Cursor: ~/.cursor/mcp.json

All JSON merges preserve existing keys and MCP servers. Existing rule blocks are appended once and remain idempotent.

MCP protocol instructions

FastMCP now sends the airlock security rules in the MCP handshake, so Claude Code, Cursor, Windsurf, and OpenCode receive them on every project even with no rule file on disk.

Project rules stay explicit

python -m code_airlock init still writes only the local rule file for the detected or requested harness (AGENTS.md, CLAUDE.md, or .cursorrules). install no longer creates local rule files.

Install

pip install -U code-airlock && python -m code_airlock install

Limit the global install with --target opencode|claude|cursor.

Tests

24 passed, including global config merging for all three harnesses, server preservation, zero local pollution, targeted installs, and MCP handshake instructions.