@baishuyun/chat-sdk 0.0.18 → 0.1.0

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 (446) hide show
  1. package/.turbo/turbo-build.log +175 -178
  2. package/CHANGELOG.md +19 -0
  3. package/dist/chat-sdk.js +11115 -11003
  4. package/dist/chat-sdk.js.map +1 -1
  5. package/dist/chat-sdk.umd.cjs +129 -127
  6. package/dist/chat-sdk.umd.cjs.map +1 -1
  7. package/dist/chat.d.ts +5 -0
  8. package/dist/chat.d.ts.map +1 -0
  9. package/dist/components/biz-comp/FakeBotMsg.d.ts +8 -0
  10. package/dist/components/biz-comp/FakeBotMsg.d.ts.map +1 -0
  11. package/dist/components/biz-comp/FieldChecker.d.ts +19 -0
  12. package/dist/components/biz-comp/FieldChecker.d.ts.map +1 -0
  13. package/dist/components/biz-comp/FieldCheckerListMsg.d.ts +19 -0
  14. package/dist/components/biz-comp/FieldCheckerListMsg.d.ts.map +1 -0
  15. package/dist/components/biz-comp/FieldValueChecker.d.ts +16 -0
  16. package/dist/components/biz-comp/FieldValueChecker.d.ts.map +1 -0
  17. package/dist/components/biz-comp/SubformFieldsValueChecker.d.ts +22 -0
  18. package/dist/components/biz-comp/SubformFieldsValueChecker.d.ts.map +1 -0
  19. package/dist/components/biz-comp/chat-client.d.ts +13 -0
  20. package/dist/components/biz-comp/chat-client.d.ts.map +1 -0
  21. package/dist/components/biz-comp/chat-frame.d.ts +6 -0
  22. package/dist/components/biz-comp/chat-frame.d.ts.map +1 -0
  23. package/dist/components/biz-comp/conversation.d.ts +10 -0
  24. package/dist/components/biz-comp/conversation.d.ts.map +1 -0
  25. package/dist/components/biz-comp/dash-widget-icon.d.ts +7 -0
  26. package/dist/components/biz-comp/dash-widget-icon.d.ts.map +1 -0
  27. package/dist/components/biz-comp/dock-btn.d.ts +2 -0
  28. package/dist/components/biz-comp/dock-btn.d.ts.map +1 -0
  29. package/dist/components/biz-comp/error-boundary.d.ts +15 -0
  30. package/dist/components/biz-comp/error-boundary.d.ts.map +1 -0
  31. package/dist/components/biz-comp/error-msg.d.ts +4 -0
  32. package/dist/components/biz-comp/error-msg.d.ts.map +1 -0
  33. package/dist/components/biz-comp/field-icon.d.ts +5 -0
  34. package/dist/components/biz-comp/field-icon.d.ts.map +1 -0
  35. package/dist/components/biz-comp/highlight-msg.d.ts +4 -0
  36. package/dist/components/biz-comp/highlight-msg.d.ts.map +1 -0
  37. package/dist/components/biz-comp/markdown-part.d.ts +7 -0
  38. package/dist/components/biz-comp/markdown-part.d.ts.map +1 -0
  39. package/dist/components/biz-comp/markdown.d.ts +5 -0
  40. package/dist/components/biz-comp/markdown.d.ts.map +1 -0
  41. package/dist/components/biz-comp/message-content.d.ts +6 -0
  42. package/dist/components/biz-comp/message-content.d.ts.map +1 -0
  43. package/dist/components/biz-comp/messages.d.ts +3 -0
  44. package/dist/components/biz-comp/messages.d.ts.map +1 -0
  45. package/dist/components/biz-comp/multi-modal-input/attachment-btn.d.ts +9 -0
  46. package/dist/components/biz-comp/multi-modal-input/attachment-btn.d.ts.map +1 -0
  47. package/dist/components/biz-comp/multi-modal-input/clear-btn.d.ts +8 -0
  48. package/dist/components/biz-comp/multi-modal-input/clear-btn.d.ts.map +1 -0
  49. package/dist/components/biz-comp/multi-modal-input/index.d.ts +21 -0
  50. package/dist/components/biz-comp/multi-modal-input/index.d.ts.map +1 -0
  51. package/dist/components/biz-comp/multi-modal-input/preview-attachment.d.ts +12 -0
  52. package/dist/components/biz-comp/multi-modal-input/preview-attachment.d.ts.map +1 -0
  53. package/dist/components/biz-comp/multi-modal-input/prompt-input.d.ts +36 -0
  54. package/dist/components/biz-comp/multi-modal-input/prompt-input.d.ts.map +1 -0
  55. package/dist/components/biz-comp/opening-lines.d.ts +3 -0
  56. package/dist/components/biz-comp/opening-lines.d.ts.map +1 -0
  57. package/dist/components/biz-comp/preview-message-wrapper.d.ts +12 -0
  58. package/dist/components/biz-comp/preview-message-wrapper.d.ts.map +1 -0
  59. package/dist/components/biz-comp/preview-message.d.ts +13 -0
  60. package/dist/components/biz-comp/preview-message.d.ts.map +1 -0
  61. package/dist/components/biz-comp/response.d.ts +6 -0
  62. package/dist/components/biz-comp/response.d.ts.map +1 -0
  63. package/dist/components/biz-comp/suggestions.d.ts +8 -0
  64. package/dist/components/biz-comp/suggestions.d.ts.map +1 -0
  65. package/dist/components/bs-ui/abs-fullscreen-gradient-bg.d.ts +10 -0
  66. package/dist/components/bs-ui/abs-fullscreen-gradient-bg.d.ts.map +1 -0
  67. package/dist/components/bs-ui/attachment-part-group.d.ts +16 -0
  68. package/dist/components/bs-ui/attachment-part-group.d.ts.map +1 -0
  69. package/dist/components/bs-ui/attachment-part.d.ts +19 -0
  70. package/dist/components/bs-ui/attachment-part.d.ts.map +1 -0
  71. package/dist/components/bs-ui/attachments-previewer.d.ts +18 -0
  72. package/dist/components/bs-ui/attachments-previewer.d.ts.map +1 -0
  73. package/dist/components/bs-ui/base-button.d.ts +8 -0
  74. package/dist/components/bs-ui/base-button.d.ts.map +1 -0
  75. package/dist/components/bs-ui/border-animation.d.ts +23 -0
  76. package/dist/components/bs-ui/border-animation.d.ts.map +1 -0
  77. package/dist/components/bs-ui/border-color-animation.d.ts +11 -0
  78. package/dist/components/bs-ui/border-color-animation.d.ts.map +1 -0
  79. package/dist/components/bs-ui/bot-avatar-name.d.ts +6 -0
  80. package/dist/components/bs-ui/bot-avatar-name.d.ts.map +1 -0
  81. package/dist/components/bs-ui/bot-icon.d.ts +5 -0
  82. package/dist/components/bs-ui/bot-icon.d.ts.map +1 -0
  83. package/dist/components/bs-ui/bs-icons.d.ts +65 -0
  84. package/dist/components/bs-ui/bs-icons.d.ts.map +1 -0
  85. package/dist/components/bs-ui/card-field.d.ts +11 -0
  86. package/dist/components/bs-ui/card-field.d.ts.map +1 -0
  87. package/dist/components/bs-ui/card.d.ts +11 -0
  88. package/dist/components/bs-ui/card.d.ts.map +1 -0
  89. package/dist/components/bs-ui/chat-area-header.d.ts +13 -0
  90. package/dist/components/bs-ui/chat-area-header.d.ts.map +1 -0
  91. package/dist/components/bs-ui/circle-checker.d.ts +10 -0
  92. package/dist/components/bs-ui/circle-checker.d.ts.map +1 -0
  93. package/dist/components/bs-ui/collapsible-txt-msg.d.ts +11 -0
  94. package/dist/components/bs-ui/collapsible-txt-msg.d.ts.map +1 -0
  95. package/dist/components/bs-ui/confirm-dialog.d.ts +26 -0
  96. package/dist/components/bs-ui/confirm-dialog.d.ts.map +1 -0
  97. package/dist/components/bs-ui/fields-design-info-table.d.ts +7 -0
  98. package/dist/components/bs-ui/fields-design-info-table.d.ts.map +1 -0
  99. package/dist/components/bs-ui/fields-generating-indicator.d.ts +6 -0
  100. package/dist/components/bs-ui/fields-generating-indicator.d.ts.map +1 -0
  101. package/dist/components/bs-ui/fields-portal.d.ts +8 -0
  102. package/dist/components/bs-ui/fields-portal.d.ts.map +1 -0
  103. package/dist/components/bs-ui/fields-previewer.d.ts +18 -0
  104. package/dist/components/bs-ui/fields-previewer.d.ts.map +1 -0
  105. package/dist/components/bs-ui/font-icon.d.ts +6 -0
  106. package/dist/components/bs-ui/font-icon.d.ts.map +1 -0
  107. package/dist/components/bs-ui/form-info-editor.d.ts +37 -0
  108. package/dist/components/bs-ui/form-info-editor.d.ts.map +1 -0
  109. package/dist/components/bs-ui/formula-tag.d.ts +8 -0
  110. package/dist/components/bs-ui/formula-tag.d.ts.map +1 -0
  111. package/dist/components/bs-ui/generate-animation.d.ts +5 -0
  112. package/dist/components/bs-ui/generate-animation.d.ts.map +1 -0
  113. package/dist/components/bs-ui/icon-btn.d.ts +9 -0
  114. package/dist/components/bs-ui/icon-btn.d.ts.map +1 -0
  115. package/dist/components/bs-ui/img-part.d.ts +10 -0
  116. package/dist/components/bs-ui/img-part.d.ts.map +1 -0
  117. package/dist/components/bs-ui/line-checker.d.ts +19 -0
  118. package/dist/components/bs-ui/line-checker.d.ts.map +1 -0
  119. package/dist/components/bs-ui/linear-gradient-border-btn.d.ts +10 -0
  120. package/dist/components/bs-ui/linear-gradient-border-btn.d.ts.map +1 -0
  121. package/dist/components/bs-ui/linear-gradient-color-bg-animation.d.ts +8 -0
  122. package/dist/components/bs-ui/linear-gradient-color-bg-animation.d.ts.map +1 -0
  123. package/dist/components/bs-ui/number-part.d.ts +9 -0
  124. package/dist/components/bs-ui/number-part.d.ts.map +1 -0
  125. package/dist/components/bs-ui/option-item.d.ts +9 -0
  126. package/dist/components/bs-ui/option-item.d.ts.map +1 -0
  127. package/dist/components/bs-ui/previewer-header.d.ts +20 -0
  128. package/dist/components/bs-ui/previewer-header.d.ts.map +1 -0
  129. package/dist/components/bs-ui/primary-confirm-btn.d.ts +10 -0
  130. package/dist/components/bs-ui/primary-confirm-btn.d.ts.map +1 -0
  131. package/dist/components/bs-ui/primary-entry-btn.d.ts +9 -0
  132. package/dist/components/bs-ui/primary-entry-btn.d.ts.map +1 -0
  133. package/dist/components/bs-ui/scroll-to-bottom-btn.d.ts +6 -0
  134. package/dist/components/bs-ui/scroll-to-bottom-btn.d.ts.map +1 -0
  135. package/dist/components/bs-ui/split-line.d.ts +5 -0
  136. package/dist/components/bs-ui/split-line.d.ts.map +1 -0
  137. package/dist/components/bs-ui/square-checker.d.ts +15 -0
  138. package/dist/components/bs-ui/square-checker.d.ts.map +1 -0
  139. package/dist/components/bs-ui/tab-radio-group.d.ts +19 -0
  140. package/dist/components/bs-ui/tab-radio-group.d.ts.map +1 -0
  141. package/dist/components/bs-ui/tooltip.d.ts +6 -0
  142. package/dist/components/bs-ui/tooltip.d.ts.map +1 -0
  143. package/dist/components/bs-ui/user-txt-msg-bubble.d.ts +6 -0
  144. package/dist/components/bs-ui/user-txt-msg-bubble.d.ts.map +1 -0
  145. package/dist/components/bs-ui/warning-msg.d.ts +6 -0
  146. package/dist/components/bs-ui/warning-msg.d.ts.map +1 -0
  147. package/dist/components/ui/badge.d.ts +10 -0
  148. package/dist/components/ui/badge.d.ts.map +1 -0
  149. package/dist/components/ui/button.d.ts +12 -0
  150. package/dist/components/ui/button.d.ts.map +1 -0
  151. package/dist/components/ui/card.d.ts +9 -0
  152. package/dist/components/ui/card.d.ts.map +1 -0
  153. package/dist/components/ui/checkbox.d.ts +5 -0
  154. package/dist/components/ui/checkbox.d.ts.map +1 -0
  155. package/dist/components/ui/collapsible.d.ts +6 -0
  156. package/dist/components/ui/collapsible.d.ts.map +1 -0
  157. package/dist/components/ui/dialog.d.ts +24 -0
  158. package/dist/components/ui/dialog.d.ts.map +1 -0
  159. package/dist/components/ui/dropdown-menu.d.ts +28 -0
  160. package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
  161. package/dist/components/ui/icons.d.ts +176 -0
  162. package/dist/components/ui/icons.d.ts.map +1 -0
  163. package/dist/components/ui/input-group.d.ts +17 -0
  164. package/dist/components/ui/input-group.d.ts.map +1 -0
  165. package/dist/components/ui/input.d.ts +4 -0
  166. package/dist/components/ui/input.d.ts.map +1 -0
  167. package/dist/components/ui/label.d.ts +6 -0
  168. package/dist/components/ui/label.d.ts.map +1 -0
  169. package/dist/components/ui/one-time-click-btn.d.ts +4 -0
  170. package/dist/components/ui/one-time-click-btn.d.ts.map +1 -0
  171. package/dist/components/ui/select.d.ts +14 -0
  172. package/dist/components/ui/select.d.ts.map +1 -0
  173. package/dist/components/ui/spinner.d.ts +3 -0
  174. package/dist/components/ui/spinner.d.ts.map +1 -0
  175. package/dist/components/ui/tabs.d.ts +8 -0
  176. package/dist/components/ui/tabs.d.ts.map +1 -0
  177. package/dist/components/ui/textarea.d.ts +4 -0
  178. package/dist/components/ui/textarea.d.ts.map +1 -0
  179. package/dist/components/ui/tooltip.d.ts +13 -0
  180. package/dist/components/ui/tooltip.d.ts.map +1 -0
  181. package/dist/components/web-comp/fields-previewer-web-component.d.ts +60 -0
  182. package/dist/components/web-comp/fields-previewer-web-component.d.ts.map +1 -0
  183. package/dist/const/index.d.ts +5 -0
  184. package/dist/const/index.d.ts.map +1 -0
  185. package/dist/const/ui.d.ts +7 -0
  186. package/dist/const/ui.d.ts.map +1 -0
  187. package/dist/hooks/use-chat-preference.d.ts +3 -0
  188. package/dist/hooks/use-chat-preference.d.ts.map +1 -0
  189. package/dist/hooks/use-draggable.d.ts +24 -0
  190. package/dist/hooks/use-draggable.d.ts.map +1 -0
  191. package/dist/hooks/use-evt-bus.d.ts +2 -0
  192. package/dist/hooks/use-evt-bus.d.ts.map +1 -0
  193. package/dist/hooks/use-evt.d.ts +3 -0
  194. package/dist/hooks/use-evt.d.ts.map +1 -0
  195. package/dist/hooks/use-frame-mode.d.ts +20 -0
  196. package/dist/hooks/use-frame-mode.d.ts.map +1 -0
  197. package/dist/hooks/use-merged-chat.d.ts +7 -0
  198. package/dist/hooks/use-merged-chat.d.ts.map +1 -0
  199. package/dist/hooks/use-msg-status-broadcast.d.ts +3 -0
  200. package/dist/hooks/use-msg-status-broadcast.d.ts.map +1 -0
  201. package/dist/hooks/use-plugin-component.d.ts +5 -0
  202. package/dist/hooks/use-plugin-component.d.ts.map +1 -0
  203. package/dist/hooks/use-plugin-ctx.d.ts +3 -0
  204. package/dist/hooks/use-plugin-ctx.d.ts.map +1 -0
  205. package/dist/hooks/use-plugin-custom-components.d.ts +5 -0
  206. package/dist/hooks/use-plugin-custom-components.d.ts.map +1 -0
  207. package/dist/hooks/use-plugin-life-cycle-chain-runner.d.ts +5 -0
  208. package/dist/hooks/use-plugin-life-cycle-chain-runner.d.ts.map +1 -0
  209. package/dist/hooks/use-plugin-list.d.ts +2 -0
  210. package/dist/hooks/use-plugin-list.d.ts.map +1 -0
  211. package/dist/hooks/use-plugin.d.ts +2 -0
  212. package/dist/hooks/use-plugin.d.ts.map +1 -0
  213. package/dist/hooks/use-scroll-to-bottom.d.ts +9 -0
  214. package/dist/hooks/use-scroll-to-bottom.d.ts.map +1 -0
  215. package/dist/hooks/use-shadow.d.ts +25 -0
  216. package/dist/hooks/use-shadow.d.ts.map +1 -0
  217. package/dist/hooks/use-toast.d.ts +3 -0
  218. package/dist/hooks/use-toast.d.ts.map +1 -0
  219. package/dist/index.d.ts +6 -0
  220. package/dist/index.d.ts.map +1 -0
  221. package/dist/lib/clone.d.ts +32 -0
  222. package/dist/lib/clone.d.ts.map +1 -0
  223. package/dist/lib/event-emitter.d.ts +39 -0
  224. package/dist/lib/event-emitter.d.ts.map +1 -0
  225. package/dist/lib/parse-design-doc.d.ts +16 -0
  226. package/dist/lib/parse-design-doc.d.ts.map +1 -0
  227. package/dist/lib/readonly.d.ts +14 -0
  228. package/dist/lib/readonly.d.ts.map +1 -0
  229. package/dist/lib/utils.d.ts +55 -0
  230. package/dist/lib/utils.d.ts.map +1 -0
  231. package/dist/plugins/form-builder-base-plugin/const.d.ts +3 -0
  232. package/dist/plugins/form-builder-base-plugin/const.d.ts.map +1 -0
  233. package/dist/plugins/form-builder-base-plugin/index.d.ts +7 -0
  234. package/dist/plugins/form-builder-base-plugin/index.d.ts.map +1 -0
  235. package/dist/plugins/form-builder-base-plugin/types.d.ts +12 -0
  236. package/dist/plugins/form-builder-base-plugin/types.d.ts.map +1 -0
  237. package/dist/plugins/form-builder-plugin/components/create-form-confirm.d.ts +7 -0
  238. package/dist/plugins/form-builder-plugin/components/create-form-confirm.d.ts.map +1 -0
  239. package/dist/plugins/form-builder-plugin/components/design-doc-part.d.ts +4 -0
  240. package/dist/plugins/form-builder-plugin/components/design-doc-part.d.ts.map +1 -0
  241. package/dist/plugins/form-builder-plugin/components/design-info.d.ts +6 -0
  242. package/dist/plugins/form-builder-plugin/components/design-info.d.ts.map +1 -0
  243. package/dist/plugins/form-builder-plugin/components/entry-btn.d.ts +3 -0
  244. package/dist/plugins/form-builder-plugin/components/entry-btn.d.ts.map +1 -0
  245. package/dist/plugins/form-builder-plugin/components/fields-part.d.ts +4 -0
  246. package/dist/plugins/form-builder-plugin/components/fields-part.d.ts.map +1 -0
  247. package/dist/plugins/form-builder-plugin/components/follow-up.d.ts +3 -0
  248. package/dist/plugins/form-builder-plugin/components/follow-up.d.ts.map +1 -0
  249. package/dist/plugins/form-builder-plugin/components/msg-part.d.ts +3 -0
  250. package/dist/plugins/form-builder-plugin/components/msg-part.d.ts.map +1 -0
  251. package/dist/plugins/form-builder-plugin/components/opening-lines.d.ts +3 -0
  252. package/dist/plugins/form-builder-plugin/components/opening-lines.d.ts.map +1 -0
  253. package/dist/plugins/form-builder-plugin/components/suggestion-part.d.ts +5 -0
  254. package/dist/plugins/form-builder-plugin/components/suggestion-part.d.ts.map +1 -0
  255. package/dist/plugins/form-builder-plugin/const/index.d.ts +12 -0
  256. package/dist/plugins/form-builder-plugin/const/index.d.ts.map +1 -0
  257. package/dist/plugins/form-builder-plugin/hooks/index.d.ts +4 -0
  258. package/dist/plugins/form-builder-plugin/hooks/index.d.ts.map +1 -0
  259. package/dist/plugins/form-builder-plugin/hooks/use-fields-confirmed.d.ts +2 -0
  260. package/dist/plugins/form-builder-plugin/hooks/use-fields-confirmed.d.ts.map +1 -0
  261. package/dist/plugins/form-builder-plugin/index.d.ts +30 -0
  262. package/dist/plugins/form-builder-plugin/index.d.ts.map +1 -0
  263. package/dist/plugins/form-builder-plugin/types.d.ts +28 -0
  264. package/dist/plugins/form-builder-plugin/types.d.ts.map +1 -0
  265. package/dist/plugins/form-builder-plugin/utils/get-render-strategy.d.ts +3 -0
  266. package/dist/plugins/form-builder-plugin/utils/get-render-strategy.d.ts.map +1 -0
  267. package/dist/plugins/form-builder-plugin/utils/index.d.ts +57 -0
  268. package/dist/plugins/form-builder-plugin/utils/index.d.ts.map +1 -0
  269. package/dist/plugins/form-filling-plugin/batch-filling-data-manager.d.ts +26 -0
  270. package/dist/plugins/form-filling-plugin/batch-filling-data-manager.d.ts.map +1 -0
  271. package/dist/plugins/form-filling-plugin/components/FormFillingOpeningLines.d.ts +3 -0
  272. package/dist/plugins/form-filling-plugin/components/FormFillingOpeningLines.d.ts.map +1 -0
  273. package/dist/plugins/form-filling-plugin/components/avatar.d.ts +5 -0
  274. package/dist/plugins/form-filling-plugin/components/avatar.d.ts.map +1 -0
  275. package/dist/plugins/form-filling-plugin/components/batch-fill-part.d.ts +4 -0
  276. package/dist/plugins/form-filling-plugin/components/batch-fill-part.d.ts.map +1 -0
  277. package/dist/plugins/form-filling-plugin/components/batch-generator-action.d.ts +14 -0
  278. package/dist/plugins/form-filling-plugin/components/batch-generator-action.d.ts.map +1 -0
  279. package/dist/plugins/form-filling-plugin/components/entry-btn.d.ts +3 -0
  280. package/dist/plugins/form-filling-plugin/components/entry-btn.d.ts.map +1 -0
  281. package/dist/plugins/form-filling-plugin/components/first-batch-generating-animation.d.ts +2 -0
  282. package/dist/plugins/form-filling-plugin/components/first-batch-generating-animation.d.ts.map +1 -0
  283. package/dist/plugins/form-filling-plugin/components/generated-data-counter.d.ts +5 -0
  284. package/dist/plugins/form-filling-plugin/components/generated-data-counter.d.ts.map +1 -0
  285. package/dist/plugins/form-filling-plugin/components/mode-select.d.ts +2 -0
  286. package/dist/plugins/form-filling-plugin/components/mode-select.d.ts.map +1 -0
  287. package/dist/plugins/form-filling-plugin/components/msg-part.d.ts +3 -0
  288. package/dist/plugins/form-filling-plugin/components/msg-part.d.ts.map +1 -0
  289. package/dist/plugins/form-filling-plugin/components/non-first-batch-generating-animation.d.ts +2 -0
  290. package/dist/plugins/form-filling-plugin/components/non-first-batch-generating-animation.d.ts.map +1 -0
  291. package/dist/plugins/form-filling-plugin/components/single-fill-part.d.ts +4 -0
  292. package/dist/plugins/form-filling-plugin/components/single-fill-part.d.ts.map +1 -0
  293. package/dist/plugins/form-filling-plugin/const.d.ts +615 -0
  294. package/dist/plugins/form-filling-plugin/const.d.ts.map +1 -0
  295. package/dist/plugins/form-filling-plugin/hooks/use-conversation-id-in-ctx.d.ts +3 -0
  296. package/dist/plugins/form-filling-plugin/hooks/use-conversation-id-in-ctx.d.ts.map +1 -0
  297. package/dist/plugins/form-filling-plugin/hooks/use-fields-data.d.ts +4 -0
  298. package/dist/plugins/form-filling-plugin/hooks/use-fields-data.d.ts.map +1 -0
  299. package/dist/plugins/form-filling-plugin/index.d.ts +22 -0
  300. package/dist/plugins/form-filling-plugin/index.d.ts.map +1 -0
  301. package/dist/plugins/form-filling-plugin/types.d.ts +22 -0
  302. package/dist/plugins/form-filling-plugin/types.d.ts.map +1 -0
  303. package/dist/plugins/form-filling-plugin/utils.d.ts +6 -0
  304. package/dist/plugins/form-filling-plugin/utils.d.ts.map +1 -0
  305. package/dist/plugins/report-query-plugin/components/avatar.d.ts +5 -0
  306. package/dist/plugins/report-query-plugin/components/avatar.d.ts.map +1 -0
  307. package/dist/plugins/report-query-plugin/components/query-entry-btn.d.ts +3 -0
  308. package/dist/plugins/report-query-plugin/components/query-entry-btn.d.ts.map +1 -0
  309. package/dist/plugins/report-query-plugin/components/query-msg-part.d.ts +3 -0
  310. package/dist/plugins/report-query-plugin/components/query-msg-part.d.ts.map +1 -0
  311. package/dist/plugins/report-query-plugin/components/query-opening-lines.d.ts +2 -0
  312. package/dist/plugins/report-query-plugin/components/query-opening-lines.d.ts.map +1 -0
  313. package/dist/plugins/report-query-plugin/components/result-cards/CreatedSourceMsg.d.ts +7 -0
  314. package/dist/plugins/report-query-plugin/components/result-cards/CreatedSourceMsg.d.ts.map +1 -0
  315. package/dist/plugins/report-query-plugin/components/result-cards/DataTableCard.d.ts +5 -0
  316. package/dist/plugins/report-query-plugin/components/result-cards/DataTableCard.d.ts.map +1 -0
  317. package/dist/plugins/report-query-plugin/components/result-cards/DataTableFields.d.ts +18 -0
  318. package/dist/plugins/report-query-plugin/components/result-cards/DataTableFields.d.ts.map +1 -0
  319. package/dist/plugins/report-query-plugin/components/result-cards/FilterCondition.d.ts +4 -0
  320. package/dist/plugins/report-query-plugin/components/result-cards/FilterCondition.d.ts.map +1 -0
  321. package/dist/plugins/report-query-plugin/components/result-cards/FormulaField.d.ts +8 -0
  322. package/dist/plugins/report-query-plugin/components/result-cards/FormulaField.d.ts.map +1 -0
  323. package/dist/plugins/report-query-plugin/const.d.ts +5 -0
  324. package/dist/plugins/report-query-plugin/const.d.ts.map +1 -0
  325. package/dist/plugins/report-query-plugin/index.d.ts +19 -0
  326. package/dist/plugins/report-query-plugin/index.d.ts.map +1 -0
  327. package/dist/plugins/report-query-plugin/types.d.ts +18 -0
  328. package/dist/plugins/report-query-plugin/types.d.ts.map +1 -0
  329. package/dist/plugins/report-query-plugin/utils/build-dash-component.d.ts +17 -0
  330. package/dist/plugins/report-query-plugin/utils/build-dash-component.d.ts.map +1 -0
  331. package/dist/plugins/report-query-plugin/utils/create-default-dash-styles.d.ts +30 -0
  332. package/dist/plugins/report-query-plugin/utils/create-default-dash-styles.d.ts.map +1 -0
  333. package/dist/plugins/report-query-plugin/utils/create-default-widget-attr-list.d.ts +60 -0
  334. package/dist/plugins/report-query-plugin/utils/create-default-widget-attr-list.d.ts.map +1 -0
  335. package/dist/plugins/report-query-plugin/utils/field-enhance.d.ts +31 -0
  336. package/dist/plugins/report-query-plugin/utils/field-enhance.d.ts.map +1 -0
  337. package/dist/plugins/report-query-plugin/utils/get-field-group.d.ts +208 -0
  338. package/dist/plugins/report-query-plugin/utils/get-field-group.d.ts.map +1 -0
  339. package/dist/plugins/report-query-plugin/utils/get-field-icon.d.ts +4 -0
  340. package/dist/plugins/report-query-plugin/utils/get-field-icon.d.ts.map +1 -0
  341. package/dist/plugins/report-query-plugin/utils/get-group-rule.d.ts +4 -0
  342. package/dist/plugins/report-query-plugin/utils/get-group-rule.d.ts.map +1 -0
  343. package/dist/plugins/report-query-plugin/utils/index.d.ts +5 -0
  344. package/dist/plugins/report-query-plugin/utils/index.d.ts.map +1 -0
  345. package/dist/sdk.impl.d.ts +42 -0
  346. package/dist/sdk.impl.d.ts.map +1 -0
  347. package/dist/store/context.d.ts +12 -0
  348. package/dist/store/context.d.ts.map +1 -0
  349. package/dist/store/index.d.ts +14 -0
  350. package/dist/store/index.d.ts.map +1 -0
  351. package/dist/stories/AbsFullscreenGradientBg.stories.d.ts +17 -0
  352. package/dist/stories/AbsFullscreenGradientBg.stories.d.ts.map +1 -0
  353. package/dist/stories/AttachmentPart.stories.d.ts +23 -0
  354. package/dist/stories/AttachmentPart.stories.d.ts.map +1 -0
  355. package/dist/stories/AttachmentPartGroup.stories.d.ts +21 -0
  356. package/dist/stories/AttachmentPartGroup.stories.d.ts.map +1 -0
  357. package/dist/stories/AttachmentsPreviewer.stories.d.ts +20 -0
  358. package/dist/stories/AttachmentsPreviewer.stories.d.ts.map +1 -0
  359. package/dist/stories/BaseButton.stories.d.ts +18 -0
  360. package/dist/stories/BaseButton.stories.d.ts.map +1 -0
  361. package/dist/stories/BorderAnimation.stories.d.ts +21 -0
  362. package/dist/stories/BorderAnimation.stories.d.ts.map +1 -0
  363. package/dist/stories/BorderColorAnimation.stories.d.ts +26 -0
  364. package/dist/stories/BorderColorAnimation.stories.d.ts.map +1 -0
  365. package/dist/stories/BotAvatarAndName.stories.d.ts +18 -0
  366. package/dist/stories/BotAvatarAndName.stories.d.ts.map +1 -0
  367. package/dist/stories/BotIcon.stories.d.ts +17 -0
  368. package/dist/stories/BotIcon.stories.d.ts.map +1 -0
  369. package/dist/stories/BsTooltip.stories.d.ts +7 -0
  370. package/dist/stories/BsTooltip.stories.d.ts.map +1 -0
  371. package/dist/stories/Card.stories.d.ts +14 -0
  372. package/dist/stories/Card.stories.d.ts.map +1 -0
  373. package/dist/stories/CardField.stories.d.ts +13 -0
  374. package/dist/stories/CardField.stories.d.ts.map +1 -0
  375. package/dist/stories/ChatAreaHeader.stories.d.ts +14 -0
  376. package/dist/stories/ChatAreaHeader.stories.d.ts.map +1 -0
  377. package/dist/stories/CircleChecker.stories.d.ts +21 -0
  378. package/dist/stories/CircleChecker.stories.d.ts.map +1 -0
  379. package/dist/stories/CollapsibleTextMsg.stories.d.ts +16 -0
  380. package/dist/stories/CollapsibleTextMsg.stories.d.ts.map +1 -0
  381. package/dist/stories/ConfirmDialog.stories.d.ts +61 -0
  382. package/dist/stories/ConfirmDialog.stories.d.ts.map +1 -0
  383. package/dist/stories/DashWidgetIcon.stories.d.ts +13 -0
  384. package/dist/stories/DashWidgetIcon.stories.d.ts.map +1 -0
  385. package/dist/stories/FormInfoEditor.stories.d.ts +15 -0
  386. package/dist/stories/FormInfoEditor.stories.d.ts.map +1 -0
  387. package/dist/stories/FormulaField.stories.d.ts +24 -0
  388. package/dist/stories/FormulaField.stories.d.ts.map +1 -0
  389. package/dist/stories/FormulaTag.stories.d.ts +37 -0
  390. package/dist/stories/FormulaTag.stories.d.ts.map +1 -0
  391. package/dist/stories/GenerateAnimation.stories.d.ts +17 -0
  392. package/dist/stories/GenerateAnimation.stories.d.ts.map +1 -0
  393. package/dist/stories/IconBtn.stories.d.ts +15 -0
  394. package/dist/stories/IconBtn.stories.d.ts.map +1 -0
  395. package/dist/stories/IconLib.d.ts +12 -0
  396. package/dist/stories/IconLib.d.ts.map +1 -0
  397. package/dist/stories/Icons.stories.d.ts +24 -0
  398. package/dist/stories/Icons.stories.d.ts.map +1 -0
  399. package/dist/stories/ImgMsgPart.stories.d.ts +20 -0
  400. package/dist/stories/ImgMsgPart.stories.d.ts.map +1 -0
  401. package/dist/stories/LineChecker.stories.d.ts +23 -0
  402. package/dist/stories/LineChecker.stories.d.ts.map +1 -0
  403. package/dist/stories/LinearGradientBorderBtn.stories.d.ts +22 -0
  404. package/dist/stories/LinearGradientBorderBtn.stories.d.ts.map +1 -0
  405. package/dist/stories/LinearGradientColorBgAnimation.stories.d.ts +23 -0
  406. package/dist/stories/LinearGradientColorBgAnimation.stories.d.ts.map +1 -0
  407. package/dist/stories/NumbersMsgPart.stories.d.ts +19 -0
  408. package/dist/stories/NumbersMsgPart.stories.d.ts.map +1 -0
  409. package/dist/stories/OptionItem.stories.d.ts +20 -0
  410. package/dist/stories/OptionItem.stories.d.ts.map +1 -0
  411. package/dist/stories/PreviewerHeader.stories.d.ts +12 -0
  412. package/dist/stories/PreviewerHeader.stories.d.ts.map +1 -0
  413. package/dist/stories/PrimaryConfirmBtn.stories.d.ts +19 -0
  414. package/dist/stories/PrimaryConfirmBtn.stories.d.ts.map +1 -0
  415. package/dist/stories/PrimaryEntryBtn.stories.d.ts +26 -0
  416. package/dist/stories/PrimaryEntryBtn.stories.d.ts.map +1 -0
  417. package/dist/stories/ScrollToBottom.stories.d.ts +15 -0
  418. package/dist/stories/ScrollToBottom.stories.d.ts.map +1 -0
  419. package/dist/stories/SplitLine.stories.d.ts +9 -0
  420. package/dist/stories/SplitLine.stories.d.ts.map +1 -0
  421. package/dist/stories/SquareChecker.stories.d.ts +26 -0
  422. package/dist/stories/SquareChecker.stories.d.ts.map +1 -0
  423. package/dist/stories/TabRadioGroup.stories.d.ts +18 -0
  424. package/dist/stories/TabRadioGroup.stories.d.ts.map +1 -0
  425. package/dist/stories/UserTextMsgBubble.stories.d.ts +14 -0
  426. package/dist/stories/UserTextMsgBubble.stories.d.ts.map +1 -0
  427. package/dist/stories/WarningMessage.stories.d.ts +16 -0
  428. package/dist/stories/WarningMessage.stories.d.ts.map +1 -0
  429. package/dist/stories/fields-design-info-table.stories.d.ts +14 -0
  430. package/dist/stories/fields-design-info-table.stories.d.ts.map +1 -0
  431. package/dist/stories/fields-generating.stories.d.ts +20 -0
  432. package/dist/stories/fields-generating.stories.d.ts.map +1 -0
  433. package/dist/stories/fields-previewer.stories.d.ts +19 -0
  434. package/dist/stories/fields-previewer.stories.d.ts.map +1 -0
  435. package/package.json +4 -4
  436. package/src/chat.tsx +59 -1
  437. package/src/components/biz-comp/FakeBotMsg.tsx +4 -1
  438. package/src/components/biz-comp/chat-client.tsx +1 -1
  439. package/src/components/biz-comp/markdown-part.tsx +17 -4
  440. package/src/components/biz-comp/multi-modal-input/index.tsx +6 -4
  441. package/src/components/biz-comp/preview-message-wrapper.tsx +3 -1
  442. package/src/components/biz-comp/preview-message.tsx +15 -0
  443. package/src/lib/utils.ts +34 -0
  444. package/src/plugins/report-query-plugin/index.ts +1 -1
  445. package/src/sdk.impl.tsx +54 -7
  446. package/src/store/index.ts +8 -0
