@astermind/cybernetic-chatbot-client 2.3.4 → 2.3.12

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.
@@ -2534,37 +2534,55 @@ class LicenseManager {
2534
2534
  * Log license status based on enforcement mode
2535
2535
  */
2536
2536
  logLicenseStatus() {
2537
- if (!this.state)
2538
- return;
2539
- const prefix = '[Cybernetic License]';
2540
- switch (this.state.status) {
2541
- case 'valid':
2542
- if (this.state.inGracePeriod) {
2543
- console.warn(`${prefix} License expired but in grace period. ` +
2544
- `Please renew at https://astermind.ai/license`);
2545
- }
2546
- else if (this.state.daysRemaining !== null && this.state.daysRemaining <= 30) {
2547
- console.info(`${prefix} License expires in ${this.state.daysRemaining} days`);
2548
- }
2549
- break;
2550
- case 'eval':
2551
- console.info(`${prefix} Evaluation license - ${this.state.daysRemaining} days remaining`);
2552
- break;
2553
- case 'expired':
2554
- console.error(`${prefix} License expired. ` +
2555
- `Enforcement mode: ${this.enforcementMode}. ` +
2556
- `Renew at https://astermind.ai/license`);
2557
- break;
2558
- case 'missing':
2559
- console.warn(`${prefix} No license key provided. ` +
2560
- `Enforcement mode: ${this.enforcementMode}. ` +
2561
- `Get a license at https://astermind.ai/license`);
2562
- break;
2563
- case 'invalid':
2564
- console.error(`${prefix} Invalid license: ${this.state.error}. ` +
2565
- `Enforcement mode: ${this.enforcementMode}`);
2566
- break;
2567
- }
2537
+ // TODO: Re-enable when license key system is fully implemented
2538
+ return;
2539
+ // if (!this.state) return;
2540
+ //
2541
+ // const prefix = '[Cybernetic License]';
2542
+ //
2543
+ // switch (this.state.status) {
2544
+ // case 'valid':
2545
+ // if (this.state.inGracePeriod) {
2546
+ // console.warn(
2547
+ // `${prefix} License expired but in grace period. ` +
2548
+ // `Please renew at https://astermind.ai/license`
2549
+ // );
2550
+ // } else if (this.state.daysRemaining !== null && this.state.daysRemaining <= 30) {
2551
+ // console.info(
2552
+ // `${prefix} License expires in ${this.state.daysRemaining} days`
2553
+ // );
2554
+ // }
2555
+ // break;
2556
+ //
2557
+ // case 'eval':
2558
+ // console.info(
2559
+ // `${prefix} Evaluation license - ${this.state.daysRemaining} days remaining`
2560
+ // );
2561
+ // break;
2562
+ //
2563
+ // case 'expired':
2564
+ // console.error(
2565
+ // `${prefix} License expired. ` +
2566
+ // `Enforcement mode: ${this.enforcementMode}. ` +
2567
+ // `Renew at https://astermind.ai/license`
2568
+ // );
2569
+ // break;
2570
+ //
2571
+ // case 'missing':
2572
+ // console.warn(
2573
+ // `${prefix} No license key provided. ` +
2574
+ // `Enforcement mode: ${this.enforcementMode}. ` +
2575
+ // `Get a license at https://astermind.ai/license`
2576
+ // );
2577
+ // break;
2578
+ //
2579
+ // case 'invalid':
2580
+ // console.error(
2581
+ // `${prefix} Invalid license: ${this.state.error}. ` +
2582
+ // `Enforcement mode: ${this.enforcementMode}`
2583
+ // );
2584
+ // break;
2585
+ // }
2568
2586
  }
2569
2587
  }
2570
2588
  /**