@flamingo-stack/openframe-frontend-core 0.0.187 → 0.0.188-snapshot.20260515214641

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 (93) hide show
  1. package/dist/{chunk-FMWHOUFE.js → chunk-6XYXWVYY.js} +2 -2
  2. package/dist/{chunk-ALW3D72O.cjs → chunk-HIMEIPED.cjs} +9 -9
  3. package/dist/{chunk-ALW3D72O.cjs.map → chunk-HIMEIPED.cjs.map} +1 -1
  4. package/dist/{chunk-M36UJN3T.js → chunk-HOMIFMOO.js} +4093 -4091
  5. package/dist/chunk-HOMIFMOO.js.map +1 -0
  6. package/dist/{chunk-RZ3HHPQH.js → chunk-J2C2TI5Z.js} +2174 -2119
  7. package/dist/chunk-J2C2TI5Z.js.map +1 -0
  8. package/dist/{chunk-EUTOT74J.cjs → chunk-SA7CUXAO.cjs} +764 -762
  9. package/dist/chunk-SA7CUXAO.cjs.map +1 -0
  10. package/dist/{chunk-TMD5LDX4.cjs → chunk-VJTFBYVG.cjs} +57 -2
  11. package/dist/{chunk-TMD5LDX4.cjs.map → chunk-VJTFBYVG.cjs.map} +1 -1
  12. package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
  13. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  14. package/dist/components/chat/chat-message-list.d.ts.map +1 -1
  15. package/dist/components/chat/context-compaction-display.d.ts.map +1 -1
  16. package/dist/components/chat/tool-execution-display.d.ts.map +1 -1
  17. package/dist/components/chat/types/api.types.d.ts +2 -6
  18. package/dist/components/chat/types/api.types.d.ts.map +1 -1
  19. package/dist/components/chat/types/message.types.d.ts +20 -0
  20. package/dist/components/chat/types/message.types.d.ts.map +1 -1
  21. package/dist/components/chat/types/network.types.d.ts +2 -0
  22. package/dist/components/chat/types/network.types.d.ts.map +1 -1
  23. package/dist/components/chat/types/processing.types.d.ts +2 -6
  24. package/dist/components/chat/types/processing.types.d.ts.map +1 -1
  25. package/dist/components/chat/utils/chunk-parser.d.ts.map +1 -1
  26. package/dist/components/chat/utils/extract-incomplete-message-state.d.ts +2 -6
  27. package/dist/components/chat/utils/extract-incomplete-message-state.d.ts.map +1 -1
  28. package/dist/components/chat/utils/message-segment-accumulator.d.ts +2 -6
  29. package/dist/components/chat/utils/message-segment-accumulator.d.ts.map +1 -1
  30. package/dist/components/chat/utils/process-historical-messages.d.ts.map +1 -1
  31. package/dist/components/chat/utils/tool-call-helpers.d.ts +21 -2
  32. package/dist/components/chat/utils/tool-call-helpers.d.ts.map +1 -1
  33. package/dist/components/features/index.cjs +4 -4
  34. package/dist/components/features/index.js +3 -3
  35. package/dist/components/icons-v2-generated/index.cjs +4 -2
  36. package/dist/components/icons-v2-generated/index.cjs.map +1 -1
  37. package/dist/components/icons-v2-generated/index.d.ts +1 -0
  38. package/dist/components/icons-v2-generated/index.d.ts.map +1 -1
  39. package/dist/components/icons-v2-generated/index.js +3 -1
  40. package/dist/components/icons-v2-generated/loaders/dots-loader-icon.d.ts +8 -0
  41. package/dist/components/icons-v2-generated/loaders/dots-loader-icon.d.ts.map +1 -0
  42. package/dist/components/icons-v2-generated/loaders/index.d.ts +2 -0
  43. package/dist/components/icons-v2-generated/loaders/index.d.ts.map +1 -0
  44. package/dist/components/index.cjs +4 -6
  45. package/dist/components/index.cjs.map +1 -1
  46. package/dist/components/index.js +3 -5
  47. package/dist/components/navigation/index.cjs +4 -4
  48. package/dist/components/navigation/index.js +3 -3
  49. package/dist/components/ui/index.cjs +4 -6
  50. package/dist/components/ui/index.cjs.map +1 -1
  51. package/dist/components/ui/index.d.ts +0 -1
  52. package/dist/components/ui/index.d.ts.map +1 -1
  53. package/dist/components/ui/index.js +3 -5
  54. package/dist/hooks/index.cjs +3 -3
  55. package/dist/hooks/index.js +2 -2
  56. package/dist/index.cjs +4 -6
  57. package/dist/index.cjs.map +1 -1
  58. package/dist/index.js +3 -5
  59. package/dist/types/marketing.d.ts +1 -1
  60. package/dist/types/marketing.d.ts.map +1 -1
  61. package/dist/types/video-processing.d.ts +2 -1
  62. package/dist/types/video-processing.d.ts.map +1 -1
  63. package/package.json +1 -1
  64. package/src/components/chat/approval-batch-message.tsx +4 -5
  65. package/src/components/chat/chat-message-enhanced.tsx +9 -39
  66. package/src/components/chat/chat-message-list.tsx +57 -0
  67. package/src/components/chat/context-compaction-display.tsx +2 -3
  68. package/src/components/chat/thinking-display.tsx +2 -2
  69. package/src/components/chat/tool-execution-display.tsx +14 -11
  70. package/src/components/chat/types/api.types.ts +2 -2
  71. package/src/components/chat/types/message.types.ts +21 -0
  72. package/src/components/chat/types/network.types.ts +2 -0
  73. package/src/components/chat/types/processing.types.ts +2 -6
  74. package/src/components/chat/utils/chunk-parser.ts +2 -0
  75. package/src/components/chat/utils/extract-incomplete-message-state.ts +4 -2
  76. package/src/components/chat/utils/message-segment-accumulator.ts +11 -2
  77. package/src/components/chat/utils/process-historical-messages.ts +2 -0
  78. package/src/components/chat/utils/tool-call-helpers.ts +97 -14
  79. package/src/components/icons-v2/loaders/dots-loader.svg +1 -0
  80. package/src/components/icons-v2-generated/index.ts +1 -0
  81. package/src/components/icons-v2-generated/loaders/dots-loader-icon.tsx +53 -0
  82. package/src/components/icons-v2-generated/loaders/index.ts +1 -0
  83. package/src/components/ui/index.ts +0 -2
  84. package/src/stories/DotsLoaderIcon.stories.tsx +103 -0
  85. package/src/types/marketing.ts +1 -0
  86. package/src/types/video-processing.ts +3 -0
  87. package/dist/chunk-EUTOT74J.cjs.map +0 -1
  88. package/dist/chunk-M36UJN3T.js.map +0 -1
  89. package/dist/chunk-RZ3HHPQH.js.map +0 -1
  90. package/dist/components/ui/pulse-dots.d.ts +0 -7
  91. package/dist/components/ui/pulse-dots.d.ts.map +0 -1
  92. package/src/components/ui/pulse-dots.tsx +0 -56
  93. /package/dist/{chunk-FMWHOUFE.js.map → chunk-6XYXWVYY.js.map} +0 -0
