@copilotkit/shared 2.0.0-rc.5 → 2.0.0-rc.7

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.
Files changed (77) hide show
  1. package/dist/index.cjs +0 -13
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +4 -6
  4. package/dist/index.d.cts.map +1 -1
  5. package/dist/index.d.mts +4 -6
  6. package/dist/index.d.mts.map +1 -1
  7. package/dist/index.mjs +3 -5
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/index.umd.js +22 -187
  10. package/dist/index.umd.js.map +1 -1
  11. package/dist/package.cjs +1 -1
  12. package/dist/package.mjs +1 -1
  13. package/dist/telemetry/lambda-client.cjs.map +1 -1
  14. package/dist/telemetry/lambda-client.d.cts.map +1 -1
  15. package/dist/telemetry/lambda-client.d.mts.map +1 -1
  16. package/dist/telemetry/lambda-client.mjs.map +1 -1
  17. package/dist/telemetry/telemetry-client.cjs +3 -3
  18. package/dist/telemetry/telemetry-client.cjs.map +1 -1
  19. package/dist/telemetry/telemetry-client.mjs +3 -3
  20. package/dist/telemetry/telemetry-client.mjs.map +1 -1
  21. package/dist/types/message.d.cts +1 -18
  22. package/dist/types/message.d.cts.map +1 -1
  23. package/dist/types/message.d.mts +1 -18
  24. package/dist/types/message.d.mts.map +1 -1
  25. package/dist/utils/errors.cjs +4 -42
  26. package/dist/utils/errors.cjs.map +1 -1
  27. package/dist/utils/errors.d.cts +16 -34
  28. package/dist/utils/errors.d.cts.map +1 -1
  29. package/dist/utils/errors.d.mts +16 -34
  30. package/dist/utils/errors.d.mts.map +1 -1
  31. package/dist/utils/errors.mjs +5 -41
  32. package/dist/utils/errors.mjs.map +1 -1
  33. package/dist/utils/index.cjs +0 -2
  34. package/dist/utils/index.cjs.map +1 -1
  35. package/dist/utils/index.d.cts +2 -4
  36. package/dist/utils/index.d.cts.map +1 -1
  37. package/dist/utils/index.d.mts +2 -4
  38. package/dist/utils/index.d.mts.map +1 -1
  39. package/dist/utils/index.mjs +2 -4
  40. package/dist/utils/index.mjs.map +1 -1
  41. package/dist/utils/random-id.cjs +13 -26
  42. package/dist/utils/random-id.cjs.map +1 -1
  43. package/dist/utils/random-id.d.cts +6 -3
  44. package/dist/utils/random-id.d.cts.map +1 -1
  45. package/dist/utils/random-id.d.mts +6 -3
  46. package/dist/utils/random-id.d.mts.map +1 -1
  47. package/dist/utils/random-id.mjs +14 -25
  48. package/dist/utils/random-id.mjs.map +1 -1
  49. package/package.json +3 -6
  50. package/src/telemetry/lambda-client.ts +3 -2
  51. package/src/telemetry/telemetry-client.ts +3 -3
  52. package/src/types/message.ts +1 -19
  53. package/src/utils/__tests__/errors.test.ts +44 -0
  54. package/src/utils/__tests__/random-id.test.ts +37 -0
  55. package/src/utils/errors.ts +27 -85
  56. package/src/utils/index.ts +0 -2
  57. package/src/utils/random-id.ts +17 -37
  58. package/tsdown.config.ts +1 -10
  59. package/dist/utils/conditions.cjs +0 -32
  60. package/dist/utils/conditions.cjs.map +0 -1
  61. package/dist/utils/conditions.d.cts +0 -31
  62. package/dist/utils/conditions.d.cts.map +0 -1
  63. package/dist/utils/conditions.d.mts +0 -31
  64. package/dist/utils/conditions.d.mts.map +0 -1
  65. package/dist/utils/conditions.mjs +0 -31
  66. package/dist/utils/conditions.mjs.map +0 -1
  67. package/dist/utils/console-styling.cjs +0 -91
  68. package/dist/utils/console-styling.cjs.map +0 -1
  69. package/dist/utils/console-styling.d.cts +0 -65
  70. package/dist/utils/console-styling.d.cts.map +0 -1
  71. package/dist/utils/console-styling.d.mts +0 -65
  72. package/dist/utils/console-styling.d.mts.map +0 -1
  73. package/dist/utils/console-styling.mjs +0 -85
  74. package/dist/utils/console-styling.mjs.map +0 -1
  75. package/src/utils/__tests__/conditions.test.ts +0 -161
  76. package/src/utils/conditions.ts +0 -116
  77. package/src/utils/console-styling.ts +0 -126
