cognova 0.2.11 → 0.2.13

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 (290) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/{DwY7rCd_.js → -HePz7lp.js} +2 -2
  3. package/.output/public/_nuxt/{CY-cjAwJ.js → 4ALIM-zZ.js} +1 -1
  4. package/.output/public/_nuxt/{DXdwpJ-I.js → 5sUbkh_6.js} +2 -2
  5. package/.output/public/_nuxt/{_cy8R3nk.js → 6bB8Ev7a.js} +1 -1
  6. package/.output/public/_nuxt/{1zUTf4AP.js → 7rT1DCe2.js} +1 -1
  7. package/.output/public/_nuxt/{vIOxcXKR.js → 9O1MXkck.js} +1 -1
  8. package/.output/public/_nuxt/{7oCGSglN.js → 9kAKMaPC.js} +1 -1
  9. package/.output/public/_nuxt/{CVqlefTY.js → B-DMcEU9.js} +1 -1
  10. package/.output/public/_nuxt/{BS2ZNXI1.js → B0nzD8Sk.js} +1 -1
  11. package/.output/public/_nuxt/B2PqR2Vu.js +1 -0
  12. package/.output/public/_nuxt/{Db4KMnt8.js → B2wI_pYg.js} +1 -1
  13. package/.output/public/_nuxt/{zq-a1TeT.js → B5FuOh7E.js} +1 -1
  14. package/.output/public/_nuxt/B6om4MW2.js +1 -0
  15. package/.output/public/_nuxt/{Dya5oK8u.js → B7ikW4eF.js} +1 -1
  16. package/.output/public/_nuxt/{BYHCP8x7.js → B8DFEjxA.js} +1 -1
  17. package/.output/public/_nuxt/{6boMs_nF.js → B9kWNcU7.js} +1 -1
  18. package/.output/public/_nuxt/BAZ8sewA.js +1 -0
  19. package/.output/public/_nuxt/{BXuWCWsJ.js → BCPwL4ma.js} +1 -1
  20. package/.output/public/_nuxt/{DY3uK7wM.js → BCrlmHh_.js} +1 -1
  21. package/.output/public/_nuxt/{BR8bKz8h.js → BD-AFJWW.js} +1 -1
  22. package/.output/public/_nuxt/{BtHQ1T0f.js → BGcQMReV.js} +1 -1
  23. package/.output/public/_nuxt/{BDyn4ApB.js → BL1mkqgd.js} +3 -3
  24. package/.output/public/_nuxt/BNJJSRKh.js +1 -0
  25. package/.output/public/_nuxt/{D8lwrAYS.js → BNeeERBt.js} +1 -1
  26. package/.output/public/_nuxt/{CVFwOzbl.js → BSJb5amZ.js} +1 -1
  27. package/.output/public/_nuxt/{CEnSeCqn.js → BSsaE9Db.js} +1 -1
  28. package/.output/public/_nuxt/{DzA58_Lm.js → BVO3XpHT.js} +1 -1
  29. package/.output/public/_nuxt/{CuxrHsu-.js → BWuL2CzO.js} +1 -1
  30. package/.output/public/_nuxt/{0yk-pS3R.js → B_9zJTqe.js} +1 -1
  31. package/.output/public/_nuxt/{DcJbYLTp.js → B_Lr1vlV.js} +1 -1
  32. package/.output/public/_nuxt/{CZoEPC_Q.js → Bc8bTnkd.js} +3 -3
  33. package/.output/public/_nuxt/{BKXg-alD.js → BghuwIGa.js} +1 -1
  34. package/.output/public/_nuxt/{PP_4ebzl.js → BjsKx597.js} +1 -1
  35. package/.output/public/_nuxt/{DuvzM-P1.js → Bl0qBhCG.js} +1 -1
  36. package/.output/public/_nuxt/{B_wilgcd.js → Bl43dkDq.js} +1 -1
  37. package/.output/public/_nuxt/{JbHa4oXq.js → BnMTFF5R.js} +1 -1
  38. package/.output/public/_nuxt/{CY-QVcA5.js → BrX-PnSK.js} +2 -2
  39. package/.output/public/_nuxt/{DYbZBZet.js → BtV7oNn3.js} +1 -1
  40. package/.output/public/_nuxt/{apYB9dr5.js → BvFYnRMR.js} +1 -1
  41. package/.output/public/_nuxt/{x6FRJ5ac.js → BvTUBUNN.js} +1 -1
  42. package/.output/public/_nuxt/{wO6z2ugJ.js → ByLsRRoQ.js} +1 -1
  43. package/.output/public/_nuxt/{DC4idAGt.js → C1LcEMwB.js} +1 -1
  44. package/.output/public/_nuxt/{YX8avsvq.js → C2IiXp9N.js} +2 -2
  45. package/.output/public/_nuxt/{fbyIeNkc.js → C6OSRpRd.js} +1 -1
  46. package/.output/public/_nuxt/{3jQMk_5H.js → C796kFT9.js} +1 -1
  47. package/.output/public/_nuxt/{DEd2xVbS.js → C7m9zGMG.js} +1 -1
  48. package/.output/public/_nuxt/C8AtdrMH.js +1 -0
  49. package/.output/public/_nuxt/CAWbHTgy.js +1 -0
  50. package/.output/public/_nuxt/{ixlNW2So.js → CFmvNggn.js} +1 -1
  51. package/.output/public/_nuxt/{gTrVszwd.js → CGplHfmR.js} +1 -1
  52. package/.output/public/_nuxt/CJPrV25_.js +1 -0
  53. package/.output/public/_nuxt/{U1MWjQMi.js → CKKEWapF.js} +1 -1
  54. package/.output/public/_nuxt/{C6qKcgOY.js → CLkkdThv.js} +22 -22
  55. package/.output/public/_nuxt/CNjv28J2.js +1 -0
  56. package/.output/public/_nuxt/{BLnYhy_t.js → CRRw0Thu.js} +1 -1
  57. package/.output/public/_nuxt/{10_wwHSz.js → CT8s4rqa.js} +1 -1
  58. package/.output/public/_nuxt/{C27WoGNZ.js → CZSOrxUy.js} +1 -1
  59. package/.output/public/_nuxt/{DNP5E1bC.js → CaNEL9JC.js} +5 -5
  60. package/.output/public/_nuxt/{DhuOKJda.js → CbTLg9oX.js} +1 -1
  61. package/.output/public/_nuxt/CfCXpVn5.js +1 -0
  62. package/.output/public/_nuxt/{C9WIgRRL.js → ChmNlvWR.js} +1 -1
  63. package/.output/public/_nuxt/{t8aDAkZ5.js → CiNxIhaq.js} +1 -1
  64. package/.output/public/_nuxt/{E3rXPwU8.js → Ck0QYdxe.js} +1 -1
  65. package/.output/public/_nuxt/{DUVzIl3o.js → Ckb0pu4-.js} +1 -1
  66. package/.output/public/_nuxt/{vScW1Zgm.js → CkwPRs1D.js} +1 -1
  67. package/.output/public/_nuxt/CmEJg8C6.js +2 -0
  68. package/.output/public/_nuxt/{CTCcEJU3.js → CmL_vMJD.js} +1 -1
  69. package/.output/public/_nuxt/{Bciqk4dX.js → Cq8zPxkT.js} +1 -1
  70. package/.output/public/_nuxt/{D8M722pn.js → CseYuM6E.js} +1 -1
  71. package/.output/public/_nuxt/{D0ifH682.js → CxRnB4NC.js} +1 -1
  72. package/.output/public/_nuxt/{CVdCqaby.js → D0zMyG8n.js} +1 -1
  73. package/.output/public/_nuxt/{DhI5cA_n.js → D12qPplu.js} +1 -1
  74. package/.output/public/_nuxt/{Beom-INj.js → D1XYB283.js} +1 -1
  75. package/.output/public/_nuxt/{BUghTae1.js → D2NxqyzW.js} +1 -1
  76. package/.output/public/_nuxt/{CZRnNmU8.js → D5xyrvFu.js} +1 -1
  77. package/.output/public/_nuxt/{2dNDtTiv.js → D6tVZcRs.js} +3 -3
  78. package/.output/public/_nuxt/{EgKnQnf-.js → D7N3EZ-I.js} +1 -1
  79. package/.output/public/_nuxt/{C5R5QaCA.js → D8iBB0Py.js} +1 -1
  80. package/.output/public/_nuxt/{XCjS70z4.js → D8oIH8m1.js} +1 -1
  81. package/.output/public/_nuxt/{BA_pRWwX.js → DB2zZev7.js} +1 -1
  82. package/.output/public/_nuxt/{Cl-LOSDV.js → DBrOAqkm.js} +1 -1
  83. package/.output/public/_nuxt/{DO9SFIh1.js → DDXDFweK.js} +1 -1
  84. package/.output/public/_nuxt/{B93pdGAW.js → DFZkCmLQ.js} +1 -1
  85. package/.output/public/_nuxt/{CLfF6dSn.js → DFpmIy6J.js} +1 -1
  86. package/.output/public/_nuxt/{BfcLZ_fC.js → DKZmgHNU.js} +1 -1
  87. package/.output/public/_nuxt/{CPutXj8l.js → DNcOC5zj.js} +1 -1
  88. package/.output/public/_nuxt/{BHtY0l0l.js → DQhm-UPG.js} +1 -1
  89. package/.output/public/_nuxt/{C2FxZbO_.js → DR8tGJhL.js} +1 -1
  90. package/.output/public/_nuxt/{D4UJwDQJ.js → DVAEVTjy.js} +1 -1
  91. package/.output/public/_nuxt/{2nOqGUPr.js → DVqrPkCJ.js} +1 -1
  92. package/.output/public/_nuxt/DWZ9ieYa.js +1 -0
  93. package/.output/public/_nuxt/{nnQqD5pb.js → DWj6VsZv.js} +1 -1
  94. package/.output/public/_nuxt/{C2vq6Te8.js → DXJ9PxCv.js} +1 -1
  95. package/.output/public/_nuxt/{CobqYwkp.js → D_ziPROx.js} +1 -1
  96. package/.output/public/_nuxt/{GtEM7xVU.js → Da2vwoYG.js} +1 -1
  97. package/.output/public/_nuxt/{Cc-2ziaZ.js → Ddz3HcBB.js} +1 -1
  98. package/.output/public/_nuxt/{Di-Nc75e.js → DgYei0bK.js} +1 -1
  99. package/.output/public/_nuxt/{DQh6I9z9.js → Di_3GV_R.js} +1 -1
  100. package/.output/public/_nuxt/{ByYh0uRg.js → Djog1f_e.js} +1 -1
  101. package/.output/public/_nuxt/{C4mwL7SE.js → Dkap2-Pj.js} +2 -2
  102. package/.output/public/_nuxt/{D5q8SnqE.js → DlJe_sHk.js} +1 -1
  103. package/.output/public/_nuxt/DlPOQpH_.js +1 -0
  104. package/.output/public/_nuxt/{DTGenhcA.js → DmYWMtVA.js} +1 -1
  105. package/.output/public/_nuxt/DmxKU7sH.js +1 -0
  106. package/.output/public/_nuxt/{DtjjnHnt.js → DowkFZ2V.js} +1 -1
  107. package/.output/public/_nuxt/{0NJ3PaRM.js → DsodHRrQ.js} +1 -1
  108. package/.output/public/_nuxt/{Bk6JUtIo.js → DuzpliIL.js} +1 -1
  109. package/.output/public/_nuxt/DvHS7_h2.js +1 -0
  110. package/.output/public/_nuxt/DwSY6_2U.js +1 -0
  111. package/.output/public/_nuxt/{Djs0Tlpa.js → DypJaSm-.js} +1 -1
  112. package/.output/public/_nuxt/{C71_a1IX.js → DzKaXH6P.js} +1 -1
  113. package/.output/public/_nuxt/{CBTkrk2M.js → FK-jSuOT.js} +1 -1
  114. package/.output/public/_nuxt/{ILEvizzp.js → Fc2JsQt4.js} +1 -1
  115. package/.output/public/_nuxt/{BIXrSYwR.js → IYCBGuRS.js} +1 -1
  116. package/.output/public/_nuxt/{JX1oqJI9.js → LRO7YHoH.js} +1 -1
  117. package/.output/public/_nuxt/{Kw0zy3FG.js → NrRzUJNY.js} +1 -1
  118. package/.output/public/_nuxt/{DJTCT0bl.js → OeVS0Rsb.js} +1 -1
  119. package/.output/public/_nuxt/{BmOtR1wX.js → OlF0QnKF.js} +1 -1
  120. package/.output/public/_nuxt/{DTAStixR.js → QuAoqY7t.js} +1 -1
  121. package/.output/public/_nuxt/{8q5NepGW.js → RlXHkmOd.js} +2 -2
  122. package/.output/public/_nuxt/{rfGRTJJW.js → TxMdabnL.js} +1 -1
  123. package/.output/public/_nuxt/{CZVzFlpI.js → WZnvL9Dh.js} +1 -1
  124. package/.output/public/_nuxt/ZvG7a1W3.js +1 -0
  125. package/.output/public/_nuxt/{N5XtbYVD.js → aPNZBVrG.js} +1 -1
  126. package/.output/public/_nuxt/builds/latest.json +1 -1
  127. package/.output/public/_nuxt/builds/meta/495aca73-bfa5-456e-b96a-f02e009c72d3.json +1 -0
  128. package/.output/public/_nuxt/entry.C_udkZt9.css +1 -0
  129. package/.output/public/_nuxt/{D_4LPm1U.js → evY81hM3.js} +1 -1
  130. package/.output/public/_nuxt/{DzGy77Vr.js → h_bXa-f2.js} +1 -1
  131. package/.output/public/_nuxt/{D9nmzBAw.js → i6QBzaEi.js} +1 -1
  132. package/.output/public/_nuxt/{BGgwYWjH.js → iTVKJ1kw.js} +1 -1
  133. package/.output/public/_nuxt/{Um1vPiAz.js → j92uR3uR.js} +1 -1
  134. package/.output/public/_nuxt/jdUkeAj_.js +1 -0
  135. package/.output/public/_nuxt/{BmVLxnDU.js → jeRvcMHU.js} +1 -1
  136. package/.output/public/_nuxt/{SrncdpaW.js → kuv0zpKq.js} +1 -1
  137. package/.output/public/_nuxt/{DfF81NlA.js → l3lKQs7b.js} +1 -1
  138. package/.output/public/_nuxt/{4K03TkGA.js → pdYvpiud.js} +3 -3
  139. package/.output/public/_nuxt/{C39dQ88F.js → qIgZ7OXa.js} +1 -1
  140. package/.output/public/_nuxt/{DS2wStH1.js → qcVwZv8e.js} +1 -1
  141. package/.output/public/_nuxt/{g5MjDvm5.js → ru8fqqWs.js} +1 -1
  142. package/.output/public/_nuxt/{CQqCBrXj.js → sBzyvWMJ.js} +1 -1
  143. package/.output/public/_nuxt/{D3AZaldL.js → sgmhgpCS.js} +1 -1
  144. package/.output/public/_nuxt/{ChcO9s3o.js → y2jv0da-.js} +1 -1
  145. package/.output/public/_nuxt/{Dn5a-guE.js → yyS4-kAX.js} +1 -1
  146. package/.output/public/_nuxt/zIoBLBHF.js +1 -0
  147. package/.output/public/_nuxt/zpazwPgx.js +1 -0
  148. package/.output/server/chunks/build/CodeIcon-CWD5HcV7.mjs +1 -1
  149. package/.output/server/chunks/build/DropdownMenu-BBrV9nXz.mjs +1 -1
  150. package/.output/server/chunks/build/EditorToolbar-DIfb5arC.mjs +1 -1
  151. package/.output/server/chunks/build/Img-CWLmvN1t.mjs +1 -1
  152. package/.output/server/chunks/build/MDC-Dx0YPDhe.mjs +1 -1
  153. package/.output/server/chunks/build/Select-BB1oLrCD.mjs +1 -1
  154. package/.output/server/chunks/build/SelectMenu-DPssg6zD.mjs +1 -1
  155. package/.output/server/chunks/build/Table-DCwTlhCj.mjs +1 -1
  156. package/.output/server/chunks/build/Tooltip-TRyl6dje.mjs +1 -1
  157. package/.output/server/chunks/build/Tree-DUhXKd8y.mjs +1 -1
  158. package/.output/server/chunks/build/_uuid_-DfJaumTE.mjs +1 -1
  159. package/.output/server/chunks/build/{chat-CR3JIVEq.mjs → chat-m4-n9vC6.mjs} +516 -14
  160. package/.output/server/chunks/build/chat-m4-n9vC6.mjs.map +1 -0
  161. package/.output/server/chunks/build/client.precomputed.mjs +1 -1
  162. package/.output/server/chunks/build/cookie-C_iulBi6.mjs +1 -1
  163. package/.output/server/chunks/build/dashboard-CiVTAZuF.mjs +1 -1
  164. package/.output/server/chunks/build/docs-ChGwOPg5.mjs +1 -1
  165. package/.output/server/chunks/build/fetch-BB7Qzkwe.mjs +1 -1
  166. package/.output/server/chunks/build/index-CxDxc9fm.mjs +1 -1
  167. package/.output/server/chunks/build/server.mjs +2 -2
  168. package/.output/server/chunks/build/settings-B2KXoGcz.mjs +1 -1
  169. package/.output/server/chunks/build/useNotificationBus-BG5JNQf1.mjs +1 -1
  170. package/.output/server/chunks/build/view-n2sYa4Zh.mjs +1 -1
  171. package/.output/server/chunks/nitro/nitro.mjs +882 -866
  172. package/.output/server/chunks/routes/_ws/chat.mjs +40 -6
  173. package/.output/server/chunks/routes/_ws/chat.mjs.map +1 -1
  174. package/.output/server/chunks/routes/api/bridges/_id/contacts.get.mjs +84 -0
  175. package/.output/server/chunks/routes/api/bridges/_id/contacts.get.mjs.map +1 -0
  176. package/.output/server/chunks/routes/api/bridges/_id/send.post.mjs +70 -0
  177. package/.output/server/chunks/routes/api/bridges/_id/send.post.mjs.map +1 -0
  178. package/.output/server/chunks/routes/api/bridges/context.get.mjs +19 -18
  179. package/.output/server/chunks/routes/api/bridges/context.get.mjs.map +1 -1
  180. package/.output/server/chunks/routes/api/conversations/_id_.delete.mjs +1 -1
  181. package/.output/server/chunks/routes/api/conversations/_id_.get.mjs +1 -1
  182. package/.output/server/chunks/routes/api/dashboard/overview.get.mjs +1 -1
  183. package/.output/server/chunks/routes/api/documents/_id/public.get.mjs +1 -1
  184. package/.output/server/chunks/routes/api/documents/_id/restore.post.mjs +1 -1
  185. package/.output/server/chunks/routes/api/documents/by-path.post.mjs +1 -1
  186. package/.output/server/chunks/routes/api/documents/index.delete.mjs +1 -1
  187. package/.output/server/chunks/routes/api/documents/index.put.mjs +1 -1
  188. package/.output/server/chunks/routes/api/fs/delete.post.mjs +1 -1
  189. package/.output/server/chunks/routes/api/fs/list.get.mjs +1 -1
  190. package/.output/server/chunks/routes/api/fs/mkdir.post.mjs +1 -1
  191. package/.output/server/chunks/routes/api/fs/move.post.mjs +1 -1
  192. package/.output/server/chunks/routes/api/fs/read.post.mjs +1 -1
  193. package/.output/server/chunks/routes/api/fs/rename.post.mjs +1 -1
  194. package/.output/server/chunks/routes/api/fs/write.post.mjs +1 -1
  195. package/.output/server/chunks/routes/api/health.get.mjs +1 -1
  196. package/.output/server/chunks/routes/api/home.get.mjs +1 -1
  197. package/.output/server/chunks/routes/api/hooks/index.get.mjs +1 -1
  198. package/.output/server/chunks/routes/api/hooks/index.post.mjs +1 -1
  199. package/.output/server/chunks/routes/api/hooks/stats.get.mjs +1 -1
  200. package/.output/server/chunks/routes/api/index.get10.mjs +1 -1
  201. package/.output/server/chunks/routes/api/index.get3.mjs +1 -1
  202. package/.output/server/chunks/routes/api/index.get4.mjs +1 -1
  203. package/.output/server/chunks/routes/api/index.get5.mjs +1 -1
  204. package/.output/server/chunks/routes/api/index.get6.mjs +1 -1
  205. package/.output/server/chunks/routes/api/index.get7.mjs +1 -1
  206. package/.output/server/chunks/routes/api/index.get8.mjs +1 -1
  207. package/.output/server/chunks/routes/api/index.get9.mjs +1 -1
  208. package/.output/server/chunks/routes/api/index.post3.mjs +1 -1
  209. package/.output/server/chunks/routes/api/index.post4.mjs +1 -1
  210. package/.output/server/chunks/routes/api/index.post5.mjs +1 -1
  211. package/.output/server/chunks/routes/api/index.put.mjs +1 -1
  212. package/.output/server/chunks/routes/api/memory/_id_.delete.mjs +1 -1
  213. package/.output/server/chunks/routes/api/memory/context.get.mjs +1 -1
  214. package/.output/server/chunks/routes/api/memory/extract.post.mjs +1 -1
  215. package/.output/server/chunks/routes/api/memory/search.get.mjs +1 -1
  216. package/.output/server/chunks/routes/api/memory/store.post.mjs +1 -1
  217. package/.output/server/chunks/routes/api/projects/index.delete.mjs +1 -1
  218. package/.output/server/chunks/routes/api/projects/index.get.mjs +1 -1
  219. package/.output/server/chunks/routes/api/projects/index.put.mjs +1 -1
  220. package/.output/server/chunks/routes/api/secrets/_key_.delete.mjs +1 -1
  221. package/.output/server/chunks/routes/api/secrets/_key_.get.mjs +1 -1
  222. package/.output/server/chunks/routes/api/secrets/_key_.put.mjs +1 -1
  223. package/.output/server/chunks/routes/api/skills/_name/delete.post.mjs +1 -1
  224. package/.output/server/chunks/routes/api/skills/_name/export.get.mjs +1 -1
  225. package/.output/server/chunks/routes/api/skills/_name/files/create.post.mjs +1 -1
  226. package/.output/server/chunks/routes/api/skills/_name/files/delete.post.mjs +1 -1
  227. package/.output/server/chunks/routes/api/skills/_name/files/read.post.mjs +1 -1
  228. package/.output/server/chunks/routes/api/skills/_name/files/write.post.mjs +1 -1
  229. package/.output/server/chunks/routes/api/skills/_name/index.get.mjs +1 -1
  230. package/.output/server/chunks/routes/api/skills/_name/rename.post.mjs +1 -1
  231. package/.output/server/chunks/routes/api/skills/_name/toggle.post.mjs +1 -1
  232. package/.output/server/chunks/routes/api/skills/create.post.mjs +1 -1
  233. package/.output/server/chunks/routes/api/skills/generate.post.mjs +1 -1
  234. package/.output/server/chunks/routes/api/skills/import.post.mjs +1 -1
  235. package/.output/server/chunks/routes/api/skills/index.get.mjs +1 -1
  236. package/.output/server/chunks/routes/api/skills/index.get2.mjs +1 -1
  237. package/.output/server/chunks/routes/api/skills/library/check-updates.get.mjs +1 -1
  238. package/.output/server/chunks/routes/api/skills/library/install.post.mjs +1 -1
  239. package/.output/server/chunks/routes/api/tasks/_id/restore.post.mjs +1 -1
  240. package/.output/server/chunks/routes/api/tasks/index.delete.mjs +1 -1
  241. package/.output/server/chunks/routes/api/tasks/index.put.mjs +1 -1
  242. package/.output/server/chunks/routes/api/tasks/tags.get.mjs +1 -1
  243. package/.output/server/chunks/routes/api/usage/stats.get.mjs +1 -1
  244. package/.output/server/chunks/routes/api/user/email.patch.mjs +1 -1
  245. package/.output/server/chunks/routes/api/webhooks/bluebubbles.post.mjs +1 -1
  246. package/.output/server/chunks/routes/api/webhooks/telegram.post.mjs +1 -1
  247. package/.output/server/chunks/routes/notifications.mjs +1 -1
  248. package/.output/server/chunks/routes/renderer.mjs +1 -1
  249. package/.output/server/chunks/routes/terminal.mjs +1 -1
  250. package/.output/server/index.mjs +1 -1
  251. package/.output/server/package.json +1 -1
  252. package/Claude/skills/_lib/api.py +3 -2
  253. package/Claude/skills/bridge/SKILL.md +25 -1
  254. package/Claude/skills/bridge/bridge.py +64 -0
  255. package/app/components/chat/ChatInput.vue +133 -5
  256. package/app/components/chat/MessageBubble.vue +188 -6
  257. package/app/composables/useAttachments.ts +196 -0
  258. package/app/composables/useChat.ts +14 -2
  259. package/app/pages/chat.vue +4 -2
  260. package/package.json +1 -1
  261. package/server/api/bridges/[id]/contacts.get.ts +57 -0
  262. package/server/api/bridges/[id]/send.post.ts +40 -0
  263. package/server/api/bridges/context.get.ts +19 -18
  264. package/server/bridge/adapters/imessage.ts +9 -2
  265. package/server/bridge/responder.ts +3 -3
  266. package/server/routes/_ws/chat.ts +61 -7
  267. package/server/utils/chat-session-manager.ts +20 -2
  268. package/shared/types/index.ts +27 -1
  269. package/.output/public/_nuxt/BH0QDWEm.js +0 -1
  270. package/.output/public/_nuxt/BK8S2ony.js +0 -1
  271. package/.output/public/_nuxt/BZrSPX0S.js +0 -1
  272. package/.output/public/_nuxt/BaZwjF8o.js +0 -1
  273. package/.output/public/_nuxt/BkfI94R8.js +0 -1
  274. package/.output/public/_nuxt/C3NST0BU.js +0 -1
  275. package/.output/public/_nuxt/CKxSHyww.js +0 -1
  276. package/.output/public/_nuxt/CSKJ-Ahh.js +0 -1
  277. package/.output/public/_nuxt/CWyMCJQH.js +0 -1
  278. package/.output/public/_nuxt/CYPO5o_C.js +0 -1
  279. package/.output/public/_nuxt/CqNwHCpo.js +0 -1
  280. package/.output/public/_nuxt/CwPdIZ9J.js +0 -1
  281. package/.output/public/_nuxt/D5jZq8b3.js +0 -1
  282. package/.output/public/_nuxt/DH4YkDAi.js +0 -1
  283. package/.output/public/_nuxt/DPklr_tJ.js +0 -2
  284. package/.output/public/_nuxt/DQM4eBdt.js +0 -1
  285. package/.output/public/_nuxt/DUAAXJ6Q.js +0 -1
  286. package/.output/public/_nuxt/DmmdPt_5.js +0 -1
  287. package/.output/public/_nuxt/H6JbrRBU.js +0 -1
  288. package/.output/public/_nuxt/builds/meta/515be38f-7222-4e4b-80cb-cef7594b1834.json +0 -1
  289. package/.output/public/_nuxt/entry.NKPfH2kE.css +0 -1
  290. package/.output/server/chunks/build/chat-CR3JIVEq.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, r as requireDb, i as getQuery, a as getDb, x as tasks } from '../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, r as requireDb, i as getQuery, a as getDb, z as tasks } from '../../nitro/nitro.mjs';
