@chat-lab/ui 0.1.0-beta.57 → 0.1.0-beta.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/dist/adk/components/Debug/Events/EventDetail.cjs +2 -2
  2. package/dist/adk/components/Debug/Events/EventDetail.js +2 -2
  3. package/dist/adk/components/Debug/Events/useADKEventHooks.cjs +1 -1
  4. package/dist/adk/components/Debug/Events/useADKEventHooks.js +1 -1
  5. package/dist/adk/components/Debug/Trace/TraceDetail.cjs +2 -2
  6. package/dist/adk/components/Debug/Trace/TraceDetail.js +2 -2
  7. package/dist/adk/components/Debug/Trace/store.cjs +2 -2
  8. package/dist/adk/components/Debug/Trace/store.js +2 -2
  9. package/dist/components/Chatkit/index.cjs +4 -4
  10. package/dist/components/Chatkit/index.js +4 -4
  11. package/dist/components/SwitchAgentModal/index.cjs +10 -10
  12. package/dist/components/SwitchAgentModal/index.js +10 -10
  13. package/dist/components/ThreadOptionsMenu.cjs +3 -3
  14. package/dist/components/ThreadOptionsMenu.js +3 -3
  15. package/dist/components/VoiceInput/index.cjs +3 -3
  16. package/dist/components/VoiceInput/index.js +3 -3
  17. package/dist/components/assistant-ui/WarningModal.cjs +1 -1
  18. package/dist/components/assistant-ui/WarningModal.js +1 -1
  19. package/dist/components/assistant-ui/attachment.cjs +10 -10
  20. package/dist/components/assistant-ui/attachment.js +10 -10
  21. package/dist/components/assistant-ui/file/pdf.cjs +8 -8
  22. package/dist/components/assistant-ui/file/pdf.js +8 -8
  23. package/dist/components/assistant-ui/file/video.cjs +3 -3
  24. package/dist/components/assistant-ui/file/video.js +3 -3
  25. package/dist/components/assistant-ui/markdown-text.cjs +5 -5
  26. package/dist/components/assistant-ui/markdown-text.js +5 -5
  27. package/dist/components/assistant-ui/message-components-with-avatar.cjs +3 -3
  28. package/dist/components/assistant-ui/message-components-with-avatar.js +3 -3
  29. package/dist/components/assistant-ui/reasoning.cjs +3 -3
  30. package/dist/components/assistant-ui/reasoning.js +3 -3
  31. package/dist/components/assistant-ui/shiki-highlighter.cjs +1 -1
  32. package/dist/components/assistant-ui/shiki-highlighter.js +1 -1
  33. package/dist/components/assistant-ui/thread.cjs +33 -33
  34. package/dist/components/assistant-ui/thread.js +33 -33
  35. package/dist/components/assistant-ui/tool-fallback.cjs +2 -2
  36. package/dist/components/assistant-ui/tool-fallback.js +2 -2
  37. package/dist/components/assistant-ui/tooltip-icon-button.cjs +1 -1
  38. package/dist/components/assistant-ui/tooltip-icon-button.d.ts +1 -1
  39. package/dist/components/assistant-ui/tooltip-icon-button.d.ts.map +1 -1
  40. package/dist/components/assistant-ui/tooltip-icon-button.js +1 -1
  41. package/dist/components/assistant-ui-tools/execution-card.cjs +5 -5
  42. package/dist/components/assistant-ui-tools/execution-card.js +5 -5
  43. package/dist/components/assistant-ui-tools/skill-agent-tool-set.cjs +7 -7
  44. package/dist/components/assistant-ui-tools/skill-agent-tool-set.js +7 -7
  45. package/dist/components/ui/button.cjs +1 -1
  46. package/dist/components/ui/button.js +1 -1
  47. package/dist/components/ui/collapsible.cjs +1 -1
  48. package/dist/components/ui/collapsible.js +1 -1
  49. package/dist/components/ui/dialog.cjs +2 -2
  50. package/dist/components/ui/dialog.js +2 -2
  51. package/dist/components/ui/tabs.cjs +1 -1
  52. package/dist/components/ui/tabs.d.ts +3 -3
  53. package/dist/components/ui/tabs.d.ts.map +1 -1
  54. package/dist/components/ui/tabs.js +1 -1
  55. package/dist/components/ui/toast.d.ts +7 -7
  56. package/dist/components/ui/toast.d.ts.map +1 -1
  57. package/dist/components/ui/tooltip.cjs +1 -1
  58. package/dist/components/ui/tooltip.js +1 -1
  59. package/dist/hooks/useDebugChat.cjs +1 -1
  60. package/dist/hooks/useDebugChat.js +1 -1
  61. package/dist/hooks/useSkillAgent/SkillAgentPlugin.cjs +4 -1
  62. package/dist/hooks/useSkillAgent/SkillAgentPlugin.cjs.map +1 -1
  63. package/dist/hooks/useSkillAgent/SkillAgentPlugin.d.ts.map +1 -1
  64. package/dist/hooks/useSkillAgent/SkillAgentPlugin.js +4 -1
  65. package/dist/hooks/useSkillAgent/SkillAgentPlugin.js.map +1 -1
  66. package/dist/hooks/useSkillAgent/index.cjs +1 -1
  67. package/dist/hooks/useSkillAgent/index.js +1 -1
  68. package/dist/hooks/useThread.cjs +1 -1
  69. package/dist/hooks/useThread.js +1 -1
  70. package/dist/index.cjs +2 -2
  71. package/dist/index.js +2 -2
  72. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@17.0.2_@types_react@17.0.2_react-do_5tjbc4lq6d3wd7wce3f4vqmehe/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +0 -4
  73. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@17.0.2_@types_react@17.0.2_react-do_5tjbc4lq6d3wd7wce3f4vqmehe/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -1
  74. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@17.0.2_@types_react@17.0.2_react-do_5tjbc4lq6d3wd7wce3f4vqmehe/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +1 -3
  75. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@17.0.2_@types_react@17.0.2_react-do_5tjbc4lq6d3wd7wce3f4vqmehe/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -1
  76. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@18.2.0_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +0 -12
  77. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@18.2.0_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
  78. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@18.2.0_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js +2 -12
  79. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@18.2.0_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -1
  80. package/dist/node_modules/.pnpm/ahooks@3.9.6_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/ahooks/es/utils/index.cjs +2 -0
  81. package/dist/node_modules/.pnpm/ahooks@3.9.6_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/ahooks/es/utils/index.cjs.map +1 -1
  82. package/dist/node_modules/.pnpm/ahooks@3.9.6_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/ahooks/es/utils/index.js +2 -1
  83. package/dist/node_modules/.pnpm/ahooks@3.9.6_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/ahooks/es/utils/index.js.map +1 -1
  84. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@17.0.2_react@17.0.2/node_modules/use-sidecar/dist/es2015/medium.cjs +5 -0
  85. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@17.0.2_react@17.0.2/node_modules/use-sidecar/dist/es2015/medium.cjs.map +1 -1
  86. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@17.0.2_react@17.0.2/node_modules/use-sidecar/dist/es2015/medium.js +5 -1
  87. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@17.0.2_react@17.0.2/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -1
  88. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.2.0_react@18.2.0/node_modules/use-sidecar/dist/es2015/medium.cjs +0 -5
  89. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.2.0_react@18.2.0/node_modules/use-sidecar/dist/es2015/medium.cjs.map +1 -1
  90. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.2.0_react@18.2.0/node_modules/use-sidecar/dist/es2015/medium.js +1 -5
  91. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.2.0_react@18.2.0/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -1
  92. package/dist/node_modules/.pnpm/use-sync-external-store@1.6.0_react@17.0.2/node_modules/use-sync-external-store/shim/index.cjs +1 -1
  93. package/dist/node_modules/.pnpm/use-sync-external-store@1.6.0_react@17.0.2/node_modules/use-sync-external-store/shim/index.js +1 -1
  94. package/dist/packages/chatui/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
  95. package/dist/packages/chatui/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  96. package/dist/packages/core/dist/index.cjs +19 -8
  97. package/dist/packages/core/dist/index.cjs.map +1 -1
  98. package/dist/packages/core/dist/index.js +20 -9
  99. package/dist/packages/core/dist/index.js.map +1 -1
  100. package/package.json +1 -1
