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