diff --git a/packages/complexity-gate/README.md b/packages/complexity-gate/README.md index e63c60c..7820c18 100644 --- a/packages/complexity-gate/README.md +++ b/packages/complexity-gate/README.md @@ -4,7 +4,7 @@ Function-complexity feedback and stop gates for Pi, Claude Code, and Codex. The ## Install -Requires Node 22 or newer. Set `COMPLEXITY_GATE_BIN` to an existing binary to skip the release download. Set `COMPLEXITY_GATE_VERSION` to a release tag (default `v0.1.0`). +Requires Node 22 or newer. Set `COMPLEXITY_GATE_BIN` to an existing binary to skip the release download. Set `COMPLEXITY_GATE_VERSION` to a release tag (default `v0.1.1`). ```bash npm install -g @pickforge/complexity-gate diff --git a/packages/complexity-gate/package.json b/packages/complexity-gate/package.json index 458e1a5..777d534 100644 --- a/packages/complexity-gate/package.json +++ b/packages/complexity-gate/package.json @@ -1,6 +1,6 @@ { "name": "@pickforge/complexity-gate", - "version": "0.1.0", + "version": "0.1.1", "description": "Cross-harness function complexity gate for coding agents.", "type": "module", "license": "MIT", diff --git a/packages/complexity-gate/src/postinstall.ts b/packages/complexity-gate/src/postinstall.ts index 66a968b..273b32f 100644 --- a/packages/complexity-gate/src/postinstall.ts +++ b/packages/complexity-gate/src/postinstall.ts @@ -53,7 +53,7 @@ export async function downloadBinary(options: DownloadOptions): Promise const platform = options.platform ?? process.platform; const target = targets[`${platform}-${options.arch ?? process.arch}`]; if (!target) throw new Error(`unsupported platform: ${platform}/${options.arch ?? process.arch}`); - const tag = options.tag ?? process.env.COMPLEXITY_GATE_VERSION ?? "v0.1.0"; + const tag = options.tag ?? process.env.COMPLEXITY_GATE_VERSION ?? "v0.1.1"; const extension = platform === "win32" ? "zip" : "tar.xz"; const archive = `complexity-gate-${target}.${extension}`; const base = `https://github.com/pickforge/complexity-gate/releases/download/${tag}`;