@skillgate-io/cli 1.0.0 → 1.2.0

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 (3) hide show
  1. package/LICENSE +50 -0
  2. package/README.md +24 -41
  3. package/package.json +4 -3
package/LICENSE ADDED
@@ -0,0 +1,50 @@
1
+ SkillGate Proprietary License
2
+ Copyright (c) 2026 SkillGate. All rights reserved.
3
+
4
+ IMPORTANT: THIS SOFTWARE IS LICENSED, NOT SOLD.
5
+
6
+ 1. Grant of License
7
+ Subject to your compliance with this License, SkillGate grants you a limited, non-exclusive, non-transferable, revocable license to use the Software for your internal business purposes only.
8
+
9
+ 2. Restrictions
10
+ You may not, and may not permit any third party to:
11
+ (a) copy, modify, adapt, translate, or create derivative works of the Software, except as expressly permitted in writing by SkillGate;
12
+ (b) distribute, sublicense, lease, rent, loan, sell, assign, transfer, disclose, publish, or otherwise make the Software available to any third party;
13
+ (c) reverse engineer, decompile, disassemble, or otherwise attempt to derive source code, underlying ideas, algorithms, file formats, or non-public APIs of the Software, except to the limited extent such activity is expressly permitted by applicable law notwithstanding this restriction;
14
+ (d) remove, alter, or obscure any proprietary notices, labels, or marks on or in the Software;
15
+ (e) use the Software to provide a service bureau, timesharing, or managed service offering without prior written permission from SkillGate.
16
+
17
+ 3. Ownership
18
+ The Software, including all intellectual property rights therein and thereto, is and shall remain the exclusive property of SkillGate and its licensors. No rights are granted except as expressly set forth in this License.
19
+
20
+ 4. Confidentiality
21
+ If you receive any non-public portions of the Software, documentation, or related materials, you agree to protect them as confidential information and not disclose them to any third party without SkillGate's prior written consent.
22
+
23
+ 5. No Open Source License
24
+ This repository and Software are not licensed under an open source license. Any use not expressly authorized by this License or a separate written agreement with SkillGate is prohibited.
25
+
26
+ 6. Third-Party Components
27
+ The Software may include or bundle third-party components licensed under their own terms. Those terms apply only to the applicable third-party components.
28
+
29
+ 7. Disclaimer of Warranties
30
+ THE SOFTWARE IS PROVIDED "AS IS" AND "AS AVAILABLE," WITHOUT WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT.
31
+
32
+ 8. Limitation of Liability
33
+ TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL SKILLGATE OR ITS LICENSORS BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, OR ANY LOSS OF PROFITS, REVENUE, DATA, OR GOODWILL, ARISING OUT OF OR RELATING TO THIS SOFTWARE OR LICENSE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SKILLGATE'S TOTAL AGGREGATE LIABILITY FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THIS SOFTWARE OR LICENSE SHALL NOT EXCEED FIFTY U.S. DOLLARS (US $50).
34
+
35
+ 9. Termination
36
+ This License is effective until terminated. It terminates automatically if you fail to comply with any term. Upon termination, you must cease all use and destroy all copies of the Software in your possession or control.
37
+
38
+ 10. Export Compliance
39
+ You agree to comply with all applicable export control and sanctions laws and regulations.
40
+
41
+ 11. Governing Law and Venue
42
+ This License is governed by and construed in accordance with the laws of the State of Delaware, without regard to conflict-of-law principles. The parties agree that any dispute arising out of or relating to this License or the Software will be brought exclusively in the state or federal courts located in Delaware, and each party consents to the personal jurisdiction and venue of those courts.
43
+
44
+ 12. Contributions
45
+ Unless otherwise agreed in a separate written agreement signed by SkillGate, if you submit any contribution, feedback, suggestion, patch, or other content (collectively, "Contributions") to SkillGate, you grant SkillGate and its affiliates a perpetual, irrevocable, worldwide, royalty-free, fully paid-up, sublicensable, and transferable license to use, reproduce, modify, create derivative works of, distribute, publicly perform, publicly display, and otherwise exploit those Contributions for any purpose. You represent and warrant that you have all rights necessary to grant this license.
46
+
47
+ 13. Entire Agreement
48
+ This License constitutes the entire agreement regarding the Software and supersedes all prior or contemporaneous understandings regarding its subject matter.
49
+
50
+ For commercial licensing, redistribution rights, OEM agreements, or other permissions, contact: support@skillgate.io
package/README.md CHANGED
@@ -1,72 +1,55 @@
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="../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
36
+ Optional explicit Python path:
45
37
 
46
38
  ```bash
47
- python -m pip install --upgrade skillgate
39
+ SKILLGATE_PYTHON=/path/to/python skillgate --help
48
40
  ```
49
41
 
50
- ### Required environment variables
51
-
52
- At minimum, set an API key before entitlement-resolved CLI commands:
42
+ ## Publish (maintainers)
53
43
 
54
44
  ```bash
55
- export SKILLGATE_API_KEY="sg_free_or_paid_key_here"
45
+ cd npm-shim
46
+ NPM_CONFIG_CACHE=../.npm-cache npm pack
47
+ NPM_CONFIG_CACHE=../.npm-cache npm publish --dry-run
48
+ NPM_CONFIG_CACHE=../.npm-cache npm publish --access public
56
49
  ```
57
50
 
58
- Optional (only when needed):
51
+ Runbook: [`docs/Release/PUBLISH-NPM.md`](../docs/Release/PUBLISH-NPM.md)
59
52
 
60
- ```bash
61
- export SKILLGATE_API_URL="https://api.skillgate.io"
62
- ```
63
-
64
- Full variable reference: `../.env.example` in the repository.
65
-
66
- ## Python override
53
+ ## SEO Keywords
67
54
 
68
- If needed, force a Python executable:
69
-
70
- ```bash
71
- SKILLGATE_PYTHON=/path/to/python skillgate version
72
- ```
55
+ `npm ai security cli`, `codex cli security`, `claude code governance`, `runtime policy firewall`.
package/package.json CHANGED
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "@skillgate-io/cli",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
4
  "description": "Optional npm/npx wrapper for SkillGate CLI (Python core runtime)",
5
- "license": "UNLICENSED",
5
+ "license": "SEE LICENSE IN LICENSE",
6
6
  "private": false,
7
7
  "bin": {
8
8
  "skillgate": "bin/skillgate.js"
9
9
  },
10
10
  "files": [
11
11
  "bin/skillgate.js",
12
- "README.md"
12
+ "README.md",
13
+ "LICENSE"
13
14
  ],
14
15
  "engines": {
15
16
  "node": ">=18"