cognova 0.1.10 → 0.2.2

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 (287) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/{BLIw7q7e.js → 4MiwzAAt.js} +2 -2
  3. package/.output/public/_nuxt/{B8gRcrNP.js → 5ZXA0Ckq.js} +1 -1
  4. package/.output/public/_nuxt/9IQmsEjr.js +1 -0
  5. package/.output/public/_nuxt/{DlmPGBGX.js → 9QnH0xQM.js} +1 -1
  6. package/.output/public/_nuxt/{Qi4Arc25.js → B1X4Bzcy.js} +1 -1
  7. package/.output/public/_nuxt/{kuWCWJ92.js → B3y_Qqox.js} +1 -1
  8. package/.output/public/_nuxt/{CJVO4EWp.js → B6S_ob86.js} +1 -1
  9. package/.output/public/_nuxt/{xdp-pGVh.js → BAIz-dEB.js} +1 -1
  10. package/.output/public/_nuxt/{DIF41aNz.js → BCtfQCzC.js} +1 -1
  11. package/.output/public/_nuxt/BIIJhjQO.js +1 -0
  12. package/.output/public/_nuxt/{QOhiCNXN.js → BIckl6wA.js} +1 -1
  13. package/.output/public/_nuxt/{CqsT2LL7.js → BJ3o57WW.js} +1 -1
  14. package/.output/public/_nuxt/BNetzZzF.js +1 -0
  15. package/.output/public/_nuxt/{C5jkgqcy.js → BOj6t-oo.js} +1 -1
  16. package/.output/public/_nuxt/BS0ofHJK.js +1 -0
  17. package/.output/public/_nuxt/{CdKHIoKZ.js → BWhMnjID.js} +1 -1
  18. package/.output/public/_nuxt/{BUjpjVNI.js → BYjadNrw.js} +1 -1
  19. package/.output/public/_nuxt/{DLkyutNs.js → BZXMQuYP.js} +1 -1
  20. package/.output/public/_nuxt/B_3_hrpn.js +1 -0
  21. package/.output/public/_nuxt/BaBZjmMC.js +1 -0
  22. package/.output/public/_nuxt/BaMqDm5u.js +1 -0
  23. package/.output/public/_nuxt/{DwSbu8wg.js → BasgsT_S.js} +1 -1
  24. package/.output/public/_nuxt/{B4nb4eka.js → BffWCM73.js} +1 -1
  25. package/.output/public/_nuxt/{BxaDmjPM.js → BhzMoffi.js} +1 -1
  26. package/.output/public/_nuxt/{DjzaeRs8.js → BjjCvHLT.js} +1 -1
  27. package/.output/public/_nuxt/{CtJTw_81.js → BlAZO7nq.js} +1 -1
  28. package/.output/public/_nuxt/{C6nLQFo5.js → BlhFigLL.js} +1 -1
  29. package/.output/public/_nuxt/{CiJs9fhO.js → Bm9LyG4F.js} +1 -1
  30. package/.output/public/_nuxt/BoIxv-gM.js +1 -0
  31. package/.output/public/_nuxt/{C8xYfk_L.js → BqKFIuRj.js} +1 -1
  32. package/.output/public/_nuxt/Br19oYkq.js +1 -0
  33. package/.output/public/_nuxt/{htEHZODo.js → BrNqhp1a.js} +3 -3
  34. package/.output/public/_nuxt/{DFKQfGt8.js → BsEZoHd1.js} +1 -1
  35. package/.output/public/_nuxt/{CmF_IsFj.js → BxXOsXrM.js} +3 -3
  36. package/.output/public/_nuxt/{q7M6chAB.js → BzOqrmGa.js} +3 -3
  37. package/.output/public/_nuxt/{DT_NtxcV.js → C0JKNMDO.js} +1 -1
  38. package/.output/public/_nuxt/{BOb3QiPL.js → C0kh_F7v.js} +1 -1
  39. package/.output/public/_nuxt/{D472oOJg.js → C3FxIITy.js} +1 -1
  40. package/.output/public/_nuxt/{Bh7WRSzZ.js → C4pxqdgg.js} +1 -1
  41. package/.output/public/_nuxt/{ByWk4RVe.js → C61KgSco.js} +1 -1
  42. package/.output/public/_nuxt/{TjI_tk0y.js → C69W7k2j.js} +1 -1
  43. package/.output/public/_nuxt/{uqOLgWHD.js → C6RC3lA1.js} +1 -1
  44. package/.output/public/_nuxt/{DvA5meSv.js → C6aqGHu1.js} +1 -1
  45. package/.output/public/_nuxt/{CQM_5Ht0.js → CJUdYEdO.js} +1 -1
  46. package/.output/public/_nuxt/{BzWvPP8W.js → CKkC3Ptm.js} +1 -1
  47. package/.output/public/_nuxt/CNnJrDvu.js +1 -0
  48. package/.output/public/_nuxt/{Bf2SSE6Q.js → CVJQGP1Q.js} +1 -1
  49. package/.output/public/_nuxt/{0p0wrrYN.js → CVgTJeSq.js} +1 -1
  50. package/.output/public/_nuxt/CWMUi89H.js +1 -0
  51. package/.output/public/_nuxt/{DUYrX_jl.js → CYP_MLH8.js} +1 -1
  52. package/.output/public/_nuxt/{DEDt4pMc.js → C_BdYLzz.js} +1 -1
  53. package/.output/public/_nuxt/{CU3_Ewk2.js → Cdt3I3Go.js} +1 -1
  54. package/.output/public/_nuxt/{DX5y-Dpt.js → Cdu2qGgq.js} +1 -1
  55. package/.output/public/_nuxt/{DQunOghN.js → CeIVm4A3.js} +1 -1
  56. package/.output/public/_nuxt/CeIu7z4p.js +1 -0
  57. package/.output/public/_nuxt/{B73gh0JS.js → Ci7UEZQh.js} +1 -1
  58. package/.output/public/_nuxt/{C7NKjT6R.js → CihWZmJe.js} +2 -2
  59. package/.output/public/_nuxt/{902fefRh.js → CitkKxhw.js} +1 -1
  60. package/.output/public/_nuxt/{DH_IrAcJ.js → CmzH6R-N.js} +2 -2
  61. package/.output/public/_nuxt/{CgPM54k_.js → Cp2MA0cm.js} +1 -1
  62. package/.output/public/_nuxt/{hfaTbWV_.js → CqU2XbzO.js} +1 -1
  63. package/.output/public/_nuxt/{CuxiR1jN.js → Cqy_L_ip.js} +1 -1
  64. package/.output/public/_nuxt/{BFmbqknL.js → Cr8ixbr1.js} +1 -1
  65. package/.output/public/_nuxt/{BkiRMhMm.js → CsJ9KhQ4.js} +1 -1
  66. package/.output/public/_nuxt/{Dhvv7eaa.js → CtYFj7k1.js} +1 -1
  67. package/.output/public/_nuxt/{DG0VCYsy.js → CtchsY6e.js} +1 -1
  68. package/.output/public/_nuxt/{pqmDf_cQ.js → Cvp7FI3T.js} +1 -1
  69. package/.output/public/_nuxt/{38G-HXi8.js → CxuZBC8n.js} +5 -5
  70. package/.output/public/_nuxt/D2689qk4.js +1 -0
  71. package/.output/public/_nuxt/{Dw5YM8ji.js → D31L7Ks6.js} +1 -1
  72. package/.output/public/_nuxt/{DYTkcgRd.js → D3RiUGdz.js} +1 -1
  73. package/.output/public/_nuxt/{Csa19Lyu.js → D3e44mCL.js} +1 -1
  74. package/.output/public/_nuxt/{DmXY_FiQ.js → D6t3dcTl.js} +1 -1
  75. package/.output/public/_nuxt/{ChNxcBlH.js → DAQhmSv4.js} +1 -1
  76. package/.output/public/_nuxt/{BFtDSgo7.js → DB359q8R.js} +1 -1
  77. package/.output/public/_nuxt/{CrUNulhU.js → DCzfkCGa.js} +1 -1
  78. package/.output/public/_nuxt/{Cn1H4f01.js → DG-T44jj.js} +1 -1
  79. package/.output/public/_nuxt/{CAGIVdiL.js → DGX0tzL8.js} +1 -1
  80. package/.output/public/_nuxt/DHG66LPS.js +1 -0
  81. package/.output/public/_nuxt/{BV0QyLX9.js → DHKLCQRG.js} +1 -1
  82. package/.output/public/_nuxt/{DFs-kxzi.js → DIoI0uJm.js} +1 -1
  83. package/.output/public/_nuxt/{koWn-xAZ.js → DJ5V-y_x.js} +1 -1
  84. package/.output/public/_nuxt/{HUnwr3r4.js → DJMS2og1.js} +1 -1
  85. package/.output/public/_nuxt/{CjfarCg3.js → DJjDvbZE.js} +1 -1
  86. package/.output/public/_nuxt/DK9jxJ0g.js +1 -0
  87. package/.output/public/_nuxt/{BjN5vE4c.js → DKZxeXDQ.js} +1 -1
  88. package/.output/public/_nuxt/{CcWl1F-m.js → DLETdGFL.js} +1 -1
  89. package/.output/public/_nuxt/DOICd-Ld.js +1 -0
  90. package/.output/public/_nuxt/{bX88p2Mb.js → DPEcH-gi.js} +3 -3
  91. package/.output/public/_nuxt/{DDqY0xzR.js → DSRrg8JT.js} +1 -1
  92. package/.output/public/_nuxt/{B67bSHkr.js → DTDgHTuh.js} +2 -2
  93. package/.output/public/_nuxt/{BYzrgyQu.js → D_3Rq1BS.js} +1 -1
  94. package/.output/public/_nuxt/{TQO0uTDM.js → Daz4MeL6.js} +1 -1
  95. package/.output/public/_nuxt/{DxkqpACx.js → Db2v8O7O.js} +1 -1
  96. package/.output/public/_nuxt/{CHa8PuBL.js → Db8-_gO7.js} +1 -1
  97. package/.output/public/_nuxt/{BUEnkhcM.js → DfQu3kEw.js} +1 -1
  98. package/.output/public/_nuxt/{hDpBJf9-.js → DgV-EDJ9.js} +1 -1
  99. package/.output/public/_nuxt/{D1CNUSvv.js → DnjGH3SQ.js} +1 -1
  100. package/.output/public/_nuxt/Dp2X5R2m.js +1 -0
  101. package/.output/public/_nuxt/DqB723Z0.js +1 -0
  102. package/.output/public/_nuxt/{DcIiuvW-.js → DyRelyfs.js} +1 -1
  103. package/.output/public/_nuxt/{sgWRawF5.js → Dy_Cq5LQ.js} +1 -1
  104. package/.output/public/_nuxt/{B4T7pJz5.js → DznawRFW.js} +1 -1
  105. package/.output/public/_nuxt/EuOqK1A6.js +1 -0
  106. package/.output/public/_nuxt/{Dn4PGlE2.js → FNC8XZTk.js} +1 -1
  107. package/.output/public/_nuxt/{ZToTf_46.js → Fukkqjkf.js} +1 -1
  108. package/.output/public/_nuxt/{D5aulRKh.js → FvlxxmNk.js} +2 -2
  109. package/.output/public/_nuxt/{C2IkB9Vg.js → IRSbVPIu.js} +1 -1
  110. package/.output/public/_nuxt/{QESaAMMF.js → JJ3634gV.js} +1 -1
  111. package/.output/public/_nuxt/{DGUr7xQ7.js → Jez9DHn7.js} +1 -1
  112. package/.output/public/_nuxt/{DPdR3tu5.js → KKK6HVeG.js} +1 -1
  113. package/.output/public/_nuxt/{D0bh5qKf.js → Lwdv_RKd.js} +1 -1
  114. package/.output/public/_nuxt/{BkRZ4-cg.js → Nb2jBtYT.js} +1 -1
  115. package/.output/public/_nuxt/Q8Ps7oN5.js +1 -0
  116. package/.output/public/_nuxt/SXTDhzp6.js +1 -0
  117. package/.output/public/_nuxt/{GC9cY_vb.js → Sg2Lwc46.js} +1 -1
  118. package/.output/public/_nuxt/{GI6TTFJt.js → YuTZB7sD.js} +1 -1
  119. package/.output/public/_nuxt/{D2_L0Ze1.js → _CYZi8HN.js} +1 -1
  120. package/.output/public/_nuxt/_J_7XIn-.js +1 -0
  121. package/.output/public/_nuxt/builds/latest.json +1 -1
  122. package/.output/public/_nuxt/builds/meta/a1e9100c-1a4f-4f7e-bb53-9dbe0d07effb.json +1 -0
  123. package/.output/public/_nuxt/{DZNG1AbU.js → cABRLVee.js} +1 -1
  124. package/.output/public/_nuxt/eko-0FUm.js +1 -0
  125. package/.output/public/_nuxt/entry.CGxIBGAf.css +1 -0
  126. package/.output/public/_nuxt/{BIjt_cIY.js → g20UHUCv.js} +1 -1
  127. package/.output/public/_nuxt/{HIlTvc-2.js → gBC9k4Qj.js} +1 -1
  128. package/.output/public/_nuxt/{IQoLFBX8.js → ghuJ76mD.js} +1 -1
  129. package/.output/public/_nuxt/{BGYWH_3A.js → iBGCpHdw.js} +2 -2
  130. package/.output/public/_nuxt/{uUGV1V-6.js → inmzPrjz.js} +1 -1
  131. package/.output/public/_nuxt/{CgHipF8Q.js → m5kGCDpI.js} +1 -1
  132. package/.output/public/_nuxt/{Bj0OFhNx.js → nIU2F7ia.js} +3 -3
  133. package/.output/public/_nuxt/{Dcv_tyzb.js → oIX-ZDN6.js} +1 -1
  134. package/.output/public/_nuxt/{B7NSgclV.js → pcUI-zuY.js} +1 -1
  135. package/.output/public/_nuxt/{DpF6VoC4.js → sf57orEk.js} +1 -1
  136. package/.output/public/_nuxt/{DS_mF4Ol.js → wCGVE8_e.js} +1 -1
  137. package/.output/public/_nuxt/{KAzeBbaL.js → xuzLdW-o.js} +1 -1
  138. package/.output/public/_nuxt/{ytKsJZlj.js → yNrp2XvX.js} +1 -1
  139. package/.output/public/_nuxt/{B3mdl0Ae.js → yuf23kh9.js} +1 -1
  140. package/.output/server/chunks/build/{_uuid_-DAZ5CM0C.mjs → _uuid_-0UgdUhfY.mjs} +6 -5
  141. package/.output/server/chunks/build/{_uuid_-DAZ5CM0C.mjs.map → _uuid_-0UgdUhfY.mjs.map} +1 -1
  142. package/.output/server/chunks/build/chat-CZMiB68R.mjs.map +1 -1
  143. package/.output/server/chunks/build/client.precomputed.mjs +1 -1
  144. package/.output/server/chunks/build/dashboard-YEscLBQN.mjs +1109 -0
  145. package/.output/server/chunks/build/dashboard-YEscLBQN.mjs.map +1 -0
  146. package/.output/server/chunks/build/{docs-CFAI1clt.mjs → docs-Dk2JnYq3.mjs} +6 -5
  147. package/.output/server/chunks/build/{docs-CFAI1clt.mjs.map → docs-Dk2JnYq3.mjs.map} +1 -1
  148. package/.output/server/chunks/build/server.mjs +3 -3
  149. package/.output/server/chunks/build/settings-DdkKCJ00.mjs +1 -1
  150. package/.output/server/chunks/build/styles.mjs +4 -4
  151. package/.output/server/chunks/build/{CodeEditorFallback-DfYly7f5.mjs → useCopyToClipboard-vi6FYyyZ.mjs} +29 -2
  152. package/.output/server/chunks/build/useCopyToClipboard-vi6FYyyZ.mjs.map +1 -0
  153. package/.output/server/chunks/build/useNotificationBus-BG5JNQf1.mjs +1 -1
  154. package/.output/server/chunks/nitro/nitro.mjs +819 -824
  155. package/.output/server/chunks/routes/api/dashboard/overview.get.mjs +149 -0
  156. package/.output/server/chunks/routes/api/dashboard/overview.get.mjs.map +1 -0
  157. package/.output/server/chunks/routes/api/documents/_id/public.get.mjs +1 -1
  158. package/.output/server/chunks/routes/api/documents/_id/restore.post.mjs +1 -1
  159. package/.output/server/chunks/routes/api/documents/by-path.post.mjs +1 -1
  160. package/.output/server/chunks/routes/api/documents/index.delete.mjs +1 -1
  161. package/.output/server/chunks/routes/api/documents/index.put.mjs +1 -1
  162. package/.output/server/chunks/routes/api/fs/delete.post.mjs +1 -1
  163. package/.output/server/chunks/routes/api/fs/list.get.mjs +1 -1
  164. package/.output/server/chunks/routes/api/fs/mkdir.post.mjs +1 -1
  165. package/.output/server/chunks/routes/api/fs/move.post.mjs +1 -1
  166. package/.output/server/chunks/routes/api/fs/read.post.mjs +1 -1
  167. package/.output/server/chunks/routes/api/fs/rename.post.mjs +1 -1
  168. package/.output/server/chunks/routes/api/fs/write.post.mjs +1 -1
  169. package/.output/server/chunks/routes/api/health.get.mjs +1 -1
  170. package/.output/server/chunks/routes/api/home.get.mjs +1 -1
  171. package/.output/server/chunks/routes/api/hooks/index.get.mjs +1 -1
  172. package/.output/server/chunks/routes/api/hooks/index.post.mjs +1 -1
  173. package/.output/server/chunks/routes/api/hooks/stats.get.mjs +1 -1
  174. package/.output/server/chunks/routes/api/index.get3.mjs +1 -1
  175. package/.output/server/chunks/routes/api/index.get4.mjs +1 -1
  176. package/.output/server/chunks/routes/api/index.get5.mjs +1 -1
  177. package/.output/server/chunks/routes/api/index.get6.mjs +1 -1
  178. package/.output/server/chunks/routes/api/index.get7.mjs +1 -1
  179. package/.output/server/chunks/routes/api/index.get8.mjs +1 -1
  180. package/.output/server/chunks/routes/api/index.post2.mjs +1 -1
  181. package/.output/server/chunks/routes/api/index.post3.mjs +1 -1
  182. package/.output/server/chunks/routes/api/index.post4.mjs +1 -1
  183. package/.output/server/chunks/routes/api/index.put.mjs +1 -1
  184. package/.output/server/chunks/routes/api/memory/_id_.delete.mjs +1 -1
  185. package/.output/server/chunks/routes/api/memory/context.get.mjs +1 -1
  186. package/.output/server/chunks/routes/api/memory/extract.post.mjs +1 -1
  187. package/.output/server/chunks/routes/api/memory/search.get.mjs +1 -1
  188. package/.output/server/chunks/routes/api/memory/store.post.mjs +1 -1
  189. package/.output/server/chunks/routes/api/projects/index.delete.mjs +1 -1
  190. package/.output/server/chunks/routes/api/projects/index.get.mjs +1 -1
  191. package/.output/server/chunks/routes/api/projects/index.put.mjs +1 -1
  192. package/.output/server/chunks/routes/api/secrets/_key_.delete.mjs +1 -1
  193. package/.output/server/chunks/routes/api/secrets/_key_.get.mjs +1 -1
  194. package/.output/server/chunks/routes/api/secrets/_key_.put.mjs +1 -1
  195. package/.output/server/chunks/routes/api/tasks/_id/restore.post.mjs +1 -1
  196. package/.output/server/chunks/routes/api/tasks/index.delete.mjs +1 -1
  197. package/.output/server/chunks/routes/api/tasks/index.put.mjs +1 -1
  198. package/.output/server/chunks/routes/api/tasks/tags.get.mjs +1 -1
  199. package/.output/server/chunks/routes/api/usage/stats.get.mjs +1 -1
  200. package/.output/server/chunks/routes/renderer.mjs +1 -1
  201. package/.output/server/package.json +1 -1
  202. package/Claude/CLAUDE.md +9 -4
  203. package/Claude/skills/environment/SKILL.md +6 -0
  204. package/Claude/skills/memory/SKILL.md +6 -0
  205. package/Claude/skills/project/SKILL.md +6 -0
  206. package/Claude/skills/secret/SKILL.md +85 -0
  207. package/Claude/skills/secret/secret.py +146 -0
  208. package/Claude/skills/skill-creator/SKILL.md +30 -0
  209. package/Claude/skills/task/SKILL.md +6 -0
  210. package/app/components/dashboard/RecentChats.vue +93 -0
  211. package/app/components/dashboard/RecentDocs.vue +108 -0
  212. package/app/components/dashboard/StatCards.vue +82 -0
  213. package/app/components/dashboard/UpcomingTasks.vue +119 -0
  214. package/app/components/dashboard/UsageSummary.vue +94 -0
  215. package/app/components/editor/DocumentEditor.vue +5 -3
  216. package/app/components/skills/Card.vue +82 -0
  217. package/app/components/skills/CreateModal.vue +156 -0
  218. package/app/components/skills/Editor.vue +135 -0
  219. package/app/components/skills/FileTree.vue +336 -0
  220. package/app/components/skills/LibraryCard.vue +122 -0
  221. package/app/components/skills/RenameModal.vue +84 -0
  222. package/app/composables/useCopyToClipboard.ts +37 -0
  223. package/app/layouts/dashboard.vue +7 -0
  224. package/app/pages/chat.vue +11 -1
  225. package/app/pages/dashboard.vue +65 -64
  226. package/app/pages/skills/[name].vue +198 -0
  227. package/app/pages/skills/index.vue +157 -0
  228. package/app/pages/skills/library.vue +209 -0
  229. package/app/pages/view/[uuid].vue +4 -3
  230. package/dist/cli/index.js +23 -23
  231. package/nuxt.config.ts +9 -0
  232. package/package.json +1 -1
  233. package/server/api/dashboard/overview.get.ts +133 -0
  234. package/server/api/skills/[name]/files/create.post.ts +45 -0
  235. package/server/api/skills/[name]/files/delete.post.ts +45 -0
  236. package/server/api/skills/[name]/files/index.get.ts +28 -0
  237. package/server/api/skills/[name]/files/read.post.ts +41 -0
  238. package/server/api/skills/[name]/files/write.post.ts +42 -0
  239. package/server/api/skills/[name]/index.get.ts +54 -0
  240. package/server/api/skills/[name]/rename.post.ts +64 -0
  241. package/server/api/skills/[name]/toggle.post.ts +32 -0
  242. package/server/api/skills/create.post.ts +51 -0
  243. package/server/api/skills/generate.post.ts +126 -0
  244. package/server/api/skills/index.get.ts +57 -0
  245. package/server/api/skills/library/check-updates.get.ts +46 -0
  246. package/server/api/skills/library/index.get.ts +56 -0
  247. package/server/api/skills/library/install.post.ts +73 -0
  248. package/server/db/schema.ts +17 -0
  249. package/server/drizzle/migrations/0012_good_deadpool.sql +12 -0
  250. package/server/drizzle/migrations/0013_swift_snowbird.sql +1 -0
  251. package/server/drizzle/migrations/meta/0012_snapshot.json +1713 -0
  252. package/server/drizzle/migrations/meta/0013_snapshot.json +1720 -0
  253. package/server/drizzle/migrations/meta/_journal.json +14 -0
  254. package/server/middleware/auth.ts +0 -1
  255. package/server/plugins/05.skills-catalog.ts +105 -0
  256. package/server/utils/skills-path.ts +197 -0
  257. package/shared/types/index.ts +102 -0
  258. package/.output/public/_nuxt/BAWOIJ__.js +0 -1
  259. package/.output/public/_nuxt/B_paJhyq.js +0 -1
  260. package/.output/public/_nuxt/BdYiqlvd.js +0 -1
  261. package/.output/public/_nuxt/BpiqBbAF.js +0 -1
  262. package/.output/public/_nuxt/BqDfJ2hd.js +0 -1
  263. package/.output/public/_nuxt/BxgB0-mq.js +0 -1
  264. package/.output/public/_nuxt/C1hs5K_e.js +0 -1
  265. package/.output/public/_nuxt/C4Ncdd9K.js +0 -1
  266. package/.output/public/_nuxt/CAQ2bGHm.js +0 -1
  267. package/.output/public/_nuxt/CCpQAJpz.js +0 -1
  268. package/.output/public/_nuxt/CXXD-owe.js +0 -1
  269. package/.output/public/_nuxt/CcRijyCZ.js +0 -1
  270. package/.output/public/_nuxt/CoEfPCKj.js +0 -1
  271. package/.output/public/_nuxt/D08h2e32.js +0 -1
  272. package/.output/public/_nuxt/D_t_j6EB.js +0 -1
  273. package/.output/public/_nuxt/DaZy6Ki2.js +0 -1
  274. package/.output/public/_nuxt/DdrudNqf.js +0 -1
  275. package/.output/public/_nuxt/DdtmJxeb.js +0 -1
  276. package/.output/public/_nuxt/Dgv5fJ6Q.js +0 -1
  277. package/.output/public/_nuxt/DhIluGHO.js +0 -1
  278. package/.output/public/_nuxt/DuRk5Dc_.js +0 -1
  279. package/.output/public/_nuxt/VFwvl1mU.js +0 -1
  280. package/.output/public/_nuxt/builds/meta/555978fa-172f-4d0d-8238-88f8b610f712.json +0 -1
  281. package/.output/public/_nuxt/entry.DPbNaeQT.css +0 -1
  282. package/.output/public/_nuxt/hZV7Z8Ig.js +0 -1
  283. package/.output/public/_nuxt/lK0inMQ6.js +0 -1
  284. package/.output/server/chunks/build/CodeEditorFallback-DfYly7f5.mjs.map +0 -1
  285. package/.output/server/chunks/build/dashboard-DtbGchTa.mjs +0 -277
  286. package/.output/server/chunks/build/dashboard-DtbGchTa.mjs.map +0 -1
  287. /package/.output/public/_nuxt/{language-detection.Be_IvFWy.css → useCopyToClipboard.Be_IvFWy.css} +0 -0
