agent-gate-installer 1.0.0 → 1.1.1

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.
package/README.md CHANGED
@@ -5,7 +5,7 @@ One-command setup for the [agent-gate](https://github.com/jl-cmd/agent-gate) pro
5
5
  ## Prerequisites
6
6
 
7
7
  - Node.js 18+
8
- - Python 3.12+
8
+ - Python 3.11+
9
9
  - git
10
10
  - A GitHub personal access token with access to `jl-cmd/agent-gate`
11
11
 
@@ -26,7 +26,7 @@ Without `GH_TOKEN`, the installer prompts interactively.
26
26
 
27
27
  ### What it does
28
28
 
29
- 1. Detects Python 3.12+ (tries `python3`, `python`, `py -3`)
29
+ 1. Detects Python 3.11+ (tries `python3`, `python`, `py -3`)
30
30
  2. Clones `jl-cmd/agent-gate` to `~/.claude/agent-gate/`
31
31
  3. Creates a Python venv at `~/.claude/agent-gate/.venv/`
32
32
  4. Installs all agent-gate sub-packages in editable mode
package/bin/install.mjs CHANGED
@@ -10,7 +10,7 @@ const CLAUDE_HOME = join(homedir(), ".claude");
10
10
  const INSTALL_DIR = join(CLAUDE_HOME, "agent-gate");
11
11
  const SETTINGS_PATH = join(CLAUDE_HOME, "settings.json");
12
12
  const REPO_URL = "https://github.com/jl-cmd/agent-gate.git";
13
- const MINIMUM_PYTHON_VERSION = [3, 12];
13
+ const MINIMUM_PYTHON_VERSION = [3, 11];
14
14
  const IS_WINDOWS = platform() === "win32";
15
15
 
16
16
  const HOOK_FILENAMES = ["gate_enforcer.py", "gate_trigger.py", "session_cleanup.py"];
@@ -57,7 +57,7 @@ function detectPython() {
57
57
  continue;
58
58
  }
59
59
  }
60
- log("Error: Python 3.12+ is required but not found.");
60
+ log("Error: Python 3.11+ is required but not found.");
61
61
  log("Install from https://www.python.org/downloads/");
62
62
  process.exit(1);
63
63
  }
@@ -335,7 +335,7 @@ Environment:
335
335
 
336
336
  Prerequisites:
337
337
  - Node.js 18+
338
- - Python 3.12+
338
+ - Python 3.11+
339
339
  - git
340
340
  `);
341
341
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-gate-installer",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "description": "One-command installer for agent-gate prompt evaluation gate",
5
5
  "type": "module",
6
6
  "bin": {