langgraph-ui-components 0.0.29 → 0.0.31

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 (586) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +102 -1
  3. package/dist/_virtual/index.cjs.js +1 -1
  4. package/dist/_virtual/index.cjs3.js +1 -1
  5. package/dist/_virtual/index.es.js +1 -1
  6. package/dist/_virtual/index.es3.js +1 -1
  7. package/dist/assets/langgraph-ui-components.css +1 -1
  8. package/dist/components/AskUserInterrupt.cjs.js +2 -0
  9. package/dist/components/AskUserInterrupt.cjs.js.map +1 -0
  10. package/dist/components/AskUserInterrupt.d.ts +3 -0
  11. package/dist/components/AskUserInterrupt.d.ts.map +1 -0
  12. package/dist/components/AskUserInterrupt.es.js +90 -0
  13. package/dist/components/AskUserInterrupt.es.js.map +1 -0
  14. package/dist/components/ChatBody.cjs.js +2 -2
  15. package/dist/components/ChatBody.cjs.js.map +1 -1
  16. package/dist/components/ChatBody.d.ts.map +1 -1
  17. package/dist/components/ChatBody.es.js +184 -156
  18. package/dist/components/ChatBody.es.js.map +1 -1
  19. package/dist/components/threads/ThreadHistory.cjs.js +1 -1
  20. package/dist/components/threads/ThreadHistory.cjs.js.map +1 -1
  21. package/dist/components/threads/ThreadHistory.es.js +1 -1
  22. package/dist/components/ui/button.cjs.js +1 -1
  23. package/dist/components/ui/button.cjs.js.map +1 -1
  24. package/dist/components/ui/button.es.js +1 -1
  25. package/dist/components/ui/hover-card.cjs.js +1 -1
  26. package/dist/components/ui/hover-card.es.js +1 -1
  27. package/dist/components/ui/syntax-highlighter.cjs.js +1 -1
  28. package/dist/components/ui/syntax-highlighter.es.js +1 -1
  29. package/dist/components/ui/tooltip.cjs.js +1 -1
  30. package/dist/components/ui/tooltip.es.js +1 -1
  31. package/dist/entries/components.cjs.js +1 -1
  32. package/dist/entries/components.d.ts +2 -0
  33. package/dist/entries/components.d.ts.map +1 -1
  34. package/dist/entries/components.es.js +6 -4
  35. package/dist/entries/components.es.js.map +1 -1
  36. package/dist/entries/hooks.cjs.js +1 -1
  37. package/dist/entries/hooks.es.js +4 -4
  38. package/dist/index.cjs.js +1 -1
  39. package/dist/index.d.ts +2 -0
  40. package/dist/index.d.ts.map +1 -1
  41. package/dist/index.es.js +27 -25
  42. package/dist/index.es.js.map +1 -1
  43. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/OverloadYield.cjs.js.map +1 -1
  44. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/OverloadYield.es.js.map +1 -1
  45. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.cjs.js.map +1 -1
  46. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.es.js.map +1 -1
  47. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.cjs.js.map +1 -1
  48. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.es.js.map +1 -1
  49. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.cjs.js.map +1 -1
  50. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.es.js.map +1 -1
  51. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.cjs.js.map +1 -1
  52. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.es.js.map +1 -1
  53. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/classCallCheck.cjs.js.map +1 -1
  54. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/classCallCheck.es.js.map +1 -1
  55. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/createClass.cjs.js.map +1 -1
  56. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/createClass.es.js.map +1 -1
  57. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs.js.map +1 -1
  58. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/defineProperty.es.js.map +1 -1
  59. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/extends.cjs.js.map +1 -1
  60. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/extends.es.js.map +1 -1
  61. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.cjs.js.map +1 -1
  62. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.es.js.map +1 -1
  63. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/inherits.cjs.js.map +1 -1
  64. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/inherits.es.js.map +1 -1
  65. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/iterableToArray.cjs.js.map +1 -1
  66. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/iterableToArray.es.js.map +1 -1
  67. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.cjs.js.map +1 -1
  68. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.es.js.map +1 -1
  69. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.cjs.js.map +1 -1
  70. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.es.js.map +1 -1
  71. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.cjs.js.map +1 -1
  72. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.es.js.map +1 -1
  73. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.cjs.js.map +1 -1
  74. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.es.js.map +1 -1
  75. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.cjs.js.map +1 -1
  76. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.es.js.map +1 -1
  77. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/toConsumableArray.cjs.js.map +1 -1
  78. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/toConsumableArray.es.js.map +1 -1
  79. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs.js.map +1 -1
  80. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/toPrimitive.es.js.map +1 -1
  81. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs.js.map +1 -1
  82. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/toPropertyKey.es.js.map +1 -1
  83. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/typeof.cjs.js.map +1 -1
  84. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/typeof.es.js.map +1 -1
  85. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.cjs.js.map +1 -1
  86. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.es.js.map +1 -1
  87. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/interopRequireDefault.cjs.js.map +1 -1
  88. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/interopRequireDefault.es.js.map +1 -1
  89. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regenerator.cjs.js.map +1 -1
  90. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regenerator.es.js.map +1 -1
  91. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorAsync.cjs.js.map +1 -1
  92. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorAsync.es.js.map +1 -1
  93. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.cjs.js.map +1 -1
  94. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.es.js.map +1 -1
  95. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.cjs.js.map +1 -1
  96. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.es.js.map +1 -1
  97. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorDefine.cjs.js.map +1 -1
  98. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorDefine.es.js.map +1 -1
  99. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorKeys.cjs.js.map +1 -1
  100. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorKeys.es.js.map +1 -1
  101. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorRuntime.cjs.js.map +1 -1
  102. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorRuntime.es.js.map +1 -1
  103. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorValues.cjs.js.map +1 -1
  104. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorValues.es.js.map +1 -1
  105. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/typeof.cjs.js.map +1 -1
  106. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/typeof.es.js.map +1 -1
  107. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/regenerator/index.cjs.js.map +1 -1
  108. package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/regenerator/index.es.js.map +1 -1
  109. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.cjs.js +2 -0
  110. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.cjs.js.map +1 -0
  111. package/dist/node_modules/.pnpm/{@floating-ui_core@1.7.4 → @floating-ui_core@1.7.5}/node_modules/@floating-ui/core/dist/floating-ui.core.es.js +171 -171
  112. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.es.js.map +1 -0
  113. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs.js +2 -0
  114. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs.js.map +1 -0
  115. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js +404 -0
  116. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js.map +1 -0
  117. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.8_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs.js +2 -0
  118. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.8_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs.js.map +1 -0
  119. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.8_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.es.js +233 -0
  120. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.8_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.es.js.map +1 -0
  121. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs.js +2 -0
  122. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs.js.map +1 -0
  123. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs.js +2 -0
  124. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs.js.map +1 -0
  125. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js +137 -0
  126. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js.map +1 -0
  127. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js +129 -0
  128. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js.map +1 -0
  129. package/dist/node_modules/.pnpm/{@radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react@1_726887138b06cecc526c86d039243443 → @radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react@_e05f2c19a58a99fddf374207b5e3778c}/node_modules/@radix-ui/react-arrow/dist/index.cjs.js +1 -1
  130. package/dist/node_modules/.pnpm/{@radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react@1_726887138b06cecc526c86d039243443 → @radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react@_e05f2c19a58a99fddf374207b5e3778c}/node_modules/@radix-ui/react-arrow/dist/index.cjs.js.map +1 -1
  131. package/dist/node_modules/.pnpm/{@radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react@1_726887138b06cecc526c86d039243443 → @radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react@_e05f2c19a58a99fddf374207b5e3778c}/node_modules/@radix-ui/react-arrow/dist/index.es.js +1 -1
  132. package/dist/node_modules/.pnpm/{@radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react@1_726887138b06cecc526c86d039243443 → @radix-ui_react-arrow@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react@_e05f2c19a58a99fddf374207b5e3778c}/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +1 -1
  133. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.js.map +1 -0
  134. package/dist/node_modules/.pnpm/{@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.js.map → @radix-ui_react-compose-refs@1.1.2_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map} +1 -1
  135. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-context/dist/index.cjs.js.map +1 -0
  136. package/dist/node_modules/.pnpm/{@radix-ui_react-context@1.1.2_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-context/dist/index.cjs.js.map → @radix-ui_react-context@1.1.2_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-context/dist/index.es.js.map} +1 -1
  137. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.14___3d3960154a4c07d09bb90cb341135fc5/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.js +2 -0
  138. package/dist/node_modules/.pnpm/{@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.8__@_46f922aa9b9357a2c290dea87cc3edf9 → @radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.14___3d3960154a4c07d09bb90cb341135fc5}/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.js.map +1 -1
  139. package/dist/node_modules/.pnpm/{@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.8__@_46f922aa9b9357a2c290dea87cc3edf9 → @radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.14___3d3960154a4c07d09bb90cb341135fc5}/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +4 -4
  140. package/dist/node_modules/.pnpm/{@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.8__@_46f922aa9b9357a2c290dea87cc3edf9 → @radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.14___3d3960154a4c07d09bb90cb341135fc5}/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -1
  141. package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.14__@types__7ad81962fbdf173de4beb0078b2863c0/node_modules/@radix-ui/react-hover-card/dist/index.cjs.js +2 -0
  142. package/dist/node_modules/.pnpm/{@radix-ui_react-hover-card@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.8__@types_r_d43d49df692658c2ae5a37550ec322f6 → @radix-ui_react-hover-card@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.14__@types__7ad81962fbdf173de4beb0078b2863c0}/node_modules/@radix-ui/react-hover-card/dist/index.cjs.js.map +1 -1
  143. package/dist/node_modules/.pnpm/{@radix-ui_react-hover-card@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.8__@types_r_d43d49df692658c2ae5a37550ec322f6 → @radix-ui_react-hover-card@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.14__@types__7ad81962fbdf173de4beb0078b2863c0}/node_modules/@radix-ui/react-hover-card/dist/index.es.js +8 -8
  144. package/dist/node_modules/.pnpm/{@radix-ui_react-hover-card@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.8__@types_r_d43d49df692658c2ae5a37550ec322f6 → @radix-ui_react-hover-card@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.14__@types__7ad81962fbdf173de4beb0078b2863c0}/node_modules/@radix-ui/react-hover-card/dist/index.es.js.map +1 -1
  145. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-id/dist/index.cjs.js +2 -0
  146. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-id/dist/index.cjs.js.map +1 -0
  147. package/dist/node_modules/.pnpm/{@radix-ui_react-id@1.1.1_@types_react@19.2.8_react@19.2.3 → @radix-ui_react-id@1.1.1_@types_react@19.2.14_react@19.2.4}/node_modules/@radix-ui/react-id/dist/index.es.js +1 -1
  148. package/dist/node_modules/.pnpm/{@radix-ui_react-id@1.1.1_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-id/dist/index.cjs.js.map → @radix-ui_react-id@1.1.1_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-id/dist/index.es.js.map} +1 -1
  149. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_13e0521d8aea7ebfbfb8bee1fb615c05/node_modules/@radix-ui/react-popper/dist/index.cjs.js +2 -0
  150. package/dist/node_modules/.pnpm/{@radix-ui_react-popper@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react@_4a33dcfcd1548977446bec12ce2b64d4 → @radix-ui_react-popper@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_13e0521d8aea7ebfbfb8bee1fb615c05}/node_modules/@radix-ui/react-popper/dist/index.cjs.js.map +1 -1
  151. package/dist/node_modules/.pnpm/{@radix-ui_react-popper@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react@_4a33dcfcd1548977446bec12ce2b64d4 → @radix-ui_react-popper@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_13e0521d8aea7ebfbfb8bee1fb615c05}/node_modules/@radix-ui/react-popper/dist/index.es.js +9 -9
  152. package/dist/node_modules/.pnpm/{@radix-ui_react-popper@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react@_4a33dcfcd1548977446bec12ce2b64d4 → @radix-ui_react-popper@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_13e0521d8aea7ebfbfb8bee1fb615c05}/node_modules/@radix-ui/react-popper/dist/index.es.js.map +1 -1
  153. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_7668895bec2444446faa4e0f4eb5244b/node_modules/@radix-ui/react-portal/dist/index.cjs.js +2 -0
  154. package/dist/node_modules/.pnpm/{@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react@_5dfd6e40f6bf34daaacc53cdbe34dc86 → @radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_7668895bec2444446faa4e0f4eb5244b}/node_modules/@radix-ui/react-portal/dist/index.cjs.js.map +1 -1
  155. package/dist/node_modules/.pnpm/{@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react@_5dfd6e40f6bf34daaacc53cdbe34dc86 → @radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_7668895bec2444446faa4e0f4eb5244b}/node_modules/@radix-ui/react-portal/dist/index.es.js +2 -2
  156. package/dist/node_modules/.pnpm/{@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react@_5dfd6e40f6bf34daaacc53cdbe34dc86 → @radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.14__@types_react_7668895bec2444446faa4e0f4eb5244b}/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -1
  157. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.14__@types_rea_c01c26c80b5ab5e3ecefbda6eca51ad1/node_modules/@radix-ui/react-presence/dist/index.cjs.js +2 -0
  158. package/dist/node_modules/.pnpm/{@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.8__@types_reac_f11bf302e331ffec5a13ba15f691e9b9 → @radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.14__@types_rea_c01c26c80b5ab5e3ecefbda6eca51ad1}/node_modules/@radix-ui/react-presence/dist/index.cjs.js.map +1 -1
  159. package/dist/node_modules/.pnpm/{@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.8__@types_reac_f11bf302e331ffec5a13ba15f691e9b9 → @radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.14__@types_rea_c01c26c80b5ab5e3ecefbda6eca51ad1}/node_modules/@radix-ui/react-presence/dist/index.es.js +2 -2
  160. package/dist/node_modules/.pnpm/{@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.8__@types_reac_f11bf302e331ffec5a13ba15f691e9b9 → @radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.14__@types_rea_c01c26c80b5ab5e3ecefbda6eca51ad1}/node_modules/@radix-ui/react-presence/dist/index.es.js.map +1 -1
  161. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.14__@types_re_1181ea5061ec9212248424669240e4ec/node_modules/@radix-ui/react-primitive/dist/index.cjs.js +2 -0
  162. package/dist/node_modules/.pnpm/{@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.8__@types_rea_b16411dad6e6f8e2d0d80dbd3d639048 → @radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.14__@types_re_1181ea5061ec9212248424669240e4ec}/node_modules/@radix-ui/react-primitive/dist/index.cjs.js.map +1 -1
  163. package/dist/node_modules/.pnpm/{@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.8__@types_rea_b16411dad6e6f8e2d0d80dbd3d639048 → @radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.14__@types_re_1181ea5061ec9212248424669240e4ec}/node_modules/@radix-ui/react-primitive/dist/index.es.js +1 -1
  164. package/dist/node_modules/.pnpm/{@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.8__@types_rea_b16411dad6e6f8e2d0d80dbd3d639048 → @radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.14__@types_re_1181ea5061ec9212248424669240e4ec}/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -1
  165. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-slot/dist/index.cjs.js +2 -0
  166. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-slot/dist/index.cjs.js.map +1 -0
  167. package/dist/node_modules/.pnpm/{@radix-ui_react-slot@1.2.3_@types_react@19.2.8_react@19.2.3 → @radix-ui_react-slot@1.2.3_@types_react@19.2.14_react@19.2.4}/node_modules/@radix-ui/react-slot/dist/index.es.js +1 -1
  168. package/dist/node_modules/.pnpm/{@radix-ui_react-slot@1.2.3_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-slot/dist/index.cjs.js.map → @radix-ui_react-slot@1.2.3_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-slot/dist/index.es.js.map} +1 -1
  169. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-slot/dist/index.cjs.js +2 -0
  170. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-slot/dist/index.cjs.js.map +1 -0
  171. package/dist/node_modules/.pnpm/{@radix-ui_react-slot@1.2.4_@types_react@19.2.8_react@19.2.3 → @radix-ui_react-slot@1.2.4_@types_react@19.2.14_react@19.2.4}/node_modules/@radix-ui/react-slot/dist/index.es.js +1 -1
  172. package/dist/node_modules/.pnpm/{@radix-ui_react-slot@1.2.4_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-slot/dist/index.cjs.js.map → @radix-ui_react-slot@1.2.4_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-slot/dist/index.es.js.map} +1 -1
  173. package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_reac_9074d9fb06315b089b2bee17c4c65951/node_modules/@radix-ui/react-tooltip/dist/index.cjs.js +2 -0
  174. package/dist/node_modules/.pnpm/{@radix-ui_react-tooltip@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react_6a1a6d85f83fda9f1628953d2b64e4bf → @radix-ui_react-tooltip@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_reac_9074d9fb06315b089b2bee17c4c65951}/node_modules/@radix-ui/react-tooltip/dist/index.cjs.js.map +1 -1
  175. package/dist/node_modules/.pnpm/{@radix-ui_react-tooltip@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react_6a1a6d85f83fda9f1628953d2b64e4bf → @radix-ui_react-tooltip@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_reac_9074d9fb06315b089b2bee17c4c65951}/node_modules/@radix-ui/react-tooltip/dist/index.es.js +11 -11
  176. package/dist/node_modules/.pnpm/{@radix-ui_react-tooltip@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react_6a1a6d85f83fda9f1628953d2b64e4bf → @radix-ui_react-tooltip@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.14__@types_reac_9074d9fb06315b089b2bee17c4c65951}/node_modules/@radix-ui/react-tooltip/dist/index.es.js.map +1 -1
  177. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.js.map +1 -0
  178. package/dist/node_modules/.pnpm/{@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.js.map → @radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map} +1 -1
  179. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.js +2 -0
  180. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.js.map +1 -0
  181. package/dist/node_modules/.pnpm/{@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.8_react@19.2.3 → @radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.14_react@19.2.4}/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +1 -1
  182. package/dist/node_modules/.pnpm/{@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.js.map → @radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map} +1 -1
  183. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs.js +2 -0
  184. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs.js.map +1 -0
  185. package/dist/node_modules/.pnpm/{@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.8_react@19.2.3 → @radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.14_react@19.2.4}/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js +1 -1
  186. package/dist/node_modules/.pnpm/{@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs.js.map → @radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js.map} +1 -1
  187. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.js.map +1 -0
  188. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +1 -0
  189. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.1_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-size/dist/index.cjs.js +2 -0
  190. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.1_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-size/dist/index.cjs.js.map +1 -0
  191. package/dist/node_modules/.pnpm/{@radix-ui_react-use-size@1.1.1_@types_react@19.2.8_react@19.2.3 → @radix-ui_react-use-size@1.1.1_@types_react@19.2.14_react@19.2.4}/node_modules/@radix-ui/react-use-size/dist/index.es.js +1 -1
  192. package/dist/node_modules/.pnpm/{@radix-ui_react-use-size@1.1.1_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-use-size/dist/index.cjs.js.map → @radix-ui_react-use-size@1.1.1_@types_react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-size/dist/index.es.js.map} +1 -1
  193. package/dist/node_modules/.pnpm/{@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.2.3_@types_react@19.2.8__@typ_6d3f9ea4fd4aeaf06ba818e2c9c9b551 → @radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.2.3_@types_react@19.2.14__@ty_fa89646d7248b32d1762bf88948f6339}/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs.js +1 -1
  194. package/dist/node_modules/.pnpm/{@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.2.3_@types_react@19.2.8__@typ_6d3f9ea4fd4aeaf06ba818e2c9c9b551 → @radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.2.3_@types_react@19.2.14__@ty_fa89646d7248b32d1762bf88948f6339}/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs.js.map +1 -1
  195. package/dist/node_modules/.pnpm/{@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.2.3_@types_react@19.2.8__@typ_6d3f9ea4fd4aeaf06ba818e2c9c9b551 → @radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.2.3_@types_react@19.2.14__@ty_fa89646d7248b32d1762bf88948f6339}/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js +1 -1
  196. package/dist/node_modules/.pnpm/{@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.2.3_@types_react@19.2.8__@typ_6d3f9ea4fd4aeaf06ba818e2c9c9b551 → @radix-ui_react-visually-hidden@1.2.3_@types_react-dom@19.2.3_@types_react@19.2.14__@ty_fa89646d7248b32d1762bf88948f6339}/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js.map +1 -1
  197. package/dist/node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.dom.cjs.js.map +1 -0
  198. package/dist/node_modules/.pnpm/{decode-named-character-reference@1.2.0 → decode-named-character-reference@1.3.0}/node_modules/decode-named-character-reference/index.dom.es.js +1 -5
  199. package/dist/node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.dom.es.js.map +1 -0
  200. package/dist/node_modules/.pnpm/katex@0.16.45/node_modules/katex/dist/katex.cjs.js +258 -0
  201. package/dist/node_modules/.pnpm/katex@0.16.45/node_modules/katex/dist/katex.cjs.js.map +1 -0
  202. package/dist/node_modules/.pnpm/{katex@0.16.28 → katex@0.16.45}/node_modules/katex/dist/katex.es.js +3056 -3130
  203. package/dist/node_modules/.pnpm/katex@0.16.45/node_modules/katex/dist/katex.es.js.map +1 -0
  204. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.cjs.js +1 -1
  205. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.es.js +1 -1
  206. package/dist/node_modules/.pnpm/parse-entities@4.0.2/node_modules/parse-entities/lib/index.cjs.js +1 -1
  207. package/dist/node_modules/.pnpm/parse-entities@4.0.2/node_modules/parse-entities/lib/index.es.js +1 -1
  208. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/a11y-dark.cjs.js.map +1 -1
  209. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/a11y-dark.es.js.map +1 -1
  210. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/atom-dark.cjs.js.map +1 -1
  211. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/atom-dark.es.js.map +1 -1
  212. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/base16-ateliersulphurpool.light.cjs.js.map +1 -1
  213. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/base16-ateliersulphurpool.light.es.js.map +1 -1
  214. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/cb.cjs.js.map +1 -1
  215. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/cb.es.js.map +1 -1
  216. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-cold.cjs.js.map +1 -1
  217. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-cold.es.js.map +1 -1
  218. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-dark.cjs.js.map +1 -1
  219. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-dark.es.js.map +1 -1
  220. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy-without-shadows.cjs.js.map +1 -1
  221. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy-without-shadows.es.js.map +1 -1
  222. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy.cjs.js.map +1 -1
  223. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy.es.js.map +1 -1
  224. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/darcula.cjs.js.map +1 -1
  225. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/darcula.es.js.map +1 -1
  226. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dark.cjs.js.map +1 -1
  227. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dark.es.js.map +1 -1
  228. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dracula.cjs.js.map +1 -1
  229. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dracula.es.js.map +1 -1
  230. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-dark.cjs.js.map +1 -1
  231. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-dark.es.js.map +1 -1
  232. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-earth.cjs.js.map +1 -1
  233. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-earth.es.js.map +1 -1
  234. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-forest.cjs.js.map +1 -1
  235. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-forest.es.js.map +1 -1
  236. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-light.cjs.js.map +1 -1
  237. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-light.es.js.map +1 -1
  238. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-sea.cjs.js.map +1 -1
  239. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-sea.es.js.map +1 -1
  240. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-space.cjs.js.map +1 -1
  241. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-space.es.js.map +1 -1
  242. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/funky.cjs.js.map +1 -1
  243. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/funky.es.js.map +1 -1
  244. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/ghcolors.cjs.js.map +1 -1
  245. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/ghcolors.es.js.map +1 -1
  246. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-dark.cjs.js.map +1 -1
  247. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-dark.es.js.map +1 -1
  248. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-light.cjs.js.map +1 -1
  249. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-light.es.js.map +1 -1
  250. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/holi-theme.cjs.js.map +1 -1
  251. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/holi-theme.es.js.map +1 -1
  252. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/hopscotch.cjs.js.map +1 -1
  253. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/hopscotch.es.js.map +1 -1
  254. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/index.cjs.js +1 -1
  255. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/index.cjs.js.map +1 -1
  256. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/index.es.js +1 -1
  257. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/index.es.js.map +1 -1
  258. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/lucario.cjs.js.map +1 -1
  259. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/lucario.es.js.map +1 -1
  260. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-dark.cjs.js.map +1 -1
  261. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-dark.es.js.map +1 -1
  262. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-light.cjs.js.map +1 -1
  263. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-light.es.js.map +1 -1
  264. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-oceanic.cjs.js.map +1 -1
  265. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-oceanic.es.js.map +1 -1
  266. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/night-owl.cjs.js.map +1 -1
  267. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/night-owl.es.js.map +1 -1
  268. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/nord.cjs.js.map +1 -1
  269. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/nord.es.js.map +1 -1
  270. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/okaidia.cjs.js.map +1 -1
  271. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/okaidia.es.js.map +1 -1
  272. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-dark.cjs.js.map +1 -1
  273. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-dark.es.js.map +1 -1
  274. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-light.cjs.js.map +1 -1
  275. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-light.es.js.map +1 -1
  276. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/pojoaque.cjs.js.map +1 -1
  277. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/pojoaque.es.js.map +1 -1
  278. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/prism.cjs.js.map +1 -1
  279. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/prism.es.js.map +1 -1
  280. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/shades-of-purple.cjs.js.map +1 -1
  281. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/shades-of-purple.es.js.map +1 -1
  282. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarized-dark-atom.cjs.js.map +1 -1
  283. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarized-dark-atom.es.js.map +1 -1
  284. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarizedlight.cjs.js.map +1 -1
  285. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarizedlight.es.js.map +1 -1
  286. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/synthwave84.cjs.js.map +1 -1
  287. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/synthwave84.es.js.map +1 -1
  288. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/tomorrow.cjs.js.map +1 -1
  289. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/tomorrow.es.js.map +1 -1
  290. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/twilight.cjs.js.map +1 -1
  291. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/twilight.es.js.map +1 -1
  292. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vs.cjs.js.map +1 -1
  293. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vs.es.js.map +1 -1
  294. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vsc-dark-plus.cjs.js.map +1 -1
  295. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vsc-dark-plus.es.js.map +1 -1
  296. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/xonokai.cjs.js.map +1 -1
  297. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/xonokai.es.js.map +1 -1
  298. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/z-touch.cjs.js.map +1 -1
  299. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/z-touch.es.js.map +1 -1
  300. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/async-languages/create-language-async-loader.cjs.js +1 -1
  301. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/async-languages/create-language-async-loader.cjs.js.map +1 -1
  302. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/async-languages/create-language-async-loader.es.js +1 -1
  303. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/async-languages/create-language-async-loader.es.js.map +1 -1
  304. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/async-languages/prism.cjs.js.map +1 -0
  305. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/async-languages/prism.es.js.map +1 -0
  306. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/async-syntax-highlighter.cjs.js +1 -1
  307. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/async-syntax-highlighter.cjs.js.map +1 -0
  308. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/async-syntax-highlighter.es.js +8 -8
  309. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/async-syntax-highlighter.es.js.map +1 -0
  310. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.cjs.js.map +1 -1
  311. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.es.js.map +1 -1
  312. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/create-element.cjs.js +1 -1
  313. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/create-element.cjs.js.map +1 -1
  314. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/create-element.es.js +2 -2
  315. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/create-element.es.js.map +1 -1
  316. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/highlight.cjs.js +1 -1
  317. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/highlight.cjs.js.map +1 -0
  318. package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/highlight.es.js +3 -3
  319. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/highlight.es.js.map +1 -0
  320. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/prism-async-light.cjs.js.map +1 -0
  321. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/prism-async-light.es.js.map +1 -0
  322. package/dist/node_modules/.pnpm/rehype-katex@7.0.1/node_modules/rehype-katex/lib/index.cjs.js +1 -1
  323. package/dist/node_modules/.pnpm/rehype-katex@7.0.1/node_modules/rehype-katex/lib/index.es.js +1 -1
  324. package/dist/node_modules/.pnpm/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs.js +2 -0
  325. package/dist/node_modules/.pnpm/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs.js.map +1 -0
  326. package/dist/node_modules/.pnpm/{tailwind-merge@3.4.0 → tailwind-merge@3.5.0}/node_modules/tailwind-merge/dist/bundle-mjs.es.js +493 -334
  327. package/dist/node_modules/.pnpm/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.es.js.map +1 -0
  328. package/dist/node_modules/.pnpm/unist-util-visit@5.1.0/node_modules/unist-util-visit/lib/index.cjs.js.map +1 -0
  329. package/dist/node_modules/.pnpm/unist-util-visit@5.1.0/node_modules/unist-util-visit/lib/index.es.js.map +1 -0
  330. package/dist/providers/CustomComponentProvider.es.js +1 -1
  331. package/dist/providers/FileProvider.es.js +4 -4
  332. package/dist/providers/Thread.es.js +3 -3
  333. package/dist/providers/useChatSuggestions.cjs.js +1 -1
  334. package/dist/providers/useChatSuggestions.cjs.js.map +1 -1
  335. package/dist/providers/useChatSuggestions.es.js +9 -10
  336. package/dist/styles.css +1 -1
  337. package/dist/types/AskUserInterrupt.d.ts +24 -0
  338. package/dist/types/AskUserInterrupt.d.ts.map +1 -0
  339. package/dist/utils/tailwindUtil.cjs.js +1 -1
  340. package/dist/utils/tailwindUtil.es.js +1 -1
  341. package/package.json +2 -1
  342. package/src/components/AskUserInterrupt.tsx +137 -0
  343. package/src/components/ChatBody.tsx +67 -5
  344. package/src/entries/components.ts +9 -0
  345. package/src/index.ts +8 -0
  346. package/src/types/AskUserInterrupt.ts +27 -0
  347. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.4/node_modules/@floating-ui/core/dist/floating-ui.core.cjs.js +0 -2
  348. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.4/node_modules/@floating-ui/core/dist/floating-ui.core.cjs.js.map +0 -1
  349. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.4/node_modules/@floating-ui/core/dist/floating-ui.core.es.js.map +0 -1
  350. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs.js +0 -2
  351. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs.js.map +0 -1
  352. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js +0 -403
  353. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js.map +0 -1
  354. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs.js +0 -2
  355. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs.js.map +0 -1
  356. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.es.js +0 -209
  357. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.es.js.map +0 -1
  358. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs.js +0 -2
  359. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs.js.map +0 -1
  360. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs.js +0 -2
  361. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs.js.map +0 -1
  362. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js +0 -137
  363. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js.map +0 -1
  364. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js +0 -131
  365. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js.map +0 -1
  366. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
  367. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-context/dist/index.es.js.map +0 -1
  368. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.8__@_46f922aa9b9357a2c290dea87cc3edf9/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.js +0 -2
  369. package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.8__@types_r_d43d49df692658c2ae5a37550ec322f6/node_modules/@radix-ui/react-hover-card/dist/index.cjs.js +0 -2
  370. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-id/dist/index.cjs.js +0 -2
  371. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-id/dist/index.es.js.map +0 -1
  372. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react@_4a33dcfcd1548977446bec12ce2b64d4/node_modules/@radix-ui/react-popper/dist/index.cjs.js +0 -2
  373. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react@_5dfd6e40f6bf34daaacc53cdbe34dc86/node_modules/@radix-ui/react-portal/dist/index.cjs.js +0 -2
  374. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.8__@types_reac_f11bf302e331ffec5a13ba15f691e9b9/node_modules/@radix-ui/react-presence/dist/index.cjs.js +0 -2
  375. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.8__@types_rea_b16411dad6e6f8e2d0d80dbd3d639048/node_modules/@radix-ui/react-primitive/dist/index.cjs.js +0 -2
  376. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-slot/dist/index.cjs.js +0 -2
  377. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-slot/dist/index.es.js.map +0 -1
  378. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-slot/dist/index.cjs.js +0 -2
  379. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-slot/dist/index.es.js.map +0 -1
  380. package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.8_@types_react-dom@19.2.3_@types_react@19.2.8__@types_react_6a1a6d85f83fda9f1628953d2b64e4bf/node_modules/@radix-ui/react-tooltip/dist/index.cjs.js +0 -2
  381. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +0 -1
  382. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.js +0 -2
  383. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +0 -1
  384. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs.js +0 -2
  385. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js.map +0 -1
  386. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.js.map +0 -1
  387. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +0 -1
  388. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.1_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-use-size/dist/index.cjs.js +0 -2
  389. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.1_@types_react@19.2.8_react@19.2.3/node_modules/@radix-ui/react-use-size/dist/index.es.js.map +0 -1
  390. package/dist/node_modules/.pnpm/decode-named-character-reference@1.2.0/node_modules/decode-named-character-reference/index.dom.cjs.js.map +0 -1
  391. package/dist/node_modules/.pnpm/decode-named-character-reference@1.2.0/node_modules/decode-named-character-reference/index.dom.es.js.map +0 -1
  392. package/dist/node_modules/.pnpm/katex@0.16.28/node_modules/katex/dist/katex.cjs.js +0 -262
  393. package/dist/node_modules/.pnpm/katex@0.16.28/node_modules/katex/dist/katex.cjs.js.map +0 -1
  394. package/dist/node_modules/.pnpm/katex@0.16.28/node_modules/katex/dist/katex.es.js.map +0 -1
  395. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/async-languages/prism.cjs.js.map +0 -1
  396. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/async-languages/prism.es.js.map +0 -1
  397. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/async-syntax-highlighter.cjs.js.map +0 -1
  398. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/async-syntax-highlighter.es.js.map +0 -1
  399. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/highlight.cjs.js.map +0 -1
  400. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/highlight.es.js.map +0 -1
  401. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/prism-async-light.cjs.js.map +0 -1
  402. package/dist/node_modules/.pnpm/react-syntax-highlighter@16.1.0_react@19.2.3/node_modules/react-syntax-highlighter/dist/esm/prism-async-light.es.js.map +0 -1
  403. package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs.js +0 -2
  404. package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs.js.map +0 -1
  405. package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.es.js.map +0 -1
  406. package/dist/node_modules/.pnpm/unist-util-visit@5.0.0/node_modules/unist-util-visit/lib/index.cjs.js.map +0 -1
  407. package/dist/node_modules/.pnpm/unist-util-visit@5.0.0/node_modules/unist-util-visit/lib/index.es.js.map +0 -1
  408. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/OverloadYield.cjs.js +0 -0
  409. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/OverloadYield.es.js +0 -0
  410. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.cjs.js +0 -0
  411. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.es.js +0 -0
  412. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.cjs.js +0 -0
  413. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.es.js +0 -0
  414. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.cjs.js +0 -0
  415. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.es.js +0 -0
  416. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.cjs.js +0 -0
  417. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.es.js +0 -0
  418. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/classCallCheck.cjs.js +0 -0
  419. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/classCallCheck.es.js +0 -0
  420. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/createClass.cjs.js +0 -0
  421. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/createClass.es.js +0 -0
  422. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs.js +0 -0
  423. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/defineProperty.es.js +0 -0
  424. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/extends.cjs.js +0 -0
  425. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/extends.es.js +0 -0
  426. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.cjs.js +0 -0
  427. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.es.js +0 -0
  428. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/inherits.cjs.js +0 -0
  429. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/inherits.es.js +0 -0
  430. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/iterableToArray.cjs.js +0 -0
  431. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/iterableToArray.es.js +0 -0
  432. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.cjs.js +0 -0
  433. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.es.js +0 -0
  434. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.cjs.js +0 -0
  435. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.es.js +0 -0
  436. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.cjs.js +0 -0
  437. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.es.js +0 -0
  438. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.cjs.js +0 -0
  439. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.es.js +0 -0
  440. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.cjs.js +0 -0
  441. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.es.js +0 -0
  442. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/toConsumableArray.cjs.js +0 -0
  443. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/toConsumableArray.es.js +0 -0
  444. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs.js +0 -0
  445. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/toPrimitive.es.js +0 -0
  446. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs.js +0 -0
  447. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/toPropertyKey.es.js +0 -0
  448. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/typeof.cjs.js +0 -0
  449. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/typeof.es.js +0 -0
  450. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.cjs.js +0 -0
  451. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.es.js +0 -0
  452. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/interopRequireDefault.cjs.js +0 -0
  453. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/interopRequireDefault.es.js +0 -0
  454. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regenerator.cjs.js +0 -0
  455. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regenerator.es.js +0 -0
  456. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorAsync.cjs.js +0 -0
  457. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorAsync.es.js +0 -0
  458. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.cjs.js +0 -0
  459. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.es.js +0 -0
  460. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.cjs.js +0 -0
  461. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.es.js +0 -0
  462. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorDefine.cjs.js +0 -0
  463. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorDefine.es.js +0 -0
  464. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorKeys.cjs.js +0 -0
  465. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorKeys.es.js +0 -0
  466. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorRuntime.cjs.js +0 -0
  467. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorRuntime.es.js +0 -0
  468. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorValues.cjs.js +0 -0
  469. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/regeneratorValues.es.js +0 -0
  470. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/typeof.cjs.js +0 -0
  471. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/helpers/typeof.es.js +0 -0
  472. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/regenerator/index.cjs.js +0 -0
  473. /package/dist/node_modules/.pnpm/{@babel_runtime@7.28.6 → @babel_runtime@7.29.2}/node_modules/@babel/runtime/regenerator/index.es.js +0 -0
  474. /package/dist/node_modules/.pnpm/{@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.8_react@19.2.3 → @radix-ui_react-compose-refs@1.1.2_@types_react@19.2.14_react@19.2.4}/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.js +0 -0
  475. /package/dist/node_modules/.pnpm/{@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.8_react@19.2.3 → @radix-ui_react-compose-refs@1.1.2_@types_react@19.2.14_react@19.2.4}/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -0
  476. /package/dist/node_modules/.pnpm/{@radix-ui_react-context@1.1.2_@types_react@19.2.8_react@19.2.3 → @radix-ui_react-context@1.1.2_@types_react@19.2.14_react@19.2.4}/node_modules/@radix-ui/react-context/dist/index.cjs.js +0 -0
  477. /package/dist/node_modules/.pnpm/{@radix-ui_react-context@1.1.2_@types_react@19.2.8_react@19.2.3 → @radix-ui_react-context@1.1.2_@types_react@19.2.14_react@19.2.4}/node_modules/@radix-ui/react-context/dist/index.es.js +0 -0
  478. /package/dist/node_modules/.pnpm/{@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.8_react@19.2.3 → @radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.14_react@19.2.4}/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.js +0 -0
  479. /package/dist/node_modules/.pnpm/{@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.8_react@19.2.3 → @radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.14_react@19.2.4}/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +0 -0
  480. /package/dist/node_modules/.pnpm/{@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.8_react@19.2.3 → @radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.14_react@19.2.4}/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.js +0 -0
  481. /package/dist/node_modules/.pnpm/{@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.8_react@19.2.3 → @radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.14_react@19.2.4}/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js +0 -0
  482. /package/dist/node_modules/.pnpm/{decode-named-character-reference@1.2.0 → decode-named-character-reference@1.3.0}/node_modules/decode-named-character-reference/index.dom.cjs.js +0 -0
  483. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/a11y-dark.cjs.js +0 -0
  484. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/a11y-dark.es.js +0 -0
  485. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/atom-dark.cjs.js +0 -0
  486. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/atom-dark.es.js +0 -0
  487. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/base16-ateliersulphurpool.light.cjs.js +0 -0
  488. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/base16-ateliersulphurpool.light.es.js +0 -0
  489. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/cb.cjs.js +0 -0
  490. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/cb.es.js +0 -0
  491. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-cold.cjs.js +0 -0
  492. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-cold.es.js +0 -0
  493. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-dark.cjs.js +0 -0
  494. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-dark.es.js +0 -0
  495. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy-without-shadows.cjs.js +0 -0
  496. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy-without-shadows.es.js +0 -0
  497. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy.cjs.js +0 -0
  498. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy.es.js +0 -0
  499. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/darcula.cjs.js +0 -0
  500. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/darcula.es.js +0 -0
  501. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dark.cjs.js +0 -0
  502. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dark.es.js +0 -0
  503. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dracula.cjs.js +0 -0
  504. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dracula.es.js +0 -0
  505. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-dark.cjs.js +0 -0
  506. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-dark.es.js +0 -0
  507. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-earth.cjs.js +0 -0
  508. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-earth.es.js +0 -0
  509. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-forest.cjs.js +0 -0
  510. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-forest.es.js +0 -0
  511. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-light.cjs.js +0 -0
  512. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-light.es.js +0 -0
  513. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-sea.cjs.js +0 -0
  514. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-sea.es.js +0 -0
  515. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-space.cjs.js +0 -0
  516. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-space.es.js +0 -0
  517. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/funky.cjs.js +0 -0
  518. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/funky.es.js +0 -0
  519. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/ghcolors.cjs.js +0 -0
  520. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/ghcolors.es.js +0 -0
  521. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-dark.cjs.js +0 -0
  522. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-dark.es.js +0 -0
  523. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-light.cjs.js +0 -0
  524. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-light.es.js +0 -0
  525. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/holi-theme.cjs.js +0 -0
  526. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/holi-theme.es.js +0 -0
  527. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/hopscotch.cjs.js +0 -0
  528. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/hopscotch.es.js +0 -0
  529. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/lucario.cjs.js +0 -0
  530. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/lucario.es.js +0 -0
  531. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-dark.cjs.js +0 -0
  532. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-dark.es.js +0 -0
  533. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-light.cjs.js +0 -0
  534. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-light.es.js +0 -0
  535. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-oceanic.cjs.js +0 -0
  536. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-oceanic.es.js +0 -0
  537. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/night-owl.cjs.js +0 -0
  538. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/night-owl.es.js +0 -0
  539. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/nord.cjs.js +0 -0
  540. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/nord.es.js +0 -0
  541. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/okaidia.cjs.js +0 -0
  542. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/okaidia.es.js +0 -0
  543. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-dark.cjs.js +0 -0
  544. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-dark.es.js +0 -0
  545. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-light.cjs.js +0 -0
  546. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-light.es.js +0 -0
  547. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/pojoaque.cjs.js +0 -0
  548. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/pojoaque.es.js +0 -0
  549. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/prism.cjs.js +0 -0
  550. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/prism.es.js +0 -0
  551. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/shades-of-purple.cjs.js +0 -0
  552. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/shades-of-purple.es.js +0 -0
  553. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarized-dark-atom.cjs.js +0 -0
  554. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarized-dark-atom.es.js +0 -0
  555. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarizedlight.cjs.js +0 -0
  556. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarizedlight.es.js +0 -0
  557. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/synthwave84.cjs.js +0 -0
  558. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/synthwave84.es.js +0 -0
  559. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/tomorrow.cjs.js +0 -0
  560. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/tomorrow.es.js +0 -0
  561. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/twilight.cjs.js +0 -0
  562. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/twilight.es.js +0 -0
  563. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vs.cjs.js +0 -0
  564. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vs.es.js +0 -0
  565. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vsc-dark-plus.cjs.js +0 -0
  566. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vsc-dark-plus.es.js +0 -0
  567. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/xonokai.cjs.js +0 -0
  568. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/xonokai.es.js +0 -0
  569. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/z-touch.cjs.js +0 -0
  570. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/z-touch.es.js +0 -0
  571. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/async-languages/prism.cjs.js +0 -0
  572. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/async-languages/prism.es.js +0 -0
  573. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.cjs.js +0 -0
  574. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.es.js +0 -0
  575. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/languages/prism/python.cjs.js +0 -0
  576. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/languages/prism/python.cjs.js.map +0 -0
  577. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/languages/prism/python.es.js +0 -0
  578. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/languages/prism/python.es.js.map +0 -0
  579. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/languages/prism/tsx.cjs.js +0 -0
  580. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/languages/prism/tsx.cjs.js.map +0 -0
  581. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/languages/prism/tsx.es.js +0 -0
  582. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/languages/prism/tsx.es.js.map +0 -0
  583. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/prism-async-light.cjs.js +0 -0
  584. /package/dist/node_modules/.pnpm/{react-syntax-highlighter@16.1.0_react@19.2.3 → react-syntax-highlighter@16.1.1_react@19.2.4}/node_modules/react-syntax-highlighter/dist/esm/prism-async-light.es.js +0 -0
  585. /package/dist/node_modules/.pnpm/{unist-util-visit@5.0.0 → unist-util-visit@5.1.0}/node_modules/unist-util-visit/lib/index.cjs.js +0 -0
  586. /package/dist/node_modules/.pnpm/{unist-util-visit@5.0.0 → unist-util-visit@5.1.0}/node_modules/unist-util-visit/lib/index.es.js +0 -0