@@ -1,80 +1,81 @@
1
1
  <script setup lang="ts">
2
+ import type { DashboardOverview } from '~~/shared/types'
3
+
2
4
  definePageMeta({
3
5
  layout: 'dashboard',
4
6
  middleware: 'auth'
5
7
  })
8
+
9
+ const { user } = useAuth()
10
+ const overview = ref<DashboardOverview | null>(null)
11
+ const loading = ref(true)
12
+
13
+ async function loadOverview() {
14
+ loading.value = true
15
+ try {
16
+ const res = await $fetch<{ data: DashboardOverview }>('/api/dashboard/overview')
17
+ overview.value = res.data
18
+ } catch {
19
+ // Silently fail — cards show empty state
20
+ } finally {
21
+ loading.value = false
22
+ }
23
+ }
24
+
25
+ onMounted(() => {
26
+ loadOverview()
27
+ })
6
28
  </script>
7
29
 
8
30
  <template>
9
- <UDashboardPanel
10
- id="dashboard"
11
- grow
12
- >
13
- <UDashboardNavbar title="Dashboard">
14
- <template #actions>
15
- <UColorModeButton />
31
+ <div class="contents">
32
+ <UDashboardPanel
33
+ id="dashboard"
34
+ grow
35
+ >
36
+ <template #header>
37
+ <UDashboardNavbar title="Dashboard" />
16
38
  </template>