@@ -1,178 +1,175 @@
1
-
2
- > @baishuyun/chat-sdk@0.0.17 build /Users/bbbottle/Code/bs-chat-sdk/packages/chat-sdk
3
- > vite build
4
-
5
- vite v5.4.21 building for production...
6
- transforming...
7
- 2257 modules transformed.
8
- rendering chunks...
9
-
10
- [vite:dts] Start generate declaration files...
11
- ../agents/src/form-builder/index.ts:1:39 - error TS6133: 'stepCountIs' is declared but its value is never read.
12
-
13
- 1 import { Experimental_Agent as Agent, stepCountIs } from 'ai';
14
-    ~~~~~~~~~~~
15
- ../agents/src/form-builder/index.ts:6:29 - error TS6133: 'formBuilderPrompt' is declared but its value is never read.
16
-
17
- 6 import { BuildIntentPrompt, formBuilderPrompt } from './prompts/index.js';
18
-    ~~~~~~~~~~~~~~~~~
19
- src/components/biz-comp/dock-btn.tsx:5:11 - error TS6133: 'status' is declared but its value is never read.
20
-
21
- 5 const { status, setStatus, isFloat } = useChatStatus();
22
-    ~~~~~~
23
- src/components/biz-comp/preview-message-wrapper.tsx:4:1 - error TS6133: 'useState' is declared but its value is never read.
24
-
25
- 4 import { useState } from 'react';
26
-   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27
- src/components/bs-ui/confirm-dialog.tsx:44:3 - error TS6133: 'onLinkClick' is declared but its value is never read.
28
-
29
- 44 onLinkClick,
30
-    ~~~~~~~~~~~
31
- src/plugins/form-builder-plugin/components/create-form-confirm.tsx:17:10 - error TS6133: 'FormInfo' is declared but its value is never read.
32
-
33
- 17 import { FormInfo, McpFormBuilderPluginCtx } from '../types';
34
-    ~~~~~~~~
35
- src/plugins/form-builder-plugin/components/entry-btn.tsx:11:3 - error TS6133: 'chatVisible' is declared but its value is never read.
36
-
37
- 11 chatVisible,
38
-    ~~~~~~~~~~~
39
- src/plugins/form-builder-plugin/components/opening-lines.tsx:9:56 - error TS6133: 'setMessages' is declared but its value is never read.
40
-
41
- 9 export const FormBuilderOpeningLines = ({ sendMessage, setMessages }: OpeningLinesProps) => {
42
-    ~~~~~~~~~~~
43
- src/plugins/report-query-plugin/components/query-opening-lines.tsx:4:1 - error TS6133: 'useChat' is declared but its value is never read.
44
-
45
- 4 import { useChat } from '@ai-sdk/react';
46
-   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47
- src/plugins/report-query-plugin/components/query-opening-lines.tsx:5:1 - error TS6133: 'DefaultChatTransport' is declared but its value is never read.
48
-
49
- 5 import { DefaultChatTransport } from 'ai';
50
-   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51
- src/plugins/report-query-plugin/components/query-opening-lines.tsx:6:1 - error TS6133: 'useEffect' is declared but its value is never read.
52
-
53
- 6 import { useEffect } from 'react';
54
-   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55
- src/plugins/report-query-plugin/components/query-opening-lines.tsx:7:1 - error TS6133: 'usePluginCtx' is declared but its value is never read.
56
-
57
- 7 import { usePluginCtx } from '@/hooks/use-plugin-ctx';
58
-   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
59
- src/plugins/report-query-plugin/components/query-opening-lines.tsx:8:1 - error TS6133: 'IReportQueryContext' is declared but its value is never read.
60
-
61
- 8 import { IReportQueryContext } from '../types';
62
-   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63
- src/plugins/report-query-plugin/components/query-opening-lines.tsx:9:1 - error TS6133: 'ReportQueryPlugin' is declared but its value is never read.
64
-
65
- 9 import { ReportQueryPlugin } from '@/index';
66
-   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67
- src/plugins/report-query-plugin/components/query-opening-lines.tsx:10:1 - error TS6133: 'PLUGIN_NAME' is declared but its value is never read.
68
-
69
- 10 import { PLUGIN_NAME } from '../const';
70
-   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71
- src/plugins/report-query-plugin/components/query-opening-lines.tsx:57:58 - error TS6133: 'title' is declared but its value is never read.
72
-
73
- 57 <Suggestions items={defaultSuggestions} onSelect={(title) => {}} iconColor="#4ACC8C" />
74
-    ~~~~~
75
- src/plugins/report-query-plugin/components/result-cards/CreatedSourceMsg.tsx:9:49 - error TS6133: 'done' is declared but its value is never read.
76
-
77
- 9 export const CreatedSourceMsg = ({ type, title, done }: { type: QuerySourceType; title: string; done?: boolean }) => {
78
-    ~~~~
79
- src/plugins/report-query-plugin/utils/get-field-group.ts:6:27 - error TS6133: 'IQueryResultXField' is declared but its value is never read.
80
-
81
- 6 import { IDashWidgetType, IQueryResultXField } from '@baishuyun/types';
82
-    ~~~~~~~~~~~~~~~~~~
83
- src/plugins/report-query-plugin/utils/get-field-group.ts:605:7 - error TS6133: 'exampleLimitFields' is declared but its value is never read.
84
-
85
- 605 const exampleLimitFields: Partial<LimitFieldsConfig> = {
86
-    ~~~~~~~~~~~~~~~~~~
87
- src/stories/AttachmentPartGroup.stories.tsx:108:5 - error TS2322: Type 'FilePart[]' is not assignable to type 'FileUIPart[]'.
88
- Type 'FilePart' is not assignable to type 'FileUIPart'.
89
- Types of property 'mediaType' are incompatible.
90
- Type 'string | undefined' is not assignable to type 'string'.
91
- Type 'undefined' is not assignable to type 'string'.
92
-
93
- 108 parts: imageParts,
94
-    ~~~~~
95
-
96
- src/components/bs-ui/attachment-part-group.tsx:6:3
97
- 6 parts: FileUIPart[];
98
-    ~~~~~
99
- The expected type comes from property 'parts' which is declared here on type 'Partial<{ parts: FileUIPart[]; className?: string | undefined; size?: number | undefined; gap?: number | undefined; iconOnly?: boolean | undefined; onPartClick?: ((part: FilePart) => void) | undefined; }> & { ...; }'
100
- src/stories/AttachmentPartGroup.stories.tsx:114:5 - error TS2322: Type 'FilePart[]' is not assignable to type 'FileUIPart[]'.
101
- Type 'FilePart' is not assignable to type 'FileUIPart'.
102
- Types of property 'mediaType' are incompatible.
103
- Type 'string | undefined' is not assignable to type 'string'.
104
- Type 'undefined' is not assignable to type 'string'.
105
-
106
- 114 parts: mixedParts,
107
-    ~~~~~
108
-
109
- src/components/bs-ui/attachment-part-group.tsx:6:3
110
- 6 parts: FileUIPart[];
111
-    ~~~~~
112
- The expected type comes from property 'parts' which is declared here on type 'Partial<{ parts: FileUIPart[]; className?: string | undefined; size?: number | undefined; gap?: number | undefined; iconOnly?: boolean | undefined; onPartClick?: ((part: FilePart) => void) | undefined; }> & { ...; }'
113
- src/stories/AttachmentPartGroup.stories.tsx:120:5 - error TS2322: Type 'FilePart[]' is not assignable to type 'FileUIPart[]'.
114
- Type 'FilePart' is not assignable to type 'FileUIPart'.
115
- Types of property 'mediaType' are incompatible.
116
- Type 'string | undefined' is not assignable to type 'string'.
117
- Type 'undefined' is not assignable to type 'string'.
118
-
119
- 120 parts: fileParts,
120
-    ~~~~~
121
-
122
- src/components/bs-ui/attachment-part-group.tsx:6:3
123
- 6 parts: FileUIPart[];
124
-    ~~~~~
125
- The expected type comes from property 'parts' which is declared here on type 'Partial<{ parts: FileUIPart[]; className?: string | undefined; size?: number | undefined; gap?: number | undefined; iconOnly?: boolean | undefined; onPartClick?: ((part: FilePart) => void) | undefined; }> & { ...; }'
126
- src/stories/AttachmentPartGroup.stories.tsx:126:5 - error TS2322: Type 'FilePart[]' is not assignable to type 'FileUIPart[]'.
127
- Type 'FilePart' is not assignable to type 'FileUIPart'.
128
- Types of property 'mediaType' are incompatible.
129
- Type 'string | undefined' is not assignable to type 'string'.
130
- Type 'undefined' is not assignable to type 'string'.
131
-
132
- 126 parts: fileParts,
133
-    ~~~~~
134
-
135
- src/components/bs-ui/attachment-part-group.tsx:6:3
136
- 6 parts: FileUIPart[];
137
-    ~~~~~
138
- The expected type comes from property 'parts' which is declared here on type 'Partial<{ parts: FileUIPart[]; className?: string | undefined; size?: number | undefined; gap?: number | undefined; iconOnly?: boolean | undefined; onPartClick?: ((part: FilePart) => void) | undefined; }> & { ...; }'
139
- src/stories/AttachmentPartGroup.stories.tsx:133:5 - error TS2322: Type 'FilePart[]' is not assignable to type 'FileUIPart[]'.
140
- Type 'FilePart' is not assignable to type 'FileUIPart'.
141
- Types of property 'mediaType' are incompatible.
142
- Type 'string | undefined' is not assignable to type 'string'.
143
- Type 'undefined' is not assignable to type 'string'.
144
-
145
- 133 parts: mixedParts,
146
-    ~~~~~
147
-
148
- src/components/bs-ui/attachment-part-group.tsx:6:3
149
- 6 parts: FileUIPart[];
150
-    ~~~~~
151
- The expected type comes from property 'parts' which is declared here on type 'Partial<{ parts: FileUIPart[]; className?: string | undefined; size?: number | undefined; gap?: number | undefined; iconOnly?: boolean | undefined; onPartClick?: ((part: FilePart) => void) | undefined; }> & { ...; }'
152
- src/stories/AttachmentPartGroup.stories.tsx:140:5 - error TS2322: Type 'FilePart[]' is not assignable to type 'FileUIPart[]'.
153
- Type 'FilePart' is not assignable to type 'FileUIPart'.
154
- Types of property 'mediaType' are incompatible.
155
- Type 'string | undefined' is not assignable to type 'string'.
156
- Type 'undefined' is not assignable to type 'string'.
157
-
158
- 140 parts: mixedParts,
159
-    ~~~~~
160
-
161
- src/components/bs-ui/attachment-part-group.tsx:6:3
162
- 6 parts: FileUIPart[];
163
-    ~~~~~
164
- The expected type comes from property 'parts' which is declared here on type 'Partial<{ parts: FileUIPart[]; className?: string | undefined; size?: number | undefined; gap?: number | undefined; iconOnly?: boolean | undefined; onPartClick?: ((part: FilePart) => void) | undefined; }> & { ...; }'
165
- src/stories/AttachmentPartGroup.stories.tsx:148:28 - error TS2322: Type 'FilePart[]' is not assignable to type 'FileUIPart[]'.
166
- Type 'FilePart' is not assignable to type 'FileUIPart'.
167
- Types of property 'mediaType' are incompatible.
168
- Type 'string | undefined' is not assignable to type 'string'.
169
- Type 'undefined' is not assignable to type 'string'.
170
-
171
- 148 <AttachmentPartGroup parts={mixedParts} />
172
-    ~~~~~
173
-
174
- src/components/bs-ui/attachment-part-group.tsx:6:3
175
- 6 parts: FileUIPart[];
176
-    ~~~~~
177
- The expected type comes from property 'parts' which is declared here on type 'IntrinsicAttributes & AttachmentPartGroupProps'
178
-
1
+
2
+ 
3
+ > @baishuyun/chat-sdk@0.0.18 build /Users/bbbottle/Code/bs-chat-sdk/packages/chat-sdk
4
+ > vite build
5
+
6
+ vite v5.4.21 building for production...
7
+ transforming (1) src/index.tsxtransforming (20) src/plugins/report-query-plugin/utils/index.tsxtransforming (26) src/lib/readonly.tstransforming (54) src/plugins/form-builder-base-plugin/index.tstransforming (84) src/components/bs-ui/chat-area-header.tsxtransforming (168) src/plugins/form-filling-plugin/components/batch-generator-action.ttransforming (264) ../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opetransforming (1277) ../../node_modules/.pnpm/lucide-react@0.554.0_react@18.3.1/node_motransforming (2026) ../../node_modules/.pnpm/react-markdown@10.1.0_@types+react@18.2.3transforming (2053) src/components/bs-ui/attachments-previewer.tsxtransforming (2231) ../../node_modules/.pnpm/micromark-factory-space@2.0.1/node_module✓ 2262 modules transformed.
8
+ rendering chunks (1)...
9
+ [vite:dts] Start generate declaration files...
10
+ src/components/biz-comp/dock-btn.tsx:5:11 - error TS6133: 'status' is declared but its value is never read.
11
+
12
+ 5 const { status, setStatus, isFloat } = useChatStatus();
13
+    ~~~~~~
14
+ src/components/biz-comp/preview-message-wrapper.tsx:4:1 - error TS6133: 'useState' is declared but its value is never read.
15
+
16
+ 4 import { useState } from 'react';
17
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18
+ src/components/bs-ui/confirm-dialog.tsx:44:3 - error TS6133: 'onLinkClick' is declared but its value is never read.
19
+
20
+ 44 onLinkClick,
21
+    ~~~~~~~~~~~
22
+ src/plugins/form-builder-plugin/components/create-form-confirm.tsx:17:10 - error TS6133: 'FormInfo' is declared but its value is never read.
23
+
24
+ 17 import { FormInfo, McpFormBuilderPluginCtx } from '../types';
25
+    ~~~~~~~~
26
+ src/plugins/form-builder-plugin/components/entry-btn.tsx:11:3 - error TS6133: 'chatVisible' is declared but its value is never read.
27
+
28
+ 11 chatVisible,
29
+    ~~~~~~~~~~~
30
+ src/plugins/form-builder-plugin/components/opening-lines.tsx:9:56 - error TS6133: 'setMessages' is declared but its value is never read.
31
+
32
+ 9 export const FormBuilderOpeningLines = ({ sendMessage, setMessages }: OpeningLinesProps) => {
33
+    ~~~~~~~~~~~
34
+ src/plugins/report-query-plugin/components/query-opening-lines.tsx:4:1 - error TS6133: 'useChat' is declared but its value is never read.
35
+
36
+ 4 import { useChat } from '@ai-sdk/react';
37
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38
+ src/plugins/report-query-plugin/components/query-opening-lines.tsx:5:1 - error TS6133: 'DefaultChatTransport' is declared but its value is never read.
39
+
40
+ 5 import { DefaultChatTransport } from 'ai';
41
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42
+ src/plugins/report-query-plugin/components/query-opening-lines.tsx:6:1 - error TS6133: 'useEffect' is declared but its value is never read.
43
+
44
+ 6 import { useEffect } from 'react';
45
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46
+ src/plugins/report-query-plugin/components/query-opening-lines.tsx:7:1 - error TS6133: 'usePluginCtx' is declared but its value is never read.
47
+
48
+ 7 import { usePluginCtx } from '@/hooks/use-plugin-ctx';
49
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50
+ src/plugins/report-query-plugin/components/query-opening-lines.tsx:8:1 - error TS6133: 'IReportQueryContext' is declared but its value is never read.
51
+
52
+ 8 import { IReportQueryContext } from '../types';
53
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54
+ src/plugins/report-query-plugin/components/query-opening-lines.tsx:9:1 - error TS6133: 'ReportQueryPlugin' is declared but its value is never read.
55
+
56
+ 9 import { ReportQueryPlugin } from '@/index';
57
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
58
+ src/plugins/report-query-plugin/components/query-opening-lines.tsx:10:1 - error TS6133: 'PLUGIN_NAME' is declared but its value is never read.
59
+
60
+ 10 import { PLUGIN_NAME } from '../const';
61
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62
+ src/plugins/report-query-plugin/components/query-opening-lines.tsx:57:58 - error TS6133: 'title' is declared but its value is never read.
63
+
64
+ 57 <Suggestions items={defaultSuggestions} onSelect={(title) => {}} iconColor="#4ACC8C" />
65
+    ~~~~~
66
+ src/plugins/report-query-plugin/components/result-cards/CreatedSourceMsg.tsx:9:49 - error TS6133: 'done' is declared but its value is never read.
67
+
68
+ 9 export const CreatedSourceMsg = ({ type, title, done }: { type: QuerySourceType; title: string; done?: boolean }) => {
69
+    ~~~~
70
+ src/plugins/report-query-plugin/utils/get-field-group.ts:6:27 - error TS6133: 'IQueryResultXField' is declared but its value is never read.
71
+
72
+ 6 import { IDashWidgetType, IQueryResultXField } from '@baishuyun/types';
73
+    ~~~~~~~~~~~~~~~~~~
74
+ src/plugins/report-query-plugin/utils/get-field-group.ts:605:7 - error TS6133: 'exampleLimitFields' is declared but its value is never read.
75
+
76
+ 605 const exampleLimitFields: Partial<LimitFieldsConfig> = {
77
+    ~~~~~~~~~~~~~~~~~~
78
+ src/stories/AttachmentPartGroup.stories.tsx:108:5 - error TS2322: Type 'FilePart[]' is not assignable to type 'FileUIPart[]'.
79
+ Type 'FilePart' is not assignable to type 'FileUIPart'.
80
+ Types of property 'mediaType' are incompatible.
81
+ Type 'string | undefined' is not assignable to type 'string'.
82
+ Type 'undefined' is not assignable to type 'string'.
83
+
84
+ 108 parts: imageParts,
85
+    ~~~~~
86
+
87
+ src/components/bs-ui/attachment-part-group.tsx:6:3
88
+ 6 parts: FileUIPart[];
89
+    ~~~~~
90
+ The expected type comes from property 'parts' which is declared here on type 'Partial<{ parts: FileUIPart[]; className?: string | undefined; size?: number | undefined; gap?: number | undefined; iconOnly?: boolean | undefined; onPartClick?: ((part: FilePart) => void) | undefined; }> & { ...; }'
91
+ src/stories/AttachmentPartGroup.stories.tsx:114:5 - error TS2322: Type 'FilePart[]' is not assignable to type 'FileUIPart[]'.
92
+ Type 'FilePart' is not assignable to type 'FileUIPart'.
93
+ Types of property 'mediaType' are incompatible.
94
+ Type 'string | undefined' is not assignable to type 'string'.
95
+ Type 'undefined' is not assignable to type 'string'.
96
+
97
+ 114 parts: mixedParts,
98
+    ~~~~~
99
+
100
+ src/components/bs-ui/attachment-part-group.tsx:6:3
101
+ 6 parts: FileUIPart[];
102
+    ~~~~~
103
+ The expected type comes from property 'parts' which is declared here on type 'Partial<{ parts: FileUIPart[]; className?: string | undefined; size?: number | undefined; gap?: number | undefined; iconOnly?: boolean | undefined; onPartClick?: ((part: FilePart) => void) | undefined; }> & { ...; }'
104
+ src/stories/AttachmentPartGroup.stories.tsx:120:5 - error TS2322: Type 'FilePart[]' is not assignable to type 'FileUIPart[]'.
105
+ Type 'FilePart' is not assignable to type 'FileUIPart'.
106
+ Types of property 'mediaType' are incompatible.
107
+ Type 'string | undefined' is not assignable to type 'string'.
108
+ Type 'undefined' is not assignable to type 'string'.
109
+
110
+ 120 parts: fileParts,
111
+    ~~~~~
112
+
113
+ src/components/bs-ui/attachment-part-group.tsx:6:3
114
+ 6 parts: FileUIPart[];
115
+    ~~~~~
116
+ The expected type comes from property 'parts' which is declared here on type 'Partial<{ parts: FileUIPart[]; className?: string | undefined; size?: number | undefined; gap?: number | undefined; iconOnly?: boolean | undefined; onPartClick?: ((part: FilePart) => void) | undefined; }> & { ...; }'
117
+ src/stories/AttachmentPartGroup.stories.tsx:126:5 - error TS2322: Type 'FilePart[]' is not assignable to type 'FileUIPart[]'.
118
+ Type 'FilePart' is not assignable to type 'FileUIPart'.
119
+ Types of property 'mediaType' are incompatible.
120
+ Type 'string | undefined' is not assignable to type 'string'.
121
+ Type 'undefined' is not assignable to type 'string'.
122
+
123
+ 126 parts: fileParts,
124
+    ~~~~~
125
+
126
+ src/components/bs-ui/attachment-part-group.tsx:6:3
127
+ 6 parts: FileUIPart[];
128
+    ~~~~~
129
+ The expected type comes from property 'parts' which is declared here on type 'Partial<{ parts: FileUIPart[]; className?: string | undefined; size?: number | undefined; gap?: number | undefined; iconOnly?: boolean | undefined; onPartClick?: ((part: FilePart) => void) | undefined; }> & { ...; }'
130
+ src/stories/AttachmentPartGroup.stories.tsx:133:5 - error TS2322: Type 'FilePart[]' is not assignable to type 'FileUIPart[]'.
131
+ Type 'FilePart' is not assignable to type 'FileUIPart'.
132
+ Types of property 'mediaType' are incompatible.
133
+ Type 'string | undefined' is not assignable to type 'string'.
134
+ Type 'undefined' is not assignable to type 'string'.
135
+
136
+ 133 parts: mixedParts,
137
+    ~~~~~
138
+
139
+ src/components/bs-ui/attachment-part-group.tsx:6:3
140
+ 6 parts: FileUIPart[];
141
+    ~~~~~
142
+ The expected type comes from property 'parts' which is declared here on type 'Partial<{ parts: FileUIPart[]; className?: string | undefined; size?: number | undefined; gap?: number | undefined; iconOnly?: boolean | undefined; onPartClick?: ((part: FilePart) => void) | undefined; }> & { ...; }'
143
+ src/stories/AttachmentPartGroup.stories.tsx:140:5 - error TS2322: Type 'FilePart[]' is not assignable to type 'FileUIPart[]'.
144
+ Type 'FilePart' is not assignable to type 'FileUIPart'.
145
+ Types of property 'mediaType' are incompatible.
146
+ Type 'string | undefined' is not assignable to type 'string'.
147
+ Type 'undefined' is not assignable to type 'string'.
148
+
149
+ 140 parts: mixedParts,
150
+    ~~~~~
151
+
152
+ src/components/bs-ui/attachment-part-group.tsx:6:3
153
+ 6 parts: FileUIPart[];
154
+    ~~~~~
155
+ The expected type comes from property 'parts' which is declared here on type 'Partial<{ parts: FileUIPart[]; className?: string | undefined; size?: number | undefined; gap?: number | undefined; iconOnly?: boolean | undefined; onPartClick?: ((part: FilePart) => void) | undefined; }> & { ...; }'
156
+ src/stories/AttachmentPartGroup.stories.tsx:148:28 - error TS2322: Type 'FilePart[]' is not assignable to type 'FileUIPart[]'.
157
+ Type 'FilePart' is not assignable to type 'FileUIPart'.
158
+ Types of property 'mediaType' are incompatible.
159
+ Type 'string | undefined' is not assignable to type 'string'.
160
+ Type 'undefined' is not assignable to type 'string'.
161
+
162
+ 148 <AttachmentPartGroup parts={mixedParts} />
163
+    ~~~~~
164
+
165
+ src/components/bs-ui/attachment-part-group.tsx:6:3
166
+ 6 parts: FileUIPart[];
167
+    ~~~~~
168
+ The expected type comes from property 'parts' which is declared here on type 'IntrinsicAttributes & AttachmentPartGroupProps'
169
+
170
+ computing gzip size (0)...computing gzip size (1)...computing gzip size (2)...dist/index.css  73.68 kB │ gzip: 13.41 kB
171
+ dist/chat-sdk.js 1,888.28 kB │ gzip: 455.55 kB │ map: 5,674.43 kB
172
+ [vite:dts] Declaration files built in 2697ms.
173
+ 
174
+ rendering chunks (1)...computing gzip size (1)...dist/chat-sdk.umd.cjs 1,270.97 kB │ gzip: 379.64 kB │ map: 5,495.85 kB
175
+ ✓ built in 6.15s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @baishuyun/chat-sdk
2
2
 
3
+ ## 0.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - widget agent
8
+ - 4acb2cc: widget agent
9
+ - 35058a9: widget agent
10
+
11
+ ### Patch Changes
12
+
13
+ - e5dd21a: widget agent
14
+ - a934bc0: add widget agent
15
+ - Updated dependencies [e5dd21a]
16
+ - Updated dependencies [a934bc0]
17
+ - Updated dependencies
18
+ - Updated dependencies [4acb2cc]
19
+ - Updated dependencies [35058a9]
20
+ - @baishuyun/agents@0.1.0
21
+
3
22
  ## 0.0.18
4
23
 
5
24
  ### Patch Changes