@lovelybunch/api 1.0.76-alpha.10 → 1.0.76-alpha.11

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 (244) hide show
  1. package/dist/lib/git.d.ts +3 -0
  2. package/dist/lib/git.js +35 -0
  3. package/dist/routes/api/v1/git/index.js +27 -1
  4. package/dist/routes/api/v1/resources/generate/route.js +10 -3
  5. package/dist/routes/api/v1/slack/route.d.ts +6 -6
  6. package/package.json +4 -4
  7. package/static/assets/{ActivityPage-B3rsYt_4.js → ActivityPage-CUPUsmhW.js} +1 -1
  8. package/static/assets/ActivityPage-DGW0f70r.js +1 -0
  9. package/static/assets/{AgentsContextEditPage-4D7qO4S-.js → AgentsContextEditPage-CBZaG033.js} +1 -1
  10. package/static/assets/AgentsContextEditPage-CJbx9qwA.js +9 -0
  11. package/static/assets/{AgentsContextPage-NmvLRo0k.js → AgentsContextPage-BWzSvM5V.js} +1 -1
  12. package/static/assets/AgentsContextPage-C1wcPVUs.js +1 -0
  13. package/static/assets/{ApiKeysSettingsPage-BGj5p9zw.js → ApiKeysSettingsPage-CauZEPsx.js} +1 -1
  14. package/static/assets/ApiKeysSettingsPage-Ceww_YUR.js +2 -0
  15. package/static/assets/{ArchitectureEditPage-DI2jNmc9.js → ArchitectureEditPage-DZhYQihz.js} +1 -1
  16. package/static/assets/ArchitectureEditPage-Dk8NNc4k.js +15 -0
  17. package/static/assets/{ArchitecturePage-DiIuThUM.js → ArchitecturePage-Cvj4j0Mo.js} +1 -1
  18. package/static/assets/ArchitecturePage-D0gLaPg5.js +1 -0
  19. package/static/assets/{AuthSettingsPage-DWuwxAS0.js → AuthSettingsPage-22eaC7la.js} +1 -1
  20. package/static/assets/AuthSettingsPage-BHPV0uSB.js +11 -0
  21. package/static/assets/{CallbackPage-BCmkYhEr.js → CallbackPage-DCf0WTl0.js} +1 -1
  22. package/static/assets/CallbackPage-buKCnkYC.js +1 -0
  23. package/static/assets/{CodePage-BZhIkymg.js → CodePage-CuyF2xDA.js} +1 -1
  24. package/static/assets/CodePage-x32C4yuN.js +2 -0
  25. package/static/assets/{CollapsibleSection-BJzLVd-x.js → CollapsibleSection-CUHXgJIe.js} +1 -1
  26. package/static/assets/CollapsibleSection-DMf0wWjc.js +1 -0
  27. package/static/assets/{DashboardPage-DtwE553F.js → DashboardPage-DIU-4dPO.js} +1 -1
  28. package/static/assets/DashboardPage-Dr4S3wVm.js +41 -0
  29. package/static/assets/{GitPage-qG7VYL9b.js → GitPage-BGHRNljT.js} +1 -1
  30. package/static/assets/GitPage-DpCcZosR.js +16 -0
  31. package/static/assets/{GitSettingsPage-C8Bgpj-X.js → GitSettingsPage-A4ty6ftB.js} +1 -1
  32. package/static/assets/GitSettingsPage-BRuP4Ihk.js +6 -0
  33. package/static/assets/{IdentityPage-Cf8Ruu-g.js → IdentityPage-4xn0DPW8.js} +1 -1
  34. package/static/assets/IdentityPage-Bps9Zjk3.js +6 -0
  35. package/static/assets/{ImplementationStepsEditor-BXIRT7o1.js → ImplementationStepsEditor-CaMsbJPb.js} +1 -1
  36. package/static/assets/ImplementationStepsEditor-KJkRc2Jn.js +6 -0
  37. package/static/assets/{IntegrationsSettingsPage-th56kUgi.js → IntegrationsSettingsPage-B1sX003q.js} +1 -1
  38. package/static/assets/IntegrationsSettingsPage-CpTuAA-H.js +1 -0
  39. package/static/assets/{JobDetailPage-ZyEcbPAe.js → JobDetailPage-BdYlGn4G.js} +1 -1
  40. package/static/assets/JobDetailPage-C5N3IyX3.js +1 -0
  41. package/static/assets/{KnowledgeDetailPage-BklEOfs0.js → KnowledgeDetailPage-Dvk-QAJJ.js} +1 -1
  42. package/static/assets/KnowledgeDetailPage-Dy0M4FgC.js +1 -0
  43. package/static/assets/{KnowledgeEditPage-BGqzVqHi.js → KnowledgeEditPage-CN0wPWMV.js} +1 -1
  44. package/static/assets/KnowledgeEditPage-DEP0bweP.js +1 -0
  45. package/static/assets/{KnowledgePage-Dmm7vzAj.js → KnowledgePage-BLe2lXja.js} +1 -1
  46. package/static/assets/KnowledgePage-_bvnWXPU.js +3 -0
  47. package/static/assets/{LoginPage-PDafaEnq.js → LoginPage-BkZt_pMw.js} +1 -1
  48. package/static/assets/LoginPage-VfOnXGad.js +1 -0
  49. package/static/assets/{MailInboxPage-M5_2gGkB.js → MailInboxPage-DklkHMyO.js} +1 -1
  50. package/static/assets/MailInboxPage-UF82OTOE.js +1 -0
  51. package/static/assets/{MailProcessingModal-C4PotIFc.js → MailProcessingModal-BHFYVTQc.js} +1 -1
  52. package/static/assets/MailProcessingModal-rKHRB-wC.js +6 -0
  53. package/static/assets/{MailReadPage-D32FUx5o.js → MailReadPage-B-vLDq-6.js} +1 -1
  54. package/static/assets/MailReadPage-mg3Wqvqh.js +1 -0
  55. package/static/assets/{MailSentPage-CjBrbezf.js → MailSentPage-DIJJ8I5v.js} +1 -1
  56. package/static/assets/MailSentPage-OJeb1vU9.js +1 -0
  57. package/static/assets/{McpSettingsPage-DxE-4YPc.js → McpSettingsPage-CgOnXuHZ.js} +1 -1
  58. package/static/assets/McpSettingsPage-Mi2-nB-i.js +1 -0
  59. package/static/assets/{MemoryEditPage-BlQ5EN1w.js → MemoryEditPage-CR6SmDXU.js} +1 -1
  60. package/static/assets/MemoryEditPage-D8i7XQ5l.js +13 -0
  61. package/static/assets/{MemoryPage-B8fsgW7z.js → MemoryPage-BcWVGuiS.js} +1 -1
  62. package/static/assets/MemoryPage-vbCtMG4L.js +1 -0
  63. package/static/assets/{NewKnowledgePage-CuH201xQ.js → NewKnowledgePage-BE4X0pSc.js} +1 -1
  64. package/static/assets/NewKnowledgePage-CL3dpMwb.js +1 -0
  65. package/static/assets/{NewSkillPage-BdX7eNoi.js → NewSkillPage-B3prwJ_n.js} +1 -1
  66. package/static/assets/NewSkillPage-BCJ68pFK.js +1 -0
  67. package/static/assets/{NewTaskPage-D9W2Yi0r.js → NewTaskPage-DszXfHrv.js} +1 -1
  68. package/static/assets/NewTaskPage-vj0LvAb_.js +91 -0
  69. package/static/assets/{NotFoundPage-D9tmTVho.js → NotFoundPage-D3K7UoeF.js} +1 -1
  70. package/static/assets/NotFoundPage-DqwQiMc8.js +6 -0
  71. package/static/assets/{NotificationsSettingsPage-B4lBxS8D.js → NotificationsSettingsPage-BSuXKPiG.js} +1 -1
  72. package/static/assets/NotificationsSettingsPage-C4Gthita.js +1 -0
  73. package/static/assets/{ProjectEditPage-DdqUI91K.js → ProjectEditPage-DTdhZKQg.js} +1 -1
  74. package/static/assets/ProjectEditPage-ia6zDqUf.js +11 -0
  75. package/static/assets/{ProjectPage-DB7ugw8l.js → ProjectPage-BIk487-h.js} +1 -1
  76. package/static/assets/ProjectPage-DJ5wGekX.js +1 -0
  77. package/static/assets/{PromptsSettingsPage-DFXoKUjj.js → PromptsSettingsPage-4iJoggN0.js} +1 -1
  78. package/static/assets/PromptsSettingsPage-COjiXPsT.js +1 -0
  79. package/static/assets/{ResourceDetailPage-CWc4YIMc.js → ResourceDetailPage-DJN3Rax4.js} +1 -1
  80. package/static/assets/ResourceDetailPage-DKs83OyV.js +1 -0
  81. package/static/assets/ResourcesPage-CO45MzEx.js +41 -0
  82. package/static/assets/ResourcesPage-DF8x1i_a.js +41 -0
  83. package/static/assets/{RoleEditPage-B20UAC2r.js → RoleEditPage-B0pm5rVn.js} +1 -1
  84. package/static/assets/RoleEditPage-CBl-M2s3.js +13 -0
  85. package/static/assets/{RolePage-C5Jf7wxY.js → RolePage-B7JswOZC.js} +1 -1
  86. package/static/assets/RolePage-IVBtcgCf.js +1 -0
  87. package/static/assets/{RulesSettingsPage-91WP1FQf.js → RulesSettingsPage-CB6YdyhI.js} +1 -1
  88. package/static/assets/RulesSettingsPage-CKUt1JkO.js +16 -0
  89. package/static/assets/{SchedulePage-BijprHGn.js → SchedulePage-TCeGDlnw.js} +1 -1
  90. package/static/assets/SchedulePage-_NAbasKs.js +4 -0
  91. package/static/assets/{SkillDetailPage-Cpxz_wmk.js → SkillDetailPage-7EzSwjPh.js} +1 -1
  92. package/static/assets/SkillDetailPage-jTeSohec.js +1 -0
  93. package/static/assets/{SkillEditPage-Cz7VRg0r.js → SkillEditPage-CpouyjFV.js} +1 -1
  94. package/static/assets/SkillEditPage-D_e69AQk.js +1 -0
  95. package/static/assets/{SkillsPage-Bxmsi6Xd.js → SkillsPage-DP8zSnPo.js} +1 -1
  96. package/static/assets/SkillsPage-xfv43oJ4.js +8 -0
  97. package/static/assets/{SkillsSettingsPage-Cysx53Au.js → SkillsSettingsPage-CktzJBa7.js} +1 -1
  98. package/static/assets/SkillsSettingsPage-jhNVgVSA.js +1 -0
  99. package/static/assets/{SourceInput-D59F7hff.js → SourceInput-CQnyDxzl.js} +1 -1
  100. package/static/assets/SourceInput-KeAQ1PMl.js +1 -0
  101. package/static/assets/{TagInput-BH6wDXWJ.js → TagInput-DoO2Dwj6.js} +1 -1
  102. package/static/assets/TagInput-ZyP8Rq8B.js +1 -0
  103. package/static/assets/{TaskDetailPage-5ktdWaTr.js → TaskDetailPage-C6xKC_IM.js} +1 -1
  104. package/static/assets/TaskDetailPage-z557zwfE.js +16 -0
  105. package/static/assets/{TaskEditPage-CIZWp_s4.js → TaskEditPage-DPLOeh7K.js} +1 -1
  106. package/static/assets/TaskEditPage-XuWzVm-k.js +1 -0
  107. package/static/assets/{TasksPage-BNXDm-Er.js → TasksPage-C-toKZIZ.js} +1 -1
  108. package/static/assets/TasksPage-CwfLwTAV.js +17 -0
  109. package/static/assets/{TeamEditPage-C10siqme.js → TeamEditPage-B8qk6fWu.js} +1 -1
  110. package/static/assets/TeamEditPage-Dk7Yxh1i.js +9 -0
  111. package/static/assets/{TeamPage-CXpZVAfy.js → TeamPage-CQ4EE1rP.js} +1 -1
  112. package/static/assets/TeamPage-Dmrjf_RA.js +1 -0
  113. package/static/assets/{TerminalPage-DJ-Tu_hG.js → TerminalPage-C0CSp8st.js} +1 -1
  114. package/static/assets/TerminalPage-Y59DZGfZ.js +1 -0
  115. package/static/assets/{TerminalSessionPage-BLryJlkL.js → TerminalSessionPage-BQOMLYPX.js} +1 -1
  116. package/static/assets/TerminalSessionPage-HvnYJEpU.js +3 -0
  117. package/static/assets/{UserPreferencesPage-BvAcv5tt.js → UserPreferencesPage-1l5T8TaE.js} +1 -1
  118. package/static/assets/UserPreferencesPage-BSIvW5UI.js +1 -0
  119. package/static/assets/{UserSettingsPage-NQfoOvHf.js → UserSettingsPage-CS7BrEZJ.js} +1 -1
  120. package/static/assets/UserSettingsPage-o4ikmR9k.js +1 -0
  121. package/static/assets/{UtilitiesPage-NnBCWVn8.js → UtilitiesPage-D1YCA1eC.js} +1 -1
  122. package/static/assets/UtilitiesPage-O5kjW0V2.js +1 -0
  123. package/static/assets/{alert-CMfexl-V.js → alert-DOfUEE4H.js} +1 -1
  124. package/static/assets/alert-u79hLEuY.js +1 -0
  125. package/static/assets/{arrow-down-7VoAlw8h.js → arrow-down-DumN-Nal.js} +1 -1
  126. package/static/assets/arrow-down-Y539lEoZ.js +6 -0
  127. package/static/assets/{arrow-left-CkQCXG-O.js → arrow-left-B_QwfLPP.js} +1 -1
  128. package/static/assets/arrow-left-DmNgC0xD.js +6 -0
  129. package/static/assets/{arrow-up-Bozm6eto.js → arrow-up-B3Oj7MxZ.js} +1 -1
  130. package/static/assets/arrow-up-BbDrY9nh.js +6 -0
  131. package/static/assets/{arrow-up-down-BgZelEPF.js → arrow-up-down-D8T0kR2Q.js} +1 -1
  132. package/static/assets/arrow-up-down-DDTTwJEF.js +6 -0
  133. package/static/assets/{badge-CKqDVhJv.js → badge-BmHXIBBB.js} +1 -1
  134. package/static/assets/badge-BzEwwrAP.js +1 -0
  135. package/static/assets/{browser-modal-CIOZi1Jw.js → browser-modal-4AfJ98X7.js} +1 -1
  136. package/static/assets/browser-modal-CY4F-Mm8.js +6 -0
  137. package/static/assets/{card-jBf8qQSy.js → card-BpqK1BMM.js} +1 -1
  138. package/static/assets/card-Btt3HmXT.js +1 -0
  139. package/static/assets/{chevron-left-D1qHCYRd.js → chevron-left-CSCdB-iz.js} +1 -1
  140. package/static/assets/chevron-left-DztJMlwc.js +6 -0
  141. package/static/assets/{chevron-up-CcwaoTsZ.js → chevron-up-DaWWwb87.js} +1 -1
  142. package/static/assets/chevron-up-gnoSEbf_.js +6 -0
  143. package/static/assets/{chevrons-up-BtlNQbrw.js → chevrons-up-B2GdB4F7.js} +1 -1
  144. package/static/assets/chevrons-up-D7gsSI9g.js +11 -0
  145. package/static/assets/{circle-alert-DqK0nUqF.js → circle-alert-CQ-Ir4mS.js} +1 -1
  146. package/static/assets/circle-alert-Coa2ulVd.js +6 -0
  147. package/static/assets/{circle-check-qo4cPVA1.js → circle-check-01UufaGN.js} +1 -1
  148. package/static/assets/circle-check-C9wy7OAO.js +6 -0
  149. package/static/assets/{circle-check-big-DDQIqE0G.js → circle-check-big-CVbQ_zpj.js} +1 -1
  150. package/static/assets/circle-check-big-DqKKs8fZ.js +6 -0
  151. package/static/assets/{circle-play-CQ-UItmT.js → circle-play-COMPwZ00.js} +1 -1
  152. package/static/assets/circle-play-DoomwgYb.js +6 -0
  153. package/static/assets/{circle-x-Bd57ohC5.js → circle-x-Cs5S3HID.js} +1 -1
  154. package/static/assets/circle-x-Du7Cp5MD.js +6 -0
  155. package/static/assets/{clipboard-JQLlAwqS.js → clipboard-C-VV2jbC.js} +1 -1
  156. package/static/assets/clipboard-CqRqQoij.js +11 -0
  157. package/static/assets/{clock-DTp411N-.js → clock-BKOkXNLP.js} +1 -1
  158. package/static/assets/clock-ehUSUqcI.js +6 -0
  159. package/static/assets/{code-Bi-U-NxE.js → code-CmFlYUo3.js} +1 -1
  160. package/static/assets/code-kQPD6ttp.js +6 -0
  161. package/static/assets/{download-DNaE6rtO.js → download-Cg0a1Yh4.js} +1 -1
  162. package/static/assets/download-D8TKj0Hc.js +6 -0
  163. package/static/assets/{external-link-DRsIhdWR.js → external-link-BSAlwNHq.js} +1 -1
  164. package/static/assets/external-link-BVrPPG_7.js +6 -0
  165. package/static/assets/{eye-jqpFU8Rl.js → eye-AP4j25wH.js} +1 -1
  166. package/static/assets/eye-DWC_Vybx.js +6 -0
  167. package/static/assets/{folder-git-2-ixHmuqNj.js → folder-git-2-CMtTePKY.js} +1 -1
  168. package/static/assets/folder-git-2-Ds9p-D0Q.js +6 -0
  169. package/static/assets/{globe-BZEWER4V.js → globe-CJrZCIc6.js} +1 -1
  170. package/static/assets/globe-DwQuaM7_.js +6 -0
  171. package/static/assets/{index-UDlexUv4.js → index-0sq0wwbr.js} +1 -1
  172. package/static/assets/{index-M-XcYp88.js → index-B0Cea36W.js} +1 -1
  173. package/static/assets/{index-D-5sddKG.js → index-B0g-CMWG.js} +1 -1
  174. package/static/assets/{index-CiS46Fde.js → index-BFEMYO_w.js} +1 -1
  175. package/static/assets/{index-htJaaOEZ.js → index-BFevJCwl.js} +1 -1
  176. package/static/assets/{index-CK5AHHmM.js → index-BK1-hIKa.js} +1 -1
  177. package/static/assets/index-BMie63_b.js +1 -0
  178. package/static/assets/{index-2_Tb936f.js → index-BZvWD4ai.js} +1 -1
  179. package/static/assets/{index-C3ao8yMv.js → index-BlyysfDZ.js} +1 -1
  180. package/static/assets/{index-BGKQ2Csq.js → index-BpQ9T8mu.js} +1 -1
  181. package/static/assets/{index-CoeRBZRl.js → index-Bpm_mSd3.js} +1 -1
  182. package/static/assets/{index-B8B_4B2l.js → index-Brkkhgwq.js} +1 -1
  183. package/static/assets/{index-BD47WGC6.js → index-Bvj_HZmE.js} +1 -1
  184. package/static/assets/index-CE8kBKLn.js +1 -0
  185. package/static/assets/index-CL_XsRD7.js +1 -0
  186. package/static/assets/index-C_KCaLlP.js +502 -0
  187. package/static/assets/index-CfcUrE_I.js +1 -0
  188. package/static/assets/index-CisT9m8F.js +3 -0
  189. package/static/assets/index-CiyjdZHh.js +1 -0
  190. package/static/assets/index-CtnO1D9D.js +1 -0
  191. package/static/assets/{index-Bft1WzL9.js → index-D3hMbDtK.js} +1 -1
  192. package/static/assets/{index-DHAvHhw0.js → index-DBS4Ya9k.js} +1 -1
  193. package/static/assets/index-DEmcF6vO.js +1 -0
  194. package/static/assets/index-DYBGl9Zy.js +1 -0
  195. package/static/assets/{index-DffngCzC.js → index-DgeHIphZ.js} +1 -1
  196. package/static/assets/{index-BLjvGp1F.js → index-Digxc7bT.js} +1 -1
  197. package/static/assets/index-Dih0CGHs.js +1 -0
  198. package/static/assets/index-DoDazQp9.js +1 -0
  199. package/static/assets/index-DvviZzdo.js +1 -0
  200. package/static/assets/index-Dz52SxOy.js +2 -0
  201. package/static/assets/{index-CdmUQF6-.js → index-J8MrpD0P.js} +1 -1
  202. package/static/assets/index-NgkIT4SV.js +1 -0
  203. package/static/assets/index-PBkZiuRI.js +1 -0
  204. package/static/assets/{index-CtWTFIFI.js → index-ZJ8xZq44.js} +1 -1
  205. package/static/assets/index-oKV7MVo_.js +1 -0
  206. package/static/assets/{index-BWhM9fZn.js → index-opozMhku.js} +2 -2
  207. package/static/assets/index-vk3KOxHi.js +7 -0
  208. package/static/assets/index-wmWBSeOM.js +1 -0
  209. package/static/assets/{info-Na9GqbtC.js → info-D-7cQBbP.js} +1 -1
  210. package/static/assets/info-NEnL4zqX.js +6 -0
  211. package/static/assets/{label-CHVVHrlr.js → label-bMzKAcdZ.js} +1 -1
  212. package/static/assets/label-wtSCiOqT.js +1 -0
  213. package/static/assets/{markdown-editor-CT9CPLw5.js → markdown-editor-B3gIcmI2.js} +3 -3
  214. package/static/assets/markdown-editor-D_er7zWv.js +111 -0
  215. package/static/assets/{message-square-B5NR6hzj.js → message-square-Ca07XC8m.js} +1 -1
  216. package/static/assets/message-square-CvZFZAL0.js +6 -0
  217. package/static/assets/{paperclip-SI0kWfGf.js → paperclip-BICwD8BW.js} +1 -1
  218. package/static/assets/paperclip-D9bkHCO9.js +6 -0
  219. package/static/assets/{pause-DKI9nsrI.js → pause-CZwBxJjx.js} +1 -1
  220. package/static/assets/pause-DrtOMeDr.js +6 -0
  221. package/static/assets/{play-BTA0gBuh.js → play-BjDbhEcg.js} +1 -1
  222. package/static/assets/play-CQk31OJN.js +6 -0
  223. package/static/assets/{radio-group-BO2__pxZ.js → radio-group-BpmJzTM1.js} +1 -1
  224. package/static/assets/radio-group-DqCmfTij.js +1 -0
  225. package/static/assets/{refresh-cw-DLJpfa8_.js → refresh-cw-CZLHY6zD.js} +1 -1
  226. package/static/assets/refresh-cw-yMcSYdEF.js +6 -0
  227. package/static/assets/{search-SRuczbr5.js → search-Cz2_2BkO.js} +1 -1
  228. package/static/assets/search-_5ueAoCg.js +6 -0
  229. package/static/assets/{select-D8HyxWyg.js → select-9YyUa5YH.js} +1 -1
  230. package/static/assets/select-BKdFrV6O.js +1 -0
  231. package/static/assets/{switch-Ck0OeSLk.js → switch-Bhm5em7I.js} +1 -1
  232. package/static/assets/switch-D7e1drXt.js +1 -0
  233. package/static/assets/{tabs-CmFe8eVW.js → tabs-oeAz0IIg.js} +1 -1
  234. package/static/assets/tabs-qMSIjEoX.js +1 -0
  235. package/static/assets/{tag-BTjGQC_2.js → tag-D5LBbacJ.js} +1 -1
  236. package/static/assets/tag-dBrNwRvH.js +6 -0
  237. package/static/assets/{terminal-preview-BkQIuk__.js → terminal-preview-BZXyNaM9.js} +1 -1
  238. package/static/assets/terminal-preview-C3WCC5tV.js +1 -0
  239. package/static/assets/{use-terminal-CrqBojgD.js → use-terminal-CSttRkql.js} +1 -1
  240. package/static/assets/use-terminal-FzuSKCnc.js +1 -0
  241. package/static/assets/{video-BlwRNgSo.js → video-D7SzAtAp.js} +1 -1
  242. package/static/assets/video-DKqt_ev6.js +36 -0
  243. package/static/index.html +1 -1
  244. package/static/assets/ResourcesPage-BK-EXoIA.js +0 -41
@@ -1 +1 @@
1
- import{r as i,a as k,bz as N,A as g,j as e,bD as b,I as P,B as C}from"./index-BWhM9fZn.js";import{C as F,b as w,c as T,d as L,a as D}from"./card-jBf8qQSy.js";import{L as o}from"./label-CHVVHrlr.js";import{S as h,a as u,b as m,c as f,d as a}from"./select-D8HyxWyg.js";import"./index-CdmUQF6-.js";import"./chevron-up-CcwaoTsZ.js";const r={theme:"coconut",defaultEditor:"cursor",terminalShell:"bash",autoSaveInterval:60,notifications:{email:!1,desktop:!1,slack:!1}};function V(s){return{theme:s?.theme??r.theme,defaultEditor:s?.defaultEditor??r.defaultEditor,terminalShell:s?.terminalShell??r.terminalShell,autoSaveInterval:s?.autoSaveInterval??r.autoSaveInterval,notifications:{email:s?.notifications?.email??r.notifications.email,desktop:s?.notifications?.desktop??r.notifications.desktop,slack:s?.notifications?.slack??r.notifications.slack}}}function O(){const[s,v]=i.useState(r),[y,E]=i.useState(!0),[c,x]=i.useState(!1),{toast:d}=k(),{theme:j,setTheme:p}=N();i.useEffect(()=>{S()},[]),i.useEffect(()=>{s.theme!==j&&p(s.theme)},[s.theme,j,p]);const S=async()=>{try{const l=await(await fetch(`${g}/api/v1/user/settings`)).json();l.success&&v(V(l.data.preferences))}catch(t){console.error("Failed to load preferences:",t),d({title:"Error",description:"Failed to load user preferences",variant:"destructive"})}finally{E(!1)}},I=async()=>{x(!0);try{const l=await(await fetch(`${g}/api/v1/user/settings`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({preferences:s})})).json();if(l.success)d({title:"Preferences saved",description:"Your personal preferences have been updated."});else throw new Error(l.error)}catch(t){console.error("Failed to save preferences:",t),d({title:"Error",description:"Failed to save preferences",variant:"destructive"})}finally{x(!1)}},n=t=>{v(l=>({...l,...t,notifications:{...l.notifications,...t.notifications}}))};return y?e.jsx("div",{children:"Loading..."}):e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-medium",children:"User Preferences"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Configure defaults for editors, shells, themes, and notifications."})]}),e.jsx(b,{}),e.jsxs(F,{children:[e.jsxs(w,{children:[e.jsx(T,{children:"Workspace Defaults"}),e.jsx(L,{children:"Set the defaults Coconut uses when creating sessions and surfaces."})]}),e.jsxs(D,{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(o,{htmlFor:"theme",children:"Theme"}),e.jsxs(h,{value:s.theme,onValueChange:t=>n({theme:t}),children:[e.jsx(u,{id:"theme",children:e.jsx(m,{placeholder:"Select theme"})}),e.jsxs(f,{children:[e.jsx(a,{value:"coconut",children:"Coconut"}),e.jsx(a,{value:"system",children:"System"}),e.jsx(a,{value:"light",children:"Light"}),e.jsx(a,{value:"dark",children:"Dark"})]})]}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"System follows your OS preference. Coconut is the default branded theme."})]}),e.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(o,{htmlFor:"defaultEditor",children:"Default Editor"}),e.jsxs(h,{value:s.defaultEditor,onValueChange:t=>n({defaultEditor:t}),children:[e.jsx(u,{id:"defaultEditor",children:e.jsx(m,{placeholder:"Select editor"})}),e.jsxs(f,{children:[e.jsx(a,{value:"cursor",children:"Cursor"}),e.jsx(a,{value:"vscode",children:"VS Code"}),e.jsx(a,{value:"vim",children:"Vim"}),e.jsx(a,{value:"emacs",children:"Emacs"})]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(o,{htmlFor:"terminalShell",children:"Preferred Shell"}),e.jsxs(h,{value:s.terminalShell,onValueChange:t=>n({terminalShell:t}),children:[e.jsx(u,{id:"terminalShell",children:e.jsx(m,{placeholder:"Select shell"})}),e.jsxs(f,{children:[e.jsx(a,{value:"bash",children:"Bash"}),e.jsx(a,{value:"zsh",children:"Zsh"}),e.jsx(a,{value:"fish",children:"Fish"}),e.jsx(a,{value:"sh",children:"sh"}),e.jsx(a,{value:"system",children:"System Default"})]})]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(o,{htmlFor:"autoSaveInterval",children:"Auto-save Interval (seconds)"}),e.jsx(P,{id:"autoSaveInterval",type:"number",min:10,max:600,value:s.autoSaveInterval,onChange:t=>n({autoSaveInterval:Number.parseInt(t.target.value,10)||r.autoSaveInterval})}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Controls how often Coconut persists draft work to disk."})]})]})]}),e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsx(C,{variant:"outline",onClick:S,disabled:c,children:"Reset"}),e.jsx(C,{onClick:I,disabled:c,children:c?"Saving...":"Save Preferences"})]})]})}export{O as default};
1
+ import{r as i,a as k,bz as N,A as g,j as e,bD as b,I as P,B as C}from"./index-opozMhku.js";import{C as F,b as w,c as T,d as L,a as D}from"./card-Btt3HmXT.js";import{L as o}from"./label-bMzKAcdZ.js";import{S as h,a as u,b as m,c as f,d as a}from"./select-9YyUa5YH.js";import"./index-J8MrpD0P.js";import"./chevron-up-gnoSEbf_.js";const r={theme:"coconut",defaultEditor:"cursor",terminalShell:"bash",autoSaveInterval:60,notifications:{email:!1,desktop:!1,slack:!1}};function V(s){return{theme:s?.theme??r.theme,defaultEditor:s?.defaultEditor??r.defaultEditor,terminalShell:s?.terminalShell??r.terminalShell,autoSaveInterval:s?.autoSaveInterval??r.autoSaveInterval,notifications:{email:s?.notifications?.email??r.notifications.email,desktop:s?.notifications?.desktop??r.notifications.desktop,slack:s?.notifications?.slack??r.notifications.slack}}}function O(){const[s,v]=i.useState(r),[y,E]=i.useState(!0),[c,x]=i.useState(!1),{toast:d}=k(),{theme:j,setTheme:p}=N();i.useEffect(()=>{S()},[]),i.useEffect(()=>{s.theme!==j&&p(s.theme)},[s.theme,j,p]);const S=async()=>{try{const l=await(await fetch(`${g}/api/v1/user/settings`)).json();l.success&&v(V(l.data.preferences))}catch(t){console.error("Failed to load preferences:",t),d({title:"Error",description:"Failed to load user preferences",variant:"destructive"})}finally{E(!1)}},I=async()=>{x(!0);try{const l=await(await fetch(`${g}/api/v1/user/settings`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({preferences:s})})).json();if(l.success)d({title:"Preferences saved",description:"Your personal preferences have been updated."});else throw new Error(l.error)}catch(t){console.error("Failed to save preferences:",t),d({title:"Error",description:"Failed to save preferences",variant:"destructive"})}finally{x(!1)}},n=t=>{v(l=>({...l,...t,notifications:{...l.notifications,...t.notifications}}))};return y?e.jsx("div",{children:"Loading..."}):e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-medium",children:"User Preferences"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Configure defaults for editors, shells, themes, and notifications."})]}),e.jsx(b,{}),e.jsxs(F,{children:[e.jsxs(w,{children:[e.jsx(T,{children:"Workspace Defaults"}),e.jsx(L,{children:"Set the defaults Coconut uses when creating sessions and surfaces."})]}),e.jsxs(D,{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(o,{htmlFor:"theme",children:"Theme"}),e.jsxs(h,{value:s.theme,onValueChange:t=>n({theme:t}),children:[e.jsx(u,{id:"theme",children:e.jsx(m,{placeholder:"Select theme"})}),e.jsxs(f,{children:[e.jsx(a,{value:"coconut",children:"Coconut"}),e.jsx(a,{value:"system",children:"System"}),e.jsx(a,{value:"light",children:"Light"}),e.jsx(a,{value:"dark",children:"Dark"})]})]}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"System follows your OS preference. Coconut is the default branded theme."})]}),e.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(o,{htmlFor:"defaultEditor",children:"Default Editor"}),e.jsxs(h,{value:s.defaultEditor,onValueChange:t=>n({defaultEditor:t}),children:[e.jsx(u,{id:"defaultEditor",children:e.jsx(m,{placeholder:"Select editor"})}),e.jsxs(f,{children:[e.jsx(a,{value:"cursor",children:"Cursor"}),e.jsx(a,{value:"vscode",children:"VS Code"}),e.jsx(a,{value:"vim",children:"Vim"}),e.jsx(a,{value:"emacs",children:"Emacs"})]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(o,{htmlFor:"terminalShell",children:"Preferred Shell"}),e.jsxs(h,{value:s.terminalShell,onValueChange:t=>n({terminalShell:t}),children:[e.jsx(u,{id:"terminalShell",children:e.jsx(m,{placeholder:"Select shell"})}),e.jsxs(f,{children:[e.jsx(a,{value:"bash",children:"Bash"}),e.jsx(a,{value:"zsh",children:"Zsh"}),e.jsx(a,{value:"fish",children:"Fish"}),e.jsx(a,{value:"sh",children:"sh"}),e.jsx(a,{value:"system",children:"System Default"})]})]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(o,{htmlFor:"autoSaveInterval",children:"Auto-save Interval (seconds)"}),e.jsx(P,{id:"autoSaveInterval",type:"number",min:10,max:600,value:s.autoSaveInterval,onChange:t=>n({autoSaveInterval:Number.parseInt(t.target.value,10)||r.autoSaveInterval})}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Controls how often Coconut persists draft work to disk."})]})]})]}),e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsx(C,{variant:"outline",onClick:S,disabled:c,children:"Reset"}),e.jsx(C,{onClick:I,disabled:c,children:c?"Saving...":"Save Preferences"})]})]})}export{O as default};
@@ -0,0 +1 @@
1
+ import{r as i,a as k,bz as N,A as g,j as e,bD as b,I as P,B as C}from"./index-C_KCaLlP.js";import{C as F,b as w,c as T,d as L,a as D}from"./card-BpqK1BMM.js";import{L as o}from"./label-wtSCiOqT.js";import{S as h,a as u,b as m,c as f,d as a}from"./select-BKdFrV6O.js";import"./index-PBkZiuRI.js";import"./chevron-up-DaWWwb87.js";const r={theme:"coconut",defaultEditor:"cursor",terminalShell:"bash",autoSaveInterval:60,notifications:{email:!1,desktop:!1,slack:!1}};function V(s){return{theme:s?.theme??r.theme,defaultEditor:s?.defaultEditor??r.defaultEditor,terminalShell:s?.terminalShell??r.terminalShell,autoSaveInterval:s?.autoSaveInterval??r.autoSaveInterval,notifications:{email:s?.notifications?.email??r.notifications.email,desktop:s?.notifications?.desktop??r.notifications.desktop,slack:s?.notifications?.slack??r.notifications.slack}}}function O(){const[s,v]=i.useState(r),[y,E]=i.useState(!0),[c,x]=i.useState(!1),{toast:d}=k(),{theme:j,setTheme:p}=N();i.useEffect(()=>{S()},[]),i.useEffect(()=>{s.theme!==j&&p(s.theme)},[s.theme,j,p]);const S=async()=>{try{const l=await(await fetch(`${g}/api/v1/user/settings`)).json();l.success&&v(V(l.data.preferences))}catch(t){console.error("Failed to load preferences:",t),d({title:"Error",description:"Failed to load user preferences",variant:"destructive"})}finally{E(!1)}},I=async()=>{x(!0);try{const l=await(await fetch(`${g}/api/v1/user/settings`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({preferences:s})})).json();if(l.success)d({title:"Preferences saved",description:"Your personal preferences have been updated."});else throw new Error(l.error)}catch(t){console.error("Failed to save preferences:",t),d({title:"Error",description:"Failed to save preferences",variant:"destructive"})}finally{x(!1)}},n=t=>{v(l=>({...l,...t,notifications:{...l.notifications,...t.notifications}}))};return y?e.jsx("div",{children:"Loading..."}):e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-medium",children:"User Preferences"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Configure defaults for editors, shells, themes, and notifications."})]}),e.jsx(b,{}),e.jsxs(F,{children:[e.jsxs(w,{children:[e.jsx(T,{children:"Workspace Defaults"}),e.jsx(L,{children:"Set the defaults Coconut uses when creating sessions and surfaces."})]}),e.jsxs(D,{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(o,{htmlFor:"theme",children:"Theme"}),e.jsxs(h,{value:s.theme,onValueChange:t=>n({theme:t}),children:[e.jsx(u,{id:"theme",children:e.jsx(m,{placeholder:"Select theme"})}),e.jsxs(f,{children:[e.jsx(a,{value:"coconut",children:"Coconut"}),e.jsx(a,{value:"system",children:"System"}),e.jsx(a,{value:"light",children:"Light"}),e.jsx(a,{value:"dark",children:"Dark"})]})]}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"System follows your OS preference. Coconut is the default branded theme."})]}),e.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(o,{htmlFor:"defaultEditor",children:"Default Editor"}),e.jsxs(h,{value:s.defaultEditor,onValueChange:t=>n({defaultEditor:t}),children:[e.jsx(u,{id:"defaultEditor",children:e.jsx(m,{placeholder:"Select editor"})}),e.jsxs(f,{children:[e.jsx(a,{value:"cursor",children:"Cursor"}),e.jsx(a,{value:"vscode",children:"VS Code"}),e.jsx(a,{value:"vim",children:"Vim"}),e.jsx(a,{value:"emacs",children:"Emacs"})]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(o,{htmlFor:"terminalShell",children:"Preferred Shell"}),e.jsxs(h,{value:s.terminalShell,onValueChange:t=>n({terminalShell:t}),children:[e.jsx(u,{id:"terminalShell",children:e.jsx(m,{placeholder:"Select shell"})}),e.jsxs(f,{children:[e.jsx(a,{value:"bash",children:"Bash"}),e.jsx(a,{value:"zsh",children:"Zsh"}),e.jsx(a,{value:"fish",children:"Fish"}),e.jsx(a,{value:"sh",children:"sh"}),e.jsx(a,{value:"system",children:"System Default"})]})]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(o,{htmlFor:"autoSaveInterval",children:"Auto-save Interval (seconds)"}),e.jsx(P,{id:"autoSaveInterval",type:"number",min:10,max:600,value:s.autoSaveInterval,onChange:t=>n({autoSaveInterval:Number.parseInt(t.target.value,10)||r.autoSaveInterval})}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Controls how often Coconut persists draft work to disk."})]})]})]}),e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsx(C,{variant:"outline",onClick:S,disabled:c,children:"Reset"}),e.jsx(C,{onClick:I,disabled:c,children:c?"Saving...":"Save Preferences"})]})]})}export{O as default};
@@ -1 +1 @@
1
- import{r as i,a as S,A as j,j as e,bD as b,B as m,I as u,L as w}from"./index-BWhM9fZn.js";import{C as E,b as I,c as F,d as L,a as D}from"./card-jBf8qQSy.js";import{L as h}from"./label-CHVVHrlr.js";import{C as k,a as P}from"./clipboard-JQLlAwqS.js";function B(){const[r,l]=i.useState({}),[o,c]=i.useState(null),[f,p]=i.useState(!1),[v,C]=i.useState(!0),[d,x]=i.useState(!1),{toast:n}=S();i.useEffect(()=>{g()},[]);const g=async()=>{try{try{const t=await fetch(`${j}/api/v1/config`),s=await t.json();if(t.ok&&s?.success){const a=s.data?.coconut||{};c(a.id??null),(a.firstName||a.lastName||a.email)&&l({firstName:a.firstName,lastName:a.lastName,email:a.email})}else c(null)}catch(t){console.error("Failed to load coconut config:",t),c(null)}}catch(t){console.error("Failed to load settings:",t),n({title:"Error",description:"Failed to load user settings",variant:"destructive"})}finally{C(!1)}},N=async()=>{x(!0);try{const s=await(await fetch(`${j}/api/v1/config`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({coconut:{...r,id:o||void 0}})})).json();if(s.success)window.dispatchEvent(new CustomEvent("config-updated")),n({title:"Success",description:"Settings saved successfully"});else throw new Error(s.error||"Failed to save settings")}catch(t){console.error("Failed to save settings:",t),n({title:"Error",description:"Failed to save settings",variant:"destructive"})}finally{x(!1)}},y=async()=>{if(o)try{await navigator.clipboard.writeText(o),p(!0),n({title:"Copied",description:"Coconut ID copied to clipboard."}),setTimeout(()=>p(!1),1500)}catch(t){console.error("Failed to copy coconut ID:",t),n({title:"Copy failed",description:"Unable to copy the Coconut ID to the clipboard.",variant:"destructive"})}};return v?e.jsx("div",{children:"Loading..."}):e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-medium",children:"Coconut Settings"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Manage the Coconut's profile information."})]}),e.jsx(b,{}),e.jsx("div",{className:"rounded-lg border border-dashed bg-muted/40 p-4",children:o?e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx("h4",{className:"text-sm font-medium text-muted-foreground",children:"Coconut ID"}),e.jsx("p",{className:"mt-1 font-mono text-sm",children:o})]}),e.jsxs(m,{variant:"outline",size:"sm",onClick:y,children:[f?e.jsx(k,{className:"h-4 w-4"}):e.jsx(P,{className:"h-4 w-4"}),e.jsx("span",{className:"ml-2",children:f?"Copied":"Copy"})]})]}):e.jsxs("div",{className:"space-y-1",children:[e.jsx("h4",{className:"text-sm font-medium text-muted-foreground",children:"Coconut ID not configured"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Add an `id` under the `coconut` section in `.nut/config.json` to register this Coconut instance."})]})}),e.jsxs(E,{children:[e.jsxs(I,{children:[e.jsx(F,{children:"Coconut Profile"}),e.jsx(L,{children:"Update the Coconut's identifying details."})]}),e.jsxs(D,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(h,{htmlFor:"firstName",children:"First Name"}),e.jsx(u,{id:"firstName",value:r.firstName||"",onChange:t=>l(s=>({...s,firstName:t.target.value})),placeholder:"Enter first name"})]}),e.jsxs("div",{children:[e.jsx(h,{htmlFor:"lastName",children:"Last Name"}),e.jsx(u,{id:"lastName",value:r.lastName||"",onChange:t=>l(s=>({...s,lastName:t.target.value})),placeholder:"Enter last name"})]})]}),e.jsxs("div",{children:[e.jsx(h,{htmlFor:"email",children:"Email"}),e.jsx(u,{id:"email",type:"email",value:r.email||"",onChange:t=>l(s=>({...s,email:t.target.value})),placeholder:"Enter email address"})]})]})]}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:["You can also manage the Coconut's identity to other agents on the"," ",e.jsx(w,{to:"/identity",className:"underline underline-offset-4 hover:text-primary",children:"Identity page"}),"."]}),e.jsxs("div",{className:"flex justify-end space-x-2",children:[e.jsx(m,{variant:"outline",onClick:g,disabled:d,children:"Cancel"}),e.jsx(m,{onClick:N,disabled:d,children:d?"Saving...":"Save Changes"})]})]})}export{B as default};
1
+ import{r as i,a as S,A as j,j as e,bD as b,B as m,I as u,L as w}from"./index-opozMhku.js";import{C as E,b as I,c as F,d as L,a as D}from"./card-Btt3HmXT.js";import{L as h}from"./label-bMzKAcdZ.js";import{C as k,a as P}from"./clipboard-C-VV2jbC.js";function B(){const[r,l]=i.useState({}),[o,c]=i.useState(null),[f,p]=i.useState(!1),[v,C]=i.useState(!0),[d,x]=i.useState(!1),{toast:n}=S();i.useEffect(()=>{g()},[]);const g=async()=>{try{try{const t=await fetch(`${j}/api/v1/config`),s=await t.json();if(t.ok&&s?.success){const a=s.data?.coconut||{};c(a.id??null),(a.firstName||a.lastName||a.email)&&l({firstName:a.firstName,lastName:a.lastName,email:a.email})}else c(null)}catch(t){console.error("Failed to load coconut config:",t),c(null)}}catch(t){console.error("Failed to load settings:",t),n({title:"Error",description:"Failed to load user settings",variant:"destructive"})}finally{C(!1)}},N=async()=>{x(!0);try{const s=await(await fetch(`${j}/api/v1/config`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({coconut:{...r,id:o||void 0}})})).json();if(s.success)window.dispatchEvent(new CustomEvent("config-updated")),n({title:"Success",description:"Settings saved successfully"});else throw new Error(s.error||"Failed to save settings")}catch(t){console.error("Failed to save settings:",t),n({title:"Error",description:"Failed to save settings",variant:"destructive"})}finally{x(!1)}},y=async()=>{if(o)try{await navigator.clipboard.writeText(o),p(!0),n({title:"Copied",description:"Coconut ID copied to clipboard."}),setTimeout(()=>p(!1),1500)}catch(t){console.error("Failed to copy coconut ID:",t),n({title:"Copy failed",description:"Unable to copy the Coconut ID to the clipboard.",variant:"destructive"})}};return v?e.jsx("div",{children:"Loading..."}):e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-medium",children:"Coconut Settings"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Manage the Coconut's profile information."})]}),e.jsx(b,{}),e.jsx("div",{className:"rounded-lg border border-dashed bg-muted/40 p-4",children:o?e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx("h4",{className:"text-sm font-medium text-muted-foreground",children:"Coconut ID"}),e.jsx("p",{className:"mt-1 font-mono text-sm",children:o})]}),e.jsxs(m,{variant:"outline",size:"sm",onClick:y,children:[f?e.jsx(k,{className:"h-4 w-4"}):e.jsx(P,{className:"h-4 w-4"}),e.jsx("span",{className:"ml-2",children:f?"Copied":"Copy"})]})]}):e.jsxs("div",{className:"space-y-1",children:[e.jsx("h4",{className:"text-sm font-medium text-muted-foreground",children:"Coconut ID not configured"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Add an `id` under the `coconut` section in `.nut/config.json` to register this Coconut instance."})]})}),e.jsxs(E,{children:[e.jsxs(I,{children:[e.jsx(F,{children:"Coconut Profile"}),e.jsx(L,{children:"Update the Coconut's identifying details."})]}),e.jsxs(D,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(h,{htmlFor:"firstName",children:"First Name"}),e.jsx(u,{id:"firstName",value:r.firstName||"",onChange:t=>l(s=>({...s,firstName:t.target.value})),placeholder:"Enter first name"})]}),e.jsxs("div",{children:[e.jsx(h,{htmlFor:"lastName",children:"Last Name"}),e.jsx(u,{id:"lastName",value:r.lastName||"",onChange:t=>l(s=>({...s,lastName:t.target.value})),placeholder:"Enter last name"})]})]}),e.jsxs("div",{children:[e.jsx(h,{htmlFor:"email",children:"Email"}),e.jsx(u,{id:"email",type:"email",value:r.email||"",onChange:t=>l(s=>({...s,email:t.target.value})),placeholder:"Enter email address"})]})]})]}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:["You can also manage the Coconut's identity to other agents on the"," ",e.jsx(w,{to:"/identity",className:"underline underline-offset-4 hover:text-primary",children:"Identity page"}),"."]}),e.jsxs("div",{className:"flex justify-end space-x-2",children:[e.jsx(m,{variant:"outline",onClick:g,disabled:d,children:"Cancel"}),e.jsx(m,{onClick:N,disabled:d,children:d?"Saving...":"Save Changes"})]})]})}export{B as default};
@@ -0,0 +1 @@
1
+ import{r as i,a as S,A as j,j as e,bD as b,B as m,I as u,L as w}from"./index-C_KCaLlP.js";import{C as E,b as I,c as F,d as L,a as D}from"./card-BpqK1BMM.js";import{L as h}from"./label-wtSCiOqT.js";import{C as k,a as P}from"./clipboard-CqRqQoij.js";function B(){const[r,l]=i.useState({}),[o,c]=i.useState(null),[f,p]=i.useState(!1),[v,C]=i.useState(!0),[d,x]=i.useState(!1),{toast:n}=S();i.useEffect(()=>{g()},[]);const g=async()=>{try{try{const t=await fetch(`${j}/api/v1/config`),s=await t.json();if(t.ok&&s?.success){const a=s.data?.coconut||{};c(a.id??null),(a.firstName||a.lastName||a.email)&&l({firstName:a.firstName,lastName:a.lastName,email:a.email})}else c(null)}catch(t){console.error("Failed to load coconut config:",t),c(null)}}catch(t){console.error("Failed to load settings:",t),n({title:"Error",description:"Failed to load user settings",variant:"destructive"})}finally{C(!1)}},N=async()=>{x(!0);try{const s=await(await fetch(`${j}/api/v1/config`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({coconut:{...r,id:o||void 0}})})).json();if(s.success)window.dispatchEvent(new CustomEvent("config-updated")),n({title:"Success",description:"Settings saved successfully"});else throw new Error(s.error||"Failed to save settings")}catch(t){console.error("Failed to save settings:",t),n({title:"Error",description:"Failed to save settings",variant:"destructive"})}finally{x(!1)}},y=async()=>{if(o)try{await navigator.clipboard.writeText(o),p(!0),n({title:"Copied",description:"Coconut ID copied to clipboard."}),setTimeout(()=>p(!1),1500)}catch(t){console.error("Failed to copy coconut ID:",t),n({title:"Copy failed",description:"Unable to copy the Coconut ID to the clipboard.",variant:"destructive"})}};return v?e.jsx("div",{children:"Loading..."}):e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-medium",children:"Coconut Settings"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Manage the Coconut's profile information."})]}),e.jsx(b,{}),e.jsx("div",{className:"rounded-lg border border-dashed bg-muted/40 p-4",children:o?e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx("h4",{className:"text-sm font-medium text-muted-foreground",children:"Coconut ID"}),e.jsx("p",{className:"mt-1 font-mono text-sm",children:o})]}),e.jsxs(m,{variant:"outline",size:"sm",onClick:y,children:[f?e.jsx(k,{className:"h-4 w-4"}):e.jsx(P,{className:"h-4 w-4"}),e.jsx("span",{className:"ml-2",children:f?"Copied":"Copy"})]})]}):e.jsxs("div",{className:"space-y-1",children:[e.jsx("h4",{className:"text-sm font-medium text-muted-foreground",children:"Coconut ID not configured"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Add an `id` under the `coconut` section in `.nut/config.json` to register this Coconut instance."})]})}),e.jsxs(E,{children:[e.jsxs(I,{children:[e.jsx(F,{children:"Coconut Profile"}),e.jsx(L,{children:"Update the Coconut's identifying details."})]}),e.jsxs(D,{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(h,{htmlFor:"firstName",children:"First Name"}),e.jsx(u,{id:"firstName",value:r.firstName||"",onChange:t=>l(s=>({...s,firstName:t.target.value})),placeholder:"Enter first name"})]}),e.jsxs("div",{children:[e.jsx(h,{htmlFor:"lastName",children:"Last Name"}),e.jsx(u,{id:"lastName",value:r.lastName||"",onChange:t=>l(s=>({...s,lastName:t.target.value})),placeholder:"Enter last name"})]})]}),e.jsxs("div",{children:[e.jsx(h,{htmlFor:"email",children:"Email"}),e.jsx(u,{id:"email",type:"email",value:r.email||"",onChange:t=>l(s=>({...s,email:t.target.value})),placeholder:"Enter email address"})]})]})]}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:["You can also manage the Coconut's identity to other agents on the"," ",e.jsx(w,{to:"/identity",className:"underline underline-offset-4 hover:text-primary",children:"Identity page"}),"."]}),e.jsxs("div",{className:"flex justify-end space-x-2",children:[e.jsx(m,{variant:"outline",onClick:g,disabled:d,children:"Cancel"}),e.jsx(m,{onClick:N,disabled:d,children:d?"Saving...":"Save Changes"})]})]})}export{B as default};
@@ -1 +1 @@
1
- import{u as L,a as F,r as n,A as C,j as s,B as m,v as b,a1 as M,I,H as Q,P as R,ac as W,a2 as q}from"./index-BWhM9fZn.js";import{C as G,a as K}from"./card-jBf8qQSy.js";import{u as V}from"./use-terminal-CrqBojgD.js";import{C as X}from"./circle-play-CQ-UItmT.js";import{P as Y}from"./play-BTA0gBuh.js";function A(){return`script-${Date.now()}-${Math.floor(Math.random()*1e3)}`}function T(o){return Object.entries(o).map(([l,c])=>({id:A(),name:l,command:c}))}function $(o){const l={};for(const c of o){const x=c.name.trim();x&&(l[x]=c.command)}return l}function ns(){const o=L(),{loading:l,createSession:c,refreshSessions:x}=V(),{toast:r}=F(),[O,h]=n.useState(!1),[P,p]=n.useState(!1),[g,j]=n.useState(!1),[B,D]=n.useState(!0),[d,u]=n.useState([]),[E,v]=n.useState({}),[,N]=n.useState([]),_=JSON.stringify($(d))!==JSON.stringify(E);n.useEffect(()=>{try{const e=localStorage.getItem("terminal.commandHistory");e&&N(JSON.parse(e))}catch{}},[]),n.useEffect(()=>{(async()=>{try{const t=await fetch(`${C}/api/v1/config`);if(!t.ok)return;const i=(await t.json())?.data?.scripts||{};v(i),u(T(i))}catch{}finally{D(!1)}})()},[]);const y=e=>{e&&N(t=>{const a=[e,...t.filter(i=>i!==e)].slice(0,5);try{localStorage.setItem("terminal.commandHistory",JSON.stringify(a))}catch{}return a})},z=n.useCallback(async()=>{const e=$(d),t=d.filter(a=>!a.name.trim()&&!a.command.trim()).length;j(!0);try{if(!(await fetch(`${C}/api/v1/config`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({scripts:e})})).ok)throw new Error("Save failed");v(e),u(T(e)),r({title:"Scripts saved",description:t>0?`${t} blank row${t>1?"s":""} removed`:void 0})}catch{r({title:"Failed to save scripts",variant:"destructive"})}finally{j(!1)}},[d,r]),S=()=>{u(e=>[...e,{id:A(),name:"",command:""}])},k=(e,t,a)=>{u(i=>i.map(f=>f.id===e?{...f,[t]:a}:f))},H=e=>{u(t=>t.filter(a=>a.id!==e))},J=async e=>{const t=(e||"").trim();if(!t)return;const a=`session-${Date.now()}`;h(!0);try{await c(a,t)?(y(t),r({title:"Session started",description:a}),o(`/terminal/${a}`)):r({title:"Failed to start",variant:"destructive"})}finally{h(!1)}},U=async e=>{const t=(e||"").trim();if(!t)return;const a=`session-${Date.now()}`;p(!0);try{await c(a,t)?(y(t),setTimeout(()=>x(),150),r({title:"Started in background",description:a,action:s.jsx(q,{altText:"Open session",onClick:()=>o(`/terminal/${a}`),children:"Open"})})):r({title:"Failed to start",variant:"destructive"})}finally{p(!1)}},w=l||O||P;return s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-2xl font-bold tracking-tight",children:"Utilities"}),s.jsx("p",{className:"text-muted-foreground",children:"Quick commands and shortcuts"})]}),s.jsx("div",{className:"flex items-center gap-2",children:_&&s.jsxs(m,{onClick:z,disabled:g,size:"sm",children:[g?s.jsx(b,{className:"h-4 w-4 mr-1 animate-spin"}):s.jsx(M,{className:"h-4 w-4 mr-1"}),"Save"]})})]}),s.jsxs("div",{className:"space-y-4",children:[s.jsx("h2",{className:"text-lg font-semibold",children:"Scripts"}),s.jsx(G,{children:s.jsx(K,{className:"pt-6",children:B?s.jsx("div",{className:"flex items-center justify-center py-8",children:s.jsx(b,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):d.length>0?s.jsxs("div",{className:"space-y-2",children:[s.jsxs("div",{className:"hidden sm:grid sm:grid-cols-[1fr_2fr_auto] gap-2 px-2 pb-1",children:[s.jsx("span",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide",children:"Name"}),s.jsx("span",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide",children:"Command"}),s.jsx("span",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide w-[200px]",children:"Actions"})]}),s.jsx("div",{className:"rounded-md border divide-y",children:d.map(e=>s.jsxs("div",{className:"flex flex-col sm:grid sm:grid-cols-[1fr_2fr_auto] gap-2 p-2 items-start sm:items-center",children:[s.jsx(I,{value:e.name,onChange:t=>k(e.id,"name",t.target.value),placeholder:"script name",className:"h-8 text-sm font-medium"}),s.jsx(I,{value:e.command,onChange:t=>k(e.id,"command",t.target.value),placeholder:"command to run",className:"h-8 text-sm font-mono"}),s.jsxs("div",{className:"flex items-center gap-1 flex-shrink-0",children:[s.jsxs(m,{onClick:()=>U(e.command),variant:"secondary",size:"sm",disabled:w||!e.command.trim(),title:"Run in background",children:[s.jsx(X,{className:"h-4 w-4 sm:mr-1"}),s.jsx("span",{className:"hidden sm:inline",children:"Background"})]}),s.jsxs(m,{onClick:()=>J(e.command),size:"sm",disabled:w||!e.command.trim(),title:"Run",children:[s.jsx(Y,{className:"h-4 w-4 sm:mr-1"}),s.jsx("span",{className:"hidden sm:inline",children:"Run"})]}),s.jsx(m,{onClick:()=>H(e.id),variant:"ghost",size:"sm",title:"Remove script",children:s.jsx(Q,{className:"h-4 w-4"})})]})]},e.id))}),s.jsxs(m,{variant:"outline",size:"sm",onClick:S,className:"mt-2",children:[s.jsx(R,{className:"h-4 w-4 mr-1"}),"Add Script"]})]}):s.jsxs("div",{className:"flex flex-col items-center justify-center text-center space-y-3 py-8",children:[s.jsx(W,{className:"h-12 w-12 text-muted-foreground"}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-lg mb-2",children:"No scripts configured"}),s.jsx("p",{className:"text-sm text-muted-foreground max-w-md leading-relaxed",children:"Scripts let you run common tasks with one click, like starting your development server or running build commands."})]}),s.jsxs(m,{variant:"outline",onClick:S,children:[s.jsx(R,{className:"h-4 w-4 mr-1"}),"Add Script"]})]})})})]})]})}export{ns as default};
1
+ import{u as L,a as F,r as n,A as C,j as s,B as m,v as b,a1 as M,I,H as Q,P as R,ac as W,a2 as q}from"./index-C_KCaLlP.js";import{C as G,a as K}from"./card-BpqK1BMM.js";import{u as V}from"./use-terminal-FzuSKCnc.js";import{C as X}from"./circle-play-DoomwgYb.js";import{P as Y}from"./play-BjDbhEcg.js";function A(){return`script-${Date.now()}-${Math.floor(Math.random()*1e3)}`}function T(o){return Object.entries(o).map(([l,c])=>({id:A(),name:l,command:c}))}function $(o){const l={};for(const c of o){const x=c.name.trim();x&&(l[x]=c.command)}return l}function ns(){const o=L(),{loading:l,createSession:c,refreshSessions:x}=V(),{toast:r}=F(),[O,h]=n.useState(!1),[P,p]=n.useState(!1),[g,j]=n.useState(!1),[B,D]=n.useState(!0),[d,u]=n.useState([]),[E,v]=n.useState({}),[,N]=n.useState([]),_=JSON.stringify($(d))!==JSON.stringify(E);n.useEffect(()=>{try{const e=localStorage.getItem("terminal.commandHistory");e&&N(JSON.parse(e))}catch{}},[]),n.useEffect(()=>{(async()=>{try{const t=await fetch(`${C}/api/v1/config`);if(!t.ok)return;const i=(await t.json())?.data?.scripts||{};v(i),u(T(i))}catch{}finally{D(!1)}})()},[]);const y=e=>{e&&N(t=>{const a=[e,...t.filter(i=>i!==e)].slice(0,5);try{localStorage.setItem("terminal.commandHistory",JSON.stringify(a))}catch{}return a})},z=n.useCallback(async()=>{const e=$(d),t=d.filter(a=>!a.name.trim()&&!a.command.trim()).length;j(!0);try{if(!(await fetch(`${C}/api/v1/config`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({scripts:e})})).ok)throw new Error("Save failed");v(e),u(T(e)),r({title:"Scripts saved",description:t>0?`${t} blank row${t>1?"s":""} removed`:void 0})}catch{r({title:"Failed to save scripts",variant:"destructive"})}finally{j(!1)}},[d,r]),S=()=>{u(e=>[...e,{id:A(),name:"",command:""}])},k=(e,t,a)=>{u(i=>i.map(f=>f.id===e?{...f,[t]:a}:f))},H=e=>{u(t=>t.filter(a=>a.id!==e))},J=async e=>{const t=(e||"").trim();if(!t)return;const a=`session-${Date.now()}`;h(!0);try{await c(a,t)?(y(t),r({title:"Session started",description:a}),o(`/terminal/${a}`)):r({title:"Failed to start",variant:"destructive"})}finally{h(!1)}},U=async e=>{const t=(e||"").trim();if(!t)return;const a=`session-${Date.now()}`;p(!0);try{await c(a,t)?(y(t),setTimeout(()=>x(),150),r({title:"Started in background",description:a,action:s.jsx(q,{altText:"Open session",onClick:()=>o(`/terminal/${a}`),children:"Open"})})):r({title:"Failed to start",variant:"destructive"})}finally{p(!1)}},w=l||O||P;return s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-2xl font-bold tracking-tight",children:"Utilities"}),s.jsx("p",{className:"text-muted-foreground",children:"Quick commands and shortcuts"})]}),s.jsx("div",{className:"flex items-center gap-2",children:_&&s.jsxs(m,{onClick:z,disabled:g,size:"sm",children:[g?s.jsx(b,{className:"h-4 w-4 mr-1 animate-spin"}):s.jsx(M,{className:"h-4 w-4 mr-1"}),"Save"]})})]}),s.jsxs("div",{className:"space-y-4",children:[s.jsx("h2",{className:"text-lg font-semibold",children:"Scripts"}),s.jsx(G,{children:s.jsx(K,{className:"pt-6",children:B?s.jsx("div",{className:"flex items-center justify-center py-8",children:s.jsx(b,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):d.length>0?s.jsxs("div",{className:"space-y-2",children:[s.jsxs("div",{className:"hidden sm:grid sm:grid-cols-[1fr_2fr_auto] gap-2 px-2 pb-1",children:[s.jsx("span",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide",children:"Name"}),s.jsx("span",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide",children:"Command"}),s.jsx("span",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide w-[200px]",children:"Actions"})]}),s.jsx("div",{className:"rounded-md border divide-y",children:d.map(e=>s.jsxs("div",{className:"flex flex-col sm:grid sm:grid-cols-[1fr_2fr_auto] gap-2 p-2 items-start sm:items-center",children:[s.jsx(I,{value:e.name,onChange:t=>k(e.id,"name",t.target.value),placeholder:"script name",className:"h-8 text-sm font-medium"}),s.jsx(I,{value:e.command,onChange:t=>k(e.id,"command",t.target.value),placeholder:"command to run",className:"h-8 text-sm font-mono"}),s.jsxs("div",{className:"flex items-center gap-1 flex-shrink-0",children:[s.jsxs(m,{onClick:()=>U(e.command),variant:"secondary",size:"sm",disabled:w||!e.command.trim(),title:"Run in background",children:[s.jsx(X,{className:"h-4 w-4 sm:mr-1"}),s.jsx("span",{className:"hidden sm:inline",children:"Background"})]}),s.jsxs(m,{onClick:()=>J(e.command),size:"sm",disabled:w||!e.command.trim(),title:"Run",children:[s.jsx(Y,{className:"h-4 w-4 sm:mr-1"}),s.jsx("span",{className:"hidden sm:inline",children:"Run"})]}),s.jsx(m,{onClick:()=>H(e.id),variant:"ghost",size:"sm",title:"Remove script",children:s.jsx(Q,{className:"h-4 w-4"})})]})]},e.id))}),s.jsxs(m,{variant:"outline",size:"sm",onClick:S,className:"mt-2",children:[s.jsx(R,{className:"h-4 w-4 mr-1"}),"Add Script"]})]}):s.jsxs("div",{className:"flex flex-col items-center justify-center text-center space-y-3 py-8",children:[s.jsx(W,{className:"h-12 w-12 text-muted-foreground"}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-lg mb-2",children:"No scripts configured"}),s.jsx("p",{className:"text-sm text-muted-foreground max-w-md leading-relaxed",children:"Scripts let you run common tasks with one click, like starting your development server or running build commands."})]}),s.jsxs(m,{variant:"outline",onClick:S,children:[s.jsx(R,{className:"h-4 w-4 mr-1"}),"Add Script"]})]})})})]})]})}export{ns as default};
@@ -0,0 +1 @@
1
+ import{u as L,a as F,r as n,A as C,j as s,B as m,v as b,a1 as M,I,H as Q,P as R,ac as W,a2 as q}from"./index-opozMhku.js";import{C as G,a as K}from"./card-Btt3HmXT.js";import{u as V}from"./use-terminal-CSttRkql.js";import{C as X}from"./circle-play-COMPwZ00.js";import{P as Y}from"./play-CQk31OJN.js";function A(){return`script-${Date.now()}-${Math.floor(Math.random()*1e3)}`}function T(o){return Object.entries(o).map(([l,c])=>({id:A(),name:l,command:c}))}function $(o){const l={};for(const c of o){const x=c.name.trim();x&&(l[x]=c.command)}return l}function ns(){const o=L(),{loading:l,createSession:c,refreshSessions:x}=V(),{toast:r}=F(),[O,h]=n.useState(!1),[P,p]=n.useState(!1),[g,j]=n.useState(!1),[B,D]=n.useState(!0),[d,u]=n.useState([]),[E,v]=n.useState({}),[,N]=n.useState([]),_=JSON.stringify($(d))!==JSON.stringify(E);n.useEffect(()=>{try{const e=localStorage.getItem("terminal.commandHistory");e&&N(JSON.parse(e))}catch{}},[]),n.useEffect(()=>{(async()=>{try{const t=await fetch(`${C}/api/v1/config`);if(!t.ok)return;const i=(await t.json())?.data?.scripts||{};v(i),u(T(i))}catch{}finally{D(!1)}})()},[]);const y=e=>{e&&N(t=>{const a=[e,...t.filter(i=>i!==e)].slice(0,5);try{localStorage.setItem("terminal.commandHistory",JSON.stringify(a))}catch{}return a})},z=n.useCallback(async()=>{const e=$(d),t=d.filter(a=>!a.name.trim()&&!a.command.trim()).length;j(!0);try{if(!(await fetch(`${C}/api/v1/config`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({scripts:e})})).ok)throw new Error("Save failed");v(e),u(T(e)),r({title:"Scripts saved",description:t>0?`${t} blank row${t>1?"s":""} removed`:void 0})}catch{r({title:"Failed to save scripts",variant:"destructive"})}finally{j(!1)}},[d,r]),S=()=>{u(e=>[...e,{id:A(),name:"",command:""}])},k=(e,t,a)=>{u(i=>i.map(f=>f.id===e?{...f,[t]:a}:f))},H=e=>{u(t=>t.filter(a=>a.id!==e))},J=async e=>{const t=(e||"").trim();if(!t)return;const a=`session-${Date.now()}`;h(!0);try{await c(a,t)?(y(t),r({title:"Session started",description:a}),o(`/terminal/${a}`)):r({title:"Failed to start",variant:"destructive"})}finally{h(!1)}},U=async e=>{const t=(e||"").trim();if(!t)return;const a=`session-${Date.now()}`;p(!0);try{await c(a,t)?(y(t),setTimeout(()=>x(),150),r({title:"Started in background",description:a,action:s.jsx(q,{altText:"Open session",onClick:()=>o(`/terminal/${a}`),children:"Open"})})):r({title:"Failed to start",variant:"destructive"})}finally{p(!1)}},w=l||O||P;return s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-2xl font-bold tracking-tight",children:"Utilities"}),s.jsx("p",{className:"text-muted-foreground",children:"Quick commands and shortcuts"})]}),s.jsx("div",{className:"flex items-center gap-2",children:_&&s.jsxs(m,{onClick:z,disabled:g,size:"sm",children:[g?s.jsx(b,{className:"h-4 w-4 mr-1 animate-spin"}):s.jsx(M,{className:"h-4 w-4 mr-1"}),"Save"]})})]}),s.jsxs("div",{className:"space-y-4",children:[s.jsx("h2",{className:"text-lg font-semibold",children:"Scripts"}),s.jsx(G,{children:s.jsx(K,{className:"pt-6",children:B?s.jsx("div",{className:"flex items-center justify-center py-8",children:s.jsx(b,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):d.length>0?s.jsxs("div",{className:"space-y-2",children:[s.jsxs("div",{className:"hidden sm:grid sm:grid-cols-[1fr_2fr_auto] gap-2 px-2 pb-1",children:[s.jsx("span",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide",children:"Name"}),s.jsx("span",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide",children:"Command"}),s.jsx("span",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide w-[200px]",children:"Actions"})]}),s.jsx("div",{className:"rounded-md border divide-y",children:d.map(e=>s.jsxs("div",{className:"flex flex-col sm:grid sm:grid-cols-[1fr_2fr_auto] gap-2 p-2 items-start sm:items-center",children:[s.jsx(I,{value:e.name,onChange:t=>k(e.id,"name",t.target.value),placeholder:"script name",className:"h-8 text-sm font-medium"}),s.jsx(I,{value:e.command,onChange:t=>k(e.id,"command",t.target.value),placeholder:"command to run",className:"h-8 text-sm font-mono"}),s.jsxs("div",{className:"flex items-center gap-1 flex-shrink-0",children:[s.jsxs(m,{onClick:()=>U(e.command),variant:"secondary",size:"sm",disabled:w||!e.command.trim(),title:"Run in background",children:[s.jsx(X,{className:"h-4 w-4 sm:mr-1"}),s.jsx("span",{className:"hidden sm:inline",children:"Background"})]}),s.jsxs(m,{onClick:()=>J(e.command),size:"sm",disabled:w||!e.command.trim(),title:"Run",children:[s.jsx(Y,{className:"h-4 w-4 sm:mr-1"}),s.jsx("span",{className:"hidden sm:inline",children:"Run"})]}),s.jsx(m,{onClick:()=>H(e.id),variant:"ghost",size:"sm",title:"Remove script",children:s.jsx(Q,{className:"h-4 w-4"})})]})]},e.id))}),s.jsxs(m,{variant:"outline",size:"sm",onClick:S,className:"mt-2",children:[s.jsx(R,{className:"h-4 w-4 mr-1"}),"Add Script"]})]}):s.jsxs("div",{className:"flex flex-col items-center justify-center text-center space-y-3 py-8",children:[s.jsx(W,{className:"h-12 w-12 text-muted-foreground"}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-semibold text-lg mb-2",children:"No scripts configured"}),s.jsx("p",{className:"text-sm text-muted-foreground max-w-md leading-relaxed",children:"Scripts let you run common tasks with one click, like starting your development server or running build commands."})]}),s.jsxs(m,{variant:"outline",onClick:S,children:[s.jsx(R,{className:"h-4 w-4 mr-1"}),"Add Script"]})]})})})]})]})}export{ns as default};
@@ -1 +1 @@
1
- import{r,j as a,e as o}from"./index-BWhM9fZn.js";const v=r.forwardRef(({className:e,variant:t="default",...s},d)=>{const l="relative w-full rounded-lg border px-4 py-3 text-sm [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",i=t==="destructive"?"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive":"bg-background text-foreground";return a.jsx("div",{ref:d,role:"alert",className:o(l,i,e),...s})});v.displayName="Alert";const c=r.forwardRef(({className:e,...t},s)=>a.jsx("div",{ref:s,className:o("text-sm [&_p]:leading-relaxed",e),...t}));c.displayName="AlertDescription";export{v as A,c as a};
1
+ import{r,j as a,e as o}from"./index-opozMhku.js";const v=r.forwardRef(({className:e,variant:t="default",...s},d)=>{const l="relative w-full rounded-lg border px-4 py-3 text-sm [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",i=t==="destructive"?"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive":"bg-background text-foreground";return a.jsx("div",{ref:d,role:"alert",className:o(l,i,e),...s})});v.displayName="Alert";const c=r.forwardRef(({className:e,...t},s)=>a.jsx("div",{ref:s,className:o("text-sm [&_p]:leading-relaxed",e),...t}));c.displayName="AlertDescription";export{v as A,c as a};
@@ -0,0 +1 @@
1
+ import{r,j as a,e as o}from"./index-C_KCaLlP.js";const v=r.forwardRef(({className:e,variant:t="default",...s},d)=>{const l="relative w-full rounded-lg border px-4 py-3 text-sm [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",i=t==="destructive"?"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive":"bg-background text-foreground";return a.jsx("div",{ref:d,role:"alert",className:o(l,i,e),...s})});v.displayName="Alert";const c=r.forwardRef(({className:e,...t},s)=>a.jsx("div",{ref:s,className:o("text-sm [&_p]:leading-relaxed",e),...t}));c.displayName="AlertDescription";export{v as A,c as a};
@@ -1,4 +1,4 @@
1
- import{c as o}from"./index-BWhM9fZn.js";/**
1
+ import{c as o}from"./index-C_KCaLlP.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c as o}from"./index-opozMhku.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const e=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],c=o("arrow-down",e);export{c as A};
@@ -1,4 +1,4 @@
1
- import{c as o}from"./index-BWhM9fZn.js";/**
1
+ import{c as o}from"./index-C_KCaLlP.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c as o}from"./index-opozMhku.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const e=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],r=o("arrow-left",e);export{r as A};
@@ -1,4 +1,4 @@
1
- import{c as o}from"./index-BWhM9fZn.js";/**
1
+ import{c as o}from"./index-opozMhku.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c as o}from"./index-C_KCaLlP.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const r=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],c=o("arrow-up",r);export{c as A};
@@ -1,4 +1,4 @@
1
- import{c as o}from"./index-BWhM9fZn.js";/**
1
+ import{c as o}from"./index-C_KCaLlP.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c as o}from"./index-opozMhku.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const e=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],a=o("arrow-up-down",e);export{a as A};
@@ -1 +1 @@
1
- import{j as o,e as n,ay as a}from"./index-BWhM9fZn.js";const s=a("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i({className:r,variant:e,...t}){return o.jsx("div",{className:n(s({variant:e}),r),...t})}export{i as B};
1
+ import{j as o,e as n,ay as a}from"./index-opozMhku.js";const s=a("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i({className:r,variant:e,...t}){return o.jsx("div",{className:n(s({variant:e}),r),...t})}export{i as B};
@@ -0,0 +1 @@
1
+ import{j as o,e as n,ay as a}from"./index-C_KCaLlP.js";const s=a("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i({className:r,variant:e,...t}){return o.jsx("div",{className:n(s({variant:e}),r),...t})}export{i as B};
@@ -1,4 +1,4 @@
1
- import{c as $,r,j as e,D as z,b as G,d as J,f as K,I as Q,v as M,S as V,e as W,Y as X,B}from"./index-BWhM9fZn.js";import{B as v}from"./badge-CKqDVhJv.js";import{a as Z}from"./registry-ANRa5WBi.js";import{S as O}from"./search-SRuczbr5.js";/**
1
+ import{c as $,r,j as e,D as z,b as G,d as J,f as K,I as Q,v as M,S as V,e as W,Y as X,B}from"./index-C_KCaLlP.js";import{B as v}from"./badge-BzEwwrAP.js";import{a as Z}from"./registry-ANRa5WBi.js";import{S as O}from"./search-_5ueAoCg.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c as $,r,j as e,D as z,b as G,d as J,f as K,I as Q,v as M,S as V,e as W,Y as X,B}from"./index-opozMhku.js";import{B as v}from"./badge-BmHXIBBB.js";import{a as Z}from"./registry-ANRa5WBi.js";import{S as O}from"./search-Cz2_2BkO.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const ee=[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]],ne=$("library",ee),te="Browse Registry",se="Import";function oe({open:f,categoryId:n,onOpenChange:x,title:F=te,confirmLabel:A=se,filterTags:o,onConfirm:I,getDetail:R,renderPreview:_}){const[c,y]=r.useState([]),[P,N]=r.useState(!1),[w,S]=r.useState(null),[l,b]=r.useState(null),[h,L]=r.useState({}),[T,g]=r.useState(!1),[E,j]=r.useState(null),[d,C]=r.useState(""),[p,k]=r.useState(!1);r.useEffect(()=>{if(!f)return;N(!0),S(null),b(null),j(null),g(!1),L({}),C("");const t=Array.isArray(n)?n:[n];Promise.all(t.map(s=>Z(s))).then(s=>{const a=s.flatMap(u=>u.elements??[]);y(a)}).catch(s=>{console.error("Failed to load registry category",s),y([]),S("Failed to load registry entries")}).finally(()=>N(!1))},[f,n]);const D=r.useMemo(()=>{let t=c;if(o&&o.length>0&&(t=t.filter(a=>{const u=a.tags??[];return o.some(H=>u.some(Y=>Y.toLowerCase()===H.toLowerCase()))})),!d.trim())return t;const s=d.trim().toLowerCase();return t.filter(a=>[a.name,a.description,a.preview,...a.tags??[]].filter(Boolean).join(" ").toLowerCase().includes(s))},[c,d,o]),i=r.useMemo(()=>l?c.find(t=>t.id===l)??null:null,[c,l]),m=r.useMemo(()=>l?h[l]?.detail??null:null,[l,h]),U=async t=>{if(b(t.id),j(null),!h?.[t.id]?.detail){g(!0);try{const s=await R(t);L(a=>({...a??{},[t.id]:{detail:s,fetchedAt:Date.now()}}))}catch(s){console.error("Failed to load registry element detail",s),j("Unable to load detail for this entry")}finally{g(!1)}}},q=async()=>{if(!(!i||!m)){k(!0);try{await I(i,m),x(!1)}catch(t){console.error("Failed to import registry element",t)}finally{k(!1)}}};return e.jsx(z,{open:f,onOpenChange:x,children:e.jsxs(G,{className:"max-w-5xl h-[80vh] flex flex-col",children:[e.jsx(J,{children:e.jsx(K,{children:F})}),e.jsx("div",{className:"flex flex-col gap-4",children:e.jsxs("div",{className:"relative",children:[e.jsx(O,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),e.jsx(Q,{value:d,onChange:t=>C(t.target.value),placeholder:"Search registry entries",className:"pl-9"})]})}),e.jsxs("div",{className:"flex-1 flex gap-4 min-h-0",children:[e.jsx("div",{className:"w-1/3 border-r pr-3",children:P?e.jsxs("div",{className:"flex h-full items-center justify-center text-muted-foreground",children:[e.jsx(M,{className:"h-4 w-4 animate-spin mr-2"}),"Loading entries…"]}):w?e.jsx("div",{className:"flex h-full items-center justify-center text-sm text-muted-foreground",children:w}):D.length===0?e.jsx("div",{className:"flex h-full items-center justify-center text-sm text-muted-foreground",children:"No entries found"}):e.jsx(V,{className:"h-full",children:e.jsx("div",{className:"space-y-1 pb-4",children:D.map(t=>e.jsxs("button",{onClick:()=>U(t),className:W("w-full rounded-md border border-transparent p-3 text-left transition-colors hover:border-border hover:bg-muted/40",l===t.id&&"border-primary bg-muted"),children:[e.jsxs("div",{className:"flex items-start justify-between gap-2",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-sm font-medium",children:t.name}),e.jsx("p",{className:"mt-1 line-clamp-2 text-xs text-muted-foreground",children:t.description||t.preview})]}),t.version&&e.jsxs(v,{variant:"outline",className:"text-[10px] font-medium uppercase",children:["v",t.version]})]}),t.tags&&t.tags.length>0&&e.jsxs("div",{className:"mt-2 flex flex-wrap gap-1",children:[t.tags.slice(0,4).map(s=>e.jsx(v,{variant:"secondary",className:"text-[10px] font-normal",children:s},s)),t.tags.length>4&&e.jsxs(v,{variant:"outline",className:"text-[10px] font-normal",children:["+",t.tags.length-4]})]})]},t.id))})})}),e.jsx("div",{className:"flex-1 min-w-0 overflow-hidden",children:T?e.jsxs("div",{className:"flex h-full items-center justify-center text-muted-foreground",children:[e.jsx(M,{className:"h-5 w-5 animate-spin mr-2"}),"Loading detail…"]}):E?e.jsx("div",{className:"flex h-full items-center justify-center text-sm text-muted-foreground",children:E}):i?e.jsx("div",{className:"h-full overflow-hidden",children:_(i,m)}):e.jsx("div",{className:"flex h-full items-center justify-center text-muted-foreground",children:"Select an entry to preview"})})]}),e.jsxs(X,{className:"flex items-center justify-between",children:[e.jsx("div",{className:"text-xs text-muted-foreground",children:i?`Selected: ${i.name}`:"No entry selected"}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(B,{variant:"outline",onClick:()=>x(!1),disabled:p,children:"Cancel"}),e.jsx(B,{onClick:q,disabled:!i||!m||p,children:p?"Importing…":A})]})]})]})})}export{ne as L,oe as R};
@@ -1 +1 @@
1
- import{r,j as d,e as t}from"./index-BWhM9fZn.js";const o=r.forwardRef(({className:a,...e},s)=>d.jsx("div",{ref:s,className:t("rounded-xl border bg-card text-card-foreground shadow",a),...e}));o.displayName="Card";const c=r.forwardRef(({className:a,...e},s)=>d.jsx("div",{ref:s,className:t("flex flex-col space-y-1.5 p-6",a),...e}));c.displayName="CardHeader";const i=r.forwardRef(({className:a,...e},s)=>d.jsx("h3",{ref:s,className:t("font-semibold leading-none tracking-tight",a),...e}));i.displayName="CardTitle";const n=r.forwardRef(({className:a,...e},s)=>d.jsx("p",{ref:s,className:t("text-sm text-muted-foreground",a),...e}));n.displayName="CardDescription";const l=r.forwardRef(({className:a,...e},s)=>d.jsx("div",{ref:s,className:t("p-6 pt-0",a),...e}));l.displayName="CardContent";const f=r.forwardRef(({className:a,...e},s)=>d.jsx("div",{ref:s,className:t("flex items-center p-6 pt-0",a),...e}));f.displayName="CardFooter";export{o as C,l as a,c as b,i as c,n as d,f as e};
1
+ import{r,j as d,e as t}from"./index-C_KCaLlP.js";const o=r.forwardRef(({className:a,...e},s)=>d.jsx("div",{ref:s,className:t("rounded-xl border bg-card text-card-foreground shadow",a),...e}));o.displayName="Card";const c=r.forwardRef(({className:a,...e},s)=>d.jsx("div",{ref:s,className:t("flex flex-col space-y-1.5 p-6",a),...e}));c.displayName="CardHeader";const i=r.forwardRef(({className:a,...e},s)=>d.jsx("h3",{ref:s,className:t("font-semibold leading-none tracking-tight",a),...e}));i.displayName="CardTitle";const n=r.forwardRef(({className:a,...e},s)=>d.jsx("p",{ref:s,className:t("text-sm text-muted-foreground",a),...e}));n.displayName="CardDescription";const l=r.forwardRef(({className:a,...e},s)=>d.jsx("div",{ref:s,className:t("p-6 pt-0",a),...e}));l.displayName="CardContent";const f=r.forwardRef(({className:a,...e},s)=>d.jsx("div",{ref:s,className:t("flex items-center p-6 pt-0",a),...e}));f.displayName="CardFooter";export{o as C,l as a,c as b,i as c,n as d,f as e};
@@ -0,0 +1 @@
1
+ import{r,j as d,e as t}from"./index-opozMhku.js";const o=r.forwardRef(({className:a,...e},s)=>d.jsx("div",{ref:s,className:t("rounded-xl border bg-card text-card-foreground shadow",a),...e}));o.displayName="Card";const c=r.forwardRef(({className:a,...e},s)=>d.jsx("div",{ref:s,className:t("flex flex-col space-y-1.5 p-6",a),...e}));c.displayName="CardHeader";const i=r.forwardRef(({className:a,...e},s)=>d.jsx("h3",{ref:s,className:t("font-semibold leading-none tracking-tight",a),...e}));i.displayName="CardTitle";const n=r.forwardRef(({className:a,...e},s)=>d.jsx("p",{ref:s,className:t("text-sm text-muted-foreground",a),...e}));n.displayName="CardDescription";const l=r.forwardRef(({className:a,...e},s)=>d.jsx("div",{ref:s,className:t("p-6 pt-0",a),...e}));l.displayName="CardContent";const f=r.forwardRef(({className:a,...e},s)=>d.jsx("div",{ref:s,className:t("flex items-center p-6 pt-0",a),...e}));f.displayName="CardFooter";export{o as C,l as a,c as b,i as c,n as d,f as e};
@@ -1,4 +1,4 @@
1
- import{c as e}from"./index-BWhM9fZn.js";/**
1
+ import{c as e}from"./index-C_KCaLlP.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c as e}from"./index-opozMhku.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const o=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],t=e("chevron-left",o);export{t as C};
@@ -1,4 +1,4 @@
1
- import{c as o}from"./index-BWhM9fZn.js";/**
1
+ import{c as o}from"./index-C_KCaLlP.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c as o}from"./index-opozMhku.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const c=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],n=o("chevron-up",c);export{n as C};
@@ -1,4 +1,4 @@
1
- import{c as o}from"./index-BWhM9fZn.js";/**
1
+ import{c as o}from"./index-opozMhku.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,11 @@
1
+ import{c as o}from"./index-C_KCaLlP.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const e=[["path",{d:"m7 6 5 5 5-5",key:"1lc07p"}],["path",{d:"m7 13 5 5 5-5",key:"1d48rs"}]],s=o("chevrons-down",e);/**
7
+ * @license lucide-react v0.542.0 - ISC
8
+ *
9
+ * This source code is licensed under the ISC license.
10
+ * See the LICENSE file in the root directory of this source tree.
11
+ */const n=[["path",{d:"m17 11-5-5-5 5",key:"e8nh98"}],["path",{d:"m17 18-5-5-5 5",key:"2avn1x"}]],t=o("chevrons-up",n);export{t as C,s as a};
@@ -1,4 +1,4 @@
1
- import{c as e}from"./index-BWhM9fZn.js";/**
1
+ import{c as e}from"./index-opozMhku.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c as e}from"./index-C_KCaLlP.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const c=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],y=e("circle-alert",c);export{y as C};
@@ -1,4 +1,4 @@
1
- import{c}from"./index-BWhM9fZn.js";/**
1
+ import{c}from"./index-opozMhku.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c}from"./index-C_KCaLlP.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],r=c("circle-check",e);export{r as C};
@@ -1,4 +1,4 @@
1
- import{c}from"./index-BWhM9fZn.js";/**
1
+ import{c}from"./index-opozMhku.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c}from"./index-C_KCaLlP.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const e=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],t=c("circle-check-big",e);export{t as C};
@@ -1,4 +1,4 @@
1
- import{c}from"./index-BWhM9fZn.js";/**
1
+ import{c}from"./index-opozMhku.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c}from"./index-C_KCaLlP.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const a=[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],l=c("circle-play",a);export{l as C};
@@ -1,4 +1,4 @@
1
- import{c}from"./index-BWhM9fZn.js";/**
1
+ import{c}from"./index-opozMhku.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c}from"./index-C_KCaLlP.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],o=c("circle-x",e);export{o as C};
@@ -1,4 +1,4 @@
1
- import{c as a}from"./index-BWhM9fZn.js";/**
1
+ import{c as a}from"./index-opozMhku.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,11 @@
1
+ import{c as a}from"./index-C_KCaLlP.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const t=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]],o=a("clipboard-check",t);/**
7
+ * @license lucide-react v0.542.0 - ISC
8
+ *
9
+ * This source code is licensed under the ISC license.
10
+ * See the LICENSE file in the root directory of this source tree.
11
+ */const c=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],r=a("clipboard",c);export{o as C,r as a};
@@ -1,4 +1,4 @@
1
- import{c}from"./index-BWhM9fZn.js";/**
1
+ import{c}from"./index-C_KCaLlP.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c}from"./index-opozMhku.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const o=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],r=c("clock",o);export{r as C};
@@ -1,4 +1,4 @@
1
- import{c as o}from"./index-BWhM9fZn.js";/**
1
+ import{c as o}from"./index-C_KCaLlP.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c as o}from"./index-opozMhku.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const e=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],t=o("code",e);export{t as C};
@@ -1,4 +1,4 @@
1
- import{c as o}from"./index-BWhM9fZn.js";/**
1
+ import{c as o}from"./index-C_KCaLlP.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c as o}from"./index-opozMhku.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const a=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],e=o("download",a);export{e as D};
@@ -1,4 +1,4 @@
1
- import{c as a}from"./index-BWhM9fZn.js";/**
1
+ import{c as a}from"./index-C_KCaLlP.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c as a}from"./index-opozMhku.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const e=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],n=a("external-link",e);export{n as E};
@@ -1,4 +1,4 @@
1
- import{c}from"./index-BWhM9fZn.js";/**
1
+ import{c}from"./index-C_KCaLlP.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c}from"./index-opozMhku.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const e=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],r=c("eye",e);export{r as E};
@@ -1,4 +1,4 @@
1
- import{c}from"./index-BWhM9fZn.js";/**
1
+ import{c}from"./index-opozMhku.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c}from"./index-C_KCaLlP.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const e=[["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",key:"1w6njk"}],["circle",{cx:"13",cy:"12",r:"2",key:"1j92g6"}],["path",{d:"M18 19c-2.8 0-5-2.2-5-5v8",key:"pkpw2h"}],["circle",{cx:"20",cy:"19",r:"2",key:"1obnsp"}]],a=c("folder-git-2",e);export{a as F};
@@ -1,4 +1,4 @@
1
- import{c}from"./index-BWhM9fZn.js";/**
1
+ import{c}from"./index-C_KCaLlP.js";/**
2
2
  * @license lucide-react v0.542.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1,6 @@
1
+ import{c}from"./index-opozMhku.js";/**
2
+ * @license lucide-react v0.542.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],a=c("globe",e);export{a as G};