17
- </UDashboardNavbar>
18
-
19
- <div class="p-6 overflow-auto">
20
- <div class="space-y-6">
21
- <div>
22
- <h1 class="text-2xl font-bold">
23
- Welcome to Cognova
24
- </h1>
25
- <p class="text-muted mt-1">
26
- Your personal knowledge management system.
27
- </p>
28
- </div>
29
39
 
30
- <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
31
- <UCard>
32
- <template #header>
33
- <div class="flex items-center gap-2">
34
- <UIcon
35
- name="i-lucide-check-square"
36
- class="size-5 text-primary"
37
- />
38
- <span class="font-semibold">Tasks Due Today</span>
39
- </div>
40
- </template>
41
- <p class="text-muted text-sm">
42
- No tasks due today.
40
+ <template #body>
41
+ <div class="p-4 space-y-6">
42
+ <div>
43
+ <h1 class="text-2xl font-bold">
44
+ Welcome back{{ user?.name ? `, ${user.name}` : '' }}
45
+ </h1>
46
+ <p class="text-muted mt-1 text-sm">
47
+ Here's what's happening in your workspace.
43
48
  </p>
44
- </UCard>
49
+ </div>
45
50
 
46
- <UCard>
47
- <template #header>
48
- <div class="flex items-center gap-2">
49
- <UIcon
50
- name="i-lucide-file-text"
51
- class="size-5 text-primary"
52
- />
53
- <span class="font-semibold">Recent Notes</span>
54
- </div>
55
- </template>
56
- <p class="text-muted text-sm">
57
- No recent notes.
58
- </p>
59
- </UCard>
51
+ <DashboardStatCards
52
+ :overview="overview"
53
+ :loading="loading"
54
+ />
55
+
56
+ <div class="grid gap-6 lg:grid-cols-2">
57
+ <DashboardUpcomingTasks
58
+ :tasks="overview?.tasks.upcoming ?? []"
59
+ :loading="loading"
60
+ />
61
+ <DashboardRecentChats
62
+ :conversations="overview?.conversations ?? []"
63
+ :loading="loading"
64
+ />
65
+ </div>
60
66
 
