@chat-lab/ui 0.1.0-beta.53 → 0.1.0-beta.55

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 (570) hide show
  1. package/dist/components/Chatkit/index.cjs +7 -7
  2. package/dist/components/Chatkit/index.cjs.map +1 -1
  3. package/dist/components/Chatkit/index.js +7 -7
  4. package/dist/components/Chatkit/index.js.map +1 -1
  5. package/dist/components/Chatkit/types.d.ts +1 -0
  6. package/dist/components/Chatkit/types.d.ts.map +1 -1
  7. package/dist/components/VoiceInput/index.cjs +1 -1
  8. package/dist/components/VoiceInput/index.js +1 -1
  9. package/dist/components/assistant-ui/attachment.cjs +15 -66
  10. package/dist/components/assistant-ui/attachment.cjs.map +1 -1
  11. package/dist/components/assistant-ui/attachment.d.ts.map +1 -1
  12. package/dist/components/assistant-ui/attachment.js +16 -67
  13. package/dist/components/assistant-ui/attachment.js.map +1 -1
  14. package/dist/components/assistant-ui/markdown-text.cjs +3 -3
  15. package/dist/components/assistant-ui/markdown-text.js +3 -3
  16. package/dist/components/assistant-ui/message-components-with-avatar.cjs +10 -4
  17. package/dist/components/assistant-ui/message-components-with-avatar.cjs.map +1 -1
  18. package/dist/components/assistant-ui/message-components-with-avatar.d.ts +2 -4
  19. package/dist/components/assistant-ui/message-components-with-avatar.d.ts.map +1 -1
  20. package/dist/components/assistant-ui/message-components-with-avatar.js +10 -4
  21. package/dist/components/assistant-ui/message-components-with-avatar.js.map +1 -1
  22. package/dist/components/assistant-ui/reasoning.cjs +2 -2
  23. package/dist/components/assistant-ui/reasoning.js +2 -2
  24. package/dist/components/assistant-ui/thread.cjs +24 -25
  25. package/dist/components/assistant-ui/thread.cjs.map +1 -1
  26. package/dist/components/assistant-ui/thread.js +24 -25
  27. package/dist/components/assistant-ui/thread.js.map +1 -1
  28. package/dist/components/assistant-ui-tools/execution-card.cjs +1 -1
  29. package/dist/components/assistant-ui-tools/execution-card.js +1 -1
  30. package/dist/components/assistant-ui-tools/skill-agent-tool-set.cjs +53 -8
  31. package/dist/components/assistant-ui-tools/skill-agent-tool-set.cjs.map +1 -1
  32. package/dist/components/assistant-ui-tools/skill-agent-tool-set.d.ts.map +1 -1
  33. package/dist/components/assistant-ui-tools/skill-agent-tool-set.js +54 -9
  34. package/dist/components/assistant-ui-tools/skill-agent-tool-set.js.map +1 -1
  35. package/dist/hooks/useSkillAgent/SkillAgentPlugin.cjs +12 -5
  36. package/dist/hooks/useSkillAgent/SkillAgentPlugin.cjs.map +1 -1
  37. package/dist/hooks/useSkillAgent/SkillAgentPlugin.d.ts.map +1 -1
  38. package/dist/hooks/useSkillAgent/SkillAgentPlugin.js +12 -5
  39. package/dist/hooks/useSkillAgent/SkillAgentPlugin.js.map +1 -1
  40. package/dist/index.css +1 -1
  41. package/dist/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 +38 -0
  42. package/dist/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.map +1 -0
  43. package/dist/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 +34 -0
  44. package/dist/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.map +1 -0
  45. package/dist/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/CodeBlock.cjs +31 -0
  46. package/dist/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/CodeBlock.cjs.map +1 -0
  47. package/dist/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/CodeBlock.js +29 -0
  48. package/dist/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/CodeBlock.js.map +1 -0
  49. package/dist/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/CodeOverride.cjs +82 -0
  50. package/dist/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/CodeOverride.cjs.map +1 -0
  51. package/dist/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/CodeOverride.js +80 -0
  52. package/dist/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/CodeOverride.js.map +1 -0
  53. package/dist/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 +19 -0
  54. package/dist/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.map +1 -0
  55. package/dist/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 +15 -0
  56. package/dist/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.map +1 -0
  57. package/dist/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/defaultComponents.cjs +15 -0
  58. package/dist/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/defaultComponents.cjs.map +1 -0
  59. package/dist/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/defaultComponents.js +10 -0
  60. package/dist/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/defaultComponents.js.map +1 -0
  61. package/dist/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/withDefaults.cjs +18 -0
  62. package/dist/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/withDefaults.cjs.map +1 -0
  63. package/dist/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/withDefaults.js +16 -0
  64. package/dist/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/withDefaults.js.map +1 -0
  65. package/dist/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 +89 -0
  66. package/dist/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.map +1 -0
  67. package/dist/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 +87 -0
  68. package/dist/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.map +1 -0
  69. package/dist/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/client/AssistantClient.cjs +133 -0
  70. package/dist/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/client/AssistantClient.cjs.map +1 -0
  71. package/dist/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/client/AssistantClient.js +131 -0
  72. package/dist/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/client/AssistantClient.js.map +1 -0
  73. package/dist/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/client/EventContext.cjs +18 -0
  74. package/dist/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/client/EventContext.cjs.map +1 -0
  75. package/dist/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/client/EventContext.js +15 -0
  76. package/dist/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/client/EventContext.js.map +1 -0
  77. package/dist/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/client/ModelContext.cjs +19 -0
  78. package/dist/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/client/ModelContext.cjs.map +1 -0
  79. package/dist/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/client/ModelContext.js +16 -0
  80. package/dist/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/client/ModelContext.js.map +1 -0
  81. package/dist/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/client/ModelContextClient.cjs +21 -0
  82. package/dist/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/client/ModelContextClient.cjs.map +1 -0
  83. package/dist/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/client/ModelContextClient.js +19 -0
  84. package/dist/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/client/ModelContextClient.js.map +1 -0
  85. package/dist/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/client/ToolUIClient.cjs +74 -0
  86. package/dist/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/client/ToolUIClient.cjs.map +1 -0
  87. package/dist/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/client/ToolUIClient.js +72 -0
  88. package/dist/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/client/ToolUIClient.js.map +1 -0
  89. package/dist/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/client/ToolUIContext.cjs +18 -0
  90. package/dist/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/client/ToolUIContext.cjs.map +1 -0
  91. package/dist/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/client/ToolUIContext.js +15 -0
  92. package/dist/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/client/ToolUIContext.js.map +1 -0
  93. package/dist/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/client/Tools.cjs +56 -0
  94. package/dist/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/client/Tools.cjs.map +1 -0
  95. package/dist/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/client/Tools.js +54 -0
  96. package/dist/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/client/Tools.js.map +1 -0
  97. package/dist/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/client/util-hooks/tapLookupResources.cjs +23 -0
  98. package/dist/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/client/util-hooks/tapLookupResources.cjs.map +1 -0
  99. package/dist/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/client/util-hooks/tapLookupResources.js +21 -0
  100. package/dist/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/client/util-hooks/tapLookupResources.js.map +1 -0
  101. package/dist/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/ReadonlyStore.cjs +9 -0
  102. package/dist/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/ReadonlyStore.cjs.map +1 -0
  103. package/dist/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/ReadonlyStore.js +7 -0
  104. package/dist/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/ReadonlyStore.js.map +1 -0
  105. package/dist/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/providers/AttachmentByIndexProvider.cjs +32 -0
  106. package/dist/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/providers/AttachmentByIndexProvider.cjs.map +1 -0
  107. package/dist/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/providers/AttachmentByIndexProvider.js +29 -0
  108. package/dist/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/providers/AttachmentByIndexProvider.js.map +1 -0
  109. package/dist/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/providers/MessageByIndexProvider.cjs +37 -0
  110. package/dist/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/providers/MessageByIndexProvider.cjs.map +1 -0
  111. package/dist/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/providers/MessageByIndexProvider.js +35 -0
  112. package/dist/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/providers/MessageByIndexProvider.js.map +1 -0
  113. package/dist/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/providers/PartByIndexProvider.cjs +20 -0
  114. package/dist/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/providers/PartByIndexProvider.cjs.map +1 -0
  115. package/dist/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/providers/PartByIndexProvider.js +18 -0
  116. package/dist/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/providers/PartByIndexProvider.js.map +1 -0
  117. package/dist/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/providers/TextMessagePartProvider.cjs +50 -0
  118. package/dist/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/providers/TextMessagePartProvider.cjs.map +1 -0
  119. package/dist/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/providers/TextMessagePartProvider.js +48 -0
  120. package/dist/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/providers/TextMessagePartProvider.js.map +1 -0
  121. package/dist/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/providers/ThreadViewportProvider.cjs +38 -0
  122. package/dist/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/providers/ThreadViewportProvider.cjs.map +1 -0
  123. package/dist/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/providers/ThreadViewportProvider.js +36 -0
  124. package/dist/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/providers/ThreadViewportProvider.js.map +1 -0
  125. package/dist/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 +175 -0
  126. package/dist/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.map +1 -0
  127. package/dist/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 +168 -0
  128. package/dist/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.map +1 -0
  129. package/dist/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/ThreadViewportContext.cjs +17 -0
  130. package/dist/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/ThreadViewportContext.cjs.map +1 -0
  131. package/dist/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/ThreadViewportContext.js +13 -0
  132. package/dist/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/ThreadViewportContext.js.map +1 -0
  133. package/dist/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/useAssistantEvent.cjs +22 -0
  134. package/dist/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/useAssistantEvent.cjs.map +1 -0
  135. package/dist/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/useAssistantEvent.js +20 -0
  136. package/dist/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/useAssistantEvent.js.map +1 -0
  137. package/dist/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 +55 -0
  138. package/dist/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.map +1 -0
  139. package/dist/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 +53 -0
  140. package/dist/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.map +1 -0
  141. package/dist/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/utils/createContextHook.cjs +17 -0
  142. package/dist/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/utils/createContextHook.cjs.map +1 -0
  143. package/dist/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/utils/createContextHook.js +15 -0
  144. package/dist/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/utils/createContextHook.js.map +1 -0
  145. package/dist/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/utils/createContextStoreHook.cjs +32 -0
  146. package/dist/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/utils/createContextStoreHook.cjs.map +1 -0
  147. package/dist/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/utils/createContextStoreHook.js +30 -0
  148. package/dist/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/utils/createContextStoreHook.js.map +1 -0
  149. package/dist/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/stores/ThreadViewport.cjs +24 -0
  150. package/dist/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/stores/ThreadViewport.cjs.map +1 -0
  151. package/dist/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/stores/ThreadViewport.js +22 -0
  152. package/dist/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/stores/ThreadViewport.js.map +1 -0
  153. package/dist/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/devtools/DevToolsHooks.cjs +80 -0
  154. package/dist/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/devtools/DevToolsHooks.cjs.map +1 -0
  155. package/dist/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/devtools/DevToolsHooks.js +78 -0
  156. package/dist/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/devtools/DevToolsHooks.js.map +1 -0
  157. package/dist/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/internal.cjs +33 -0
  158. package/dist/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/internal.cjs.map +1 -0
  159. package/dist/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/internal.js +16 -0
  160. package/dist/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/internal.js.map +1 -0
  161. package/dist/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 +28 -0
  162. package/dist/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.map +1 -0
  163. package/dist/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 +25 -0
  164. package/dist/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.map +1 -0
  165. package/dist/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/RuntimeAdapter.cjs +24 -0
  166. package/dist/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/RuntimeAdapter.cjs.map +1 -0
  167. package/dist/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/RuntimeAdapter.js +22 -0
  168. package/dist/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/RuntimeAdapter.js.map +1 -0
  169. package/dist/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/client/AttachmentRuntimeClient.cjs +25 -0
  170. package/dist/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/client/AttachmentRuntimeClient.cjs.map +1 -0
  171. package/dist/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/client/AttachmentRuntimeClient.js +23 -0
  172. package/dist/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/client/AttachmentRuntimeClient.js.map +1 -0
  173. package/dist/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/client/ComposerRuntimeClient.cjs +101 -0
  174. package/dist/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/client/ComposerRuntimeClient.cjs.map +1 -0
  175. package/dist/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/client/ComposerRuntimeClient.js +99 -0
  176. package/dist/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/client/ComposerRuntimeClient.js.map +1 -0
  177. package/dist/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/client/EventManagerRuntimeClient.cjs +47 -0
  178. package/dist/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/client/EventManagerRuntimeClient.cjs.map +1 -0
  179. package/dist/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/client/EventManagerRuntimeClient.js +45 -0
  180. package/dist/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/client/EventManagerRuntimeClient.js.map +1 -0
  181. package/dist/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/client/MessagePartRuntimeClient.cjs +24 -0
  182. package/dist/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/client/MessagePartRuntimeClient.cjs.map +1 -0
  183. package/dist/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/client/MessagePartRuntimeClient.js +22 -0
  184. package/dist/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/client/MessagePartRuntimeClient.js.map +1 -0
  185. package/dist/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/client/MessageRuntimeClient.cjs +119 -0
  186. package/dist/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/client/MessageRuntimeClient.cjs.map +1 -0
  187. package/dist/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/client/MessageRuntimeClient.js +117 -0
  188. package/dist/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/client/MessageRuntimeClient.js.map +1 -0
  189. package/dist/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/client/ThreadListItemRuntimeClient.cjs +53 -0
  190. package/dist/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/client/ThreadListItemRuntimeClient.cjs.map +1 -0
  191. package/dist/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/client/ThreadListItemRuntimeClient.js +51 -0
  192. package/dist/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/client/ThreadListItemRuntimeClient.js.map +1 -0
  193. package/dist/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/client/ThreadListRuntimeClient.cjs +79 -0
  194. package/dist/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/client/ThreadListRuntimeClient.cjs.map +1 -0
  195. package/dist/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/client/ThreadListRuntimeClient.js +77 -0
  196. package/dist/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/client/ThreadListRuntimeClient.js.map +1 -0
  197. package/dist/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/client/ThreadRuntimeClient.cjs +122 -0
  198. package/dist/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/client/ThreadRuntimeClient.cjs.map +1 -0
  199. package/dist/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/client/ThreadRuntimeClient.js +120 -0
  200. package/dist/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/client/ThreadRuntimeClient.js.map +1 -0
  201. package/dist/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/AssistantRuntime.cjs +49 -0
  202. package/dist/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/AssistantRuntime.cjs.map +1 -0
  203. package/dist/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/AssistantRuntime.js +47 -0
  204. package/dist/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/AssistantRuntime.js.map +1 -0
  205. package/dist/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/AttachmentRuntime.cjs +61 -0
  206. package/dist/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/AttachmentRuntime.cjs.map +1 -0
  207. package/dist/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/AttachmentRuntime.js +56 -0
  208. package/dist/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/AttachmentRuntime.js.map +1 -0
  209. package/dist/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/ComposerRuntime.cjs +227 -0
  210. package/dist/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/ComposerRuntime.cjs.map +1 -0
  211. package/dist/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/ComposerRuntime.js +223 -0
  212. package/dist/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/ComposerRuntime.js.map +1 -0
  213. package/dist/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/MessagePartRuntime.cjs +67 -0
  214. package/dist/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/MessagePartRuntime.cjs.map +1 -0
  215. package/dist/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/MessagePartRuntime.js +65 -0
  216. package/dist/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/MessagePartRuntime.js.map +1 -0
  217. package/dist/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/MessageRuntime.cjs +209 -0
  218. package/dist/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/MessageRuntime.cjs.map +1 -0
  219. package/dist/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/MessageRuntime.js +206 -0
  220. package/dist/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/MessageRuntime.js.map +1 -0
  221. package/dist/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/ThreadListItemRuntime.cjs +86 -0
  222. package/dist/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/ThreadListItemRuntime.cjs.map +1 -0
  223. package/dist/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/ThreadListItemRuntime.js +84 -0
  224. package/dist/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/ThreadListItemRuntime.js.map +1 -0
  225. package/dist/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/ThreadListRuntime.cjs +166 -0
  226. package/dist/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/ThreadListRuntime.cjs.map +1 -0
  227. package/dist/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/ThreadListRuntime.js +164 -0
  228. package/dist/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/ThreadListRuntime.js.map +1 -0
  229. package/dist/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/ThreadRuntime.cjs +245 -0
  230. package/dist/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/ThreadRuntime.cjs.map +1 -0
  231. package/dist/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/ThreadRuntime.js +242 -0
  232. package/dist/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/ThreadRuntime.js.map +1 -0
  233. package/dist/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/subscribable/BaseSubject.cjs +33 -0
  234. package/dist/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/subscribable/BaseSubject.cjs.map +1 -0
  235. package/dist/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/subscribable/BaseSubject.js +31 -0
  236. package/dist/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/subscribable/BaseSubject.js.map +1 -0
  237. package/dist/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/subscribable/EventSubscriptionSubject.cjs +39 -0
  238. package/dist/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/subscribable/EventSubscriptionSubject.cjs.map +1 -0
  239. package/dist/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/subscribable/EventSubscriptionSubject.js +37 -0
  240. package/dist/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/subscribable/EventSubscriptionSubject.js.map +1 -0
  241. package/dist/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/subscribable/LazyMemoizeSubject.cjs +39 -0
  242. package/dist/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/subscribable/LazyMemoizeSubject.cjs.map +1 -0
  243. package/dist/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/subscribable/LazyMemoizeSubject.js +37 -0
  244. package/dist/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/subscribable/LazyMemoizeSubject.js.map +1 -0
  245. package/dist/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/subscribable/NestedSubscriptionSubject.cjs +43 -0
  246. package/dist/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/subscribable/NestedSubscriptionSubject.cjs.map +1 -0
  247. package/dist/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/subscribable/NestedSubscriptionSubject.js +41 -0
  248. package/dist/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/subscribable/NestedSubscriptionSubject.js.map +1 -0
  249. package/dist/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/subscribable/SKIP_UPDATE.cjs +7 -0
  250. package/dist/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/subscribable/SKIP_UPDATE.cjs.map +1 -0
  251. package/dist/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/subscribable/SKIP_UPDATE.js +5 -0
  252. package/dist/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/subscribable/SKIP_UPDATE.js.map +1 -0
  253. package/dist/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/subscribable/ShallowMemoizeSubject.cjs +43 -0
  254. package/dist/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/subscribable/ShallowMemoizeSubject.cjs.map +1 -0
  255. package/dist/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/subscribable/ShallowMemoizeSubject.js +41 -0
  256. package/dist/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/subscribable/ShallowMemoizeSubject.js.map +1 -0
  257. package/dist/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/subscribable/shallowEqual.cjs +17 -0
  258. package/dist/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/subscribable/shallowEqual.cjs.map +1 -0
  259. package/dist/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/subscribable/shallowEqual.js +15 -0
  260. package/dist/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/subscribable/shallowEqual.js.map +1 -0
  261. package/dist/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/adapters/RuntimeAdapterProvider.cjs +13 -0
  262. package/dist/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/adapters/RuntimeAdapterProvider.cjs.map +1 -0
  263. package/dist/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/adapters/RuntimeAdapterProvider.js +11 -0
  264. package/dist/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/adapters/RuntimeAdapterProvider.js.map +1 -0
  265. package/dist/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/assistant-transport/useToolInvocations.cjs +197 -0
  266. package/dist/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/assistant-transport/useToolInvocations.cjs.map +1 -0
  267. package/dist/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/assistant-transport/useToolInvocations.js +195 -0
  268. package/dist/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/assistant-transport/useToolInvocations.js.map +1 -0
  269. package/dist/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/composer/BaseComposerRuntimeCore.cjs +165 -0
  270. package/dist/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/composer/BaseComposerRuntimeCore.cjs.map +1 -0
  271. package/dist/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/composer/BaseComposerRuntimeCore.js +163 -0
  272. package/dist/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/composer/BaseComposerRuntimeCore.js.map +1 -0
  273. package/dist/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/composer/DefaultEditComposerRuntimeCore.cjs +50 -0
  274. package/dist/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/composer/DefaultEditComposerRuntimeCore.cjs.map +1 -0
  275. package/dist/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/composer/DefaultEditComposerRuntimeCore.js +48 -0
  276. package/dist/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/composer/DefaultEditComposerRuntimeCore.js.map +1 -0
  277. package/dist/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/composer/DefaultThreadComposerRuntimeCore.cjs +43 -0
  278. package/dist/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/composer/DefaultThreadComposerRuntimeCore.cjs.map +1 -0
  279. package/dist/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/composer/DefaultThreadComposerRuntimeCore.js +41 -0
  280. package/dist/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/composer/DefaultThreadComposerRuntimeCore.js.map +1 -0
  281. package/dist/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/core/BaseAssistantRuntimeCore.cjs +17 -0
  282. package/dist/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/core/BaseAssistantRuntimeCore.cjs.map +1 -0
  283. package/dist/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/core/BaseAssistantRuntimeCore.js +15 -0
  284. package/dist/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/core/BaseAssistantRuntimeCore.js.map +1 -0
  285. package/dist/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/core/BaseThreadRuntimeCore.cjs +163 -0
  286. package/dist/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/core/BaseThreadRuntimeCore.cjs.map +1 -0
  287. package/dist/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/core/BaseThreadRuntimeCore.js +161 -0
  288. package/dist/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/core/BaseThreadRuntimeCore.js.map +1 -0
  289. package/dist/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/ExternalStoreRuntimeCore.cjs +27 -0
  290. package/dist/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/ExternalStoreRuntimeCore.cjs.map +1 -0
  291. package/dist/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/ExternalStoreRuntimeCore.js +25 -0
  292. package/dist/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/ExternalStoreRuntimeCore.js.map +1 -0
  293. package/dist/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/ExternalStoreThreadListRuntimeCore.cjs +175 -0
  294. package/dist/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/ExternalStoreThreadListRuntimeCore.cjs.map +1 -0
  295. package/dist/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/ExternalStoreThreadListRuntimeCore.js +173 -0
  296. package/dist/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/ExternalStoreThreadListRuntimeCore.js.map +1 -0
  297. package/dist/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/ExternalStoreThreadRuntimeCore.cjs +249 -0
  298. package/dist/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/ExternalStoreThreadRuntimeCore.cjs.map +1 -0
  299. package/dist/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/ExternalStoreThreadRuntimeCore.js +246 -0
  300. package/dist/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/ExternalStoreThreadRuntimeCore.js.map +1 -0
  301. package/dist/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/ThreadMessageConverter.cjs +17 -0
  302. package/dist/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/ThreadMessageConverter.cjs.map +1 -0
  303. package/dist/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/ThreadMessageConverter.js +15 -0
  304. package/dist/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/ThreadMessageConverter.js.map +1 -0
  305. package/dist/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/ThreadMessageLike.cjs +137 -0
  306. package/dist/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/ThreadMessageLike.cjs.map +1 -0
  307. package/dist/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/ThreadMessageLike.js +135 -0
  308. package/dist/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/ThreadMessageLike.js.map +1 -0
  309. package/dist/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/auto-status.cjs +52 -0
  310. package/dist/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/auto-status.cjs.map +1 -0
  311. package/dist/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/auto-status.js +49 -0
  312. package/dist/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/auto-status.js.map +1 -0
  313. package/dist/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/getExternalStoreMessage.cjs +12 -0
  314. package/dist/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/getExternalStoreMessage.cjs.map +1 -0
  315. package/dist/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/getExternalStoreMessage.js +9 -0
  316. package/dist/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/getExternalStoreMessage.js.map +1 -0
  317. package/dist/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 +22 -0
  318. package/dist/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.map +1 -0
  319. package/dist/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 +20 -0
  320. package/dist/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.map +1 -0
  321. package/dist/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/local/LocalRuntimeOptions.cjs +26 -0
  322. package/dist/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/local/LocalRuntimeOptions.cjs.map +1 -0
  323. package/dist/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/local/LocalRuntimeOptions.js +24 -0
  324. package/dist/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/local/LocalRuntimeOptions.js.map +1 -0
  325. package/dist/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/remote-thread-list/BaseSubscribable.cjs +38 -0
  326. package/dist/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/remote-thread-list/BaseSubscribable.cjs.map +1 -0
  327. package/dist/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/remote-thread-list/BaseSubscribable.js +36 -0
  328. package/dist/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/remote-thread-list/BaseSubscribable.js.map +1 -0
  329. package/dist/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/utils/MessageRepository.cjs +381 -0
  330. package/dist/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/utils/MessageRepository.cjs.map +1 -0
  331. package/dist/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/utils/MessageRepository.js +378 -0
  332. package/dist/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/utils/MessageRepository.js.map +1 -0
  333. package/dist/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/util-hooks/tapSubscribable.cjs +19 -0
  334. package/dist/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/util-hooks/tapSubscribable.cjs.map +1 -0
  335. package/dist/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/util-hooks/tapSubscribable.js +17 -0
  336. package/dist/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/util-hooks/tapSubscribable.js.map +1 -0
  337. package/dist/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/model-context/ModelContextTypes.cjs +45 -0
  338. package/dist/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/model-context/ModelContextTypes.cjs.map +1 -0
  339. package/dist/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/model-context/ModelContextTypes.js +43 -0
  340. package/dist/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/model-context/ModelContextTypes.js.map +1 -0
  341. package/dist/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/model-context/makeAssistantToolUI.cjs +15 -0
  342. package/dist/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/model-context/makeAssistantToolUI.cjs.map +1 -0
  343. package/dist/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/model-context/makeAssistantToolUI.js +13 -0
  344. package/dist/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/model-context/makeAssistantToolUI.js.map +1 -0
  345. package/dist/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/model-context/toolbox.cjs +9 -0
  346. package/dist/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/model-context/toolbox.cjs.map +1 -0
  347. package/dist/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/model-context/toolbox.js +6 -0
  348. package/dist/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/model-context/toolbox.js.map +1 -0
  349. package/dist/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/model-context/useAssistantToolUI.cjs +15 -0
  350. package/dist/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/model-context/useAssistantToolUI.cjs.map +1 -0
  351. package/dist/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/model-context/useAssistantToolUI.js +13 -0
  352. package/dist/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/model-context/useAssistantToolUI.js.map +1 -0
  353. package/dist/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/actionBar/ActionBarCopy.cjs +50 -0
  354. package/dist/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/actionBar/ActionBarCopy.cjs.map +1 -0
  355. package/dist/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/actionBar/ActionBarCopy.js +48 -0
  356. package/dist/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/actionBar/ActionBarCopy.js.map +1 -0
  357. package/dist/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/actionBar/ActionBarReload.cjs +25 -0
  358. package/dist/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/actionBar/ActionBarReload.cjs.map +1 -0
  359. package/dist/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/actionBar/ActionBarReload.js +23 -0
  360. package/dist/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/actionBar/ActionBarReload.js.map +1 -0
  361. package/dist/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/actionBar/ActionBarRoot.cjs +27 -0
  362. package/dist/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/actionBar/ActionBarRoot.cjs.map +1 -0
  363. package/dist/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/actionBar/ActionBarRoot.js +25 -0
  364. package/dist/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/actionBar/ActionBarRoot.js.map +1 -0
  365. package/dist/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/actionBar/useActionBarFloatStatus.cjs +29 -0
  366. package/dist/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/actionBar/useActionBarFloatStatus.cjs.map +1 -0
  367. package/dist/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/actionBar/useActionBarFloatStatus.js +26 -0
  368. package/dist/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/actionBar/useActionBarFloatStatus.js.map +1 -0
  369. package/dist/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 +13 -0
  370. package/dist/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.map +1 -0
  371. package/dist/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 +11 -0
  372. package/dist/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.map +1 -0
  373. package/dist/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 +20 -0
  374. package/dist/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.map +1 -0
  375. package/dist/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 +18 -0
  376. package/dist/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.map +1 -0
  377. package/dist/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 +13 -0
  378. package/dist/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.map +1 -0
  379. package/dist/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 +11 -0
  380. package/dist/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.map +1 -0
  381. package/dist/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/branchPicker/BranchPickerCount.cjs +17 -0
  382. package/dist/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/branchPicker/BranchPickerCount.cjs.map +1 -0
  383. package/dist/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/branchPicker/BranchPickerCount.js +15 -0
  384. package/dist/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/branchPicker/BranchPickerCount.js.map +1 -0
  385. package/dist/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/branchPicker/BranchPickerNext.cjs +29 -0
  386. package/dist/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/branchPicker/BranchPickerNext.cjs.map +1 -0
  387. package/dist/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/branchPicker/BranchPickerNext.js +27 -0
  388. package/dist/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/branchPicker/BranchPickerNext.js.map +1 -0
  389. package/dist/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/branchPicker/BranchPickerNumber.cjs +17 -0
  390. package/dist/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/branchPicker/BranchPickerNumber.cjs.map +1 -0
  391. package/dist/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/branchPicker/BranchPickerNumber.js +15 -0
  392. package/dist/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/branchPicker/BranchPickerNumber.js.map +1 -0
  393. package/dist/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/branchPicker/BranchPickerPrevious.cjs +29 -0
  394. package/dist/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/branchPicker/BranchPickerPrevious.cjs.map +1 -0
  395. package/dist/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/branchPicker/BranchPickerPrevious.js +27 -0
  396. package/dist/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/branchPicker/BranchPickerPrevious.js.map +1 -0
  397. package/dist/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/branchPicker/BranchPickerRoot.cjs +14 -0
  398. package/dist/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/branchPicker/BranchPickerRoot.cjs.map +1 -0
  399. package/dist/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/branchPicker/BranchPickerRoot.js +12 -0
  400. package/dist/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/branchPicker/BranchPickerRoot.js.map +1 -0
  401. package/dist/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 +48 -0
  402. package/dist/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.map +1 -0
  403. package/dist/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 +46 -0
  404. package/dist/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.map +1 -0
  405. package/dist/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 +56 -0
  406. package/dist/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.map +1 -0
  407. package/dist/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 +53 -0
  408. package/dist/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.map +1 -0
  409. package/dist/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/ComposerCancel.cjs +23 -0
  410. package/dist/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/ComposerCancel.cjs.map +1 -0
  411. package/dist/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/ComposerCancel.js +21 -0
  412. package/dist/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/ComposerCancel.js.map +1 -0
  413. package/dist/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/ComposerInput.cjs +118 -0
  414. package/dist/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/ComposerInput.cjs.map +1 -0
  415. package/dist/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/ComposerInput.js +116 -0
  416. package/dist/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/ComposerInput.js.map +1 -0
  417. package/dist/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/ComposerRoot.cjs +28 -0
  418. package/dist/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/ComposerRoot.cjs.map +1 -0
  419. package/dist/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/ComposerRoot.js +26 -0
  420. package/dist/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/ComposerRoot.js.map +1 -0
  421. package/dist/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/ComposerSend.cjs +26 -0
  422. package/dist/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/ComposerSend.cjs.map +1 -0
  423. package/dist/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/ComposerSend.js +23 -0
  424. package/dist/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/ComposerSend.js.map +1 -0
  425. package/dist/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/error/ErrorMessage.cjs +18 -0
  426. package/dist/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/error/ErrorMessage.cjs.map +1 -0
  427. package/dist/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/error/ErrorMessage.js +16 -0
  428. package/dist/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/error/ErrorMessage.js.map +1 -0
  429. package/dist/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/error/ErrorRoot.cjs +13 -0
  430. package/dist/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/error/ErrorRoot.cjs.map +1 -0
  431. package/dist/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/error/ErrorRoot.js +11 -0
  432. package/dist/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/error/ErrorRoot.js.map +1 -0
  433. package/dist/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 +57 -0
  434. package/dist/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.map +1 -0
  435. package/dist/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 +54 -0
  436. package/dist/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.map +1 -0
  437. package/dist/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/MessageError.cjs +15 -0
  438. package/dist/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/MessageError.cjs.map +1 -0
  439. package/dist/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/MessageError.js +13 -0
  440. package/dist/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/MessageError.js.map +1 -0
  441. package/dist/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/MessageIf.cjs +48 -0
  442. package/dist/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/MessageIf.cjs.map +1 -0
  443. package/dist/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/MessageIf.js +46 -0
  444. package/dist/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/MessageIf.js.map +1 -0
  445. package/dist/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/MessageParts.cjs +253 -0
  446. package/dist/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/MessageParts.cjs.map +1 -0
  447. package/dist/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/MessageParts.js +250 -0
  448. package/dist/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/MessageParts.js.map +1 -0
  449. package/dist/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/MessageRoot.cjs +43 -0
  450. package/dist/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/MessageRoot.cjs.map +1 -0
  451. package/dist/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/MessageRoot.js +41 -0
  452. package/dist/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/MessageRoot.js.map +1 -0
  453. package/dist/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/MessagePartImage.cjs +15 -0
  454. package/dist/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/MessagePartImage.cjs.map +1 -0
  455. package/dist/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/MessagePartImage.js +13 -0
  456. package/dist/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/MessagePartImage.js.map +1 -0
  457. package/dist/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/MessagePartInProgress.cjs +14 -0
  458. package/dist/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/MessagePartInProgress.cjs.map +1 -0
  459. package/dist/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/MessagePartInProgress.js +12 -0
  460. package/dist/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/MessagePartInProgress.js.map +1 -0
  461. package/dist/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/MessagePartText.cjs +15 -0
  462. package/dist/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/MessagePartText.cjs.map +1 -0
  463. package/dist/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/MessagePartText.js +13 -0
  464. package/dist/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/MessagePartText.js.map +1 -0
  465. package/dist/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/useMessagePartImage.cjs +17 -0
  466. package/dist/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/useMessagePartImage.cjs.map +1 -0
  467. package/dist/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/useMessagePartImage.js +15 -0
  468. package/dist/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/useMessagePartImage.js.map +1 -0
  469. package/dist/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 +17 -0
  470. package/dist/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.map +1 -0
  471. package/dist/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.js +15 -0
  472. package/dist/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.js.map +1 -0
  473. package/dist/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 +21 -0
  474. package/dist/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.map +1 -0
  475. package/dist/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.js +19 -0
  476. package/dist/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.js.map +1 -0
  477. package/dist/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/reasoning/useScrollLock.cjs +49 -0
  478. package/dist/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/reasoning/useScrollLock.cjs.map +1 -0
  479. package/dist/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/reasoning/useScrollLock.js +47 -0
  480. package/dist/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/reasoning/useScrollLock.js.map +1 -0
  481. package/dist/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/thread/ThreadIf.cjs +27 -0
  482. package/dist/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/thread/ThreadIf.cjs.map +1 -0
  483. package/dist/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/thread/ThreadIf.js +25 -0
  484. package/dist/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/thread/ThreadIf.js.map +1 -0
  485. package/dist/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/thread/ThreadMessages.cjs +82 -0
  486. package/dist/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/thread/ThreadMessages.cjs.map +1 -0
  487. package/dist/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/thread/ThreadMessages.js +78 -0
  488. package/dist/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/thread/ThreadMessages.js.map +1 -0
  489. package/dist/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/thread/ThreadRoot.cjs +13 -0
  490. package/dist/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/thread/ThreadRoot.cjs.map +1 -0
  491. package/dist/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/thread/ThreadRoot.js +11 -0
  492. package/dist/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/thread/ThreadRoot.js.map +1 -0
  493. package/dist/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/thread/ThreadScrollToBottom.cjs +22 -0
  494. package/dist/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/thread/ThreadScrollToBottom.cjs.map +1 -0
  495. package/dist/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/thread/ThreadScrollToBottom.js +20 -0
  496. package/dist/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/thread/ThreadScrollToBottom.js.map +1 -0
  497. package/dist/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/thread/ThreadViewport.cjs +24 -0
  498. package/dist/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/thread/ThreadViewport.cjs.map +1 -0
  499. package/dist/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/thread/ThreadViewport.js +22 -0
  500. package/dist/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/thread/ThreadViewport.js.map +1 -0
  501. package/dist/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/thread/useThreadViewportAutoScroll.cjs +66 -0
  502. package/dist/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/thread/useThreadViewportAutoScroll.cjs.map +1 -0
  503. package/dist/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/thread/useThreadViewportAutoScroll.js +64 -0
  504. package/dist/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/thread/useThreadViewportAutoScroll.js.map +1 -0
  505. package/dist/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/types/EventTypes.cjs +23 -0
  506. package/dist/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/types/EventTypes.cjs.map +1 -0
  507. package/dist/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/types/EventTypes.js +20 -0
  508. package/dist/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/types/EventTypes.js.map +1 -0
  509. package/dist/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/utils/CompositeContextProvider.cjs +34 -0
  510. package/dist/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/utils/CompositeContextProvider.cjs.map +1 -0
  511. package/dist/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/utils/CompositeContextProvider.js +32 -0
  512. package/dist/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/utils/CompositeContextProvider.js.map +1 -0
  513. package/dist/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/utils/createActionButton.cjs +37 -0
  514. package/dist/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/utils/createActionButton.cjs.map +1 -0
  515. package/dist/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/utils/createActionButton.js +35 -0
  516. package/dist/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/utils/createActionButton.js.map +1 -0
  517. package/dist/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/utils/getThreadMessageText.cjs +12 -0
  518. package/dist/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/utils/getThreadMessageText.cjs.map +1 -0
  519. package/dist/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/utils/getThreadMessageText.js +10 -0
  520. package/dist/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/utils/getThreadMessageText.js.map +1 -0
  521. package/dist/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/utils/hooks/useManagedRef.cjs +23 -0
  522. package/dist/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/utils/hooks/useManagedRef.cjs.map +1 -0
  523. package/dist/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/utils/hooks/useManagedRef.js +21 -0
  524. package/dist/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/utils/hooks/useManagedRef.js.map +1 -0
  525. package/dist/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/utils/hooks/useOnResizeContent.cjs +36 -0
  526. package/dist/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/utils/hooks/useOnResizeContent.cjs.map +1 -0
  527. package/dist/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/utils/hooks/useOnResizeContent.js +34 -0
  528. package/dist/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/utils/hooks/useOnResizeContent.js.map +1 -0
  529. package/dist/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/utils/hooks/useOnScrollToBottom.cjs +16 -0
  530. package/dist/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/utils/hooks/useOnScrollToBottom.cjs.map +1 -0
  531. package/dist/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/utils/hooks/useOnScrollToBottom.js +14 -0
  532. package/dist/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/utils/hooks/useOnScrollToBottom.js.map +1 -0
  533. package/dist/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/utils/idUtils.cjs +15 -0
  534. package/dist/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/utils/idUtils.cjs.map +1 -0
  535. package/dist/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/utils/idUtils.js +12 -0
  536. package/dist/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/utils/idUtils.js.map +1 -0
  537. package/dist/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/utils/smooth/SmoothContext.cjs +47 -0
  538. package/dist/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/utils/smooth/SmoothContext.cjs.map +1 -0
  539. package/dist/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/utils/smooth/SmoothContext.js +42 -0
  540. package/dist/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/utils/smooth/SmoothContext.js.map +1 -0
  541. package/dist/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/utils/smooth/useSmooth.cjs +110 -0
  542. package/dist/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/utils/smooth/useSmooth.cjs.map +1 -0
  543. package/dist/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/utils/smooth/useSmooth.js +108 -0
  544. package/dist/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/utils/smooth/useSmooth.js.map +1 -0
  545. package/dist/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/utils/tap-store/derived-scopes.cjs +73 -0
  546. package/dist/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/utils/tap-store/derived-scopes.cjs.map +1 -0
  547. package/dist/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/utils/tap-store/derived-scopes.js +70 -0
  548. package/dist/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/utils/tap-store/derived-scopes.js.map +1 -0
  549. package/dist/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/utils/tap-store/store.cjs +23 -0
  550. package/dist/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/utils/tap-store/store.cjs.map +1 -0
  551. package/dist/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/utils/tap-store/store.js +21 -0
  552. package/dist/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/utils/tap-store/store.js.map +1 -0
  553. package/dist/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/utils/tap-store/tap-api.cjs +56 -0
  554. package/dist/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/utils/tap-store/tap-api.cjs.map +1 -0
  555. package/dist/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/utils/tap-store/tap-api.js +54 -0
  556. package/dist/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/utils/tap-store/tap-api.js.map +1 -0
  557. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqueId.cjs +31 -0
  558. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqueId.cjs.map +1 -0
  559. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqueId.js +29 -0
  560. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqueId.js.map +1 -0
  561. package/dist/packages/core/dist/index.cjs +1 -8
  562. package/dist/packages/core/dist/index.cjs.map +1 -1
  563. package/dist/packages/core/dist/index.js +1 -8
  564. package/dist/packages/core/dist/index.js.map +1 -1
  565. package/dist/utils/convertToAssistantMessage.cjs +43 -16
  566. package/dist/utils/convertToAssistantMessage.cjs.map +1 -1
  567. package/dist/utils/convertToAssistantMessage.d.ts.map +1 -1
  568. package/dist/utils/convertToAssistantMessage.js +43 -16
  569. package/dist/utils/convertToAssistantMessage.js.map +1 -1
  570. package/package.json +1 -1