2
2
  import { isNull, inArray, eq, or, ilike, and } from 'drizzle-orm';
3
3
  import '@anthropic-ai/claude-agent-sdk';
4
4
  import 'module';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, r as requireDb, e as readBody, c as createError, a as getDb, y as projects, n as notifyResourceChange } from '../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, r as requireDb, e as readBody, c as createError, a as getDb, A as projects, n as notifyResourceChange } from '../../nitro/nitro.mjs';
2
2
  import '@anthropic-ai/claude-agent-sdk';
3
3
  import 'module';
4
4
  import 'path';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, e as readBody, c as createError, a as getDb, R as encryptSecret, P as secrets, n as notifyResourceChange } from '../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, e as readBody, c as createError, a as getDb, T as encryptSecret, R as secrets, n as notifyResourceChange } from '../../nitro/nitro.mjs';
2
2
  import '@anthropic-ai/claude-agent-sdk';
3
3
  import 'module';
4
4
  import 'path';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, r as requireDb, e as readBody, c as createError, a as getDb, x as tasks, n as notifyResourceChange } from '../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, r as requireDb, e as readBody, c as createError, a as getDb, z as tasks, n as notifyResourceChange } from '../../nitro/nitro.mjs';
2
2
  import '@anthropic-ai/claude-agent-sdk';
3
3
  import 'module';
4
4
  import 'path';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, r as requireDb, c as createError, e as readBody, a as getDb, S as userSettings } from '../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, r as requireDb, c as createError, e as readBody, a as getDb, U as userSettings } from '../../nitro/nitro.mjs';
2
2
  import { eq } from 'drizzle-orm';
3
3
  import '@anthropic-ai/claude-agent-sdk';
4
4
  import 'module';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, r as requireDb, g as getRouterParam, c as createError, a as getDb, O as memoryChunks, n as notifyResourceChange } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, r as requireDb, g as getRouterParam, c as createError, a as getDb, Q as memoryChunks, n as notifyResourceChange } from '../../../nitro/nitro.mjs';
2
2
  import { eq } from 'drizzle-orm';
3
3
  import '@anthropic-ai/claude-agent-sdk';
4
4
  import 'module';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, r as requireDb, i as getQuery, a as getDb, O as memoryChunks } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, r as requireDb, i as getQuery, a as getDb, Q as memoryChunks } from '../../../nitro/nitro.mjs';
2
2
  import { eq, desc, sql } from 'drizzle-orm';
3
3
  import '@anthropic-ai/claude-agent-sdk';
4
4
  import 'module';
@@ -1,4 +1,4 @@
1
- import { a0 as logTokenUsage, d as defineEventHandler, r as requireDb, e as readBody, a as getDb, c as createError, O as memoryChunks } from '../../../nitro/nitro.mjs';
1
+ import { a2 as logTokenUsage, d as defineEventHandler, r as requireDb, e as readBody, a as getDb, c as createError, Q as memoryChunks } from '../../../nitro/nitro.mjs';
2
2
  import { query } from '@anthropic-ai/claude-agent-sdk';
3
3
  import 'module';
4
4
  import 'path';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, r as requireDb, i as getQuery, a as getDb, O as memoryChunks } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, r as requireDb, i as getQuery, a as getDb, Q as memoryChunks } from '../../../nitro/nitro.mjs';
2
2
  import { eq, gte, or, ilike, and, desc, sql } from 'drizzle-orm';
3
3
  import '@anthropic-ai/claude-agent-sdk';
4
4
  import 'module';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, r as requireDb, e as readBody, a as getDb, c as createError, O as memoryChunks, n as notifyResourceChange } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, r as requireDb, e as readBody, a as getDb, c as createError, Q as memoryChunks, n as notifyResourceChange } from '../../../nitro/nitro.mjs';
2
2
  import '@anthropic-ai/claude-agent-sdk';
3
3
  import 'module';
4
4
  import 'path';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, r as requireDb, g as getRouterParam, c as createError, a as getDb, y as projects, n as notifyResourceChange } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, r as requireDb, g as getRouterParam, c as createError, a as getDb, A as projects, n as notifyResourceChange } from '../../../nitro/nitro.mjs';
2
2
  import { eq } from 'drizzle-orm';
3
3
  import '@anthropic-ai/claude-agent-sdk';
4
4
  import 'module';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, r as requireDb, g as getRouterParam, c as createError, a as getDb, y as projects } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, r as requireDb, g as getRouterParam, c as createError, a as getDb, A as projects } from '../../../nitro/nitro.mjs';
