@aheart-ui/ai 1.1.0 → 2.0.0-alpha.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 (408) hide show
  1. package/dist/cjs/agent-execution.vue.js +1 -0
  2. package/dist/cjs/agent-workbench.vue.js +1 -0
  3. package/dist/cjs/form-field.vue.js +1 -0
  4. package/dist/cjs/form.vue.js +1 -0
  5. package/dist/cjs/full.js +1 -0
  6. package/dist/cjs/index.js +1 -0
  7. package/dist/cjs/package.json +6 -0
  8. package/dist/compat/es/actions/index.d.ts +2 -0
  9. package/dist/compat/es/actions/index.js +2 -0
  10. package/dist/compat/es/actions.vue.d.ts +2 -0
  11. package/dist/compat/es/actions.vue.js +2 -0
  12. package/dist/compat/es/actions.vue2.js +2 -0
  13. package/dist/compat/es/agent/index.d.ts +1 -0
  14. package/dist/compat/es/agent/index.js +1 -0
  15. package/dist/compat/es/agent/style.css +3241 -0
  16. package/dist/compat/es/agent-execution.vue.d.ts +2 -0
  17. package/dist/compat/es/agent-execution.vue.js +2 -0
  18. package/dist/compat/es/agent-execution.vue2.js +2 -0
  19. package/dist/compat/es/agent-workbench/index.d.ts +2 -0
  20. package/dist/compat/es/agent-workbench/index.js +2 -0
  21. package/{es → dist/compat/es}/agent-workbench/style.css +1095 -4
  22. package/dist/compat/es/agent-workbench.vue.d.ts +2 -0
  23. package/dist/compat/es/agent-workbench.vue.js +2 -0
  24. package/dist/compat/es/agent-workbench.vue2.js +2 -0
  25. package/dist/compat/es/attachments/index.d.ts +2 -0
  26. package/dist/compat/es/attachments/index.js +2 -0
  27. package/dist/compat/es/attachments.vue.d.ts +2 -0
  28. package/dist/compat/es/attachments.vue.js +2 -0
  29. package/dist/compat/es/attachments.vue2.js +2 -0
  30. package/dist/compat/es/bubble/index.d.ts +2 -0
  31. package/dist/compat/es/bubble/index.js +2 -0
  32. package/dist/compat/es/bubble.vue.d.ts +2 -0
  33. package/dist/compat/es/bubble.vue.js +2 -0
  34. package/dist/compat/es/bubble.vue2.js +2 -0
  35. package/dist/compat/es/chat/index.d.ts +1 -0
  36. package/dist/compat/es/chat/index.js +1 -0
  37. package/dist/compat/es/chat-panel/index.d.ts +2 -0
  38. package/dist/compat/es/chat-panel/index.js +2 -0
  39. package/{lib/chat → dist/compat/es/chat-panel}/style.css +0 -4
  40. package/dist/compat/es/chat-panel.vue.d.ts +2 -0
  41. package/dist/compat/es/chat-panel.vue.js +2 -0
  42. package/dist/compat/es/chat-panel.vue2.js +2 -0
  43. package/dist/compat/es/conversations/index.d.ts +2 -0
  44. package/dist/compat/es/conversations/index.js +2 -0
  45. package/dist/compat/es/conversations.vue.d.ts +2 -0
  46. package/dist/compat/es/conversations.vue.js +2 -0
  47. package/dist/compat/es/conversations.vue2.js +2 -0
  48. package/dist/compat/es/form/index.d.ts +2 -0
  49. package/dist/compat/es/form/index.js +2 -0
  50. package/dist/compat/es/form/style.css +3175 -0
  51. package/dist/compat/es/form-field.vue.d.ts +2 -0
  52. package/dist/compat/es/form-field.vue.js +2 -0
  53. package/dist/compat/es/form-field.vue2.js +2 -0
  54. package/dist/compat/es/form-schema.d.ts +1 -0
  55. package/dist/compat/es/form-schema.js +1 -0
  56. package/dist/compat/es/form.vue.d.ts +2 -0
  57. package/dist/compat/es/form.vue.js +2 -0
  58. package/dist/compat/es/form.vue2.js +2 -0
  59. package/dist/compat/es/full.d.ts +2 -0
  60. package/dist/compat/es/full.js +2 -0
  61. package/dist/compat/es/index.d.ts +2 -0
  62. package/dist/compat/es/index.js +2 -0
  63. package/dist/compat/es/package.json +6 -0
  64. package/dist/compat/es/process/index.d.ts +2 -0
  65. package/dist/compat/es/process/index.js +2 -0
  66. package/dist/compat/es/process.vue.d.ts +2 -0
  67. package/dist/compat/es/process.vue.js +2 -0
  68. package/dist/compat/es/process.vue2.js +2 -0
  69. package/dist/compat/es/prompts/index.d.ts +2 -0
  70. package/dist/compat/es/prompts/index.js +2 -0
  71. package/dist/compat/es/prompts.vue.d.ts +2 -0
  72. package/dist/compat/es/prompts.vue.js +2 -0
  73. package/dist/compat/es/prompts.vue2.js +2 -0
  74. package/dist/compat/es/safe-markdown.d.ts +1 -0
  75. package/dist/compat/es/safe-markdown.js +1 -0
  76. package/dist/compat/es/sender/index.d.ts +2 -0
  77. package/dist/compat/es/sender/index.js +2 -0
  78. package/dist/compat/es/sender.vue.d.ts +2 -0
  79. package/dist/compat/es/sender.vue.js +2 -0
  80. package/dist/compat/es/sender.vue2.js +2 -0
  81. package/dist/compat/es/sources/index.d.ts +2 -0
  82. package/dist/compat/es/sources/index.js +2 -0
  83. package/dist/compat/es/sources.vue.d.ts +2 -0
  84. package/dist/compat/es/sources.vue.js +2 -0
  85. package/dist/compat/es/sources.vue2.js +2 -0
  86. package/dist/compat/es/stream-reducer.d.ts +1 -0
  87. package/dist/compat/es/stream-reducer.js +1 -0
  88. package/dist/compat/es/thought-chain/index.d.ts +2 -0
  89. package/dist/compat/es/thought-chain/index.js +2 -0
  90. package/dist/compat/es/thought-chain.vue.d.ts +2 -0
  91. package/dist/compat/es/thought-chain.vue.js +2 -0
  92. package/dist/compat/es/thought-chain.vue2.js +2 -0
  93. package/dist/compat/es/types.d.ts +1 -0
  94. package/dist/compat/es/welcome/index.d.ts +2 -0
  95. package/dist/compat/es/welcome/index.js +2 -0
  96. package/dist/compat/es/welcome.vue.d.ts +2 -0
  97. package/dist/compat/es/welcome.vue.js +2 -0
  98. package/dist/compat/es/welcome.vue2.js +2 -0
  99. package/dist/compat/lib/actions/index.d.ts +2 -0
  100. package/dist/compat/lib/actions/index.js +1 -0
  101. package/dist/compat/lib/actions.vue.d.ts +2 -0
  102. package/dist/compat/lib/actions.vue.js +1 -0
  103. package/dist/compat/lib/actions.vue2.js +1 -0
  104. package/dist/compat/lib/agent/index.d.ts +1 -0
  105. package/dist/compat/lib/agent/index.js +1 -0
  106. package/dist/compat/lib/agent/style.css +3241 -0
  107. package/dist/compat/lib/agent-execution.vue.d.ts +2 -0
  108. package/dist/compat/lib/agent-execution.vue.js +1 -0
  109. package/dist/compat/lib/agent-execution.vue2.js +1 -0
  110. package/dist/compat/lib/agent-workbench/index.d.ts +2 -0
  111. package/dist/compat/lib/agent-workbench/index.js +1 -0
  112. package/dist/compat/lib/agent-workbench/style.css +2423 -0
  113. package/dist/compat/lib/agent-workbench.vue.d.ts +2 -0
  114. package/dist/compat/lib/agent-workbench.vue.js +1 -0
  115. package/dist/compat/lib/agent-workbench.vue2.js +1 -0
  116. package/dist/compat/lib/attachments/index.d.ts +2 -0
  117. package/dist/compat/lib/attachments/index.js +1 -0
  118. package/dist/compat/lib/attachments.vue.d.ts +2 -0
  119. package/dist/compat/lib/attachments.vue.js +1 -0
  120. package/dist/compat/lib/attachments.vue2.js +1 -0
  121. package/dist/compat/lib/bubble/index.d.ts +2 -0
  122. package/dist/compat/lib/bubble/index.js +1 -0
  123. package/dist/compat/lib/bubble.vue.d.ts +2 -0
  124. package/dist/compat/lib/bubble.vue.js +1 -0
  125. package/dist/compat/lib/bubble.vue2.js +1 -0
  126. package/dist/compat/lib/chat/index.d.ts +1 -0
  127. package/dist/compat/lib/chat/index.js +1 -0
  128. package/dist/compat/lib/chat-panel/index.d.ts +2 -0
  129. package/dist/compat/lib/chat-panel/index.js +1 -0
  130. package/dist/compat/lib/chat-panel/style.css +591 -0
  131. package/dist/compat/lib/chat-panel.vue.d.ts +2 -0
  132. package/dist/compat/lib/chat-panel.vue.js +1 -0
  133. package/dist/compat/lib/chat-panel.vue2.js +1 -0
  134. package/dist/compat/lib/conversations/index.d.ts +2 -0
  135. package/dist/compat/lib/conversations/index.js +1 -0
  136. package/dist/compat/lib/conversations.vue.d.ts +2 -0
  137. package/dist/compat/lib/conversations.vue.js +1 -0
  138. package/dist/compat/lib/conversations.vue2.js +1 -0
  139. package/dist/compat/lib/form/index.d.ts +2 -0
  140. package/dist/compat/lib/form/index.js +1 -0
  141. package/dist/compat/lib/form/style.css +3175 -0
  142. package/dist/compat/lib/form-field.vue.d.ts +2 -0
  143. package/dist/compat/lib/form-field.vue.js +1 -0
  144. package/dist/compat/lib/form-field.vue2.js +1 -0
  145. package/dist/compat/lib/form-schema.d.ts +1 -0
  146. package/dist/compat/lib/form-schema.js +1 -0
  147. package/dist/compat/lib/form.vue.d.ts +2 -0
  148. package/dist/compat/lib/form.vue.js +1 -0
  149. package/dist/compat/lib/form.vue2.js +1 -0
  150. package/dist/compat/lib/full.d.ts +2 -0
  151. package/dist/compat/lib/full.js +1 -0
  152. package/dist/compat/lib/index.d.ts +2 -0
  153. package/dist/compat/lib/index.js +1 -0
  154. package/dist/compat/lib/package.json +6 -0
  155. package/dist/compat/lib/process/index.d.ts +2 -0
  156. package/dist/compat/lib/process/index.js +1 -0
  157. package/dist/compat/lib/process.vue.d.ts +2 -0
  158. package/dist/compat/lib/process.vue.js +1 -0
  159. package/dist/compat/lib/process.vue2.js +1 -0
  160. package/dist/compat/lib/prompts/index.d.ts +2 -0
  161. package/dist/compat/lib/prompts/index.js +1 -0
  162. package/dist/compat/lib/prompts.vue.d.ts +2 -0
  163. package/dist/compat/lib/prompts.vue.js +1 -0
  164. package/dist/compat/lib/prompts.vue2.js +1 -0
  165. package/dist/compat/lib/safe-markdown.d.ts +1 -0
  166. package/dist/compat/lib/safe-markdown.js +1 -0
  167. package/dist/compat/lib/sender/index.d.ts +2 -0
  168. package/dist/compat/lib/sender/index.js +1 -0
  169. package/dist/compat/lib/sender.vue.d.ts +2 -0
  170. package/dist/compat/lib/sender.vue.js +1 -0
  171. package/dist/compat/lib/sender.vue2.js +1 -0
  172. package/dist/compat/lib/sources/index.d.ts +2 -0
  173. package/dist/compat/lib/sources/index.js +1 -0
  174. package/dist/compat/lib/sources.vue.d.ts +2 -0
  175. package/dist/compat/lib/sources.vue.js +1 -0
  176. package/dist/compat/lib/sources.vue2.js +1 -0
  177. package/dist/compat/lib/stream-reducer.d.ts +1 -0
  178. package/dist/compat/lib/stream-reducer.js +1 -0
  179. package/dist/compat/lib/thought-chain/index.d.ts +2 -0
  180. package/dist/compat/lib/thought-chain/index.js +1 -0
  181. package/dist/compat/lib/thought-chain.vue.d.ts +2 -0
  182. package/dist/compat/lib/thought-chain.vue.js +1 -0
  183. package/dist/compat/lib/thought-chain.vue2.js +1 -0
  184. package/dist/compat/lib/types.d.ts +1 -0
  185. package/dist/compat/lib/welcome/index.d.ts +2 -0
  186. package/dist/compat/lib/welcome/index.js +1 -0
  187. package/dist/compat/lib/welcome.vue.d.ts +2 -0
  188. package/dist/compat/lib/welcome.vue.js +1 -0
  189. package/dist/compat/lib/welcome.vue2.js +1 -0
  190. package/{es → dist/esm}/agent-execution.vue.js +1 -1
  191. package/{es → dist/esm}/agent-workbench.vue.js +9 -6
  192. package/{es → dist/esm}/form-field.vue.js +53 -43
  193. package/{es → dist/esm}/form.vue.js +7 -6
  194. package/dist/esm/full.js +42 -0
  195. package/dist/esm/index.js +39 -0
  196. package/dist/esm/package.json +6 -0
  197. package/dist/styles/actions/style.css +36 -0
  198. package/dist/styles/agent/style.css +3241 -0
  199. package/dist/styles/agent-workbench/style.css +2423 -0
  200. package/dist/styles/attachments/style.css +62 -0
  201. package/dist/styles/bubble/style.css +241 -0
  202. package/dist/styles/chat-panel/style.css +591 -0
  203. package/dist/styles/conversations/style.css +48 -0
  204. package/dist/styles/form/style.css +3175 -0
  205. package/dist/styles/process/style.css +77 -0
  206. package/dist/styles/prompts/style.css +76 -0
  207. package/dist/styles/sender/style.css +88 -0
  208. package/dist/styles/sources/style.css +54 -0
  209. package/{lib/agent-workbench → dist/styles}/style.css +254 -0
  210. package/dist/styles/thought-chain/style.css +77 -0
  211. package/dist/styles/welcome/style.css +33 -0
  212. package/dist/types/full.d.ts +6 -0
  213. package/{lib → dist/types}/index.d.ts +1 -2
  214. package/package.json +111 -85
  215. package/es/agent/style.css +0 -308
  216. package/es/form/style.css +0 -242
  217. package/es/index.d.ts +0 -20
  218. package/es/index.js +0 -42
  219. package/es/package.json +0 -3
  220. package/lib/actions/index.d.ts +0 -2
  221. package/lib/actions.vue.d.ts +0 -34
  222. package/lib/agent/index.d.ts +0 -5
  223. package/lib/agent/style.css +0 -308
  224. package/lib/agent-execution.vue.d.ts +0 -106
  225. package/lib/agent-execution.vue.js +0 -1
  226. package/lib/agent-workbench/index.d.ts +0 -2
  227. package/lib/agent-workbench.vue.d.ts +0 -186
  228. package/lib/agent-workbench.vue.js +0 -1
  229. package/lib/attachments/index.d.ts +0 -2
  230. package/lib/attachments.vue.d.ts +0 -39
  231. package/lib/bubble/index.d.ts +0 -2
  232. package/lib/bubble.vue.d.ts +0 -27
  233. package/lib/chat/index.d.ts +0 -11
  234. package/lib/chat-panel/index.d.ts +0 -3
  235. package/lib/chat-panel.vue.d.ts +0 -108
  236. package/lib/conversations/index.d.ts +0 -2
  237. package/lib/conversations.vue.d.ts +0 -39
  238. package/lib/form/index.d.ts +0 -3
  239. package/lib/form/style.css +0 -242
  240. package/lib/form-field.vue.d.ts +0 -28
  241. package/lib/form-field.vue.js +0 -1
  242. package/lib/form-schema.d.ts +0 -73
  243. package/lib/form.vue.d.ts +0 -81
  244. package/lib/form.vue.js +0 -1
  245. package/lib/index.js +0 -1
  246. package/lib/package.json +0 -3
  247. package/lib/process/index.d.ts +0 -2
  248. package/lib/process.vue.d.ts +0 -30
  249. package/lib/prompts/index.d.ts +0 -2
  250. package/lib/prompts.vue.d.ts +0 -39
  251. package/lib/safe-markdown.d.ts +0 -3
  252. package/lib/sender/index.d.ts +0 -2
  253. package/lib/sender.vue.d.ts +0 -52
  254. package/lib/sources/index.d.ts +0 -2
  255. package/lib/sources.vue.d.ts +0 -30
  256. package/lib/stream-reducer.d.ts +0 -35
  257. package/lib/thought-chain/index.d.ts +0 -2
  258. package/lib/thought-chain.vue.d.ts +0 -30
  259. package/lib/types.d.ts +0 -203
  260. package/lib/welcome/index.d.ts +0 -2
  261. package/lib/welcome.vue.d.ts +0 -41
  262. /package/{lib → dist/cjs}/actions/index.js +0 -0
  263. /package/{lib → dist/cjs}/actions.vue.js +0 -0
  264. /package/{lib → dist/cjs}/actions.vue2.js +0 -0
  265. /package/{lib → dist/cjs}/agent/index.js +0 -0
  266. /package/{lib → dist/cjs}/agent-execution.vue2.js +0 -0
  267. /package/{lib → dist/cjs}/agent-workbench/index.js +0 -0
  268. /package/{lib → dist/cjs}/agent-workbench.vue2.js +0 -0
  269. /package/{lib → dist/cjs}/attachments/index.js +0 -0
  270. /package/{lib → dist/cjs}/attachments.vue.js +0 -0
  271. /package/{lib → dist/cjs}/attachments.vue2.js +0 -0
  272. /package/{lib → dist/cjs}/bubble/index.js +0 -0
  273. /package/{lib → dist/cjs}/bubble.vue.js +0 -0
  274. /package/{lib → dist/cjs}/bubble.vue2.js +0 -0
  275. /package/{lib → dist/cjs}/chat/index.js +0 -0
  276. /package/{lib → dist/cjs}/chat-panel/index.js +0 -0
  277. /package/{lib → dist/cjs}/chat-panel.vue.js +0 -0
  278. /package/{lib → dist/cjs}/chat-panel.vue2.js +0 -0
  279. /package/{lib → dist/cjs}/conversations/index.js +0 -0
  280. /package/{lib → dist/cjs}/conversations.vue.js +0 -0
  281. /package/{lib → dist/cjs}/conversations.vue2.js +0 -0
  282. /package/{lib → dist/cjs}/form/index.js +0 -0
  283. /package/{lib → dist/cjs}/form-field.vue2.js +0 -0
  284. /package/{lib → dist/cjs}/form-schema.js +0 -0
  285. /package/{lib → dist/cjs}/form.vue2.js +0 -0
  286. /package/{lib → dist/cjs}/process/index.js +0 -0
  287. /package/{lib → dist/cjs}/process.vue.js +0 -0
  288. /package/{lib → dist/cjs}/process.vue2.js +0 -0
  289. /package/{lib → dist/cjs}/prompts/index.js +0 -0
  290. /package/{lib → dist/cjs}/prompts.vue.js +0 -0
  291. /package/{lib → dist/cjs}/prompts.vue2.js +0 -0
  292. /package/{lib → dist/cjs}/safe-markdown.js +0 -0
  293. /package/{lib → dist/cjs}/sender/index.js +0 -0
  294. /package/{lib → dist/cjs}/sender.vue.js +0 -0
  295. /package/{lib → dist/cjs}/sender.vue2.js +0 -0
  296. /package/{lib → dist/cjs}/sources/index.js +0 -0
  297. /package/{lib → dist/cjs}/sources.vue.js +0 -0
  298. /package/{lib → dist/cjs}/sources.vue2.js +0 -0
  299. /package/{lib → dist/cjs}/stream-reducer.js +0 -0
  300. /package/{lib → dist/cjs}/thought-chain/index.js +0 -0
  301. /package/{lib → dist/cjs}/thought-chain.vue.js +0 -0
  302. /package/{lib → dist/cjs}/thought-chain.vue2.js +0 -0
  303. /package/{lib → dist/cjs}/welcome/index.js +0 -0
  304. /package/{lib → dist/cjs}/welcome.vue.js +0 -0
  305. /package/{lib → dist/cjs}/welcome.vue2.js +0 -0
  306. /package/{es → dist/compat/es}/actions/style.css +0 -0
  307. /package/{es → dist/compat/es}/attachments/style.css +0 -0
  308. /package/{es → dist/compat/es}/bubble/style.css +0 -0
  309. /package/{es/chat-panel → dist/compat/es/chat}/style.css +0 -0
  310. /package/{es → dist/compat/es}/conversations/style.css +0 -0
  311. /package/{es → dist/compat/es}/process/style.css +0 -0
  312. /package/{es → dist/compat/es}/prompts/style.css +0 -0
  313. /package/{es → dist/compat/es}/sender/style.css +0 -0
  314. /package/{es → dist/compat/es}/sources/style.css +0 -0
  315. /package/{es → dist/compat/es}/style.css +0 -0
  316. /package/{es → dist/compat/es}/thought-chain/style.css +0 -0
  317. /package/{es → dist/compat/es}/welcome/style.css +0 -0
  318. /package/{lib → dist/compat/lib}/actions/style.css +0 -0
  319. /package/{lib → dist/compat/lib}/attachments/style.css +0 -0
  320. /package/{lib → dist/compat/lib}/bubble/style.css +0 -0
  321. /package/{es → dist/compat/lib}/chat/style.css +0 -0
  322. /package/{lib → dist/compat/lib}/conversations/style.css +0 -0
  323. /package/{lib → dist/compat/lib}/process/style.css +0 -0
  324. /package/{lib → dist/compat/lib}/prompts/style.css +0 -0
  325. /package/{lib → dist/compat/lib}/sender/style.css +0 -0
  326. /package/{lib → dist/compat/lib}/sources/style.css +0 -0
  327. /package/{lib → dist/compat/lib}/style.css +0 -0
  328. /package/{lib → dist/compat/lib}/thought-chain/style.css +0 -0
  329. /package/{lib → dist/compat/lib}/welcome/style.css +0 -0
  330. /package/{es → dist/esm}/actions/index.js +0 -0
  331. /package/{es → dist/esm}/actions.vue.js +0 -0
  332. /package/{es → dist/esm}/actions.vue2.js +0 -0
  333. /package/{es → dist/esm}/agent/index.js +0 -0
  334. /package/{es → dist/esm}/agent-execution.vue2.js +0 -0
  335. /package/{es → dist/esm}/agent-workbench/index.js +0 -0
  336. /package/{es → dist/esm}/agent-workbench.vue2.js +0 -0
  337. /package/{es → dist/esm}/attachments/index.js +0 -0
  338. /package/{es → dist/esm}/attachments.vue.js +0 -0
  339. /package/{es → dist/esm}/attachments.vue2.js +0 -0
  340. /package/{es → dist/esm}/bubble/index.js +0 -0
  341. /package/{es → dist/esm}/bubble.vue.js +0 -0
  342. /package/{es → dist/esm}/bubble.vue2.js +0 -0
  343. /package/{es → dist/esm}/chat/index.js +0 -0
  344. /package/{es → dist/esm}/chat-panel/index.js +0 -0
  345. /package/{es → dist/esm}/chat-panel.vue.js +0 -0
  346. /package/{es → dist/esm}/chat-panel.vue2.js +0 -0
  347. /package/{es → dist/esm}/conversations/index.js +0 -0
  348. /package/{es → dist/esm}/conversations.vue.js +0 -0
  349. /package/{es → dist/esm}/conversations.vue2.js +0 -0
  350. /package/{es → dist/esm}/form/index.js +0 -0
  351. /package/{es → dist/esm}/form-field.vue2.js +0 -0
  352. /package/{es → dist/esm}/form-schema.js +0 -0
  353. /package/{es → dist/esm}/form.vue2.js +0 -0
  354. /package/{es → dist/esm}/process/index.js +0 -0
  355. /package/{es → dist/esm}/process.vue.js +0 -0
  356. /package/{es → dist/esm}/process.vue2.js +0 -0
  357. /package/{es → dist/esm}/prompts/index.js +0 -0
  358. /package/{es → dist/esm}/prompts.vue.js +0 -0
  359. /package/{es → dist/esm}/prompts.vue2.js +0 -0
  360. /package/{es → dist/esm}/safe-markdown.js +0 -0
  361. /package/{es → dist/esm}/sender/index.js +0 -0
  362. /package/{es → dist/esm}/sender.vue.js +0 -0
  363. /package/{es → dist/esm}/sender.vue2.js +0 -0
  364. /package/{es → dist/esm}/sources/index.js +0 -0
  365. /package/{es → dist/esm}/sources.vue.js +0 -0
  366. /package/{es → dist/esm}/sources.vue2.js +0 -0
  367. /package/{es → dist/esm}/stream-reducer.js +0 -0
  368. /package/{es → dist/esm}/thought-chain/index.js +0 -0
  369. /package/{es → dist/esm}/thought-chain.vue.js +0 -0
  370. /package/{es → dist/esm}/thought-chain.vue2.js +0 -0
  371. /package/{es → dist/esm}/welcome/index.js +0 -0
  372. /package/{es → dist/esm}/welcome.vue.js +0 -0
  373. /package/{es → dist/esm}/welcome.vue2.js +0 -0
  374. /package/{lib/chat-panel → dist/styles/chat}/style.css +0 -0
  375. /package/{es → dist/types}/actions/index.d.ts +0 -0
  376. /package/{es → dist/types}/actions.vue.d.ts +0 -0
  377. /package/{es → dist/types}/agent/index.d.ts +0 -0
  378. /package/{es → dist/types}/agent-execution.vue.d.ts +0 -0
  379. /package/{es → dist/types}/agent-workbench/index.d.ts +0 -0
  380. /package/{es → dist/types}/agent-workbench.vue.d.ts +0 -0
  381. /package/{es → dist/types}/attachments/index.d.ts +0 -0
  382. /package/{es → dist/types}/attachments.vue.d.ts +0 -0
  383. /package/{es → dist/types}/bubble/index.d.ts +0 -0
  384. /package/{es → dist/types}/bubble.vue.d.ts +0 -0
  385. /package/{es → dist/types}/chat/index.d.ts +0 -0
  386. /package/{es → dist/types}/chat-panel/index.d.ts +0 -0
  387. /package/{es → dist/types}/chat-panel.vue.d.ts +0 -0
  388. /package/{es → dist/types}/conversations/index.d.ts +0 -0
  389. /package/{es → dist/types}/conversations.vue.d.ts +0 -0
  390. /package/{es → dist/types}/form/index.d.ts +0 -0
  391. /package/{es → dist/types}/form-field.vue.d.ts +0 -0
  392. /package/{es → dist/types}/form-schema.d.ts +0 -0
  393. /package/{es → dist/types}/form.vue.d.ts +0 -0
  394. /package/{es → dist/types}/process/index.d.ts +0 -0
  395. /package/{es → dist/types}/process.vue.d.ts +0 -0
  396. /package/{es → dist/types}/prompts/index.d.ts +0 -0
  397. /package/{es → dist/types}/prompts.vue.d.ts +0 -0
  398. /package/{es → dist/types}/safe-markdown.d.ts +0 -0
  399. /package/{es → dist/types}/sender/index.d.ts +0 -0
  400. /package/{es → dist/types}/sender.vue.d.ts +0 -0
  401. /package/{es → dist/types}/sources/index.d.ts +0 -0
  402. /package/{es → dist/types}/sources.vue.d.ts +0 -0
  403. /package/{es → dist/types}/stream-reducer.d.ts +0 -0
  404. /package/{es → dist/types}/thought-chain/index.d.ts +0 -0
  405. /package/{es → dist/types}/thought-chain.vue.d.ts +0 -0
  406. /package/{es → dist/types}/types.d.ts +0 -0
  407. /package/{es → dist/types}/welcome/index.d.ts +0 -0
  408. /package/{es → dist/types}/welcome.vue.d.ts +0 -0
