@aheart-ui/ai 1.2.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 (400) hide show
  1. package/dist/cjs/full.js +1 -0
  2. package/dist/cjs/index.js +1 -0
  3. package/dist/cjs/package.json +6 -0
  4. package/dist/compat/es/actions/index.d.ts +2 -0
  5. package/dist/compat/es/actions/index.js +2 -0
  6. package/dist/compat/es/actions.vue.d.ts +2 -0
  7. package/dist/compat/es/actions.vue.js +2 -0
  8. package/dist/compat/es/actions.vue2.js +2 -0
  9. package/dist/compat/es/agent/index.d.ts +1 -0
  10. package/dist/compat/es/agent/index.js +1 -0
  11. package/dist/compat/es/agent-execution.vue.d.ts +2 -0
  12. package/dist/compat/es/agent-execution.vue.js +2 -0
  13. package/dist/compat/es/agent-execution.vue2.js +2 -0
  14. package/dist/compat/es/agent-workbench/index.d.ts +2 -0
  15. package/dist/compat/es/agent-workbench/index.js +2 -0
  16. package/dist/compat/es/agent-workbench.vue.d.ts +2 -0
  17. package/dist/compat/es/agent-workbench.vue.js +2 -0
  18. package/dist/compat/es/agent-workbench.vue2.js +2 -0
  19. package/dist/compat/es/attachments/index.d.ts +2 -0
  20. package/dist/compat/es/attachments/index.js +2 -0
  21. package/dist/compat/es/attachments.vue.d.ts +2 -0
  22. package/dist/compat/es/attachments.vue.js +2 -0
  23. package/dist/compat/es/attachments.vue2.js +2 -0
  24. package/dist/compat/es/bubble/index.d.ts +2 -0
  25. package/dist/compat/es/bubble/index.js +2 -0
  26. package/dist/compat/es/bubble.vue.d.ts +2 -0
  27. package/dist/compat/es/bubble.vue.js +2 -0
  28. package/dist/compat/es/bubble.vue2.js +2 -0
  29. package/dist/compat/es/chat/index.d.ts +1 -0
  30. package/dist/compat/es/chat/index.js +1 -0
  31. package/dist/compat/es/chat-panel/index.d.ts +2 -0
  32. package/dist/compat/es/chat-panel/index.js +2 -0
  33. package/dist/compat/es/chat-panel.vue.d.ts +2 -0
  34. package/dist/compat/es/chat-panel.vue.js +2 -0
  35. package/dist/compat/es/chat-panel.vue2.js +2 -0
  36. package/dist/compat/es/conversations/index.d.ts +2 -0
  37. package/dist/compat/es/conversations/index.js +2 -0
  38. package/dist/compat/es/conversations.vue.d.ts +2 -0
  39. package/dist/compat/es/conversations.vue.js +2 -0
  40. package/dist/compat/es/conversations.vue2.js +2 -0
  41. package/dist/compat/es/form/index.d.ts +2 -0
  42. package/dist/compat/es/form/index.js +2 -0
  43. package/dist/compat/es/form-field.vue.d.ts +2 -0
  44. package/dist/compat/es/form-field.vue.js +2 -0
  45. package/dist/compat/es/form-field.vue2.js +2 -0
  46. package/dist/compat/es/form-schema.d.ts +1 -0
  47. package/dist/compat/es/form-schema.js +1 -0
  48. package/dist/compat/es/form.vue.d.ts +2 -0
  49. package/dist/compat/es/form.vue.js +2 -0
  50. package/dist/compat/es/form.vue2.js +2 -0
  51. package/dist/compat/es/full.d.ts +2 -0
  52. package/dist/compat/es/full.js +2 -0
  53. package/dist/compat/es/index.d.ts +2 -0
  54. package/dist/compat/es/index.js +2 -0
  55. package/dist/compat/es/package.json +6 -0
  56. package/dist/compat/es/process/index.d.ts +2 -0
  57. package/dist/compat/es/process/index.js +2 -0
  58. package/dist/compat/es/process.vue.d.ts +2 -0
  59. package/dist/compat/es/process.vue.js +2 -0
  60. package/dist/compat/es/process.vue2.js +2 -0
  61. package/dist/compat/es/prompts/index.d.ts +2 -0
  62. package/dist/compat/es/prompts/index.js +2 -0
  63. package/dist/compat/es/prompts.vue.d.ts +2 -0
  64. package/dist/compat/es/prompts.vue.js +2 -0
  65. package/dist/compat/es/prompts.vue2.js +2 -0
  66. package/dist/compat/es/safe-markdown.d.ts +1 -0
  67. package/dist/compat/es/safe-markdown.js +1 -0
  68. package/dist/compat/es/sender/index.d.ts +2 -0
  69. package/dist/compat/es/sender/index.js +2 -0
  70. package/dist/compat/es/sender.vue.d.ts +2 -0
  71. package/dist/compat/es/sender.vue.js +2 -0
  72. package/dist/compat/es/sender.vue2.js +2 -0
  73. package/dist/compat/es/sources/index.d.ts +2 -0
  74. package/dist/compat/es/sources/index.js +2 -0
  75. package/dist/compat/es/sources.vue.d.ts +2 -0
  76. package/dist/compat/es/sources.vue.js +2 -0
  77. package/dist/compat/es/sources.vue2.js +2 -0
  78. package/dist/compat/es/stream-reducer.d.ts +1 -0
  79. package/dist/compat/es/stream-reducer.js +1 -0
  80. package/dist/compat/es/thought-chain/index.d.ts +2 -0
  81. package/dist/compat/es/thought-chain/index.js +2 -0
  82. package/dist/compat/es/thought-chain.vue.d.ts +2 -0
  83. package/dist/compat/es/thought-chain.vue.js +2 -0
  84. package/dist/compat/es/thought-chain.vue2.js +2 -0
  85. package/dist/compat/es/types.d.ts +1 -0
  86. package/dist/compat/es/welcome/index.d.ts +2 -0
  87. package/dist/compat/es/welcome/index.js +2 -0
  88. package/dist/compat/es/welcome.vue.d.ts +2 -0
  89. package/dist/compat/es/welcome.vue.js +2 -0
  90. package/dist/compat/es/welcome.vue2.js +2 -0
  91. package/dist/compat/lib/actions/index.d.ts +2 -0
  92. package/dist/compat/lib/actions/index.js +1 -0
  93. package/dist/compat/lib/actions.vue.d.ts +2 -0
  94. package/dist/compat/lib/actions.vue.js +1 -0
  95. package/dist/compat/lib/actions.vue2.js +1 -0
  96. package/dist/compat/lib/agent/index.d.ts +1 -0
  97. package/dist/compat/lib/agent/index.js +1 -0
  98. package/dist/compat/lib/agent-execution.vue.d.ts +2 -0
  99. package/dist/compat/lib/agent-execution.vue.js +1 -0
  100. package/dist/compat/lib/agent-execution.vue2.js +1 -0
  101. package/dist/compat/lib/agent-workbench/index.d.ts +2 -0
  102. package/dist/compat/lib/agent-workbench/index.js +1 -0
  103. package/dist/compat/lib/agent-workbench.vue.d.ts +2 -0
  104. package/dist/compat/lib/agent-workbench.vue.js +1 -0
  105. package/dist/compat/lib/agent-workbench.vue2.js +1 -0
  106. package/dist/compat/lib/attachments/index.d.ts +2 -0
  107. package/dist/compat/lib/attachments/index.js +1 -0
  108. package/dist/compat/lib/attachments.vue.d.ts +2 -0
  109. package/dist/compat/lib/attachments.vue.js +1 -0
  110. package/dist/compat/lib/attachments.vue2.js +1 -0
  111. package/dist/compat/lib/bubble/index.d.ts +2 -0
  112. package/dist/compat/lib/bubble/index.js +1 -0
  113. package/dist/compat/lib/bubble.vue.d.ts +2 -0
  114. package/dist/compat/lib/bubble.vue.js +1 -0
  115. package/dist/compat/lib/bubble.vue2.js +1 -0
  116. package/dist/compat/lib/chat/index.d.ts +1 -0
  117. package/dist/compat/lib/chat/index.js +1 -0
  118. package/dist/compat/lib/chat-panel/index.d.ts +2 -0
  119. package/dist/compat/lib/chat-panel/index.js +1 -0
  120. package/dist/compat/lib/chat-panel.vue.d.ts +2 -0
  121. package/dist/compat/lib/chat-panel.vue.js +1 -0
  122. package/dist/compat/lib/chat-panel.vue2.js +1 -0
  123. package/dist/compat/lib/conversations/index.d.ts +2 -0
  124. package/dist/compat/lib/conversations/index.js +1 -0
  125. package/dist/compat/lib/conversations.vue.d.ts +2 -0
  126. package/dist/compat/lib/conversations.vue.js +1 -0
  127. package/dist/compat/lib/conversations.vue2.js +1 -0
  128. package/dist/compat/lib/form/index.d.ts +2 -0
  129. package/dist/compat/lib/form/index.js +1 -0
  130. package/dist/compat/lib/form-field.vue.d.ts +2 -0
  131. package/dist/compat/lib/form-field.vue.js +1 -0
  132. package/dist/compat/lib/form-field.vue2.js +1 -0
  133. package/dist/compat/lib/form-schema.d.ts +1 -0
  134. package/dist/compat/lib/form-schema.js +1 -0
  135. package/dist/compat/lib/form.vue.d.ts +2 -0
  136. package/dist/compat/lib/form.vue.js +1 -0
  137. package/dist/compat/lib/form.vue2.js +1 -0
  138. package/dist/compat/lib/full.d.ts +2 -0
  139. package/dist/compat/lib/full.js +1 -0
  140. package/dist/compat/lib/index.d.ts +2 -0
  141. package/dist/compat/lib/index.js +1 -0
  142. package/dist/compat/lib/package.json +6 -0
  143. package/dist/compat/lib/process/index.d.ts +2 -0
  144. package/dist/compat/lib/process/index.js +1 -0
  145. package/dist/compat/lib/process.vue.d.ts +2 -0
  146. package/dist/compat/lib/process.vue.js +1 -0
  147. package/dist/compat/lib/process.vue2.js +1 -0
  148. package/dist/compat/lib/prompts/index.d.ts +2 -0
  149. package/dist/compat/lib/prompts/index.js +1 -0
  150. package/dist/compat/lib/prompts.vue.d.ts +2 -0
  151. package/dist/compat/lib/prompts.vue.js +1 -0
  152. package/dist/compat/lib/prompts.vue2.js +1 -0
  153. package/dist/compat/lib/safe-markdown.d.ts +1 -0
  154. package/dist/compat/lib/safe-markdown.js +1 -0
  155. package/dist/compat/lib/sender/index.d.ts +2 -0
  156. package/dist/compat/lib/sender/index.js +1 -0
  157. package/dist/compat/lib/sender.vue.d.ts +2 -0
  158. package/dist/compat/lib/sender.vue.js +1 -0
  159. package/dist/compat/lib/sender.vue2.js +1 -0
  160. package/dist/compat/lib/sources/index.d.ts +2 -0
  161. package/dist/compat/lib/sources/index.js +1 -0
  162. package/dist/compat/lib/sources.vue.d.ts +2 -0
  163. package/dist/compat/lib/sources.vue.js +1 -0
  164. package/dist/compat/lib/sources.vue2.js +1 -0
  165. package/dist/compat/lib/stream-reducer.d.ts +1 -0
  166. package/dist/compat/lib/stream-reducer.js +1 -0
  167. package/dist/compat/lib/thought-chain/index.d.ts +2 -0
  168. package/dist/compat/lib/thought-chain/index.js +1 -0
  169. package/dist/compat/lib/thought-chain.vue.d.ts +2 -0
  170. package/dist/compat/lib/thought-chain.vue.js +1 -0
  171. package/dist/compat/lib/thought-chain.vue2.js +1 -0
  172. package/dist/compat/lib/types.d.ts +1 -0
  173. package/dist/compat/lib/welcome/index.d.ts +2 -0
  174. package/dist/compat/lib/welcome/index.js +1 -0
  175. package/dist/compat/lib/welcome.vue.d.ts +2 -0
  176. package/dist/compat/lib/welcome.vue.js +1 -0
  177. package/dist/compat/lib/welcome.vue2.js +1 -0
  178. package/dist/esm/full.js +42 -0
  179. package/dist/esm/index.js +39 -0
  180. package/dist/esm/package.json +6 -0
  181. package/dist/styles/actions/style.css +36 -0
  182. package/dist/styles/agent/style.css +3241 -0
  183. package/dist/styles/agent-workbench/style.css +2423 -0
  184. package/dist/styles/attachments/style.css +62 -0
  185. package/dist/styles/bubble/style.css +241 -0
  186. package/dist/styles/chat/style.css +595 -0
  187. package/dist/styles/chat-panel/style.css +591 -0
  188. package/dist/styles/conversations/style.css +48 -0
  189. package/dist/styles/form/style.css +3175 -0
  190. package/dist/styles/process/style.css +77 -0
  191. package/dist/styles/prompts/style.css +76 -0
  192. package/dist/styles/sender/style.css +88 -0
  193. package/dist/styles/sources/style.css +54 -0
  194. package/dist/styles/style.css +1586 -0
  195. package/dist/styles/thought-chain/style.css +77 -0
  196. package/dist/styles/welcome/style.css +33 -0
  197. package/dist/types/full.d.ts +6 -0
  198. package/{lib → dist/types}/index.d.ts +1 -2
  199. package/package.json +111 -85
  200. package/es/index.d.ts +0 -20
  201. package/es/index.js +0 -42
  202. package/es/package.json +0 -3
  203. package/lib/actions/index.d.ts +0 -2
  204. package/lib/actions.vue.d.ts +0 -34
  205. package/lib/agent/index.d.ts +0 -5
  206. package/lib/agent-execution.vue.d.ts +0 -106
  207. package/lib/agent-workbench/index.d.ts +0 -2
  208. package/lib/agent-workbench.vue.d.ts +0 -186
  209. package/lib/attachments/index.d.ts +0 -2
  210. package/lib/attachments.vue.d.ts +0 -39
  211. package/lib/bubble/index.d.ts +0 -2
  212. package/lib/bubble.vue.d.ts +0 -27
  213. package/lib/chat/index.d.ts +0 -11
  214. package/lib/chat-panel/index.d.ts +0 -3
  215. package/lib/chat-panel.vue.d.ts +0 -108
  216. package/lib/conversations/index.d.ts +0 -2
  217. package/lib/conversations.vue.d.ts +0 -39
  218. package/lib/form/index.d.ts +0 -3
  219. package/lib/form-field.vue.d.ts +0 -28
  220. package/lib/form-schema.d.ts +0 -73
  221. package/lib/form.vue.d.ts +0 -81
  222. package/lib/index.js +0 -1
  223. package/lib/package.json +0 -3
  224. package/lib/process/index.d.ts +0 -2
  225. package/lib/process.vue.d.ts +0 -30
  226. package/lib/prompts/index.d.ts +0 -2
  227. package/lib/prompts.vue.d.ts +0 -39
  228. package/lib/safe-markdown.d.ts +0 -3
  229. package/lib/sender/index.d.ts +0 -2
  230. package/lib/sender.vue.d.ts +0 -52
  231. package/lib/sources/index.d.ts +0 -2
  232. package/lib/sources.vue.d.ts +0 -30
  233. package/lib/stream-reducer.d.ts +0 -35
  234. package/lib/thought-chain/index.d.ts +0 -2
  235. package/lib/thought-chain.vue.d.ts +0 -30
  236. package/lib/types.d.ts +0 -203
  237. package/lib/welcome/index.d.ts +0 -2
  238. package/lib/welcome.vue.d.ts +0 -41
  239. /package/{lib → dist/cjs}/actions/index.js +0 -0
  240. /package/{lib → dist/cjs}/actions.vue.js +0 -0
  241. /package/{lib → dist/cjs}/actions.vue2.js +0 -0
  242. /package/{lib → dist/cjs}/agent/index.js +0 -0
  243. /package/{lib → dist/cjs}/agent-execution.vue.js +0 -0
  244. /package/{lib → dist/cjs}/agent-execution.vue2.js +0 -0
  245. /package/{lib → dist/cjs}/agent-workbench/index.js +0 -0
  246. /package/{lib → dist/cjs}/agent-workbench.vue.js +0 -0
  247. /package/{lib → dist/cjs}/agent-workbench.vue2.js +0 -0
  248. /package/{lib → dist/cjs}/attachments/index.js +0 -0
  249. /package/{lib → dist/cjs}/attachments.vue.js +0 -0
  250. /package/{lib → dist/cjs}/attachments.vue2.js +0 -0
  251. /package/{lib → dist/cjs}/bubble/index.js +0 -0
  252. /package/{lib → dist/cjs}/bubble.vue.js +0 -0
  253. /package/{lib → dist/cjs}/bubble.vue2.js +0 -0
  254. /package/{lib → dist/cjs}/chat/index.js +0 -0
  255. /package/{lib → dist/cjs}/chat-panel/index.js +0 -0
  256. /package/{lib → dist/cjs}/chat-panel.vue.js +0 -0
  257. /package/{lib → dist/cjs}/chat-panel.vue2.js +0 -0
  258. /package/{lib → dist/cjs}/conversations/index.js +0 -0
  259. /package/{lib → dist/cjs}/conversations.vue.js +0 -0
  260. /package/{lib → dist/cjs}/conversations.vue2.js +0 -0
  261. /package/{lib → dist/cjs}/form/index.js +0 -0
  262. /package/{lib → dist/cjs}/form-field.vue.js +0 -0
  263. /package/{lib → dist/cjs}/form-field.vue2.js +0 -0
  264. /package/{lib → dist/cjs}/form-schema.js +0 -0
  265. /package/{lib → dist/cjs}/form.vue.js +0 -0
  266. /package/{lib → dist/cjs}/form.vue2.js +0 -0
  267. /package/{lib → dist/cjs}/process/index.js +0 -0
  268. /package/{lib → dist/cjs}/process.vue.js +0 -0
  269. /package/{lib → dist/cjs}/process.vue2.js +0 -0
  270. /package/{lib → dist/cjs}/prompts/index.js +0 -0
  271. /package/{lib → dist/cjs}/prompts.vue.js +0 -0
  272. /package/{lib → dist/cjs}/prompts.vue2.js +0 -0
  273. /package/{lib → dist/cjs}/safe-markdown.js +0 -0
  274. /package/{lib → dist/cjs}/sender/index.js +0 -0
  275. /package/{lib → dist/cjs}/sender.vue.js +0 -0
  276. /package/{lib → dist/cjs}/sender.vue2.js +0 -0
  277. /package/{lib → dist/cjs}/sources/index.js +0 -0
  278. /package/{lib → dist/cjs}/sources.vue.js +0 -0
  279. /package/{lib → dist/cjs}/sources.vue2.js +0 -0
  280. /package/{lib → dist/cjs}/stream-reducer.js +0 -0
  281. /package/{lib → dist/cjs}/thought-chain/index.js +0 -0
  282. /package/{lib → dist/cjs}/thought-chain.vue.js +0 -0
  283. /package/{lib → dist/cjs}/thought-chain.vue2.js +0 -0
  284. /package/{lib → dist/cjs}/welcome/index.js +0 -0
  285. /package/{lib → dist/cjs}/welcome.vue.js +0 -0
  286. /package/{lib → dist/cjs}/welcome.vue2.js +0 -0
  287. /package/{es → dist/compat/es}/actions/style.css +0 -0
  288. /package/{es → dist/compat/es}/agent/style.css +0 -0
  289. /package/{es → dist/compat/es}/agent-workbench/style.css +0 -0
  290. /package/{es → dist/compat/es}/attachments/style.css +0 -0
  291. /package/{es → dist/compat/es}/bubble/style.css +0 -0
  292. /package/{es → dist/compat/es}/chat/style.css +0 -0
  293. /package/{es → dist/compat/es}/chat-panel/style.css +0 -0
  294. /package/{es → dist/compat/es}/conversations/style.css +0 -0
  295. /package/{es → dist/compat/es}/form/style.css +0 -0
  296. /package/{es → dist/compat/es}/process/style.css +0 -0
  297. /package/{es → dist/compat/es}/prompts/style.css +0 -0
  298. /package/{es → dist/compat/es}/sender/style.css +0 -0
  299. /package/{es → dist/compat/es}/sources/style.css +0 -0
  300. /package/{es → dist/compat/es}/style.css +0 -0
  301. /package/{es → dist/compat/es}/thought-chain/style.css +0 -0
  302. /package/{es → dist/compat/es}/welcome/style.css +0 -0
  303. /package/{lib → dist/compat/lib}/actions/style.css +0 -0
  304. /package/{lib → dist/compat/lib}/agent/style.css +0 -0
  305. /package/{lib → dist/compat/lib}/agent-workbench/style.css +0 -0
  306. /package/{lib → dist/compat/lib}/attachments/style.css +0 -0
  307. /package/{lib → dist/compat/lib}/bubble/style.css +0 -0
  308. /package/{lib → dist/compat/lib}/chat/style.css +0 -0
  309. /package/{lib → dist/compat/lib}/chat-panel/style.css +0 -0
  310. /package/{lib → dist/compat/lib}/conversations/style.css +0 -0
  311. /package/{lib → dist/compat/lib}/form/style.css +0 -0
  312. /package/{lib → dist/compat/lib}/process/style.css +0 -0
  313. /package/{lib → dist/compat/lib}/prompts/style.css +0 -0
  314. /package/{lib → dist/compat/lib}/sender/style.css +0 -0
  315. /package/{lib → dist/compat/lib}/sources/style.css +0 -0
  316. /package/{lib → dist/compat/lib}/style.css +0 -0
  317. /package/{lib → dist/compat/lib}/thought-chain/style.css +0 -0
  318. /package/{lib → dist/compat/lib}/welcome/style.css +0 -0
  319. /package/{es → dist/esm}/actions/index.js +0 -0
  320. /package/{es → dist/esm}/actions.vue.js +0 -0
  321. /package/{es → dist/esm}/actions.vue2.js +0 -0
  322. /package/{es → dist/esm}/agent/index.js +0 -0
  323. /package/{es → dist/esm}/agent-execution.vue.js +0 -0
  324. /package/{es → dist/esm}/agent-execution.vue2.js +0 -0
  325. /package/{es → dist/esm}/agent-workbench/index.js +0 -0
  326. /package/{es → dist/esm}/agent-workbench.vue.js +0 -0
  327. /package/{es → dist/esm}/agent-workbench.vue2.js +0 -0
  328. /package/{es → dist/esm}/attachments/index.js +0 -0
  329. /package/{es → dist/esm}/attachments.vue.js +0 -0
  330. /package/{es → dist/esm}/attachments.vue2.js +0 -0
  331. /package/{es → dist/esm}/bubble/index.js +0 -0
  332. /package/{es → dist/esm}/bubble.vue.js +0 -0
  333. /package/{es → dist/esm}/bubble.vue2.js +0 -0
  334. /package/{es → dist/esm}/chat/index.js +0 -0
  335. /package/{es → dist/esm}/chat-panel/index.js +0 -0
  336. /package/{es → dist/esm}/chat-panel.vue.js +0 -0
  337. /package/{es → dist/esm}/chat-panel.vue2.js +0 -0
  338. /package/{es → dist/esm}/conversations/index.js +0 -0
  339. /package/{es → dist/esm}/conversations.vue.js +0 -0
  340. /package/{es → dist/esm}/conversations.vue2.js +0 -0
  341. /package/{es → dist/esm}/form/index.js +0 -0
  342. /package/{es → dist/esm}/form-field.vue.js +0 -0
  343. /package/{es → dist/esm}/form-field.vue2.js +0 -0
  344. /package/{es → dist/esm}/form-schema.js +0 -0
  345. /package/{es → dist/esm}/form.vue.js +0 -0
  346. /package/{es → dist/esm}/form.vue2.js +0 -0
  347. /package/{es → dist/esm}/process/index.js +0 -0
  348. /package/{es → dist/esm}/process.vue.js +0 -0
  349. /package/{es → dist/esm}/process.vue2.js +0 -0
  350. /package/{es → dist/esm}/prompts/index.js +0 -0
  351. /package/{es → dist/esm}/prompts.vue.js +0 -0
  352. /package/{es → dist/esm}/prompts.vue2.js +0 -0
  353. /package/{es → dist/esm}/safe-markdown.js +0 -0
  354. /package/{es → dist/esm}/sender/index.js +0 -0
  355. /package/{es → dist/esm}/sender.vue.js +0 -0
  356. /package/{es → dist/esm}/sender.vue2.js +0 -0
  357. /package/{es → dist/esm}/sources/index.js +0 -0
  358. /package/{es → dist/esm}/sources.vue.js +0 -0
  359. /package/{es → dist/esm}/sources.vue2.js +0 -0
  360. /package/{es → dist/esm}/stream-reducer.js +0 -0
  361. /package/{es → dist/esm}/thought-chain/index.js +0 -0
  362. /package/{es → dist/esm}/thought-chain.vue.js +0 -0
  363. /package/{es → dist/esm}/thought-chain.vue2.js +0 -0
  364. /package/{es → dist/esm}/welcome/index.js +0 -0
  365. /package/{es → dist/esm}/welcome.vue.js +0 -0
  366. /package/{es → dist/esm}/welcome.vue2.js +0 -0
  367. /package/{es → dist/types}/actions/index.d.ts +0 -0
  368. /package/{es → dist/types}/actions.vue.d.ts +0 -0
  369. /package/{es → dist/types}/agent/index.d.ts +0 -0
  370. /package/{es → dist/types}/agent-execution.vue.d.ts +0 -0
  371. /package/{es → dist/types}/agent-workbench/index.d.ts +0 -0
  372. /package/{es → dist/types}/agent-workbench.vue.d.ts +0 -0
  373. /package/{es → dist/types}/attachments/index.d.ts +0 -0
  374. /package/{es → dist/types}/attachments.vue.d.ts +0 -0
  375. /package/{es → dist/types}/bubble/index.d.ts +0 -0
  376. /package/{es → dist/types}/bubble.vue.d.ts +0 -0
  377. /package/{es → dist/types}/chat/index.d.ts +0 -0
  378. /package/{es → dist/types}/chat-panel/index.d.ts +0 -0
  379. /package/{es → dist/types}/chat-panel.vue.d.ts +0 -0
  380. /package/{es → dist/types}/conversations/index.d.ts +0 -0
  381. /package/{es → dist/types}/conversations.vue.d.ts +0 -0
  382. /package/{es → dist/types}/form/index.d.ts +0 -0
  383. /package/{es → dist/types}/form-field.vue.d.ts +0 -0
  384. /package/{es → dist/types}/form-schema.d.ts +0 -0
  385. /package/{es → dist/types}/form.vue.d.ts +0 -0
  386. /package/{es → dist/types}/process/index.d.ts +0 -0
  387. /package/{es → dist/types}/process.vue.d.ts +0 -0
  388. /package/{es → dist/types}/prompts/index.d.ts +0 -0
  389. /package/{es → dist/types}/prompts.vue.d.ts +0 -0
  390. /package/{es → dist/types}/safe-markdown.d.ts +0 -0
  391. /package/{es → dist/types}/sender/index.d.ts +0 -0
  392. /package/{es → dist/types}/sender.vue.d.ts +0 -0
  393. /package/{es → dist/types}/sources/index.d.ts +0 -0
  394. /package/{es → dist/types}/sources.vue.d.ts +0 -0
  395. /package/{es → dist/types}/stream-reducer.d.ts +0 -0
  396. /package/{es → dist/types}/thought-chain/index.d.ts +0 -0
  397. /package/{es → dist/types}/thought-chain.vue.d.ts +0 -0
  398. /package/{es → dist/types}/types.d.ts +0 -0
  399. /package/{es → dist/types}/welcome/index.d.ts +0 -0
  400. /package/{es → dist/types}/welcome.vue.d.ts +0 -0
