@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 +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +3 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +9 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -975,6 +975,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
975
975
|
_defineProperty(this, "_a2uiEnabled", false);
|
|
976
976
|
_defineProperty(this, "_openGenerativeUIEnabled", false);
|
|
977
977
|
_defineProperty(this, "_licenseStatus", void 0);
|
|
978
|
+
_defineProperty(this, "_telemetryDisabled", false);
|
|
978
979
|
}
|
|
979
980
|
/**
|
|
980
981
|
* Get all agents as a readonly record
|
|
@@ -1012,6 +1013,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
1012
1013
|
get licenseStatus() {
|
|
1013
1014
|
return this._licenseStatus;
|
|
1014
1015
|
}
|
|
1016
|
+
get telemetryDisabled() {
|
|
1017
|
+
return this._telemetryDisabled;
|
|
1018
|
+
}
|
|
1015
1019
|
/**
|
|
1016
1020
|
* Initialize agents from configuration
|
|
1017
1021
|
*/
|
|
@@ -1180,7 +1184,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
1180
1184
|
this._runtimeConnectionStatus = CopilotKitCoreRuntimeConnectionStatus.Connecting;
|
|
1181
1185
|
await this.notifyRuntimeStatusChanged(CopilotKitCoreRuntimeConnectionStatus.Connecting);
|
|
1182
1186
|
try {
|
|
1183
|
-
var _runtimeInfoResponse$2, _runtimeInfoResponse$3, _runtimeInfoResponse$4, _runtimeInfoResponse$5;
|
|
1187
|
+
var _runtimeInfoResponse$2, _runtimeInfoResponse$3, _runtimeInfoResponse$4, _runtimeInfoResponse$5, _runtimeInfoResponse$6;
|
|
1184
1188
|
const runtimeInfoResponse = await this.fetchRuntimeInfo();
|
|
1185
1189
|
const { version, ...runtimeInfo } = runtimeInfoResponse;
|
|
1186
1190
|
const credentials = this.core.credentials;
|
|
@@ -1213,6 +1217,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
1213
1217
|
this._a2uiEnabled = (_runtimeInfoResponse$4 = runtimeInfoResponse.a2uiEnabled) !== null && _runtimeInfoResponse$4 !== void 0 ? _runtimeInfoResponse$4 : false;
|
|
1214
1218
|
this._openGenerativeUIEnabled = (_runtimeInfoResponse$5 = runtimeInfoResponse.openGenerativeUIEnabled) !== null && _runtimeInfoResponse$5 !== void 0 ? _runtimeInfoResponse$5 : false;
|
|
1215
1219
|
this._licenseStatus = runtimeInfoResponse.licenseStatus;
|
|
1220
|
+
this._telemetryDisabled = (_runtimeInfoResponse$6 = runtimeInfoResponse.telemetryDisabled) !== null && _runtimeInfoResponse$6 !== void 0 ? _runtimeInfoResponse$6 : false;
|
|
1216
1221
|
await this.notifyRuntimeStatusChanged(CopilotKitCoreRuntimeConnectionStatus.Connected);
|
|
1217
1222
|
await this.notifyAgentsChanged();
|
|
1218
1223
|
} catch (error) {
|
|
@@ -2809,6 +2814,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2809
2814
|
get licenseStatus() {
|
|
2810
2815
|
return this.agentRegistry.licenseStatus;
|
|
2811
2816
|
}
|
|
2817
|
+
get telemetryDisabled() {
|
|
2818
|
+
return this.agentRegistry.telemetryDisabled;
|
|
2819
|
+
}
|
|
2812
2820
|
/**
|
|
2813
2821
|
* Configuration updates
|
|
2814
2822
|
*/
|