@@ -17,7 +17,7 @@ import {
17
17
  OsqueryLogoGreyIcon,
18
18
  TacticalRmmLogoIcon,
19
19
  XmarkIcon
20
- } from "./chunk-RZ3HHPQH.js";
20
+ } from "./chunk-J2C2TI5Z.js";
21
21
 
22
22
  // src/hooks/ui/use-debounce.ts
23
23
  import { useState, useEffect } from "react";
@@ -3194,4 +3194,4 @@ export {
3194
3194
  useNatsClient,
3195
3195
  useNearViewport
3196
3196
  };
3197
- //# sourceMappingURL=chunk-FMWHOUFE.js.map
3197
+ //# sourceMappingURL=chunk-6XYXWVYY.js.map
@@ -17,7 +17,7 @@ var _chunkOFAYLG6Dcjs = require('./chunk-OFAYLG6D.cjs');
17
17
 
18
18
 
19
19
 
20
- var _chunkTMD5LDX4cjs = require('./chunk-TMD5LDX4.cjs');
20
+ var _chunkVJTFBYVGcjs = require('./chunk-VJTFBYVG.cjs');
21
21
 
22
22
  // src/hooks/ui/use-debounce.ts
23
23
  var _react = require('react'); var React = _interopRequireWildcard(_react);
