safepropel 1.4.4 → 1.4.5

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/README.md +12 -10
  2. package/package.json +1 -1
  3. package/postinstall.js +21 -10
package/README.md CHANGED
@@ -93,26 +93,28 @@ After installation, set your license key as an environment variable:
93
93
 
94
94
  ### Windows PowerShell
95
95
  ```powershell
96
- # Temporary (current session only)
97
- $env:SAFEPROPEL_LICENSE_KEY = "your-license-key-here"
96
+ # Session-scoped (RECOMMENDED - like npm login)
97
+ # Set once, use for entire terminal session, auto-clears on close
98
+ $env:SAFEPROPEL_LICENSE_KEY = "Pr0p3l-S3cur3-K3y-2026!@#"
98
99
 
99
- # Permanent (recommended - restart PowerShell after running this)
100
- [System.Environment]::SetEnvironmentVariable('SAFEPROPEL_LICENSE_KEY', 'your-license-key-here', 'User')
100
+ # Permanent (optional - survives terminal restart)
101
+ [System.Environment]::SetEnvironmentVariable('SAFEPROPEL_LICENSE_KEY', 'Pr0p3l-S3cur3-K3y-2026!@#', 'User')
101
102
  ```
102
- **Note:** After setting permanent variable, restart PowerShell for it to take effect.
103
+ **Note:** Session-scoped is recommended for security. Key is automatically cleared when you close the terminal.
103
104
 
104
105
  ### Windows CMD
105
106
  ```cmd
106
- set SAFEPROPEL_LICENSE_KEY=your-license-key-here
107
+ # Session-scoped only
108
+ set SAFEPROPEL_LICENSE_KEY=Pr0p3l-S3cur3-K3y-2026!@#
107
109
  ```
108
110
 
109
111
  ### Linux/Mac
110
112
  ```bash
111
- # Temporary (current session only)
112
- export SAFEPROPEL_LICENSE_KEY="your-license-key-here"
113
+ # Session-scoped (RECOMMENDED)
114
+ export SAFEPROPEL_LICENSE_KEY="Pr0p3l-S3cur3-K3y-2026!@#"
113
115
 
114
- # Permanent (add to ~/.bashrc or ~/.zshrc)
115
- echo 'export SAFEPROPEL_LICENSE_KEY="your-license-key-here"' >> ~/.bashrc
116
+ # Permanent (optional - add to ~/.bashrc or ~/.zshrc)
117
+ echo 'export SAFEPROPEL_LICENSE_KEY="Pr0p3l-S3cur3-K3y-2026!@#"' >> ~/.bashrc
116
118
  source ~/.bashrc
117
119
  ```
118
120
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "safepropel",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "SafePropel Framework - Hybrid Security Model: Encrypted Workflows + Transparent Rules & Templates with Dynamic Loading",
5
5
  "main": "engine/workflow-executor.js",
6
6
  "scripts": {
package/postinstall.js CHANGED
@@ -177,19 +177,30 @@ console.log(`
177
177
  └── node_modules/ (hidden in IDE)
178
178
  └── safepropel/
179
179
 
180
- 📋 REQUIRED SETUP - Set License Key:
180
+ 📋 REQUIRED SETUP - Set License Key (Once Per Session):
181
181
 
182
- Windows PowerShell:
183
- $env:SAFEPROPEL_LICENSE_KEY = "your-license-key-here"
182
+ Session-Scoped (Recommended - like npm login):
183
+ Set once, use for entire terminal session:
184
184
 
185
- Windows CMD:
186
- set SAFEPROPEL_LICENSE_KEY=your-license-key-here
185
+ Windows PowerShell:
186
+ $env:SAFEPROPEL_LICENSE_KEY = "Pr0p3l-S3cur3-K3y-2026!@#"
187
+
188
+ Windows CMD:
189
+ set SAFEPROPEL_LICENSE_KEY=Pr0p3l-S3cur3-K3y-2026!@#
190
+
191
+ Linux/Mac:
192
+ export SAFEPROPEL_LICENSE_KEY="Pr0p3l-S3cur3-K3y-2026!@#"
193
+
194
+ ✅ Key persists for all commands in that session
195
+ ✅ Automatically cleared when terminal closes
196
+ ✅ No global exposure to other users/sessions
187
197
 
188
- Linux/Mac:
189
- export SAFEPROPEL_LICENSE_KEY="your-license-key-here"
190
-
191
- To make it permanent (Windows - restart PowerShell after):
192
- [System.Environment]::SetEnvironmentVariable('SAFEPROPEL_LICENSE_KEY', 'your-key', 'User')
198
+ 🔒 Permanent Setup (Optional - survives terminal restart):
199
+ Windows:
200
+ [System.Environment]::SetEnvironmentVariable('SAFEPROPEL_LICENSE_KEY', 'Pr0p3l-S3cur3-K3y-2026!@#', 'User')
201
+
202
+ Linux/Mac (add to ~/.bashrc or ~/.zshrc):
203
+ export SAFEPROPEL_LICENSE_KEY="Pr0p3l-S3cur3-K3y-2026!@#"
193
204
 
194
205
  🚀 Usage in Cascade IDE:
195
206
  Open this project in Cascade and use workflows: