@compose-market/theme 0.0.3 → 0.0.5

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 (576) hide show
  1. package/dist/css/effects.css +197 -0
  2. package/dist/css/index.css +2 -0
  3. package/dist/css/index.d.ts +1 -1
  4. package/dist/css/index.d.ts.map +1 -1
  5. package/dist/css/index.js +1 -0
  6. package/dist/css/index.js.map +1 -1
  7. package/dist/css/shell.css +770 -0
  8. package/dist/effects/styles.d.ts +8 -0
  9. package/dist/effects/styles.d.ts.map +1 -0
  10. package/dist/effects/styles.js +205 -0
  11. package/dist/effects/styles.js.map +1 -0
  12. package/dist/index.d.ts +1 -0
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/index.js +1 -0
  15. package/dist/index.js.map +1 -1
  16. package/dist/shell/index.d.ts +114 -0
  17. package/dist/shell/index.d.ts.map +1 -0
  18. package/dist/shell/index.js +81 -0
  19. package/dist/shell/index.js.map +1 -0
  20. package/dist/shell/styles.d.ts +2 -0
  21. package/dist/shell/styles.d.ts.map +1 -0
  22. package/dist/shell/styles.js +772 -0
  23. package/dist/shell/styles.js.map +1 -0
  24. package/package.json +37 -7
  25. package/dist/components/RFAComponent.d.ts +0 -10
  26. package/dist/components/RFAComponent.d.ts.map +0 -1
  27. package/dist/components/RFAComponent.js +0 -288
  28. package/dist/components/RFAComponent.js.map +0 -1
  29. package/dist/components/RFADetails.d.ts +0 -9
  30. package/dist/components/RFADetails.d.ts.map +0 -1
  31. package/dist/components/RFADetails.js +0 -407
  32. package/dist/components/RFADetails.js.map +0 -1
  33. package/dist/components/agent-card.d.ts +0 -8
  34. package/dist/components/agent-card.d.ts.map +0 -1
  35. package/dist/components/agent-card.js +0 -216
  36. package/dist/components/agent-card.js.map +0 -1
  37. package/dist/components/backpack.d.ts +0 -21
  38. package/dist/components/backpack.d.ts.map +0 -1
  39. package/dist/components/backpack.js +0 -905
  40. package/dist/components/backpack.js.map +0 -1
  41. package/dist/components/blur.d.ts +0 -9
  42. package/dist/components/blur.d.ts.map +0 -1
  43. package/dist/components/blur.js +0 -60
  44. package/dist/components/blur.js.map +0 -1
  45. package/dist/components/brand/Logo.d.ts +0 -25
  46. package/dist/components/brand/Logo.d.ts.map +0 -1
  47. package/dist/components/brand/Logo.js +0 -53
  48. package/dist/components/brand/Logo.js.map +0 -1
  49. package/dist/components/brand/index.d.ts +0 -2
  50. package/dist/components/brand/index.d.ts.map +0 -1
  51. package/dist/components/brand/index.js +0 -2
  52. package/dist/components/brand/index.js.map +0 -1
  53. package/dist/components/chat.d.ts +0 -68
  54. package/dist/components/chat.d.ts.map +0 -1
  55. package/dist/components/chat.js +0 -618
  56. package/dist/components/chat.js.map +0 -1
  57. package/dist/components/compose/index.d.ts +0 -10
  58. package/dist/components/compose/index.d.ts.map +0 -1
  59. package/dist/components/compose/index.js +0 -13
  60. package/dist/components/compose/index.js.map +0 -1
  61. package/dist/components/compose/nodes/agent-node.d.ts +0 -11
  62. package/dist/components/compose/nodes/agent-node.d.ts.map +0 -1
  63. package/dist/components/compose/nodes/agent-node.js +0 -101
  64. package/dist/components/compose/nodes/agent-node.js.map +0 -1
  65. package/dist/components/compose/nodes/hook-node.d.ts +0 -11
  66. package/dist/components/compose/nodes/hook-node.d.ts.map +0 -1
  67. package/dist/components/compose/nodes/hook-node.js +0 -100
  68. package/dist/components/compose/nodes/hook-node.js.map +0 -1
  69. package/dist/components/compose/nodes/index.d.ts +0 -60
  70. package/dist/components/compose/nodes/index.d.ts.map +0 -1
  71. package/dist/components/compose/nodes/index.js +0 -22
  72. package/dist/components/compose/nodes/index.js.map +0 -1
  73. package/dist/components/compose/nodes/step-node.d.ts +0 -11
  74. package/dist/components/compose/nodes/step-node.d.ts.map +0 -1
  75. package/dist/components/compose/nodes/step-node.js +0 -88
  76. package/dist/components/compose/nodes/step-node.js.map +0 -1
  77. package/dist/components/compose/nodes/trigger-node.d.ts +0 -11
  78. package/dist/components/compose/nodes/trigger-node.d.ts.map +0 -1
  79. package/dist/components/compose/nodes/trigger-node.js +0 -92
  80. package/dist/components/compose/nodes/trigger-node.js.map +0 -1
  81. package/dist/components/compose/overlay.d.ts +0 -26
  82. package/dist/components/compose/overlay.d.ts.map +0 -1
  83. package/dist/components/compose/overlay.js +0 -48
  84. package/dist/components/compose/overlay.js.map +0 -1
  85. package/dist/components/compose/pickers/agents-picker.d.ts +0 -18
  86. package/dist/components/compose/pickers/agents-picker.d.ts.map +0 -1
  87. package/dist/components/compose/pickers/agents-picker.js +0 -180
  88. package/dist/components/compose/pickers/agents-picker.js.map +0 -1
  89. package/dist/components/compose/pickers/connector-detail.d.ts +0 -16
  90. package/dist/components/compose/pickers/connector-detail.d.ts.map +0 -1
  91. package/dist/components/compose/pickers/connector-detail.js +0 -236
  92. package/dist/components/compose/pickers/connector-detail.js.map +0 -1
  93. package/dist/components/compose/pickers/connector-picker.d.ts +0 -13
  94. package/dist/components/compose/pickers/connector-picker.d.ts.map +0 -1
  95. package/dist/components/compose/pickers/connector-picker.js +0 -101
  96. package/dist/components/compose/pickers/connector-picker.js.map +0 -1
  97. package/dist/components/compose/pickers/index.d.ts +0 -10
  98. package/dist/components/compose/pickers/index.d.ts.map +0 -1
  99. package/dist/components/compose/pickers/index.js +0 -10
  100. package/dist/components/compose/pickers/index.js.map +0 -1
  101. package/dist/components/compose/pickers/trigger-picker.d.ts +0 -13
  102. package/dist/components/compose/pickers/trigger-picker.d.ts.map +0 -1
  103. package/dist/components/compose/pickers/trigger-picker.js +0 -110
  104. package/dist/components/compose/pickers/trigger-picker.js.map +0 -1
  105. package/dist/components/compose/toolbox.d.ts +0 -24
  106. package/dist/components/compose/toolbox.d.ts.map +0 -1
  107. package/dist/components/compose/toolbox.js +0 -183
  108. package/dist/components/compose/toolbox.js.map +0 -1
  109. package/dist/components/connector.d.ts +0 -24
  110. package/dist/components/connector.d.ts.map +0 -1
  111. package/dist/components/connector.js +0 -263
  112. package/dist/components/connector.js.map +0 -1
  113. package/dist/components/dispenser.d.ts +0 -15
  114. package/dist/components/dispenser.d.ts.map +0 -1
  115. package/dist/components/dispenser.js +0 -323
  116. package/dist/components/dispenser.js.map +0 -1
  117. package/dist/components/layout/AppLayout.d.ts +0 -60
  118. package/dist/components/layout/AppLayout.d.ts.map +0 -1
  119. package/dist/components/layout/AppLayout.js +0 -265
  120. package/dist/components/layout/AppLayout.js.map +0 -1
  121. package/dist/components/layout/Layout.d.ts +0 -6
  122. package/dist/components/layout/Layout.d.ts.map +0 -1
  123. package/dist/components/layout/Layout.js +0 -186
  124. package/dist/components/layout/Layout.js.map +0 -1
  125. package/dist/components/layout/Sidebar.d.ts +0 -3
  126. package/dist/components/layout/Sidebar.d.ts.map +0 -1
  127. package/dist/components/layout/Sidebar.js +0 -160
  128. package/dist/components/layout/Sidebar.js.map +0 -1
  129. package/dist/components/layout/TopBar.d.ts +0 -6
  130. package/dist/components/layout/TopBar.d.ts.map +0 -1
  131. package/dist/components/layout/TopBar.js +0 -36
  132. package/dist/components/layout/TopBar.js.map +0 -1
  133. package/dist/components/layout/index.d.ts +0 -2
  134. package/dist/components/layout/index.d.ts.map +0 -1
  135. package/dist/components/layout/index.js +0 -2
  136. package/dist/components/layout/index.js.map +0 -1
  137. package/dist/components/lyria-player.d.ts +0 -23
  138. package/dist/components/lyria-player.d.ts.map +0 -1
  139. package/dist/components/lyria-player.js +0 -241
  140. package/dist/components/lyria-player.js.map +0 -1
  141. package/dist/components/manowar-card.d.ts +0 -8
  142. package/dist/components/manowar-card.d.ts.map +0 -1
  143. package/dist/components/manowar-card.js +0 -349
  144. package/dist/components/manowar-card.js.map +0 -1
  145. package/dist/components/mirror-pane.d.ts +0 -55
  146. package/dist/components/mirror-pane.d.ts.map +0 -1
  147. package/dist/components/mirror-pane.js +0 -330
  148. package/dist/components/mirror-pane.js.map +0 -1
  149. package/dist/components/model-selector.d.ts +0 -12
  150. package/dist/components/model-selector.d.ts.map +0 -1
  151. package/dist/components/model-selector.js +0 -148
  152. package/dist/components/model-selector.js.map +0 -1
  153. package/dist/components/output.d.ts +0 -26
  154. package/dist/components/output.d.ts.map +0 -1
  155. package/dist/components/output.js +0 -259
  156. package/dist/components/output.js.map +0 -1
  157. package/dist/components/partners.d.ts +0 -13
  158. package/dist/components/partners.d.ts.map +0 -1
  159. package/dist/components/partners.js +0 -210
  160. package/dist/components/partners.js.map +0 -1
  161. package/dist/components/plugin-tester.d.ts +0 -13
  162. package/dist/components/plugin-tester.d.ts.map +0 -1
  163. package/dist/components/plugin-tester.js +0 -907
  164. package/dist/components/plugin-tester.js.map +0 -1
  165. package/dist/components/session/SessionComponents.d.ts +0 -2
  166. package/dist/components/session/SessionComponents.d.ts.map +0 -1
  167. package/dist/components/session/SessionComponents.js +0 -2
  168. package/dist/components/session/SessionComponents.js.map +0 -1
  169. package/dist/components/session/index.d.ts +0 -2
  170. package/dist/components/session/index.d.ts.map +0 -1
  171. package/dist/components/session/index.js +0 -2
  172. package/dist/components/session/index.js.map +0 -1
  173. package/dist/components/session.d.ts +0 -58
  174. package/dist/components/session.d.ts.map +0 -1
  175. package/dist/components/session.js +0 -580
  176. package/dist/components/session.js.map +0 -1
  177. package/dist/components/share-dialog.d.ts +0 -9
  178. package/dist/components/share-dialog.d.ts.map +0 -1
  179. package/dist/components/share-dialog.js +0 -49
  180. package/dist/components/share-dialog.js.map +0 -1
  181. package/dist/components/ui/accordion.d.ts +0 -6
  182. package/dist/components/ui/accordion.d.ts.map +0 -1
  183. package/dist/components/ui/accordion.js +0 -20
  184. package/dist/components/ui/accordion.js.map +0 -1
  185. package/dist/components/ui/alert-dialog.d.ts +0 -20
  186. package/dist/components/ui/alert-dialog.d.ts.map +0 -1
  187. package/dist/components/ui/alert-dialog.js +0 -29
  188. package/dist/components/ui/alert-dialog.js.map +0 -1
  189. package/dist/components/ui/alert.d.ts +0 -5
  190. package/dist/components/ui/alert.d.ts.map +0 -1
  191. package/dist/components/ui/alert.js +0 -22
  192. package/dist/components/ui/alert.js.map +0 -1
  193. package/dist/components/ui/aspect-ratio.d.ts +0 -3
  194. package/dist/components/ui/aspect-ratio.d.ts.map +0 -1
  195. package/dist/components/ui/aspect-ratio.js +0 -4
  196. package/dist/components/ui/aspect-ratio.js.map +0 -1
  197. package/dist/components/ui/avatar.d.ts +0 -5
  198. package/dist/components/ui/avatar.d.ts.map +0 -1
  199. package/dist/components/ui/avatar.js +0 -12
  200. package/dist/components/ui/avatar.js.map +0 -1
  201. package/dist/components/ui/badge.d.ts +0 -8
  202. package/dist/components/ui/badge.d.ts.map +0 -1
  203. package/dist/components/ui/badge.js +0 -24
  204. package/dist/components/ui/badge.js.map +0 -1
  205. package/dist/components/ui/breadcrumb.d.ts +0 -16
  206. package/dist/components/ui/breadcrumb.d.ts.map +0 -1
  207. package/dist/components/ui/breadcrumb.js +0 -28
  208. package/dist/components/ui/breadcrumb.js.map +0 -1
  209. package/dist/components/ui/button-group.d.ts +0 -10
  210. package/dist/components/ui/button-group.d.ts.map +0 -1
  211. package/dist/components/ui/button-group.js +0 -27
  212. package/dist/components/ui/button-group.js.map +0 -1
  213. package/dist/components/ui/button.d.ts +0 -11
  214. package/dist/components/ui/button.d.ts.map +0 -1
  215. package/dist/components/ui/button.js +0 -42
  216. package/dist/components/ui/button.js.map +0 -1
  217. package/dist/components/ui/calendar.d.ts +0 -9
  218. package/dist/components/ui/calendar.d.ts.map +0 -1
  219. package/dist/components/ui/calendar.js +0 -78
  220. package/dist/components/ui/calendar.js.map +0 -1
  221. package/dist/components/ui/card.d.ts +0 -8
  222. package/dist/components/ui/card.d.ts.map +0 -1
  223. package/dist/components/ui/card.js +0 -17
  224. package/dist/components/ui/card.js.map +0 -1
  225. package/dist/components/ui/carousel.d.ts +0 -9
  226. package/dist/components/ui/carousel.d.ts.map +0 -1
  227. package/dist/components/ui/carousel.js +0 -110
  228. package/dist/components/ui/carousel.js.map +0 -1
  229. package/dist/components/ui/chart.d.ts +0 -28
  230. package/dist/components/ui/chart.d.ts.map +0 -1
  231. package/dist/components/ui/chart.js +0 -168
  232. package/dist/components/ui/chart.js.map +0 -1
  233. package/dist/components/ui/checkbox.d.ts +0 -3
  234. package/dist/components/ui/checkbox.d.ts.map +0 -1
  235. package/dist/components/ui/checkbox.js +0 -12
  236. package/dist/components/ui/checkbox.js.map +0 -1
  237. package/dist/components/ui/collapsible.d.ts +0 -5
  238. package/dist/components/ui/collapsible.d.ts.map +0 -1
  239. package/dist/components/ui/collapsible.js +0 -7
  240. package/dist/components/ui/collapsible.js.map +0 -1
  241. package/dist/components/ui/command.d.ts +0 -16
  242. package/dist/components/ui/command.d.ts.map +0 -1
  243. package/dist/components/ui/command.js +0 -38
  244. package/dist/components/ui/command.js.map +0 -1
  245. package/dist/components/ui/context-menu.d.ts +0 -21
  246. package/dist/components/ui/context-menu.d.ts.map +0 -1
  247. package/dist/components/ui/context-menu.js +0 -52
  248. package/dist/components/ui/context-menu.js.map +0 -1
  249. package/dist/components/ui/dialog.d.ts +0 -19
  250. package/dist/components/ui/dialog.d.ts.map +0 -1
  251. package/dist/components/ui/dialog.js +0 -31
  252. package/dist/components/ui/dialog.js.map +0 -1
  253. package/dist/components/ui/drawer.d.ts +0 -23
  254. package/dist/components/ui/drawer.d.ts.map +0 -1
  255. package/dist/components/ui/drawer.js +0 -28
  256. package/dist/components/ui/drawer.js.map +0 -1
  257. package/dist/components/ui/dropdown-menu.d.ts +0 -21
  258. package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
  259. package/dist/components/ui/dropdown-menu.js +0 -55
  260. package/dist/components/ui/dropdown-menu.js.map +0 -1
  261. package/dist/components/ui/empty.d.ts +0 -10
  262. package/dist/components/ui/empty.d.ts.map +0 -1
  263. package/dist/components/ui/empty.js +0 -33
  264. package/dist/components/ui/empty.js.map +0 -1
  265. package/dist/components/ui/field.d.ts +0 -23
  266. package/dist/components/ui/field.d.ts.map +0 -1
  267. package/dist/components/ui/field.js +0 -82
  268. package/dist/components/ui/field.js.map +0 -1
  269. package/dist/components/ui/form.d.ts +0 -11
  270. package/dist/components/ui/form.d.ts.map +0 -1
  271. package/dist/components/ui/form.js +0 -71
  272. package/dist/components/ui/form.js.map +0 -1
  273. package/dist/components/ui/hover-card.d.ts +0 -5
  274. package/dist/components/ui/hover-card.d.ts.map +0 -1
  275. package/dist/components/ui/hover-card.js +0 -9
  276. package/dist/components/ui/hover-card.js.map +0 -1
  277. package/dist/components/ui/index.d.ts +0 -7
  278. package/dist/components/ui/index.d.ts.map +0 -1
  279. package/dist/components/ui/index.js +0 -7
  280. package/dist/components/ui/index.js.map +0 -1
  281. package/dist/components/ui/input-group.d.ts +0 -13
  282. package/dist/components/ui/input-group.d.ts.map +0 -1
  283. package/dist/components/ui/input-group.js +0 -63
  284. package/dist/components/ui/input-group.js.map +0 -1
  285. package/dist/components/ui/input-otp.d.ts +0 -6
  286. package/dist/components/ui/input-otp.d.ts.map +0 -1
  287. package/dist/components/ui/input-otp.js +0 -25
  288. package/dist/components/ui/input-otp.js.map +0 -1
  289. package/dist/components/ui/input.d.ts +0 -3
  290. package/dist/components/ui/input.d.ts.map +0 -1
  291. package/dist/components/ui/input.js +0 -8
  292. package/dist/components/ui/input.js.map +0 -1
  293. package/dist/components/ui/item.d.ts +0 -19
  294. package/dist/components/ui/item.d.ts.map +0 -1
  295. package/dist/components/ui/item.js +0 -67
  296. package/dist/components/ui/item.js.map +0 -1
  297. package/dist/components/ui/kbd.d.ts +0 -4
  298. package/dist/components/ui/kbd.d.ts.map +0 -1
  299. package/dist/components/ui/kbd.js +0 -9
  300. package/dist/components/ui/kbd.js.map +0 -1
  301. package/dist/components/ui/label.d.ts +0 -3
  302. package/dist/components/ui/label.d.ts.map +0 -1
  303. package/dist/components/ui/label.js +0 -10
  304. package/dist/components/ui/label.js.map +0 -1
  305. package/dist/components/ui/menubar.d.ts +0 -23
  306. package/dist/components/ui/menubar.d.ts.map +0 -1
  307. package/dist/components/ui/menubar.js +0 -64
  308. package/dist/components/ui/menubar.js.map +0 -1
  309. package/dist/components/ui/navigation-menu.d.ts +0 -11
  310. package/dist/components/ui/navigation-menu.d.ts.map +0 -1
  311. package/dist/components/ui/navigation-menu.js +0 -34
  312. package/dist/components/ui/navigation-menu.js.map +0 -1
  313. package/dist/components/ui/network-selector.d.ts +0 -22
  314. package/dist/components/ui/network-selector.d.ts.map +0 -1
  315. package/dist/components/ui/network-selector.js +0 -99
  316. package/dist/components/ui/network-selector.js.map +0 -1
  317. package/dist/components/ui/pagination.d.ts +0 -29
  318. package/dist/components/ui/pagination.d.ts.map +0 -1
  319. package/dist/components/ui/pagination.js +0 -32
  320. package/dist/components/ui/pagination.js.map +0 -1
  321. package/dist/components/ui/popover.d.ts +0 -6
  322. package/dist/components/ui/popover.d.ts.map +0 -1
  323. package/dist/components/ui/popover.js +0 -12
  324. package/dist/components/ui/popover.js.map +0 -1
  325. package/dist/components/ui/progress.d.ts +0 -3
  326. package/dist/components/ui/progress.d.ts.map +0 -1
  327. package/dist/components/ui/progress.js +0 -10
  328. package/dist/components/ui/progress.js.map +0 -1
  329. package/dist/components/ui/radio-group.d.ts +0 -4
  330. package/dist/components/ui/radio-group.d.ts.map +0 -1
  331. package/dist/components/ui/radio-group.js +0 -18
  332. package/dist/components/ui/radio-group.js.map +0 -1
  333. package/dist/components/ui/resizable.d.ts +0 -8
  334. package/dist/components/ui/resizable.d.ts.map +0 -1
  335. package/dist/components/ui/resizable.js +0 -13
  336. package/dist/components/ui/resizable.js.map +0 -1
  337. package/dist/components/ui/scroll-area.d.ts +0 -4
  338. package/dist/components/ui/scroll-area.d.ts.map +0 -1
  339. package/dist/components/ui/scroll-area.js +0 -19
  340. package/dist/components/ui/scroll-area.js.map +0 -1
  341. package/dist/components/ui/select.d.ts +0 -12
  342. package/dist/components/ui/select.d.ts.map +0 -1
  343. package/dist/components/ui/select.js +0 -51
  344. package/dist/components/ui/select.js.map +0 -1
  345. package/dist/components/ui/separator.d.ts +0 -3
  346. package/dist/components/ui/separator.d.ts.map +0 -1
  347. package/dist/components/ui/separator.js +0 -7
  348. package/dist/components/ui/separator.js.map +0 -1
  349. package/dist/components/ui/sheet.d.ts +0 -19
  350. package/dist/components/ui/sheet.d.ts.map +0 -1
  351. package/dist/components/ui/sheet.js +0 -46
  352. package/dist/components/ui/sheet.js.map +0 -1
  353. package/dist/components/ui/sidebar.d.ts +0 -58
  354. package/dist/components/ui/sidebar.d.ts.map +0 -1
  355. package/dist/components/ui/sidebar.js +0 -246
  356. package/dist/components/ui/sidebar.js.map +0 -1
  357. package/dist/components/ui/skeleton.d.ts +0 -3
  358. package/dist/components/ui/skeleton.d.ts.map +0 -1
  359. package/dist/components/ui/skeleton.js +0 -6
  360. package/dist/components/ui/skeleton.js.map +0 -1
  361. package/dist/components/ui/slider.d.ts +0 -3
  362. package/dist/components/ui/slider.d.ts.map +0 -1
  363. package/dist/components/ui/slider.js +0 -12
  364. package/dist/components/ui/slider.js.map +0 -1
  365. package/dist/components/ui/sonner.d.ts +0 -5
  366. package/dist/components/ui/sonner.d.ts.map +0 -1
  367. package/dist/components/ui/sonner.js +0 -16
  368. package/dist/components/ui/sonner.js.map +0 -1
  369. package/dist/components/ui/spinner.d.ts +0 -3
  370. package/dist/components/ui/spinner.d.ts.map +0 -1
  371. package/dist/components/ui/spinner.js +0 -7
  372. package/dist/components/ui/spinner.js.map +0 -1
  373. package/dist/components/ui/surface-variant.d.ts +0 -4
  374. package/dist/components/ui/surface-variant.d.ts.map +0 -1
  375. package/dist/components/ui/surface-variant.js +0 -10
  376. package/dist/components/ui/surface-variant.js.map +0 -1
  377. package/dist/components/ui/switch.d.ts +0 -3
  378. package/dist/components/ui/switch.d.ts.map +0 -1
  379. package/dist/components/ui/switch.js +0 -9
  380. package/dist/components/ui/switch.js.map +0 -1
  381. package/dist/components/ui/table.d.ts +0 -10
  382. package/dist/components/ui/table.d.ts.map +0 -1
  383. package/dist/components/ui/table.js +0 -22
  384. package/dist/components/ui/table.js.map +0 -1
  385. package/dist/components/ui/tabs.d.ts +0 -6
  386. package/dist/components/ui/tabs.d.ts.map +0 -1
  387. package/dist/components/ui/tabs.js +0 -13
  388. package/dist/components/ui/tabs.js.map +0 -1
  389. package/dist/components/ui/textarea.d.ts +0 -3
  390. package/dist/components/ui/textarea.d.ts.map +0 -1
  391. package/dist/components/ui/textarea.js +0 -8
  392. package/dist/components/ui/textarea.js.map +0 -1
  393. package/dist/components/ui/toast.d.ts +0 -12
  394. package/dist/components/ui/toast.d.ts.map +0 -1
  395. package/dist/components/ui/toast.js +0 -35
  396. package/dist/components/ui/toast.js.map +0 -1
  397. package/dist/components/ui/toaster.d.ts +0 -2
  398. package/dist/components/ui/toaster.d.ts.map +0 -1
  399. package/dist/components/ui/toaster.js +0 -19
  400. package/dist/components/ui/toaster.js.map +0 -1
  401. package/dist/components/ui/toggle-group.d.ts +0 -4
  402. package/dist/components/ui/toggle-group.d.ts.map +0 -1
  403. package/dist/components/ui/toggle-group.js +0 -27
  404. package/dist/components/ui/toggle-group.js.map +0 -1
  405. package/dist/components/ui/toggle.d.ts +0 -4
  406. package/dist/components/ui/toggle.d.ts.map +0 -1
  407. package/dist/components/ui/toggle.js +0 -25
  408. package/dist/components/ui/toggle.js.map +0 -1
  409. package/dist/components/ui/tooltip.d.ts +0 -6
  410. package/dist/components/ui/tooltip.d.ts.map +0 -1
  411. package/dist/components/ui/tooltip.js +0 -13
  412. package/dist/components/ui/tooltip.js.map +0 -1
  413. package/dist/components/visual/ManowarField.d.ts +0 -9
  414. package/dist/components/visual/ManowarField.d.ts.map +0 -1
  415. package/dist/components/visual/ManowarField.js +0 -111
  416. package/dist/components/visual/ManowarField.js.map +0 -1
  417. package/dist/components/warp-form.d.ts +0 -22
  418. package/dist/components/warp-form.d.ts.map +0 -1
  419. package/dist/components/warp-form.js +0 -743
  420. package/dist/components/warp-form.js.map +0 -1
  421. package/dist/hooks/use-agents.d.ts +0 -17
  422. package/dist/hooks/use-agents.d.ts.map +0 -1
  423. package/dist/hooks/use-agents.js +0 -64
  424. package/dist/hooks/use-agents.js.map +0 -1
  425. package/dist/hooks/use-api.d.ts +0 -28
  426. package/dist/hooks/use-api.d.ts.map +0 -1
  427. package/dist/hooks/use-api.js +0 -114
  428. package/dist/hooks/use-api.js.map +0 -1
  429. package/dist/hooks/use-chat.d.ts +0 -64
  430. package/dist/hooks/use-chat.d.ts.map +0 -1
  431. package/dist/hooks/use-chat.js +0 -350
  432. package/dist/hooks/use-chat.js.map +0 -1
  433. package/dist/hooks/use-coordinator.d.ts +0 -41
  434. package/dist/hooks/use-coordinator.d.ts.map +0 -1
  435. package/dist/hooks/use-coordinator.js +0 -110
  436. package/dist/hooks/use-coordinator.js.map +0 -1
  437. package/dist/hooks/use-dispenser.d.ts +0 -68
  438. package/dist/hooks/use-dispenser.d.ts.map +0 -1
  439. package/dist/hooks/use-dispenser.js +0 -113
  440. package/dist/hooks/use-dispenser.js.map +0 -1
  441. package/dist/hooks/use-lyria.d.ts +0 -58
  442. package/dist/hooks/use-lyria.d.ts.map +0 -1
  443. package/dist/hooks/use-lyria.js +0 -254
  444. package/dist/hooks/use-lyria.js.map +0 -1
  445. package/dist/hooks/use-mobile.d.ts +0 -2
  446. package/dist/hooks/use-mobile.d.ts.map +0 -1
  447. package/dist/hooks/use-mobile.js +0 -16
  448. package/dist/hooks/use-mobile.js.map +0 -1
  449. package/dist/hooks/use-model.d.ts +0 -34
  450. package/dist/hooks/use-model.d.ts.map +0 -1
  451. package/dist/hooks/use-model.js +0 -105
  452. package/dist/hooks/use-model.js.map +0 -1
  453. package/dist/hooks/use-motion-governor.d.ts +0 -10
  454. package/dist/hooks/use-motion-governor.d.ts.map +0 -1
  455. package/dist/hooks/use-motion-governor.js +0 -63
  456. package/dist/hooks/use-motion-governor.js.map +0 -1
  457. package/dist/hooks/use-multichain.d.ts +0 -34
  458. package/dist/hooks/use-multichain.d.ts.map +0 -1
  459. package/dist/hooks/use-multichain.js +0 -120
  460. package/dist/hooks/use-multichain.js.map +0 -1
  461. package/dist/hooks/use-onchain.d.ts +0 -145
  462. package/dist/hooks/use-onchain.d.ts.map +0 -1
  463. package/dist/hooks/use-onchain.js +0 -652
  464. package/dist/hooks/use-onchain.js.map +0 -1
  465. package/dist/hooks/use-registry.d.ts +0 -140
  466. package/dist/hooks/use-registry.d.ts.map +0 -1
  467. package/dist/hooks/use-registry.js +0 -264
  468. package/dist/hooks/use-registry.js.map +0 -1
  469. package/dist/hooks/use-services.d.ts +0 -66
  470. package/dist/hooks/use-services.d.ts.map +0 -1
  471. package/dist/hooks/use-services.js +0 -216
  472. package/dist/hooks/use-services.js.map +0 -1
  473. package/dist/hooks/use-session.d.ts +0 -36
  474. package/dist/hooks/use-session.d.ts.map +0 -1
  475. package/dist/hooks/use-session.js +0 -449
  476. package/dist/hooks/use-session.js.map +0 -1
  477. package/dist/hooks/use-sse.d.ts +0 -8
  478. package/dist/hooks/use-sse.d.ts.map +0 -1
  479. package/dist/hooks/use-sse.js +0 -86
  480. package/dist/hooks/use-sse.js.map +0 -1
  481. package/dist/hooks/use-tabs.d.ts +0 -2
  482. package/dist/hooks/use-tabs.d.ts.map +0 -1
  483. package/dist/hooks/use-tabs.js +0 -43
  484. package/dist/hooks/use-tabs.js.map +0 -1
  485. package/dist/hooks/use-toast.d.ts +0 -41
  486. package/dist/hooks/use-toast.d.ts.map +0 -1
  487. package/dist/hooks/use-toast.js +0 -127
  488. package/dist/hooks/use-toast.js.map +0 -1
  489. package/dist/hooks/use-triggers.d.ts +0 -51
  490. package/dist/hooks/use-triggers.d.ts.map +0 -1
  491. package/dist/hooks/use-triggers.js +0 -212
  492. package/dist/hooks/use-triggers.js.map +0 -1
  493. package/dist/hooks/use-warp.d.ts +0 -53
  494. package/dist/hooks/use-warp.d.ts.map +0 -1
  495. package/dist/hooks/use-warp.js +0 -231
  496. package/dist/hooks/use-warp.js.map +0 -1
  497. package/dist/hooks/use-workflow.d.ts +0 -40
  498. package/dist/hooks/use-workflow.d.ts.map +0 -1
  499. package/dist/hooks/use-workflow.js +0 -358
  500. package/dist/hooks/use-workflow.js.map +0 -1
  501. package/dist/lib/agents.d.ts +0 -186
  502. package/dist/lib/agents.d.ts.map +0 -1
  503. package/dist/lib/agents.js +0 -633
  504. package/dist/lib/agents.js.map +0 -1
  505. package/dist/lib/api.d.ts +0 -224
  506. package/dist/lib/api.d.ts.map +0 -1
  507. package/dist/lib/api.js +0 -443
  508. package/dist/lib/api.js.map +0 -1
  509. package/dist/lib/chains.d.ts +0 -151
  510. package/dist/lib/chains.d.ts.map +0 -1
  511. package/dist/lib/chains.js +0 -297
  512. package/dist/lib/chains.js.map +0 -1
  513. package/dist/lib/contracts.d.ts +0 -960
  514. package/dist/lib/contracts.d.ts.map +0 -1
  515. package/dist/lib/contracts.js +0 -716
  516. package/dist/lib/contracts.js.map +0 -1
  517. package/dist/lib/cronos/aa.d.ts +0 -111
  518. package/dist/lib/cronos/aa.d.ts.map +0 -1
  519. package/dist/lib/cronos/aa.js +0 -312
  520. package/dist/lib/cronos/aa.js.map +0 -1
  521. package/dist/lib/cronos/facilitator.d.ts +0 -87
  522. package/dist/lib/cronos/facilitator.d.ts.map +0 -1
  523. package/dist/lib/cronos/facilitator.js +0 -183
  524. package/dist/lib/cronos/facilitator.js.map +0 -1
  525. package/dist/lib/evm.d.ts +0 -45
  526. package/dist/lib/evm.d.ts.map +0 -1
  527. package/dist/lib/evm.js +0 -78
  528. package/dist/lib/evm.js.map +0 -1
  529. package/dist/lib/mockData.d.ts +0 -26
  530. package/dist/lib/mockData.d.ts.map +0 -1
  531. package/dist/lib/mockData.js +0 -89
  532. package/dist/lib/mockData.js.map +0 -1
  533. package/dist/lib/models.d.ts +0 -122
  534. package/dist/lib/models.d.ts.map +0 -1
  535. package/dist/lib/models.js +0 -174
  536. package/dist/lib/models.js.map +0 -1
  537. package/dist/lib/multimodal.d.ts +0 -53
  538. package/dist/lib/multimodal.d.ts.map +0 -1
  539. package/dist/lib/multimodal.js +0 -204
  540. package/dist/lib/multimodal.js.map +0 -1
  541. package/dist/lib/payment.d.ts +0 -67
  542. package/dist/lib/payment.d.ts.map +0 -1
  543. package/dist/lib/payment.js +0 -236
  544. package/dist/lib/payment.js.map +0 -1
  545. package/dist/lib/pinata.d.ts +0 -140
  546. package/dist/lib/pinata.d.ts.map +0 -1
  547. package/dist/lib/pinata.js +0 -209
  548. package/dist/lib/pinata.js.map +0 -1
  549. package/dist/lib/queryClient.d.ts +0 -9
  550. package/dist/lib/queryClient.d.ts.map +0 -1
  551. package/dist/lib/queryClient.js +0 -42
  552. package/dist/lib/queryClient.js.map +0 -1
  553. package/dist/lib/services.d.ts +0 -164
  554. package/dist/lib/services.d.ts.map +0 -1
  555. package/dist/lib/services.js +0 -304
  556. package/dist/lib/services.js.map +0 -1
  557. package/dist/lib/share.d.ts +0 -12
  558. package/dist/lib/share.d.ts.map +0 -1
  559. package/dist/lib/share.js +0 -39
  560. package/dist/lib/share.js.map +0 -1
  561. package/dist/lib/triggers.d.ts +0 -128
  562. package/dist/lib/triggers.d.ts.map +0 -1
  563. package/dist/lib/triggers.js +0 -305
  564. package/dist/lib/triggers.js.map +0 -1
  565. package/dist/lib/utils.d.ts +0 -3
  566. package/dist/lib/utils.d.ts.map +0 -1
  567. package/dist/lib/utils.js +0 -6
  568. package/dist/lib/utils.js.map +0 -1
  569. package/dist/lib/visual-system.d.ts +0 -39
  570. package/dist/lib/visual-system.d.ts.map +0 -1
  571. package/dist/lib/visual-system.js +0 -129
  572. package/dist/lib/visual-system.js.map +0 -1
  573. package/dist/utils/index.d.ts +0 -2
  574. package/dist/utils/index.d.ts.map +0 -1
  575. package/dist/utils/index.js +0 -2
  576. package/dist/utils/index.js.map +0 -1
