@appilots/sdk 0.8.0 → 0.11.0

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.js CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkH7BMQTXH_js = require('./chunk-H7BMQTXH.js');
4
- var chunkN7EAOLBP_js = require('./chunk-N7EAOLBP.js');
5
- var chunkAYWMBMSN_js = require('./chunk-AYWMBMSN.js');
3
+ var chunkIZEWWAA7_js = require('./chunk-IZEWWAA7.js');
4
+ var chunk2YPEQTL2_js = require('./chunk-2YPEQTL2.js');
5
+ var chunk55Y2AQE7_js = require('./chunk-55Y2AQE7.js');
6
6
  var React7 = require('react');
7
7
  var reactNative = require('react-native');
8
8
  var reactNativeSafeAreaContext = require('react-native-safe-area-context');
@@ -31,16 +31,30 @@ function _interopNamespace(e) {
31
31
  var React7__namespace = /*#__PURE__*/_interopNamespace(React7);
32
32
  var Svg__default = /*#__PURE__*/_interopDefault(Svg);
33
33
 
34
+ var NO_INSETS = { top: 0, right: 0, bottom: 0, left: 0 };
35
+ var _warned = false;
36
+ function useSafeAreaInsetsOrDefault() {
37
+ const insets = React7.useContext(reactNativeSafeAreaContext.SafeAreaInsetsContext);
38
+ if (insets) return insets;
39
+ if (!_warned) {
40
+ _warned = true;
41
+ console.warn(
42
+ "[Appilots] <AppilotsChat> found no <SafeAreaProvider> above it, so it is laying out with zero safe-area insets and may sit under the notch or the home indicator. Render <SafeAreaProvider> (from react-native-safe-area-context) at the root of your app, ABOVE <AppilotsProvider> \u2014 a provider nested inside your navigator does not cover a chat rendered as its sibling."
43
+ );
44
+ }
45
+ return NO_INSETS;
46
+ }
47
+
34
48
  // src/components/breadcrumbPresentation.ts
35
49
  var DEFAULT_BREADCRUMB_PALETTE = {
36
- primary: chunkAYWMBMSN_js.defaultLightTheme.colors.primary,
37
- text: chunkAYWMBMSN_js.defaultLightTheme.colors.text,
38
- textSecondary: chunkAYWMBMSN_js.defaultLightTheme.colors.textSecondary,
39
- surface: chunkAYWMBMSN_js.defaultLightTheme.colors.surface,
40
- border: chunkAYWMBMSN_js.defaultLightTheme.colors.border,
41
- success: chunkAYWMBMSN_js.defaultLightTheme.colors.success,
42
- warning: chunkAYWMBMSN_js.defaultLightTheme.colors.warning,
43
- error: chunkAYWMBMSN_js.defaultLightTheme.colors.error
50
+ primary: chunk55Y2AQE7_js.defaultLightTheme.colors.primary,
51
+ text: chunk55Y2AQE7_js.defaultLightTheme.colors.text,
52
+ textSecondary: chunk55Y2AQE7_js.defaultLightTheme.colors.textSecondary,
53
+ surface: chunk55Y2AQE7_js.defaultLightTheme.colors.surface,
54
+ border: chunk55Y2AQE7_js.defaultLightTheme.colors.border,
55
+ success: chunk55Y2AQE7_js.defaultLightTheme.colors.success,
56
+ warning: chunk55Y2AQE7_js.defaultLightTheme.colors.warning,
57
+ error: chunk55Y2AQE7_js.defaultLightTheme.colors.error
44
58
  };
45
59
  var KNOWN_TINTS = {
46
60
  [DEFAULT_BREADCRUMB_PALETTE.primary.toUpperCase()]: "#EEF2FF",
@@ -80,13 +94,24 @@ function isDestructiveAction(action) {
80
94
  return action.payload?.destructive === true || action.destructive === true;
81
95
  }
82
96
  DEFAULT_BREADCRUMB_PALETTE.error;
83
- function deriveConfirmCardContent(action, palette = DEFAULT_BREADCRUMB_PALETTE) {
97
+ var PT_BR_CONFIRM_FALLBACK = {
98
+ confirmDestructiveTitle: "A\xE7\xE3o destrutiva",
99
+ confirmTitle: "Confirma\xE7\xE3o necess\xE1ria",
100
+ confirmMessage: 'Tem certeza que deseja "{action}"?',
101
+ confirmDestructiveApprove: "Sim, executar",
102
+ confirmApprove: "Confirmar",
103
+ confirmCancel: "Cancelar",
104
+ confirmThisAction: "esta a\xE7\xE3o"
105
+ };
106
+ function deriveConfirmCardContent(action, palette = DEFAULT_BREADCRUMB_PALETTE, strings) {
84
107
  const payload = action.payload ?? {};
85
108
  const isDestructive = isDestructiveAction(action);
86
- const message = typeof payload.message === "string" && payload.message || typeof payload.actionDescription === "string" && payload.actionDescription || "Confirme para prosseguir";
87
- const title = typeof payload.title === "string" && payload.title || (isDestructive ? "A\xE7\xE3o destrutiva" : "Confirma\xE7\xE3o necess\xE1ria");
88
- const confirmLabel = typeof payload.confirmLabel === "string" && payload.confirmLabel || (isDestructive ? "Sim, executar" : "Confirmar");
89
- const cancelLabel = typeof payload.cancelLabel === "string" && payload.cancelLabel || "Cancelar";
109
+ const copy = { ...PT_BR_CONFIRM_FALLBACK, ...strings ?? {} };
110
+ const actionName = typeof payload.actionDescription === "string" && payload.actionDescription || copy.confirmThisAction;
111
+ const message = typeof payload.message === "string" && payload.message || copy.confirmMessage.replace("{action}", actionName);
112
+ const title = typeof payload.title === "string" && payload.title || (isDestructive ? copy.confirmDestructiveTitle : copy.confirmTitle);
113
+ const confirmLabel = typeof payload.confirmLabel === "string" && payload.confirmLabel || (isDestructive ? copy.confirmDestructiveApprove : copy.confirmApprove);
114
+ const cancelLabel = typeof payload.cancelLabel === "string" && payload.cancelLabel || copy.confirmCancel;
90
115
  return {
91
116
  isDestructive,
92
117
  title,
@@ -110,6 +135,7 @@ function ActionBreadcrumb({
110
135
  textColor,
111
136
  fontFamily,
112
137
  palette,
138
+ confirmStrings,
113
139
  requireApprovalFor,
114
140
  onApprove,
115
141
  onReject
@@ -130,6 +156,7 @@ function ActionBreadcrumb({
130
156
  textColor,
131
157
  fontFamily,
132
158
  palette: resolvedPalette,
159
+ confirmStrings,
133
160
  needsApproval: requireApprovalFor?.(action) ?? false,
134
161
  onApprove,
135
162
  onReject
@@ -145,6 +172,7 @@ function BreadcrumbRow(props) {
145
172
  action,
146
173
  palette: props.palette,
147
174
  fontFamily: props.fontFamily,
175
+ confirmStrings: props.confirmStrings,
148
176
  onApprove: props.onApprove,
149
177
  onReject: props.onReject
150
178
  }
@@ -162,7 +190,7 @@ function RegularBreadcrumbRow({
162
190
  onApprove,
163
191
  onReject
164
192
  }) {
165
- const { label, state } = chunkAYWMBMSN_js.describeAction(action);
193
+ const { label, state } = chunk55Y2AQE7_js.describeAction(action);
166
194
  const tone = deriveStateTone(palette)[state];
167
195
  const fade = React7.useRef(new reactNative.Animated.Value(0)).current;
168
196
  const pulse = React7.useRef(new reactNative.Animated.Value(1)).current;
@@ -185,25 +213,26 @@ function RegularBreadcrumbRow({
185
213
  }).start();
186
214
  }, [state, pulse]);
187
215
  const isDestructive = isDestructiveAction(action);
188
- return /* @__PURE__ */ React7__namespace.default.createElement(reactNative.Animated.View, { style: [styles.row, { opacity: fade }] }, /* @__PURE__ */ React7__namespace.default.createElement(reactNative.Animated.View, { style: { opacity: pulse, flexDirection: "row", alignItems: "flex-start", flex: 1 } }, /* @__PURE__ */ React7__namespace.default.createElement(StateIcon, { state, tone, primaryColor }), /* @__PURE__ */ React7__namespace.default.createElement(
189
- reactNative.Text,
216
+ return /* @__PURE__ */ React7__namespace.default.createElement(reactNative.Animated.View, { style: [styles.row, { opacity: fade }] }, /* @__PURE__ */ React7__namespace.default.createElement(
217
+ reactNative.Animated.View,
190
218
  {
191
- style: [
192
- styles.label,
193
- { color: state === "failed" ? tone.color : textColor, fontFamily }
194
- ],
195
- accessibilityLabel: `${state}: ${label}`
219
+ style: { opacity: pulse, flexDirection: "row", alignItems: "flex-start", flex: 1 }
196
220
  },
197
- label,
198
- isDestructive && /* @__PURE__ */ React7__namespace.default.createElement(reactNative.Text, { style: [styles.destructiveTag, { color: palette.error }] }, " \u26A0 destrutiva")
199
- )), needsApproval && action.status === "pending" && onApprove && onReject && /* @__PURE__ */ React7__namespace.default.createElement(reactNative.View, { style: styles.approvalButtons }, /* @__PURE__ */ React7__namespace.default.createElement(
221
+ /* @__PURE__ */ React7__namespace.default.createElement(StateIcon, { state, tone, primaryColor }),
222
+ /* @__PURE__ */ React7__namespace.default.createElement(
223
+ reactNative.Text,
224
+ {
225
+ style: [styles.label, { color: state === "failed" ? tone.color : textColor, fontFamily }],
226
+ accessibilityLabel: `${state}: ${label}`
227
+ },
228
+ label,
229
+ isDestructive && /* @__PURE__ */ React7__namespace.default.createElement(reactNative.Text, { style: [styles.destructiveTag, { color: palette.error }] }, " \u26A0 destrutiva")
230
+ )
231
+ ), needsApproval && action.status === "pending" && onApprove && onReject && /* @__PURE__ */ React7__namespace.default.createElement(reactNative.View, { style: styles.approvalButtons }, /* @__PURE__ */ React7__namespace.default.createElement(
200
232
  reactNative.TouchableOpacity,
201
233
  {
202
234
  onPress: () => onReject(action.id),
203
- style: [
204
- styles.btn,
205
- { backgroundColor: deriveStateTone(palette).failed.iconBg }
206
- ],
235
+ style: [styles.btn, { backgroundColor: deriveStateTone(palette).failed.iconBg }],
207
236
  activeOpacity: 0.7,
208
237
  accessibilityLabel: "Rejeitar a\xE7\xE3o"
209
238
  },
@@ -219,7 +248,14 @@ function RegularBreadcrumbRow({
219
248
  /* @__PURE__ */ React7__namespace.default.createElement(reactNative.Text, { style: styles.approveBtnText }, "Aprovar")
220
249
  )));
221
250
  }
222
- function ConfirmCard({ action, palette, fontFamily, onApprove, onReject }) {
251
+ function ConfirmCard({
252
+ action,
253
+ palette,
254
+ fontFamily,
255
+ confirmStrings,
256
+ onApprove,
257
+ onReject
258
+ }) {
223
259
  const {
224
260
  isDestructive,
225
261
  title,
@@ -233,7 +269,7 @@ function ConfirmCard({ action, palette, fontFamily, onApprove, onReject }) {
233
269
  messageColor,
234
270
  cancelBackground,
235
271
  cancelTextColor
236
- } = deriveConfirmCardContent(action, palette);
272
+ } = deriveConfirmCardContent(action, palette, confirmStrings);
237
273
  return /* @__PURE__ */ React7__namespace.default.createElement(
238
274
  reactNative.View,
239
275
  {
@@ -862,7 +898,7 @@ var styles2 = reactNative.StyleSheet.create({
862
898
  textDecorationLine: "underline"
863
899
  }
864
900
  });
865
- var ThemeContext = React7.createContext(chunkAYWMBMSN_js.defaultLightTheme);
901
+ var ThemeContext = React7.createContext(chunk55Y2AQE7_js.defaultLightTheme);
866
902
  function AppilotsThemeProvider({
867
903
  theme,
868
904
  mode = "auto",
@@ -870,7 +906,7 @@ function AppilotsThemeProvider({
870
906
  }) {
871
907
  const systemScheme = reactNative.useColorScheme();
872
908
  const tokens = React7.useMemo(
873
- () => chunkAYWMBMSN_js.mergeThemeTokens(chunkAYWMBMSN_js.resolveBaseTheme(mode, systemScheme), theme ?? void 0),
909
+ () => chunk55Y2AQE7_js.mergeThemeTokens(chunk55Y2AQE7_js.resolveBaseTheme(mode, systemScheme), theme ?? void 0),
874
910
  [mode, systemScheme, theme]
875
911
  );
876
912
  return /* @__PURE__ */ React7__namespace.default.createElement(ThemeContext.Provider, { value: tokens }, children);
@@ -981,6 +1017,13 @@ var ptBR = {
981
1017
  approve: "Aprovar",
982
1018
  reject: "Rejeitar",
983
1019
  cancelledByUser: "Cancelado pelo usu\xE1rio",
1020
+ confirmDestructiveTitle: "A\xE7\xE3o destrutiva",
1021
+ confirmTitle: "Confirma\xE7\xE3o necess\xE1ria",
1022
+ confirmMessage: 'Tem certeza que deseja "{action}"?',
1023
+ confirmDestructiveApprove: "Sim, executar",
1024
+ confirmApprove: "Confirmar",
1025
+ confirmCancel: "Cancelar",
1026
+ confirmThisAction: "esta a\xE7\xE3o",
984
1027
  unknownAction: "A\xE7\xE3o desconhecida",
985
1028
  somethingWentWrong: "Algo deu errado",
986
1029
  openChatA11y: "Abrir chat do assistente",
@@ -1012,6 +1055,13 @@ var en = {
1012
1055
  approve: "Approve",
1013
1056
  reject: "Reject",
1014
1057
  cancelledByUser: "Cancelled by user",
1058
+ confirmDestructiveTitle: "Destructive action",
1059
+ confirmTitle: "Confirmation needed",
1060
+ confirmMessage: 'Are you sure you want to "{action}"?',
1061
+ confirmDestructiveApprove: "Yes, do it",
1062
+ confirmApprove: "Confirm",
1063
+ confirmCancel: "Cancel",
1064
+ confirmThisAction: "this action",
1015
1065
  unknownAction: "Unknown action",
1016
1066
  somethingWentWrong: "Something went wrong",
1017
1067
  openChatA11y: "Open assistant chat",
@@ -1043,6 +1093,13 @@ var es = {
1043
1093
  approve: "Aprobar",
1044
1094
  reject: "Rechazar",
1045
1095
  cancelledByUser: "Cancelado por el usuario",
1096
+ confirmDestructiveTitle: "Acci\xF3n destructiva",
1097
+ confirmTitle: "Confirmaci\xF3n necesaria",
1098
+ confirmMessage: '\xBFSeguro que quieres "{action}"?',
1099
+ confirmDestructiveApprove: "S\xED, ejecutar",
1100
+ confirmApprove: "Confirmar",
1101
+ confirmCancel: "Cancelar",
1102
+ confirmThisAction: "esta acci\xF3n",
1046
1103
  unknownAction: "Acci\xF3n desconocida",
1047
1104
  somethingWentWrong: "Algo sali\xF3 mal",
1048
1105
  openChatA11y: "Abrir chat del asistente",
@@ -1151,12 +1208,12 @@ var APPILOTS_SKIP_PROPS = {
1151
1208
  __appilotsInternal: true
1152
1209
  };
1153
1210
  function AppilotsChat(props) {
1154
- const { degraded } = chunkAYWMBMSN_js.useAppilotsContext();
1211
+ const { degraded } = chunk55Y2AQE7_js.useAppilotsContext();
1155
1212
  if (degraded) return null;
1156
- return /* @__PURE__ */ React7__namespace.default.createElement(chunkAYWMBMSN_js.AppilotsErrorBoundary, { surface: "chat", fallback: null }, /* @__PURE__ */ React7__namespace.default.createElement(AppilotsChatSurface, { ...props }));
1213
+ return /* @__PURE__ */ React7__namespace.default.createElement(chunk55Y2AQE7_js.AppilotsErrorBoundary, { surface: "chat", fallback: null }, /* @__PURE__ */ React7__namespace.default.createElement(AppilotsChatSurface, { ...props }));
1157
1214
  }
1158
1215
  function AppilotsChatSurface(props) {
1159
- const { remotePersonalization } = chunkAYWMBMSN_js.useAppilotsContext();
1216
+ const { remotePersonalization } = chunk55Y2AQE7_js.useAppilotsContext();
1160
1217
  const themeProp = React7.useMemo(() => {
1161
1218
  if (!props.theme) return void 0;
1162
1219
  return isLegacyTheme(props.theme) ? translateLegacyTheme(props.theme) : props.theme;
@@ -1199,7 +1256,7 @@ function AppilotsChatInner({
1199
1256
  clearMessages,
1200
1257
  escalation,
1201
1258
  requestHuman
1202
- } = chunkN7EAOLBP_js.useAppilotsChat({
1259
+ } = chunk2YPEQTL2_js.useAppilotsChat({
1203
1260
  errorPrefix: t("somethingWentWrong"),
1204
1261
  escalationStrings: {
1205
1262
  requested: t("escalationRequested"),
@@ -1208,14 +1265,8 @@ function AppilotsChatInner({
1208
1265
  offer: t("escalationOffer")
1209
1266
  }
1210
1267
  });
1211
- const {
1212
- pendingActions,
1213
- executingActions,
1214
- completedActions,
1215
- approveAction,
1216
- rejectAction
1217
- } = chunkN7EAOLBP_js.useAppilotsActions({ autoExecute });
1218
- const { emit, remotePersonalization } = chunkAYWMBMSN_js.useAppilotsContext();
1268
+ const { pendingActions, executingActions, completedActions, approveAction, rejectAction } = chunk2YPEQTL2_js.useAppilotsActions({ autoExecute });
1269
+ const { emit, remotePersonalization } = chunk55Y2AQE7_js.useAppilotsContext();
1219
1270
  const {
1220
1271
  headerTitle: resolvedTitle,
1221
1272
  assistantAvatar,
@@ -1245,18 +1296,18 @@ function AppilotsChatInner({
1245
1296
  }
1246
1297
  return void 0;
1247
1298
  }, [messages]);
1248
- const insets = reactNativeSafeAreaContext.useSafeAreaInsets();
1299
+ const insets = useSafeAreaInsetsOrDefault();
1249
1300
  const [internalVisible, setInternalVisible] = React7.useState(mode === "inline");
1250
1301
  const [inputText, setInputText] = React7.useState("");
1251
1302
  const flatListRef = React7.useRef(null);
1252
1303
  const slideAnim = React7.useRef(new reactNative.Animated.Value(SCREEN_HEIGHT)).current;
1253
1304
  const isVisible = mode === "inline" ? true : controlledVisible !== void 0 ? controlledVisible : internalVisible;
1254
- const showSuggestedPrompts = chunkN7EAOLBP_js.shouldShowSuggestedPrompts({
1305
+ const showSuggestedPrompts = chunk2YPEQTL2_js.shouldShowSuggestedPrompts({
1255
1306
  isVisible,
1256
1307
  messageCount: messages.length,
1257
1308
  inputText
1258
1309
  });
1259
- const { prompts: suggestedPrompts } = chunkN7EAOLBP_js.useSuggestedPrompts({
1310
+ const { prompts: suggestedPrompts } = chunk2YPEQTL2_js.useSuggestedPrompts({
1260
1311
  enabled: showSuggestedPrompts,
1261
1312
  limit: 3
1262
1313
  });
@@ -1430,6 +1481,15 @@ function AppilotsChatInner({
1430
1481
  primaryColor: theme.colors.primary,
1431
1482
  textColor: theme.colors.text,
1432
1483
  fontFamily: theme.typography.fontFamily,
1484
+ confirmStrings: {
1485
+ confirmDestructiveTitle: strings.confirmDestructiveTitle,
1486
+ confirmTitle: strings.confirmTitle,
1487
+ confirmMessage: strings.confirmMessage,
1488
+ confirmDestructiveApprove: strings.confirmDestructiveApprove,
1489
+ confirmApprove: strings.confirmApprove,
1490
+ confirmCancel: strings.confirmCancel,
1491
+ confirmThisAction: strings.confirmThisAction
1492
+ },
1433
1493
  palette: {
1434
1494
  textSecondary: theme.colors.textSecondary,
1435
1495
  surface: theme.colors.surface,
@@ -1535,7 +1595,15 @@ function AppilotsChatInner({
1535
1595
  color: escalation ? theme.colors.primary : theme.colors.textSecondary
1536
1596
  }
1537
1597
  )
1538
- ), /* @__PURE__ */ React7__namespace.default.createElement(reactNative.TouchableOpacity, { ...APPILOTS_SKIP_PROPS, onPress: clearMessages, style: styles3.headerButton }, /* @__PURE__ */ React7__namespace.default.createElement(reactNative.Text, { style: [styles3.headerButtonText, { color: theme.colors.textSecondary }] }, strings.clearButton)), mode !== "inline" && /* @__PURE__ */ React7__namespace.default.createElement(
1598
+ ), /* @__PURE__ */ React7__namespace.default.createElement(
1599
+ reactNative.TouchableOpacity,
1600
+ {
1601
+ ...APPILOTS_SKIP_PROPS,
1602
+ onPress: clearMessages,
1603
+ style: styles3.headerButton
1604
+ },
1605
+ /* @__PURE__ */ React7__namespace.default.createElement(reactNative.Text, { style: [styles3.headerButtonText, { color: theme.colors.textSecondary }] }, strings.clearButton)
1606
+ ), mode !== "inline" && /* @__PURE__ */ React7__namespace.default.createElement(
1539
1607
  reactNative.TouchableOpacity,
1540
1608
  {
1541
1609
  ...APPILOTS_SKIP_PROPS,
@@ -1600,10 +1668,7 @@ function AppilotsChatInner({
1600
1668
  ) : /* @__PURE__ */ React7__namespace.default.createElement(
1601
1669
  reactNative.View,
1602
1670
  {
1603
- style: [
1604
- styles3.emptyIconBadge,
1605
- { backgroundColor: theme.colors.primary + "14" }
1606
- ]
1671
+ style: [styles3.emptyIconBadge, { backgroundColor: theme.colors.primary + "14" }]
1607
1672
  },
1608
1673
  emptyStateIcon ? /* @__PURE__ */ React7__namespace.default.createElement(reactNative.Text, { style: styles3.emptyIconEmoji }, emptyStateIcon) : /* @__PURE__ */ React7__namespace.default.createElement(ChatIcon, { size: 30, color: theme.colors.primary })
1609
1674
  ), /* @__PURE__ */ React7__namespace.default.createElement(
@@ -2134,66 +2199,101 @@ var styles3 = reactNative.StyleSheet.create({
2134
2199
  function ConfirmDialog(_props = {}) {
2135
2200
  return null;
2136
2201
  }
2202
+
2203
+ // src/hoc/canHoldRef.ts
2204
+ var FORWARD_REF = /* @__PURE__ */ Symbol.for("react.forward_ref");
2205
+ var MEMO = /* @__PURE__ */ Symbol.for("react.memo");
2206
+ var LAZY = /* @__PURE__ */ Symbol.for("react.lazy");
2207
+ function canHoldRef(type) {
2208
+ if (typeof type === "string") return true;
2209
+ if (!type) return false;
2210
+ const t = type;
2211
+ if (t.prototype?.isReactComponent) return true;
2212
+ switch (t.$$typeof) {
2213
+ case FORWARD_REF:
2214
+ return true;
2215
+ // memo(X) holds a ref only when X does. memo(forwardRef(f)) is the
2216
+ // common shape and must keep working.
2217
+ case MEMO:
2218
+ return canHoldRef(t.type);
2219
+ // lazy() resolves at render time; the payload is not inspectable here.
2220
+ // Assume it can — refusing a ref to something that wanted one is a
2221
+ // silent behaviour change, and lazy() is rare in this position.
2222
+ case LAZY:
2223
+ return true;
2224
+ default:
2225
+ return false;
2226
+ }
2227
+ }
2228
+
2229
+ // src/hoc/createAppilotsInput.tsx
2137
2230
  function normalizeId(label) {
2138
2231
  return label.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/[^a-z0-9\s]/g, "").trim().replace(/\s+(.)/g, (_, c) => c.toUpperCase());
2139
2232
  }
2140
2233
  function createAppilotsInput(WrappedComponent) {
2141
- const AppilotsInput = React7__namespace.default.forwardRef(
2142
- (props, ref) => {
2143
- const {
2144
- appilotsId,
2145
- appilotsScreen,
2146
- appilotsFieldType = "text",
2147
- appilotsEnabled = true,
2148
- label,
2149
- value,
2150
- onChangeText,
2151
- ...rest
2152
- } = props;
2153
- const fieldId = appilotsId || (label ? normalizeId(label) : null);
2154
- const valueRef = React7.useRef(value ?? "");
2155
- const onChangeRef = React7.useRef(onChangeText);
2156
- const innerRef = React7.useRef(null);
2157
- valueRef.current = value ?? "";
2158
- onChangeRef.current = onChangeText;
2159
- const getValue = React7.useCallback(() => valueRef.current, []);
2160
- const setValue = React7.useCallback((v) => onChangeRef.current?.(v), []);
2161
- const focus = React7.useCallback(() => {
2162
- innerRef.current?.focus?.();
2163
- }, []);
2164
- React7.useEffect(() => {
2165
- if (!fieldId || !appilotsEnabled) return;
2166
- const entry = {
2167
- kind: "field",
2168
- getValue,
2169
- setValue,
2170
- focus,
2171
- fieldType: appilotsFieldType,
2172
- label: label ?? fieldId,
2173
- screen: appilotsScreen
2174
- };
2175
- chunkAYWMBMSN_js.componentRegistry.register(fieldId, entry);
2176
- return () => {
2177
- chunkAYWMBMSN_js.componentRegistry.unregister(fieldId);
2178
- };
2179
- }, [fieldId, appilotsEnabled, getValue, setValue, focus, appilotsFieldType, label, appilotsScreen]);
2180
- const mergedRef = React7.useCallback(
2181
- (instance) => {
2182
- innerRef.current = instance;
2183
- if (typeof ref === "function") ref(instance);
2184
- else if (ref) ref.current = instance;
2185
- },
2186
- [ref]
2187
- );
2188
- return /* @__PURE__ */ React7__namespace.default.createElement(
2189
- WrappedComponent,
2190
- {
2191
- ...{ label, value, onChangeText, ...rest },
2192
- ref: mergedRef
2193
- }
2194
- );
2195
- }
2196
- );
2234
+ const AppilotsInput = React7__namespace.default.forwardRef((props, ref) => {
2235
+ const {
2236
+ appilotsId,
2237
+ appilotsScreen,
2238
+ appilotsFieldType = "text",
2239
+ appilotsEnabled = true,
2240
+ label,
2241
+ value,
2242
+ onChangeText,
2243
+ ...rest
2244
+ } = props;
2245
+ const fieldId = appilotsId || (label ? normalizeId(label) : null);
2246
+ const valueRef = React7.useRef(value ?? "");
2247
+ const onChangeRef = React7.useRef(onChangeText);
2248
+ const innerRef = React7.useRef(null);
2249
+ valueRef.current = value ?? "";
2250
+ onChangeRef.current = onChangeText;
2251
+ const getValue = React7.useCallback(() => valueRef.current, []);
2252
+ const setValue = React7.useCallback((v) => onChangeRef.current?.(v), []);
2253
+ const focus = React7.useCallback(() => {
2254
+ innerRef.current?.focus?.();
2255
+ }, []);
2256
+ React7.useEffect(() => {
2257
+ if (!fieldId || !appilotsEnabled) return;
2258
+ const entry = {
2259
+ kind: "field",
2260
+ getValue,
2261
+ setValue,
2262
+ focus,
2263
+ fieldType: appilotsFieldType,
2264
+ label: label ?? fieldId,
2265
+ screen: appilotsScreen
2266
+ };
2267
+ chunk55Y2AQE7_js.componentRegistry.register(fieldId, entry);
2268
+ return () => {
2269
+ chunk55Y2AQE7_js.componentRegistry.unregister(fieldId);
2270
+ };
2271
+ }, [
2272
+ fieldId,
2273
+ appilotsEnabled,
2274
+ getValue,
2275
+ setValue,
2276
+ focus,
2277
+ appilotsFieldType,
2278
+ label,
2279
+ appilotsScreen
2280
+ ]);
2281
+ const mergedRef = React7.useCallback(
2282
+ (instance) => {
2283
+ innerRef.current = instance;
2284
+ if (typeof ref === "function") ref(instance);
2285
+ else if (ref) ref.current = instance;
2286
+ },
2287
+ [ref]
2288
+ );
2289
+ return /* @__PURE__ */ React7__namespace.default.createElement(
2290
+ WrappedComponent,
2291
+ {
2292
+ ...{ label, value, onChangeText, ...rest },
2293
+ ...canHoldRef(WrappedComponent) ? { ref: mergedRef } : {}
2294
+ }
2295
+ );
2296
+ });
2197
2297
  AppilotsInput.displayName = `AppilotsInput(${WrappedComponent.displayName || WrappedComponent.name || "Component"})`;
2198
2298
  return AppilotsInput;
2199
2299
  }
@@ -2201,42 +2301,40 @@ function normalizeId2(label) {
2201
2301
  return label.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/[^a-z0-9\s]/g, "").trim().replace(/\s+(.)/g, (_, c) => c.toUpperCase());
2202
2302
  }
2203
2303
  function createAppilotsButton(WrappedComponent) {
2204
- const AppilotsButton = React7__namespace.default.forwardRef(
2205
- (props, ref) => {
2206
- const {
2207
- appilotsId,
2208
- appilotsScreen,
2209
- appilotsEnabled = true,
2210
- title,
2211
- onPress,
2212
- ...rest
2213
- } = props;
2214
- const targetId = appilotsId || (title ? normalizeId2(title) : null);
2215
- const onPressRef = React7.useRef(onPress);
2216
- onPressRef.current = onPress;
2217
- const press = React7.useCallback(() => onPressRef.current?.(), []);
2218
- React7.useEffect(() => {
2219
- if (!targetId || !appilotsEnabled) return;
2220
- const entry = {
2221
- kind: "target",
2222
- press,
2223
- label: title ?? targetId,
2224
- screen: appilotsScreen
2225
- };
2226
- chunkAYWMBMSN_js.componentRegistry.register(targetId, entry);
2227
- return () => {
2228
- chunkAYWMBMSN_js.componentRegistry.unregister(targetId);
2229
- };
2230
- }, [targetId, appilotsEnabled, press, title, appilotsScreen]);
2231
- return /* @__PURE__ */ React7__namespace.default.createElement(
2232
- WrappedComponent,
2233
- {
2234
- ...{ title, onPress, ...rest },
2235
- ref
2236
- }
2237
- );
2238
- }
2239
- );
2304
+ const AppilotsButton = React7__namespace.default.forwardRef((props, ref) => {
2305
+ const {
2306
+ appilotsId,
2307
+ appilotsScreen,
2308
+ appilotsEnabled = true,
2309
+ title,
2310
+ onPress,
2311
+ ...rest
2312
+ } = props;
2313
+ const targetId = appilotsId || (title ? normalizeId2(title) : null);
2314
+ const onPressRef = React7.useRef(onPress);
2315
+ onPressRef.current = onPress;
2316
+ const press = React7.useCallback(() => onPressRef.current?.(), []);
2317
+ React7.useEffect(() => {
2318
+ if (!targetId || !appilotsEnabled) return;
2319
+ const entry = {
2320
+ kind: "target",
2321
+ press,
2322
+ label: title ?? targetId,
2323
+ screen: appilotsScreen
2324
+ };
2325
+ chunk55Y2AQE7_js.componentRegistry.register(targetId, entry);
2326
+ return () => {
2327
+ chunk55Y2AQE7_js.componentRegistry.unregister(targetId);
2328
+ };
2329
+ }, [targetId, appilotsEnabled, press, title, appilotsScreen]);
2330
+ return /* @__PURE__ */ React7__namespace.default.createElement(
2331
+ WrappedComponent,
2332
+ {
2333
+ ...{ title, onPress, ...rest },
2334
+ ...canHoldRef(WrappedComponent) ? { ref } : {}
2335
+ }
2336
+ );
2337
+ });
2240
2338
  AppilotsButton.displayName = `AppilotsButton(${WrappedComponent.displayName || WrappedComponent.name || "Component"})`;
2241
2339
  return AppilotsButton;
2242
2340
  }
@@ -2244,214 +2342,224 @@ function normalizeId3(label) {
2244
2342
  return label.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/[^a-z0-9\s]/g, "").trim().replace(/\s+(.)/g, (_, c) => c.toUpperCase());
2245
2343
  }
2246
2344
  function createAppilotsSwitch(WrappedComponent) {
2247
- const AppilotsSwitch = React7__namespace.default.forwardRef(
2248
- (props, ref) => {
2249
- const {
2250
- appilotsId,
2251
- appilotsScreen,
2252
- appilotsEnabled = true,
2253
- label,
2254
- value,
2255
- onValueChange,
2256
- ...rest
2257
- } = props;
2258
- const toggleId = appilotsId || (label ? normalizeId3(label) : null);
2259
- const valueRef = React7.useRef(value ?? false);
2260
- const onChangeRef = React7.useRef(onValueChange);
2261
- valueRef.current = value ?? false;
2262
- onChangeRef.current = onValueChange;
2263
- const getValue = React7.useCallback(() => valueRef.current, []);
2264
- const setValue = React7.useCallback((v) => onChangeRef.current?.(v), []);
2265
- React7.useEffect(() => {
2266
- if (!toggleId || !appilotsEnabled) return;
2267
- const entry = {
2268
- kind: "toggle",
2269
- getValue,
2270
- setValue,
2271
- label: label ?? toggleId,
2272
- screen: appilotsScreen
2273
- };
2274
- chunkAYWMBMSN_js.componentRegistry.register(toggleId, entry);
2275
- return () => {
2276
- chunkAYWMBMSN_js.componentRegistry.unregister(toggleId);
2277
- };
2278
- }, [toggleId, appilotsEnabled, getValue, setValue, label, appilotsScreen]);
2279
- return /* @__PURE__ */ React7__namespace.default.createElement(
2280
- WrappedComponent,
2281
- {
2282
- ...{ label, value, onValueChange, ...rest },
2283
- ref
2284
- }
2285
- );
2286
- }
2287
- );
2345
+ const AppilotsSwitch = React7__namespace.default.forwardRef((props, ref) => {
2346
+ const {
2347
+ appilotsId,
2348
+ appilotsScreen,
2349
+ appilotsEnabled = true,
2350
+ label,
2351
+ value,
2352
+ onValueChange,
2353
+ ...rest
2354
+ } = props;
2355
+ const toggleId = appilotsId || (label ? normalizeId3(label) : null);
2356
+ const valueRef = React7.useRef(value ?? false);
2357
+ const onChangeRef = React7.useRef(onValueChange);
2358
+ valueRef.current = value ?? false;
2359
+ onChangeRef.current = onValueChange;
2360
+ const getValue = React7.useCallback(() => valueRef.current, []);
2361
+ const setValue = React7.useCallback((v) => onChangeRef.current?.(v), []);
2362
+ React7.useEffect(() => {
2363
+ if (!toggleId || !appilotsEnabled) return;
2364
+ const entry = {
2365
+ kind: "toggle",
2366
+ getValue,
2367
+ setValue,
2368
+ label: label ?? toggleId,
2369
+ screen: appilotsScreen
2370
+ };
2371
+ chunk55Y2AQE7_js.componentRegistry.register(toggleId, entry);
2372
+ return () => {
2373
+ chunk55Y2AQE7_js.componentRegistry.unregister(toggleId);
2374
+ };
2375
+ }, [toggleId, appilotsEnabled, getValue, setValue, label, appilotsScreen]);
2376
+ return /* @__PURE__ */ React7__namespace.default.createElement(
2377
+ WrappedComponent,
2378
+ {
2379
+ ...{ label, value, onValueChange, ...rest },
2380
+ ...canHoldRef(WrappedComponent) ? { ref } : {}
2381
+ }
2382
+ );
2383
+ });
2288
2384
  AppilotsSwitch.displayName = `AppilotsSwitch(${WrappedComponent.displayName || WrappedComponent.name || "Component"})`;
2289
2385
  return AppilotsSwitch;
2290
2386
  }
2291
2387
 
2292
2388
  Object.defineProperty(exports, "AppilotsNavigationContainer", {
2293
2389
  enumerable: true,
2294
- get: function () { return chunkH7BMQTXH_js.AppilotsNavigationContainer; }
2390
+ get: function () { return chunkIZEWWAA7_js.AppilotsNavigationContainer; }
2391
+ });
2392
+ Object.defineProperty(exports, "appilotsSelfCheck", {
2393
+ enumerable: true,
2394
+ get: function () { return chunk2YPEQTL2_js.appilotsSelfCheck; }
2295
2395
  });
2296
2396
  Object.defineProperty(exports, "captureSnapshot", {
2297
2397
  enumerable: true,
2298
- get: function () { return chunkN7EAOLBP_js.captureSnapshot; }
2398
+ get: function () { return chunk2YPEQTL2_js.captureSnapshot; }
2299
2399
  });
2300
2400
  Object.defineProperty(exports, "executeAction", {
2301
2401
  enumerable: true,
2302
- get: function () { return chunkN7EAOLBP_js.executeAction; }
2402
+ get: function () { return chunk2YPEQTL2_js.executeAction; }
2303
2403
  });
2304
2404
  Object.defineProperty(exports, "useAppilots", {
2305
2405
  enumerable: true,
2306
- get: function () { return chunkN7EAOLBP_js.useAppilots; }
2406
+ get: function () { return chunk2YPEQTL2_js.useAppilots; }
2307
2407
  });
2308
2408
  Object.defineProperty(exports, "useAppilotsActions", {
2309
2409
  enumerable: true,
2310
- get: function () { return chunkN7EAOLBP_js.useAppilotsActions; }
2410
+ get: function () { return chunk2YPEQTL2_js.useAppilotsActions; }
2311
2411
  });
2312
2412
  Object.defineProperty(exports, "useAppilotsChat", {
2313
2413
  enumerable: true,
2314
- get: function () { return chunkN7EAOLBP_js.useAppilotsChat; }
2414
+ get: function () { return chunk2YPEQTL2_js.useAppilotsChat; }
2315
2415
  });
2316
2416
  Object.defineProperty(exports, "useAppilotsField", {
2317
2417
  enumerable: true,
2318
- get: function () { return chunkN7EAOLBP_js.useAppilotsField; }
2418
+ get: function () { return chunk2YPEQTL2_js.useAppilotsField; }
2319
2419
  });
2320
2420
  Object.defineProperty(exports, "useAppilotsNavigation", {
2321
2421
  enumerable: true,
2322
- get: function () { return chunkN7EAOLBP_js.useAppilotsNavigation; }
2422
+ get: function () { return chunk2YPEQTL2_js.useAppilotsNavigation; }
2323
2423
  });
2324
2424
  Object.defineProperty(exports, "useAppilotsSlider", {
2325
2425
  enumerable: true,
2326
- get: function () { return chunkN7EAOLBP_js.useAppilotsSlider; }
2426
+ get: function () { return chunk2YPEQTL2_js.useAppilotsSlider; }
2327
2427
  });
2328
2428
  Object.defineProperty(exports, "useAppilotsTarget", {
2329
2429
  enumerable: true,
2330
- get: function () { return chunkN7EAOLBP_js.useAppilotsTarget; }
2430
+ get: function () { return chunk2YPEQTL2_js.useAppilotsTarget; }
2331
2431
  });
2332
2432
  Object.defineProperty(exports, "useAppilotsToggle", {
2333
2433
  enumerable: true,
2334
- get: function () { return chunkN7EAOLBP_js.useAppilotsToggle; }
2434
+ get: function () { return chunk2YPEQTL2_js.useAppilotsToggle; }
2335
2435
  });
2336
2436
  Object.defineProperty(exports, "useSuggestedPrompts", {
2337
2437
  enumerable: true,
2338
- get: function () { return chunkN7EAOLBP_js.useSuggestedPrompts; }
2438
+ get: function () { return chunk2YPEQTL2_js.useSuggestedPrompts; }
2339
2439
  });
2340
2440
  Object.defineProperty(exports, "AppilotsClient", {
2341
2441
  enumerable: true,
2342
- get: function () { return chunkAYWMBMSN_js.AppilotsClient; }
2442
+ get: function () { return chunk55Y2AQE7_js.AppilotsClient; }
2343
2443
  });
2344
2444
  Object.defineProperty(exports, "AppilotsProvider", {
2345
2445
  enumerable: true,
2346
- get: function () { return chunkAYWMBMSN_js.AppilotsProvider; }
2446
+ get: function () { return chunk55Y2AQE7_js.AppilotsProvider; }
2347
2447
  });
2348
2448
  Object.defineProperty(exports, "AppilotsRegistryProvider", {
2349
2449
  enumerable: true,
2350
- get: function () { return chunkAYWMBMSN_js.AppilotsRegistryProvider; }
2450
+ get: function () { return chunk55Y2AQE7_js.AppilotsRegistryProvider; }
2351
2451
  });
2352
2452
  Object.defineProperty(exports, "RateLimitedError", {
2353
2453
  enumerable: true,
2354
- get: function () { return chunkAYWMBMSN_js.RateLimitedError; }
2454
+ get: function () { return chunk55Y2AQE7_js.RateLimitedError; }
2355
2455
  });
2356
2456
  Object.defineProperty(exports, "SDK_VERSION", {
2357
2457
  enumerable: true,
2358
- get: function () { return chunkAYWMBMSN_js.SDK_VERSION; }
2458
+ get: function () { return chunk55Y2AQE7_js.SDK_VERSION; }
2359
2459
  });
2360
2460
  Object.defineProperty(exports, "_patchJsxRuntimes", {
2361
2461
  enumerable: true,
2362
- get: function () { return chunkAYWMBMSN_js._patchJsxRuntimes; }
2462
+ get: function () { return chunk55Y2AQE7_js._patchJsxRuntimes; }
2363
2463
  });
2364
2464
  Object.defineProperty(exports, "clearAppilotsDebugTraces", {
2365
2465
  enumerable: true,
2366
- get: function () { return chunkAYWMBMSN_js.clearAppilotsDebugTraces; }
2466
+ get: function () { return chunk55Y2AQE7_js.clearAppilotsDebugTraces; }
2367
2467
  });
2368
2468
  Object.defineProperty(exports, "componentRegistry", {
2369
2469
  enumerable: true,
2370
- get: function () { return chunkAYWMBMSN_js.componentRegistry; }
2470
+ get: function () { return chunk55Y2AQE7_js.componentRegistry; }
2371
2471
  });
2372
2472
  Object.defineProperty(exports, "createComponentRegistry", {
2373
2473
  enumerable: true,
2374
- get: function () { return chunkAYWMBMSN_js.createComponentRegistry; }
2474
+ get: function () { return chunk55Y2AQE7_js.createComponentRegistry; }
2375
2475
  });
2376
2476
  Object.defineProperty(exports, "createElementRegistry", {
2377
2477
  enumerable: true,
2378
- get: function () { return chunkAYWMBMSN_js.createElementRegistry; }
2478
+ get: function () { return chunk55Y2AQE7_js.createElementRegistry; }
2379
2479
  });
2380
2480
  Object.defineProperty(exports, "createListRegistry", {
2381
2481
  enumerable: true,
2382
- get: function () { return chunkAYWMBMSN_js.createListRegistry; }
2482
+ get: function () { return chunk55Y2AQE7_js.createListRegistry; }
2383
2483
  });
2384
2484
  Object.defineProperty(exports, "defaultDarkTheme", {
2385
2485
  enumerable: true,
2386
- get: function () { return chunkAYWMBMSN_js.defaultDarkTheme; }
2486
+ get: function () { return chunk55Y2AQE7_js.defaultDarkTheme; }
2387
2487
  });
2388
2488
  Object.defineProperty(exports, "defaultLightTheme", {
2389
2489
  enumerable: true,
2390
- get: function () { return chunkAYWMBMSN_js.defaultLightTheme; }
2490
+ get: function () { return chunk55Y2AQE7_js.defaultLightTheme; }
2391
2491
  });
2392
2492
  Object.defineProperty(exports, "describeAction", {
2393
2493
  enumerable: true,
2394
- get: function () { return chunkAYWMBMSN_js.describeAction; }
2494
+ get: function () { return chunk55Y2AQE7_js.describeAction; }
2395
2495
  });
2396
2496
  Object.defineProperty(exports, "elementRegistry", {
2397
2497
  enumerable: true,
2398
- get: function () { return chunkAYWMBMSN_js.elementRegistry; }
2498
+ get: function () { return chunk55Y2AQE7_js.elementRegistry; }
2399
2499
  });
2400
2500
  Object.defineProperty(exports, "enableAppilotsAutoTracking", {
2401
2501
  enumerable: true,
2402
- get: function () { return chunkAYWMBMSN_js.enableAppilotsAutoTracking; }
2502
+ get: function () { return chunk55Y2AQE7_js.enableAppilotsAutoTracking; }
2403
2503
  });
2404
2504
  Object.defineProperty(exports, "getAppilotsDebugTraces", {
2405
2505
  enumerable: true,
2406
- get: function () { return chunkAYWMBMSN_js.getAppilotsDebugTraces; }
2506
+ get: function () { return chunk55Y2AQE7_js.getAppilotsDebugTraces; }
2507
+ });
2508
+ Object.defineProperty(exports, "getAutoTrackingState", {
2509
+ enumerable: true,
2510
+ get: function () { return chunk55Y2AQE7_js.getAutoTrackingState; }
2407
2511
  });
2408
2512
  Object.defineProperty(exports, "getGlobalConfig", {
2409
2513
  enumerable: true,
2410
- get: function () { return chunkAYWMBMSN_js.getGlobalConfig; }
2514
+ get: function () { return chunk55Y2AQE7_js.getGlobalConfig; }
2411
2515
  });
2412
2516
  Object.defineProperty(exports, "getIntrospectionDiagnostics", {
2413
2517
  enumerable: true,
2414
- get: function () { return chunkAYWMBMSN_js.getIntrospectionDiagnostics; }
2518
+ get: function () { return chunk55Y2AQE7_js.getIntrospectionDiagnostics; }
2415
2519
  });
2416
2520
  Object.defineProperty(exports, "humanizeError", {
2417
2521
  enumerable: true,
2418
- get: function () { return chunkAYWMBMSN_js.humanizeError; }
2522
+ get: function () { return chunk55Y2AQE7_js.humanizeError; }
2419
2523
  });
2420
2524
  Object.defineProperty(exports, "initAppilots", {
2421
2525
  enumerable: true,
2422
- get: function () { return chunkAYWMBMSN_js.initAppilots; }
2526
+ get: function () { return chunk55Y2AQE7_js.initAppilots; }
2423
2527
  });
2424
2528
  Object.defineProperty(exports, "isAutoTrackingEnabled", {
2425
2529
  enumerable: true,
2426
- get: function () { return chunkAYWMBMSN_js.isAutoTrackingEnabled; }
2530
+ get: function () { return chunk55Y2AQE7_js.isAutoTrackingEnabled; }
2427
2531
  });
2428
2532
  Object.defineProperty(exports, "listRegistry", {
2429
2533
  enumerable: true,
2430
- get: function () { return chunkAYWMBMSN_js.listRegistry; }
2534
+ get: function () { return chunk55Y2AQE7_js.listRegistry; }
2431
2535
  });
2432
2536
  Object.defineProperty(exports, "mergeThemeTokens", {
2433
2537
  enumerable: true,
2434
- get: function () { return chunkAYWMBMSN_js.mergeThemeTokens; }
2538
+ get: function () { return chunk55Y2AQE7_js.mergeThemeTokens; }
2435
2539
  });
2436
2540
  Object.defineProperty(exports, "recordAppilotsDebugTrace", {
2437
2541
  enumerable: true,
2438
- get: function () { return chunkAYWMBMSN_js.recordAppilotsDebugTrace; }
2542
+ get: function () { return chunk55Y2AQE7_js.recordAppilotsDebugTrace; }
2439
2543
  });
2440
2544
  Object.defineProperty(exports, "registerScreen", {
2441
2545
  enumerable: true,
2442
- get: function () { return chunkAYWMBMSN_js.registerScreen; }
2546
+ get: function () { return chunk55Y2AQE7_js.registerScreen; }
2547
+ });
2548
+ Object.defineProperty(exports, "setCurrentScreen", {
2549
+ enumerable: true,
2550
+ get: function () { return chunk55Y2AQE7_js.setCurrentScreen; }
2443
2551
  });
2444
2552
  Object.defineProperty(exports, "subscribeAppilotsDebugTraces", {
2445
2553
  enumerable: true,
2446
- get: function () { return chunkAYWMBMSN_js.subscribeAppilotsDebugTraces; }
2554
+ get: function () { return chunk55Y2AQE7_js.subscribeAppilotsDebugTraces; }
2447
2555
  });
2448
2556
  Object.defineProperty(exports, "useAppilotsContext", {
2449
2557
  enumerable: true,
2450
- get: function () { return chunkAYWMBMSN_js.useAppilotsContext; }
2558
+ get: function () { return chunk55Y2AQE7_js.useAppilotsContext; }
2451
2559
  });
2452
2560
  Object.defineProperty(exports, "useResolvedRegistry", {
2453
2561
  enumerable: true,
2454
- get: function () { return chunkAYWMBMSN_js.useResolvedRegistry; }
2562
+ get: function () { return chunk55Y2AQE7_js.useResolvedRegistry; }
2455
2563
  });
2456
2564
  exports.ActionBreadcrumb = ActionBreadcrumb;
2457
2565
  exports.AppilotsChat = AppilotsChat;