@@ -1,35 +0,0 @@
1
- import type { AIMessage, AIStreamEventV2 } from './types';
2
- export type AIStreamDiagnosticKind = 'accepted' | 'duplicate' | 'buffered' | 'stale' | 'gap' | 'protocol-error' | 'terminal-no-op';
3
- export interface AIStreamReducerState {
4
- requestId: string;
5
- messageId: string;
6
- cursor: {
7
- afterSequence: number;
8
- revision: number;
9
- };
10
- message: AIMessage;
11
- status: 'idle' | 'streaming' | 'reconnecting' | 'completed' | 'cancelled' | 'error';
12
- recoveryRequired: boolean;
13
- diagnostic: {
14
- kind: AIStreamDiagnosticKind;
15
- sequence?: number;
16
- reason?: string;
17
- };
18
- }
19
- export interface AIStreamReducerOptions {
20
- requestId: string;
21
- messageId: string;
22
- maxReconnectAttempts?: number;
23
- initialMessage?: AIMessage;
24
- }
25
- export interface AIStreamReducer {
26
- dispatch(event: AIStreamEventV2): AIStreamReducerState;
27
- reduce(event: AIStreamEventV2): AIStreamReducerState;
28
- recover(options?: {
29
- reason?: string;
30
- }): AIStreamReducerState;
31
- failRecovery(reason?: string, retryable?: boolean): AIStreamReducerState;
32
- getState(): AIStreamReducerState;
33
- }
34
- export declare const createAIStreamReducer: (options: AIStreamReducerOptions) => AIStreamReducer;
35
- export declare const reduceAIStreamEvent: (state: AIStreamReducer, event: AIStreamEventV2) => AIStreamReducerState;
@@ -1,2 +0,0 @@
1
- export { default as AIThoughtChain, default } from '../thought-chain.vue';
2
- export type * from '../types';
@@ -1,30 +0,0 @@
1
- import type { AIProcessItem } from './types';
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
- items?: AIProcessItem[] | undefined;
4
- }>, {
5
- items: () => never[];
6
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
- items?: AIProcessItem[] | undefined;
8
- }>, {
9
- items: () => never[];
10
- }>>> & Readonly<{}>, {
11
- items: AIProcessItem[];
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
- export default _default;
14
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
- type __VLS_TypePropsToRuntimeProps<T> = {
16
- [K in keyof T]-?: {} extends Pick<T, K> ? {
17
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
- } : {
19
- type: import('vue').PropType<T[K]>;
20
- required: true;
21
- };
22
- };
23
- type __VLS_WithDefaults<P, D> = {
24
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
25
- default: D[K];
26
- }> : P[K];
27
- };
28
- type __VLS_Prettify<T> = {
29
- [K in keyof T]: T[K];
30
- } & {};
package/lib/types.d.ts DELETED
@@ -1,203 +0,0 @@
1
- export type AIMessageRole = 'user' | 'assistant' | 'system' | 'tool';
2
- export type AIMessageStatus = 'complete' | 'streaming' | 'stopped' | 'error';
3
- export type AIProcessStatus = 'pending' | 'running' | 'complete' | 'stopped' | 'error';
4
- export interface AIAttachment {
5
- id: string;
6
- name: string;
7
- url?: string;
8
- type?: string;
9
- size?: number;
10
- }
11
- export interface AISource {
12
- id: string;
13
- title: string;
14
- url?: string;
15
- description?: string;
16
- }
17
- export interface AIProcessItem {
18
- id: string;
19
- label: string;
20
- status: AIProcessStatus;
21
- detail?: string;
22
- }
23
- export interface AIMessage {
24
- id: string;
25
- role: AIMessageRole;
26
- content: string;
27
- status?: AIMessageStatus;
28
- attachments?: AIAttachment[];
29
- sources?: AISource[];
30
- process?: AIProcessItem[];
31
- error?: string;
32
- retryable?: boolean;
33
- toolCall?: AIToolCallDisplay;
34
- }
35
- export interface AIToolCallDisplay {
36
- id: string;
37
- name: string;
38
- summary: string;
39
- inputStatus?: 'pending' | 'ready' | 'redacted';
40
- inputSummary?: string;
41
- resultStatus?: 'pending' | 'success' | 'error';
42
- resultSummary?: string;
43
- error?: string;
44
- }
45
- export type AIContentRenderer = (message: AIMessage) => VNodeChild;
46
- export type AIChatAction = 'send' | 'retry' | 'regenerate' | 'edit';
47
- export interface AIChatRequest {
48
- conversationId?: string;
49
- messages: AIMessage[];
50
- action?: AIChatAction;
51
- messageId?: string;
52
- }
53
- export type AIStreamEvent = {
54
- type: 'text-delta';
55
- delta: string;
56
- } | {
57
- type: 'process';
58
- item: AIProcessItem;
59
- } | {
60
- type: 'sources';
61
- sources: AISource[];
62
- } | {
63
- type: 'done';
64
- } | {
65
- type: 'cancelled';
66
- } | {
67
- type: 'error';
68
- error: string;
69
- };
70
- export interface AITransport {
71
- send(request: AIChatRequest, signal: AbortSignal): AsyncIterable<AIStreamEvent>;
72
- }
73
- export interface AIStreamEventBaseV2 {
74
- version: '2';
75
- requestId: string;
76
- messageId: string;
77
- sequence: number;
78
- revision: number;
79
- }
80
- export type AIStreamEventV2 = (AIStreamEventBaseV2 & {
81
- type: 'text-delta';
82
- delta: string;
83
- }) | (AIStreamEventBaseV2 & {
84
- type: 'process-upsert';
85
- item: AIProcessItem;
86
- }) | (AIStreamEventBaseV2 & {
87
- type: 'sources-replace';
88
- sources: AISource[];
89
- }) | (AIStreamEventBaseV2 & {
90
- type: 'snapshot';
91
- message: AIMessage;
92
- }) | (AIStreamEventBaseV2 & {
93
- type: 'final';
94
- message: AIMessage;
95
- }) | (AIStreamEventBaseV2 & {
96
- type: 'cancelled';
97
- reason?: string;
98
- }) | (AIStreamEventBaseV2 & {
99
- type: 'error';
100
- error: string;
101
- retryable?: boolean;
102
- });
103
- export interface AIChatResumeCursorV2 {
104
- afterSequence: number;
105
- revision: number;
106
- }
107
- export interface AIChatRequestV2 extends Omit<AIChatRequest, 'messageId'> {
108
- version: '2';
109
- requestId: string;
110
- messageId: string;
111
- targetMessageId?: string;
112
- idempotencyKey: string;
113
- resume?: AIChatResumeCursorV2;
114
- }
115
- export interface AITransportV2 {
116
- version: '2';
117
- send(request: AIChatRequestV2, signal: AbortSignal): AsyncIterable<AIStreamEventV2>;
118
- resume?(request: AIChatRequestV2, signal: AbortSignal): AsyncIterable<AIStreamEventV2>;
119
- }
120
- export interface AIPrompt {
121
- key: string;
122
- label: string;
123
- description?: string;
124
- }
125
- export interface AIConversation {
126
- key: string;
127
- label: string;
128
- disabled?: boolean;
129
- }
130
- export interface AIAction {
131
- key: string;
132
- label: string;
133
- disabled?: boolean;
134
- }
135
- export type AIAgentTaskStatus = 'pending' | 'running' | 'waiting-approval' | 'complete' | 'error' | 'cancelled';
136
- export type AIAgentApprovalStatus = 'pending' | 'approved' | 'rejected';
137
- export type AIAgentTaskKind = 'task' | 'tool' | 'approval';
138
- export interface AIAgentApproval {
139
- id: string;
140
- title: string;
141
- description?: string;
142
- artifactId?: string;
143
- status?: AIAgentApprovalStatus;
144
- }
145
- export interface AIAgentTask {
146
- id: string;
147
- label: string;
148
- status: AIAgentTaskStatus;
149
- kind?: AIAgentTaskKind;
150
- detail?: string;
151
- error?: string;
152
- toolName?: string;
153
- progress?: number;
154
- startedAt?: string;
155
- completedAt?: string;
156
- approval?: AIAgentApproval;
157
- revision?: string | number;
158
- dependsOn?: string[];
159
- reorderable?: boolean;
160
- lockedReason?: string;
161
- toolCall?: AIToolCallDisplay;
162
- }
163
- export interface AIAgentContextItem {
164
- id: string;
165
- label: string;
166
- description?: string;
167
- disabled?: boolean;
168
- }
169
- export interface AIAgentArtifact {
170
- id: string;
171
- title: string;
172
- description?: string;
173
- type?: string;
174
- url?: string;
175
- status?: 'draft' | 'ready' | 'error';
176
- updatedAt?: string;
177
- revision?: string | number;
178
- }
179
- export type AIAgentOperationAction = 'approve' | 'reject' | 'cancel' | 'retry';
180
- export type AIAgentOperationStatus = 'idle' | 'pending' | 'success' | 'error';
181
- export interface AIAgentOperationRequest {
182
- operationId: string;
183
- idempotencyKey: string;
184
- conversationId?: string;
185
- taskId: string;
186
- taskRevision: string | number;
187
- action: AIAgentOperationAction;
188
- approvalId?: string;
189
- artifactId?: string;
190
- artifactRevision?: string | number;
191
- }
192
- export type AIAgentOperationResult = {
193
- status: 'success';
194
- operationId: string;
195
- } | {
196
- status: 'error';
197
- operationId: string;
198
- error: string;
199
- retryable?: boolean;
200
- outcome?: 'not-applied' | 'unknown';
201
- };
202
- export type AIAgentActionHandler = (request: AIAgentOperationRequest, signal: AbortSignal) => Promise<AIAgentOperationResult>;
203
- import type { VNodeChild } from 'vue';
@@ -1,2 +0,0 @@
1
- export { default as AIWelcome, default } from '../welcome.vue';
2
- export type * from '../types';
@@ -1,41 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- title?: string | undefined;
3
- description?: string | undefined;
4
- }>, {
5
- title: string;
6
- description: undefined;
7
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
- title?: string | undefined;
9
- description?: string | undefined;
10
- }>, {
11
- title: string;
12
- description: undefined;
13
- }>>> & Readonly<{}>, {
14
- title: string;
15
- description: string;
16
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
17
- default?(_: {}): any;
18
- }>;
19
- export default _default;
20
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
- type __VLS_TypePropsToRuntimeProps<T> = {
22
- [K in keyof T]-?: {} extends Pick<T, K> ? {
23
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
- } : {
25
- type: import('vue').PropType<T[K]>;
26
- required: true;
27
- };
28
- };
29
- type __VLS_WithDefaults<P, D> = {
30
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
31
- default: D[K];
32
- }> : P[K];
33
- };
34
- type __VLS_Prettify<T> = {
35
- [K in keyof T]: T[K];
36
- } & {};
37
- type __VLS_WithTemplateSlots<T, S> = T & {
38
- new (): {
39
- $slots: S;
40
- };
41
- };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes