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.
- package/package.json +1 -1
- package/safepropel.js +5 -2
package/package.json
CHANGED
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)
|