2
2
  import { eq } from 'drizzle-orm';
3
3
  import '@anthropic-ai/claude-agent-sdk';
4
4
  import 'module';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, r as requireDb, g as getRouterParam, c as createError, e as readBody, a as getDb, y as projects, n as notifyResourceChange } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, r as requireDb, g as getRouterParam, c as createError, e as readBody, a as getDb, A as projects, n as notifyResourceChange } from '../../../nitro/nitro.mjs';
2
2
  import { eq } from 'drizzle-orm';
3
3
  import '@anthropic-ai/claude-agent-sdk';
4
4
  import 'module';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, g as getRouterParam, c as createError, a as getDb, P as secrets, n as notifyResourceChange } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, g as getRouterParam, c as createError, a as getDb, R as secrets, n as notifyResourceChange } from '../../../nitro/nitro.mjs';
2
2
  import { eq } from 'drizzle-orm';
3
3
  import '@anthropic-ai/claude-agent-sdk';
4
4
  import 'module';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, g as getRouterParam, c as createError, a as getDb, Q as decryptSecret } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, g as getRouterParam, c as createError, a as getDb, S as decryptSecret } from '../../../nitro/nitro.mjs';
2
2
  import '@anthropic-ai/claude-agent-sdk';
3
3
  import 'module';
4
4
  import 'path';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, g as getRouterParam, c as createError, e as readBody, a as getDb, R as encryptSecret, P as secrets, n as notifyResourceChange } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, g as getRouterParam, c as createError, e as readBody, a as getDb, T as encryptSecret, R as secrets, n as notifyResourceChange } from '../../../nitro/nitro.mjs';
