@copilotkit/core 1.57.1-canary.1778272612 → 1.57.2

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/index.cjs CHANGED
@@ -861,6 +861,7 @@ var AgentRegistry = class {
861
861
  _a2uiEnabled = false;
862
862
  _openGenerativeUIEnabled = false;
863
863
  _licenseStatus;
864
+ _telemetryDisabled = false;
864
865
  constructor(core) {
865
866
  this.core = core;
866
867
  }
@@ -900,6 +901,9 @@ var AgentRegistry = class {
900
901
  get licenseStatus() {
901
902
  return this._licenseStatus;
902
903
  }
904
+ get telemetryDisabled() {
905
+ return this._telemetryDisabled;
906
+ }
903
907
  /**
904
908
  * Initialize agents from configuration
905
909
  */
@@ -1099,6 +1103,7 @@ var AgentRegistry = class {
1099
1103
  this._a2uiEnabled = runtimeInfoResponse.a2uiEnabled ?? false;
1100
1104
  this._openGenerativeUIEnabled = runtimeInfoResponse.openGenerativeUIEnabled ?? false;
1101
1105
  this._licenseStatus = runtimeInfoResponse.licenseStatus;
1106
+ this._telemetryDisabled = runtimeInfoResponse.telemetryDisabled ?? false;
1102
1107
  await this.notifyRuntimeStatusChanged(CopilotKitCoreRuntimeConnectionStatus.Connected);
1103
1108
  await this.notifyAgentsChanged();
1104
1109
  } catch (error) {
@@ -2660,6 +2665,9 @@ var CopilotKitCore = class {
2660
2665
  get licenseStatus() {
2661
2666
  return this.agentRegistry.licenseStatus;
2662
2667
  }
2668
+ get telemetryDisabled() {
2669
+ return this.agentRegistry.telemetryDisabled;
2670
+ }
2663
2671
  /**
2664
2672
  * Configuration updates
2665
2673
  */