package/dist/index.umd.js CHANGED
@@ -1,8 +1,8 @@
1
1
  (function(global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('graphql'), require('zod'), require('uuid'), require('partial-json'), require('@ag-ui/client')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'graphql', 'zod', 'uuid', 'partial-json', '@ag-ui/client'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.CopilotKitShared = {}), global.GraphQL,global.Zod,global.UUID,global.PartialJSON,global.AgUIClient));
5
- })(this, function(exports, graphql, zod, uuid, partial_json, _ag_ui_client) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('zod'), require('partial-json'), require('@ag-ui/client')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', 'zod', 'partial-json', '@ag-ui/client'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.CopilotKitShared = {}), global.Zod,global.PartialJSON,global.AgUIClient));
5
+ })(this, function(exports, zod, partial_json, _ag_ui_client) {
6
6
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
7
7
  //#region \0rolldown/runtime.js
8
8
  var __create = Object.create;
@@ -58,118 +58,6 @@ partial_json = __toESM(partial_json);
58
58
  }
59
59
  }
60
60
 
61
- //#endregion
62
- //#region src/utils/conditions.ts
63
- function executeConditions({ conditions, value }) {
64
- if (!(conditions === null || conditions === void 0 ? void 0 : conditions.length)) return true;
65
- return conditions.every((condition) => executeCondition(condition, value));
66
- }
67
- function executeCondition(condition, value) {
68
- const targetValue = condition.path ? getValueFromPath(value, condition.path) : value;
69
- switch (condition.rule) {
70
- case "AND": return condition.conditions.every((c) => executeCondition(c, value));
71
- case "OR": return condition.conditions.some((c) => executeCondition(c, value));
72
- case "NOT": return !condition.conditions.every((c) => executeCondition(c, value));
73
- case "EQUALS": return targetValue === condition.value;
74
- case "NOT_EQUALS": return targetValue !== condition.value;
75
- case "GREATER_THAN": return targetValue > condition.value;
76
- case "LESS_THAN": return targetValue < condition.value;
77
- case "CONTAINS": return Array.isArray(targetValue) && targetValue.includes(condition.value);
78
- case "NOT_CONTAINS": return Array.isArray(targetValue) && !targetValue.includes(condition.value);
79
- case "MATCHES": return new RegExp(condition.value).test(String(targetValue));
80
- case "STARTS_WITH": return String(targetValue).startsWith(condition.value);
81
- case "ENDS_WITH": return String(targetValue).endsWith(condition.value);
82
- case "EXISTS": return targetValue !== void 0 && targetValue !== null;
83
- case "NOT_EXISTS": return targetValue === void 0 || targetValue === null;
84
- }
85
- }
86
- function getValueFromPath(obj, path) {
87
- return path.split(".").reduce((acc, part) => acc === null || acc === void 0 ? void 0 : acc[part], obj);
88
- }
89
-
90
- //#endregion
91
- //#region src/utils/console-styling.ts
92
- /**
93
- * Console styling utilities for CopilotKit branded messages
94
- * Provides consistent, readable colors across light and dark console themes
95
- */
96
- /**
97
- * Color palette optimized for console readability
98
- */
99
- const ConsoleColors = {
100
- primary: "#007acc",
101
- success: "#22c55e",
102
- feature: "#a855f7",
103
- cta: "#ef4444",
104
- info: "#06b6d4",
105
- inherit: "inherit",
106
- warning: "#f59e0b"
107
- };
108
- /**
109
- * Console style templates for common patterns
110
- */
111
- const ConsoleStyles = {
112
- header: `color: ${ConsoleColors.warning}; font-weight: bold; font-size: 16px;`,
113
- section: `color: ${ConsoleColors.success}; font-weight: bold;`,
114
- highlight: `color: ${ConsoleColors.feature}; font-weight: bold;`,
115
- cta: `color: ${ConsoleColors.success}; font-weight: bold;`,
116
- info: `color: ${ConsoleColors.info}; font-weight: bold;`,
117
- link: `color: ${ConsoleColors.primary}; text-decoration: underline;`,
118
- body: `color: ${ConsoleColors.inherit};`,
119
- warning: `color: ${ConsoleColors.cta}; font-weight: bold;`
120
- };
121
- /**
122
- * Styled console message for CopilotKit Platform promotion
123
- * Displays a beautiful, branded advertisement in the console
124
- */
125
- function logCopilotKitPlatformMessage() {
126
- console.log(`%cCopilotKit Warning%c
127
-
128
- useCopilotChatHeadless_c provides full compatibility with CopilotKit's newly released Headless UI feature set. Headless UI requires a CopilotKit Intelligence license key, available for free at:
129
-
130
- %chttps://dashboard.operations.copilotkit.ai%c
131
-
132
- Alternatively, useCopilotChat is available for basic programmatic control, and does not require a license key.
133
-
134
- To learn more about CopilotKit Intelligence, read the documentation here:
135
-
136
- %chttps://docs.copilotkit.ai/intelligence/overview%c`, ConsoleStyles.header, ConsoleStyles.body, ConsoleStyles.cta, ConsoleStyles.body, ConsoleStyles.link, ConsoleStyles.body);
137
- }
138
- function publicApiKeyRequired(feature) {
139
- console.log(`
140
- %cCopilotKit Warning%c \n
141
- In order to use ${feature}, you need to add your CopilotKit license key, available for free at https://dashboard.operations.copilotkit.ai.
142
- `.trim(), ConsoleStyles.header, ConsoleStyles.body);
143
- }
144
- /**
145
- * Create a styled console message with custom content
146
- *
147
- * @param template - Template string with %c placeholders
148
- * @param styles - Array of style strings matching the %c placeholders
149
- *
150
- * @example
151
- * ```typescript
152
- * logStyled(
153
- * '%cCopilotKit%c Welcome to the platform!',
154
- * [ConsoleStyles.header, ConsoleStyles.body]
155
- * );
156
- * ```
157
- */
158
- function logStyled(template, styles) {
159
- console.log(template, ...styles);
160
- }
161
- /**
162
- * Quick styled console methods for common use cases
163
- */
164
- const styledConsole = {
165
- success: (message) => logStyled(`%c✅ ${message}`, [ConsoleStyles.section]),
166
- info: (message) => logStyled(`%cℹ️ ${message}`, [ConsoleStyles.info]),
167
- feature: (message) => logStyled(`%c✨ ${message}`, [ConsoleStyles.highlight]),
168
- cta: (message) => logStyled(`%c🚀 ${message}`, [ConsoleStyles.cta]),
169
- logCopilotKitPlatformMessage,
170
- publicApiKeyRequired
171
- };
172
-
173
61
  //#endregion