2
2
  import { eq } from 'drizzle-orm';
3
3
  import '@anthropic-ai/claude-agent-sdk';
4
4
  import 'module';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, g as getRouterParam, c as createError, U as validateSkillName, V as isCoreSkill, W as getSkillsDir, X as getInactiveSkillsDir } from '../../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, g as getRouterParam, c as createError, W as validateSkillName, X as isCoreSkill, Y as getSkillsDir, Z as getInactiveSkillsDir } from '../../../../nitro/nitro.mjs';
2
2
  import { stat, rm } from 'fs/promises';
3
3
  import { join } from 'path';
4
4
  import '@anthropic-ai/claude-agent-sdk';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, g as getRouterParam, c as createError, U as validateSkillName, W as getSkillsDir, X as getInactiveSkillsDir, Y as setResponseHeaders, Z as send } from '../../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, g as getRouterParam, c as createError, W as validateSkillName, Y as getSkillsDir, Z as getInactiveSkillsDir, _ as setResponseHeaders, $ as send } from '../../../../nitro/nitro.mjs';
2
2
  import { stat } from 'fs/promises';
3
3
  import { join } from 'path';
4
4
  import AdmZip from 'adm-zip';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, g as getRouterParam, c as createError, e as readBody, W as getSkillsDir, X as getInactiveSkillsDir } from '../../../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, g as getRouterParam, c as createError, e as readBody, Y as getSkillsDir, Z as getInactiveSkillsDir } from '../../../../../nitro/nitro.mjs';
2
2
  import { stat, mkdir, writeFile } from 'fs/promises';
3
3
  import { normalize, join } from 'path';
4
4
  import '@anthropic-ai/claude-agent-sdk';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, g as getRouterParam, c as createError, e as readBody, W as getSkillsDir, X as getInactiveSkillsDir } from '../../../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, g as getRouterParam, c as createError, e as readBody, Y as getSkillsDir, Z as getInactiveSkillsDir } from '../../../../../nitro/nitro.mjs';
2
2
  import { stat, rm } from 'fs/promises';
3
3
  import { normalize, join } from 'path';
4
4
  import '@anthropic-ai/claude-agent-sdk';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, g as getRouterParam, c as createError, e as readBody, W as getSkillsDir, X as getInactiveSkillsDir } from '../../../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, g as getRouterParam, c as createError, e as readBody, Y as getSkillsDir, Z as getInactiveSkillsDir } from '../../../../../nitro/nitro.mjs';
2
2
  import { stat, readFile } from 'fs/promises';
3
3
  import { normalize, join } from 'path';
4
4
  import '@anthropic-ai/claude-agent-sdk';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, g as getRouterParam, c as createError, e as readBody, W as getSkillsDir, X as getInactiveSkillsDir } from '../../../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, g as getRouterParam, c as createError, e as readBody, Y as getSkillsDir, Z as getInactiveSkillsDir } from '../../../../../nitro/nitro.mjs';
2
2
  import { mkdir, writeFile, stat } from 'fs/promises';
3
3
  import { normalize, join, dirname } from 'path';
4
4
  import '@anthropic-ai/claude-agent-sdk';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, g as getRouterParam, c as createError, _ as buildSkillFileTree, W as getSkillsDir, X as getInactiveSkillsDir } from '../../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, g as getRouterParam, c as createError, a0 as buildSkillFileTree, Y as getSkillsDir, Z as getInactiveSkillsDir } from '../../../../nitro/nitro.mjs';
2
2
  import { stat } from 'fs/promises';
3
3
  import { join } from 'path';
4
4
  import '@anthropic-ai/claude-agent-sdk';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, g as getRouterParam, c as createError, V as isCoreSkill, e as readBody, U as validateSkillName, W as getSkillsDir, X as getInactiveSkillsDir } from '../../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, g as getRouterParam, c as createError, X as isCoreSkill, e as readBody, W as validateSkillName, Y as getSkillsDir, Z as getInactiveSkillsDir } from '../../../../nitro/nitro.mjs';
2
2
  import { stat, rename, readFile, writeFile } from 'fs/promises';
3
3
  import { join } from 'path';
4
4
  import '@anthropic-ai/claude-agent-sdk';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, g as getRouterParam, c as createError, V as isCoreSkill, W as getSkillsDir, X as getInactiveSkillsDir } from '../../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, g as getRouterParam, c as createError, X as isCoreSkill, Y as getSkillsDir, Z as getInactiveSkillsDir } from '../../../../nitro/nitro.mjs';
2
2
  import { stat, mkdir, rename } from 'fs/promises';
3
3
  import { join } from 'path';
4
4
  import '@anthropic-ai/claude-agent-sdk';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, e as readBody, c as createError, U as validateSkillName, W as getSkillsDir } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, e as readBody, c as createError, W as validateSkillName, Y as getSkillsDir } from '../../../nitro/nitro.mjs';
2
2
  import { stat, mkdir, writeFile } from 'fs/promises';
3
3
  import { join } from 'path';
4
4
  import '@anthropic-ai/claude-agent-sdk';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, e as readBody, c as createError, U as validateSkillName, X as getInactiveSkillsDir, a0 as logTokenUsage } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, e as readBody, c as createError, W as validateSkillName, Z as getInactiveSkillsDir, a2 as logTokenUsage } from '../../../nitro/nitro.mjs';
2
2
  import { stat, mkdir, rm, readdir } from 'fs/promises';
3
3
  import { join } from 'path';
4
4
  import { query } from '@anthropic-ai/claude-agent-sdk';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, a1 as readMultipartFormData, c as createError, U as validateSkillName, W as getSkillsDir, X as getInactiveSkillsDir } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, a3 as readMultipartFormData, c as createError, W as validateSkillName, Y as getSkillsDir, Z as getInactiveSkillsDir } from '../../../nitro/nitro.mjs';
2
2
  import { stat, mkdir, writeFile } from 'fs/promises';
3
3
  import { join, normalize } from 'path';
4
4
  import AdmZip from 'adm-zip';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, g as getRouterParam, c as createError, W as getSkillsDir, X as getInactiveSkillsDir, $ as parseSkillFrontmatter, _ as buildSkillFileTree, V as isCoreSkill } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, g as getRouterParam, c as createError, Y as getSkillsDir, Z as getInactiveSkillsDir, a1 as parseSkillFrontmatter, a0 as buildSkillFileTree, X as isCoreSkill } from '../../../nitro/nitro.mjs';
2
2
  import { stat, readFile } from 'fs/promises';
3
3
  import { join } from 'path';
4
4
  import '@anthropic-ai/claude-agent-sdk';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, a as getDb, W as getSkillsDir, X as getInactiveSkillsDir, $ as parseSkillFrontmatter } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, a as getDb, Y as getSkillsDir, Z as getInactiveSkillsDir, a1 as parseSkillFrontmatter } from '../../../nitro/nitro.mjs';
