safepropel 1.0.2 → 1.0.4
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 +31 -7
- package/package.json +4 -2
- package/postinstall.js +30 -0
package/README.md
CHANGED
|
@@ -25,6 +25,35 @@ Unified Protection System for AI Workflow Execution with 4-layer security archit
|
|
|
25
25
|
npm install -g safepropel
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
+
## Setup (Required)
|
|
29
|
+
|
|
30
|
+
After installation, set your license key as an environment variable:
|
|
31
|
+
|
|
32
|
+
### Windows PowerShell
|
|
33
|
+
```powershell
|
|
34
|
+
# Temporary (current session only)
|
|
35
|
+
$env:SAFEPROPEL_LICENSE_KEY="your-license-key-here"
|
|
36
|
+
|
|
37
|
+
# Permanent (recommended - restart PowerShell after running this)
|
|
38
|
+
[System.Environment]::SetEnvironmentVariable('SAFEPROPEL_LICENSE_KEY', 'your-license-key-here', 'User')
|
|
39
|
+
```
|
|
40
|
+
**Note:** After setting permanent variable, restart PowerShell for it to take effect.
|
|
41
|
+
|
|
42
|
+
### Windows CMD
|
|
43
|
+
```cmd
|
|
44
|
+
set SAFEPROPEL_LICENSE_KEY=your-license-key-here
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Linux/Mac
|
|
48
|
+
```bash
|
|
49
|
+
# Temporary (current session only)
|
|
50
|
+
export SAFEPROPEL_LICENSE_KEY="your-license-key-here"
|
|
51
|
+
|
|
52
|
+
# Permanent (add to ~/.bashrc or ~/.zshrc)
|
|
53
|
+
echo 'export SAFEPROPEL_LICENSE_KEY="your-license-key-here"' >> ~/.bashrc
|
|
54
|
+
source ~/.bashrc
|
|
55
|
+
```
|
|
56
|
+
|
|
28
57
|
## Quick Start
|
|
29
58
|
|
|
30
59
|
### Basic Usage
|
|
@@ -40,17 +69,12 @@ safepropel design-architecture
|
|
|
40
69
|
safepropel --help
|
|
41
70
|
```
|
|
42
71
|
|
|
43
|
-
###
|
|
72
|
+
### Alternative: Pass License Key Directly
|
|
44
73
|
|
|
45
|
-
If
|
|
74
|
+
If you prefer not to set environment variable:
|
|
46
75
|
|
|
47
76
|
```bash
|
|
48
|
-
# Via command line
|
|
49
77
|
safepropel create-spec BRD.txt --license-key=your-key-here
|
|
50
|
-
|
|
51
|
-
# Via environment variable
|
|
52
|
-
export SAFEPROPEL_LICENSE_KEY=your-key-here
|
|
53
|
-
safepropel create-spec BRD.txt
|
|
54
78
|
```
|
|
55
79
|
|
|
56
80
|
### Custom Bundle Path
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "safepropel",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "SafePropel Framework - Unified Protection System for AI Workflow Execution with 4-layer security (Compilation, Encryption, Runtime Engine, Firewall)",
|
|
5
5
|
"main": "engine/workflow-executor.js",
|
|
6
6
|
"bin": "./safepropel.js",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"test": "node safepropel.js --help"
|
|
8
|
+
"test": "node safepropel.js --help",
|
|
9
|
+
"postinstall": "node postinstall.js"
|
|
9
10
|
},
|
|
10
11
|
"keywords": [
|
|
11
12
|
"ai",
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
},
|
|
27
28
|
"files": [
|
|
28
29
|
"safepropel.js",
|
|
30
|
+
"postinstall.js",
|
|
29
31
|
"engine/",
|
|
30
32
|
"README.md",
|
|
31
33
|
"LICENSE"
|
package/postinstall.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
console.log(`
|
|
4
|
+
╔════════════════════════════════════════════════════════════════╗
|
|
5
|
+
║ SafePropel Framework - Installation Complete! ║
|
|
6
|
+
╚════════════════════════════════════════════════════════════════╝
|
|
7
|
+
|
|
8
|
+
✅ Package installed successfully!
|
|
9
|
+
|
|
10
|
+
📋 REQUIRED SETUP - Set License Key:
|
|
11
|
+
|
|
12
|
+
Windows PowerShell:
|
|
13
|
+
$env:SAFEPROPEL_LICENSE_KEY="your-license-key-here"
|
|
14
|
+
|
|
15
|
+
Windows CMD:
|
|
16
|
+
set SAFEPROPEL_LICENSE_KEY=your-license-key-here
|
|
17
|
+
|
|
18
|
+
Linux/Mac:
|
|
19
|
+
export SAFEPROPEL_LICENSE_KEY="your-license-key-here"
|
|
20
|
+
|
|
21
|
+
To make it permanent (Windows):
|
|
22
|
+
[System.Environment]::SetEnvironmentVariable('SAFEPROPEL_LICENSE_KEY', 'your-key', 'User')
|
|
23
|
+
|
|
24
|
+
🚀 Quick Start:
|
|
25
|
+
safepropel --help
|
|
26
|
+
safepropel create-spec your-file.txt
|
|
27
|
+
|
|
28
|
+
📖 Documentation: https://www.npmjs.com/package/safepropel
|
|
29
|
+
|
|
30
|
+
`);
|