174
62
  //#region src/utils/errors.ts
175
63
  let Severity = /* @__PURE__ */ function(Severity) {
@@ -191,7 +79,6 @@ In order to use ${feature}, you need to add your CopilotKit license key, availab
191
79
  COPILOT_REMOTE_ENDPOINT_DISCOVERY_ERROR: "CopilotKitRemoteEndpointDiscoveryError",
192
80
  COPILOT_KIT_AGENT_DISCOVERY_ERROR: "CopilotKitAgentDiscoveryError",
193
81
  COPILOT_KIT_LOW_LEVEL_ERROR: "CopilotKitLowLevelError",
194
- COPILOT_KIT_VERSION_MISMATCH_ERROR: "CopilotKitVersionMismatchError",
195
82
  RESOLVED_COPILOT_KIT_ERROR: "ResolvedCopilotKitError",
196
83
  CONFIGURATION_ERROR: "ConfigurationError",
197
84
  MISSING_PUBLIC_API_KEY_ERROR: "MissingPublicApiKeyError",
@@ -296,7 +183,7 @@ In order to use ${feature}, you need to add your CopilotKit license key, availab
296
183
  severity: Severity.INFO
297
184
  }
298
185
  };
299
- var CopilotKitError = class extends graphql.GraphQLError {
186
+ var CopilotKitError = class extends Error {
300
187
  constructor({ message = "Unknown error occurred", code, severity, visibility }) {
301
188
  var _ref;
302
189
  const name = ERROR_NAMES.COPILOT_ERROR;
@@ -304,7 +191,8 @@ In order to use ${feature}, you need to add your CopilotKit license key, availab
304
191
  const { statusCode } = config;
305
192
  const resolvedVisibility = (_ref = visibility !== null && visibility !== void 0 ? visibility : config.visibility) !== null && _ref !== void 0 ? _ref : ErrorVisibility.TOAST;
306
193
  const resolvedSeverity = severity !== null && severity !== void 0 ? severity : "severity" in config ? config.severity : void 0;
307
- super(message, { extensions: {
194
+ super(message);
195
+ this.extensions = {
308
196
  name,
309
197
  statusCode,
310
198
  code,
@@ -315,7 +203,7 @@ In order to use ${feature}, you need to add your CopilotKit license key, availab
315
203
  message,
316
204
  stack: (/* @__PURE__ */ new Error()).stack
317
205
  }
318
- } });
206
+ };
319
207
  this.code = code;
320
208
  this.name = name;
321
209
  this.statusCode = statusCode;
@@ -340,26 +228,6 @@ In order to use ${feature}, you need to add your CopilotKit license key, availab
340
228
  this.name = ERROR_NAMES.COPILOT_API_DISCOVERY_ERROR;
341
229
  }
342
230
  };
