repowisestage 0.0.73 → 0.0.74
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/dist/bin/repowise.js +27 -15
- package/package.json +1 -1
package/dist/bin/repowise.js
CHANGED
|
@@ -13206,6 +13206,7 @@ function computeOverallProgress(syncResult) {
|
|
|
13206
13206
|
}
|
|
13207
13207
|
var ProgressRenderer = class {
|
|
13208
13208
|
privacyShieldShown = false;
|
|
13209
|
+
privacyProofShown = false;
|
|
13209
13210
|
discoveryShown = false;
|
|
13210
13211
|
interviewCompleteShown = false;
|
|
13211
13212
|
// FIX-10: the scan runs in PARALLEL with the interview, so scanProgress
|
|
@@ -13226,21 +13227,28 @@ var ProgressRenderer = class {
|
|
|
13226
13227
|
validationHeaderShown = false;
|
|
13227
13228
|
validationShown = false;
|
|
13228
13229
|
pushShown = false;
|
|
13229
|
-
renderPrivacyShield(enabled, spinner) {
|
|
13230
|
-
if (this.privacyShieldShown)
|
|
13231
|
-
|
|
13232
|
-
|
|
13233
|
-
|
|
13234
|
-
|
|
13235
|
-
|
|
13236
|
-
|
|
13237
|
-
|
|
13238
|
-
|
|
13239
|
-
|
|
13240
|
-
|
|
13230
|
+
renderPrivacyShield(enabled, privateChannelUsed, spinner) {
|
|
13231
|
+
if (!this.privacyShieldShown) {
|
|
13232
|
+
this.privacyShieldShown = true;
|
|
13233
|
+
spinner.stop();
|
|
13234
|
+
console.log("");
|
|
13235
|
+
console.log(chalk4.cyan.bold(" \u2500\u2500 Privacy Channel \u2500\u2500"));
|
|
13236
|
+
if (enabled) {
|
|
13237
|
+
console.log(` ${chalk4.green("\u2713")} Privacy Channel enabled for this account`);
|
|
13238
|
+
} else {
|
|
13239
|
+
console.log(` ${chalk4.yellow("\u2139")} Privacy Channel not in current plan`);
|
|
13240
|
+
console.log(chalk4.dim(" Route your AI processing over an isolated private network."));
|
|
13241
|
+
}
|
|
13242
|
+
console.log("");
|
|
13243
|
+
spinner.start();
|
|
13244
|
+
}
|
|
13245
|
+
if (enabled && privateChannelUsed && !this.privacyProofShown) {
|
|
13246
|
+
this.privacyProofShown = true;
|
|
13247
|
+
spinner.stop();
|
|
13248
|
+
console.log(` ${chalk4.green("\u2713")} AI processing ran over your private VPC channel`);
|
|
13249
|
+
console.log("");
|
|
13250
|
+
spinner.start();
|
|
13241
13251
|
}
|
|
13242
|
-
console.log("");
|
|
13243
|
-
spinner.start();
|
|
13244
13252
|
}
|
|
13245
13253
|
renderDiscovery(result, spinner) {
|
|
13246
13254
|
if (this.discoveryShown) return;
|
|
@@ -13540,7 +13548,11 @@ var ProgressRenderer = class {
|
|
|
13540
13548
|
}
|
|
13541
13549
|
update(syncResult, spinner) {
|
|
13542
13550
|
if (syncResult.privacyShieldEnabled !== void 0) {
|
|
13543
|
-
this.renderPrivacyShield(
|
|
13551
|
+
this.renderPrivacyShield(
|
|
13552
|
+
syncResult.privacyShieldEnabled,
|
|
13553
|
+
syncResult.privateChannelUsed === true,
|
|
13554
|
+
spinner
|
|
13555
|
+
);
|
|
13544
13556
|
}
|
|
13545
13557
|
if (syncResult.discoveryResult) {
|
|
13546
13558
|
this.renderDiscovery(syncResult.discoveryResult, spinner);
|