@skillgate-io/cli 1.0.1 → 1.2.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.
Files changed (2) hide show
  1. package/README.md +18 -46
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,72 +1,44 @@
1
1
  # @skillgate-io/cli
2
2
 
3
- Optional npm/npx wrapper for the Python-native SkillGate CLI.
3
+ Node entrypoint for SkillGate CLI.
4
4
 
5
- Important:
6
- - Canonical runtime is Python package distribution (`pipx`/PyPI).
7
- - This wrapper does not embed the scanning engine.
8
- - This wrapper does not auto-install Python or SkillGate.
5
+ <p>
6
+ <img src="https://raw.githubusercontent.com/skillgate-io/skillgate/main/web-ui/public/images/hero-shield.svg" alt="SkillGate shield" width="64" />
7
+ </p>
9
8
 
10
- This means:
11
- - Use Python install path for the simplest setup.
12
- - Use this npm package only if you prefer Node-based command entrypoint.
9
+ ## What this package is
13
10
 
14
- ## Usage
11
+ - A thin npm wrapper.
12
+ - It forwards to the Python `skillgate` runtime.
13
+ - It does not bundle the scan/enforcement engine.
15
14
 
16
- Global install:
15
+ ## Install and run
17
16
 
18
17
  ```bash
19
18
  npm install -g @skillgate-io/cli
20
- skillgate version
19
+ skillgate --help
21
20
  ```
22
21
 
23
- Direct run:
22
+ With `npx`:
24
23
 
25
24
  ```bash
26
- npx @skillgate-io/cli version
25
+ npx @skillgate-io/cli --help
27
26
  ```
28
27
 
29
- Recommended direct Python path (no npm required):
28
+ ## Required runtime
30
29
 
31
- ```bash
32
- pipx install skillgate
33
- skillgate version
34
- ```
35
-
36
- ## Prerequisites
37
-
38
- Install Python runtime first (required):
30
+ Install Python runtime first:
39
31
 
40
32
  ```bash
41
33
  pipx install skillgate
42
34
  ```
43
35
 
44
- or
45
-
46
- ```bash
47
- python -m pip install --upgrade skillgate
48
- ```
49
-
50
- ### Required environment variables
51
-
52
- At minimum, set an API key before entitlement-resolved CLI commands:
53
-
54
- ```bash
55
- export SKILLGATE_API_KEY="sg_free_or_paid_key_here"
56
- ```
57
-
58
- Optional (only when needed):
36
+ Optional explicit Python path:
59
37
 
60
38
  ```bash
61
- export SKILLGATE_API_URL="https://api.skillgate.io"
39
+ SKILLGATE_PYTHON=/path/to/python skillgate --help
62
40
  ```
63
41
 
64
- Full variable reference: `../.env.example` in the repository.
42
+ ## SEO Keywords
65
43
 
66
- ## Python override
67
-
68
- If needed, force a Python executable:
69
-
70
- ```bash
71
- SKILLGATE_PYTHON=/path/to/python skillgate version
72
- ```
44
+ `npm ai security cli`, `codex cli security`, `claude code governance`, `runtime policy firewall`.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@skillgate-io/cli",
3
- "version": "1.0.1",
3
+ "version": "1.2.1",
4
4
  "description": "Optional npm/npx wrapper for SkillGate CLI (Python core runtime)",
5
- "license": "SEE LICENSE IN LICENSE",
5
+ "license": "UNLICENSED",
6
6
  "private": false,
7
7
  "bin": {
8
8
  "skillgate": "bin/skillgate.js"