safepropel 1.4.0 → 1.4.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/package.json +1 -1
  2. package/safepropel.js +5 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "safepropel",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
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/safepropel.js CHANGED
@@ -291,13 +291,16 @@ function main() {
291
291
  console.log(` - Firewall enabled: ${result.metrics.firewallEnabled}`);
292
292
  }
293
293
 
294
- // Output the constructed prompt for Cascade execution
295
- if (constructedPrompt) {
294
+ // Output the constructed prompt for Cascade execution (only if authorized)
295
+ if (constructedPrompt && isAuthorizedCascade) {
296
296
  console.log(`\n` + '='.repeat(80));
297
297
  console.log('CONSTRUCTED PROMPT - Execute this in Cascade:');
298
298
  console.log('='.repeat(80));
299
299
  console.log(constructedPrompt);
300
300
  console.log('='.repeat(80));
301
+ } else if (constructedPrompt) {
302
+ console.log(`\nšŸ”’ Workflow content is confidential and protected`);
303
+ console.log(` Execution requires --cascade-internal flag and authorized IDE`);
301
304
  }
302
305
 
303
306
  // Clean up any workflow-output.json files (security measure)