343
- const getVersionMismatchErrorMessage = ({ reactCoreVersion, runtimeVersion, runtimeClientGqlVersion }) => `Version mismatch detected: @copilotkit/runtime@${runtimeVersion !== null && runtimeVersion !== void 0 ? runtimeVersion : ""} is not compatible with @copilotkit/react-core@${reactCoreVersion} and @copilotkit/runtime-client-gql@${runtimeClientGqlVersion}. Please ensure all installed copilotkit packages are on the same version.`;
344
- /**
345
- * Error thrown when CPK versions does not match
346
- *
347
- * @extends CopilotKitError
348
- */
349
- var CopilotKitVersionMismatchError = class extends CopilotKitError {
350
- constructor({ reactCoreVersion, runtimeVersion, runtimeClientGqlVersion }) {
351
- const code = CopilotKitErrorCode.VERSION_MISMATCH;
352
- super({
353
- message: getVersionMismatchErrorMessage({
354
- reactCoreVersion,
355
- runtimeVersion,
356
- runtimeClientGqlVersion
357
- }),
358
- code
359
- });
360
- this.name = ERROR_NAMES.COPILOT_KIT_VERSION_MISMATCH_ERROR;
361
- }
362
- };
363
231
  /**
364
232
  * Error thrown when the CopilotKit API endpoint cannot be discovered or accessed.
365
233
  * This typically occurs when:
@@ -550,19 +418,6 @@ In order to use ${feature}, you need to add your CopilotKit license key, availab
550
418
  function ensureStructuredError(error, converter) {
551
419
  return isStructuredCopilotKitError(error) ? error : converter(error);
552
420
  }
553
- async function getPossibleVersionMismatch({ runtimeVersion, runtimeClientGqlVersion }) {
554
- if (!runtimeVersion || runtimeVersion === "" || !runtimeClientGqlVersion) return;
555
- if (COPILOTKIT_VERSION !== runtimeVersion || COPILOTKIT_VERSION !== runtimeClientGqlVersion || runtimeVersion !== runtimeClientGqlVersion) return {
556
- runtimeVersion,
557
- runtimeClientGqlVersion,
558
- reactCoreVersion: COPILOTKIT_VERSION,
559
- message: getVersionMismatchErrorMessage({
560
- runtimeVersion,
561
- runtimeClientGqlVersion,
562
- reactCoreVersion: COPILOTKIT_VERSION
563
- })
564
- };
565
- }
566
421
  const resolveLowLevelErrorMessage = ({ errorCode, url }) => {
567
422
  const troubleshootingLink = ERROR_CONFIG[CopilotKitErrorCode.NETWORK_ERROR].troubleshootingUrl;
568
423
  const genericMessage = (description = `Failed to fetch from url ${url}.`) => `${description}.
@@ -1184,31 +1039,22 @@ ${getSeeMoreMarkdown(troubleshootingLink)}`;
1184
1039
  //#endregion
1185
1040
  //#region src/utils/random-id.ts
1186
1041
  function randomId() {
1187
- return "ck-" + (0, uuid.v4)();
1188
- }
1189
- function randomUUID() {
1190
- return (0, uuid.v4)();
1042
+ return "ck-" + randomUUID();
1191
1043
  }
1192
1044
  /**
1193
- * Recursively converts an object to a serializable form by converting functions to their string representation.
1045
+ * Returns an RFC 4122 version 4 UUID. Uses `crypto.randomUUID()` when it
1046
+ * exists, and builds the UUID from `crypto.getRandomValues()` when it does not
1047
+ * (React Native's Hermes has no `randomUUID`).
1194
1048
  */