2
2
  import { stat, readFile } from 'fs/promises';
3
3
  import { join } from 'path';
4
4
  import '@anthropic-ai/claude-agent-sdk';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, a as getDb, W as getSkillsDir, X as getInactiveSkillsDir, $ as parseSkillFrontmatter } from '../../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, a as getDb, Y as getSkillsDir, Z as getInactiveSkillsDir, a1 as parseSkillFrontmatter } from '../../../../nitro/nitro.mjs';
2
2
  import { stat, readdir, readFile } from 'fs/promises';
3
3
  import { join } from 'path';
4
4
  import '@anthropic-ai/claude-agent-sdk';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, e as readBody, c as createError, a as getDb, a2 as skillsCatalog, W as getSkillsDir } from '../../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, e as readBody, c as createError, a as getDb, a4 as skillsCatalog, Y as getSkillsDir } from '../../../../nitro/nitro.mjs';
2
2
  import { stat, rm, mkdir, writeFile } from 'fs/promises';
3
3
  import { join } from 'path';
4
4
  import { eq } from 'drizzle-orm';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, r as requireDb, g as getRouterParam, c as createError, a as getDb, x as tasks, n as notifyResourceChange } from '../../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, r as requireDb, g as getRouterParam, c as createError, a as getDb, z as tasks, n as notifyResourceChange } from '../../../../nitro/nitro.mjs';
2
2
  import { eq } from 'drizzle-orm';
3
3
  import '@anthropic-ai/claude-agent-sdk';
4
4
  import 'module';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, r as requireDb, g as getRouterParam, c as createError, a as getDb, x as tasks, n as notifyResourceChange } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, r as requireDb, g as getRouterParam, c as createError, a as getDb, z as tasks, n as notifyResourceChange } from '../../../nitro/nitro.mjs';
2
2
  import { eq } from 'drizzle-orm';
3
3
  import '@anthropic-ai/claude-agent-sdk';
4
4
  import 'module';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, r as requireDb, g as getRouterParam, c as createError, e as readBody, a as getDb, x as tasks, n as notifyResourceChange } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, r as requireDb, g as getRouterParam, c as createError, e as readBody, a as getDb, z as tasks, n as notifyResourceChange } from '../../../nitro/nitro.mjs';
2
2
  import { eq } from 'drizzle-orm';
3
3
  import '@anthropic-ai/claude-agent-sdk';
4
4
  import 'module';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, r as requireDb, a as getDb, x as tasks } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, r as requireDb, a as getDb, z as tasks } from '../../../nitro/nitro.mjs';
2
2
  import { isNull } from 'drizzle-orm';
3
3
  import '@anthropic-ai/claude-agent-sdk';
4
4
  import 'module';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, r as requireDb, i as getQuery, a as getDb, A as tokenUsage } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, r as requireDb, i as getQuery, a as getDb, C as tokenUsage } from '../../../nitro/nitro.mjs';
2
2
  import { gte } from 'drizzle-orm';
3
3
  import '@anthropic-ai/claude-agent-sdk';
4
4
  import 'module';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, k as auth, c as createError, e as readBody, a as getDb, a3 as user } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, k as auth, c as createError, e as readBody, a as getDb, a5 as user } from '../../../nitro/nitro.mjs';
2
2
  import { eq } from 'drizzle-orm';
3
3
  import '@anthropic-ai/claude-agent-sdk';
4
4
  import 'module';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, a4 as getAdapterByPlatform, c as createError, e as readBody } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, a6 as getAdapterByPlatform, c as createError, e as readBody } from '../../../nitro/nitro.mjs';
2
2
  import '@anthropic-ai/claude-agent-sdk';
3
3
  import 'module';
4
4
  import 'path';
@@ -1,4 +1,4 @@
1
- import { d as defineEventHandler, a4 as getAdapterByPlatform, c as createError, a5 as getHeader, e as readBody } from '../../../nitro/nitro.mjs';
1
+ import { d as defineEventHandler, a6 as getAdapterByPlatform, c as createError, a7 as getHeader, e as readBody } from '../../../nitro/nitro.mjs';
2
2
  import '@anthropic-ai/claude-agent-sdk';
3
3
  import 'module';
4
4
  import 'path';
@@ -1,4 +1,4 @@
1
- import { a6 as defineWebSocketHandler, a8 as notificationBus } from '../nitro/nitro.mjs';
1
+ import { a8 as defineWebSocketHandler, aa as notificationBus } from '../nitro/nitro.mjs';
2
2
  import '@anthropic-ai/claude-agent-sdk';
3
3
  import 'module';
4
4
  import 'path';
@@ -1,5 +1,5 @@
1
1
  import { createRenderer, getRequestDependencies, getPreloadLinks, getPrefetchLinks } from 'vue-bundle-renderer/runtime';
2
- import { aN as buildAssetsURL, J as useRuntimeConfig, aO as getResponseStatusText, aP as getResponseStatus, aQ as defineRenderHandler, aR as publicAssetsURL, i as getQuery, c as createError, ag as destr, aS as getRouteRules, aT as useNitroApp } from '../nitro/nitro.mjs';
2
+ import { aP as buildAssetsURL, L as useRuntimeConfig, aQ as getResponseStatusText, aR as getResponseStatus, aS as defineRenderHandler, aT as publicAssetsURL, i as getQuery, c as createError, ai as destr, aU as getRouteRules, aV as useNitroApp } from '../nitro/nitro.mjs';
3
3
  import { renderToString } from 'vue/server-renderer';
4
4
  import { createHead as createHead$1, propsToString, renderSSRHead } from 'unhead/server';
5
5
  import { stringify, uneval } from 'devalue';
@@ -1,4 +1,4 @@
1
- import { a6 as defineWebSocketHandler, a9 as resizePty, aa as writeToPty, ab as getOrCreatePtySession, ac as getOutputBuffer, ad as getPtySession } from '../nitro/nitro.mjs';
1
+ import { a8 as defineWebSocketHandler, ab as resizePty, ac as writeToPty, ad as getOrCreatePtySession, ae as getOutputBuffer, af as getPtySession } from '../nitro/nitro.mjs';
2
2
  import '@anthropic-ai/claude-agent-sdk';
3
3
  import 'module';
4
4
  import 'path';
@@ -1,6 +1,6 @@
1
1
  import process from 'node:process';globalThis._importMeta_={url:import.meta.url,env:process.env};import 'node:http';
2
2
  import 'node:https';
3
- export { aU as default } from './chunks/nitro/nitro.mjs';
3
+ export { aW as default } from './chunks/nitro/nitro.mjs';
4
4
  import '@anthropic-ai/claude-agent-sdk';
5
5
  import 'module';
6
6
  import 'path';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cognova-prod",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "type": "module",
