langgraph-ui-components 0.0.30 → 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.
- package/README.md +102 -1
- package/dist/_virtual/index.cjs.js +1 -1
- package/dist/_virtual/index.cjs3.js +1 -1
- package/dist/_virtual/index.es.js +1 -1
- package/dist/_virtual/index.es3.js +1 -1
- package/dist/assets/langgraph-ui-components.css +1 -1
- package/dist/components/AskUserInterrupt.cjs.js +2 -0
- package/dist/components/AskUserInterrupt.cjs.js.map +1 -0
- package/dist/components/AskUserInterrupt.d.ts +3 -0
- package/dist/components/AskUserInterrupt.d.ts.map +1 -0
- package/dist/components/AskUserInterrupt.es.js +90 -0
- package/dist/components/AskUserInterrupt.es.js.map +1 -0
- package/dist/components/ChatBody.cjs.js +2 -2
- package/dist/components/ChatBody.cjs.js.map +1 -1
- package/dist/components/ChatBody.d.ts.map +1 -1
- package/dist/components/ChatBody.es.js +184 -156
- package/dist/components/ChatBody.es.js.map +1 -1
- package/dist/components/threads/ThreadHistory.cjs.js +1 -1
- package/dist/components/threads/ThreadHistory.cjs.js.map +1 -1
- package/dist/components/threads/ThreadHistory.es.js +1 -1
- package/dist/components/ui/button.cjs.js +1 -1
- package/dist/components/ui/button.cjs.js.map +1 -1
- package/dist/components/ui/button.es.js +1 -1
- package/dist/components/ui/hover-card.cjs.js +1 -1
- package/dist/components/ui/hover-card.es.js +1 -1
- package/dist/components/ui/syntax-highlighter.cjs.js +1 -1
- package/dist/components/ui/syntax-highlighter.es.js +1 -1
- package/dist/components/ui/tooltip.cjs.js +1 -1
- package/dist/components/ui/tooltip.es.js +1 -1
- package/dist/entries/components.cjs.js +1 -1
- package/dist/entries/components.d.ts +2 -0
- package/dist/entries/components.d.ts.map +1 -1
- package/dist/entries/components.es.js +6 -4
- package/dist/entries/components.es.js.map +1 -1
- package/dist/entries/hooks.cjs.js +1 -1
- package/dist/entries/hooks.es.js +4 -4
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +27 -25
- package/dist/index.es.js.map +1 -1
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.cjs.js +2 -0
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs.js +2 -0
- 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
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js +404 -0
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs.js +2 -0
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js +129 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/katex@0.16.45/node_modules/katex/dist/katex.cjs.js +258 -0
- package/dist/node_modules/.pnpm/katex@0.16.45/node_modules/katex/dist/katex.cjs.js.map +1 -0
- package/dist/node_modules/.pnpm/{katex@0.16.28 → katex@0.16.45}/node_modules/katex/dist/katex.es.js +3056 -3130
- package/dist/node_modules/.pnpm/katex@0.16.45/node_modules/katex/dist/katex.es.js.map +1 -0
- 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
- 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
- package/dist/node_modules/.pnpm/parse-entities@4.0.2/node_modules/parse-entities/lib/index.cjs.js +1 -1
- package/dist/node_modules/.pnpm/parse-entities@4.0.2/node_modules/parse-entities/lib/index.es.js +1 -1
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/rehype-katex@7.0.1/node_modules/rehype-katex/lib/index.cjs.js +1 -1
- package/dist/node_modules/.pnpm/rehype-katex@7.0.1/node_modules/rehype-katex/lib/index.es.js +1 -1
- package/dist/node_modules/.pnpm/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs.js +2 -0
- package/dist/node_modules/.pnpm/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs.js.map +1 -0
- 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
- package/dist/node_modules/.pnpm/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.es.js.map +1 -0
- package/dist/node_modules/.pnpm/unist-util-visit@5.1.0/node_modules/unist-util-visit/lib/index.cjs.js.map +1 -0
- package/dist/node_modules/.pnpm/unist-util-visit@5.1.0/node_modules/unist-util-visit/lib/index.es.js.map +1 -0
- package/dist/providers/CustomComponentProvider.es.js +1 -1
- package/dist/providers/FileProvider.es.js +4 -4
- package/dist/providers/Thread.es.js +3 -3
- package/dist/providers/useChatSuggestions.cjs.js +1 -1
- package/dist/providers/useChatSuggestions.cjs.js.map +1 -1
- package/dist/providers/useChatSuggestions.es.js +9 -10
- package/dist/styles.css +1 -1
- package/dist/types/AskUserInterrupt.d.ts +24 -0
- package/dist/types/AskUserInterrupt.d.ts.map +1 -0
- package/dist/utils/tailwindUtil.cjs.js +1 -1
- package/dist/utils/tailwindUtil.es.js +1 -1
- package/package.json +1 -1
- package/src/components/AskUserInterrupt.tsx +137 -0
- package/src/components/ChatBody.tsx +67 -5
- package/src/entries/components.ts +9 -0
- package/src/index.ts +8 -0
- package/src/types/AskUserInterrupt.ts +27 -0
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.4/node_modules/@floating-ui/core/dist/floating-ui.core.cjs.js +0 -2
- 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
- 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
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs.js +0 -2
- 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
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js +0 -403
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs.js +0 -2
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js +0 -131
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/katex@0.16.28/node_modules/katex/dist/katex.cjs.js +0 -262
- package/dist/node_modules/.pnpm/katex@0.16.28/node_modules/katex/dist/katex.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/katex@0.16.28/node_modules/katex/dist/katex.es.js.map +0 -1
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs.js +0 -2
- package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.es.js.map +0 -1
- package/dist/node_modules/.pnpm/unist-util-visit@5.0.0/node_modules/unist-util-visit/lib/index.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/unist-util-visit@5.0.0/node_modules/unist-util-visit/lib/index.es.js.map +0 -1
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),d=require("../utils/tailwindUtil.cjs.js"),g=require("react");function z({questions:i,onSubmit:u}){const[o,x]=g.useState(()=>Object.fromEntries(i.map(e=>[e.header,{selected:[],freeText:null,skipped:!1}]))),p=(e,t,r)=>{x(c=>{const s=c[e];let l;return r?l=s.selected.includes(t)?s.selected.filter(m=>m!==t):[...s.selected,t]:l=s.selected[0]===t?[]:[t],{...c,[e]:{...s,selected:l,skipped:!1}}})},b=(e,t)=>{x(r=>({...r,[e]:{...r[e],freeText:t||null,skipped:!1}}))},f=e=>{const t=o[e];return t.selected.length>0||t.freeText!==null&&t.freeText.trim().length>0},a=i.every(e=>f(e.header)),h=()=>{a&&u({answers:o})};return n.jsxs("div",{className:"flex flex-col gap-3 rounded-xl border border-zinc-700 bg-zinc-900 p-4 text-sm text-zinc-100",children:[n.jsxs("div",{className:"flex items-center gap-2 text-xs font-semibold uppercase tracking-wider text-zinc-400",children:[n.jsx("svg",{className:"h-3.5 w-3.5 shrink-0",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true",children:n.jsx("path",{d:"M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1Zm.75 4.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM7.25 7h1.5v4.5h-1.5V7Z"})}),"Input needed"]}),i.map(e=>{const t=o[e.header],r=e.options&&e.options.length>0,c=!r||e.allowFreeformInput;return n.jsxs("div",{className:"flex flex-col gap-2 border-t border-zinc-800 pt-3 first:border-t-0 first:pt-0",children:[n.jsxs("div",{className:"flex flex-col gap-0.5",children:[n.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-wide text-zinc-500",children:e.header}),n.jsx("p",{className:"leading-snug text-zinc-200",children:e.question})]}),r&&n.jsx("div",{className:"flex flex-wrap gap-1.5",children:e.options.map(s=>{const l=t.selected.includes(s.label);return n.jsxs("button",{type:"button",onClick:()=>p(e.header,s.label,e.multiSelect??!1),className:d.cn("flex flex-col items-start rounded-lg border px-3 py-1.5 text-left text-xs transition-colors",l?"border-blue-500 bg-blue-500/15 text-blue-300":"border-zinc-700 bg-zinc-800 text-zinc-300 hover:border-zinc-500 hover:bg-zinc-700"),children:[n.jsx("span",{className:"font-medium",children:s.label}),s.description&&n.jsx("span",{className:d.cn("mt-0.5 text-[10px]",l?"text-blue-400":"text-zinc-500"),children:s.description})]},s.label)})}),c&&n.jsx("input",{type:"text",value:t.freeText??"",onChange:s=>b(e.header,s.target.value),placeholder:r?"Or type a custom answer…":"Type your answer…",className:"rounded-lg border border-zinc-700 bg-zinc-800 px-3 py-1.5 text-xs text-zinc-100 placeholder-zinc-500 outline-none focus:border-blue-500 focus:ring-1 focus:ring-blue-500/40"})]},e.header)}),n.jsx("button",{type:"button",disabled:!a,onClick:h,className:d.cn("mt-1 self-end rounded-lg px-4 py-1.5 text-xs font-semibold transition-colors",a?"bg-blue-600 text-white hover:bg-blue-500":"cursor-not-allowed bg-zinc-700 text-zinc-500"),children:"Submit"})]})}module.exports=z;
|
|
2
|
+
//# sourceMappingURL=AskUserInterrupt.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AskUserInterrupt.cjs.js","sources":["../../src/components/AskUserInterrupt.tsx"],"sourcesContent":["import { cn } from \"@/utils/tailwindUtil\";\nimport { useState } from \"react\";\nimport type {\n AskUserInterruptProps,\n QuestionAnswer,\n} from \"@/types/AskUserInterrupt\";\n\nexport default function AskUserInterrupt({ questions, onSubmit }: AskUserInterruptProps) {\n const [answers, setAnswers] = useState<Record<string, QuestionAnswer>>(() =>\n Object.fromEntries(\n questions.map((q) => [\n q.header,\n { selected: [], freeText: null, skipped: false },\n ])\n )\n );\n\n const toggleOption = (header: string, label: string, multiSelect: boolean) => {\n setAnswers((prev) => {\n const current = prev[header];\n let selected: string[];\n if (multiSelect) {\n selected = current.selected.includes(label)\n ? current.selected.filter((s) => s !== label)\n : [...current.selected, label];\n } else {\n selected = current.selected[0] === label ? [] : [label];\n }\n return { ...prev, [header]: { ...current, selected, skipped: false } };\n });\n };\n\n const setFreeText = (header: string, text: string) => {\n setAnswers((prev) => ({\n ...prev,\n [header]: { ...prev[header], freeText: text || null, skipped: false },\n }));\n };\n\n const isAnswered = (header: string): boolean => {\n const a = answers[header];\n return a.selected.length > 0 || (a.freeText !== null && a.freeText.trim().length > 0);\n };\n\n const allAnswered = questions.every((q) => isAnswered(q.header));\n\n const handleSubmit = () => {\n if (!allAnswered) return;\n onSubmit({ answers });\n };\n\n return (\n <div className=\"flex flex-col gap-3 rounded-xl border border-zinc-700 bg-zinc-900 p-4 text-sm text-zinc-100\">\n {/* Header */}\n <div className=\"flex items-center gap-2 text-xs font-semibold uppercase tracking-wider text-zinc-400\">\n <svg className=\"h-3.5 w-3.5 shrink-0\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\">\n <path d=\"M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1Zm.75 4.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM7.25 7h1.5v4.5h-1.5V7Z\" />\n </svg>\n Input needed\n </div>\n\n {/* Questions */}\n {questions.map((q) => {\n const answer = answers[q.header];\n const hasOptions = q.options && q.options.length > 0;\n const showFreeText = !hasOptions || q.allowFreeformInput;\n\n return (\n <div key={q.header} className=\"flex flex-col gap-2 border-t border-zinc-800 pt-3 first:border-t-0 first:pt-0\">\n {/* Question header + text */}\n <div className=\"flex flex-col gap-0.5\">\n <span className=\"text-[11px] font-semibold uppercase tracking-wide text-zinc-500\">\n {q.header}\n </span>\n <p className=\"leading-snug text-zinc-200\">{q.question}</p>\n </div>\n\n {/* Options */}\n {hasOptions && (\n <div className=\"flex flex-wrap gap-1.5\">\n {q.options!.map((opt) => {\n const isSelected = answer.selected.includes(opt.label);\n return (\n <button\n key={opt.label}\n type=\"button\"\n onClick={() => toggleOption(q.header, opt.label, q.multiSelect ?? false)}\n className={cn(\n \"flex flex-col items-start rounded-lg border px-3 py-1.5 text-left text-xs transition-colors\",\n isSelected\n ? \"border-blue-500 bg-blue-500/15 text-blue-300\"\n : \"border-zinc-700 bg-zinc-800 text-zinc-300 hover:border-zinc-500 hover:bg-zinc-700\"\n )}\n >\n <span className=\"font-medium\">{opt.label}</span>\n {opt.description && (\n <span className={cn(\"mt-0.5 text-[10px]\", isSelected ? \"text-blue-400\" : \"text-zinc-500\")}>\n {opt.description}\n </span>\n )}\n </button>\n );\n })}\n </div>\n )}\n\n {/* Free-text input */}\n {showFreeText && (\n <input\n type=\"text\"\n value={answer.freeText ?? \"\"}\n onChange={(e) => setFreeText(q.header, e.target.value)}\n placeholder={hasOptions ? \"Or type a custom answer…\" : \"Type your answer…\"}\n className=\"rounded-lg border border-zinc-700 bg-zinc-800 px-3 py-1.5 text-xs text-zinc-100 placeholder-zinc-500 outline-none focus:border-blue-500 focus:ring-1 focus:ring-blue-500/40\"\n />\n )}\n </div>\n );\n })}\n\n {/* Submit */}\n <button\n type=\"button\"\n disabled={!allAnswered}\n onClick={handleSubmit}\n className={cn(\n \"mt-1 self-end rounded-lg px-4 py-1.5 text-xs font-semibold transition-colors\",\n allAnswered\n ? \"bg-blue-600 text-white hover:bg-blue-500\"\n : \"cursor-not-allowed bg-zinc-700 text-zinc-500\"\n )}\n >\n Submit\n </button>\n </div>\n );\n}\n"],"names":["AskUserInterrupt","questions","onSubmit","answers","setAnswers","useState","q","toggleOption","header","label","multiSelect","prev","current","selected","s","setFreeText","text","isAnswered","a","allAnswered","handleSubmit","jsxs","jsx","answer","hasOptions","showFreeText","opt","isSelected","cn","e"],"mappings":"+GAOA,SAAwBA,EAAiB,CAAE,UAAAC,EAAW,SAAAC,GAAmC,CACvF,KAAM,CAACC,EAASC,CAAU,EAAIC,EAAAA,SAAyC,IACrE,OAA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,SAAA,CACC,KAAK,SACL,SAAU,CAACH,EACX,QAASC,EACT,UAAWQ,EAAAA,GACT,+EACAT,EACI,2CACA,8CAAA,EAEP,SAAA,QAAA,CAAA,CAED,EACF,CAEJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AskUserInterrupt.d.ts","sourceRoot":"","sources":["../../src/components/AskUserInterrupt.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,qBAAqB,EAEtB,MAAM,0BAA0B,CAAC;AAElC,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,qBAAqB,2CAiItF"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { jsxs as c, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { cn as u } from "../utils/tailwindUtil.es.js";
|
|
3
|
+
import { useState as z } from "react";
|
|
4
|
+
function y({ questions: o, onSubmit: p }) {
|
|
5
|
+
const [a, x] = z(
|
|
6
|
+
() => Object.fromEntries(
|
|
7
|
+
o.map((e) => [
|
|
8
|
+
e.header,
|
|
9
|
+
{ selected: [], freeText: null, skipped: !1 }
|
|
10
|
+
])
|
|
11
|
+
)
|
|
12
|
+
), f = (e, t, s) => {
|
|
13
|
+
x((i) => {
|
|
14
|
+
const r = i[e];
|
|
15
|
+
let l;
|
|
16
|
+
return s ? l = r.selected.includes(t) ? r.selected.filter((g) => g !== t) : [...r.selected, t] : l = r.selected[0] === t ? [] : [t], { ...i, [e]: { ...r, selected: l, skipped: !1 } };
|
|
17
|
+
});
|
|
18
|
+
}, m = (e, t) => {
|
|
19
|
+
x((s) => ({
|
|
20
|
+
...s,
|
|
21
|
+
[e]: { ...s[e], freeText: t || null, skipped: !1 }
|
|
22
|
+
}));
|
|
23
|
+
}, b = (e) => {
|
|
24
|
+
const t = a[e];
|
|
25
|
+
return t.selected.length > 0 || t.freeText !== null && t.freeText.trim().length > 0;
|
|
26
|
+
}, d = o.every((e) => b(e.header)), h = () => {
|
|
27
|
+
d && p({ answers: a });
|
|
28
|
+
};
|
|
29
|
+
return /* @__PURE__ */ c("div", { className: "flex flex-col gap-3 rounded-xl border border-zinc-700 bg-zinc-900 p-4 text-sm text-zinc-100", children: [
|
|
30
|
+
/* @__PURE__ */ c("div", { className: "flex items-center gap-2 text-xs font-semibold uppercase tracking-wider text-zinc-400", children: [
|
|
31
|
+
/* @__PURE__ */ n("svg", { className: "h-3.5 w-3.5 shrink-0", viewBox: "0 0 16 16", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ n("path", { d: "M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1Zm.75 4.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM7.25 7h1.5v4.5h-1.5V7Z" }) }),
|
|
32
|
+
"Input needed"
|
|
33
|
+
] }),
|
|
34
|
+
o.map((e) => {
|
|
35
|
+
const t = a[e.header], s = e.options && e.options.length > 0, i = !s || e.allowFreeformInput;
|
|
36
|
+
return /* @__PURE__ */ c("div", { className: "flex flex-col gap-2 border-t border-zinc-800 pt-3 first:border-t-0 first:pt-0", children: [
|
|
37
|
+
/* @__PURE__ */ c("div", { className: "flex flex-col gap-0.5", children: [
|
|
38
|
+
/* @__PURE__ */ n("span", { className: "text-[11px] font-semibold uppercase tracking-wide text-zinc-500", children: e.header }),
|
|
39
|
+
/* @__PURE__ */ n("p", { className: "leading-snug text-zinc-200", children: e.question })
|
|
40
|
+
] }),
|
|
41
|
+
s && /* @__PURE__ */ n("div", { className: "flex flex-wrap gap-1.5", children: e.options.map((r) => {
|
|
42
|
+
const l = t.selected.includes(r.label);
|
|
43
|
+
return /* @__PURE__ */ c(
|
|
44
|
+
"button",
|
|
45
|
+
{
|
|
46
|
+
type: "button",
|
|
47
|
+
onClick: () => f(e.header, r.label, e.multiSelect ?? !1),
|
|
48
|
+
className: u(
|
|
49
|
+
"flex flex-col items-start rounded-lg border px-3 py-1.5 text-left text-xs transition-colors",
|
|
50
|
+
l ? "border-blue-500 bg-blue-500/15 text-blue-300" : "border-zinc-700 bg-zinc-800 text-zinc-300 hover:border-zinc-500 hover:bg-zinc-700"
|
|
51
|
+
),
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ n("span", { className: "font-medium", children: r.label }),
|
|
54
|
+
r.description && /* @__PURE__ */ n("span", { className: u("mt-0.5 text-[10px]", l ? "text-blue-400" : "text-zinc-500"), children: r.description })
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
r.label
|
|
58
|
+
);
|
|
59
|
+
}) }),
|
|
60
|
+
i && /* @__PURE__ */ n(
|
|
61
|
+
"input",
|
|
62
|
+
{
|
|
63
|
+
type: "text",
|
|
64
|
+
value: t.freeText ?? "",
|
|
65
|
+
onChange: (r) => m(e.header, r.target.value),
|
|
66
|
+
placeholder: s ? "Or type a custom answer…" : "Type your answer…",
|
|
67
|
+
className: "rounded-lg border border-zinc-700 bg-zinc-800 px-3 py-1.5 text-xs text-zinc-100 placeholder-zinc-500 outline-none focus:border-blue-500 focus:ring-1 focus:ring-blue-500/40"
|
|
68
|
+
}
|
|
69
|
+
)
|
|
70
|
+
] }, e.header);
|
|
71
|
+
}),
|
|
72
|
+
/* @__PURE__ */ n(
|
|
73
|
+
"button",
|
|
74
|
+
{
|
|
75
|
+
type: "button",
|
|
76
|
+
disabled: !d,
|
|
77
|
+
onClick: h,
|
|
78
|
+
className: u(
|
|
79
|
+
"mt-1 self-end rounded-lg px-4 py-1.5 text-xs font-semibold transition-colors",
|
|
80
|
+
d ? "bg-blue-600 text-white hover:bg-blue-500" : "cursor-not-allowed bg-zinc-700 text-zinc-500"
|
|
81
|
+
),
|
|
82
|
+
children: "Submit"
|
|
83
|
+
}
|
|
84
|
+
)
|
|
85
|
+
] });
|
|
86
|
+
}
|
|
87
|
+
export {
|
|
88
|
+
y as default
|
|
89
|
+
};
|
|
90
|
+
//# sourceMappingURL=AskUserInterrupt.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AskUserInterrupt.es.js","sources":["../../src/components/AskUserInterrupt.tsx"],"sourcesContent":["import { cn } from \"@/utils/tailwindUtil\";\nimport { useState } from \"react\";\nimport type {\n AskUserInterruptProps,\n QuestionAnswer,\n} from \"@/types/AskUserInterrupt\";\n\nexport default function AskUserInterrupt({ questions, onSubmit }: AskUserInterruptProps) {\n const [answers, setAnswers] = useState<Record<string, QuestionAnswer>>(() =>\n Object.fromEntries(\n questions.map((q) => [\n q.header,\n { selected: [], freeText: null, skipped: false },\n ])\n )\n );\n\n const toggleOption = (header: string, label: string, multiSelect: boolean) => {\n setAnswers((prev) => {\n const current = prev[header];\n let selected: string[];\n if (multiSelect) {\n selected = current.selected.includes(label)\n ? current.selected.filter((s) => s !== label)\n : [...current.selected, label];\n } else {\n selected = current.selected[0] === label ? [] : [label];\n }\n return { ...prev, [header]: { ...current, selected, skipped: false } };\n });\n };\n\n const setFreeText = (header: string, text: string) => {\n setAnswers((prev) => ({\n ...prev,\n [header]: { ...prev[header], freeText: text || null, skipped: false },\n }));\n };\n\n const isAnswered = (header: string): boolean => {\n const a = answers[header];\n return a.selected.length > 0 || (a.freeText !== null && a.freeText.trim().length > 0);\n };\n\n const allAnswered = questions.every((q) => isAnswered(q.header));\n\n const handleSubmit = () => {\n if (!allAnswered) return;\n onSubmit({ answers });\n };\n\n return (\n <div className=\"flex flex-col gap-3 rounded-xl border border-zinc-700 bg-zinc-900 p-4 text-sm text-zinc-100\">\n {/* Header */}\n <div className=\"flex items-center gap-2 text-xs font-semibold uppercase tracking-wider text-zinc-400\">\n <svg className=\"h-3.5 w-3.5 shrink-0\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\">\n <path d=\"M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1Zm.75 4.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM7.25 7h1.5v4.5h-1.5V7Z\" />\n </svg>\n Input needed\n </div>\n\n {/* Questions */}\n {questions.map((q) => {\n const answer = answers[q.header];\n const hasOptions = q.options && q.options.length > 0;\n const showFreeText = !hasOptions || q.allowFreeformInput;\n\n return (\n <div key={q.header} className=\"flex flex-col gap-2 border-t border-zinc-800 pt-3 first:border-t-0 first:pt-0\">\n {/* Question header + text */}\n <div className=\"flex flex-col gap-0.5\">\n <span className=\"text-[11px] font-semibold uppercase tracking-wide text-zinc-500\">\n {q.header}\n </span>\n <p className=\"leading-snug text-zinc-200\">{q.question}</p>\n </div>\n\n {/* Options */}\n {hasOptions && (\n <div className=\"flex flex-wrap gap-1.5\">\n {q.options!.map((opt) => {\n const isSelected = answer.selected.includes(opt.label);\n return (\n <button\n key={opt.label}\n type=\"button\"\n onClick={() => toggleOption(q.header, opt.label, q.multiSelect ?? false)}\n className={cn(\n \"flex flex-col items-start rounded-lg border px-3 py-1.5 text-left text-xs transition-colors\",\n isSelected\n ? \"border-blue-500 bg-blue-500/15 text-blue-300\"\n : \"border-zinc-700 bg-zinc-800 text-zinc-300 hover:border-zinc-500 hover:bg-zinc-700\"\n )}\n >\n <span className=\"font-medium\">{opt.label}</span>\n {opt.description && (\n <span className={cn(\"mt-0.5 text-[10px]\", isSelected ? \"text-blue-400\" : \"text-zinc-500\")}>\n {opt.description}\n </span>\n )}\n </button>\n );\n })}\n </div>\n )}\n\n {/* Free-text input */}\n {showFreeText && (\n <input\n type=\"text\"\n value={answer.freeText ?? \"\"}\n onChange={(e) => setFreeText(q.header, e.target.value)}\n placeholder={hasOptions ? \"Or type a custom answer…\" : \"Type your answer…\"}\n className=\"rounded-lg border border-zinc-700 bg-zinc-800 px-3 py-1.5 text-xs text-zinc-100 placeholder-zinc-500 outline-none focus:border-blue-500 focus:ring-1 focus:ring-blue-500/40\"\n />\n )}\n </div>\n );\n })}\n\n {/* Submit */}\n <button\n type=\"button\"\n disabled={!allAnswered}\n onClick={handleSubmit}\n className={cn(\n \"mt-1 self-end rounded-lg px-4 py-1.5 text-xs font-semibold transition-colors\",\n allAnswered\n ? \"bg-blue-600 text-white hover:bg-blue-500\"\n : \"cursor-not-allowed bg-zinc-700 text-zinc-500\"\n )}\n >\n Submit\n </button>\n </div>\n );\n}\n"],"names":["AskUserInterrupt","questions","onSubmit","answers","setAnswers","useState","q","toggleOption","header","label","multiSelect","prev","current","selected","s","setFreeText","text","isAnswered","a","allAnswered","handleSubmit","jsxs","jsx","answer","hasOptions","showFreeText","opt","isSelected","cn","e"],"mappings":";;;AAOA,SAAwBA,EAAiB,EAAE,WAAAC,GAAW,UAAAC,KAAmC;AACvF,QAAM,CAACC,GAASC,CAAU,IAAIC;AAAA,IAAyC,MACrE,OAAO;AAAA,MACLJ,EAAU,IAAI,CAACK,MAAM;AAAA,QACnBA,EAAE;AAAA,QACF,EAAE,UAAU,CAAA,GAAI,UAAU,MAAM,SAAS,GAAA;AAAA,MAAM,CAChD;AAAA,IAAA;AAAA,EACH,GAGIC,IAAe,CAACC,GAAgBC,GAAeC,MAAyB;AAC5E,IAAAN,EAAW,CAACO,MAAS;AACnB,YAAMC,IAAUD,EAAKH,CAAM;AAC3B,UAAIK;AACJ,aAAIH,IACFG,IAAWD,EAAQ,SAAS,SAASH,CAAK,IACtCG,EAAQ,SAAS,OAAO,CAACE,MAAMA,MAAML,CAAK,IAC1C,CAAC,GAAGG,EAAQ,UAAUH,CAAK,IAE/BI,IAAWD,EAAQ,SAAS,CAAC,MAAMH,IAAQ,CAAA,IAAK,CAACA,CAAK,GAEjD,EAAE,GAAGE,GAAM,CAACH,CAAM,GAAG,EAAE,GAAGI,GAAS,UAAAC,GAAU,SAAS,KAAM;AAAA,IACrE,CAAC;AAAA,EACH,GAEME,IAAc,CAACP,GAAgBQ,MAAiB;AACpD,IAAAZ,EAAW,CAACO,OAAU;AAAA,MACpB,GAAGA;AAAA,MACH,CAACH,CAAM,GAAG,EAAE,GAAGG,EAAKH,CAAM,GAAG,UAAUQ,KAAQ,MAAM,SAAS,GAAA;AAAA,IAAM,EACpE;AAAA,EACJ,GAEMC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ACL,SAAS,MAAMd,EAAaD,EAAE,QAAQoB,EAAI,OAAOpB,EAAE,eAAe,EAAK;AAAA,cACvE,WAAWsB;AAAA,gBACT;AAAA,gBACAD,IACI,iDACA;AAAA,cAAA;AAAA,cAGN,UAAA;AAAA,gBAAA,gBAAAL,EAAC,QAAA,EAAK,WAAU,eAAe,UAAAI,EAAI,OAAM;AAAA,gBACxCA,EAAI,eACH,gBAAAJ,EAAC,QAAA,EAAK,WAAWM,EAAG,sBAAsBD,IAAa,kBAAkB,eAAe,GACrF,UAAAD,EAAI,YAAA,CACP;AAAA,cAAA;AAAA,YAAA;AAAA,YAdGA,EAAI;AAAA,UAAA;AAAA,QAkBf,CAAC,EAAA,CACH;AAAA,QAIDD,KACC,gBAAAH;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,OAAOC,EAAO,YAAY;AAAA,YAC1B,UAAU,CAACM,MAAMd,EAAYT,EAAE,QAAQuB,EAAE,OAAO,KAAK;AAAA,YACrD,aAAaL,IAAa,6BAA6B;AAAA,YACvD,WAAU;AAAA,UAAA;AAAA,QAAA;AAAA,MACZ,EAAA,GA9CMlB,EAAE,MAgDZ;AAAA,IAEJ,CAAC;AAAA,IAGD,gBAAAgB;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,UAAU,CAACH;AAAA,QACX,SAASC;AAAA,QACT,WAAWQ;AAAA,UACT;AAAA,UACAT,IACI,6CACA;AAAA,QAAA;AAAA,QAEP,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAED,GACF;AAEJ;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),ue=require("../providers/Stream.cjs.js"),ce=require("../providers/CustomComponentProvider.cjs.js"),le=require("../providers/Thread.cjs.js"),de=require("../utils/logger.cjs.js"),v=require("../utils/utils.cjs.js"),o=require("react"),fe=require("./messages/AgentMessage.cjs.js"),pe=require("./AskUserInterrupt.cjs.js"),ge=require("./messages/CustomComponentRender.cjs.js"),he=require("./messages/HumanMessage.cjs.js"),Y=require("./Thinking.cjs.js");function me({setIsFirstMessage:A,enableToolCallIndicator:R=!0,chatBodyProps:T}){const i=ue.useStreamContext(),{interruptComponents:F}=ce.useCustomComponents(),{threadId:w}=le.useThread(),q=i.messages,l=i.isLoading,[K,V]=o.useState({});de.logger.debug("ChatBody render - messages count:",q,"isLoading:",l);const d=o.useMemo(()=>q??[],[q]),B=o.useMemo(()=>{const e=new Set,s=i.values?.ui;if(!Array.isArray(s))return e;for(const r of s){const n=r,u=n.metadata&&typeof n.metadata=="object"?n.metadata:void 0,m=[typeof n.id=="string"?n.id:void 0,typeof u?.id=="string"?u.id:void 0,typeof u?.message_id=="string"?u.message_id:void 0];for(const p of m)p&&e.add(p)}return e},[i.values?.ui]),M=o.useRef(null),O=o.useRef(0),k=o.useRef(!0),_=o.useRef(new Map),E=o.useCallback(e=>Array.isArray(e)?e.map((s,r)=>{if(!s||typeof s!="object")return null;const n=s,u=n.status;return typeof n.content!="string"||u!=="pending"&&u!=="in_progress"&&u!=="completed"?null:{id:n.id&&typeof n.id=="string"?n.id:`todo-${r}`,content:n.content,status:u,updatedAt:n.updatedAt instanceof Date||typeof n.updatedAt=="string"||typeof n.updatedAt=="number"?n.updatedAt:void 0,run_id:typeof n.run_id=="string"?n.run_id:void 0,runId:typeof n.runId=="string"?n.runId:void 0,messageId:typeof n.messageId=="string"?n.messageId:void 0,checkpoint:typeof n.checkpoint=="string"?n.checkpoint:void 0}}).filter(s=>s!==null):[],[]),U=o.useCallback((e,s)=>{V(r=>({...r,[e]:s}))},[]),D=o.useCallback(async e=>{if(!e){console.error("No parent checkpoint available for regeneration");return}await i.submit(void 0,{checkpoint:e,streamMode:["values"],streamSubgraphs:!0,streamResumable:!0})},[i]),G=o.useCallback(e=>{i.setBranch(e)},[i]),h=o.useRef(""),I=o.useRef(null);o.useEffect(()=>{I.current!==null&&I.current!==w&&(h.current=""),I.current=w},[w]),o.useEffect(()=>{l&&!i.interrupt&&h.current!==""&&(h.current="")},[l,i.interrupt]);const C=o.useCallback(e=>{const s=JSON.stringify(i.interrupt?.value??null);h.current=s,i.submit(null,{command:{resume:e},streamMode:["values","messages-tuple","updates","custom"],streamSubgraphs:!0})},[i]),N=o.useMemo(()=>{const e=i.interrupt;if(!e)return null;const r=e.value?.actionRequests??[];return{approve:()=>{C({decisions:r.map(()=>({type:"approve"}))})},reject:n=>{C({decisions:r.map(()=>({type:"reject",message:n||void 0}))})},edit:n=>{const u=r[0];C({decisions:[{type:"edit",editedAction:{name:u?.name??"",args:{...u?.args,...n}}}]})}}},[i.interrupt,C]),g=o.useCallback(()=>{if(M.current){let e=M.current.parentElement;for(;e;){const s=window.getComputedStyle(e);if(s.overflowY==="auto"||s.overflowY==="scroll")return e;e=e.parentElement}}return null},[]);o.useEffect(()=>{d.length>0&&A&&A(!1)},[d.length,A]);const $=o.useCallback((e,s,r)=>{const n=l&&s===r.length-1&&e.type==="ai";if(!e.content.length&&!v.isAiWithToolCalls(e)&&!n||e.additional_kwargs?.hidden)return null;const u=e.id??`msg-${s}`,m=t=>typeof t.id=="string"&&B.has(t.id);if(e.type==="human")return c.jsx(he,{message:e,fontSize:T?.fontSize},u);if(v.isToolMessage(e))return null;if(e.type==="ai"&&s>0){let t=s-1;for(;t>=0&&v.isToolMessage(r[t]);)t--;if(t>=0&&r[t].type==="ai"&&!m(e))return null}const p=[e];let x=s+1;for(;x<r.length;){const t=r[x];if(v.isToolMessage(t))p.push(t),x++;else if(t.type==="ai"){if(m(t))break;p.push(t),x++}else break}const f=p.filter(t=>t.type==="ai"),z=f.some(t=>Array.isArray(t.content)),y=new Set,S=z?f.flatMap(t=>Array.isArray(t.content)?t.content.filter(a=>{if(a.type==="text"&&typeof a.text=="string"){if(y.has(a.text))return!1;y.add(a.text)}return!0}):typeof t.content=="string"&&t.content.length>0?y.has(t.content)?[]:(y.add(t.content),[{type:"text",text:t.content}]):[]):(()=>{const t=[];for(const a of f){const b=typeof a.content=="string"?a.content:"";b&&!y.has(b)&&(y.add(b),t.push(b))}return t.join(`
|
|
2
2
|
|
|
3
|
-
`)})(),
|
|
3
|
+
`)})(),X=z?S.map(t=>t.type==="text"?t.text:"").filter(Boolean).join(" "):S,Z={...e,content:S},J=e?i.getMessagesMetadata(e):void 0,P=z?S.some(t=>t.type==="thinking"&&t.thinking?.length>0||t.type==="reasoning"&&t.reasoning?.length>0):!1,ee=f.some(t=>{const a=t.additional_kwargs;return typeof a?.reasoning_content=="string"&&a.reasoning_content.length>0}),te=f.some(t=>{const a=t.additional_kwargs;return Array.isArray(a?.tool_status)&&a.tool_status.length>0}),ne=p.some(t=>v.isToolMessage(t)),se=R&&(f.some(t=>v.isAiWithToolCalls(t))||te||ne),W=!!X||P||ee||se,re=x>=r.length,j=l&&re,L=f.map(t=>t.id).filter(t=>typeof t=="string"&&t.length>0).join("|")||u,oe=(()=>{const t=_.current.get(L);if(!j&&t&&t.length>0)return t;if(j){const a=E(i.values?.todos);if(a.length>0)return _.current.set(L,a),a}for(let a=f.length-1;a>=0;a--){const ae=i.getMessagesMetadata(f[a])?.firstSeenState?.values,H=E(ae?.todos);if(H.length>0)return(!t||t.length===0)&&_.current.set(L,H),t??H}return t&&t.length>0?t:[]})(),ie=j&&!W;return c.jsxs(o.Fragment,{children:[ie&&c.jsx(Y,{}),W&&c.jsx(fe,{agentName:T?.agentName,fontSize:T?.fontSize,message:Z,groupedMessages:p,showToolActivity:R,isStreaming:j,onRegenerate:D,feedback:e.id?K[e.id]:void 0,onFeedback:U,branch:J?.branch,branchOptions:J?.branchOptions,onBranchSelect:G,todos:oe}),f.map(t=>c.jsx(ge,{message:t,thread:i},t.id))]},u)},[l,i,E,R,D,K,U,G,B]),Q=o.useMemo(()=>d.map((e,s)=>{const r=$(e,s,d);return r&&!r.key?o.cloneElement(r,{key:e.id??`msg-${s}`}):r}),[d,$]);return o.useEffect(()=>{const e=g();if(!e)return;const s=()=>{const{scrollTop:r,scrollHeight:n,clientHeight:u}=e,m=n-r-u;k.current=m<100};return e.addEventListener("scroll",s),()=>e.removeEventListener("scroll",s)},[g]),o.useEffect(()=>{const e=g();if(!e)return;const s=d.length;s>O.current&&(e.scrollTop=e.scrollHeight,k.current=!0),O.current=s},[d,g]),o.useEffect(()=>{const e=g();if(!e||!l)return;const s=new MutationObserver(()=>{k.current&&e&&(e.scrollTop=e.scrollHeight)});return M.current&&s.observe(M.current,{childList:!0,subtree:!0,characterData:!0}),()=>s.disconnect()},[l,g]),o.useLayoutEffect(()=>{const e=g();l&&k.current&&e&&(e.scrollTop=e.scrollHeight)}),c.jsx("div",{ref:M,className:"flex flex-col gap-4 rounded-4xl p-2",children:d.length===0?c.jsx("div",{className:"flex items-center justify-center h-full text-zinc-500",children:l?c.jsxs("div",{className:"flex items-center gap-2",children:[c.jsx("div",{className:"animate-spin h-5 w-5 border-2 border-zinc-500 border-t-transparent rounded-full"}),c.jsx("span",{children:"Loading conversation..."})]}):"Start a conversation..."}):c.jsxs(c.Fragment,{children:[Q,l&&d.length>0&&d[d.length-1].type==="human"&&c.jsx(Y,{}),i.interrupt&&(()=>{const e=i.interrupt.value;if(JSON.stringify(e??null)===h.current&&h.current!=="")return null;if(e?.type==="ask_user"&&Array.isArray(e.questions)){const r=F.ask_user;return r?c.jsx(r,{interrupt:e,actions:N??{approve:()=>{},reject:()=>{},edit:()=>{}}}):c.jsx(pe,{questions:e.questions,onSubmit:n=>C(n)})}if(N){const r=e?.actionRequests?.[0]?.name,n=r?F[r]:void 0;return n?c.jsx(n,{interrupt:e,actions:N}):null}return null})()]})})}module.exports=me;
|
|
4
4
|
//# sourceMappingURL=ChatBody.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatBody.cjs.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":"+ZAcA,SAAwBA,GAAS,CAAE,kBAAAC,EAAmB,wBAAAC,EAA0B,GAAM,cAAAC,GAA0J,CAC9O,MAAMC,EAASC,GAAAA,iBAAA,EACT,CAAE,oBAAAC,CAAA,EAAwBC,uBAAA,EAC1BC,EAAWJ,EAAO,SAClBK,EAAYL,EAAO,UAGnB,CAACM,EAAiBC,CAAkB,EAAIC,EAAAA,SAA0C,CAAA,CAAE,EAE1FC,GAAAA,OAAO,MAAM,oCAAqCL,EAAU,aAAcC,CAAS,EAGnF,MAAMK,EAAeC,EAAAA,QAAQ,IAAMP,GAAY,CAAA,EAAI,CAACA,CAAQ,CAAC,EAEvDQ,EAAeD,EAAAA,QAAQ,IAAM,CACjC,MAAME,MAAU,IACVC,EAAad,EAAO,QAAQ,GAClC,GAAI,CAAC,MAAM,QAAQc,CAAU,EAAG,OAAOD,EAEvC,UAAWE,KAAMD,EAAY,CAC3B,MAAME,EAAQD,EACRE,EACJD,EAAM,UAAY,OAAOA,EAAM,UAAa,SACvCA,EAAM,SACP,OAEAE,EAAa,CACjB,OAAOF,EAAM,IAAO,SAAWA,EAAM,GAAK,OAC1C,OAAOC,GAAU,IAAO,SAAWA,EAAS,GAAK,OACjD,OAAOA,GAAU,YAAe,SAAWA,EAAS,WAAa,MAAA,EAGnE,UAAWE,KAAaD,EAClBC,GAAWN,EAAI,IAAIM,CAAS,CAEpC,CAEA,OAAON,CACT,EAAG,CAACb,EAAO,QAAQ,E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,EAAAA,IAAC,QAAK,SAAA,yBAAA,CAAuB,CAAA,CAAA,CAC/B,EAEA,yBAAA,CAEJ,EAEAH,EAAAA,KAAAiB,EAAAA,SAAA,CACG,SAAA,CAAAX,EAGAlG,GAAaK,EAAa,OAAS,GAClCA,EAAaA,EAAa,OAAS,CAAC,EAAE,OAAS,SAC7C0F,EAAAA,IAACD,EAAA,CAAA,CAAS,EAEb,CAAC9F,GAAaL,EAAO,WAAa0C,IAAqB,IAAM,CAC5D,MAAMyE,EAAUnH,EAAO,UAAU,MAC3BoH,EAAWD,GAAS,iBAAiB,CAAC,GAAG,KACzCE,EAAqBD,EAAWlH,EAAoBkH,CAAQ,EAAI,OACtE,OAAKC,EACEjB,EAAAA,IAACiB,EAAA,CAAmB,UAAWF,EAAS,QAASzE,EAAkB,EAD1C,IAElC,GAAA,CAAG,CAAA,CACL,CAAA,CAAA,CAKR"}
|
|
1
|
+
{"version":3,"file":"ChatBody.cjs.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","i","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":"gfAgBA,SAAwBA,GAAS,CAAE,kBAAAC,EAAmB,wBAAAC,EAA0B,GAAM,cAAAC,GAA0J,CAC9O,MAAMC,EAASC,GAAAA,iBAAA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IAAC,MAAA,CAAI,UAAU,iFAAA,CAAkF,EACjGA,EAAAA,IAAC,QAAK,SAAA,yBAAA,CAAuB,CAAA,CAAA,CAC/B,EAEA,yBAAA,CAEJ,EAEAH,EAAAA,KAAAiB,EAAAA,SAAA,CACG,SAAA,CAAAX,EAGArG,GAAaK,EAAa,OAAS,GAClCA,EAAaA,EAAa,OAAS,CAAC,EAAE,OAAS,SAC7C6F,EAAAA,IAACD,EAAA,CAAA,CAAS,EAEbxG,EAAO,YAAc,IAAM,CAC1B,MAAMwH,EAAUxH,EAAO,UAAU,MAMjC,GADmB,KAAK,UAAUwH,GAAW,IAAI,IAC9B9E,EAAyB,SAAWA,EAAyB,UAAY,GAC1F,OAAO,KAIT,GAAI8E,GAAS,OAAS,YAAc,MAAM,QAAQA,EAAQ,SAAS,EAAG,CACpE,MAAMC,EAAgBvH,EAAoB,SAC1C,OAAIuH,EACKhB,EAAAA,IAACgB,GAAc,UAAWD,EAAS,QAASxE,GAAoB,CAAE,QAAS,IAAM,CAAC,EAAG,OAAQ,IAAM,CAAC,EAAG,KAAM,IAAM,CAAC,EAAE,CAAG,EAGhIyD,EAAAA,IAACiB,GAAA,CACC,UAAWF,EAAQ,UACnB,SAAW1E,GAAaD,EAAuBC,CAAQ,CAAA,CAAA,CAG7D,CAEA,GAAIE,EAAkB,CACpB,MAAM2E,EAAWH,GAAS,iBAAiB,CAAC,GAAG,KACzCI,EAAqBD,EAAWzH,EAAoByH,CAAQ,EAAI,OACtE,OAAKC,EACEnB,EAAAA,IAACmB,EAAA,CAAmB,UAAWJ,EAAS,QAASxE,EAAkB,EAD1C,IAElC,CAEA,OAAO,IACT,GAAA,CAAG,CAAA,CACL,CAAA,CAAA,CAKR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatBody.d.ts","sourceRoot":"","sources":["../../src/components/ChatBody.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatBody.d.ts","sourceRoot":"","sources":["../../src/components/ChatBody.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAKvD,OAAO,KAA6E,MAAM,OAAO,CAAC;AAQlG,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,iBAAiB,EAAE,uBAA8B,EAAE,aAAa,EAAE,EAAE;IAAE,iBAAiB,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAAC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAAC,aAAa,CAAC,EAAE,aAAa,CAAA;CAAE,2CAyjB7O"}
|