@@ -1,258 +1,286 @@
1
- import { jsx as d, jsxs as F, Fragment as de } from "react/jsx-runtime";
2
- import { useStreamContext as pe } from "../providers/Stream.es.js";
3
- import { useCustomComponents as fe } from "../providers/CustomComponentProvider.es.js";
4
- import { logger as ge } from "../utils/logger.es.js";
5
- import { isAiWithToolCalls as W, isToolMessage as k } from "../utils/utils.es.js";
6
- import J, { useState as he, useMemo as x, useRef as A, useCallback as g, useEffect as T, useLayoutEffect as me } from "react";
7
- import ye from "./messages/AgentMessage.es.js";
8
- import ve from "./messages/CustomComponentRender.es.js";
9
- import Me from "./messages/HumanMessage.es.js";
10
- import Q from "./Thinking.es.js";
11
- function je({ setIsFirstMessage: R, enableToolCallIndicator: _ = !0, chatBodyProps: j }) {
12
- const a = pe(), { interruptComponents: X } = fe(), N = a.messages, u = a.isLoading, [B, Z] = he({});
13
- ge.debug("ChatBody render - messages count:", N, "isLoading:", u);
14
- const c = x(() => N ?? [], [N]), q = x(() => {
15
- const e = /* @__PURE__ */ new Set(), n = a.values?.ui;
16
- if (!Array.isArray(n)) return e;
17
- for (const o of n) {
18
- const r = o, i = r.metadata && typeof r.metadata == "object" ? r.metadata : void 0, h = [
19
- typeof r.id == "string" ? r.id : void 0,
20
- typeof i?.id == "string" ? i.id : void 0,
21
- typeof i?.message_id == "string" ? i.message_id : void 0
1
+ import { jsx as c, jsxs as O, Fragment as ge } from "react/jsx-runtime";
2
+ import { useStreamContext as me } from "../providers/Stream.es.js";
3
+ import { useCustomComponents as he } from "../providers/CustomComponentProvider.es.js";
4
+ import { useThread as ye } from "../providers/Thread.es.js";
5
+ import { logger as ve } from "../utils/logger.es.js";
6
+ import { isAiWithToolCalls as Z, isToolMessage as T } from "../utils/utils.es.js";
7
+ import P, { useState as Me, useMemo as R, useRef as v, useCallback as g, useEffect as M, useLayoutEffect as Ce } from "react";
8
+ import be from "./messages/AgentMessage.es.js";
9
+ import ke from "./AskUserInterrupt.es.js";
10
+ import Se from "./messages/CustomComponentRender.es.js";
11
+ import Ae from "./messages/HumanMessage.es.js";
12
+ import ee from "./Thinking.es.js";
13
+ function Ee({ setIsFirstMessage: _, enableToolCallIndicator: j = !0, chatBodyProps: I }) {
14
+ const o = me(), { interruptComponents: U } = he(), { threadId: N } = ye(), z = o.messages, u = o.isLoading, [D, te] = Me({});
15
+ ve.debug("ChatBody render - messages count:", z, "isLoading:", u);
16
+ const l = R(() => z ?? [], [z]), G = R(() => {
17
+ const e = /* @__PURE__ */ new Set(), r = o.values?.ui;
18
+ if (!Array.isArray(r)) return e;
19
+ for (const s of r) {
20
+ const n = s, a = n.metadata && typeof n.metadata == "object" ? n.metadata : void 0, h = [
21
+ typeof n.id == "string" ? n.id : void 0,
22
+ typeof a?.id == "string" ? a.id : void 0,
23
+ typeof a?.message_id == "string" ? a.message_id : void 0
22
24
  ];
23
25
  for (const p of h)
24
26
  p && e.add(p);
25
27
  }
26
28
  return e;
27
- }, [a.values?.ui]), y = A(null), K = A(0), C = A(!0), z = A(/* @__PURE__ */ new Map()), L = g((e) => Array.isArray(e) ? e.map((n, o) => {
28
- if (!n || typeof n != "object") return null;
29
- const r = n, i = r.status;
30
- return typeof r.content != "string" || i !== "pending" && i !== "in_progress" && i !== "completed" ? null : {
31
- id: r.id && typeof r.id == "string" ? r.id : `todo-${o}`,
32
- content: r.content,
33
- status: i,
34
- updatedAt: r.updatedAt instanceof Date || typeof r.updatedAt == "string" || typeof r.updatedAt == "number" ? r.updatedAt : void 0,
35
- run_id: typeof r.run_id == "string" ? r.run_id : void 0,
36
- runId: typeof r.runId == "string" ? r.runId : void 0,
37
- messageId: typeof r.messageId == "string" ? r.messageId : void 0,
38
- checkpoint: typeof r.checkpoint == "string" ? r.checkpoint : void 0
29
+ }, [o.values?.ui]), C = v(null), $ = v(0), A = v(!0), L = v(/* @__PURE__ */ new Map()), H = g((e) => Array.isArray(e) ? e.map((r, s) => {
30
+ if (!r || typeof r != "object") return null;
31
+ const n = r, a = n.status;
32
+ return typeof n.content != "string" || a !== "pending" && a !== "in_progress" && a !== "completed" ? null : {
33
+ id: n.id && typeof n.id == "string" ? n.id : `todo-${s}`,
34
+ content: n.content,
35
+ status: a,
36
+ updatedAt: n.updatedAt instanceof Date || typeof n.updatedAt == "string" || typeof n.updatedAt == "number" ? n.updatedAt : void 0,
37
+ run_id: typeof n.run_id == "string" ? n.run_id : void 0,
38
+ runId: typeof n.runId == "string" ? n.runId : void 0,
39
+ messageId: typeof n.messageId == "string" ? n.messageId : void 0,
40
+ checkpoint: typeof n.checkpoint == "string" ? n.checkpoint : void 0
39
41
  };
40
- }).filter((n) => n !== null) : [], []), O = g((e, n) => {
41
- Z((o) => ({
42
- ...o,
43
- [e]: n
42
+ }).filter((r) => r !== null) : [], []), J = g((e, r) => {
43
+ te((s) => ({
44
+ ...s,
45
+ [e]: r
44
46
  }));
45
- }, []), D = g(async (e) => {
47
+ }, []), Y = g(async (e) => {
46
48
  if (!e) {
47
49
  console.error("No parent checkpoint available for regeneration");
48
50
  return;
49
51
  }
50
- await a.submit(void 0, {
52
+ await o.submit(void 0, {
51
53
  checkpoint: e,
52
54
  streamMode: ["values"],
53
55
  streamSubgraphs: !0,
54
56
  streamResumable: !0
55
57
  });
56
- }, [a]), G = g((e) => {
57
- a.setBranch(e);
58
- }, [a]), b = g((e) => {
59
- a.submit(null, {
58
+ }, [o]), V = g((e) => {
59
+ o.setBranch(e);
60
+ }, [o]), m = v(""), q = v(null);
61
+ M(() => {
62
+ q.current !== null && q.current !== N && (m.current = ""), q.current = N;
63
+ }, [N]), M(() => {
64
+ u && !o.interrupt && m.current !== "" && (m.current = "");
65
+ }, [u, o.interrupt]);
66
+ const b = g((e) => {
67
+ const r = JSON.stringify(o.interrupt?.value ?? null);
68
+ m.current = r, o.submit(null, {
60
69
  command: { resume: e },
61
70
  streamMode: ["values", "messages-tuple", "updates", "custom"],
62
71
  streamSubgraphs: !0
63
72
  });
64
- }, [a]), $ = x(() => {
65
- const e = a.interrupt;
73
+ }, [o]), E = R(() => {
74
+ const e = o.interrupt;
66
75
  if (!e) return null;
67
- const o = e.value?.actionRequests ?? [];
76
+ const s = e.value?.actionRequests ?? [];
68
77
  return {
69
78
  approve: () => {
70
79
  b({
71
- decisions: o.map(() => ({ type: "approve" }))
80
+ decisions: s.map(() => ({ type: "approve" }))
72
81
  });
73
82
  },
74
- reject: (r) => {
83
+ reject: (n) => {
75
84
  b({
76
- decisions: o.map(() => ({
85
+ decisions: s.map(() => ({
77
86
  type: "reject",
78
- message: r || void 0
87
+ message: n || void 0
79
88
  }))
80
89
  });
81
90
  },
82
- edit: (r) => {
83
- const i = o[0];
91
+ edit: (n) => {
92
+ const a = s[0];
84
93
  b({
85
94
  decisions: [
86
95
  {
87
96
  type: "edit",
88
97
  editedAction: {
89
- name: i?.name ?? "",
90
- args: { ...i?.args, ...r }
98
+ name: a?.name ?? "",
99
+ args: { ...a?.args, ...n }
91
100
  }
92
101
  }
93
102
  ]
94
103
  });
95
104
  }
96
105
  };
97
- }, [a.interrupt, b]), f = g(() => {
98
- if (y.current) {
99
- let e = y.current.parentElement;
106
+ }, [o.interrupt, b]), f = g(() => {
107
+ if (C.current) {
108
+ let e = C.current.parentElement;
100
109
  for (; e; ) {
101
- const n = window.getComputedStyle(e);
102
- if (n.overflowY === "auto" || n.overflowY === "scroll")
110
+ const r = window.getComputedStyle(e);
111
+ if (r.overflowY === "auto" || r.overflowY === "scroll")
103
112
  return e;
104
113
  e = e.parentElement;
105
114
  }
106
115
  }
107
116
  return null;
108
117
  }, []);
109
- T(() => {
110
- c.length > 0 && R && R(!1);
111
- }, [c.length, R]);
112
- const U = g((e, n, o) => {
113
- const r = u && n === o.length - 1 && e.type === "ai";
114
- if (!e.content.length && !W(e) && !r || e.additional_kwargs?.hidden)
118
+ M(() => {
119
+ l.length > 0 && _ && _(!1);
120
+ }, [l.length, _]);
121
+ const W = g((e, r, s) => {
122
+ const n = u && r === s.length - 1 && e.type === "ai";
123
+ if (!e.content.length && !Z(e) && !n || e.additional_kwargs?.hidden)
115
124
  return null;
116
- const i = e.id ?? `msg-${n}`, h = (t) => typeof t.id == "string" && q.has(t.id);
125
+ const a = e.id ?? `msg-${r}`, h = (t) => typeof t.id == "string" && G.has(t.id);
117
126
  if (e.type === "human")
118
- return /* @__PURE__ */ d(Me, { message: e, fontSize: j?.fontSize }, i);
119
- if (k(e))
127
+ return /* @__PURE__ */ c(Ae, { message: e, fontSize: I?.fontSize }, a);
128
+ if (T(e))
120
129
  return null;
121
- if (e.type === "ai" && n > 0) {
122
- let t = n - 1;
123
- for (; t >= 0 && k(o[t]); )
130
+ if (e.type === "ai" && r > 0) {
131
+ let t = r - 1;
132
+ for (; t >= 0 && T(s[t]); )
124
133
  t--;
125
- if (t >= 0 && o[t].type === "ai" && !h(e))
134
+ if (t >= 0 && s[t].type === "ai" && !h(e))
126
135
  return null;
127
136
  }
128
137
  const p = [e];
129
- let v = n + 1;
130
- for (; v < o.length; ) {
131
- const t = o[v];
132
- if (k(t))
133
- p.push(t), v++;
138
+ let k = r + 1;
139
+ for (; k < s.length; ) {
140
+ const t = s[k];
141
+ if (T(t))
142
+ p.push(t), k++;
134
143
  else if (t.type === "ai") {
135
144
  if (h(t))
136
145
  break;
137
- p.push(t), v++;
146
+ p.push(t), k++;
138
147
  } else
139
148
  break;
140
149
  }
141
- const l = p.filter((t) => t.type === "ai"), H = l.some((t) => Array.isArray(t.content)), m = /* @__PURE__ */ new Set(), S = H ? l.flatMap((t) => Array.isArray(t.content) ? t.content.filter((s) => {
142
- if (s.type === "text" && typeof s.text == "string") {
143
- if (m.has(s.text)) return !1;
144
- m.add(s.text);
150
+ const d = p.filter((t) => t.type === "ai"), F = d.some((t) => Array.isArray(t.content)), y = /* @__PURE__ */ new Set(), w = F ? d.flatMap((t) => Array.isArray(t.content) ? t.content.filter((i) => {
151
+ if (i.type === "text" && typeof i.text == "string") {
152
+ if (y.has(i.text)) return !1;
153
+ y.add(i.text);
145
154
  }
146
155
  return !0;
147
- }) : typeof t.content == "string" && t.content.length > 0 ? m.has(t.content) ? [] : (m.add(t.content), [{ type: "text", text: t.content }]) : []) : (() => {
156
+ }) : typeof t.content == "string" && t.content.length > 0 ? y.has(t.content) ? [] : (y.add(t.content), [{ type: "text", text: t.content }]) : []) : (() => {
148
157
  const t = [];
149
- for (const s of l) {
150
- const M = typeof s.content == "string" ? s.content : "";
151
- M && !m.has(M) && (m.add(M), t.push(M));
158
+ for (const i of d) {
159
+ const S = typeof i.content == "string" ? i.content : "";
160
+ S && !y.has(S) && (y.add(S), t.push(S));
152
161
  }
153
162
  return t.join(`
154
163
 
155
164
  `);
156
- })(), ee = H ? S.map((t) => t.type === "text" ? t.text : "").filter(Boolean).join(" ") : S, te = {
165
+ })(), re = F ? w.map((t) => t.type === "text" ? t.text : "").filter(Boolean).join(" ") : w, se = {
157
166
  ...e,
158
- content: S
159
- }, Y = e ? a.getMessagesMetadata(e) : void 0, ne = H ? S.some(
167
+ content: w
168
+ }, Q = e ? o.getMessagesMetadata(e) : void 0, oe = F ? w.some(
160
169
  (t) => t.type === "thinking" && t.thinking?.length > 0 || t.type === "reasoning" && t.reasoning?.length > 0
161
- ) : !1, re = l.some((t) => {
162
- const s = t.additional_kwargs;
163
- return typeof s?.reasoning_content == "string" && s.reasoning_content.length > 0;
164
- }), oe = l.some((t) => {
165
- const s = t.additional_kwargs;
166
- return Array.isArray(s?.tool_status) && s.tool_status.length > 0;
167
- }), se = p.some((t) => k(t)), ae = _ && (l.some((t) => W(t)) || oe || se), V = !!ee || ne || re || ae, ie = v >= o.length, w = u && ie, I = l.map((t) => t.id).filter((t) => typeof t == "string" && t.length > 0).join("|") || i, ce = (() => {
168
- const t = z.current.get(I);
169
- if (!w && t && t.length > 0)
170
+ ) : !1, ie = d.some((t) => {
171
+ const i = t.additional_kwargs;
172
+ return typeof i?.reasoning_content == "string" && i.reasoning_content.length > 0;
173
+ }), ae = d.some((t) => {
174
+ const i = t.additional_kwargs;
175
+ return Array.isArray(i?.tool_status) && i.tool_status.length > 0;
176
+ }), ce = p.some((t) => T(t)), ue = j && (d.some((t) => Z(t)) || ae || ce), X = !!re || oe || ie || ue, le = k >= s.length, x = u && le, K = d.map((t) => t.id).filter((t) => typeof t == "string" && t.length > 0).join("|") || a, de = (() => {
177
+ const t = L.current.get(K);
178
+ if (!x && t && t.length > 0)
170
179
  return t;
171
- if (w) {
172
- const s = L(a.values?.todos);
173
- if (s.length > 0)
174
- return z.current.set(I, s), s;
180
+ if (x) {
181
+ const i = H(o.values?.todos);
182
+ if (i.length > 0)
183
+ return L.current.set(K, i), i;
175
184
  }
176
- for (let s = l.length - 1; s >= 0; s--) {
177
- const le = a.getMessagesMetadata(l[s])?.firstSeenState?.values, E = L(le?.todos);
178
- if (E.length > 0)
179
- return (!t || t.length === 0) && z.current.set(I, E), t ?? E;
185
+ for (let i = d.length - 1; i >= 0; i--) {
186
+ const fe = o.getMessagesMetadata(d[i])?.firstSeenState?.values, B = H(fe?.todos);
187
+ if (B.length > 0)
188
+ return (!t || t.length === 0) && L.current.set(K, B), t ?? B;
180
189
  }
181
190
  return t && t.length > 0 ? t : [];
182
- })(), ue = w && !V;
183
- return /* @__PURE__ */ F(J.Fragment, { children: [
184
- ue && /* @__PURE__ */ d(Q, {}),
185
- V && /* @__PURE__ */ d(
186
- ye,
191
+ })(), pe = x && !X;
192
+ return /* @__PURE__ */ O(P.Fragment, { children: [
193
+ pe && /* @__PURE__ */ c(ee, {}),
194
+ X && /* @__PURE__ */ c(
195
+ be,
187
196
  {
188
- agentName: j?.agentName,
189
- fontSize: j?.fontSize,
190
- message: te,
197
+ agentName: I?.agentName,
198
+ fontSize: I?.fontSize,
199
+ message: se,
191
200
  groupedMessages: p,
192
- showToolActivity: _,
193
- isStreaming: w,
194
- onRegenerate: D,
195
- feedback: e.id ? B[e.id] : void 0,
196
- onFeedback: O,
197
- branch: Y?.branch,
198
- branchOptions: Y?.branchOptions,
199
- onBranchSelect: G,
200
- todos: ce
201
+ showToolActivity: j,
202
+ isStreaming: x,
203
+ onRegenerate: Y,
204
+ feedback: e.id ? D[e.id] : void 0,
205
+ onFeedback: J,
206
+ branch: Q?.branch,
207
+ branchOptions: Q?.branchOptions,
208
+ onBranchSelect: V,
209
+ todos: de
201
210
  }
202
211
  ),
203
- l.map((t) => /* @__PURE__ */ d(ve, { message: t, thread: a }, t.id))
204
- ] }, i);
205
- }, [u, a, L, _, D, B, O, G, q]), P = x(() => c.map((e, n) => {
206
- const o = U(e, n, c);
207
- return o && !o.key ? J.cloneElement(o, { key: e.id ?? `msg-${n}` }) : o;
208
- }), [c, U]);
209
- return T(() => {
212
+ d.map((t) => /* @__PURE__ */ c(Se, { message: t, thread: o }, t.id))
213
+ ] }, a);
214
+ }, [u, o, H, j, Y, D, J, V, G]), ne = R(() => l.map((e, r) => {
215
+ const s = W(e, r, l);
216
+ return s && !s.key ? P.cloneElement(s, { key: e.id ?? `msg-${r}` }) : s;
217
+ }), [l, W]);
218
+ return M(() => {
210
219
  const e = f();
211
220
  if (!e) return;
212
- const n = () => {
213
- const { scrollTop: o, scrollHeight: r, clientHeight: i } = e, h = r - o - i;
214
- C.current = h < 100;
221
+ const r = () => {
222
+ const { scrollTop: s, scrollHeight: n, clientHeight: a } = e, h = n - s - a;
223
+ A.current = h < 100;
215
224
  };
216
- return e.addEventListener("scroll", n), () => e.removeEventListener("scroll", n);
217
- }, [f]), T(() => {
225
+ return e.addEventListener("scroll", r), () => e.removeEventListener("scroll", r);
226
+ }, [f]), M(() => {
218
227
  const e = f();
219
228
  if (!e) return;
220
- const n = c.length;
221
- n > K.current && (e.scrollTop = e.scrollHeight, C.current = !0), K.current = n;
222
- }, [c, f]), T(() => {
229
+ const r = l.length;
230
+ r > $.current && (e.scrollTop = e.scrollHeight, A.current = !0), $.current = r;
231
+ }, [l, f]), M(() => {
223
232
  const e = f();
224
233
  if (!e || !u) return;
225
- const n = new MutationObserver(() => {
226
- C.current && e && (e.scrollTop = e.scrollHeight);
234
+ const r = new MutationObserver(() => {
235
+ A.current && e && (e.scrollTop = e.scrollHeight);
227
236
  });
228
- return y.current && n.observe(y.current, {
237
+ return C.current && r.observe(C.current, {
229
238
  childList: !0,
230
239
  subtree: !0,
231
240
  characterData: !0
232
- }), () => n.disconnect();
233
- }, [u, f]), me(() => {
241
+ }), () => r.disconnect();
242
+ }, [u, f]), Ce(() => {
234
243
  const e = f();
235
- u && C.current && e && (e.scrollTop = e.scrollHeight);
236
- }), /* @__PURE__ */ d(
244
+ u && A.current && e && (e.scrollTop = e.scrollHeight);
245
+ }), /* @__PURE__ */ c(
237
246
  "div",
238
247
  {
239
- ref: y,
248
+ ref: C,
240
249
  className: "flex flex-col gap-4 rounded-4xl p-2",
241
- children: c.length === 0 ? /* @__PURE__ */ d("div", { className: "flex items-center justify-center h-full text-zinc-500", children: u ? /* @__PURE__ */ F("div", { className: "flex items-center gap-2", children: [
242
- /* @__PURE__ */ d("div", { className: "animate-spin h-5 w-5 border-2 border-zinc-500 border-t-transparent rounded-full" }),
243
- /* @__PURE__ */ d("span", { children: "Loading conversation..." })
244
- ] }) : "Start a conversation..." }) : /* @__PURE__ */ F(de, { children: [
245
- P,
246
- u && c.length > 0 && c[c.length - 1].type === "human" && /* @__PURE__ */ d(Q, {}),
247
- !u && a.interrupt && $ && (() => {
248
- const e = a.interrupt.value, n = e?.actionRequests?.[0]?.name, o = n ? X[n] : void 0;
249
- return o ? /* @__PURE__ */ d(o, { interrupt: e, actions: $ }) : null;
250
+ children: l.length === 0 ? /* @__PURE__ */ c("div", { className: "flex items-center justify-center h-full text-zinc-500", children: u ? /* @__PURE__ */ O("div", { className: "flex items-center gap-2", children: [
251
+ /* @__PURE__ */ c("div", { className: "animate-spin h-5 w-5 border-2 border-zinc-500 border-t-transparent rounded-full" }),
252
+ /* @__PURE__ */ c("span", { children: "Loading conversation..." })
253
+ ] }) : "Start a conversation..." }) : /* @__PURE__ */ O(ge, { children: [
254
+ ne,
255
+ u && l.length > 0 && l[l.length - 1].type === "human" && /* @__PURE__ */ c(ee, {}),
256
+ o.interrupt && (() => {
257
+ const e = o.interrupt.value;
258
+ if (JSON.stringify(e ?? null) === m.current && m.current !== "")
259
+ return null;
260
+ if (e?.type === "ask_user" && Array.isArray(e.questions)) {
261
+ const s = U.ask_user;
262
+ return s ? /* @__PURE__ */ c(s, { interrupt: e, actions: E ?? { approve: () => {
263
+ }, reject: () => {
264
+ }, edit: () => {
265
+ } } }) : /* @__PURE__ */ c(
266
+ ke,
267
+ {
268
+ questions: e.questions,
269
+ onSubmit: (n) => b(n)
270
+ }
271
+ );
272
+ }
273
+ if (E) {
274
+ const s = e?.actionRequests?.[0]?.name, n = s ? U[s] : void 0;
275
+ return n ? /* @__PURE__ */ c(n, { interrupt: e, actions: E }) : null;
276
+ }
277
+ return null;
250
278
  })()
251
279
  ] })
252
280
  }
253
281
  );
254
282
  }
255
283
  export {
256
- je as default
284
+ Ee as default
257
285
  };
258
286
  //# sourceMappingURL=ChatBody.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatBody.es.js","sources":["../../src/components/ChatBody.tsx"],"sourcesContent":["import { useStreamContext } from \"@/providers/Stream\";\nimport { useCustomComponents } from \"@/providers/CustomComponentProvider\";\nimport type { chatBodyProps } from \"@/types/ChatProps\";\nimport { logger } from \"@/utils/logger\";\nimport { isAiWithToolCalls, isToolMessage } from \"@/utils/utils\";\nimport type { Message } from \"@langchain/langgraph-sdk\";\nimport type { TodoItem } from \"@/providers/Stream\";\nimport React, { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from \"react\";\nimport AgentMessage from \"./messages/AgentMessage\";\nimport CustomComponentRender from \"./messages/CustomComponentRender\";\nimport HumanMessage from \"./messages/HumanMessage\";\nimport type { MessageFeedback } from \"./messages/MessageActions\";\nimport Thinking from \"./Thinking\";\n\nexport default function ChatBody({ setIsFirstMessage, enableToolCallIndicator = true, chatBodyProps }: { setIsFirstMessage?: React.Dispatch<React.SetStateAction<boolean>>, enableToolCallIndicator?: boolean, chatBodyProps?: chatBodyProps }) {\n const stream = useStreamContext();\n const { interruptComponents } = useCustomComponents();\n const messages = stream.messages;\n const isLoading = stream.isLoading;\n\n // State to track message feedback (likes/dislikes)\n const [messageFeedback, setMessageFeedback] = useState<Record<string, MessageFeedback>>({});\n\n logger.debug(\"ChatBody render - messages count:\", messages, \"isLoading:\", isLoading);\n\n // Memoize messages with stable reference\n const memoMessages = useMemo(() => messages ?? [], [messages]);\n\n const uiMessageIds = useMemo(() => {\n const ids = new Set<string>();\n const uiMessages = stream.values?.ui;\n if (!Array.isArray(uiMessages)) return ids;\n\n for (const ui of uiMessages) {\n const uiObj = ui as unknown as Record<string, unknown>;\n const metadata =\n uiObj.metadata && typeof uiObj.metadata === \"object\"\n ? (uiObj.metadata as Record<string, unknown>)\n : undefined;\n\n const candidates = [\n typeof uiObj.id === \"string\" ? uiObj.id : undefined,\n typeof metadata?.id === \"string\" ? metadata.id : undefined,\n typeof metadata?.message_id === \"string\" ? metadata.message_id : undefined,\n ];\n\n for (const candidate of candidates) {\n if (candidate) ids.add(candidate);\n }\n }\n\n return ids;\n }, [stream.values?.ui]);\n\n const containerRef = useRef<HTMLDivElement | null>(null);\n const prevMessageCountRef = useRef(0);\n const shouldAutoScrollRef = useRef(true);\n const frozenTodosByGroupRef = useRef<Map<string, TodoItem[]>>(new Map());\n\n const normalizeTodos = useCallback((todos: unknown): TodoItem[] => {\n if (!Array.isArray(todos)) return [];\n\n return todos\n .map((todo, index) => {\n if (!todo || typeof todo !== \"object\") return null;\n const t = todo as Record<string, unknown>;\n const status = t.status;\n if (\n typeof t.content !== \"string\" ||\n (status !== \"pending\" && status !== \"in_progress\" && status !== \"completed\")\n ) {\n return null;\n }\n\n return {\n id: t.id && typeof t.id === \"string\" ? t.id : `todo-${index}`,\n content: t.content,\n status,\n updatedAt: t.updatedAt instanceof Date || typeof t.updatedAt === \"string\" || typeof t.updatedAt === \"number\"\n ? (t.updatedAt as string | number | Date)\n : undefined,\n run_id: typeof t.run_id === \"string\" ? t.run_id : undefined,\n runId: typeof t.runId === \"string\" ? t.runId : undefined,\n messageId: typeof t.messageId === \"string\" ? t.messageId : undefined,\n checkpoint: typeof t.checkpoint === \"string\" ? t.checkpoint : undefined,\n } as TodoItem;\n })\n .filter((todo): todo is TodoItem => todo !== null);\n }, []);\n\n // Handler for message feedback\n const handleFeedback = useCallback((messageId: string, feedback: MessageFeedback) => {\n setMessageFeedback(prev => ({\n ...prev,\n [messageId]: feedback,\n }));\n }, []);\n\n // Handler for message regeneration\n const handleRegenerate = useCallback(async (\n parentCheckpoint: any | null | undefined,\n ) => {\n if (!parentCheckpoint) {\n console.error(\"No parent checkpoint available for regeneration\");\n return;\n }\n\n await stream.submit(undefined, {\n checkpoint: parentCheckpoint,\n streamMode: [\"values\"],\n streamSubgraphs: true,\n streamResumable: true,\n });\n }, [stream]);\n\n // Handler for selecting a different branch\n const handleBranchSelect = useCallback((branch: string) => {\n stream.setBranch(branch);\n }, [stream]);\n\n // Handler for HITL interrupt responses\n const handleInterruptRespond = useCallback((response: any) => {\n stream.submit(null, {\n command: { resume: response },\n streamMode: [\"values\", \"messages-tuple\", \"updates\", \"custom\"],\n streamSubgraphs: true,\n });\n }, [stream]);\n\n // Build interrupt actions for custom renderers\n const interruptActions = useMemo(() => {\n const interrupt = stream.interrupt;\n if (!interrupt) return null;\n const payload = interrupt.value as any;\n const actionRequests = payload?.actionRequests ?? [];\n return {\n approve: () => {\n handleInterruptRespond({\n decisions: actionRequests.map(() => ({ type: \"approve\" as const })),\n });\n },\n reject: (reason?: string) => {\n handleInterruptRespond({\n decisions: actionRequests.map(() => ({\n type: \"reject\" as const,\n message: reason || undefined,\n })),\n });\n },\n edit: (editedArgs: Record<string, unknown>) => {\n const action = actionRequests[0];\n handleInterruptRespond({\n decisions: [\n {\n type: \"edit\" as const,\n editedAction: {\n name: action?.name ?? \"\",\n args: { ...action?.args, ...editedArgs },\n },\n },\n ],\n });\n },\n };\n }, [stream.interrupt, handleInterruptRespond]);\n\n // Get the parent scroll container\n const getScrollContainer = useCallback(() => {\n if (containerRef.current) {\n // Find the parent with overflow-y-auto class\n let parent = containerRef.current.parentElement;\n while (parent) {\n const style = window.getComputedStyle(parent);\n if (style.overflowY === 'auto' || style.overflowY === 'scroll') {\n return parent;\n }\n parent = parent.parentElement;\n }\n }\n return null;\n }, []);\n\n useEffect(() => {\n if (memoMessages.length > 0 && setIsFirstMessage) {\n setIsFirstMessage(false);\n }\n }, [memoMessages.length, setIsFirstMessage]);\n\n // Memoize message rendering logic to prevent unnecessary re-renders\n const renderMessage = useCallback((msg: typeof messages[0], index: number, messagesArray: typeof messages) => {\n const isCurrentlyStreamingMessage = isLoading && index === messagesArray.length - 1 && msg.type === \"ai\";\n if (!msg.content.length && !isAiWithToolCalls(msg) && !isCurrentlyStreamingMessage) return null;\n\n if (msg.additional_kwargs?.hidden) {\n return null;\n }\n\n // Use message id or fallback to index for key\n const msgKey = msg.id ?? `msg-${index}`;\n const hasCustomComponentForMessage = (message: Message) =>\n typeof message.id === \"string\" && uiMessageIds.has(message.id);\n\n if (msg.type === \"human\") {\n return <HumanMessage key={msgKey} message={msg} fontSize={chatBodyProps?.fontSize} />;\n }\n\n // Skip standalone tool messages\n if (isToolMessage(msg)) {\n return null;\n }\n\n // Skip if this AI message was already combined with a previous one\n if (msg.type === \"ai\" && index > 0) {\n // Check if previous non-tool message is also an AI message\n let prevIndex = index - 1;\n while (prevIndex >= 0 && isToolMessage(messagesArray[prevIndex])) {\n prevIndex--;\n }\n\n if (prevIndex >= 0 && messagesArray[prevIndex].type === \"ai\") {\n // Only render separately if THIS message owns custom UI (needs its own group).\n // Otherwise it was already consumed by the previous group's forward scan.\n const currentHasCustomUi = hasCustomComponentForMessage(msg);\n if (!currentHasCustomUi) {\n return null;\n }\n }\n }\n\n const groupedTimelineMessages: Message[] = [msg];\n let nextIndex = index + 1;\n\n while (nextIndex < messagesArray.length) {\n const nextMsg = messagesArray[nextIndex];\n\n if (isToolMessage(nextMsg)) {\n groupedTimelineMessages.push(nextMsg);\n nextIndex++;\n } else if (nextMsg.type === \"ai\") {\n if (hasCustomComponentForMessage(nextMsg)) {\n // Sub-agent/custom UI messages should be rendered in their own section\n // to avoid parent-bubble flicker and reparenting during streaming.\n break;\n }\n groupedTimelineMessages.push(nextMsg);\n nextIndex++;\n } else {\n // Stop at human messages or other types\n break;\n }\n }\n\n const groupedAiMessages = groupedTimelineMessages.filter((m) => m.type === \"ai\");\n\n // Merge content from all AI messages, preserving reasoning blocks.\n // Deduplicate identical text content (subgraph messages can duplicate parent messages).\n const hasArrayContent = groupedAiMessages.some((m) => Array.isArray(m.content));\n const seenTexts = new Set<string>();\n const mergedContent: Message[\"content\"] = hasArrayContent\n ? groupedAiMessages.flatMap((m) => {\n if (Array.isArray(m.content)) {\n return (m.content as any[]).filter((block: any) => {\n if (block.type === \"text\" && typeof block.text === \"string\") {\n if (seenTexts.has(block.text)) return false;\n seenTexts.add(block.text);\n }\n return true;\n });\n }\n if (typeof m.content === \"string\" && m.content.length > 0) {\n if (seenTexts.has(m.content)) return [];\n seenTexts.add(m.content);\n return [{ type: \"text\", text: m.content }];\n }\n return [];\n })\n : (() => {\n const unique: string[] = [];\n for (const m of groupedAiMessages) {\n const text = typeof m.content === \"string\" ? m.content : \"\";\n if (text && !seenTexts.has(text)) {\n seenTexts.add(text);\n unique.push(text);\n }\n }\n return unique.join(\"\\n\\n\");\n })();\n\n // Extract plain-text portion for legacy checks\n const combinedContent = hasArrayContent\n ? (mergedContent as any[])\n .map((c: any) => (c.type === \"text\" ? (c.text as string) : \"\"))\n .filter(Boolean)\n .join(\" \")\n : (mergedContent as string);\n\n // Create a combined message object preserving full content (including thinking blocks)\n const combinedMessage = {\n ...msg,\n content: mergedContent,\n };\n\n // Get branch metadata from thread\n const meta = msg ? stream.getMessagesMetadata(msg) : undefined;\n\n // Determine if there is any displayable content (text OR thinking/reasoning blocks)\n const hasThinkingContent = hasArrayContent\n ? (mergedContent as any[]).some(\n (b: any) =>\n (b.type === \"thinking\" && (b.thinking as string)?.length > 0) ||\n (b.type === \"reasoning\" && (b.reasoning as string)?.length > 0),\n )\n : false;\n const hasKwargsReasoning =\n groupedAiMessages.some((m) => {\n const ak = (m as Record<string, unknown>).additional_kwargs as Record<string, unknown> | undefined;\n return typeof ak?.reasoning_content === \"string\" && (ak.reasoning_content as string).length > 0;\n });\n\n const hasKwargsToolStatus = groupedAiMessages.some((m) => {\n const ak = (m as Record<string, unknown>).additional_kwargs as Record<string, unknown> | undefined;\n return Array.isArray(ak?.tool_status) && (ak.tool_status as unknown[]).length > 0;\n });\n const hasToolMessages = groupedTimelineMessages.some((m) => isToolMessage(m));\n const hasToolCalls = enableToolCallIndicator && (\n groupedAiMessages.some((m) => isAiWithToolCalls(m)) ||\n hasKwargsToolStatus ||\n hasToolMessages\n );\n const hasAnyDisplayableContent =\n !!combinedContent ||\n hasThinkingContent ||\n hasKwargsReasoning ||\n hasToolCalls;\n\n const isLastMessageGroup = nextIndex >= messagesArray.length;\n const isStreamingThisMessage = isLoading && isLastMessageGroup;\n\n const groupKey = groupedAiMessages\n .map((m) => m.id)\n .filter((id): id is string => typeof id === \"string\" && id.length > 0)\n .join(\"|\") || msgKey;\n\n const todosForGroup = (() => {\n const frozen = frozenTodosByGroupRef.current.get(groupKey);\n if (!isStreamingThisMessage && frozen && frozen.length > 0) {\n return frozen;\n }\n\n if (isStreamingThisMessage) {\n const live = normalizeTodos(stream.values?.todos);\n if (live.length > 0) {\n frozenTodosByGroupRef.current.set(groupKey, live);\n return live;\n }\n }\n\n for (let i = groupedAiMessages.length - 1; i >= 0; i--) {\n const aiMeta = stream.getMessagesMetadata(groupedAiMessages[i]);\n const aiValues = aiMeta?.firstSeenState?.values as { todos?: unknown } | undefined;\n const snapshot = normalizeTodos(aiValues?.todos);\n if (snapshot.length > 0) {\n if (!frozen || frozen.length === 0) {\n frozenTodosByGroupRef.current.set(groupKey, snapshot);\n }\n return frozen ?? snapshot;\n }\n }\n\n if (frozen && frozen.length > 0) {\n return frozen;\n }\n\n return [];\n })();\n\n // Show Thinking animation whenever streaming with no displayable content yet (plain chat or tool-call)\n const showThinkingIndicator = isStreamingThisMessage && !hasAnyDisplayableContent;\n\n return (\n <React.Fragment key={msgKey}>\n {/* 1. Thinking indicator - show when streaming with no content yet (no icon shown) */}\n {showThinkingIndicator && (\n <Thinking />\n )}\n {/* 2. Agent message — pass full mergedContent and grouped timeline for in-order rendering */}\n {hasAnyDisplayableContent && (\n <AgentMessage\n agentName={chatBodyProps?.agentName}\n fontSize={chatBodyProps?.fontSize}\n message={combinedMessage}\n groupedMessages={groupedTimelineMessages}\n showToolActivity={enableToolCallIndicator}\n isStreaming={isStreamingThisMessage}\n onRegenerate={handleRegenerate}\n feedback={msg.id ? messageFeedback[msg.id] : undefined}\n onFeedback={handleFeedback}\n branch={meta?.branch}\n branchOptions={meta?.branchOptions}\n onBranchSelect={handleBranchSelect}\n todos={todosForGroup}\n />\n )}\n {/* 3. Custom component (from all messages in the group) */}\n {groupedAiMessages.map((m) => (\n <CustomComponentRender key={m.id} message={m} thread={stream} />\n ))}\n </React.Fragment>\n );\n }, [isLoading, stream, normalizeTodos, enableToolCallIndicator, handleRegenerate, messageFeedback, handleFeedback, handleBranchSelect, uiMessageIds]);\n\n // Memoize the rendered messages array\n const renderedMessages = useMemo(() => {\n return memoMessages.map((msg, index) => {\n const element = renderMessage(msg, index, memoMessages);\n // Ensure every element has a key, using message id or fallback to index\n if (element && !element.key) {\n return React.cloneElement(element, { key: msg.id ?? `msg-${index}` });\n }\n return element;\n });\n }, [memoMessages, renderMessage]);\n\n // Track user scroll position to determine if we should auto-scroll\n useEffect(() => {\n const scrollContainer = getScrollContainer();\n if (!scrollContainer) return;\n\n const handleScroll = () => {\n const { scrollTop, scrollHeight, clientHeight } = scrollContainer;\n const distanceFromBottom = scrollHeight - scrollTop - clientHeight;\n // Consider \"at bottom\" if within 100px\n shouldAutoScrollRef.current = distanceFromBottom < 100;\n };\n\n scrollContainer.addEventListener('scroll', handleScroll);\n return () => scrollContainer.removeEventListener('scroll', handleScroll);\n }, [getScrollContainer]);\n\n // Auto-scroll when new messages are added\n useEffect(() => {\n const scrollContainer = getScrollContainer();\n if (!scrollContainer) return;\n\n const currentCount = memoMessages.length;\n const hasNewMessage = currentCount > prevMessageCountRef.current;\n\n if (hasNewMessage) {\n scrollContainer.scrollTop = scrollContainer.scrollHeight;\n shouldAutoScrollRef.current = true;\n }\n\n prevMessageCountRef.current = currentCount;\n }, [memoMessages, getScrollContainer]);\n\n // Use MutationObserver to detect DOM changes and auto-scroll during streaming\n useEffect(() => {\n const scrollContainer = getScrollContainer();\n if (!scrollContainer || !isLoading) return;\n\n const observer = new MutationObserver(() => {\n if (shouldAutoScrollRef.current && scrollContainer) {\n scrollContainer.scrollTop = scrollContainer.scrollHeight;\n }\n });\n\n // Observe the ChatBody container for changes\n if (containerRef.current) {\n observer.observe(containerRef.current, {\n childList: true,\n subtree: true,\n characterData: true,\n });\n }\n\n return () => observer.disconnect();\n }, [isLoading, getScrollContainer]);\n\n // Use useLayoutEffect to scroll after DOM updates\n useLayoutEffect(() => {\n const scrollContainer = getScrollContainer();\n if (isLoading && shouldAutoScrollRef.current && scrollContainer) {\n scrollContainer.scrollTop = scrollContainer.scrollHeight;\n }\n });\n\n return (\n <div\n ref={containerRef}\n className=\"flex flex-col gap-4 rounded-4xl p-2\"\n >\n {memoMessages.length === 0 ? (\n <div className=\"flex items-center justify-center h-full text-zinc-500\">\n {isLoading ? (\n <div className=\"flex items-center gap-2\">\n <div className=\"animate-spin h-5 w-5 border-2 border-zinc-500 border-t-transparent rounded-full\" />\n <span>Loading conversation...</span>\n </div>\n ) : (\n \"Start a conversation...\"\n )}\n </div>\n ) : (\n <>\n {renderedMessages}\n {/* Show HITL interrupt card when agent is paused for approval */}\n {/* Show thinking indicator when loading and last message is human (no AI response yet) */}\n {isLoading && memoMessages.length > 0 &&\n memoMessages[memoMessages.length - 1].type === \"human\" && (\n <Thinking />\n )}\n {!isLoading && stream.interrupt && interruptActions && (() => {\n const payload = stream.interrupt.value as any;\n const toolName = payload?.actionRequests?.[0]?.name;\n const InterruptComponent = toolName ? interruptComponents[toolName] : undefined;\n if (!InterruptComponent) return null;\n return <InterruptComponent interrupt={payload} actions={interruptActions} />;\n })()}\n </>\n )}\n\n </div>\n );\n}\n"],"names":["ChatBody","setIsFirstMessage","enableToolCallIndicator","chatBodyProps","stream","useStreamContext","interruptComponents","useCustomComponents","messages","isLoading","messageFeedback","setMessageFeedback","useState","logger","memoMessages","useMemo","uiMessageIds","ids","uiMessages","ui","uiObj","metadata","candidates","candidate","containerRef","useRef","prevMessageCountRef","shouldAutoScrollRef","frozenTodosByGroupRef","normalizeTodos","useCallback","todos","todo","index","t","status","handleFeedback","messageId","feedback","prev","handleRegenerate","parentCheckpoint","handleBranchSelect","branch","handleInterruptRespond","response","interruptActions","interrupt","actionRequests","reason","editedArgs","action","getScrollContainer","parent","style","useEffect","renderMessage","msg","messagesArray","isCurrentlyStreamingMessage","isAiWithToolCalls","msgKey","hasCustomComponentForMessage","message","HumanMessage","isToolMessage","prevIndex","groupedTimelineMessages","nextIndex","nextMsg","groupedAiMessages","m","hasArrayContent","seenTexts","mergedContent","block","unique","text","combinedContent","c","combinedMessage","meta","hasThinkingContent","b","hasKwargsReasoning","ak","hasKwargsToolStatus","hasToolMessages","hasToolCalls","hasAnyDisplayableContent","isLastMessageGroup","isStreamingThisMessage","groupKey","id","todosForGroup","frozen","live","i","aiValues","snapshot","showThinkingIndicator","jsxs","React","Thinking","jsx","AgentMessage","CustomComponentRender","renderedMessages","element","scrollContainer","handleScroll","scrollTop","scrollHeight","clientHeight","distanceFromBottom","currentCount","observer","useLayoutEffect","Fragment","payload","toolName","InterruptComponent"],"mappings":";;;;;;;;;;AAcA,SAAwBA,GAAS,EAAE,mBAAAC,GAAmB,yBAAAC,IAA0B,IAAM,eAAAC,KAA0J;AAC9O,QAAMC,IAASC,GAAA,GACT,EAAE,qBAAAC,EAAA,IAAwBC,GAAA,GAC1BC,IAAWJ,EAAO,UAClBK,IAAYL,EAAO,WAGnB,CAACM,GAAiBC,CAAkB,IAAIC,GAA0C,CAAA,CAAE;AAE1F,EAAAC,GAAO,MAAM,qCAAqCL,GAAU,cAAcC,CAAS;AAGnF,QAAMK,IAAeC,EAAQ,MAAMP,KAAY,CAAA,GAAI,CAACA,CAAQ,CAAC,GAEvDQ,IAAeD,EAAQ,MAAM;AACjC,UAAME,wBAAU,IAAA,GACVC,IAAad,EAAO,QAAQ;AAClC,QAAI,CAAC,MAAM,QAAQc,CAAU,EAAG,QAAOD;AAEvC,eAAWE,KAAMD,GAAY;AAC3B,YAAME,IAAQD,GACRE,IACJD,EAAM,YAAY,OAAOA,EAAM,YAAa,WACvCA,EAAM,WACP,QAEAE,IAAa;AAAA,QACjB,OAAOF,EAAM,MAAO,WAAWA,EAAM,KAAK;AAAA,QAC1C,OAAOC,GAAU,MAAO,WAAWA,EAAS,KAAK;AAAA,QACjD,OAAOA,GAAU,cAAe,WAAWA,EAAS,aAAa;AAAA,MAAA;AAGnE,iBAAWE,KAAaD;AACtB,QAAIC,KAAWN,EAAI,IAAIM,CAAS;AAAA,IAEpC;AAEA,WAAON;AAAA,EACT,GAAG,CAACb,EAAO,QAAQ,EAAE,CAAC,GAEhBoB,IAAeC,EAA8B,IAAI,GACjDC,IAAsBD,EAAO,CAAC,GAC9BE,IAAsBF,EAAO,EAAI,GACjCG,IAAwBH,EAAgC,oBAAI,KAAK,GAEjEI,IAAiBC,EAAY,CAAC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
+ {"version":3,"file":"ChatBody.es.js","sources":["../../src/components/ChatBody.tsx"],"sourcesContent":["import { useStreamContext } from \"@/providers/Stream\";\nimport { useCustomComponents } from \"@/providers/CustomComponentProvider\";\nimport { useThread } from \"@/providers/Thread\";\nimport type { chatBodyProps } from \"@/types/ChatProps\";\nimport { logger } from \"@/utils/logger\";\nimport { isAiWithToolCalls, isToolMessage } from \"@/utils/utils\";\nimport type { Message } from \"@langchain/langgraph-sdk\";\nimport type { TodoItem } from \"@/providers/Stream\";\nimport React, { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from \"react\";\nimport AgentMessage from \"./messages/AgentMessage\";\nimport AskUserInterrupt from \"./AskUserInterrupt\";\nimport CustomComponentRender from \"./messages/CustomComponentRender\";\nimport HumanMessage from \"./messages/HumanMessage\";\nimport type { MessageFeedback } from \"./messages/MessageActions\";\nimport Thinking from \"./Thinking\";\n\nexport default function ChatBody({ setIsFirstMessage, enableToolCallIndicator = true, chatBodyProps }: { setIsFirstMessage?: React.Dispatch<React.SetStateAction<boolean>>, enableToolCallIndicator?: boolean, chatBodyProps?: chatBodyProps }) {\n const stream = useStreamContext();\n const { interruptComponents } = useCustomComponents();\n const { threadId } = useThread();\n const messages = stream.messages;\n const isLoading = stream.isLoading;\n\n // State to track message feedback (likes/dislikes)\n const [messageFeedback, setMessageFeedback] = useState<Record<string, MessageFeedback>>({});\n\n logger.debug(\"ChatBody render - messages count:\", messages, \"isLoading:\", isLoading);\n\n // Memoize messages with stable reference\n const memoMessages = useMemo(() => messages ?? [], [messages]);\n\n const uiMessageIds = useMemo(() => {\n const ids = new Set<string>();\n const uiMessages = stream.values?.ui;\n if (!Array.isArray(uiMessages)) return ids;\n\n for (const ui of uiMessages) {\n const uiObj = ui as unknown as Record<string, unknown>;\n const metadata =\n uiObj.metadata && typeof uiObj.metadata === \"object\"\n ? (uiObj.metadata as Record<string, unknown>)\n : undefined;\n\n const candidates = [\n typeof uiObj.id === \"string\" ? uiObj.id : undefined,\n typeof metadata?.id === \"string\" ? metadata.id : undefined,\n typeof metadata?.message_id === \"string\" ? metadata.message_id : undefined,\n ];\n\n for (const candidate of candidates) {\n if (candidate) ids.add(candidate);\n }\n }\n\n return ids;\n }, [stream.values?.ui]);\n\n const containerRef = useRef<HTMLDivElement | null>(null);\n const prevMessageCountRef = useRef(0);\n const shouldAutoScrollRef = useRef(true);\n const frozenTodosByGroupRef = useRef<Map<string, TodoItem[]>>(new Map());\n\n const normalizeTodos = useCallback((todos: unknown): TodoItem[] => {\n if (!Array.isArray(todos)) return [];\n\n return todos\n .map((todo, index) => {\n if (!todo || typeof todo !== \"object\") return null;\n const t = todo as Record<string, unknown>;\n const status = t.status;\n if (\n typeof t.content !== \"string\" ||\n (status !== \"pending\" && status !== \"in_progress\" && status !== \"completed\")\n ) {\n return null;\n }\n\n return {\n id: t.id && typeof t.id === \"string\" ? t.id : `todo-${index}`,\n content: t.content,\n status,\n updatedAt: t.updatedAt instanceof Date || typeof t.updatedAt === \"string\" || typeof t.updatedAt === \"number\"\n ? (t.updatedAt as string | number | Date)\n : undefined,\n run_id: typeof t.run_id === \"string\" ? t.run_id : undefined,\n runId: typeof t.runId === \"string\" ? t.runId : undefined,\n messageId: typeof t.messageId === \"string\" ? t.messageId : undefined,\n checkpoint: typeof t.checkpoint === \"string\" ? t.checkpoint : undefined,\n } as TodoItem;\n })\n .filter((todo): todo is TodoItem => todo !== null);\n }, []);\n\n // Handler for message feedback\n const handleFeedback = useCallback((messageId: string, feedback: MessageFeedback) => {\n setMessageFeedback(prev => ({\n ...prev,\n [messageId]: feedback,\n }));\n }, []);\n\n // Handler for message regeneration\n const handleRegenerate = useCallback(async (\n parentCheckpoint: any | null | undefined,\n ) => {\n if (!parentCheckpoint) {\n console.error(\"No parent checkpoint available for regeneration\");\n return;\n }\n\n await stream.submit(undefined, {\n checkpoint: parentCheckpoint,\n streamMode: [\"values\"],\n streamSubgraphs: true,\n streamResumable: true,\n });\n }, [stream]);\n\n // Handler for selecting a different branch\n const handleBranchSelect = useCallback((branch: string) => {\n stream.setBranch(branch);\n }, [stream]);\n\n // Guard against re-showing the interrupt card during the brief window\n // between when the user submits a resume and when history refetches the new\n // checkpoint. The SDK can temporarily restore the old interrupt value from\n // historyValues during this gap, causing a flash. We suppress the card for\n // the exact interrupt value that was just responded to.\n //\n // The key is reset when:\n // - A different thread is opened (threadId changes)\n // - The interrupt disappears with isLoading=true (new stream fully started)\n const respondedInterruptKeyRef = useRef<string>(\"\");\n const prevThreadIdRef = useRef<string | null | undefined>(null);\n\n // Reset when the thread changes so a new thread with the same questions shows correctly.\n useEffect(() => {\n if (prevThreadIdRef.current !== null && prevThreadIdRef.current !== threadId) {\n respondedInterruptKeyRef.current = \"\";\n }\n prevThreadIdRef.current = threadId;\n }, [threadId]);\n\n // Reset once a new stream is flowing (isLoading=true and interrupt is gone).\n // By this point the re-appearance window is closed and we no longer need to suppress.\n useEffect(() => {\n if (isLoading && !stream.interrupt && respondedInterruptKeyRef.current !== \"\") {\n respondedInterruptKeyRef.current = \"\";\n }\n }, [isLoading, stream.interrupt]);\n\n // Handler for HITL interrupt responses\n const handleInterruptRespond = useCallback((response: any) => {\n // Fingerprint the current interrupt so we can suppress it if it briefly\n // re-appears from historyValues while the resume stream is starting.\n const key = JSON.stringify(stream.interrupt?.value ?? null);\n respondedInterruptKeyRef.current = key;\n stream.submit(null, {\n command: { resume: response },\n streamMode: [\"values\", \"messages-tuple\", \"updates\", \"custom\"],\n streamSubgraphs: true,\n });\n }, [stream]);\n\n // Build interrupt actions for custom renderers\n const interruptActions = useMemo(() => {\n const interrupt = stream.interrupt;\n if (!interrupt) return null;\n const payload = interrupt.value as any;\n const actionRequests = payload?.actionRequests ?? [];\n return {\n approve: () => {\n handleInterruptRespond({\n decisions: actionRequests.map(() => ({ type: \"approve\" as const })),\n });\n },\n reject: (reason?: string) => {\n handleInterruptRespond({\n decisions: actionRequests.map(() => ({\n type: \"reject\" as const,\n message: reason || undefined,\n })),\n });\n },\n edit: (editedArgs: Record<string, unknown>) => {\n const action = actionRequests[0];\n handleInterruptRespond({\n decisions: [\n {\n type: \"edit\" as const,\n editedAction: {\n name: action?.name ?? \"\",\n args: { ...action?.args, ...editedArgs },\n },\n },\n ],\n });\n },\n };\n }, [stream.interrupt, handleInterruptRespond]);\n\n // Get the parent scroll container\n const getScrollContainer = useCallback(() => {\n if (containerRef.current) {\n // Find the parent with overflow-y-auto class\n let parent = containerRef.current.parentElement;\n while (parent) {\n const style = window.getComputedStyle(parent);\n if (style.overflowY === 'auto' || style.overflowY === 'scroll') {\n return parent;\n }\n parent = parent.parentElement;\n }\n }\n return null;\n }, []);\n\n useEffect(() => {\n if (memoMessages.length > 0 && setIsFirstMessage) {\n setIsFirstMessage(false);\n }\n }, [memoMessages.length, setIsFirstMessage]);\n\n // Memoize message rendering logic to prevent unnecessary re-renders\n const renderMessage = useCallback((msg: typeof messages[0], index: number, messagesArray: typeof messages) => {\n const isCurrentlyStreamingMessage = isLoading && index === messagesArray.length - 1 && msg.type === \"ai\";\n if (!msg.content.length && !isAiWithToolCalls(msg) && !isCurrentlyStreamingMessage) return null;\n\n if (msg.additional_kwargs?.hidden) {\n return null;\n }\n\n // Use message id or fallback to index for key\n const msgKey = msg.id ?? `msg-${index}`;\n const hasCustomComponentForMessage = (message: Message) =>\n typeof message.id === \"string\" && uiMessageIds.has(message.id);\n\n if (msg.type === \"human\") {\n return <HumanMessage key={msgKey} message={msg} fontSize={chatBodyProps?.fontSize} />;\n }\n\n // Skip standalone tool messages\n if (isToolMessage(msg)) {\n return null;\n }\n\n // Skip if this AI message was already combined with a previous one\n if (msg.type === \"ai\" && index > 0) {\n // Check if previous non-tool message is also an AI message\n let prevIndex = index - 1;\n while (prevIndex >= 0 && isToolMessage(messagesArray[prevIndex])) {\n prevIndex--;\n }\n\n if (prevIndex >= 0 && messagesArray[prevIndex].type === \"ai\") {\n // Only render separately if THIS message owns custom UI (needs its own group).\n // Otherwise it was already consumed by the previous group's forward scan.\n const currentHasCustomUi = hasCustomComponentForMessage(msg);\n if (!currentHasCustomUi) {\n return null;\n }\n }\n }\n\n const groupedTimelineMessages: Message[] = [msg];\n let nextIndex = index + 1;\n\n while (nextIndex < messagesArray.length) {\n const nextMsg = messagesArray[nextIndex];\n\n if (isToolMessage(nextMsg)) {\n groupedTimelineMessages.push(nextMsg);\n nextIndex++;\n } else if (nextMsg.type === \"ai\") {\n if (hasCustomComponentForMessage(nextMsg)) {\n // Sub-agent/custom UI messages should be rendered in their own section\n // to avoid parent-bubble flicker and reparenting during streaming.\n break;\n }\n groupedTimelineMessages.push(nextMsg);\n nextIndex++;\n } else {\n // Stop at human messages or other types\n break;\n }\n }\n\n const groupedAiMessages = groupedTimelineMessages.filter((m) => m.type === \"ai\");\n\n // Merge content from all AI messages, preserving reasoning blocks.\n // Deduplicate identical text content (subgraph messages can duplicate parent messages).\n const hasArrayContent = groupedAiMessages.some((m) => Array.isArray(m.content));\n const seenTexts = new Set<string>();\n const mergedContent: Message[\"content\"] = hasArrayContent\n ? groupedAiMessages.flatMap((m) => {\n if (Array.isArray(m.content)) {\n return (m.content as any[]).filter((block: any) => {\n if (block.type === \"text\" && typeof block.text === \"string\") {\n if (seenTexts.has(block.text)) return false;\n seenTexts.add(block.text);\n }\n return true;\n });\n }\n if (typeof m.content === \"string\" && m.content.length > 0) {\n if (seenTexts.has(m.content)) return [];\n seenTexts.add(m.content);\n return [{ type: \"text\", text: m.content }];\n }\n return [];\n })\n : (() => {\n const unique: string[] = [];\n for (const m of groupedAiMessages) {\n const text = typeof m.content === \"string\" ? m.content : \"\";\n if (text && !seenTexts.has(text)) {\n seenTexts.add(text);\n unique.push(text);\n }\n }\n return unique.join(\"\\n\\n\");\n })();\n\n // Extract plain-text portion for legacy checks\n const combinedContent = hasArrayContent\n ? (mergedContent as any[])\n .map((c: any) => (c.type === \"text\" ? (c.text as string) : \"\"))\n .filter(Boolean)\n .join(\" \")\n : (mergedContent as string);\n\n // Create a combined message object preserving full content (including thinking blocks)\n const combinedMessage = {\n ...msg,\n content: mergedContent,\n };\n\n // Get branch metadata from thread\n const meta = msg ? stream.getMessagesMetadata(msg) : undefined;\n\n // Determine if there is any displayable content (text OR thinking/reasoning blocks)\n const hasThinkingContent = hasArrayContent\n ? (mergedContent as any[]).some(\n (b: any) =>\n (b.type === \"thinking\" && (b.thinking as string)?.length > 0) ||\n (b.type === \"reasoning\" && (b.reasoning as string)?.length > 0),\n )\n : false;\n const hasKwargsReasoning =\n groupedAiMessages.some((m) => {\n const ak = (m as Record<string, unknown>).additional_kwargs as Record<string, unknown> | undefined;\n return typeof ak?.reasoning_content === \"string\" && (ak.reasoning_content as string).length > 0;\n });\n\n const hasKwargsToolStatus = groupedAiMessages.some((m) => {\n const ak = (m as Record<string, unknown>).additional_kwargs as Record<string, unknown> | undefined;\n return Array.isArray(ak?.tool_status) && (ak.tool_status as unknown[]).length > 0;\n });\n const hasToolMessages = groupedTimelineMessages.some((m) => isToolMessage(m));\n const hasToolCalls = enableToolCallIndicator && (\n groupedAiMessages.some((m) => isAiWithToolCalls(m)) ||\n hasKwargsToolStatus ||\n hasToolMessages\n );\n const hasAnyDisplayableContent =\n !!combinedContent ||\n hasThinkingContent ||\n hasKwargsReasoning ||\n hasToolCalls;\n\n const isLastMessageGroup = nextIndex >= messagesArray.length;\n const isStreamingThisMessage = isLoading && isLastMessageGroup;\n\n const groupKey = groupedAiMessages\n .map((m) => m.id)\n .filter((id): id is string => typeof id === \"string\" && id.length > 0)\n .join(\"|\") || msgKey;\n\n const todosForGroup = (() => {\n const frozen = frozenTodosByGroupRef.current.get(groupKey);\n if (!isStreamingThisMessage && frozen && frozen.length > 0) {\n return frozen;\n }\n\n if (isStreamingThisMessage) {\n const live = normalizeTodos(stream.values?.todos);\n if (live.length > 0) {\n frozenTodosByGroupRef.current.set(groupKey, live);\n return live;\n }\n }\n\n for (let i = groupedAiMessages.length - 1; i >= 0; i--) {\n const aiMeta = stream.getMessagesMetadata(groupedAiMessages[i]);\n const aiValues = aiMeta?.firstSeenState?.values as { todos?: unknown } | undefined;\n const snapshot = normalizeTodos(aiValues?.todos);\n if (snapshot.length > 0) {\n if (!frozen || frozen.length === 0) {\n frozenTodosByGroupRef.current.set(groupKey, snapshot);\n }\n return frozen ?? snapshot;\n }\n }\n\n if (frozen && frozen.length > 0) {\n return frozen;\n }\n\n return [];\n })();\n\n // Show Thinking animation whenever streaming with no displayable content yet (plain chat or tool-call)\n const showThinkingIndicator = isStreamingThisMessage && !hasAnyDisplayableContent;\n\n return (\n <React.Fragment key={msgKey}>\n {/* 1. Thinking indicator - show when streaming with no content yet (no icon shown) */}\n {showThinkingIndicator && (\n <Thinking />\n )}\n {/* 2. Agent message — pass full mergedContent and grouped timeline for in-order rendering */}\n {hasAnyDisplayableContent && (\n <AgentMessage\n agentName={chatBodyProps?.agentName}\n fontSize={chatBodyProps?.fontSize}\n message={combinedMessage}\n groupedMessages={groupedTimelineMessages}\n showToolActivity={enableToolCallIndicator}\n isStreaming={isStreamingThisMessage}\n onRegenerate={handleRegenerate}\n feedback={msg.id ? messageFeedback[msg.id] : undefined}\n onFeedback={handleFeedback}\n branch={meta?.branch}\n branchOptions={meta?.branchOptions}\n onBranchSelect={handleBranchSelect}\n todos={todosForGroup}\n />\n )}\n {/* 3. Custom component (from all messages in the group) */}\n {groupedAiMessages.map((m) => (\n <CustomComponentRender key={m.id} message={m} thread={stream} />\n ))}\n </React.Fragment>\n );\n }, [isLoading, stream, normalizeTodos, enableToolCallIndicator, handleRegenerate, messageFeedback, handleFeedback, handleBranchSelect, uiMessageIds]);\n\n // Memoize the rendered messages array\n const renderedMessages = useMemo(() => {\n return memoMessages.map((msg, index) => {\n const element = renderMessage(msg, index, memoMessages);\n // Ensure every element has a key, using message id or fallback to index\n if (element && !element.key) {\n return React.cloneElement(element, { key: msg.id ?? `msg-${index}` });\n }\n return element;\n });\n }, [memoMessages, renderMessage]);\n\n // Track user scroll position to determine if we should auto-scroll\n useEffect(() => {\n const scrollContainer = getScrollContainer();\n if (!scrollContainer) return;\n\n const handleScroll = () => {\n const { scrollTop, scrollHeight, clientHeight } = scrollContainer;\n const distanceFromBottom = scrollHeight - scrollTop - clientHeight;\n // Consider \"at bottom\" if within 100px\n shouldAutoScrollRef.current = distanceFromBottom < 100;\n };\n\n scrollContainer.addEventListener('scroll', handleScroll);\n return () => scrollContainer.removeEventListener('scroll', handleScroll);\n }, [getScrollContainer]);\n\n // Auto-scroll when new messages are added\n useEffect(() => {\n const scrollContainer = getScrollContainer();\n if (!scrollContainer) return;\n\n const currentCount = memoMessages.length;\n const hasNewMessage = currentCount > prevMessageCountRef.current;\n\n if (hasNewMessage) {\n scrollContainer.scrollTop = scrollContainer.scrollHeight;\n shouldAutoScrollRef.current = true;\n }\n\n prevMessageCountRef.current = currentCount;\n }, [memoMessages, getScrollContainer]);\n\n // Use MutationObserver to detect DOM changes and auto-scroll during streaming\n useEffect(() => {\n const scrollContainer = getScrollContainer();\n if (!scrollContainer || !isLoading) return;\n\n const observer = new MutationObserver(() => {\n if (shouldAutoScrollRef.current && scrollContainer) {\n scrollContainer.scrollTop = scrollContainer.scrollHeight;\n }\n });\n\n // Observe the ChatBody container for changes\n if (containerRef.current) {\n observer.observe(containerRef.current, {\n childList: true,\n subtree: true,\n characterData: true,\n });\n }\n\n return () => observer.disconnect();\n }, [isLoading, getScrollContainer]);\n\n // Use useLayoutEffect to scroll after DOM updates\n useLayoutEffect(() => {\n const scrollContainer = getScrollContainer();\n if (isLoading && shouldAutoScrollRef.current && scrollContainer) {\n scrollContainer.scrollTop = scrollContainer.scrollHeight;\n }\n });\n\n return (\n <div\n ref={containerRef}\n className=\"flex flex-col gap-4 rounded-4xl p-2\"\n >\n {memoMessages.length === 0 ? (\n <div className=\"flex items-center justify-center h-full text-zinc-500\">\n {isLoading ? (\n <div className=\"flex items-center gap-2\">\n <div className=\"animate-spin h-5 w-5 border-2 border-zinc-500 border-t-transparent rounded-full\" />\n <span>Loading conversation...</span>\n </div>\n ) : (\n \"Start a conversation...\"\n )}\n </div>\n ) : (\n <>\n {renderedMessages}\n {/* Show HITL interrupt card when agent is paused for approval */}\n {/* Show thinking indicator when loading and last message is human (no AI response yet) */}\n {isLoading && memoMessages.length > 0 &&\n memoMessages[memoMessages.length - 1].type === \"human\" && (\n <Thinking />\n )}\n {stream.interrupt && (() => {\n const payload = stream.interrupt.value as any;\n\n // Suppress the card if this is the same interrupt the user already\n // responded to (it can briefly re-appear from history while the\n // resume stream is still in-flight before history refetches).\n const currentKey = JSON.stringify(payload ?? null);\n if (currentKey === respondedInterruptKeyRef.current && respondedInterruptKeyRef.current !== \"\") {\n return null;\n }\n\n // Check consumer-registered override first, then fall back to built-in.\n if (payload?.type === \"ask_user\" && Array.isArray(payload.questions)) {\n const CustomAskUser = interruptComponents[\"ask_user\"];\n if (CustomAskUser) {\n return <CustomAskUser interrupt={payload} actions={interruptActions ?? { approve: () => {}, reject: () => {}, edit: () => {} }} />;\n }\n return (\n <AskUserInterrupt\n questions={payload.questions}\n onSubmit={(response) => handleInterruptRespond(response)}\n />\n );\n }\n\n if (interruptActions) {\n const toolName = payload?.actionRequests?.[0]?.name;\n const InterruptComponent = toolName ? interruptComponents[toolName] : undefined;\n if (!InterruptComponent) return null;\n return <InterruptComponent interrupt={payload} actions={interruptActions} />;\n }\n\n return null;\n })()}\n </>\n )}\n\n </div>\n );\n}\n"],"names":["ChatBody","setIsFirstMessage","enableToolCallIndicator","chatBodyProps","stream","useStreamContext","interruptComponents","useCustomComponents","threadId","useThread","messages","isLoading","messageFeedback","setMessageFeedback","useState","logger","memoMessages","useMemo","uiMessageIds","ids","uiMessages","ui","uiObj","metadata","candidates","candidate","containerRef","useRef","prevMessageCountRef","shouldAutoScrollRef","frozenTodosByGroupRef","normalizeTodos","useCallback","todos","todo","index","t","status","handleFeedback","messageId","feedback","prev","handleRegenerate","parentCheckpoint","handleBranchSelect","branch","respondedInterruptKeyRef","prevThreadIdRef","useEffect","handleInterruptRespond","response","key","interruptActions","interrupt","actionRequests","reason","editedArgs","action","getScrollContainer","parent","style","renderMessage","msg","messagesArray","isCurrentlyStreamingMessage","isAiWithToolCalls","msgKey","hasCustomComponentForMessage","message","HumanMessage","isToolMessage","prevIndex","groupedTimelineMessages","nextIndex","nextMsg","groupedAiMessages","m","hasArrayContent","seenTexts","mergedContent","block","unique","text","combinedContent","c","combinedMessage","meta","hasThinkingContent","b","hasKwargsReasoning","ak","hasKwargsToolStatus","hasToolMessages","hasToolCalls","hasAnyDisplayableContent","isLastMessageGroup","isStreamingThisMessage","groupKey","id","todosForGroup","frozen","live","aiValues","snapshot","showThinkingIndicator","jsxs","React","Thinking","jsx","AgentMessage","CustomComponentRender","renderedMessages","element","scrollContainer","handleScroll","scrollTop","scrollHeight","clientHeight","distanceFromBottom","currentCount","observer","useLayoutEffect","Fragment","payload","CustomAskUser","AskUserInterrupt","toolName","InterruptComponent"],"mappings":";;;;;;;;;;;;AAgBA,SAAwBA,GAAS,EAAE,mBAAAC,GAAmB,yBAAAC,IAA0B,IAAM,eAAAC,KAA0J;AAC9O,QAAMC,IAASC,GAAA,GACT,EAAE,qBAAAC,EAAA,IAAwBC,GAAA,GAC1B,EAAE,UAAAC,EAAA,IAAaC,GAAA,GACfC,IAAWN,EAAO,UAClBO,IAAYP,EAAO,WAGnB,CAACQ,GAAiBC,EAAkB,IAAIC,GAA0C,CAAA,CAAE;AAE1F,EAAAC,GAAO,MAAM,qCAAqCL,GAAU,cAAcC,CAAS;AAGnF,QAAMK,IAAeC,EAAQ,MAAMP,KAAY,CAAA,GAAI,CAACA,CAAQ,CAAC,GAEvDQ,IAAeD,EAAQ,MAAM;AACjC,UAAME,wBAAU,IAAA,GACVC,IAAahB,EAAO,QAAQ;AAClC,QAAI,CAAC,MAAM,QAAQgB,CAAU,EAAG,QAAOD;AAEvC,eAAWE,KAAMD,GAAY;AAC3B,YAAME,IAAQD,GACRE,IACJD,EAAM,YAAY,OAAOA,EAAM,YAAa,WACvCA,EAAM,WACP,QAEAE,IAAa;AAA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