Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/complexity-gate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/complexity-gate/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/complexity-gate/src/postinstall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export async function downloadBinary(options: DownloadOptions): Promise<string>
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}`;
Expand Down