@@ -2,8 +2,8 @@
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
4
  var React = require('react');
5
- var main = require('../../../../node_modules/.pnpm/react-json-view@1.21.3_@types_react@18.2.0_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/react-json-view/dist/main.cjs');
6
- var chevronLeft = require('../../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/chevron-left.cjs');
5
+ var main = require('../../../../node_modules/.pnpm/react-json-view@1.21.3_@types_react@17.0.2_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-json-view/dist/main.cjs');
6
+ var chevronLeft = require('../../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/chevron-left.cjs');
7
7
 
8
8
  function EventDetail({ message, onBack }) {
9
9
  const [activeTab, setActiveTab] = React.useState('request');
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useState } from 'react';
3
- import ReactJson from '../../../../node_modules/.pnpm/react-json-view@1.21.3_@types_react@18.2.0_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/react-json-view/dist/main.js';
4
- import ChevronLeft from '../../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/chevron-left.js';
3
+ import ReactJson from '../../../../node_modules/.pnpm/react-json-view@1.21.3_@types_react@17.0.2_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-json-view/dist/main.js';
4
+ import ChevronLeft from '../../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/chevron-left.js';
5
5
 
6
6
  function EventDetail({ message, onBack }) {
7
7
  const [activeTab, setActiveTab] = useState('request');
@@ -2,7 +2,7 @@
2
2
 
3
3
  var MessageEndPlugin = require('./MessageEndPlugin.cjs');
4
4
  var React = require('react');
5
- var useRequest = require('../../../../node_modules/.pnpm/ahooks@3.9.6_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/ahooks/es/useRequest/src/useRequest.cjs');
5
+ var useRequest = require('../../../../node_modules/.pnpm/ahooks@3.9.6_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/ahooks/es/useRequest/src/useRequest.cjs');
6
6
 
7
7
  const useADKEventHooks = ({ controller, appName, userId, sessionId, }) => {
8
8
  const endPlugin = React.useRef();
@@ -1,6 +1,6 @@
1
1
  import MessageEndPlugin from './MessageEndPlugin.js';
2
2
  import { useRef, useEffect } from 'react';
3
- import useRequest from '../../../../node_modules/.pnpm/ahooks@3.9.6_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/ahooks/es/useRequest/src/useRequest.js';
3
+ import useRequest from '../../../../node_modules/.pnpm/ahooks@3.9.6_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/ahooks/es/useRequest/src/useRequest.js';
4
4
 
5
5
  const useADKEventHooks = ({ controller, appName, userId, sessionId, }) => {
6
6
  const endPlugin = useRef();
@@ -2,9 +2,9 @@
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
4
  var button = require('../../../../components/ui/button.cjs');
5
- var main = require('../../../../node_modules/.pnpm/react-json-view@1.21.3_@types_react@18.2.0_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/react-json-view/dist/main.cjs');
5
+ var main = require('../../../../node_modules/.pnpm/react-json-view@1.21.3_@types_react@17.0.2_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-json-view/dist/main.cjs');
6
6
  var omit = require('../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/omit.cjs');
7
- var x = require('../../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/x.cjs');
7
+ var x = require('../../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/x.cjs');
8
8
 
9
9
  const TraceDetail = (props) => {
10
10
  const { selectedSpan, onCancel } = props;
@@ -1,8 +1,8 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import { Button } from '../../../../components/ui/button.js';
3
- import ReactJson from '../../../../node_modules/.pnpm/react-json-view@1.21.3_@types_react@18.2.0_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/react-json-view/dist/main.js';
3
+ import ReactJson from '../../../../node_modules/.pnpm/react-json-view@1.21.3_@types_react@17.0.2_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-json-view/dist/main.js';
4
4
  import omit from '../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/omit.js';
5
- import X from '../../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/x.js';
5
+ import X from '../../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/x.js';
6
6
 
7
7
  const TraceDetail = (props) => {
8
8
  const { selectedSpan, onCancel } = props;
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var dayjs_min = require('../../../../node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.cjs');
4
- var fetch = require('../../../../node_modules/.pnpm/@byted-iaas_fetch@0.0.13_@arco-design_web-react@2.64.1_@types_react@18.2.0_react-dom@18.2.0_r_7ro22ncny6oqifj2zuztqcxgji/node_modules/@byted-iaas/fetch/lib/fetch.cjs');
5
- var react = require('../../../../node_modules/.pnpm/zustand@5.0.8_patch_hash_reawdxmdkhzgsm4mhu3tyarie4_@types_react@18.2.0_react@18.2.0_use-sync_7nc3z4b7yq5aomwj67p5qcsbbe/node_modules/zustand/esm/react.cjs');
4
+ var fetch = require('../../../../node_modules/.pnpm/@byted-iaas_fetch@0.0.13_@arco-design_web-react@2.64.1_@types_react@17.0.2_react-dom@17.0.2_r_c5lheq6mbvfvtoizhtvrll35su/node_modules/@byted-iaas/fetch/lib/fetch.cjs');
5
+ var react = require('../../../../node_modules/.pnpm/zustand@5.0.8_patch_hash_reawdxmdkhzgsm4mhu3tyarie4_@types_react@17.0.2_react@17.0.2_use-sync_4ommjpsc4nad2vj4uyoeqb3ive/node_modules/zustand/esm/react.cjs');
6
6
 
7
7
  const FetchInstance = new fetch.IaasFetch({
8
8
  service: 'apmplus_server',
@@ -1,6 +1,6 @@
1
1
  import dayjs from '../../../../node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js';
2
- import { IaasFetch } from '../../../../node_modules/.pnpm/@byted-iaas_fetch@0.0.13_@arco-design_web-react@2.64.1_@types_react@18.2.0_react-dom@18.2.0_r_7ro22ncny6oqifj2zuztqcxgji/node_modules/@byted-iaas/fetch/lib/fetch.js';
3
- import { create } from '../../../../node_modules/.pnpm/zustand@5.0.8_patch_hash_reawdxmdkhzgsm4mhu3tyarie4_@types_react@18.2.0_react@18.2.0_use-sync_7nc3z4b7yq5aomwj67p5qcsbbe/node_modules/zustand/esm/react.js';
2
+ import { IaasFetch } from '../../../../node_modules/.pnpm/@byted-iaas_fetch@0.0.13_@arco-design_web-react@2.64.1_@types_react@17.0.2_react-dom@17.0.2_r_c5lheq6mbvfvtoizhtvrll35su/node_modules/@byted-iaas/fetch/lib/fetch.js';
3
+ import { create } from '../../../../node_modules/.pnpm/zustand@5.0.8_patch_hash_reawdxmdkhzgsm4mhu3tyarie4_@types_react@17.0.2_react@17.0.2_use-sync_4ommjpsc4nad2vj4uyoeqb3ive/node_modules/zustand/esm/react.js';
4
4
 
5
5
  const FetchInstance = new IaasFetch({
6
6
  service: 'apmplus_server',
@@ -5,7 +5,7 @@ var React = require('react');
5
5
  var ChatkitContext = require('../../contexts/ChatkitContext.cjs');
6
6
  var I18nContext = require('../../contexts/I18nContext.cjs');
7
7
  var thread = require('../assistant-ui/thread.cjs');
8
- var reactResizablePanels = require('../../node_modules/.pnpm/react-resizable-panels@4.0.15_patch_hash_i3kipeq6pn6eshr2gonsr6x3rm_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/react-resizable-panels/dist/react-resizable-panels.cjs');
8
+ var reactResizablePanels = require('../../node_modules/.pnpm/react-resizable-panels@4.0.15_patch_hash_i3kipeq6pn6eshr2gonsr6x3rm_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-resizable-panels/dist/react-resizable-panels.cjs');
9
9
  var convertToAssistantMessage = require('../../utils/convertToAssistantMessage.cjs');
10
10
  var threadList = require('../thread-list.cjs');
11
11
  require('../../packages/core/dist/index.cjs');
@@ -15,12 +15,12 @@ var TraceDetail = require('../../adk/components/Debug/Trace/TraceDetail.cjs');
15
15
  var store = require('../../adk/components/Debug/Trace/store.cjs');
16
16
  var index$1 = require('../../adk/components/Debug/index.cjs');
17
17
  var executionCard = require('../assistant-ui-tools/execution-card.cjs');
18
- var useExternalStoreRuntime = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/external-store/useExternalStoreRuntime.cjs');
18
+ var useExternalStoreRuntime = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/external-store/useExternalStoreRuntime.cjs');
19
19
  var compact = require('../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/compact.cjs');
20
20
  var v4 = require('../../node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist/v4.cjs');
21
- var AssistantRuntimeProvider = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/legacy-runtime/AssistantRuntimeProvider.cjs');
21
+ var AssistantRuntimeProvider = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/legacy-runtime/AssistantRuntimeProvider.cjs');
22
22
  var values = require('../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/values.cjs');
23
- var react = require('../../node_modules/.pnpm/valtio@2.1.8_patch_hash_boxi3qpsg2dztwe4vz7tsjpr3m_@types_react@18.2.0_react@18.2.0/node_modules/valtio/esm/react.cjs');
23
+ var react = require('../../node_modules/.pnpm/valtio@2.1.8_patch_hash_boxi3qpsg2dztwe4vz7tsjpr3m_@types_react@17.0.2_react@17.0.2/node_modules/valtio/esm/react.cjs');
24
24
 
25
25
  const ChatkitImpl = React.forwardRef((props, ref) => {
26
26
  const { t } = I18nContext.useI18n();
@@ -3,7 +3,7 @@ import React__default, { forwardRef, useMemo, useEffect, useRef } from 'react';
3
3
  import { ChatkitProvider } from '../../contexts/ChatkitContext.js';
4
4
  import { useI18n, I18nProvider } from '../../contexts/I18nContext.js';
5
5
  import { Thread } from '../assistant-ui/thread.js';
6
- import { Group as Tt, Panel as $t } from '../../node_modules/.pnpm/react-resizable-panels@4.0.15_patch_hash_i3kipeq6pn6eshr2gonsr6x3rm_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/react-resizable-panels/dist/react-resizable-panels.js';
6
+ import { Group as Tt, Panel as $t } from '../../node_modules/.pnpm/react-resizable-panels@4.0.15_patch_hash_i3kipeq6pn6eshr2gonsr6x3rm_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-resizable-panels/dist/react-resizable-panels.js';
7
7
  import convertToAssistantMessage from '../../utils/convertToAssistantMessage.js';
8
8
  import ThreadList from '../thread-list.js';
9
9
  import '../../packages/core/dist/index.js';
@@ -13,12 +13,12 @@ import TraceDetail from '../../adk/components/Debug/Trace/TraceDetail.js';
13
13
  import { useTraceStore } from '../../adk/components/Debug/Trace/store.js';
14
14
  import ADK from '../../adk/components/Debug/index.js';
15
15
  import ExecutionCard from '../assistant-ui-tools/execution-card.js';
16
- import { useExternalStoreRuntime } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/external-store/useExternalStoreRuntime.js';
16
+ import { useExternalStoreRuntime } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/external-store/useExternalStoreRuntime.js';
17
17
  import compact from '../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/compact.js';
18
18
  import v4 from '../../node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist/v4.js';
19
- import { AssistantRuntimeProvider } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/legacy-runtime/AssistantRuntimeProvider.js';
19
+ import { AssistantRuntimeProvider } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/legacy-runtime/AssistantRuntimeProvider.js';
20
20
  import values from '../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/values.js';
21
- import { useSnapshot } from '../../node_modules/.pnpm/valtio@2.1.8_patch_hash_boxi3qpsg2dztwe4vz7tsjpr3m_@types_react@18.2.0_react@18.2.0/node_modules/valtio/esm/react.js';
21
+ import { useSnapshot } from '../../node_modules/.pnpm/valtio@2.1.8_patch_hash_boxi3qpsg2dztwe4vz7tsjpr3m_@types_react@17.0.2_react@17.0.2/node_modules/valtio/esm/react.js';
22
22
 
23
23
  const ChatkitImpl = forwardRef((props, ref) => {
24
24
  const { t } = useI18n();
@@ -7,20 +7,20 @@ var React = require('react');
7
7
  var dialog = require('../ui/dialog.cjs');
8
8
  var button = require('../ui/button.cjs');
9
9
  var input = require('../ui/input.cjs');
10
- var index = require('../../node_modules/.pnpm/@radix-ui_react-label@2.1.8_@types_react-dom@18.2.0_@types_react@18.2.0_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-label/dist/index.cjs');
10
+ var index = require('../../node_modules/.pnpm/@radix-ui_react-label@2.1.8_@types_react-dom@17.0.2_@types_react@17.0.2_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/@radix-ui/react-label/dist/index.cjs');
11
11
  var ChatkitContext = require('../../contexts/ChatkitContext.cjs');
12
12
  var useThread = require('../../hooks/useThread.cjs');
13
13
  var agentStorage = require('../../utils/agentStorage.cjs');
14
14
  var I18nContext = require('../../contexts/I18nContext.cjs');
15
- var settings = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/settings.cjs');
16
- var plus = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/plus.cjs');
17
- var x = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/x.cjs');
18
- var link2 = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/link-2.cjs');
19
- var key = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/key.cjs');
20
- var check = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/check.cjs');
21
- var pen = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/pen.cjs');
22
- var trash2 = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/trash-2.cjs');
23
- var loaderCircle = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/loader-circle.cjs');
15
+ var settings = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/settings.cjs');
16
+ var plus = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/plus.cjs');
17
+ var x = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/x.cjs');
18
+ var link2 = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/link-2.cjs');
19
+ var key = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/key.cjs');
20
+ var check = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/check.cjs');
21
+ var pen = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/pen.cjs');
22
+ var trash2 = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/trash-2.cjs');
23
+ var loaderCircle = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/loader-circle.cjs');
24
24
 
25
25
  const SwitchAgentModal = (props) => {
26
26
  const { onSetConfig } = props;
@@ -3,20 +3,20 @@ import { useState, useEffect } from 'react';
3
3
  import { Dialog, DialogTrigger, DialogContent, DialogHeader, DialogTitle, DialogClose, DialogFooter } from '../ui/dialog.js';
4
4
  import { Button } from '../ui/button.js';
5
5
  import { Input } from '../ui/input.js';
6
- import { Label } from '../../node_modules/.pnpm/@radix-ui_react-label@2.1.8_@types_react-dom@18.2.0_@types_react@18.2.0_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-label/dist/index.js';
6
+ import { Label } from '../../node_modules/.pnpm/@radix-ui_react-label@2.1.8_@types_react-dom@17.0.2_@types_react@17.0.2_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/@radix-ui/react-label/dist/index.js';
7
7
  import { useChatkitRef } from '../../contexts/ChatkitContext.js';
8
8
  import useThread from '../../hooks/useThread.js';
9
9
  import { AgentStorageManager } from '../../utils/agentStorage.js';
10
10
  import { useI18n } from '../../contexts/I18nContext.js';
11
- import Settings from '../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/settings.js';
12
- import Plus from '../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/plus.js';
13
- import X from '../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/x.js';
14
- import Link2 from '../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/link-2.js';
15
- import Key from '../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/key.js';
16
- import Check from '../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/check.js';
17
- import Pen from '../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/pen.js';
18
- import Trash2 from '../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/trash-2.js';
19
- import LoaderCircle from '../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/loader-circle.js';
11
+ import Settings from '../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/settings.js';
12
+ import Plus from '../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/plus.js';
13
+ import X from '../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/x.js';
14
+ import Link2 from '../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/link-2.js';
15
+ import Key from '../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/key.js';
16
+ import Check from '../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/check.js';
17
+ import Pen from '../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/pen.js';
18
+ import Trash2 from '../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/trash-2.js';
19
+ import LoaderCircle from '../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/loader-circle.js';
20
20
 
21
21
  const SwitchAgentModal = (props) => {
22
22
  const { onSetConfig } = props;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var index = require('../node_modules/.pnpm/@radix-ui_react-dropdown-menu@2.1.16_@types_react-dom@18.2.0_@types_react@18.2.0_react-dom@18_wphsosyfpbafg7zdwoehvkifpq/node_modules/@radix-ui/react-dropdown-menu/dist/index.cjs');
4
+ var index = require('../node_modules/.pnpm/@radix-ui_react-dropdown-menu@2.1.16_@types_react-dom@17.0.2_@types_react@17.0.2_react-dom@17_dxnrbz42ochhym3lfihkvwh43e/node_modules/@radix-ui/react-dropdown-menu/dist/index.cjs');
5
5
  var utils = require('../lib/utils.cjs');
6
6
  var React = require('react');
7
7
  var dialog = require('./ui/dialog.cjs');
@@ -11,8 +11,8 @@ var useThread = require('../hooks/useThread.cjs');
11
11
  var ChatkitContext = require('../contexts/ChatkitContext.cjs');
12
12
  var WarningModal = require('./assistant-ui/WarningModal.cjs');
13
13
  var I18nContext = require('../contexts/I18nContext.cjs');
14
- var ellipsis = require('../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/ellipsis.cjs');
15
- var trash2 = require('../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/trash-2.cjs');
14
+ var ellipsis = require('../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/ellipsis.cjs');
15
+ var trash2 = require('../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/trash-2.cjs');
16
16
 
17
17
  // 在组件中添加状态管理
18
18
  const ThreadOptionsMenu = ({ threadId, onEditName, onDelete, className = '', }) => {
@@ -1,5 +1,5 @@
1
1
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
- import { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem } from '../node_modules/.pnpm/@radix-ui_react-dropdown-menu@2.1.16_@types_react-dom@18.2.0_@types_react@18.2.0_react-dom@18_wphsosyfpbafg7zdwoehvkifpq/node_modules/@radix-ui/react-dropdown-menu/dist/index.js';
2
+ import { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem } from '../node_modules/.pnpm/@radix-ui_react-dropdown-menu@2.1.16_@types_react-dom@17.0.2_@types_react@17.0.2_react-dom@17_dxnrbz42ochhym3lfihkvwh43e/node_modules/@radix-ui/react-dropdown-menu/dist/index.js';
3
3
  import { cn } from '../lib/utils.js';
4
4
  import { useState } from 'react';
5
5
  import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from './ui/dialog.js';
@@ -9,8 +9,8 @@ import useThread from '../hooks/useThread.js';
9
9
  import { useChatkitRef } from '../contexts/ChatkitContext.js';
10
10
  import { WarningModal } from './assistant-ui/WarningModal.js';
11
11
  import { useI18n } from '../contexts/I18nContext.js';
12
- import Ellipsis from '../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/ellipsis.js';
13
- import Trash2 from '../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/trash-2.js';
12
+ import Ellipsis from '../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/ellipsis.js';
13
+ import Trash2 from '../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/trash-2.js';
14
14
 
15
15
  // 在组件中添加状态管理
16
16
  const ThreadOptionsMenu = ({ threadId, onEditName, onDelete, className = '', }) => {
@@ -5,9 +5,9 @@ var React = require('react');
5
5
  var button = require('../ui/button.cjs');
6
6
  var tooltip = require('../ui/tooltip.cjs');
7
7
  var I18nContext = require('../../contexts/I18nContext.cjs');
8
- var micOff = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/mic-off.cjs');
9
- var mic = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/mic.cjs');
10
- var AssistantApiContext = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/context/react/AssistantApiContext.cjs');
8
+ var micOff = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/mic-off.cjs');
9
+ var mic = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/mic.cjs');
10
+ var AssistantApiContext = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/context/react/AssistantApiContext.cjs');
11
11
 
12
12
  const VoiceInput = () => {
13
13
  const [transcript, setTranscript] = React.useState('');
@@ -3,9 +3,9 @@ import { useState, useRef, useEffect } from 'react';
3
3
  import { Button } from '../ui/button.js';
4
4
  import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from '../ui/tooltip.js';
5
5
  import { useI18n } from '../../contexts/I18nContext.js';
6
- import MicOff from '../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/mic-off.js';
7
- import Mic from '../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/mic.js';
8
- import { useAssistantApi } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/context/react/AssistantApiContext.js';
6
+ import MicOff from '../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/mic-off.js';
7
+ import Mic from '../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/mic.js';
8
+ import { useAssistantApi } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/context/react/AssistantApiContext.js';
9
9
 
10
10
  const VoiceInput = () => {
11
11
  const [transcript, setTranscript] = useState('');
@@ -4,7 +4,7 @@ var jsxRuntime = require('react/jsx-runtime');
4
4
  var dialog = require('../ui/dialog.cjs');
5
5
  var button = require('../ui/button.cjs');
6
6
  var I18nContext = require('../../contexts/I18nContext.cjs');
7
- var circleAlert = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/circle-alert.cjs');
7
+ var circleAlert = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/circle-alert.cjs');
8
8
 
9
9
  const WarningModal = ({ open, onOpenChange, title, content, onConfirm, confirmText, cancelText, }) => {
10
10
  const { t } = I18nContext.useI18n();
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from '../ui/dialog.js';
3
3
  import { Button } from '../ui/button.js';
4
4
  import { useI18n } from '../../contexts/I18nContext.js';
5
- import CircleAlert from '../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/circle-alert.js';
5
+ import CircleAlert from '../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/circle-alert.js';
6
6
 
7
7
  const WarningModal = ({ open, onOpenChange, title, content, onConfirm, confirmText, cancelText, }) => {
8
8
  const { t } = useI18n();
@@ -6,16 +6,16 @@ var tooltip = require('../ui/tooltip.cjs');
6
6
  var utils = require('../../lib/utils.cjs');
7
7
  var tooltipIconButton = require('./tooltip-icon-button.cjs');
8
8
  var Attachment = require('../../assets/Attachment.cjs');
9
- var fileText = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/file-text.cjs');
10
- var x = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/x.cjs');
11
- var ComposerAddAttachment$1 = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/primitives/composer/ComposerAddAttachment.cjs');
12
- var MessageAttachments = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/primitives/message/MessageAttachments.cjs');
13
- var ComposerAttachments$1 = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/primitives/composer/ComposerAttachments.cjs');
14
- var AssistantApiContext = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/context/react/AssistantApiContext.cjs');
15
- var useAssistantState = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/context/react/hooks/useAssistantState.cjs');
16
- var AttachmentRoot = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/primitives/attachment/AttachmentRoot.cjs');
17
- var AttachmentName = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/primitives/attachment/AttachmentName.cjs');
18
- var AttachmentRemove$1 = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/primitives/attachment/AttachmentRemove.cjs');
9
+ var fileText = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/file-text.cjs');
10
+ var x = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/x.cjs');
11
+ var ComposerAddAttachment$1 = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/primitives/composer/ComposerAddAttachment.cjs');
12
+ var MessageAttachments = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/primitives/message/MessageAttachments.cjs');
13
+ var ComposerAttachments$1 = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/primitives/composer/ComposerAttachments.cjs');
14
+ var AssistantApiContext = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/context/react/AssistantApiContext.cjs');
15
+ var useAssistantState = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/context/react/hooks/useAssistantState.cjs');
16
+ var AttachmentRoot = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/primitives/attachment/AttachmentRoot.cjs');
17
+ var AttachmentName = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/primitives/attachment/AttachmentName.cjs');
18
+ var AttachmentRemove$1 = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/primitives/attachment/AttachmentRemove.cjs');
19
19
 
20
20
  const AttachmentUI = () => {
21
21
  const api = AssistantApiContext.useAssistantApi();
@@ -4,16 +4,16 @@ import { Tooltip, TooltipTrigger, TooltipContent } from '../ui/tooltip.js';
4
4
  import { cn } from '../../lib/utils.js';
5
5
  import { TooltipIconButton } from './tooltip-icon-button.js';
6
6
  import AttachmentIcon from '../../assets/Attachment.js';
7
- import FileText from '../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/file-text.js';
8
- import X from '../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/x.js';
9
- import { ComposerPrimitiveAddAttachment } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/primitives/composer/ComposerAddAttachment.js';
10
- import { MessagePrimitiveAttachments } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/primitives/message/MessageAttachments.js';
11
- import { ComposerPrimitiveAttachments } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/primitives/composer/ComposerAttachments.js';
12
- import { useAssistantApi } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/context/react/AssistantApiContext.js';
13
- import { useAssistantState } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/context/react/hooks/useAssistantState.js';
14
- import { AttachmentPrimitiveRoot } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/primitives/attachment/AttachmentRoot.js';
15
- import { AttachmentPrimitiveName } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/primitives/attachment/AttachmentName.js';
16
- import { AttachmentPrimitiveRemove } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/primitives/attachment/AttachmentRemove.js';
7
+ import FileText from '../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/file-text.js';
8
+ import X from '../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/x.js';
9
+ import { ComposerPrimitiveAddAttachment } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/primitives/composer/ComposerAddAttachment.js';
10
+ import { MessagePrimitiveAttachments } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/primitives/message/MessageAttachments.js';
11
+ import { ComposerPrimitiveAttachments } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/primitives/composer/ComposerAttachments.js';
12
+ import { useAssistantApi } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/context/react/AssistantApiContext.js';
13
+ import { useAssistantState } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/context/react/hooks/useAssistantState.js';
14
+ import { AttachmentPrimitiveRoot } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/primitives/attachment/AttachmentRoot.js';
15
+ import { AttachmentPrimitiveName } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/primitives/attachment/AttachmentName.js';
16
+ import { AttachmentPrimitiveRemove } from '../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/primitives/attachment/AttachmentRemove.js';
17
17
 
18
18
  const AttachmentUI = () => {
19
19
  const api = useAssistantApi();
@@ -2,16 +2,16 @@
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
4
  var React = require('react');
5
- require('../../../node_modules/.pnpm/react-pdf@10.2.0_@types_react@18.2.0_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/react-pdf/dist/index.cjs');
5
+ require('../../../node_modules/.pnpm/react-pdf@10.2.0_@types_react@17.0.2_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-pdf/dist/index.cjs');
6
6
  var dialog = require('../../ui/dialog.cjs');
7
7
  var tooltip = require('../../ui/tooltip.cjs');
8
- var fileText = require('../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/file-text.cjs');
9
- var chevronUp = require('../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/chevron-up.cjs');
10
- var chevronDown = require('../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/chevron-down.cjs');
11
- var arrowRight = require('../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/arrow-right.cjs');
12
- var Document = require('../../../node_modules/.pnpm/react-pdf@10.2.0_@types_react@18.2.0_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/react-pdf/dist/Document.cjs');
13
- var Page = require('../../../node_modules/.pnpm/react-pdf@10.2.0_@types_react@18.2.0_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/react-pdf/dist/Page.cjs');
14
- var x = require('../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/x.cjs');
8
+ var fileText = require('../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/file-text.cjs');
9
+ var chevronUp = require('../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/chevron-up.cjs');
10
+ var chevronDown = require('../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/chevron-down.cjs');
11
+ var arrowRight = require('../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/arrow-right.cjs');
12
+ var Document = require('../../../node_modules/.pnpm/react-pdf@10.2.0_@types_react@17.0.2_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-pdf/dist/Document.cjs');
13
+ var Page = require('../../../node_modules/.pnpm/react-pdf@10.2.0_@types_react@17.0.2_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-pdf/dist/Page.cjs');
14
+ var x = require('../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/x.cjs');
15
15
  var pdf = require('../../../node_modules/.pnpm/pdfjs-dist@5.4.296/node_modules/pdfjs-dist/build/pdf.cjs');
16
16
 
17
17
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
@@ -1,15 +1,15 @@
1
1
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { memo, useState } from 'react';
3
- import '../../../node_modules/.pnpm/react-pdf@10.2.0_@types_react@18.2.0_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/react-pdf/dist/index.js';
3
+ import '../../../node_modules/.pnpm/react-pdf@10.2.0_@types_react@17.0.2_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-pdf/dist/index.js';
4
4
  import { Dialog, DialogTrigger, DialogContent, DialogHeader, DialogTitle, DialogDescription } from '../../ui/dialog.js';
5
5
  import { Tooltip, TooltipContent, TooltipTrigger } from '../../ui/tooltip.js';
6
- import FileText from '../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/file-text.js';
7
- import ChevronUp from '../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/chevron-up.js';
8
- import ChevronDown from '../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js';
9
- import ArrowRight from '../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/arrow-right.js';
10
- import Document from '../../../node_modules/.pnpm/react-pdf@10.2.0_@types_react@18.2.0_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/react-pdf/dist/Document.js';
11
- import Page from '../../../node_modules/.pnpm/react-pdf@10.2.0_@types_react@18.2.0_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/react-pdf/dist/Page.js';
12
- import X from '../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/x.js';
6
+ import FileText from '../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/file-text.js';
7
+ import ChevronUp from '../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/chevron-up.js';
8
+ import ChevronDown from '../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/chevron-down.js';
9
+ import ArrowRight from '../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/arrow-right.js';
10
+ import Document from '../../../node_modules/.pnpm/react-pdf@10.2.0_@types_react@17.0.2_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-pdf/dist/Document.js';
11
+ import Page from '../../../node_modules/.pnpm/react-pdf@10.2.0_@types_react@17.0.2_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-pdf/dist/Page.js';
12
+ import X from '../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/x.js';
13
13
  import { GlobalWorkerOptions } from '../../../node_modules/.pnpm/pdfjs-dist@5.4.296/node_modules/pdfjs-dist/build/pdf.js';
14
14
 
15
15
  GlobalWorkerOptions.workerSrc = new URL("pdfjs-dist/build/pdf.worker.min.mjs", import.meta.url).toString();
@@ -2,9 +2,9 @@
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
4
  var React = require('react');
5
- var film = require('../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/film.cjs');
6
- var chevronUp = require('../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/chevron-up.cjs');
7
- var chevronDown = require('../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/chevron-down.cjs');
5
+ var film = require('../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/film.cjs');
6
+ var chevronUp = require('../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/chevron-up.cjs');
7
+ var chevronDown = require('../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/chevron-down.cjs');
8
8
 
9
9
  const VideoImpl = ({ filename, data, mimeType }) => {
10
10
  const [isExpanded, setIsExpanded] = React.useState(true); // 默认展开直接播放
@@ -1,8 +1,8 @@
1
1
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { memo, useState, useRef } from 'react';
3
- import Film from '../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/film.js';
4
- import ChevronUp from '../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/chevron-up.js';
5
- import ChevronDown from '../../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js';
3
+ import Film from '../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/film.js';
4
+ import ChevronUp from '../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/chevron-up.js';
5
+ import ChevronDown from '../../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/chevron-down.js';
6
6
 
7
7
  const VideoImpl = ({ filename, data, mimeType }) => {
8
8
  const [isExpanded, setIsExpanded] = useState(true); // 默认展开直接播放
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var MarkdownText$1 = require('../../node_modules/.pnpm/@assistant-ui_react-markdown@0.11.4_@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67n_iwwjquq4exkhrgfsriqzd7fv3a/node_modules/@assistant-ui/react-markdown/dist/primitives/MarkdownText.cjs');
5
- var PreOverride = require('../../node_modules/.pnpm/@assistant-ui_react-markdown@0.11.4_@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67n_iwwjquq4exkhrgfsriqzd7fv3a/node_modules/@assistant-ui/react-markdown/dist/overrides/PreOverride.cjs');
6
- var memoization = require('../../node_modules/.pnpm/@assistant-ui_react-markdown@0.11.4_@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67n_iwwjquq4exkhrgfsriqzd7fv3a/node_modules/@assistant-ui/react-markdown/dist/memoization.cjs');
4
+ var MarkdownText$1 = require('../../node_modules/.pnpm/@assistant-ui_react-markdown@0.11.4_@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5_wxfjrkher6wva4kv4vccidrjoy/node_modules/@assistant-ui/react-markdown/dist/primitives/MarkdownText.cjs');
5
+ var PreOverride = require('../../node_modules/.pnpm/@assistant-ui_react-markdown@0.11.4_@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5_wxfjrkher6wva4kv4vccidrjoy/node_modules/@assistant-ui/react-markdown/dist/overrides/PreOverride.cjs');
6
+ var memoization = require('../../node_modules/.pnpm/@assistant-ui_react-markdown@0.11.4_@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5_wxfjrkher6wva4kv4vccidrjoy/node_modules/@assistant-ui/react-markdown/dist/memoization.cjs');
7
7
  var React = require('react');
8
8
  var tooltipIconButton = require('./tooltip-icon-button.cjs');
9
9
  var utils = require('../../lib/utils.cjs');
@@ -14,8 +14,8 @@ var schema$1 = require('../../node_modules/.pnpm/hast-util-sanitize@5.0.2/node_m
14
14
  var index = require('../../node_modules/.pnpm/remark-gfm@4.0.1/node_modules/remark-gfm/lib/index.cjs');
15
15
  var index$1 = require('../../node_modules/.pnpm/rehype-raw@7.0.0/node_modules/rehype-raw/lib/index.cjs');
16
16
  var index$2 = require('../../node_modules/.pnpm/rehype-sanitize@6.0.0/node_modules/rehype-sanitize/lib/index.cjs');
17
- var copy = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/copy.cjs');
18
- var check = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/check.cjs');
17
+ var copy = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/copy.cjs');
18
+ var check = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/check.cjs');
19
19
 
20
20
  const schema = {
21
21
  ...schema$1.defaultSchema,
@@ -1,7 +1,7 @@
1
1
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
2
- import { MarkdownTextPrimitive } from '../../node_modules/.pnpm/@assistant-ui_react-markdown@0.11.4_@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67n_iwwjquq4exkhrgfsriqzd7fv3a/node_modules/@assistant-ui/react-markdown/dist/primitives/MarkdownText.js';
3
- import { useIsMarkdownCodeBlock } from '../../node_modules/.pnpm/@assistant-ui_react-markdown@0.11.4_@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67n_iwwjquq4exkhrgfsriqzd7fv3a/node_modules/@assistant-ui/react-markdown/dist/overrides/PreOverride.js';
4
- import { memoizeMarkdownComponents } from '../../node_modules/.pnpm/@assistant-ui_react-markdown@0.11.4_@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67n_iwwjquq4exkhrgfsriqzd7fv3a/node_modules/@assistant-ui/react-markdown/dist/memoization.js';
2
+ import { MarkdownTextPrimitive } from '../../node_modules/.pnpm/@assistant-ui_react-markdown@0.11.4_@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5_wxfjrkher6wva4kv4vccidrjoy/node_modules/@assistant-ui/react-markdown/dist/primitives/MarkdownText.js';
3
+ import { useIsMarkdownCodeBlock } from '../../node_modules/.pnpm/@assistant-ui_react-markdown@0.11.4_@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5_wxfjrkher6wva4kv4vccidrjoy/node_modules/@assistant-ui/react-markdown/dist/overrides/PreOverride.js';
4
+ import { memoizeMarkdownComponents } from '../../node_modules/.pnpm/@assistant-ui_react-markdown@0.11.4_@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5_wxfjrkher6wva4kv4vccidrjoy/node_modules/@assistant-ui/react-markdown/dist/memoization.js';
5
5
  import { memo, useState } from 'react';
6
6
  import { TooltipIconButton } from './tooltip-icon-button.js';
7
7
  import { cn } from '../../lib/utils.js';
@@ -12,8 +12,8 @@ import { defaultSchema } from '../../node_modules/.pnpm/hast-util-sanitize@5.0.2
12
12
  import remarkGfm from '../../node_modules/.pnpm/remark-gfm@4.0.1/node_modules/remark-gfm/lib/index.js';
13
13
  import rehypeRaw from '../../node_modules/.pnpm/rehype-raw@7.0.0/node_modules/rehype-raw/lib/index.js';
14
14
  import rehypeSanitize from '../../node_modules/.pnpm/rehype-sanitize@6.0.0/node_modules/rehype-sanitize/lib/index.js';
15
- import Copy from '../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/copy.js';
16
- import Check from '../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/check.js';
15
+ import Copy from '../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/copy.js';
16
+ import Check from '../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/check.js';
17
17
 
18
18
  const schema = {
19
19
  ...defaultSchema,
@@ -6,9 +6,9 @@ var markdownText = require('./markdown-text.cjs');
6
6
  var reasoning = require('./reasoning.cjs');
7
7
  var toolFallback = require('./tool-fallback.cjs');
8
8
  var avatarGroup = require('../../assets/avatarGroup.cjs');
9
- var useMessagePartReasoning = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/primitives/messagePart/useMessagePartReasoning.cjs');
10
- var useMessagePartText = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_wncib234fzw2z5h67nrdhchb2a_@types_react-dom@18.2.0_@ty_tkoysk6irzhxd3xxcb4dl5e7ye/node_modules/@assistant-ui/react/dist/primitives/messagePart/useMessagePartText.cjs');
11
- var fileText = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@18.2.0/node_modules/lucide-react/dist/esm/icons/file-text.cjs');
9
+ var useMessagePartReasoning = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/primitives/messagePart/useMessagePartReasoning.cjs');
10
+ var useMessagePartText = require('../../node_modules/.pnpm/@assistant-ui_react@0.11.37_patch_hash_ga5wchs2nv7glg5nt5vp3rf7w4_@types_react-dom@17.0.2_@ty_n4uoi6zte4w63372rejm7oygyq/node_modules/@assistant-ui/react/dist/primitives/messagePart/useMessagePartText.cjs');
11
+ var fileText = require('../../node_modules/.pnpm/lucide-react@0.552.0_react@17.0.2/node_modules/lucide-react/dist/esm/icons/file-text.cjs');
12
12
  var isNil = require('../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isNil.cjs');
13
13
 
14
14
  const File = (props) => {