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.
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{DwY7rCd_.js → -HePz7lp.js} +2 -2
- package/.output/public/_nuxt/{CY-cjAwJ.js → 4ALIM-zZ.js} +1 -1
- package/.output/public/_nuxt/{DXdwpJ-I.js → 5sUbkh_6.js} +2 -2
- package/.output/public/_nuxt/{_cy8R3nk.js → 6bB8Ev7a.js} +1 -1
- package/.output/public/_nuxt/{1zUTf4AP.js → 7rT1DCe2.js} +1 -1
- package/.output/public/_nuxt/{vIOxcXKR.js → 9O1MXkck.js} +1 -1
- package/.output/public/_nuxt/{7oCGSglN.js → 9kAKMaPC.js} +1 -1
- package/.output/public/_nuxt/{CVqlefTY.js → B-DMcEU9.js} +1 -1
- package/.output/public/_nuxt/{BS2ZNXI1.js → B0nzD8Sk.js} +1 -1
- package/.output/public/_nuxt/B2PqR2Vu.js +1 -0
- package/.output/public/_nuxt/{Db4KMnt8.js → B2wI_pYg.js} +1 -1
- package/.output/public/_nuxt/{zq-a1TeT.js → B5FuOh7E.js} +1 -1
- package/.output/public/_nuxt/B6om4MW2.js +1 -0
- package/.output/public/_nuxt/{Dya5oK8u.js → B7ikW4eF.js} +1 -1
- package/.output/public/_nuxt/{BYHCP8x7.js → B8DFEjxA.js} +1 -1
- package/.output/public/_nuxt/{6boMs_nF.js → B9kWNcU7.js} +1 -1
- package/.output/public/_nuxt/BAZ8sewA.js +1 -0
- package/.output/public/_nuxt/{BXuWCWsJ.js → BCPwL4ma.js} +1 -1
- package/.output/public/_nuxt/{DY3uK7wM.js → BCrlmHh_.js} +1 -1
- package/.output/public/_nuxt/{BR8bKz8h.js → BD-AFJWW.js} +1 -1
- package/.output/public/_nuxt/{BtHQ1T0f.js → BGcQMReV.js} +1 -1
- package/.output/public/_nuxt/{BDyn4ApB.js → BL1mkqgd.js} +3 -3
- package/.output/public/_nuxt/BNJJSRKh.js +1 -0
- package/.output/public/_nuxt/{D8lwrAYS.js → BNeeERBt.js} +1 -1
- package/.output/public/_nuxt/{CVFwOzbl.js → BSJb5amZ.js} +1 -1
- package/.output/public/_nuxt/{CEnSeCqn.js → BSsaE9Db.js} +1 -1
- package/.output/public/_nuxt/{DzA58_Lm.js → BVO3XpHT.js} +1 -1
- package/.output/public/_nuxt/{CuxrHsu-.js → BWuL2CzO.js} +1 -1
- package/.output/public/_nuxt/{0yk-pS3R.js → B_9zJTqe.js} +1 -1
- package/.output/public/_nuxt/{DcJbYLTp.js → B_Lr1vlV.js} +1 -1
- package/.output/public/_nuxt/{CZoEPC_Q.js → Bc8bTnkd.js} +3 -3
- package/.output/public/_nuxt/{BKXg-alD.js → BghuwIGa.js} +1 -1
- package/.output/public/_nuxt/{PP_4ebzl.js → BjsKx597.js} +1 -1
- package/.output/public/_nuxt/{DuvzM-P1.js → Bl0qBhCG.js} +1 -1
- package/.output/public/_nuxt/{B_wilgcd.js → Bl43dkDq.js} +1 -1
- package/.output/public/_nuxt/{JbHa4oXq.js → BnMTFF5R.js} +1 -1
- package/.output/public/_nuxt/{CY-QVcA5.js → BrX-PnSK.js} +2 -2
- package/.output/public/_nuxt/{DYbZBZet.js → BtV7oNn3.js} +1 -1
- package/.output/public/_nuxt/{apYB9dr5.js → BvFYnRMR.js} +1 -1
- package/.output/public/_nuxt/{x6FRJ5ac.js → BvTUBUNN.js} +1 -1
- package/.output/public/_nuxt/{wO6z2ugJ.js → ByLsRRoQ.js} +1 -1
- package/.output/public/_nuxt/{DC4idAGt.js → C1LcEMwB.js} +1 -1
- package/.output/public/_nuxt/{YX8avsvq.js → C2IiXp9N.js} +2 -2
- package/.output/public/_nuxt/{fbyIeNkc.js → C6OSRpRd.js} +1 -1
- package/.output/public/_nuxt/{3jQMk_5H.js → C796kFT9.js} +1 -1
- package/.output/public/_nuxt/{DEd2xVbS.js → C7m9zGMG.js} +1 -1
- package/.output/public/_nuxt/C8AtdrMH.js +1 -0
- package/.output/public/_nuxt/CAWbHTgy.js +1 -0
- package/.output/public/_nuxt/{ixlNW2So.js → CFmvNggn.js} +1 -1
- package/.output/public/_nuxt/{gTrVszwd.js → CGplHfmR.js} +1 -1
- package/.output/public/_nuxt/CJPrV25_.js +1 -0
- package/.output/public/_nuxt/{U1MWjQMi.js → CKKEWapF.js} +1 -1
- package/.output/public/_nuxt/{C6qKcgOY.js → CLkkdThv.js} +22 -22
- package/.output/public/_nuxt/CNjv28J2.js +1 -0
- package/.output/public/_nuxt/{BLnYhy_t.js → CRRw0Thu.js} +1 -1
- package/.output/public/_nuxt/{10_wwHSz.js → CT8s4rqa.js} +1 -1
- package/.output/public/_nuxt/{C27WoGNZ.js → CZSOrxUy.js} +1 -1
- package/.output/public/_nuxt/{DNP5E1bC.js → CaNEL9JC.js} +5 -5
- package/.output/public/_nuxt/{DhuOKJda.js → CbTLg9oX.js} +1 -1
- package/.output/public/_nuxt/CfCXpVn5.js +1 -0
- package/.output/public/_nuxt/{C9WIgRRL.js → ChmNlvWR.js} +1 -1
- package/.output/public/_nuxt/{t8aDAkZ5.js → CiNxIhaq.js} +1 -1
- package/.output/public/_nuxt/{E3rXPwU8.js → Ck0QYdxe.js} +1 -1
- package/.output/public/_nuxt/{DUVzIl3o.js → Ckb0pu4-.js} +1 -1
- package/.output/public/_nuxt/{vScW1Zgm.js → CkwPRs1D.js} +1 -1
- package/.output/public/_nuxt/CmEJg8C6.js +2 -0
- package/.output/public/_nuxt/{CTCcEJU3.js → CmL_vMJD.js} +1 -1
- package/.output/public/_nuxt/{Bciqk4dX.js → Cq8zPxkT.js} +1 -1
- package/.output/public/_nuxt/{D8M722pn.js → CseYuM6E.js} +1 -1
- package/.output/public/_nuxt/{D0ifH682.js → CxRnB4NC.js} +1 -1
- package/.output/public/_nuxt/{CVdCqaby.js → D0zMyG8n.js} +1 -1
- package/.output/public/_nuxt/{DhI5cA_n.js → D12qPplu.js} +1 -1
- package/.output/public/_nuxt/{Beom-INj.js → D1XYB283.js} +1 -1
- package/.output/public/_nuxt/{BUghTae1.js → D2NxqyzW.js} +1 -1
- package/.output/public/_nuxt/{CZRnNmU8.js → D5xyrvFu.js} +1 -1
- package/.output/public/_nuxt/{2dNDtTiv.js → D6tVZcRs.js} +3 -3
- package/.output/public/_nuxt/{EgKnQnf-.js → D7N3EZ-I.js} +1 -1
- package/.output/public/_nuxt/{C5R5QaCA.js → D8iBB0Py.js} +1 -1
- package/.output/public/_nuxt/{XCjS70z4.js → D8oIH8m1.js} +1 -1
- package/.output/public/_nuxt/{BA_pRWwX.js → DB2zZev7.js} +1 -1
- package/.output/public/_nuxt/{Cl-LOSDV.js → DBrOAqkm.js} +1 -1
- package/.output/public/_nuxt/{DO9SFIh1.js → DDXDFweK.js} +1 -1
- package/.output/public/_nuxt/{B93pdGAW.js → DFZkCmLQ.js} +1 -1
- package/.output/public/_nuxt/{CLfF6dSn.js → DFpmIy6J.js} +1 -1
- package/.output/public/_nuxt/{BfcLZ_fC.js → DKZmgHNU.js} +1 -1
- package/.output/public/_nuxt/{CPutXj8l.js → DNcOC5zj.js} +1 -1
- package/.output/public/_nuxt/{BHtY0l0l.js → DQhm-UPG.js} +1 -1
- package/.output/public/_nuxt/{C2FxZbO_.js → DR8tGJhL.js} +1 -1
- package/.output/public/_nuxt/{D4UJwDQJ.js → DVAEVTjy.js} +1 -1
- package/.output/public/_nuxt/{2nOqGUPr.js → DVqrPkCJ.js} +1 -1
- package/.output/public/_nuxt/DWZ9ieYa.js +1 -0
- package/.output/public/_nuxt/{nnQqD5pb.js → DWj6VsZv.js} +1 -1
- package/.output/public/_nuxt/{C2vq6Te8.js → DXJ9PxCv.js} +1 -1
- package/.output/public/_nuxt/{CobqYwkp.js → D_ziPROx.js} +1 -1
- package/.output/public/_nuxt/{GtEM7xVU.js → Da2vwoYG.js} +1 -1
- package/.output/public/_nuxt/{Cc-2ziaZ.js → Ddz3HcBB.js} +1 -1
- package/.output/public/_nuxt/{Di-Nc75e.js → DgYei0bK.js} +1 -1
- package/.output/public/_nuxt/{DQh6I9z9.js → Di_3GV_R.js} +1 -1
- package/.output/public/_nuxt/{ByYh0uRg.js → Djog1f_e.js} +1 -1
- package/.output/public/_nuxt/{C4mwL7SE.js → Dkap2-Pj.js} +2 -2
- package/.output/public/_nuxt/{D5q8SnqE.js → DlJe_sHk.js} +1 -1
- package/.output/public/_nuxt/DlPOQpH_.js +1 -0
- package/.output/public/_nuxt/{DTGenhcA.js → DmYWMtVA.js} +1 -1
- package/.output/public/_nuxt/DmxKU7sH.js +1 -0
- package/.output/public/_nuxt/{DtjjnHnt.js → DowkFZ2V.js} +1 -1
- package/.output/public/_nuxt/{0NJ3PaRM.js → DsodHRrQ.js} +1 -1
- package/.output/public/_nuxt/{Bk6JUtIo.js → DuzpliIL.js} +1 -1
- package/.output/public/_nuxt/DvHS7_h2.js +1 -0
- package/.output/public/_nuxt/DwSY6_2U.js +1 -0
- package/.output/public/_nuxt/{Djs0Tlpa.js → DypJaSm-.js} +1 -1
- package/.output/public/_nuxt/{C71_a1IX.js → DzKaXH6P.js} +1 -1
- package/.output/public/_nuxt/{CBTkrk2M.js → FK-jSuOT.js} +1 -1
- package/.output/public/_nuxt/{ILEvizzp.js → Fc2JsQt4.js} +1 -1
- package/.output/public/_nuxt/{BIXrSYwR.js → IYCBGuRS.js} +1 -1
- package/.output/public/_nuxt/{JX1oqJI9.js → LRO7YHoH.js} +1 -1
- package/.output/public/_nuxt/{Kw0zy3FG.js → NrRzUJNY.js} +1 -1
- package/.output/public/_nuxt/{DJTCT0bl.js → OeVS0Rsb.js} +1 -1
- package/.output/public/_nuxt/{BmOtR1wX.js → OlF0QnKF.js} +1 -1
- package/.output/public/_nuxt/{DTAStixR.js → QuAoqY7t.js} +1 -1
- package/.output/public/_nuxt/{8q5NepGW.js → RlXHkmOd.js} +2 -2
- package/.output/public/_nuxt/{rfGRTJJW.js → TxMdabnL.js} +1 -1
- package/.output/public/_nuxt/{CZVzFlpI.js → WZnvL9Dh.js} +1 -1
- package/.output/public/_nuxt/ZvG7a1W3.js +1 -0
- package/.output/public/_nuxt/{N5XtbYVD.js → aPNZBVrG.js} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/495aca73-bfa5-456e-b96a-f02e009c72d3.json +1 -0
- package/.output/public/_nuxt/entry.C_udkZt9.css +1 -0
- package/.output/public/_nuxt/{D_4LPm1U.js → evY81hM3.js} +1 -1
- package/.output/public/_nuxt/{DzGy77Vr.js → h_bXa-f2.js} +1 -1
- package/.output/public/_nuxt/{D9nmzBAw.js → i6QBzaEi.js} +1 -1
- package/.output/public/_nuxt/{BGgwYWjH.js → iTVKJ1kw.js} +1 -1
- package/.output/public/_nuxt/{Um1vPiAz.js → j92uR3uR.js} +1 -1
- package/.output/public/_nuxt/jdUkeAj_.js +1 -0
- package/.output/public/_nuxt/{BmVLxnDU.js → jeRvcMHU.js} +1 -1
- package/.output/public/_nuxt/{SrncdpaW.js → kuv0zpKq.js} +1 -1
- package/.output/public/_nuxt/{DfF81NlA.js → l3lKQs7b.js} +1 -1
- package/.output/public/_nuxt/{4K03TkGA.js → pdYvpiud.js} +3 -3
- package/.output/public/_nuxt/{C39dQ88F.js → qIgZ7OXa.js} +1 -1
- package/.output/public/_nuxt/{DS2wStH1.js → qcVwZv8e.js} +1 -1
- package/.output/public/_nuxt/{g5MjDvm5.js → ru8fqqWs.js} +1 -1
- package/.output/public/_nuxt/{CQqCBrXj.js → sBzyvWMJ.js} +1 -1
- package/.output/public/_nuxt/{D3AZaldL.js → sgmhgpCS.js} +1 -1
- package/.output/public/_nuxt/{ChcO9s3o.js → y2jv0da-.js} +1 -1
- package/.output/public/_nuxt/{Dn5a-guE.js → yyS4-kAX.js} +1 -1
- package/.output/public/_nuxt/zIoBLBHF.js +1 -0
- package/.output/public/_nuxt/zpazwPgx.js +1 -0
- package/.output/server/chunks/build/CodeIcon-CWD5HcV7.mjs +1 -1
- package/.output/server/chunks/build/DropdownMenu-BBrV9nXz.mjs +1 -1
- package/.output/server/chunks/build/EditorToolbar-DIfb5arC.mjs +1 -1
- package/.output/server/chunks/build/Img-CWLmvN1t.mjs +1 -1
- package/.output/server/chunks/build/MDC-Dx0YPDhe.mjs +1 -1
- package/.output/server/chunks/build/Select-BB1oLrCD.mjs +1 -1
- package/.output/server/chunks/build/SelectMenu-DPssg6zD.mjs +1 -1
- package/.output/server/chunks/build/Table-DCwTlhCj.mjs +1 -1
- package/.output/server/chunks/build/Tooltip-TRyl6dje.mjs +1 -1
- package/.output/server/chunks/build/Tree-DUhXKd8y.mjs +1 -1
- package/.output/server/chunks/build/_uuid_-DfJaumTE.mjs +1 -1
- package/.output/server/chunks/build/{chat-CR3JIVEq.mjs → chat-m4-n9vC6.mjs} +516 -14
- package/.output/server/chunks/build/chat-m4-n9vC6.mjs.map +1 -0
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/build/cookie-C_iulBi6.mjs +1 -1
- package/.output/server/chunks/build/dashboard-CiVTAZuF.mjs +1 -1
- package/.output/server/chunks/build/docs-ChGwOPg5.mjs +1 -1
- package/.output/server/chunks/build/fetch-BB7Qzkwe.mjs +1 -1
- package/.output/server/chunks/build/index-CxDxc9fm.mjs +1 -1
- package/.output/server/chunks/build/server.mjs +2 -2
- package/.output/server/chunks/build/settings-B2KXoGcz.mjs +1 -1
- package/.output/server/chunks/build/useNotificationBus-BG5JNQf1.mjs +1 -1
- package/.output/server/chunks/build/view-n2sYa4Zh.mjs +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +882 -866
- package/.output/server/chunks/routes/_ws/chat.mjs +40 -6
- package/.output/server/chunks/routes/_ws/chat.mjs.map +1 -1
- package/.output/server/chunks/routes/api/bridges/_id/contacts.get.mjs +84 -0
- package/.output/server/chunks/routes/api/bridges/_id/contacts.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/bridges/_id/send.post.mjs +70 -0
- package/.output/server/chunks/routes/api/bridges/_id/send.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/bridges/context.get.mjs +19 -18
- package/.output/server/chunks/routes/api/bridges/context.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/conversations/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/conversations/_id_.get.mjs +1 -1
- package/.output/server/chunks/routes/api/dashboard/overview.get.mjs +1 -1
- package/.output/server/chunks/routes/api/documents/_id/public.get.mjs +1 -1
- package/.output/server/chunks/routes/api/documents/_id/restore.post.mjs +1 -1
- package/.output/server/chunks/routes/api/documents/by-path.post.mjs +1 -1
- package/.output/server/chunks/routes/api/documents/index.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/documents/index.put.mjs +1 -1
- package/.output/server/chunks/routes/api/fs/delete.post.mjs +1 -1
- package/.output/server/chunks/routes/api/fs/list.get.mjs +1 -1
- package/.output/server/chunks/routes/api/fs/mkdir.post.mjs +1 -1
- package/.output/server/chunks/routes/api/fs/move.post.mjs +1 -1
- package/.output/server/chunks/routes/api/fs/read.post.mjs +1 -1
- package/.output/server/chunks/routes/api/fs/rename.post.mjs +1 -1
- package/.output/server/chunks/routes/api/fs/write.post.mjs +1 -1
- package/.output/server/chunks/routes/api/health.get.mjs +1 -1
- package/.output/server/chunks/routes/api/home.get.mjs +1 -1
- package/.output/server/chunks/routes/api/hooks/index.get.mjs +1 -1
- package/.output/server/chunks/routes/api/hooks/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/hooks/stats.get.mjs +1 -1
- package/.output/server/chunks/routes/api/index.get10.mjs +1 -1
- package/.output/server/chunks/routes/api/index.get3.mjs +1 -1
- package/.output/server/chunks/routes/api/index.get4.mjs +1 -1
- package/.output/server/chunks/routes/api/index.get5.mjs +1 -1
- package/.output/server/chunks/routes/api/index.get6.mjs +1 -1
- package/.output/server/chunks/routes/api/index.get7.mjs +1 -1
- package/.output/server/chunks/routes/api/index.get8.mjs +1 -1
- package/.output/server/chunks/routes/api/index.get9.mjs +1 -1
- package/.output/server/chunks/routes/api/index.post3.mjs +1 -1
- package/.output/server/chunks/routes/api/index.post4.mjs +1 -1
- package/.output/server/chunks/routes/api/index.post5.mjs +1 -1
- package/.output/server/chunks/routes/api/index.put.mjs +1 -1
- package/.output/server/chunks/routes/api/memory/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/memory/context.get.mjs +1 -1
- package/.output/server/chunks/routes/api/memory/extract.post.mjs +1 -1
- package/.output/server/chunks/routes/api/memory/search.get.mjs +1 -1
- package/.output/server/chunks/routes/api/memory/store.post.mjs +1 -1
- package/.output/server/chunks/routes/api/projects/index.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/projects/index.get.mjs +1 -1
- package/.output/server/chunks/routes/api/projects/index.put.mjs +1 -1
- package/.output/server/chunks/routes/api/secrets/_key_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/secrets/_key_.get.mjs +1 -1
- package/.output/server/chunks/routes/api/secrets/_key_.put.mjs +1 -1
- package/.output/server/chunks/routes/api/skills/_name/delete.post.mjs +1 -1
- package/.output/server/chunks/routes/api/skills/_name/export.get.mjs +1 -1
- package/.output/server/chunks/routes/api/skills/_name/files/create.post.mjs +1 -1
- package/.output/server/chunks/routes/api/skills/_name/files/delete.post.mjs +1 -1
- package/.output/server/chunks/routes/api/skills/_name/files/read.post.mjs +1 -1
- package/.output/server/chunks/routes/api/skills/_name/files/write.post.mjs +1 -1
- package/.output/server/chunks/routes/api/skills/_name/index.get.mjs +1 -1
- package/.output/server/chunks/routes/api/skills/_name/rename.post.mjs +1 -1
- package/.output/server/chunks/routes/api/skills/_name/toggle.post.mjs +1 -1
- package/.output/server/chunks/routes/api/skills/create.post.mjs +1 -1
- package/.output/server/chunks/routes/api/skills/generate.post.mjs +1 -1
- package/.output/server/chunks/routes/api/skills/import.post.mjs +1 -1
- package/.output/server/chunks/routes/api/skills/index.get.mjs +1 -1
- package/.output/server/chunks/routes/api/skills/index.get2.mjs +1 -1
- package/.output/server/chunks/routes/api/skills/library/check-updates.get.mjs +1 -1
- package/.output/server/chunks/routes/api/skills/library/install.post.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/_id/restore.post.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/index.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/index.put.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/tags.get.mjs +1 -1
- package/.output/server/chunks/routes/api/usage/stats.get.mjs +1 -1
- package/.output/server/chunks/routes/api/user/email.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/webhooks/bluebubbles.post.mjs +1 -1
- package/.output/server/chunks/routes/api/webhooks/telegram.post.mjs +1 -1
- package/.output/server/chunks/routes/notifications.mjs +1 -1
- package/.output/server/chunks/routes/renderer.mjs +1 -1
- package/.output/server/chunks/routes/terminal.mjs +1 -1
- package/.output/server/index.mjs +1 -1
- package/.output/server/package.json +1 -1
- package/Claude/skills/_lib/api.py +3 -2
- package/Claude/skills/bridge/SKILL.md +25 -1
- package/Claude/skills/bridge/bridge.py +64 -0
- package/app/components/chat/ChatInput.vue +133 -5
- package/app/components/chat/MessageBubble.vue +188 -6
- package/app/composables/useAttachments.ts +196 -0
- package/app/composables/useChat.ts +14 -2
- package/app/pages/chat.vue +4 -2
- package/package.json +1 -1
- package/server/api/bridges/[id]/contacts.get.ts +57 -0
- package/server/api/bridges/[id]/send.post.ts +40 -0
- package/server/api/bridges/context.get.ts +19 -18
- package/server/bridge/adapters/imessage.ts +9 -2
- package/server/bridge/responder.ts +3 -3
- package/server/routes/_ws/chat.ts +61 -7
- package/server/utils/chat-session-manager.ts +20 -2
- package/shared/types/index.ts +27 -1
- package/.output/public/_nuxt/BH0QDWEm.js +0 -1
- package/.output/public/_nuxt/BK8S2ony.js +0 -1
- package/.output/public/_nuxt/BZrSPX0S.js +0 -1
- package/.output/public/_nuxt/BaZwjF8o.js +0 -1
- package/.output/public/_nuxt/BkfI94R8.js +0 -1
- package/.output/public/_nuxt/C3NST0BU.js +0 -1
- package/.output/public/_nuxt/CKxSHyww.js +0 -1
- package/.output/public/_nuxt/CSKJ-Ahh.js +0 -1
- package/.output/public/_nuxt/CWyMCJQH.js +0 -1
- package/.output/public/_nuxt/CYPO5o_C.js +0 -1
- package/.output/public/_nuxt/CqNwHCpo.js +0 -1
- package/.output/public/_nuxt/CwPdIZ9J.js +0 -1
- package/.output/public/_nuxt/D5jZq8b3.js +0 -1
- package/.output/public/_nuxt/DH4YkDAi.js +0 -1
- package/.output/public/_nuxt/DPklr_tJ.js +0 -2
- package/.output/public/_nuxt/DQM4eBdt.js +0 -1
- package/.output/public/_nuxt/DUAAXJ6Q.js +0 -1
- package/.output/public/_nuxt/DmmdPt_5.js +0 -1
- package/.output/public/_nuxt/H6JbrRBU.js +0 -1
- package/.output/public/_nuxt/builds/meta/515be38f-7222-4e4b-80cb-cef7594b1834.json +0 -1
- package/.output/public/_nuxt/entry.NKPfH2kE.css +0 -1
- 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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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 {
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import { createRenderer, getRequestDependencies, getPreloadLinks, getPrefetchLinks } from 'vue-bundle-renderer/runtime';
|
|
2
|
-
import {
|
|
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 {
|
|
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';
|
package/.output/server/index.mjs
CHANGED
|
@@ -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 {
|
|
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';
|
|
@@ -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
|
|
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
|
|