@@ -0,0 +1,77 @@
1
+ :root {
2
+ --aheart-ai-cyan: #0e7490;
3
+ --aheart-ai-cyan-strong: #0e7490;
4
+ --aheart-ai-brand-strong: #0958d9;
5
+ --aheart-ai-cyan-soft: #ecfeff;
6
+ --aheart-ai-line: #e4e7ec;
7
+ --aheart-ai-surface: #ffffff;
8
+ --aheart-ai-surface-subtle: #f8fafc;
9
+ --aheart-ai-text: #182230;
10
+ --aheart-ai-text-secondary: #667085;
11
+ }
12
+
13
+ .aheart-ai-process h3 {
14
+ margin: 0;
15
+ }
16
+
17
+ .aheart-ai-process small {
18
+ display: block;
19
+ color: var(--aheart-ai-text-secondary);
20
+ font-size: 12px;
21
+ }
22
+
23
+ .aheart-ai-process {
24
+ display: grid;
25
+ gap: 8px;
26
+ }
27
+
28
+ .aheart-ai-process ol {
29
+ margin: 0;
30
+ padding: 0;
31
+ list-style: none;
32
+ }
33
+
34
+ .aheart-ai-process h3 {
35
+ font-size: 12px;
36
+ color: var(--aheart-ai-text-secondary);
37
+ }
38
+
39
+ .aheart-ai-process ol {
40
+ display: grid;
41
+ gap: 6px;
42
+ }
43
+
44
+ .aheart-ai-process li {
45
+ position: relative;
46
+ display: grid;
47
+ gap: 2px;
48
+ padding-inline-start: 16px;
49
+ }
50
+
51
+ .aheart-ai-process li::before {
52
+ content: "";
53
+ position: absolute;
54
+ inset-block-start: 7px;
55
+ inset-inline-start: 2px;
56
+ inline-size: 6px;
57
+ block-size: 6px;
58
+ border-radius: 50%;
59
+ background: #98a2b3;
60
+ }
61
+
62
+ .aheart-ai-process li.is-running::before {
63
+ background: var(--aheart-ai-cyan);
64
+ box-shadow: 0 0 0 3px #cffafe;
65
+ }
66
+
67
+ .aheart-ai-process li.is-complete::before {
68
+ background: #12b76a;
69
+ }
70
+
71
+ .aheart-ai-process li.is-stopped::before {
72
+ background: #98a2b3;
73
+ }
74
+
75
+ .aheart-ai-process li.is-error {
76
+ color: var(--aheart-color-danger, #d92d20);
77
+ }
@@ -0,0 +1,33 @@
1
+ :root {
2
+ --aheart-ai-cyan: #0e7490;
3
+ --aheart-ai-cyan-strong: #0e7490;
4
+ --aheart-ai-brand-strong: #0958d9;
5
+ --aheart-ai-cyan-soft: #ecfeff;
6
+ --aheart-ai-line: #e4e7ec;
7
+ --aheart-ai-surface: #ffffff;
8
+ --aheart-ai-surface-subtle: #f8fafc;
9
+ --aheart-ai-text: #182230;
10
+ --aheart-ai-text-secondary: #667085;
11
+ }
12
+
13
+ .aheart-ai-welcome {
14
+ display: grid;
15
+ gap: 6px;
16
+ max-inline-size: 620px;
17
+ }
18
+
19
+ .aheart-ai-welcome__title,
20
+ .aheart-ai-welcome__description {
21
+ margin: 0;
22
+ }
23
+
24
+ .aheart-ai-welcome__title {
25
+ color: var(--aheart-ai-text);
26
+ font-size: 24px;
27
+ line-height: 1.35;
28
+ }
29
+
30
+ .aheart-ai-welcome__description {
31
+ color: var(--aheart-ai-text-secondary);
32
+ line-height: 1.65;
33
+ }
@@ -0,0 +1,6 @@
1
+ import type { Plugin } from 'vue';
2
+ import AIAgentWorkbench from './agent-workbench.vue';
3
+ export * from './index';
4
+ export { AIAgentWorkbench };
5
+ declare const plugin: Plugin;
6
+ export default plugin;
@@ -10,8 +10,7 @@ import AISources from './sources.vue';
10
10
  import AIThoughtChain from './thought-chain.vue';
11
11
  import AIWelcome from './welcome.vue';
12
12
  import AIForm from './form.vue';
13
- import AIAgentWorkbench from './agent-workbench.vue';
14
- export { AIActions, AIAgentWorkbench, AIAttachments, AIBubble, AIChatPanel, AIConversations, AIForm, AIProcess, AIPrompts, AISender, AISources, AIThoughtChain, AIWelcome };
13
+ export { AIActions, AIAttachments, AIBubble, AIChatPanel, AIConversations, AIForm, AIProcess, AIPrompts, AISender, AISources, AIThoughtChain, AIWelcome };
15
14
  export * from './types';
16
15
  export * from './form-schema';
17
16
  export * from './stream-reducer';
package/package.json CHANGED
@@ -1,129 +1,150 @@
1
1
  {
2
2
  "name": "@aheart-ui/ai",
3
- "version": "1.2.0",
3
+ "version": "2.0.0-alpha.0",
4
4
  "description": "Vue 3 AI interface components for Aheart UI.",
5
- "main": "lib/index.js",
6
- "module": "es/index.js",
7
- "types": "es/index.d.ts",
5
+ "main": "dist/cjs/index.js",
6
+ "module": "dist/esm/index.js",
7
+ "types": "dist/types/index.d.ts",
8
8
  "sideEffects": [
9
9
  "**/*.css"
10
10
  ],
11
11
  "exports": {
12
12
  ".": {
13
- "types": "./es/index.d.ts",
14
- "import": "./es/index.js",
15
- "require": "./lib/index.js"
13
+ "types": "./dist/types/index.d.ts",
14
+ "import": "./dist/esm/index.js",
15
+ "require": "./dist/cjs/index.js"
16
16
  },
17
- "./style.css": "./es/style.css",
18
- "./es/*": "./es/*",
19
- "./lib/*": "./lib/*",
17
+ "./style.css": "./dist/styles/style.css",
18
+ "./es/*": "./dist/compat/es/*",
19
+ "./lib/*": "./dist/compat/lib/*",
20
20
  "./package.json": "./package.json",
21
21
  "./actions": {
22
- "types": "./es/actions/index.d.ts",
23
- "import": "./es/actions/index.js",
24
- "require": "./lib/actions/index.js"
22
+ "types": "./dist/types/actions/index.d.ts",
23
+ "import": "./dist/esm/actions/index.js",
24
+ "require": "./dist/cjs/actions/index.js"
25
25
  },
26
- "./actions/style.css": "./es/actions/style.css",
26
+ "./actions/style.css": "./dist/styles/actions/style.css",
27
27
  "./attachments": {
28
- "types": "./es/attachments/index.d.ts",
29
- "import": "./es/attachments/index.js",
30
- "require": "./lib/attachments/index.js"
28
+ "types": "./dist/types/attachments/index.d.ts",
29
+ "import": "./dist/esm/attachments/index.js",
30
+ "require": "./dist/cjs/attachments/index.js"
31
31
  },
32
- "./attachments/style.css": "./es/attachments/style.css",
32
+ "./attachments/style.css": "./dist/styles/attachments/style.css",
33
33
  "./bubble": {
34
- "types": "./es/bubble/index.d.ts",
35
- "import": "./es/bubble/index.js",
36
- "require": "./lib/bubble/index.js"
34
+ "types": "./dist/types/bubble/index.d.ts",
35
+ "import": "./dist/esm/bubble/index.js",
36
+ "require": "./dist/cjs/bubble/index.js"
37
37
  },
38
- "./bubble/style.css": "./es/bubble/style.css",
38
+ "./bubble/style.css": "./dist/styles/bubble/style.css",
39
39
  "./conversations": {
40
- "types": "./es/conversations/index.d.ts",
41
- "import": "./es/conversations/index.js",
42
- "require": "./lib/conversations/index.js"
40
+ "types": "./dist/types/conversations/index.d.ts",
41
+ "import": "./dist/esm/conversations/index.js",
42
+ "require": "./dist/cjs/conversations/index.js"
43
43
  },
44
- "./conversations/style.css": "./es/conversations/style.css",
44
+ "./conversations/style.css": "./dist/styles/conversations/style.css",
45
45
  "./form": {
46
- "types": "./es/form/index.d.ts",
47
- "import": "./es/form/index.js",
48
- "require": "./lib/form/index.js"
46
+ "types": "./dist/types/form/index.d.ts",
47
+ "import": "./dist/esm/form/index.js",
48
+ "require": "./dist/cjs/form/index.js"
49
49
  },
50
- "./form/style.css": "./es/form/style.css",
50
+ "./form/style.css": "./dist/styles/form/style.css",
51
51
  "./process": {
52
- "types": "./es/process/index.d.ts",
53
- "import": "./es/process/index.js",
54
- "require": "./lib/process/index.js"
52
+ "types": "./dist/types/process/index.d.ts",
53
+ "import": "./dist/esm/process/index.js",
54
+ "require": "./dist/cjs/process/index.js"
55
55
  },
56
- "./process/style.css": "./es/process/style.css",
56
+ "./process/style.css": "./dist/styles/process/style.css",
57
57
  "./prompts": {
58
- "types": "./es/prompts/index.d.ts",
59
- "import": "./es/prompts/index.js",
60
- "require": "./lib/prompts/index.js"
58
+ "types": "./dist/types/prompts/index.d.ts",
59
+ "import": "./dist/esm/prompts/index.js",
60
+ "require": "./dist/cjs/prompts/index.js"
61
61
  },
62
- "./prompts/style.css": "./es/prompts/style.css",
62
+ "./prompts/style.css": "./dist/styles/prompts/style.css",
63
63
  "./sender": {
64
- "types": "./es/sender/index.d.ts",
65
- "import": "./es/sender/index.js",
66
- "require": "./lib/sender/index.js"
64
+ "types": "./dist/types/sender/index.d.ts",
65
+ "import": "./dist/esm/sender/index.js",
66
+ "require": "./dist/cjs/sender/index.js"
67
67
  },
68
- "./sender/style.css": "./es/sender/style.css",
68
+ "./sender/style.css": "./dist/styles/sender/style.css",
69
69
  "./sources": {
70
- "types": "./es/sources/index.d.ts",
71
- "import": "./es/sources/index.js",
72
- "require": "./lib/sources/index.js"
70
+ "types": "./dist/types/sources/index.d.ts",
71
+ "import": "./dist/esm/sources/index.js",
72
+ "require": "./dist/cjs/sources/index.js"
73
73
  },
74
- "./sources/style.css": "./es/sources/style.css",
74
+ "./sources/style.css": "./dist/styles/sources/style.css",
75
75
  "./thought-chain": {
76
- "types": "./es/thought-chain/index.d.ts",
77
- "import": "./es/thought-chain/index.js",
78
- "require": "./lib/thought-chain/index.js"
76
+ "types": "./dist/types/thought-chain/index.d.ts",
77
+ "import": "./dist/esm/thought-chain/index.js",
78
+ "require": "./dist/cjs/thought-chain/index.js"
79
79
  },
80
- "./thought-chain/style.css": "./es/thought-chain/style.css",
80
+ "./thought-chain/style.css": "./dist/styles/thought-chain/style.css",
81
81
  "./welcome": {
82
- "types": "./es/welcome/index.d.ts",
83
- "import": "./es/welcome/index.js",
84
- "require": "./lib/welcome/index.js"
82
+ "types": "./dist/types/welcome/index.d.ts",
83
+ "import": "./dist/esm/welcome/index.js",
84
+ "require": "./dist/cjs/welcome/index.js"
85
85
  },
86
- "./welcome/style.css": "./es/welcome/style.css",
86
+ "./welcome/style.css": "./dist/styles/welcome/style.css",
87
87
  "./chat-panel": {
88
- "types": "./es/chat-panel/index.d.ts",
89
- "import": "./es/chat-panel/index.js",
90
- "require": "./lib/chat-panel/index.js"
88
+ "types": "./dist/types/chat-panel/index.d.ts",
89
+ "import": "./dist/esm/chat-panel/index.js",
90
+ "require": "./dist/cjs/chat-panel/index.js"
91
91
  },
92
- "./chat-panel/style.css": "./es/chat-panel/style.css",
92
+ "./chat-panel/style.css": "./dist/styles/chat-panel/style.css",
93
93
  "./agent-workbench": {
94
- "types": "./es/agent-workbench/index.d.ts",
95
- "import": "./es/agent-workbench/index.js",
96
- "require": "./lib/agent-workbench/index.js"
94
+ "types": "./dist/types/agent-workbench/index.d.ts",
95
+ "import": "./dist/esm/agent-workbench/index.js",
96
+ "require": "./dist/cjs/agent-workbench/index.js"
97
97
  },
98
- "./agent-workbench/style.css": "./es/agent-workbench/style.css",
98
+ "./agent-workbench/style.css": "./dist/styles/agent-workbench/style.css",
99
99
  "./chat": {
100
- "types": "./es/chat/index.d.ts",
101
- "import": "./es/chat/index.js",
102
- "require": "./lib/chat/index.js"
100
+ "types": "./dist/types/chat/index.d.ts",
101
+ "import": "./dist/esm/chat/index.js",
102
+ "require": "./dist/cjs/chat/index.js"
103
103
  },
104
- "./chat/style.css": "./es/chat/style.css",
104
+ "./chat/style.css": "./dist/styles/chat/style.css",
105
105
  "./agent": {
106
- "types": "./es/agent/index.d.ts",
107
- "import": "./es/agent/index.js",
108
- "require": "./lib/agent/index.js"
106
+ "types": "./dist/types/agent/index.d.ts",
107
+ "import": "./dist/esm/agent/index.js",
108
+ "require": "./dist/cjs/agent/index.js"
109
109
  },
110
- "./agent/style.css": "./es/agent/style.css",
110
+ "./agent/style.css": "./dist/styles/agent/style.css",
111
111
  "./workbench": {
112
- "types": "./es/agent-workbench/index.d.ts",
113
- "import": "./es/agent-workbench/index.js",
114
- "require": "./lib/agent-workbench/index.js"
112
+ "types": "./dist/types/agent-workbench/index.d.ts",
113
+ "import": "./dist/esm/agent-workbench/index.js",
114
+ "require": "./dist/cjs/agent-workbench/index.js"
115
115
  },
116
- "./workbench/style.css": "./es/agent-workbench/style.css",
116
+ "./workbench/style.css": "./dist/styles/agent-workbench/style.css",
117
117
  "./full": {
118
- "types": "./es/index.d.ts",
119
- "import": "./es/index.js",
120
- "require": "./lib/index.js"
121
- },
122
- "./full.css": "./es/style.css"
118
+ "types": "./dist/types/full.d.ts",
119
+ "import": "./dist/esm/full.js",
120
+ "require": "./dist/cjs/full.js"
121
+ },
122
+ "./full.css": "./dist/styles/style.css",
123
+ "./es/*.d.ts": "./dist/compat/es/*.d.ts",
124
+ "./es/*.css": "./dist/compat/es/*.css",
125
+ "./lib/*.d.ts": "./dist/compat/lib/*.d.ts",
126
+ "./lib/*.css": "./dist/compat/lib/*.css",
127
+ "./es/*.js": {
128
+ "types": "./dist/types/*.d.ts",
129
+ "default": "./dist/compat/es/*.js"
130
+ },
131
+ "./lib/*.js": {
132
+ "types": "./dist/types/*.d.ts",
133
+ "default": "./dist/compat/lib/*.js"
134
+ },
135
+ "./es/index.js": {
136
+ "types": "./dist/types/full.d.ts",
137
+ "default": "./dist/compat/es/index.js"
138
+ },
139
+ "./lib/index.js": {
140
+ "types": "./dist/types/full.d.ts",
141
+ "default": "./dist/compat/lib/index.js"
142
+ }
123
143
  },
124
144
  "files": [
125
- "es",
126
- "lib"
145
+ "dist",
146
+ "README.md",
147
+ "LICENSE"
127
148
  ],
128
149
  "keywords": [
129
150
  "aheart-ui",
@@ -146,16 +167,16 @@
146
167
  },
147
168
  "publishConfig": {
148
169
  "access": "public",
170
+ "tag": "next",
149
171
  "registry": "https://registry.npmjs.org/"
150
172
  },
151
173
  "peerDependencies": {
152
- "aheart-ui": "^1.4.0",
153
- "vue": ">=3.5.0 <4"
154
- },
155
- "dependencies": {
174
+ "aheart-ui": "^2.0.0-alpha.0",
175
+ "vue": ">=3.5.0 <4",
156
176
  "@aheart-ui/dnd": "^1.1.0"
157
177
  },
158
178
  "devDependencies": {
179
+ "@aheart-ui/dnd": "^1.1.0",
159
180
  "@vitejs/plugin-vue": "^5.0.3",
160
181
  "@vitest/coverage-v8": "1.6.1",
161
182
  "@vue/test-utils": "^2.4.6",
@@ -166,6 +187,11 @@
166
187
  "vue": "^3.5.38",
167
188
  "vue-tsc": "^2.0.29"
168
189
  },
190
+ "peerDependenciesMeta": {
191
+ "@aheart-ui/dnd": {
192
+ "optional": true
193
+ }
194
+ },
169
195
  "scripts": {
170
196
  "build": "vite build",
171
197
  "typecheck": "vue-tsc --noEmit -p tsconfig.json",
package/es/index.d.ts DELETED
@@ -1,20 +0,0 @@
1
- import AIChatPanel from './chat-panel.vue';
2
- import AIActions from './actions.vue';
3
- import AIAttachments from './attachments.vue';
4
- import AIBubble from './bubble.vue';
5
- import AIConversations from './conversations.vue';
6
- import AIProcess from './process.vue';
7
- import AIPrompts from './prompts.vue';
8
- import AISender from './sender.vue';
9
- import AISources from './sources.vue';
10
- import AIThoughtChain from './thought-chain.vue';
11
- import AIWelcome from './welcome.vue';
12
- import AIForm from './form.vue';
13
- import AIAgentWorkbench from './agent-workbench.vue';
14
- export { AIActions, AIAgentWorkbench, AIAttachments, AIBubble, AIChatPanel, AIConversations, AIForm, AIProcess, AIPrompts, AISender, AISources, AIThoughtChain, AIWelcome };
15
- export * from './types';
16
- export * from './form-schema';
17
- export * from './stream-reducer';
18
- declare const AheartAI: Plugin;
19
- export default AheartAI;
20
- import type { Plugin } from 'vue';
package/es/index.js DELETED
@@ -1,42 +0,0 @@
1
- import m from "./chat-panel.vue.js";
2
- import n from "./actions.vue.js";
3
- import t from "./attachments.vue.js";
4
- import e from "./bubble.vue.js";
5
- import r from "./conversations.vue.js";
6
- import A from "./process.vue.js";
7
- import s from "./prompts.vue.js";
8
- import c from "./sender.vue.js";
9
- import a from "./sources.vue.js";
10
- import i from "./thought-chain.vue.js";
11
- import I from "./welcome.vue.js";
12
- import _ from "./form.vue.js";
13
- import f from "./agent-workbench.vue.js";
14
- /* empty css */
15
- import { AI_FORM_CONDITION_OPERATORS as W, AI_FORM_FIELD_TYPES as x, validateAIFormSchema as k } from "./form-schema.js";
16
- import { createAIStreamReducer as D, reduceAIStreamEvent as M } from "./stream-reducer.js";
17
- const g = {
18
- install(o) {
19
- o.component("AAIActions", n), o.component("AAIAgentWorkbench", f), o.component("AAIAttachments", t), o.component("AAIBubble", e), o.component("AAIChatPanel", m), o.component("AAIConversations", r), o.component("AAIForm", _), o.component("AAIProcess", A), o.component("AAIPrompts", s), o.component("AAISender", c), o.component("AAISources", a), o.component("AAIThoughtChain", i), o.component("AAIWelcome", I);
20
- }
21
- };
22
- export {
23
- n as AIActions,
24
- f as AIAgentWorkbench,
25
- t as AIAttachments,
26
- e as AIBubble,
27
- m as AIChatPanel,
28
- r as AIConversations,
29
- _ as AIForm,
30
- A as AIProcess,
31
- s as AIPrompts,
32
- c as AISender,
33
- a as AISources,
34
- i as AIThoughtChain,
35
- I as AIWelcome,
36
- W as AI_FORM_CONDITION_OPERATORS,
37
- x as AI_FORM_FIELD_TYPES,
38
- D as createAIStreamReducer,
39
- g as default,
40
- M as reduceAIStreamEvent,
41
- k as validateAIFormSchema
42
- };
package/es/package.json DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "type": "module"
3
- }
@@ -1,2 +0,0 @@
1
- export { default as AIActions, default } from '../actions.vue';
2
- export type * from '../types';
@@ -1,34 +0,0 @@
1
- import type { AIAction } from './types';
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
- actions?: AIAction[] | undefined;
4
- }>, {
5
- actions: () => never[];
6
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- select: (action: AIAction) => void;
8
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
- actions?: AIAction[] | undefined;
10
- }>, {
11
- actions: () => never[];
12
- }>>> & Readonly<{
13
- onSelect?: ((action: AIAction) => any) | undefined;
14
- }>, {
15
- actions: AIAction[];
16
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
- export default _default;
18
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
- type __VLS_TypePropsToRuntimeProps<T> = {
20
- [K in keyof T]-?: {} extends Pick<T, K> ? {
21
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
- } : {
23
- type: import('vue').PropType<T[K]>;
24
- required: true;
25
- };
26
- };
27
- type __VLS_WithDefaults<P, D> = {
28
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
29
- default: D[K];
30
- }> : P[K];
31
- };
32
- type __VLS_Prettify<T> = {
33
- [K in keyof T]: T[K];
34
- } & {};
@@ -1,5 +0,0 @@
1
- export { default as AIProcess } from '../process.vue';
2
- export { default as AIThoughtChain } from '../thought-chain.vue';
3
- export { default as AIForm } from '../form.vue';
4
- export type * from '../types';
5
- export * from '../form-schema';
@@ -1,106 +0,0 @@
1
- import type { AIAgentArtifact, AIAgentTask } from './types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
- tasks?: AIAgentTask[] | undefined;
4
- artifacts?: AIAgentArtifact[] | undefined;
5
- activeArtifact?: string | undefined;
6
- disabled?: boolean | undefined;
7
- reorderable?: boolean | undefined;
8
- tasksRevision?: string | number | undefined;
9
- scopeKey?: string | undefined;
10
- actionDisabled?: ((task: AIAgentTask, action: string) => boolean) | undefined;
11
- operationMessages?: Record<string, string> | undefined;
12
- validateCandidate?: ((tasks: AIAgentTask[]) => string | undefined) | undefined;
13
- }>, {
14
- tasks: () => never[];
15
- artifacts: () => never[];
16
- activeArtifact: undefined;
17
- disabled: boolean;
18
- reorderable: boolean;
19
- scopeKey: string;
20
- actionDisabled: () => false;
21
- operationMessages: () => {};
22
- validateCandidate: () => undefined;
23
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
- retry: (task: AIAgentTask) => void;
25
- approve: (task: AIAgentTask) => void;
26
- reject: (task: AIAgentTask) => void;
27
- cancel: (task: AIAgentTask) => void;
28
- "update:tasks": (tasks: AIAgentTask[]) => void;
29
- "move-task": (id: string, direction: "up" | "down") => void;
30
- "move-task-reject": (reason: string) => void;
31
- "select-artifact": (artifact: AIAgentArtifact) => void;
32
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
33
- tasks?: AIAgentTask[] | undefined;
34
- artifacts?: AIAgentArtifact[] | undefined;
35
- activeArtifact?: string | undefined;
36
- disabled?: boolean | undefined;
37
- reorderable?: boolean | undefined;
38
- tasksRevision?: string | number | undefined;
39
- scopeKey?: string | undefined;
40
- actionDisabled?: ((task: AIAgentTask, action: string) => boolean) | undefined;
41
- operationMessages?: Record<string, string> | undefined;
42
- validateCandidate?: ((tasks: AIAgentTask[]) => string | undefined) | undefined;
43
- }>, {
44
- tasks: () => never[];
45
- artifacts: () => never[];
46
- activeArtifact: undefined;
47
- disabled: boolean;
48
- reorderable: boolean;
49
- scopeKey: string;
50
- actionDisabled: () => false;
51
- operationMessages: () => {};
52
- validateCandidate: () => undefined;
53
- }>>> & Readonly<{
54
- onRetry?: ((task: AIAgentTask) => any) | undefined;
55
- onApprove?: ((task: AIAgentTask) => any) | undefined;
56
- onReject?: ((task: AIAgentTask) => any) | undefined;
57
- onCancel?: ((task: AIAgentTask) => any) | undefined;
58
- "onUpdate:tasks"?: ((tasks: AIAgentTask[]) => any) | undefined;
59
- "onMove-task"?: ((id: string, direction: "up" | "down") => any) | undefined;
60
- "onMove-task-reject"?: ((reason: string) => any) | undefined;
61
- "onSelect-artifact"?: ((artifact: AIAgentArtifact) => any) | undefined;
62
- }>, {
63
- disabled: boolean;
64
- tasks: AIAgentTask[];
65
- artifacts: AIAgentArtifact[];
66
- activeArtifact: string;
67
- reorderable: boolean;
68
- scopeKey: string;
69
- actionDisabled: (task: AIAgentTask, action: string) => boolean;
70
- operationMessages: Record<string, string>;
71
- validateCandidate: (tasks: AIAgentTask[]) => string | undefined;
72
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
73
- task?(_: {
74
- task: AIAgentTask;
75
- index: number;
76
- }): any;
77
- artifact?(_: {
78
- artifact: AIAgentArtifact;
79
- }): any;
80
- "artifact-preview"?(_: {
81
- artifact: AIAgentArtifact;
82
- }): any;
83
- }>;
84
- export default _default;
85
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
86
- type __VLS_TypePropsToRuntimeProps<T> = {
87
- [K in keyof T]-?: {} extends Pick<T, K> ? {
88
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
89
- } : {
90
- type: import('vue').PropType<T[K]>;
91
- required: true;
92
- };
93
- };
94
- type __VLS_WithDefaults<P, D> = {
95
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
96
- default: D[K];
97
- }> : P[K];
98
- };
99
- type __VLS_Prettify<T> = {
100
- [K in keyof T]: T[K];
101
- } & {};
102
- type __VLS_WithTemplateSlots<T, S> = T & {
103
- new (): {
104
- $slots: S;
105
- };
106
- };
@@ -1,2 +0,0 @@
1
- export { default as AIAgentWorkbench, default } from '../agent-workbench.vue';
2
- export type * from '../types';