@@ -1058,14 +1058,14 @@ var renderOpenFrameLogo = (_size, className) => (
1058
1058
  )
1059
1059
  );
1060
1060
  var toolIconMap = {
1061
- [ToolTypeValues.FLEET_MDM]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTMD5LDX4cjs.FleetMdmLogoIcon, { size, className }),
1062
- [ToolTypeValues.MESHCENTRAL]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTMD5LDX4cjs.MeshcentralLogoIcon, { size, className }),
1063
- [ToolTypeValues.TACTICAL_RMM]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTMD5LDX4cjs.TacticalRmmLogoIcon, { size, className }),
1061
+ [ToolTypeValues.FLEET_MDM]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVJTFBYVGcjs.FleetMdmLogoIcon, { size, className }),
1062
+ [ToolTypeValues.MESHCENTRAL]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVJTFBYVGcjs.MeshcentralLogoIcon, { size, className }),
1063
+ [ToolTypeValues.TACTICAL_RMM]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVJTFBYVGcjs.TacticalRmmLogoIcon, { size, className }),
1064
1064
  [ToolTypeValues.OPENFRAME]: renderOpenFrameLogo,
1065
1065
  [ToolTypeValues.OPENFRAME_CHAT]: renderOpenFrameLogo,
1066
1066
  [ToolTypeValues.OPENFRAME_CLIENT]: renderOpenFrameLogo,
1067
- [ToolTypeValues.AUTHENTIK]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTMD5LDX4cjs.AuthentikLogoIcon, { size, className }),
1068
- [ToolTypeValues.OSQUERY]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTMD5LDX4cjs.OsqueryLogoGreyIcon, { size, className }),
1067
+ [ToolTypeValues.AUTHENTIK]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVJTFBYVGcjs.AuthentikLogoIcon, { size, className }),
1068
+ [ToolTypeValues.OSQUERY]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVJTFBYVGcjs.OsqueryLogoGreyIcon, { size, className }),
1069
1069
  [ToolTypeValues.SYSTEM]: () => null
1070
1070
  };
1071
1071
  var ToolIcon = ({ toolType, size = 16, className }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: _nullishCoalesce(_optionalChain([toolIconMap, 'access', _6 => _6[toolType], 'optionalCall', _7 => _7(size, className)]), () => ( null)) });
@@ -1118,7 +1118,7 @@ function ToastHeader({
1118
1118
  "aria-label": "Close",
1119
1119
  onClick: () => _sonner.toast.dismiss(id),
1120
1120
  className: "absolute right-[7px] top-[7px] flex size-4 items-center justify-center text-ods-text-secondary transition-colors hover:text-ods-text-primary",
1121
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTMD5LDX4cjs.XmarkIcon, { size: 16 })
1121
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVJTFBYVGcjs.XmarkIcon, { size: 16 })
1122
1122
  }
1123
1123
  ) : null,
1124
1124
  showProgress && duration !== Infinity && duration > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1264,7 +1264,7 @@ function CommandApprovalToast({
1264
1264
  "aria-expanded": false,
1265
1265
  children: [
1266
1266
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-1", children: "Show Command" }),
1267
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTMD5LDX4cjs.Chevron02DownIcon, { size: 16 })
1267
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVJTFBYVGcjs.Chevron02DownIcon, { size: 16 })
1268
1268
  ]
1269
1269
  }
1270
1270
  )
@@ -3194,4 +3194,4 @@ function useNearViewport(rootMargin = "500px") {
3194
3194
 
3195
3195
 
3196
3196
  exports.useAutoLimitTags = useAutoLimitTags; exports.platformIcons = platformIcons; exports.platformColors = platformColors; exports.platformDisplayNames = platformDisplayNames; exports.platformDescriptions = platformDescriptions; exports.platformSlogans = platformSlogans; exports.platformHexColors = platformHexColors; exports.platformIconNames = platformIconNames; exports.getDefaultColorForPlatform = getDefaultColorForPlatform; exports.getDefaultIconForPlatform = getDefaultIconForPlatform; exports.transformPlatformConfigsToOptions = transformPlatformConfigsToOptions; exports.getPlatformIcon = getPlatformIcon; exports.getPlatformColor = getPlatformColor; exports.getPlatformDisplayName = getPlatformDisplayName; exports.getPlatformDescription = getPlatformDescription; exports.getPlatformSlogan = getPlatformSlogan; exports.getSmallPlatformIcon = getSmallPlatformIcon; exports.getPlatformIconComponent = getPlatformIconComponent; exports.ToolTypeValues = ToolTypeValues; exports.toolLabels = toolLabels; exports.useDebounce = useDebounce; exports.useLocalStorage = useLocalStorage; exports.useMediaQuery = useMediaQuery; exports.breakpoints = breakpoints; exports.useSmUp = useSmUp; exports.useMdUp = useMdUp; exports.useLgUp = useLgUp; exports.useMemoizedCallback = useMemoizedCallback; exports.useOnboardingState = useOnboardingState; exports.useTablePagination = useTablePagination; exports.useThrottle = useThrottle; exports.useWindowSize = useWindowSize; exports.useHorizontalScrollbar = useHorizontalScrollbar; exports.useImageEdgeColor = useImageEdgeColor; exports.useSearch = useSearch; exports.usePlatformConfig = usePlatformConfig; exports.usePlatformByValue = usePlatformByValue; exports.useValidatePlatform = useValidatePlatform; exports.ToolIcon = ToolIcon; exports.dotColorByVariant = dotColorByVariant; exports.progressColorByVariant = progressColorByVariant; exports.ToastCard = ToastCard; exports.CommandApprovalToast = CommandApprovalToast; exports.Toaster = Toaster; exports.showToast = showToast; exports.showCommandApprovalToast = showCommandApprovalToast; exports.toast = toast; exports.useToast = useToast; exports.useContactSubmission = useContactSubmission; exports.useQuickActionHint = useQuickActionHint; exports.useCopyToClipboard = useCopyToClipboard; exports.configureBatchImageFetch = configureBatchImageFetch; exports.batchFetchAuthenticatedImages = batchFetchAuthenticatedImages; exports.useBatchImages = useBatchImages; exports.configureAuthenticatedImage = configureAuthenticatedImage; exports.useAuthenticatedImage = useAuthenticatedImage; exports.extractVariablesFromQuery = extractVariablesFromQuery; exports.isScalarType = isScalarType; exports.isInputObjectType = isInputObjectType; exports.flattenQueryVariables = flattenQueryVariables; exports.mergeDefaults = mergeDefaults; exports.validateSchema = validateSchema; exports.getArrayParams = getArrayParams; exports.getRequiredParams = getRequiredParams; exports.shouldIncludeInUrl = shouldIncludeInUrl; exports.urlParamsToVariables = urlParamsToVariables; exports.variablesToUrlParams = variablesToUrlParams; exports.coerceValue = coerceValue; exports.setNestedValue = setNestedValue; exports.getNestedValue = getNestedValue; exports.mergeVariables = mergeVariables; exports.clearParams = clearParams; exports.validateVariables = validateVariables; exports.GraphQLIntrospector = GraphQLIntrospector; exports.introspector = introspector; exports.useQueryParams = useQueryParams; exports.useApiParams = useApiParams; exports.createSearchParams = createSearchParams; exports.useCursorPaginationState = useCursorPaginationState; exports.createNatsClient = createNatsClient; exports.useNatsClient = useNatsClient; exports.useNearViewport = useNearViewport;
3197
- //# sourceMappingURL=chunk-ALW3D72O.cjs.map
3197
+ //# sourceMappingURL=chunk-HIMEIPED.cjs.map