5
5
  "private": true,
6
6
  "dependencies": {
@@ -84,14 +84,15 @@ def api_request(
84
84
  cmd.extend(["-H", f"X-API-Token: {API_TOKEN}"])
85
85
 
86
86
  if params:
87
+ from urllib.parse import quote
87
88
  query_parts = []
88
89
  for k, v in params.items():
89
90
  if v is not None:
90
91
  if isinstance(v, list):
91
92
  for item in v:
92
- query_parts.append(f"{k}={item}")
93
+ query_parts.append(f"{k}={quote(str(item))}")
93
94
  else:
94
- query_parts.append(f"{k}={v}")
95
+ query_parts.append(f"{k}={quote(str(v))}")
95
96
  if query_parts:
96
97
  url = f"{url}?{'&'.join(query_parts)}"
97
98
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: bridge
3
- description: Manage message bridge integrations (Telegram, Discord, iMessage, Google Suite, Email). List, enable, disable, and configure platform connections.
3
+ description: Manage message bridge integrations (Telegram, Discord, iMessage, Google Suite, Email). List, enable, disable, configure, send messages, and look up contacts.
4
4
  allowed-tools: Bash, Read
5
5
  metadata:
6
6
  version: "1.0.0"
@@ -63,6 +63,27 @@ python3 ~/.claude/skills/bridge/bridge.py delete <BRIDGE_ID>
63
63
 
64
64
  Permanently removes a bridge and all its message history.
65
65
 
66
+ ### List contacts for a bridge
67
+
68
+ ```bash
69
+ python3 ~/.claude/skills/bridge/bridge.py contacts <BRIDGE_ID> [--query "search"] [--limit 50]
70
+ ```
71
+
72
+ Lists people who have messaged through this bridge. Returns name, platform ID (needed for sending), message count, and last message time. Use `--query` to filter by name or ID.
73
+
74
+ ### Send a message through a bridge
75
+
76
+ ```bash
77
+ python3 ~/.claude/skills/bridge/bridge.py send <BRIDGE_ID> --recipient <RECIPIENT_ID> --text "Hello!"
78
+ ```
79
+
80
+ Sends a message to a specific recipient. The `--recipient` is the platform-specific ID (e.g., Telegram chat_id, Discord user_id). Use `contacts` to look up recipient IDs first.
81
+
82
+ **Workflow for sending a message to someone:**
83
+ 1. `list` → find the bridge ID for the platform
84
+ 2. `contacts <BRIDGE_ID> --query "name"` → find the recipient's platform ID
85
+ 3. `send <BRIDGE_ID> --recipient <ID> --text "message"` → send the message
86
+
66
87
  ### Show integration context
67
88
 
68
89
  ```bash
@@ -80,6 +101,9 @@ Shows the current integration context that gets injected into sessions.
80
101
  - "What integrations do I have?" → Use `list`
81
102
  - "Disable Discord" → Use `disable`
82
103
  - "Check bridge status" → Use `list` (shows health)
104
+ - "Send a message to X on Telegram" → `list` → `contacts` → `send`
105
+ - "Who has messaged me on Telegram?" → `list` → `contacts`
106
+ - "Message @username on Discord" → `list` → `contacts --query username` → `send`
83
107
 
84
108
  ## Setup Guides
85
109
 
@@ -160,6 +160,56 @@ def cmd_delete(args):
160
160
  print(f"Bridge '{data.get('name')}' deleted.")
161
161
 
162
162
 
163
+ def cmd_contacts(args):
164
+ """List known contacts for a bridge."""
165
+ params = {}
166
+ if args.query:
167
+ params["q"] = args.query
168
+ if args.limit:
169
+ params["limit"] = str(args.limit)
170
+
171
+ success, data = get(f"/bridges/{args.id}/contacts", params=params if params else None)
172
+ if not success:
173
+ print(f"Error: {data}")
174
+ sys.exit(1)
175
+
176
+ contacts = data if isinstance(data, list) else []
177
+ if not contacts:
178
+ print("No contacts found for this bridge.")
179
+ return
180
+
181
+ name_width = max(len(c.get("senderName") or c.get("sender") or "") for c in contacts)
182
+ name_width = max(name_width, 4)
183
+
184
+ print(f"{'Name':<{name_width}} {'ID':<20} {'Messages':<9} {'Last message'}")
185
+ print(f"{'-' * name_width} {'-' * 20} {'-' * 9} {'-' * 20}")
186
+
187
+ for c in contacts:
188
+ name = c.get("senderName") or "(unknown)"
189
+ sender = c.get("sender") or ""
190
+ count = c.get("messageCount", 0)
191
+ last = (c.get("lastMessageAt") or "")[:19]
192
+ print(f"{name:<{name_width}} {sender:<20} {count:<9} {last}")
193
+
194
+ print(f"\n{len(contacts)} contact(s).")
195
+
196
+
197
+ def cmd_send(args):
198
+ """Send a message through a bridge."""
199
+ body = {
200
+ "recipient": args.recipient,
201
+ "text": args.text
202
+ }
203
+
204
+ success, data = post(f"/bridges/{args.id}/send", body)
205
+ if not success:
206
+ print(f"Error: {data}")
207
+ sys.exit(1)
208
+
209
+ msg_id = data.get("platformMessageId", "")
210
+ print(f"Message sent successfully." + (f" (ID: {msg_id})" if msg_id else ""))
211
+
212
+
163
213
  def cmd_context(args):
164
214
  """Show current bridge context."""
165
215
  success, data = get("/bridges/context")
@@ -208,6 +258,18 @@ def main():
208
258
  p_delete = sub.add_parser("delete", help="Delete a bridge")
209
259
  p_delete.add_argument("id", help="Bridge ID")
210
260
 
261
+ # contacts
262
+ p_contacts = sub.add_parser("contacts", help="List known contacts for a bridge")
263
+ p_contacts.add_argument("id", help="Bridge ID")
264
+ p_contacts.add_argument("--query", "-q", help="Search filter on name or ID")
265
+ p_contacts.add_argument("--limit", type=int, help="Max results (default 50)")
266
+
267
+ # send
268
+ p_send = sub.add_parser("send", help="Send a message through a bridge")
269
+ p_send.add_argument("id", help="Bridge ID")
270
+ p_send.add_argument("--recipient", "-r", required=True, help="Recipient ID (chat_id, user_id, etc.)")
271
+ p_send.add_argument("--text", "-t", required=True, help="Message text")
272
+
211
273
  # context
212
274
  sub.add_parser("context", help="Show integration context")
213
275
 
@@ -221,6 +283,8 @@ def main():
221
283
  "disable": cmd_disable,
222
284
  "configure": cmd_configure,
223
285
  "delete": cmd_delete,
286
+ "contacts": cmd_contacts,
287
+ "send": cmd_send,
224
288
  "context": cmd_context
225
289
  }
226
290