@@ -5,6 +5,7 @@ var without = require('../node_modules/.pnpm/lodash-es@4.17.21/node_modules/loda
5
5
  var uniq = require('../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniq.cjs');
6
6
  var compact = require('../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/compact.cjs');
7
7
  var last = require('../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/last.cjs');
8
+ var uniqueId = require('../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqueId.cjs');
8
9
  var keys = require('../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.cjs');
9
10
 
10
11
  const convertToAssistantMessage = (messages, options = {
@@ -29,6 +30,7 @@ const convertToAssistantMessage = (messages, options = {
29
30
  };
30
31
  const reasoningParts = [];
31
32
  const authorFirstMessage = new Set();
33
+ const attaches = [];
32
34
  const content = [...cur.content]
33
35
  .sort((a, b) => {
34
36
  const aAuthor = a.author;
@@ -48,6 +50,28 @@ const convertToAssistantMessage = (messages, options = {
48
50
  authorFirstMessage.add(author);
49
51
  }
50
52
  if (part.type === 'text') {
53
+ try {
54
+ const text = part.text;
55
+ if (text?.[0] === '[' &&
56
+ text?.[text.length - 1] === ']' &&
57
+ cur.role === 'user') {
58
+ const files = text.slice(1, -1).split(',');
59
+ files.forEach(file => {
60
+ attaches.push({
61
+ id: uniqueId(),
62
+ type: 'file',
63
+ status: {
64
+ type: 'complete',
65
+ },
66
+ contentType: 'plain/text',
67
+ name: file,
68
+ content: [],
69
+ });
70
+ });
71
+ return acc;
72
+ }
73
+ }
74
+ catch (e) { }
51
75
  if (lastPart &&
52
76
  lastPart.type === 'text' &&
53
77
  lastPart.author === author) {
@@ -80,7 +104,7 @@ const convertToAssistantMessage = (messages, options = {
80
104
  }
81
105
  }
82
106
  else if (part.type === 'image') {
83
- acc.push({
107
+ attaches.push({
84
108
  type: part.type,
85
109
  image: part.imageUrl.url,
86
110
  ...(authors.length > 2 && { showAvatar, marginLeft }),
@@ -90,12 +114,12 @@ const convertToAssistantMessage = (messages, options = {
90
114
  const data = part.fileUrl ||
91
115
  `data:${part.mimeType};base64,${part.fileData}` ||
92
116
  '';
93
- acc.push({
117
+ attaches.push({
94
118
  type: part.type,
95
119
  data,
96
120
  filename: part.name,
97
121
  mimeType: part.mimeType,
98
- ...(authors.length > 2 && { showAvatar, marginLeft }),
122
+ // ...(authors.length > 2 && { showAvatar, marginLeft }),
99
123
  });
100
124
  }
101
125
  else if (part.type === 'tool_call') {
@@ -153,19 +177,22 @@ const convertToAssistantMessage = (messages, options = {
153
177
  id: cur.id,
154
178
  role: cur.role,
155
179
  status,
156
- attachments: cur.attaches?.map(item => ({
157
- status: { type: 'complete' },
158
- id: item.id,
159
- name: item.id,
160
- type: 'image',
161
- contentType: item.mimeType,
162
- content: [
163
- {
164
- type: 'image',
165
- image: item.url,
166
- },
167
- ],
168
- })),
180
+ attachments: [
181
+ ...(cur.attaches?.map(item => ({
182
+ status: { type: 'complete' },
183
+ id: item.id,
184
+ name: item.id,
185
+ type: 'file',
186
+ contentType: item.mimeType,
187
+ content: [
188
+ {
189
+ type: item.type,
190
+ image: item.url,
191
+ },
192
+ ],
193
+ })) || []),
194
+ ...attaches,
195
+ ],
169
196
  content: compact([
170
197
  ...reasoningParts,
171
198
  cur.role === 'assistant' &&
@@ -1 +1 @@
1
- {"version":3,"file":"convertToAssistantMessage.cjs","sources":["../../src/utils/convertToAssistantMessage.ts"],"sourcesContent":["import {\n MessageStatus,\n ReasoningMessagePart,\n ThreadAssistantMessagePart,\n ThreadMessageLike,\n ToolCallMessagePart,\n} from '@assistant-ui/react';\nimport {\n ChatMessage,\n MessageStatus as MessageStatusEnum,\n} from '@chat-lab/core';\nimport { compact, keys, last, uniq, without } from 'lodash-es';\ntype Mutable<T> = {\n -readonly [K in keyof T]: T[K]; // -readonly 表示移除 readonly 修饰符\n};\n\nconst convertToAssistantMessage = (\n messages: Readonly<ChatMessage>[],\n options: { toolDisplay?: 'group' | 'none' | 'step' } = {\n toolDisplay: 'group',\n },\n) => {\n const authors = without(\n uniq(\n messages\n .map(message =>\n compact(\n message.content.map(\n part => part.type === 'text' && (part as any)?.author,\n ),\n ),\n )\n .flat(),\n ),\n 'user',\n );\n\n const uiMessages = messages.map<ThreadMessageLike>(cur => {\n let status: MessageStatus | undefined = undefined;\n if (cur.role === 'assistant') {\n status = ![MessageStatusEnum.PENDING, MessageStatusEnum.SENDING].includes(\n cur.status,\n )\n ? { type: 'complete', reason: 'stop' }\n : { type: 'running' };\n }\n\n const toolGroup: ToolCallMessagePart<Record<string, any>, null> = {\n type: 'tool-call',\n toolCallId: `tool-group-${cur.id}`,\n toolName: 'tool-group',\n args: {},\n argsText: JSON.stringify({}),\n };\n\n const reasoningParts: (Mutable<ReasoningMessagePart> & {\n author: string;\n authorIdx: number;\n })[] = [];\n\n const authorFirstMessage = new Set();\n const content = [...cur.content]\n .sort((a, b) => {\n const aAuthor = (a as any).author;\n const bAuthor = (b as any).author;\n if (aAuthor && bAuthor) {\n return authors.indexOf(aAuthor) - authors.indexOf(bAuthor);\n }\n return 0;\n })\n .reduce((acc, part, index) => {\n const lastPart = last(acc);\n const author = (part as any).author;\n const authorIdx = authors.indexOf(author);\n const showAvatar =\n authors.length >= 2 && !authorFirstMessage.has(author);\n const marginLeft =\n authors.length >= 2 && authorFirstMessage.has(author);\n\n if (author && showAvatar) {\n authorFirstMessage.add(author);\n }\n\n if (part.type === 'text') {\n if (\n lastPart &&\n lastPart.type === 'text' &&\n (lastPart as any).author === author\n ) {\n lastPart.text += '\\n' + part.text;\n } else {\n acc.push({\n type: part.type,\n text: part.text,\n author,\n authorIdx,\n ...(authors.length >= 2 && { showAvatar, marginLeft }),\n });\n }\n } else if (part.type === 'reasoning') {\n const lastReasoningPart = last(reasoningParts);\n if (\n lastReasoningPart &&\n (lastReasoningPart as any).author === author\n ) {\n lastReasoningPart.text += part.text;\n } else {\n reasoningParts.push({\n type: 'reasoning',\n text: part.text,\n author,\n authorIdx,\n ...(authors.length > 2 && { showAvatar, marginLeft }),\n });\n }\n } else if (part.type === 'image') {\n acc.push({\n type: part.type,\n image: part.imageUrl.url,\n ...(authors.length > 2 && { showAvatar, marginLeft }),\n });\n } else if (part.type === 'file') {\n const data =\n part.fileUrl ||\n `data:${part.mimeType};base64,${part.fileData}` ||\n '';\n acc.push({\n type: part.type,\n data,\n filename: part.name,\n mimeType: part.mimeType,\n ...(authors.length > 2 && { showAvatar, marginLeft }),\n });\n } else if (part.type === 'tool_call') {\n if (options.toolDisplay === 'group') {\n toolGroup.args[part.toolCallId] = {\n type: 'tool-call',\n index,\n toolCallId: part.toolCallId,\n toolName: part.toolCallName,\n args: part.toolCallArgs as Record<string, string>,\n argsText: JSON.stringify(part.toolCallArgs),\n result: part.content,\n author,\n authorIdx,\n ...(authors.length >= 2 && { showAvatar, marginLeft }),\n };\n } else if (options.toolDisplay === 'step') {\n acc.push({\n type: 'tool-call',\n toolCallId: part.toolCallId,\n toolName: part.toolCallName,\n args: part.toolCallArgs as Record<string, string>,\n argsText: JSON.stringify(part.toolCallArgs),\n result: part.content,\n author,\n authorIdx,\n ...(authors.length >= 2 && { showAvatar, marginLeft }),\n });\n }\n }\n return acc;\n }, [] as any[]);\n\n if (cur.status === MessageStatusEnum.ERROR || cur.error) {\n return {\n id: cur.id,\n role: cur.role,\n status: {\n type: 'incomplete',\n reason: 'error',\n error:\n (cur.error as { message: string }).message || (cur.error as any),\n },\n content: compact([\n cur.role === 'assistant' &&\n options.toolDisplay === 'group' &&\n keys(toolGroup.args).length > 0\n ? toolGroup\n : undefined,\n ...(content as ThreadAssistantMessagePart[]),\n ]),\n metadata: cur.metadata,\n };\n }\n\n const uiMessage: Mutable<\n Omit<ThreadMessageLike, 'content'> & {\n content: Exclude<ThreadMessageLike['content'], string>;\n }\n > = {\n id: cur.id,\n role: cur.role,\n status,\n attachments: cur.attaches?.map(item => ({\n status: { type: 'complete' },\n id: item.id,\n name: item.id,\n type: 'image',\n contentType: item.mimeType,\n content: [\n {\n type: 'image',\n image: item.url,\n },\n ],\n })),\n content: compact([\n ...reasoningParts,\n cur.role === 'assistant' &&\n options.toolDisplay === 'group' &&\n keys(toolGroup.args).length > 0\n ? toolGroup\n : undefined,\n ...(content as ThreadAssistantMessagePart[]),\n ]),\n metadata: {\n ...cur.metadata,\n invocationIds:\n keys(toolGroup.args).length > 0 ? keys(toolGroup.args) : undefined,\n } as any,\n };\n return uiMessage;\n });\n\n return { uiMessages, authors };\n};\n\nexport default convertToAssistantMessage;\n"],"names":["MessageStatusEnum"],"mappings":";;;;;;;;;AAgBA,MAAM,yBAAyB,GAAG,CAChC,QAAiC,EACjC,OAAuD,GAAA;AACrD,IAAA,WAA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AAChB,qBAAA;AACF,iBAAA;AACF,aAAA,CAAC,CAAC;YACH,OAAO,EAAE,OAAO,CAAC;AACf,gBAAA,GAAG,cAAc;gBACjB,GAAG,CAAC,IAAI,KAAK,WAAW;oBACxB,OAAO,CAAC,WAAW,KAAK,OAAO;oBAC/B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC;AAC7B,sBAAE,SAAS;AACX,sBAAE,SAAS;AACb,gBAAA,GAAI,OAAwC;aAC7C,CAAC;AACF,YAAA,QAAQ,EAAE;gBACR,GAAG,GAAG,CAAC,QAAQ;gBACf,aAAa,EACX,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,SAAS;AAC9D,aAAA;SACT,CAAC;AACF,QAAA,OAAO,SAAS,CAAC;AACnB,KAAC,CAAC,CAAC;AAEH,IAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC;AACjC;;;;"}
1
+ {"version":3,"file":"convertToAssistantMessage.cjs","sources":["../../src/utils/convertToAssistantMessage.ts"],"sourcesContent":["import {\n CompleteAttachment,\n MessageStatus,\n ReasoningMessagePart,\n ThreadAssistantMessagePart,\n ThreadMessageLike,\n ToolCallMessagePart,\n} from '@assistant-ui/react';\nimport {\n ChatMessage,\n MessageStatus as MessageStatusEnum,\n} from '@chat-lab/core';\nimport { compact, keys, last, uniq, uniqueId, without } from 'lodash-es';\ntype Mutable<T> = {\n -readonly [K in keyof T]: T[K]; // -readonly 表示移除 readonly 修饰符\n};\n\nconst convertToAssistantMessage = (\n messages: Readonly<ChatMessage>[],\n options: { toolDisplay?: 'group' | 'none' | 'step' } = {\n toolDisplay: 'group',\n },\n) => {\n const authors = without(\n uniq(\n messages\n .map(message =>\n compact(\n message.content.map(\n part => part.type === 'text' && (part as any)?.author,\n ),\n ),\n )\n .flat(),\n ),\n 'user',\n );\n\n const uiMessages = messages.map<ThreadMessageLike>(cur => {\n let status: MessageStatus | undefined = undefined;\n if (cur.role === 'assistant') {\n status = ![MessageStatusEnum.PENDING, MessageStatusEnum.SENDING].includes(\n cur.status,\n )\n ? { type: 'complete', reason: 'stop' }\n : { type: 'running' };\n }\n\n const toolGroup: ToolCallMessagePart<Record<string, any>, null> = {\n type: 'tool-call',\n toolCallId: `tool-group-${cur.id}`,\n toolName: 'tool-group',\n args: {},\n argsText: JSON.stringify({}),\n };\n\n const reasoningParts: (Mutable<ReasoningMessagePart> & {\n author: string;\n authorIdx: number;\n })[] = [];\n\n const authorFirstMessage = new Set();\n\n const attaches: CompleteAttachment[] = [];\n const content = [...cur.content]\n .sort((a, b) => {\n const aAuthor = (a as any).author;\n const bAuthor = (b as any).author;\n if (aAuthor && bAuthor) {\n return authors.indexOf(aAuthor) - authors.indexOf(bAuthor);\n }\n return 0;\n })\n .reduce((acc, part, index) => {\n const lastPart = last(acc);\n const author = (part as any).author;\n const authorIdx = authors.indexOf(author);\n const showAvatar =\n authors.length >= 2 && !authorFirstMessage.has(author);\n const marginLeft =\n authors.length >= 2 && authorFirstMessage.has(author);\n\n if (author && showAvatar) {\n authorFirstMessage.add(author);\n }\n\n if (part.type === 'text') {\n try {\n const text = part.text;\n if (\n text?.[0] === '[' &&\n text?.[text.length - 1] === ']' &&\n cur.role === 'user'\n ) {\n const files = text.slice(1, -1).split(',');\n files.forEach(file => {\n attaches.push({\n id: uniqueId(),\n type: 'file',\n status: {\n type: 'complete',\n },\n contentType: 'plain/text',\n name: file,\n content: [],\n });\n });\n\n return acc;\n }\n } catch (e) {}\n if (\n lastPart &&\n lastPart.type === 'text' &&\n (lastPart as any).author === author\n ) {\n lastPart.text += '\\n' + part.text;\n } else {\n acc.push({\n type: part.type,\n text: part.text,\n author,\n authorIdx,\n ...(authors.length >= 2 && { showAvatar, marginLeft }),\n });\n }\n } else if (part.type === 'reasoning') {\n const lastReasoningPart = last(reasoningParts);\n if (\n lastReasoningPart &&\n (lastReasoningPart as any).author === author\n ) {\n lastReasoningPart.text += part.text;\n } else {\n reasoningParts.push({\n type: 'reasoning',\n text: part.text,\n author,\n authorIdx,\n ...(authors.length > 2 && { showAvatar, marginLeft }),\n });\n }\n } else if (part.type === 'image') {\n attaches.push({\n type: part.type,\n image: part.imageUrl.url,\n ...(authors.length > 2 && { showAvatar, marginLeft }),\n });\n } else if (part.type === 'file') {\n const data =\n part.fileUrl ||\n `data:${part.mimeType};base64,${part.fileData}` ||\n '';\n attaches.push({\n type: part.type,\n data,\n filename: part.name,\n mimeType: part.mimeType,\n // ...(authors.length > 2 && { showAvatar, marginLeft }),\n });\n } else if (part.type === 'tool_call') {\n if (options.toolDisplay === 'group') {\n toolGroup.args[part.toolCallId] = {\n type: 'tool-call',\n index,\n toolCallId: part.toolCallId,\n toolName: part.toolCallName,\n args: part.toolCallArgs as Record<string, string>,\n argsText: JSON.stringify(part.toolCallArgs),\n result: part.content,\n author,\n authorIdx,\n ...(authors.length >= 2 && { showAvatar, marginLeft }),\n };\n } else if (options.toolDisplay === 'step') {\n acc.push({\n type: 'tool-call',\n toolCallId: part.toolCallId,\n toolName: part.toolCallName,\n args: part.toolCallArgs as Record<string, string>,\n argsText: JSON.stringify(part.toolCallArgs),\n result: part.content,\n author,\n authorIdx,\n ...(authors.length >= 2 && { showAvatar, marginLeft }),\n });\n }\n }\n return acc;\n }, [] as any[]);\n\n if (cur.status === MessageStatusEnum.ERROR || cur.error) {\n return {\n id: cur.id,\n role: cur.role,\n status: {\n type: 'incomplete',\n reason: 'error',\n error:\n (cur.error as { message: string }).message || (cur.error as any),\n },\n content: compact([\n cur.role === 'assistant' &&\n options.toolDisplay === 'group' &&\n keys(toolGroup.args).length > 0\n ? toolGroup\n : undefined,\n ...(content as ThreadAssistantMessagePart[]),\n ]),\n metadata: cur.metadata,\n };\n }\n\n const uiMessage: Mutable<\n Omit<ThreadMessageLike, 'content'> & {\n content: Exclude<ThreadMessageLike['content'], string>;\n }\n > = {\n id: cur.id,\n role: cur.role,\n status,\n attachments: [\n ...((cur.attaches?.map(item => ({\n status: { type: 'complete' },\n id: item.id,\n name: item.id,\n type: 'file',\n contentType: item.mimeType,\n content: [\n {\n type: item.type,\n image: item.url,\n },\n ],\n })) || []) as CompleteAttachment[]),\n ...attaches,\n ],\n content: compact([\n ...reasoningParts,\n cur.role === 'assistant' &&\n options.toolDisplay === 'group' &&\n keys(toolGroup.args).length > 0\n ? toolGroup\n : undefined,\n ...(content as ThreadAssistantMessagePart[]),\n ]),\n metadata: {\n ...cur.metadata,\n invocationIds:\n keys(toolGroup.args).length > 0 ? keys(toolGroup.args) : undefined,\n } as any,\n };\n return uiMessage;\n });\n\n return { uiMessages, authors };\n};\n\nexport default convertToAssistantMessage;\n"],"names":["MessageStatusEnum"],"mappings":";;;;;;;;;;AAiBA,MAAM,yBAAyB,GAAG,CAChC,QAAiC,EACjC,OAAuD,GAAA;AACrD,IAAA,WAAW,EAAE,OAAO;AACrB,CAAA,KACC;AACF,IAAA,MAAM,OAAO,GAAG,OAAO,CACrB,IAAI,CACF,QAAQ;AACL,SAAA,GAAG,CAAC,OAAO,IACV,OAAO,CACL,OAAO,CAAC,OAAO,CAAC,GAAG,CACjB,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM,IAAK,IAAY,EAAE,MAAM,CACtD,CACF,CACF;AACA,SAAA,IAAI,EAAE,CACV,EACD,MAAM,CACP,CAAC;IAEF,MAAM,UAAU,GAAG,QAAQ,CAAC,GAAG,CAAoB,GAAG,IAAG;QACvD,IAAI,MAAM,GAA8B,SAAS,CAAC;AAClD,QAAA,IAAI,GAAG,CAAC,IAAI,KAAK,WAAW,EAAE;AAC5B,YAAA,MAAM,GAAG,CAAC,CAACA,mBAAiB,CAAC,OAAO,EAAEA,mBAAiB,CAAC,OAAO,CAAC,CAAC,QAAQ,CACvE,GAAG,CAAC,MAAM,CACX;kBACG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE;AACtC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AC"}
1
+ {"version":3,"file":"convertToAssistantMessage.d.ts","sourceRoot":"","sources":["../../src/utils/convertToAssistantMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,iBAAiB,EAElB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,WAAW,EAEZ,MAAM,gBAAgB,CAAC;AAMxB,QAAA,MAAM,yBAAyB,GAC7B,UAAU,QAAQ,CAAC,WAAW,CAAC,EAAE,EACjC,UAAS;IAAE,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;CAEjD;;;CA2OF,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -3,6 +3,7 @@ import without from '../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash
3
3
  import uniq from '../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniq.js';
4
4
  import compact from '../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/compact.js';
5
5
  import last from '../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/last.js';
6
+ import uniqueId from '../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqueId.js';
6
7
  import keys from '../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.js';
7
8
 
8
9
  const convertToAssistantMessage = (messages, options = {
@@ -27,6 +28,7 @@ const convertToAssistantMessage = (messages, options = {
27
28
  };
28
29
  const reasoningParts = [];
29
30
  const authorFirstMessage = new Set();
31
+ const attaches = [];
30
32
  const content = [...cur.content]
31
33
  .sort((a, b) => {
32
34
  const aAuthor = a.author;
@@ -46,6 +48,28 @@ const convertToAssistantMessage = (messages, options = {
46
48
  authorFirstMessage.add(author);
47
49
  }
48
50
  if (part.type === 'text') {
51
+ try {
52
+ const text = part.text;
53
+ if (text?.[0] === '[' &&
54
+ text?.[text.length - 1] === ']' &&
55
+ cur.role === 'user') {
56
+ const files = text.slice(1, -1).split(',');
57
+ files.forEach(file => {
58
+ attaches.push({
59
+ id: uniqueId(),
60
+ type: 'file',
61
+ status: {
62
+ type: 'complete',
63
+ },
64
+ contentType: 'plain/text',
65
+ name: file,
66
+ content: [],
67
+ });
68
+ });
69
+ return acc;
70
+ }
71
+ }
72
+ catch (e) { }
49
73
  if (lastPart &&
50
74
  lastPart.type === 'text' &&
51
75
  lastPart.author === author) {
@@ -78,7 +102,7 @@ const convertToAssistantMessage = (messages, options = {
78
102
  }
79
103
  }
80
104
  else if (part.type === 'image') {
81
- acc.push({
105
+ attaches.push({
82
106
  type: part.type,
83
107
  image: part.imageUrl.url,
84
108
  ...(authors.length > 2 && { showAvatar, marginLeft }),
@@ -88,12 +112,12 @@ const convertToAssistantMessage = (messages, options = {
88
112
  const data = part.fileUrl ||
89
113
  `data:${part.mimeType};base64,${part.fileData}` ||
90
114
  '';
91
- acc.push({
115
+ attaches.push({
92
116
  type: part.type,
93
117
  data,
94
118
  filename: part.name,
95
119
  mimeType: part.mimeType,
96
- ...(authors.length > 2 && { showAvatar, marginLeft }),
120
+ // ...(authors.length > 2 && { showAvatar, marginLeft }),
97
121
  });
98
122
  }
99
123
  else if (part.type === 'tool_call') {
@@ -151,19 +175,22 @@ const convertToAssistantMessage = (messages, options = {
151
175
  id: cur.id,
152
176
  role: cur.role,
153
177
  status,
154
- attachments: cur.attaches?.map(item => ({
155
- status: { type: 'complete' },
156
- id: item.id,
157
- name: item.id,
158
- type: 'image',
159
- contentType: item.mimeType,
160
- content: [
161
- {
162
- type: 'image',
163
- image: item.url,
164
- },
165
- ],
166
- })),
178
+ attachments: [
179
+ ...(cur.attaches?.map(item => ({
180
+ status: { type: 'complete' },
181
+ id: item.id,
182
+ name: item.id,
183
+ type: 'file',
184
+ contentType: item.mimeType,
185
+ content: [
186
+ {
187
+ type: item.type,
188
+ image: item.url,
189
+ },
190
+ ],
191
+ })) || []),
192
+ ...attaches,
193
+ ],
167
194
  content: compact([
168
195
  ...reasoningParts,
169
196
  cur.role === 'assistant' &&
@@ -1 +1 @@
1
- {"version":3,"file":"convertToAssistantMessage.js","sources":["../../src/utils/convertToAssistantMessage.ts"],"sourcesContent":["import {\n MessageStatus,\n ReasoningMessagePart,\n ThreadAssistantMessagePart,\n ThreadMessageLike,\n ToolCallMessagePart,\n} from '@assistant-ui/react';\nimport {\n ChatMessage,\n MessageStatus as MessageStatusEnum,\n} from '@chat-lab/core';\nimport { compact, keys, last, uniq, without } from 'lodash-es';\ntype Mutable<T> = {\n -readonly [K in keyof T]: T[K]; // -readonly 表示移除 readonly 修饰符\n};\n\nconst convertToAssistantMessage = (\n messages: Readonly<ChatMessage>[],\n options: { toolDisplay?: 'group' | 'none' | 'step' } = {\n toolDisplay: 'group',\n },\n) => {\n const authors = without(\n uniq(\n messages\n .map(message =>\n compact(\n message.content.map(\n part => part.type === 'text' && (part as any)?.author,\n ),\n ),\n )\n .flat(),\n ),\n 'user',\n );\n\n const uiMessages = messages.map<ThreadMessageLike>(cur => {\n let status: MessageStatus | undefined = undefined;\n if (cur.role === 'assistant') {\n status = ![MessageStatusEnum.PENDING, MessageStatusEnum.SENDING].includes(\n cur.status,\n )\n ? { type: 'complete', reason: 'stop' }\n : { type: 'running' };\n }\n\n const toolGroup: ToolCallMessagePart<Record<string, any>, null> = {\n type: 'tool-call',\n toolCallId: `tool-group-${cur.id}`,\n toolName: 'tool-group',\n args: {},\n argsText: JSON.stringify({}),\n };\n\n const reasoningParts: (Mutable<ReasoningMessagePart> & {\n author: string;\n authorIdx: number;\n })[] = [];\n\n const authorFirstMessage = new Set();\n const content = [...cur.content]\n .sort((a, b) => {\n const aAuthor = (a as any).author;\n const bAuthor = (b as any).author;\n if (aAuthor && bAuthor) {\n return authors.indexOf(aAuthor) - authors.indexOf(bAuthor);\n }\n return 0;\n })\n .reduce((acc, part, index) => {\n const lastPart = last(acc);\n const author = (part as any).author;\n const authorIdx = authors.indexOf(author);\n const showAvatar =\n authors.length >= 2 && !authorFirstMessage.has(author);\n const marginLeft =\n authors.length >= 2 && authorFirstMessage.has(author);\n\n if (author && showAvatar) {\n authorFirstMessage.add(author);\n }\n\n if (part.type === 'text') {\n if (\n lastPart &&\n lastPart.type === 'text' &&\n (lastPart as any).author === author\n ) {\n lastPart.text += '\\n' + part.text;\n } else {\n acc.push({\n type: part.type,\n text: part.text,\n author,\n authorIdx,\n ...(authors.length >= 2 && { showAvatar, marginLeft }),\n });\n }\n } else if (part.type === 'reasoning') {\n const lastReasoningPart = last(reasoningParts);\n if (\n lastReasoningPart &&\n (lastReasoningPart as any).author === author\n ) {\n lastReasoningPart.text += part.text;\n } else {\n reasoningParts.push({\n type: 'reasoning',\n text: part.text,\n author,\n authorIdx,\n ...(authors.length > 2 && { showAvatar, marginLeft }),\n });\n }\n } else if (part.type === 'image') {\n acc.push({\n type: part.type,\n image: part.imageUrl.url,\n ...(authors.length > 2 && { showAvatar, marginLeft }),\n });\n } else if (part.type === 'file') {\n const data =\n part.fileUrl ||\n `data:${part.mimeType};base64,${part.fileData}` ||\n '';\n acc.push({\n type: part.type,\n data,\n filename: part.name,\n mimeType: part.mimeType,\n ...(authors.length > 2 && { showAvatar, marginLeft }),\n });\n } else if (part.type === 'tool_call') {\n if (options.toolDisplay === 'group') {\n toolGroup.args[part.toolCallId] = {\n type: 'tool-call',\n index,\n toolCallId: part.toolCallId,\n toolName: part.toolCallName,\n args: part.toolCallArgs as Record<string, string>,\n argsText: JSON.stringify(part.toolCallArgs),\n result: part.content,\n author,\n authorIdx,\n ...(authors.length >= 2 && { showAvatar, marginLeft }),\n };\n } else if (options.toolDisplay === 'step') {\n acc.push({\n type: 'tool-call',\n toolCallId: part.toolCallId,\n toolName: part.toolCallName,\n args: part.toolCallArgs as Record<string, string>,\n argsText: JSON.stringify(part.toolCallArgs),\n result: part.content,\n author,\n authorIdx,\n ...(authors.length >= 2 && { showAvatar, marginLeft }),\n });\n }\n }\n return acc;\n }, [] as any[]);\n\n if (cur.status === MessageStatusEnum.ERROR || cur.error) {\n return {\n id: cur.id,\n role: cur.role,\n status: {\n type: 'incomplete',\n reason: 'error',\n error:\n (cur.error as { message: string }).message || (cur.error as any),\n },\n content: compact([\n cur.role === 'assistant' &&\n options.toolDisplay === 'group' &&\n keys(toolGroup.args).length > 0\n ? toolGroup\n : undefined,\n ...(content as ThreadAssistantMessagePart[]),\n ]),\n metadata: cur.metadata,\n };\n }\n\n const uiMessage: Mutable<\n Omit<ThreadMessageLike, 'content'> & {\n content: Exclude<ThreadMessageLike['content'], string>;\n }\n > = {\n id: cur.id,\n role: cur.role,\n status,\n attachments: cur.attaches?.map(item => ({\n status: { type: 'complete' },\n id: item.id,\n name: item.id,\n type: 'image',\n contentType: item.mimeType,\n content: [\n {\n type: 'image',\n image: item.url,\n },\n ],\n })),\n content: compact([\n ...reasoningParts,\n cur.role === 'assistant' &&\n options.toolDisplay === 'group' &&\n keys(toolGroup.args).length > 0\n ? toolGroup\n : undefined,\n ...(content as ThreadAssistantMessagePart[]),\n ]),\n metadata: {\n ...cur.metadata,\n invocationIds:\n keys(toolGroup.args).length > 0 ? keys(toolGroup.args) : undefined,\n } as any,\n };\n return uiMessage;\n });\n\n return { uiMessages, authors };\n};\n\nexport default convertToAssistantMessage;\n"],"names":["MessageStatusEnum"],"mappings":";;;;;;;AAgBA,MAAM,yBAAyB,GAAG,CAChC,QAAiC,EACjC,OAAuD,GAAA;AACrD,IAAA,WAAW,EAAE,OAAO;AACrB,CAAA,KACC;AACF,IAAA,MAAM,OAAO,GAAG,OAAO,CACrB,IAAI,CACF,QAAQ;AACL,SAAA,GAAG,CAAC,OAAO,IACV,OAAO,CACL,OAAO,CAAC,OAAO,CAAC,GAAG,CACjB,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM,IAAK,IAAY,EAAE,MAAM,CACtD,CACF,CACF;AACA,SAAA,IAAI,EAAE,CACV,EACD,MAAM,CACP,CAAC;IAEF,MAAM,UAAU,GAAG,QAAQ,CAAC,GAAG,CAAoB,GAAG,IAAG;QACvD,IAAI,MAAM,GAA8B,SAAS,CAAC;AAClD,QAAA,IA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AI,CAAC,CAAC,MAAM,GAAG,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,SAAS;AAC9D,aAAA;SACT,CAAC;AACF,QAAA,OAAO,SAAS,CAAC;AACnB,KAAC,CAAC,CAAC;AAEH,IAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC;AACjC;;;;"}
1
+ {"version":3,"file":"convertToAssistantMessage.js","sources":["../../src/utils/convertToAssistantMessage.ts"],"sourcesContent":["import {\n CompleteAttachment,\n MessageStatus,\n ReasoningMessagePart,\n ThreadAssistantMessagePart,\n ThreadMessageLike,\n ToolCallMessagePart,\n} from '@assistant-ui/react';\nimport {\n ChatMessage,\n MessageStatus as MessageStatusEnum,\n} from '@chat-lab/core';\nimport { compact, keys, last, uniq, uniqueId, without } from 'lodash-es';\ntype Mutable<T> = {\n -readonly [K in keyof T]: T[K]; // -readonly 表示移除 readonly 修饰符\n};\n\nconst convertToAssistantMessage = (\n messages: Readonly<ChatMessage>[],\n options: { toolDisplay?: 'group' | 'none' | 'step' } = {\n toolDisplay: 'group',\n },\n) => {\n const authors = without(\n uniq(\n messages\n .map(message =>\n compact(\n message.content.map(\n part => part.type === 'text' && (part as any)?.author,\n ),\n ),\n )\n .flat(),\n ),\n 'user',\n );\n\n const uiMessages = messages.map<ThreadMessageLike>(cur => {\n let status: MessageStatus | undefined = undefined;\n if (cur.role === 'assistant') {\n status = ![MessageStatusEnum.PENDING, MessageStatusEnum.SENDING].includes(\n cur.status,\n )\n ? { type: 'complete', reason: 'stop' }\n : { type: 'running' };\n }\n\n const toolGroup: ToolCallMessagePart<Record<string, any>, null> = {\n type: 'tool-call',\n toolCallId: `tool-group-${cur.id}`,\n toolName: 'tool-group',\n args: {},\n argsText: JSON.stringify({}),\n };\n\n const reasoningParts: (Mutable<ReasoningMessagePart> & {\n author: string;\n authorIdx: number;\n })[] = [];\n\n const authorFirstMessage = new Set();\n\n const attaches: CompleteAttachment[] = [];\n const content = [...cur.content]\n .sort((a, b) => {\n const aAuthor = (a as any).author;\n const bAuthor = (b as any).author;\n if (aAuthor && bAuthor) {\n return authors.indexOf(aAuthor) - authors.indexOf(bAuthor);\n }\n return 0;\n })\n .reduce((acc, part, index) => {\n const lastPart = last(acc);\n const author = (part as any).author;\n const authorIdx = authors.indexOf(author);\n const showAvatar =\n authors.length >= 2 && !authorFirstMessage.has(author);\n const marginLeft =\n authors.length >= 2 && authorFirstMessage.has(author);\n\n if (author && showAvatar) {\n authorFirstMessage.add(author);\n }\n\n if (part.type === 'text') {\n try {\n const text = part.text;\n if (\n text?.[0] === '[' &&\n text?.[text.length - 1] === ']' &&\n cur.role === 'user'\n ) {\n const files = text.slice(1, -1).split(',');\n files.forEach(file => {\n attaches.push({\n id: uniqueId(),\n type: 'file',\n status: {\n type: 'complete',\n },\n contentType: 'plain/text',\n name: file,\n content: [],\n });\n });\n\n return acc;\n }\n } catch (e) {}\n if (\n lastPart &&\n lastPart.type === 'text' &&\n (lastPart as any).author === author\n ) {\n lastPart.text += '\\n' + part.text;\n } else {\n acc.push({\n type: part.type,\n text: part.text,\n author,\n authorIdx,\n ...(authors.length >= 2 && { showAvatar, marginLeft }),\n });\n }\n } else if (part.type === 'reasoning') {\n const lastReasoningPart = last(reasoningParts);\n if (\n lastReasoningPart &&\n (lastReasoningPart as any).author === author\n ) {\n lastReasoningPart.text += part.text;\n } else {\n reasoningParts.push({\n type: 'reasoning',\n text: part.text,\n author,\n authorIdx,\n ...(authors.length > 2 && { showAvatar, marginLeft }),\n });\n }\n } else if (part.type === 'image') {\n attaches.push({\n type: part.type,\n image: part.imageUrl.url,\n ...(authors.length > 2 && { showAvatar, marginLeft }),\n });\n } else if (part.type === 'file') {\n const data =\n part.fileUrl ||\n `data:${part.mimeType};base64,${part.fileData}` ||\n '';\n attaches.push({\n type: part.type,\n data,\n filename: part.name,\n mimeType: part.mimeType,\n // ...(authors.length > 2 && { showAvatar, marginLeft }),\n });\n } else if (part.type === 'tool_call') {\n if (options.toolDisplay === 'group') {\n toolGroup.args[part.toolCallId] = {\n type: 'tool-call',\n index,\n toolCallId: part.toolCallId,\n toolName: part.toolCallName,\n args: part.toolCallArgs as Record<string, string>,\n argsText: JSON.stringify(part.toolCallArgs),\n result: part.content,\n author,\n authorIdx,\n ...(authors.length >= 2 && { showAvatar, marginLeft }),\n };\n } else if (options.toolDisplay === 'step') {\n acc.push({\n type: 'tool-call',\n toolCallId: part.toolCallId,\n toolName: part.toolCallName,\n args: part.toolCallArgs as Record<string, string>,\n argsText: JSON.stringify(part.toolCallArgs),\n result: part.content,\n author,\n authorIdx,\n ...(authors.length >= 2 && { showAvatar, marginLeft }),\n });\n }\n }\n return acc;\n }, [] as any[]);\n\n if (cur.status === MessageStatusEnum.ERROR || cur.error) {\n return {\n id: cur.id,\n role: cur.role,\n status: {\n type: 'incomplete',\n reason: 'error',\n error:\n (cur.error as { message: string }).message || (cur.error as any),\n },\n content: compact([\n cur.role === 'assistant' &&\n options.toolDisplay === 'group' &&\n keys(toolGroup.args).length > 0\n ? toolGroup\n : undefined,\n ...(content as ThreadAssistantMessagePart[]),\n ]),\n metadata: cur.metadata,\n };\n }\n\n const uiMessage: Mutable<\n Omit<ThreadMessageLike, 'content'> & {\n content: Exclude<ThreadMessageLike['content'], string>;\n }\n > = {\n id: cur.id,\n role: cur.role,\n status,\n attachments: [\n ...((cur.attaches?.map(item => ({\n status: { type: 'complete' },\n id: item.id,\n name: item.id,\n type: 'file',\n contentType: item.mimeType,\n content: [\n {\n type: item.type,\n image: item.url,\n },\n ],\n })) || []) as CompleteAttachment[]),\n ...attaches,\n ],\n content: compact([\n ...reasoningParts,\n cur.role === 'assistant' &&\n options.toolDisplay === 'group' &&\n keys(toolGroup.args).length > 0\n ? toolGroup\n : undefined,\n ...(content as ThreadAssistantMessagePart[]),\n ]),\n metadata: {\n ...cur.metadata,\n invocationIds:\n keys(toolGroup.args).length > 0 ? keys(toolGroup.args) : undefined,\n } as any,\n };\n return uiMessage;\n });\n\n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7B,sBAAE,SAAS;AACX,sBAAE,SAAS;AACb,gBAAA,GAAI,OAAwC;aAC7C,CAAC;AACF,YAAA,QAAQ,EAAE;gBACR,GAAG,GAAG,CAAC,QAAQ;gBACf,aAAa,EACX,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,SAAS;AAC9D,aAAA;SACT,CAAC;AACF,QAAA,OAAO,SAAS,CAAC;AACnB,KAAC,CAAC,CAAC;AAEH,IAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC;AACjC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chat-lab/ui",
3
- "version": "0.1.0-beta.53",
3
+ "version": "0.1.0-beta.55",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",