1195
- function toSerializable(value) {
1196
- if (typeof value === "function") return value.toString();
1197
- if (Array.isArray(value)) return value.map(toSerializable);
1198
- if (value !== null && typeof value === "object") {
1199
- const result = {};
1200
- for (const key of Object.keys(value)) result[key] = toSerializable(value[key]);
1201
- return result;
1202
- }
1203
- return value;
1204
- }
1205
- function dataToUUID(input, namespace) {
1206
- const BASE_NAMESPACE = "e4b01160-ff74-4c6e-9b27-d53cd930fe8e";
1207
- const boundNamespace = namespace ? (0, uuid.v5)(namespace, BASE_NAMESPACE) : BASE_NAMESPACE;
1208
- return (0, uuid.v5)(typeof input === "string" ? input : JSON.stringify(toSerializable(input)), boundNamespace);
1209
- }
1210
- function isValidUUID(uuid$1) {
1211
- return (0, uuid.validate)(uuid$1);
1049
+ function randomUUID() {
1050
+ const crypto = globalThis.crypto;
1051
+ if (typeof (crypto === null || crypto === void 0 ? void 0 : crypto.randomUUID) === "function") return crypto.randomUUID();
1052
+ if (typeof (crypto === null || crypto === void 0 ? void 0 : crypto.getRandomValues) !== "function") throw new Error("crypto.getRandomValues() is not available. In React Native, install a polyfill such as react-native-get-random-values.");
1053
+ const bytes = crypto.getRandomValues(new Uint8Array(16));
1054
+ bytes[6] = bytes[6] & 15 | 64;
1055
+ bytes[8] = bytes[8] & 63 | 128;
1056
+ const hex = Array.from(bytes, (byte) => byte.toString(16).padStart(2, "0"));
1057
+ return `${hex.slice(0, 4).join("")}-${hex.slice(4, 6).join("")}-${hex.slice(6, 8).join("")}-${hex.slice(8, 10).join("")}-${hex.slice(10).join("")}`;
1212
1058
  }
1213
1059
 
1214
1060
  //#endregion
@@ -2336,7 +2182,7 @@ ${getSeeMoreMarkdown(troubleshootingLink)}`;
2336
2182
 
2337
2183
  //#endregion
2338
2184
  //#region package.json
2339
- var version = "2.0.0-rc.5";
2185
+ var version = "2.0.0-rc.7";
2340
2186
 
2341
2187
  //#endregion
2342
2188
  //#region src/generative-ui/basic-functions.ts
@@ -3857,8 +3703,6 @@ exports.COPILOT_CLOUD_ERROR_NAMES = COPILOT_CLOUD_ERROR_NAMES;
3857
3703
  exports.COPILOT_CLOUD_PUBLIC_API_KEY_HEADER = COPILOT_CLOUD_PUBLIC_API_KEY_HEADER;
3858
3704
  exports.COPILOT_CLOUD_VERSION = COPILOT_CLOUD_VERSION;
3859
3705
  exports.ConfigurationError = ConfigurationError;
3860
- exports.ConsoleColors = ConsoleColors;
3861
- exports.ConsoleStyles = ConsoleStyles;
3862
3706
  exports.CopilotKitAgentDiscoveryError = CopilotKitAgentDiscoveryError;
3863
3707
  exports.CopilotKitApiDiscoveryError = CopilotKitApiDiscoveryError;
3864
3708
  exports.CopilotKitError = CopilotKitError;
@@ -3866,7 +3710,6 @@ exports.CopilotKitErrorCode = CopilotKitErrorCode;
3866
3710
  exports.CopilotKitLowLevelError = CopilotKitLowLevelError;
3867
3711
  exports.CopilotKitMisuseError = CopilotKitMisuseError;
3868
3712
  exports.CopilotKitRemoteEndpointDiscoveryError = CopilotKitRemoteEndpointDiscoveryError;
3869
- exports.CopilotKitVersionMismatchError = CopilotKitVersionMismatchError;
3870
3713
  exports.DEFAULT_AGENT_ID = DEFAULT_AGENT_ID;
3871
3714
  exports.ERROR_CONFIG = ERROR_CONFIG;
3872
3715
  exports.ERROR_NAMES = ERROR_NAMES;
@@ -3921,11 +3764,9 @@ exports.createAttachmentContent = createAttachmentContent;
3921
3764
  exports.createLicenseContextValue = createLicenseContextValue;
3922
3765
  exports.createRowKeyStore = createRowKeyStore;
3923
3766
  exports.createRunEventFinalizer = createRunEventFinalizer;
3924
- exports.dataToUUID = dataToUUID;
3925
3767
  exports.ensureStructuredError = ensureStructuredError;
3926
3768
  exports.envelopeToManifest = envelopeToManifest;
3927
3769
  exports.exceedsMaxSize = exceedsMaxSize;
3928
- exports.executeConditions = executeConditions;
3929
3770
  exports.extractRenderUIArgs = extractRenderUIArgs;
3930
3771
  exports.finalizeRunEvents = finalizeRunEvents;
3931
3772
  exports.firstNonBlankTelemetryId = firstNonBlankTelemetryId;
@@ -3939,7 +3780,6 @@ exports.getDocumentIcon = getDocumentIcon;
3939
3780
  exports.getModalityFromMimeType = getModalityFromMimeType;
3940
3781
  exports.getOperationKind = getOperationKind;
3941
3782
  exports.getOperationSurfaceId = getOperationSurfaceId;
3942
- exports.getPossibleVersionMismatch = getPossibleVersionMismatch;
3943
3783
  exports.getSourceUrl = getSourceUrl;
3944
3784
  exports.getZodParameters = getZodParameters;
3945
3785
  exports.hasBoundChildRef = hasBoundChildRef;
@@ -3952,12 +3792,9 @@ exports.isMacOS = isMacOS;
3952
3792
  exports.isPathBinding = isPathBinding;
3953
3793
  exports.isStructuredCopilotKitError = isStructuredCopilotKitError;
3954
3794
  exports.isTelemetryDisabled = isTelemetryDisabled;
3955
- exports.isValidUUID = isValidUUID;
3956
3795
  exports.isValidationResult = isValidationResult;
3957
3796
  exports.jsonSchemaToActionParameters = jsonSchemaToActionParameters;
3958
3797
  exports.lambdaClient = lambdaClient;
3959
- exports.logCopilotKitPlatformMessage = logCopilotKitPlatformMessage;
3960
- exports.logStyled = logStyled;
3961
3798
  exports.logger = logger;
3962
3799
  exports.mapAtChildRef = mapAtChildRef;
3963
3800
  exports.matchesAcceptFilter = matchesAcceptFilter;
@@ -3972,7 +3809,6 @@ exports.partialJSONParse = partialJSONParse;
3972
3809
  exports.phoenixExponentialBackoff = phoenixExponentialBackoff;
3973
3810
  exports.processEnv = processEnv;
3974
3811
  exports.pruneRowKeyStore = pruneRowKeyStore;
3975
- exports.publicApiKeyRequired = publicApiKeyRequired;
3976
3812
  exports.randomId = randomId;
3977
3813
  exports.randomUUID = randomUUID;
3978
3814
  exports.readBody = readBody;
@@ -3985,7 +3821,6 @@ exports.safeParseToolArgs = safeParseToolArgs;
3985
3821
  exports.schemaToJsonSchema = schemaToJsonSchema;
3986
3822
  exports.shouldEnableInspector = shouldEnableInspector;
3987
3823
  exports.stripIntelligenceRoutingFields = stripIntelligenceRoutingFields;
3988
- exports.styledConsole = styledConsole;
3989
3824
  exports.toA2UIActionMessage = toA2UIActionMessage;
3990
3825
  exports.tryMap = tryMap;
3991
3826
  exports.validateOperation = validateOperation;