61
- <UCard>
62
- <template #header>
63
- <div class="flex items-center gap-2">
64
- <UIcon
65
- name="i-lucide-inbox"
66
- class="size-5 text-primary"
67
- />
68
- <span class="font-semibold">Quick Capture</span>
69
- </div>
70
- </template>
71
- <UInput
72
- placeholder="What's on your mind?"
73
- class="mt-2"
67
+ <div class="grid gap-6 lg:grid-cols-2">
68
+ <DashboardRecentDocs
69
+ :documents="overview?.documents ?? []"
70
+ :loading="loading"
71
+ />
72
+ <DashboardUsageSummary
73
+ :usage="overview?.usage ?? { totalCost7d: 0, totalCalls7d: 0, totalInputTokens7d: 0, totalOutputTokens7d: 0 }"
74
+ :loading="loading"
74
75
  />
75
- </UCard>
76
+ </div>
76
77
  </div>
77
- </div>
78
- </div>
79
- </UDashboardPanel>
78
+ </template>
79
+ </UDashboardPanel>
80
+ </div>
80
81
  </template>
@@ -0,0 +1,198 @@
1
+ <script setup lang="ts">
2
+ import type { SkillDetail } from '~~/shared/types'
3
+
4
+ definePageMeta({
5
+ layout: 'dashboard',
6
+ middleware: 'auth'
7
+ })
8
+
9
+ const route = useRoute()
10
+ const router = useRouter()
11
+ const toast = useToast()
12
+
13
+ const skillName = computed(() => route.params.name as string)
14
+ const skill = ref<SkillDetail | null>(null)
15
+ const loading = ref(true)
16
+ const selectedFile = ref('')
17
+ const renameOpen = ref(false)
18
+
19
+ async function loadSkill() {
20
+ loading.value = true
21
+ try {
22
+ const res = await $fetch<{ data: SkillDetail }>(`/api/skills/${skillName.value}`)
23
+ skill.value = res.data
24
+
25
+ // Auto-select SKILL.md if exists
26
+ if (!selectedFile.value) {
27
+ const skillMd = res.data.files.find(f => f.name === 'SKILL.md')
28
+ if (skillMd) selectedFile.value = skillMd.path
29
+ }
30
+ } catch {
31
+ toast.add({ title: 'Skill not found', color: 'error' })
32
+ router.push('/skills')
33
+ } finally {
34
+ loading.value = false
35
+ }
36
+ }
37
+
38
+ async function handleToggle() {
39
+ if (!skill.value || skill.value.core) return
40
+ try {
41
+ const res = await $fetch<{ data: { active: boolean } }>(`/api/skills/${skillName.value}/toggle`, {
42
+ method: 'POST'
43
+ })
44
+ skill.value.active = res.data.active
45
+ toast.add({
46
+ title: `${skillName.value} ${res.data.active ? 'enabled' : 'disabled'}`,
47
+ color: 'success'
48
+ })
49
+ } catch {
50
+ toast.add({ title: 'Failed to toggle skill', color: 'error' })
51
+ }
52
+ }
53
+
54
+ function handleRenamed(newName: string) {
55
+ router.replace(`/skills/${newName}`)
56
+ }
57
+
58
+ onMounted(() => loadSkill())
59
+ </script>
60
+
61
+ <template>
62
+ <div class="flex flex-1 min-w-0">
63
+ <!-- File tree sidebar -->
64
+ <UDashboardPanel
65
+ id="skill-filetree"
66
+ collapsible
67
+ resizable
68
+ :min-size="12"
69
+ :default-size="16"
70
+ :max-size="24"
71
+ class="hidden lg:flex"
72
+ >
73
+ <template #header>
74
+ <UDashboardNavbar>
75
+ <template #title>
76
+ <span class="text-sm font-medium truncate">Files</span>
77
+ </template>
78
+ </UDashboardNavbar>
79
+ </template>
80
+
81
+ <template #body>
82
+ <div
83
+ v-if="loading"
84
+ class="p-4 space-y-2"
85
+ >
86
+ <USkeleton
87
+ v-for="i in 4"
88
+ :key="i"
89
+ class="h-6 w-full"
90
+ />
91
+ </div>
92
+ <SkillsFileTree
93
+ v-else-if="skill"
94
+ :skill-name="skillName"
95
+ :files="skill.files"
96
+ :selected-path="selectedFile"
97
+ @select="selectedFile = $event"
98
+ @refresh="loadSkill"
99
+ />
100
+ </template>
101
+ </UDashboardPanel>
102
+
103
+ <!-- Editor panel -->
104
+ <UDashboardPanel
105
+ id="skill-editor"
106
+ grow
107
+ :ui="{ body: '!p-0' }"
108
+ >
109
+ <template #header>
110
+ <UDashboardNavbar>
111
+ <template #title>
112
+ <NuxtLink
113
+ to="/skills"
114
+ class="text-muted hover:text-default transition-colors"
115
+ >
116
+ <UIcon
117
+ name="i-lucide-arrow-left"
118
+ class="size-4"
119
+ />
120
+ </NuxtLink>
121
+ <span class="font-medium">{{ skillName }}</span>
122
+ <UBadge
123
+ v-if="skill?.core"
124
+ variant="subtle"
125
+ color="primary"
126
+ size="xs"
127
+ >
128
+ Core
129
+ </UBadge>
130
+ <UBadge
131
+ v-if="skill && !skill.active"
132
+ variant="subtle"
133
+ color="neutral"
134
+ size="xs"
135
+ >
136
+ Disabled
137
+ </UBadge>
138
+ </template>
139
+ <template #right>
140
+ <USwitch
141
+ v-if="skill && !skill.core"
142
+ :model-value="skill.active"
143
+ size="sm"
144
+ @update:model-value="handleToggle"
145
+ />
146
+ <UButton
147
+ v-if="skill && !skill.core"
148
+ icon="i-lucide-pencil"
149
+ variant="ghost"
150
+ color="neutral"
151
+ size="sm"
152
+ @click="renameOpen = true"
153
+ />
154
+ </template>
155
+ </UDashboardNavbar>
156
+ </template>
157
+
158
+ <template #body>
159
+ <div
160
+ v-if="loading"
161
+ class="flex-1 flex items-center justify-center h-full"
162
+ >
163
+ <UIcon
164
+ name="i-lucide-loader-2"
165
+ class="size-6 animate-spin text-dimmed"
166
+ />
167
+ </div>
168
+ <div
169
+ v-else-if="!selectedFile"
170
+ class="flex-1 flex items-center justify-center h-full text-dimmed"
171
+ >
172
+ <div class="text-center">
173
+ <UIcon
174
+ name="i-lucide-file-code"
175
+ class="size-12 mx-auto mb-4 opacity-50"
176
+ />
177
+ <p>Select a file to edit</p>
178
+ </div>
179
+ </div>
180
+ <SkillsEditor
181
+ v-else
182
+ :key="selectedFile"
183
+ :skill-name="skillName"
184
+ :file-path="selectedFile"
185
+ @saved="loadSkill"
186
+ />
187
+ </template>
188
+ </UDashboardPanel>
189
+
190
+ <SkillsRenameModal
191
+ v-if="skill"
192
+ :open="renameOpen"
193
+ :current-name="skillName"
194
+ @update:open="renameOpen = $event"
195
+ @renamed="handleRenamed"
196
+ />
197
+ </div>
198
+ </template>
@@ -0,0 +1,157 @@
1
+ <script setup lang="ts">
2
+ import type { SkillListItem } from '~~/shared/types'
3
+
4
+ definePageMeta({
5
+ layout: 'dashboard',
6
+ middleware: 'auth'
7
+ })
8
+
9
+ const toast = useToast()
10
+ const skills = ref<SkillListItem[]>([])
11
+ const loading = ref(true)
12
+ const search = ref('')
13
+ const createOpen = ref(false)
14
+
15
+ const filteredSkills = computed(() => {
16
+ if (!search.value.trim()) return skills.value
17
+ const q = search.value.toLowerCase()
18
+ return skills.value.filter(s =>
19
+ s.name.toLowerCase().includes(q)
20
+ || s.description.toLowerCase().includes(q)
21
+ )
22
+ })
23
+
24
+ async function loadSkills() {
25
+ loading.value = true
26
+ try {
27
+ const res = await $fetch<{ data: SkillListItem[] }>('/api/skills')
28
+ skills.value = res.data
29
+ } catch {
30
+ toast.add({ title: 'Failed to load skills', color: 'error' })
31
+ } finally {
32
+ loading.value = false
33
+ }
34
+ }
35
+
36
+ async function handleToggle(name: string) {
37
+ try {
38
+ const res = await $fetch<{ data: { name: string, active: boolean } }>(`/api/skills/${name}/toggle`, {
39
+ method: 'POST'
40
+ })
41
+ const skill = skills.value.find(s => s.name === name)
42
+ if (skill) skill.active = res.data.active
43
+ toast.add({
44
+ title: `${name} ${res.data.active ? 'enabled' : 'disabled'}`,
45
+ color: 'success'
46
+ })
47
+ } catch {
48
+ toast.add({ title: `Failed to toggle ${name}`, color: 'error' })
49
+ }
50
+ }
51
+
52
+ onMounted(() => loadSkills())
53
+ </script>
54
+
55
+ <template>
56
+ <div class="flex flex-1 min-w-0">
57
+ <UDashboardPanel
58
+ id="skills-main"
59
+ grow
60
+ >
61
+ <template #header>
62
+ <UDashboardNavbar title="Skills">
63
+ <template #right>
64
+ <UInput
65
+ v-model="search"
66
+ icon="i-lucide-search"
67
+ placeholder="Search skills..."
68
+ size="sm"
69
+ class="w-48"
70
+ />
71
+ <NuxtLink to="/skills/library">
72
+ <UButton
73
+ icon="i-lucide-library"
74
+ variant="ghost"
75
+ color="neutral"
76
+ size="sm"
77
+ >
78
+ Library
79
+ </UButton>
80
+ </NuxtLink>
81
+ <UButton
82
+ icon="i-lucide-plus"
83
+ size="sm"
84
+ @click="createOpen = true"
85
+ >
86
+ Create Skill
87
+ </UButton>
88
+ </template>
89
+ </UDashboardNavbar>
90
+ </template>
91
+
92
+ <template #body>
93
+ <div class="p-4">
94
+ <!-- Loading -->
95
+ <div
96
+ v-if="loading"
97
+ class="grid gap-4 sm:grid-cols-2 lg:grid-cols-3"
98
+ >
99
+ <div
100
+ v-for="i in 6"
101
+ :key="i"
102
+ class="p-4 rounded-lg border border-default bg-elevated/50"
103
+ >
104
+ <USkeleton class="h-4 w-24 mb-2" />
105
+ <USkeleton class="h-3 w-full mb-1" />
106
+ <USkeleton class="h-3 w-2/3" />
107
+ </div>
108
+ </div>
109
+
110
+ <!-- Empty -->
111
+ <div
112
+ v-else-if="skills.length === 0"
113
+ class="flex flex-col items-center justify-center py-16 text-dimmed"
114
+ >
115
+ <UIcon
116
+ name="i-lucide-puzzle"
117
+ class="size-12 mb-4"
118
+ />
119
+ <p class="text-lg font-medium">
120
+ No skills found
121
+ </p>
122
+ <p class="text-sm mt-1">
123
+ Skills are loaded from ~/.claude/skills/
124
+ </p>
125
+ </div>
126
+
127
+ <!-- No results -->
128
+ <div
129
+ v-else-if="filteredSkills.length === 0"
130
+ class="text-center py-12 text-muted text-sm"
131
+ >
132
+ No skills matching "{{ search }}"
133
+ </div>
134
+
135
+ <!-- Grid -->
136
+ <div
137
+ v-else
138
+ class="grid gap-4 sm:grid-cols-2 lg:grid-cols-3"
139
+ >
140
+ <SkillsCard
141
+ v-for="skill in filteredSkills"
142
+ :key="skill.name"
143
+ :skill="skill"
144
+ @toggle="handleToggle"
145
+ />
146
+ </div>
147
+ </div>
148
+ </template>
149
+ </UDashboardPanel>
150
+
151
+ <SkillsCreateModal
152
+ :open="createOpen"
153
+ @update:open="createOpen = $event"
154
+ @created="loadSkills"
155
+ />
156
+ </div>
157
+ </template>