@@ -1,633 +0,0 @@
1
- /**
2
- * Agent Discovery System
3
- * Generic types and functions for discovering agents across multiple registries
4
- *
5
- * Registries:
6
- * - Agentverse: Fetch.ai autonomous agent marketplace
7
- * - GOAT: DeFi tool plugins (60+ plugins)
8
- * - ElizaOS: Agent framework plugins (200+ plugins)
9
- */
10
- import { apiUrl } from "./api";
11
- // =============================================================================
12
- // Registry System
13
- // =============================================================================
14
- /**
15
- * Agent registries/ecosystems that can be queried
16
- *
17
- * Note: Only registries with type="agent" are shown in the Agents tab.
18
- * GOAT and ElizaOS are PLUGINS, not agents - they appear in the Connectors tab.
19
- */
20
- export const AGENT_REGISTRIES = {
21
- agentverse: {
22
- id: "agentverse",
23
- name: "Agentverse",
24
- description: "Fetch.ai autonomous agent marketplace",
25
- url: "https://agentverse.ai",
26
- color: "purple",
27
- type: "agent", // True AI agents
28
- enabled: true,
29
- },
30
- goat: {
31
- id: "goat",
32
- name: "GOAT SDK",
33
- description: "DeFi & Web3 tool plugins (60+ plugins)",
34
- url: "https://ohmygoat.dev",
35
- color: "green",
36
- type: "plugin", // Plugins, not agents - shown in Connectors tab
37
- enabled: false, // Disabled for agent search - use registry API instead
38
- },
39
- eliza: {
40
- id: "eliza",
41
- name: "ElizaOS",
42
- description: "Agent framework plugins (200+ plugins)",
43
- url: "https://elizaos.ai",
44
- color: "fuchsia",
45
- type: "plugin", // Plugins, not agents - shown in Connectors tab
46
- enabled: false, // Disabled for agent search - use registry API instead
47
- },
48
- manowar: {
49
- id: "manowar",
50
- name: "ManoWar",
51
- description: "Compose.Market native agents",
52
- url: null,
53
- color: "cyan",
54
- type: "agent", // True AI agents
55
- enabled: true, // On-chain ERC8004 agents
56
- },
57
- };
58
- // =============================================================================
59
- // Adapter Functions
60
- // =============================================================================
61
- /**
62
- * Tags to filter out (not useful for users)
63
- */
64
- const FILTERED_TAGS = new Set([
65
- "fetch-ai",
66
- "fetchai",
67
- "hosted",
68
- "local",
69
- "system",
70
- "internal",
71
- ]);
72
- /**
73
- * Normalize tags for better display
74
- */
75
- function normalizeTags(tags) {
76
- return tags
77
- .filter(t => !FILTERED_TAGS.has(t.toLowerCase()))
78
- .map(t => t.toLowerCase().replace(/[_-]/g, " "))
79
- .filter((t, i, arr) => arr.indexOf(t) === i) // dedupe
80
- .slice(0, 5); // limit to 5 tags
81
- }
82
- /**
83
- * Extract capability tags from description and protocols
84
- */
85
- function extractCapabilityTags(description, protocols) {
86
- const tags = new Set();
87
- const descLower = description.toLowerCase();
88
- // Capability keywords
89
- const capabilities = {
90
- "defi": ["swap", "trade", "liquidity", "yield", "lending", "borrow", "stake"],
91
- "trading": ["trade", "exchange", "buy", "sell", "order", "market"],
92
- "nft": ["nft", "mint", "collection", "artwork", "token"],
93
- "social": ["twitter", "discord", "telegram", "post", "message", "chat"],
94
- "ai": ["gpt", "llm", "model", "inference", "generate", "analyze"],
95
- "data": ["data", "api", "fetch", "query", "analytics", "price"],
96
- "automation": ["automate", "schedule", "trigger", "workflow", "bot"],
97
- "payments": ["pay", "transfer", "send", "receive", "wallet"],
98
- };
99
- for (const [tag, keywords] of Object.entries(capabilities)) {
100
- if (keywords.some(kw => descLower.includes(kw))) {
101
- tags.add(tag);
102
- }
103
- }
104
- // Check protocols
105
- protocols.forEach(p => {
106
- const pName = p.name.toLowerCase();
107
- if (pName.includes("swap") || pName.includes("trade"))
108
- tags.add("trading");
109
- if (pName.includes("nft"))
110
- tags.add("nft");
111
- if (pName.includes("chat") || pName.includes("message"))
112
- tags.add("social");
113
- });
114
- return Array.from(tags);
115
- }
116
- /**
117
- * Convert Agentverse agent to unified Agent type
118
- */
119
- function agentverseToAgent(av) {
120
- const protocols = av.protocols?.map(p => ({
121
- name: p.name,
122
- version: p.version,
123
- digest: p.digest,
124
- })) || [];
125
- // Get normalized tags + capability tags
126
- const baseTags = normalizeTags(av.system_wide_tags || []);
127
- const capabilityTags = extractCapabilityTags(av.description || av.readme || "", protocols);
128
- const allTags = Array.from(new Set([...baseTags, ...capabilityTags]));
129
- return {
130
- id: av.address,
131
- address: av.address,
132
- name: av.name,
133
- description: av.description || getReadmeExcerpt(av.readme),
134
- registry: "agentverse",
135
- readme: av.readme,
136
- protocols,
137
- avatarUrl: av.avatar_href,
138
- totalInteractions: av.total_interactions,
139
- recentInteractions: av.recent_interactions,
140
- rating: av.rating,
141
- status: av.status,
142
- type: av.type,
143
- featured: av.featured,
144
- verified: av.system_wide_tags?.includes("verified") || false,
145
- category: av.category || deriveCategory(allTags),
146
- tags: allTags,
147
- owner: av.owner,
148
- createdAt: av.created_at,
149
- updatedAt: av.last_updated,
150
- externalUrl: `https://agentverse.ai/agents/details/${av.address}/profile`,
151
- };
152
- }
153
- /**
154
- * Convert registry server to Agent type
155
- */
156
- function registryServerToAgent(server, registry) {
157
- const protocols = server.tools?.map(t => ({
158
- name: t.name,
159
- version: "1.0.0",
160
- })) || [];
161
- const capabilityTags = extractCapabilityTags(server.description, protocols);
162
- const allTags = Array.from(new Set([...server.tags, ...capabilityTags])).slice(0, 8);
163
- return {
164
- id: server.registryId,
165
- address: server.registryId,
166
- name: server.name,
167
- description: server.description,
168
- registry,
169
- readme: "",
170
- protocols,
171
- avatarUrl: null,
172
- totalInteractions: 0,
173
- recentInteractions: 0,
174
- rating: 4.5, // Default rating for plugins
175
- status: "active",
176
- type: "hosted",
177
- featured: false,
178
- verified: true, // GOAT/ElizaOS plugins are verified
179
- category: server.category || deriveCategory(allTags),
180
- tags: allTags,
181
- owner: server.namespace,
182
- createdAt: new Date().toISOString(),
183
- updatedAt: new Date().toISOString(),
184
- };
185
- }
186
- /**
187
- * Derive category from tags
188
- */
189
- function deriveCategory(tags) {
190
- const tagSet = new Set(tags.map(t => t.toLowerCase()));
191
- if (tagSet.has("defi") || tagSet.has("trading") || tagSet.has("swap"))
192
- return "DeFi";
193
- if (tagSet.has("nft"))
194
- return "NFT";
195
- if (tagSet.has("social") || tagSet.has("discord") || tagSet.has("twitter"))
196
- return "Social";
197
- if (tagSet.has("ai") || tagSet.has("llm"))
198
- return "AI";
199
- if (tagSet.has("data") || tagSet.has("analytics"))
200
- return "Data";
201
- if (tagSet.has("automation"))
202
- return "Automation";
203
- return "Utility";
204
- }
205
- // =============================================================================
206
- // API Functions
207
- // =============================================================================
208
- /**
209
- * Search Agentverse registry
210
- */
211
- async function searchAgentverse(options) {
212
- const params = new URLSearchParams();
213
- if (options.search)
214
- params.set("search", options.search);
215
- if (options.category)
216
- params.set("category", options.category);
217
- if (options.tags?.length)
218
- params.set("tags", options.tags.join(","));
219
- if (options.status)
220
- params.set("status", options.status);
221
- if (options.limit)
222
- params.set("limit", options.limit.toString());
223
- if (options.offset)
224
- params.set("offset", options.offset.toString());
225
- if (options.sort)
226
- params.set("sort", options.sort);
227
- if (options.direction)
228
- params.set("direction", options.direction);
229
- const response = await fetch(apiUrl(`/api/agentverse/agents?${params}`));
230
- if (!response.ok) {
231
- const data = await response.json().catch(() => ({ error: "Unknown error" }));
232
- throw new Error(data.error || `Failed to fetch agents: ${response.status}`);
233
- }
234
- const data = await response.json();
235
- return {
236
- agents: data.agents.map(agentverseToAgent),
237
- total: data.total,
238
- tags: data.tags,
239
- categories: data.categories,
240
- };
241
- }
242
- /**
243
- * Get connector registry base URL
244
- */
245
- function getConnectorBaseUrl() {
246
- const connectorUrl = import.meta.env.VITE_CONNECTOR_URL;
247
- if (connectorUrl) {
248
- return connectorUrl.replace(/\/$/, "");
249
- }
250
- return "https://services.compose.market/connector";
251
- }
252
- /**
253
- * Search GOAT plugins from connector registry
254
- */
255
- async function searchGoat(options) {
256
- try {
257
- const params = new URLSearchParams({
258
- origin: "goat",
259
- limit: String(options.limit || 50),
260
- offset: String(options.offset || 0),
261
- });
262
- const response = await fetch(`${getConnectorBaseUrl()}/registry/servers?${params}`);
263
- if (!response.ok) {
264
- console.warn("Failed to fetch GOAT plugins:", response.status);
265
- return { agents: [], total: 0, tags: [], categories: [] };
266
- }
267
- const data = await response.json();
268
- const servers = data.servers || [];
269
- // Filter by search if provided
270
- let filtered = servers;
271
- if (options.search) {
272
- const q = options.search.toLowerCase();
273
- filtered = servers.filter(s => s.name.toLowerCase().includes(q) ||
274
- s.description.toLowerCase().includes(q) ||
275
- s.tags.some(t => t.toLowerCase().includes(q)));
276
- }
277
- // Filter by tags
278
- if (options.tags?.length) {
279
- filtered = filtered.filter(s => options.tags.some(t => s.tags.includes(t.toLowerCase())));
280
- }
281
- const agents = filtered.map(s => registryServerToAgent(s, "goat"));
282
- const allTags = new Set();
283
- const allCategories = new Set();
284
- agents.forEach(a => {
285
- a.tags.forEach(t => allTags.add(t));
286
- if (a.category)
287
- allCategories.add(a.category);
288
- });
289
- return {
290
- agents,
291
- total: data.total || agents.length,
292
- tags: Array.from(allTags).sort(),
293
- categories: Array.from(allCategories).sort(),
294
- };
295
- }
296
- catch (err) {
297
- console.warn("Error fetching GOAT plugins:", err);
298
- return { agents: [], total: 0, tags: [], categories: [] };
299
- }
300
- }
301
- /**
302
- * Search ElizaOS plugins from connector registry
303
- */
304
- async function searchEliza(options) {
305
- try {
306
- const params = new URLSearchParams({
307
- origin: "eliza",
308
- limit: String(options.limit || 50),
309
- offset: String(options.offset || 0),
310
- });
311
- const response = await fetch(`${getConnectorBaseUrl()}/registry/servers?${params}`);
312
- if (!response.ok) {
313
- console.warn("Failed to fetch ElizaOS plugins:", response.status);
314
- return { agents: [], total: 0, tags: [], categories: [] };
315
- }
316
- const data = await response.json();
317
- const servers = data.servers || [];
318
- // Filter by search if provided
319
- let filtered = servers;
320
- if (options.search) {
321
- const q = options.search.toLowerCase();
322
- filtered = servers.filter(s => s.name.toLowerCase().includes(q) ||
323
- s.description.toLowerCase().includes(q) ||
324
- s.tags.some(t => t.toLowerCase().includes(q)));
325
- }
326
- // Filter by tags
327
- if (options.tags?.length) {
328
- filtered = filtered.filter(s => options.tags.some(t => s.tags.includes(t.toLowerCase())));
329
- }
330
- const agents = filtered.map(s => registryServerToAgent(s, "eliza"));
331
- const allTags = new Set();
332
- const allCategories = new Set();
333
- agents.forEach(a => {
334
- a.tags.forEach(t => allTags.add(t));
335
- if (a.category)
336
- allCategories.add(a.category);
337
- });
338
- return {
339
- agents,
340
- total: data.total || agents.length,
341
- tags: Array.from(allTags).sort(),
342
- categories: Array.from(allCategories).sort(),
343
- };
344
- }
345
- catch (err) {
346
- console.warn("Error fetching ElizaOS plugins:", err);
347
- return { agents: [], total: 0, tags: [], categories: [] };
348
- }
349
- }
350
- /**
351
- * Search ManoWar native agent registry
352
- */
353
- async function searchManowar(options) {
354
- try {
355
- const response = await fetch(apiUrl("/agents"));
356
- if (!response.ok) {
357
- console.warn("Failed to fetch manowar agents:", response.status);
358
- return { agents: [], total: 0, tags: [], categories: [] };
359
- }
360
- const data = await response.json();
361
- const cards = Array.isArray(data.agents) ? data.agents : [];
362
- let filtered = cards.filter((card) => typeof card.walletAddress === "string" && card.walletAddress.startsWith("0x"));
363
- if (options.search) {
364
- const q = options.search.toLowerCase();
365
- filtered = filtered.filter((card) => {
366
- const name = (card.name || "").toLowerCase();
367
- const description = (card.description || "").toLowerCase();
368
- const skills = (card.skills || []).join(" ").toLowerCase();
369
- const model = (card.model || "").toLowerCase();
370
- return name.includes(q) || description.includes(q) || skills.includes(q) || model.includes(q);
371
- });
372
- }
373
- if (options.tags?.length) {
374
- const required = options.tags.map((tag) => tag.toLowerCase());
375
- filtered = filtered.filter((card) => {
376
- const skillTags = (card.skills || []).map((tag) => tag.toLowerCase());
377
- return required.some((tag) => skillTags.includes(tag));
378
- });
379
- }
380
- if (options.category) {
381
- const categoryQuery = options.category.toLowerCase();
382
- filtered = filtered.filter((card) => {
383
- const category = deriveCategory(card.skills || []).toLowerCase();
384
- return category === categoryQuery || category.includes(categoryQuery);
385
- });
386
- }
387
- const offset = Math.max(0, options.offset || 0);
388
- const limit = Math.max(1, options.limit || 30);
389
- const paged = filtered.slice(offset, offset + limit);
390
- const agents = paged.map((card) => {
391
- const protocolList = Array.isArray(card.protocols) ? card.protocols : [];
392
- const protocols = protocolList.length > 0
393
- ? protocolList
394
- : [{ name: "x402", version: "1.0" }];
395
- const tags = Array.from(new Set([
396
- ...(card.skills || []),
397
- ...(card.plugins || []).map((plugin) => plugin.origin || "").filter(Boolean),
398
- "onchain",
399
- "manowar",
400
- ].map((tag) => tag.toLowerCase())));
401
- const priceWei = Number(card.licensePrice || "0");
402
- const pricePerRequest = Number.isFinite(priceWei) ? (priceWei / 1_000_000).toFixed(6) : "0.000000";
403
- return {
404
- id: card.walletAddress,
405
- address: card.walletAddress,
406
- name: card.name || "Unnamed Agent",
407
- description: card.description || "",
408
- registry: "manowar",
409
- readme: card.description || "",
410
- protocols,
411
- avatarUrl: card.image || card.avatar || null,
412
- totalInteractions: 0,
413
- recentInteractions: 0,
414
- rating: 5,
415
- status: "active",
416
- type: card.endpoint ? "hosted" : "local",
417
- featured: false,
418
- verified: true,
419
- category: deriveCategory(tags),
420
- tags,
421
- owner: card.creator || card.walletAddress,
422
- createdAt: card.createdAt || new Date().toISOString(),
423
- updatedAt: card.createdAt || new Date().toISOString(),
424
- onchainAgentId: undefined,
425
- pricePerRequest,
426
- };
427
- });
428
- const allTags = Array.from(new Set(filtered.flatMap((card) => card.skills || []).map((tag) => tag.toLowerCase()))).sort();
429
- const allCategories = Array.from(new Set(filtered.map((card) => deriveCategory(card.skills || [])))).sort();
430
- return {
431
- agents,
432
- total: filtered.length,
433
- tags: allTags,
434
- categories: allCategories,
435
- };
436
- }
437
- catch (err) {
438
- console.warn("Error fetching manowar agents:", err);
439
- return { agents: [], total: 0, tags: [], categories: [] };
440
- }
441
- }
442
- /**
443
- * Unified search across all enabled registries
444
- */
445
- export async function searchAgents(options = {}) {
446
- const registries = options.registries?.length
447
- ? options.registries.filter(r => AGENT_REGISTRIES[r]?.enabled)
448
- : Object.keys(AGENT_REGISTRIES).filter(r => AGENT_REGISTRIES[r].enabled);
449
- // Fetch from all selected registries in parallel
450
- const results = await Promise.allSettled(registries.map(async (registry) => {
451
- switch (registry) {
452
- case "agentverse":
453
- return searchAgentverse(options);
454
- case "goat":
455
- return searchGoat(options);
456
- case "eliza":
457
- return searchEliza(options);
458
- case "manowar":
459
- return searchManowar(options);
460
- default:
461
- return { agents: [], total: 0, tags: [], categories: [] };
462
- }
463
- }));
464
- // Merge results
465
- const allAgents = [];
466
- const allTags = new Set();
467
- const allCategories = new Set();
468
- let totalCount = 0;
469
- results.forEach((result, i) => {
470
- if (result.status === "fulfilled") {
471
- allAgents.push(...result.value.agents);
472
- result.value.tags.forEach(t => allTags.add(t));
473
- result.value.categories.forEach(c => allCategories.add(c));
474
- totalCount += result.value.total;
475
- }
476
- else {
477
- console.warn(`Failed to fetch from ${registries[i]}:`, result.reason);
478
- }
479
- });
480
- // Sort merged results
481
- if (options.sort === "interactions") {
482
- allAgents.sort((a, b) => options.direction === "asc"
483
- ? a.totalInteractions - b.totalInteractions
484
- : b.totalInteractions - a.totalInteractions);
485
- }
486
- else if (options.sort === "created-at") {
487
- allAgents.sort((a, b) => options.direction === "asc"
488
- ? new Date(a.createdAt).getTime() - new Date(b.createdAt).getTime()
489
- : new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime());
490
- }
491
- else if (options.sort === "relevancy" && options.search) {
492
- // Score-based relevancy sort
493
- const q = options.search.toLowerCase();
494
- allAgents.sort((a, b) => {
495
- const scoreA = getRelevancyScore(a, q);
496
- const scoreB = getRelevancyScore(b, q);
497
- return options.direction === "asc" ? scoreA - scoreB : scoreB - scoreA;
498
- });
499
- }
500
- return {
501
- agents: allAgents,
502
- total: totalCount,
503
- offset: options.offset || 0,
504
- limit: options.limit || 30,
505
- tags: Array.from(allTags).sort(),
506
- categories: Array.from(allCategories).sort(),
507
- registries,
508
- };
509
- }
510
- /**
511
- * Calculate relevancy score for search ranking
512
- */
513
- function getRelevancyScore(agent, query) {
514
- let score = 0;
515
- const nameLower = agent.name.toLowerCase();
516
- const descLower = agent.description.toLowerCase();
517
- // Exact name match
518
- if (nameLower === query)
519
- score += 100;
520
- // Name contains query
521
- else if (nameLower.includes(query))
522
- score += 50;
523
- // Description contains query
524
- if (descLower.includes(query))
525
- score += 20;
526
- // Tag match
527
- if (agent.tags.some(t => t.toLowerCase().includes(query)))
528
- score += 15;
529
- // Category match
530
- if (agent.category?.toLowerCase().includes(query))
531
- score += 10;
532
- // Verified boost
533
- if (agent.verified)
534
- score += 5;
535
- // Interaction boost
536
- score += Math.min(agent.totalInteractions / 1000, 10);
537
- return score;
538
- }
539
- /**
540
- * Get a single agent by address
541
- */
542
- export async function getAgent(address) {
543
- // For now, only Agentverse is implemented
544
- const response = await fetch(apiUrl(`/api/agentverse/agents/${encodeURIComponent(address)}`));
545
- if (!response.ok) {
546
- const data = await response.json().catch(() => ({ error: "Unknown error" }));
547
- throw new Error(data.error || `Failed to fetch agent: ${response.status}`);
548
- }
549
- const data = await response.json();
550
- return agentverseToAgent(data);
551
- }
552
- // =============================================================================
553
- // Utility Functions
554
- // =============================================================================
555
- /**
556
- * Format interaction count for display
557
- */
558
- export function formatInteractions(count) {
559
- if (count >= 1_000_000)
560
- return `${(count / 1_000_000).toFixed(1)}M`;
561
- if (count >= 1_000)
562
- return `${(count / 1_000).toFixed(1)}K`;
563
- return count.toString();
564
- }
565
- /**
566
- * Get a short excerpt from README
567
- */
568
- export function getReadmeExcerpt(readme, maxLength = 150) {
569
- if (!readme)
570
- return "";
571
- // Remove markdown badges and images
572
- let clean = readme
573
- .replace(/!\[.*?\]\(.*?\)/g, "") // Remove images
574
- .replace(/\[.*?\]\(.*?\)/g, "") // Remove links
575
- .replace(/```[\s\S]*?```/g, "") // Remove code blocks
576
- .replace(/#{1,6}\s+/g, "") // Remove headers
577
- .replace(/\*{1,2}(.*?)\*{1,2}/g, "$1") // Remove bold/italic
578
- .replace(/\n{2,}/g, " ") // Collapse newlines
579
- .trim();
580
- if (clean.length <= maxLength)
581
- return clean;
582
- return clean.slice(0, maxLength).trim() + "...";
583
- }
584
- /**
585
- * Get display color for rating
586
- */
587
- export function getRatingColor(rating) {
588
- if (rating >= 4)
589
- return "text-green-400";
590
- if (rating >= 3)
591
- return "text-yellow-400";
592
- if (rating >= 2)
593
- return "text-orange-400";
594
- return "text-red-400";
595
- }
596
- /**
597
- * Common tags for filtering (capability-based)
598
- */
599
- export const COMMON_TAGS = [
600
- "defi",
601
- "trading",
602
- "nft",
603
- "social",
604
- "ai",
605
- "data",
606
- "automation",
607
- "payments",
608
- "discord",
609
- "twitter",
610
- "telegram",
611
- "ethereum",
612
- "solana",
613
- ];
614
- /**
615
- * Check if agent has a specific capability based on protocols
616
- */
617
- export function hasProtocol(agent, protocolName) {
618
- return agent.protocols?.some(p => p.name.toLowerCase().includes(protocolName.toLowerCase())) ?? false;
619
- }
620
- /**
621
- * Get registry display info
622
- */
623
- export function getRegistryInfo(registryId) {
624
- return AGENT_REGISTRIES[registryId];
625
- }
626
- /**
627
- * Get all enabled registries
628
- */
629
- export function getEnabledRegistries() {
630
- return Object.keys(AGENT_REGISTRIES)
631
- .filter(id => AGENT_REGISTRIES[id].enabled);
632
- }
633
- //# sourceMappingURL=agents.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agents.js","sourceRoot":"","sources":["../../src/lib/agents.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B,gFAAgF;AAChF,kBAAkB;AAClB,gFAAgF;AAEhF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,UAAU,EAAE;QACV,EAAE,EAAE,YAAY;QAChB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,uCAAuC;QACpD,GAAG,EAAE,uBAAuB;QAC5B,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,OAAgB,EAAE,iBAAiB;QACzC,OAAO,EAAE,IAAI;KACd;IACD,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM;QACV,IAAI,EAAE,UAAU;QAChB,WAAW,EAAE,wCAAwC;QACrD,GAAG,EAAE,sBAAsB;QAC3B,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,QAAiB,EAAE,gDAAgD;QACzE,OAAO,EAAE,KAAK,EAAE,uDAAuD;KACxE;IACD,KAAK,EAAE;QACL,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,wCAAwC;QACrD,GAAG,EAAE,oBAAoB;QACzB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE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