@astermind/cybernetic-chatbot-client 2.3.9 → 2.3.15

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