vibedoc 1.5.0 โ†’ 1.6.1

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 (472) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +4 -4
  3. package/.next/prerender-manifest.json +11 -11
  4. package/.next/required-server-files.json +0 -4
  5. package/.next/server/app/(app)/activity/page/build-manifest.json +1 -1
  6. package/.next/server/app/(app)/activity/page.js.nft.json +1 -1
  7. package/.next/server/app/(app)/activity/page_client-reference-manifest.js +1 -1
  8. package/.next/server/app/(app)/board/page/build-manifest.json +1 -1
  9. package/.next/server/app/(app)/board/page.js.nft.json +1 -1
  10. package/.next/server/app/(app)/board/page_client-reference-manifest.js +1 -1
  11. package/.next/server/app/(app)/docs/page/build-manifest.json +1 -1
  12. package/.next/server/app/(app)/docs/page.js.nft.json +1 -1
  13. package/.next/server/app/(app)/docs/page_client-reference-manifest.js +1 -1
  14. package/.next/server/app/(app)/explorer/page/build-manifest.json +1 -1
  15. package/.next/server/app/(app)/explorer/page.js.nft.json +1 -1
  16. package/.next/server/app/(app)/explorer/page_client-reference-manifest.js +1 -1
  17. package/.next/server/app/(app)/memory/page/build-manifest.json +1 -1
  18. package/.next/server/app/(app)/memory/page.js.nft.json +1 -1
  19. package/.next/server/app/(app)/memory/page_client-reference-manifest.js +1 -1
  20. package/.next/server/app/(app)/roadmap/page/build-manifest.json +1 -1
  21. package/.next/server/app/(app)/roadmap/page.js.nft.json +1 -1
  22. package/.next/server/app/(app)/roadmap/page_client-reference-manifest.js +1 -1
  23. package/.next/server/app/(app)/settings/page/build-manifest.json +1 -1
  24. package/.next/server/app/(app)/settings/page.js.nft.json +1 -1
  25. package/.next/server/app/(app)/settings/page_client-reference-manifest.js +1 -1
  26. package/.next/server/app/(app)/setup/page/build-manifest.json +1 -1
  27. package/.next/server/app/(app)/setup/page.js.nft.json +1 -1
  28. package/.next/server/app/(app)/setup/page_client-reference-manifest.js +1 -1
  29. package/.next/server/app/_global-error/page/build-manifest.json +1 -1
  30. package/.next/server/app/_global-error/page.js.nft.json +1 -1
  31. package/.next/server/app/_global-error.html +1 -1
  32. package/.next/server/app/_global-error.rsc +1 -1
  33. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  34. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  35. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  36. package/.next/server/app/_not-found/page/build-manifest.json +1 -1
  37. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  38. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  39. package/.next/server/app/_not-found.html +1 -1
  40. package/.next/server/app/_not-found.rsc +2 -2
  41. package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  42. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  43. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  44. package/.next/server/app/activity.html +1 -1
  45. package/.next/server/app/activity.rsc +23 -22
  46. package/.next/server/app/activity.segments/!KGFwcCk/activity/__PAGE__.segment.rsc +5 -5
  47. package/.next/server/app/activity.segments/_full.segment.rsc +23 -22
  48. package/.next/server/app/activity.segments/_tree.segment.rsc +2 -2
  49. package/.next/server/app/api/activity/route.js +3 -3
  50. package/.next/server/app/api/activity/route.js.nft.json +1 -1
  51. package/.next/server/app/api/backlinks/route.js +3 -3
  52. package/.next/server/app/api/backlinks/route.js.nft.json +1 -1
  53. package/.next/server/app/api/chat/route.js +3 -3
  54. package/.next/server/app/api/chat/route.js.nft.json +1 -1
  55. package/.next/server/app/api/context/route.js +3 -3
  56. package/.next/server/app/api/context/route.js.nft.json +1 -1
  57. package/.next/server/app/api/decisions/route.js +3 -3
  58. package/.next/server/app/api/decisions/route.js.nft.json +1 -1
  59. package/.next/server/app/api/docs/route.js +3 -3
  60. package/.next/server/app/api/docs/route.js.nft.json +1 -1
  61. package/.next/server/app/api/events/route.js.nft.json +1 -1
  62. package/.next/server/app/api/explorer/route.js +4 -3
  63. package/.next/server/app/api/explorer/route.js.nft.json +1 -1
  64. package/.next/server/app/api/mcp/route.js +4 -4
  65. package/.next/server/app/api/mcp/route.js.nft.json +1 -1
  66. package/.next/server/app/api/memory/route.js +3 -3
  67. package/.next/server/app/api/memory/route.js.nft.json +1 -1
  68. package/.next/server/app/api/plan/apply/route.js +4 -4
  69. package/.next/server/app/api/plan/apply/route.js.nft.json +1 -1
  70. package/.next/server/app/api/projects/route.js +3 -3
  71. package/.next/server/app/api/projects/route.js.nft.json +1 -1
  72. package/.next/server/app/api/registry/route.js +3 -3
  73. package/.next/server/app/api/registry/route.js.nft.json +1 -1
  74. package/.next/server/app/api/roadmap/create/route.js +4 -4
  75. package/.next/server/app/api/roadmap/create/route.js.nft.json +1 -1
  76. package/.next/server/app/api/roadmap/delete/route.js +4 -4
  77. package/.next/server/app/api/roadmap/delete/route.js.nft.json +1 -1
  78. package/.next/server/app/api/roadmap/generate/route.js +4 -4
  79. package/.next/server/app/api/roadmap/generate/route.js.nft.json +1 -1
  80. package/.next/server/app/api/roadmap/layout/route.js +4 -4
  81. package/.next/server/app/api/roadmap/layout/route.js.nft.json +1 -1
  82. package/.next/server/app/api/roadmap/route.js +3 -3
  83. package/.next/server/app/api/roadmap/route.js.nft.json +1 -1
  84. package/.next/server/app/api/roadmap/update/route.js +4 -4
  85. package/.next/server/app/api/roadmap/update/route.js.nft.json +1 -1
  86. package/.next/server/app/api/sessions/route.js +3 -3
  87. package/.next/server/app/api/sessions/route.js.nft.json +1 -1
  88. package/.next/server/app/api/settings/route.js +4 -4
  89. package/.next/server/app/api/settings/route.js.nft.json +1 -1
  90. package/.next/server/app/api/setup/generate/route.js +2 -2
  91. package/.next/server/app/api/setup/generate/route.js.nft.json +1 -1
  92. package/.next/server/app/api/setup/write/route.js +3 -3
  93. package/.next/server/app/api/setup/write/route.js.nft.json +1 -1
  94. package/.next/server/app/api/summary/route.js +3 -3
  95. package/.next/server/app/api/summary/route.js.nft.json +1 -1
  96. package/.next/server/app/api/tasks/create/route.js +3 -3
  97. package/.next/server/app/api/tasks/create/route.js.nft.json +1 -1
  98. package/.next/server/app/api/tasks/route.js +3 -3
  99. package/.next/server/app/api/tasks/route.js.nft.json +1 -1
  100. package/.next/server/app/board.html +1 -1
  101. package/.next/server/app/board.rsc +23 -21
  102. package/.next/server/app/board.segments/!KGFwcCk/board/__PAGE__.segment.rsc +5 -5
  103. package/.next/server/app/board.segments/_full.segment.rsc +23 -21
  104. package/.next/server/app/board.segments/_tree.segment.rsc +2 -2
  105. package/.next/server/app/docs.html +1 -1
  106. package/.next/server/app/docs.rsc +27 -25
  107. package/.next/server/app/docs.segments/!KGFwcCk/docs/__PAGE__.segment.rsc +9 -10
  108. package/.next/server/app/docs.segments/_full.segment.rsc +27 -25
  109. package/.next/server/app/docs.segments/_tree.segment.rsc +2 -2
  110. package/.next/server/app/explorer.html +1 -1
  111. package/.next/server/app/explorer.rsc +23 -22
  112. package/.next/server/app/explorer.segments/!KGFwcCk/explorer/__PAGE__.segment.rsc +5 -5
  113. package/.next/server/app/explorer.segments/_full.segment.rsc +23 -22
  114. package/.next/server/app/explorer.segments/_tree.segment.rsc +2 -2
  115. package/.next/server/app/index.html +1 -1
  116. package/.next/server/app/index.rsc +2 -2
  117. package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  118. package/.next/server/app/index.segments/_full.segment.rsc +2 -2
  119. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  120. package/.next/server/app/memory.html +1 -1
  121. package/.next/server/app/memory.rsc +23 -22
  122. package/.next/server/app/memory.segments/!KGFwcCk/memory/__PAGE__.segment.rsc +5 -5
  123. package/.next/server/app/memory.segments/_full.segment.rsc +23 -22
  124. package/.next/server/app/memory.segments/_tree.segment.rsc +2 -2
  125. package/.next/server/app/page/build-manifest.json +1 -1
  126. package/.next/server/app/page.js.nft.json +1 -1
  127. package/.next/server/app/page_client-reference-manifest.js +1 -1
  128. package/.next/server/app/roadmap.html +1 -1
  129. package/.next/server/app/roadmap.rsc +26 -25
  130. package/.next/server/app/roadmap.segments/!KGFwcCk/roadmap/__PAGE__.segment.rsc +11 -9
  131. package/.next/server/app/roadmap.segments/_full.segment.rsc +26 -25
  132. package/.next/server/app/roadmap.segments/_tree.segment.rsc +2 -2
  133. package/.next/server/app/settings.html +1 -1
  134. package/.next/server/app/settings.rsc +23 -22
  135. package/.next/server/app/settings.segments/!KGFwcCk/settings/__PAGE__.segment.rsc +5 -5
  136. package/.next/server/app/settings.segments/_full.segment.rsc +23 -22
  137. package/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
  138. package/.next/server/app/setup.html +1 -1
  139. package/.next/server/app/setup.rsc +23 -21
  140. package/.next/server/app/setup.segments/!KGFwcCk/setup/__PAGE__.segment.rsc +5 -5
  141. package/.next/server/app/setup.segments/_full.segment.rsc +23 -21
  142. package/.next/server/app/setup.segments/_tree.segment.rsc +2 -2
  143. package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0-q4v32._.js โ†’ 11mp_@anthropic-ai_sdk_0-5bkpj._.js} +2 -2
  144. package/.next/server/chunks/{11mp_@anthropic-ai_sdk_05hfnhc._.js โ†’ 11mp_@anthropic-ai_sdk_00psb_y._.js} +2 -2
  145. package/.next/server/chunks/{11mp_@anthropic-ai_sdk_05dmim9._.js โ†’ 11mp_@anthropic-ai_sdk_01l5h3i._.js} +2 -2
  146. package/.next/server/chunks/{11mp_@anthropic-ai_sdk_07xtb0h._.js โ†’ 11mp_@anthropic-ai_sdk_072r2bd._.js} +2 -2
  147. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0am8bw2._.js +3 -0
  148. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0enefn6._.js +3 -0
  149. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0k3n_5f._.js +3 -0
  150. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0lcfjm4._.js +3 -0
  151. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0lfx9av._.js +3 -0
  152. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0qau3qw._.js +3 -0
  153. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0r1pmvm._.js +3 -0
  154. package/.next/server/chunks/11mp_@anthropic-ai_sdk_11t-z2t._.js +3 -0
  155. package/.next/server/chunks/11mp_@anthropic-ai_sdk_15hyn79._.js +3 -0
  156. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1_qk07x._.js +3 -0
  157. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1b2929e._.js +3 -0
  158. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1e72c89._.js +3 -0
  159. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1eq7asn._.js +3 -0
  160. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1fhdojs._.js +3 -0
  161. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1lh_vwq._.js +3 -0
  162. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1ludf-o._.js +3 -0
  163. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1m3luz3._.js +3 -0
  164. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1x1iz3d._.js +3 -0
  165. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1xsmwlh._.js +3 -0
  166. package/.next/server/chunks/11mp_@anthropic-ai_sdk_202spah._.js +3 -0
  167. package/.next/server/chunks/11mp_@anthropic-ai_sdk_215hw9u._.js +3 -0
  168. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0n-i0pd._.js +3 -0
  169. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_13pos4j._.js +3 -0
  170. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_17b4pqr._.js +3 -0
  171. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1bkcmom._.js +3 -0
  172. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1hlj_3l._.js +3 -0
  173. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1ip-sor._.js +3 -0
  174. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1pex5o1._.js +3 -0
  175. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1s8lc8_._.js +3 -0
  176. package/.next/server/chunks/[root-of-the-server]__03upgv8._.js +3 -0
  177. package/.next/server/chunks/[root-of-the-server]__03upgv8._.js.map +1 -0
  178. package/.next/server/chunks/[root-of-the-server]__05l6129._.js +3 -0
  179. package/.next/server/chunks/{[root-of-the-server]__0u2rl0m._.js.map โ†’ [root-of-the-server]__05l6129._.js.map} +1 -1
  180. package/.next/server/chunks/[root-of-the-server]__06zf_sh._.js +3 -0
  181. package/.next/server/chunks/{[root-of-the-server]__01yk8oi._.js.map โ†’ [root-of-the-server]__06zf_sh._.js.map} +1 -1
  182. package/.next/server/chunks/[root-of-the-server]__093hlkh._.js +3 -0
  183. package/.next/server/chunks/{[root-of-the-server]__1337jpl._.js.map โ†’ [root-of-the-server]__093hlkh._.js.map} +1 -1
  184. package/.next/server/chunks/[root-of-the-server]__0aynzrb._.js +3 -0
  185. package/.next/server/chunks/{[root-of-the-server]__0b49g9i._.js.map โ†’ [root-of-the-server]__0aynzrb._.js.map} +1 -1
  186. package/.next/server/chunks/[root-of-the-server]__0e59y5j._.js +3 -0
  187. package/.next/server/chunks/[root-of-the-server]__0eqd-tw._.js +3 -0
  188. package/.next/server/chunks/{[root-of-the-server]__0yd6wlm._.js.map โ†’ [root-of-the-server]__0eqd-tw._.js.map} +1 -1
  189. package/.next/server/chunks/[root-of-the-server]__0nfvvy9._.js +3 -0
  190. package/.next/server/chunks/{[root-of-the-server]__0j-xjbf._.js.map โ†’ [root-of-the-server]__0nfvvy9._.js.map} +1 -1
  191. package/.next/server/chunks/{[root-of-the-server]__03t5uqz._.js โ†’ [root-of-the-server]__0qac4k0._.js} +2 -2
  192. package/.next/server/chunks/{[root-of-the-server]__03t5uqz._.js.map โ†’ [root-of-the-server]__0qac4k0._.js.map} +1 -1
  193. package/.next/server/chunks/[root-of-the-server]__106gpvh._.js +3 -0
  194. package/.next/server/chunks/{[root-of-the-server]__0kaegk7._.js.map โ†’ [root-of-the-server]__106gpvh._.js.map} +1 -1
  195. package/.next/server/chunks/[root-of-the-server]__11s-8eg._.js +3 -0
  196. package/.next/server/chunks/{[root-of-the-server]__02k1gkk._.js.map โ†’ [root-of-the-server]__11s-8eg._.js.map} +1 -1
  197. package/.next/server/chunks/[root-of-the-server]__11s76m8._.js +3 -0
  198. package/.next/server/chunks/[root-of-the-server]__142icjb._.js +3 -0
  199. package/.next/server/chunks/{[root-of-the-server]__1yow6hw._.js.map โ†’ [root-of-the-server]__142icjb._.js.map} +1 -1
  200. package/.next/server/chunks/[root-of-the-server]__14aeqoi._.js +3 -0
  201. package/.next/server/chunks/[root-of-the-server]__14aeqoi._.js.map +1 -0
  202. package/.next/server/chunks/[root-of-the-server]__1613hjb._.js +88 -0
  203. package/.next/server/chunks/[root-of-the-server]__1613hjb._.js.map +1 -0
  204. package/.next/server/chunks/[root-of-the-server]__169hmq_._.js +10 -0
  205. package/.next/server/chunks/{[root-of-the-server]__0d4jkve._.js.map โ†’ [root-of-the-server]__169hmq_._.js.map} +1 -1
  206. package/.next/server/chunks/[root-of-the-server]__17p0rkn._.js +3 -0
  207. package/.next/server/chunks/{[root-of-the-server]__0v8x64y._.js.map โ†’ [root-of-the-server]__17p0rkn._.js.map} +1 -1
  208. package/.next/server/chunks/[root-of-the-server]__17xb02p._.js +3 -0
  209. package/.next/server/chunks/{[root-of-the-server]__0zybyuh._.js.map โ†’ [root-of-the-server]__17xb02p._.js.map} +1 -1
  210. package/.next/server/chunks/[root-of-the-server]__18kxo4a._.js +3 -0
  211. package/.next/server/chunks/{[root-of-the-server]__1znbm9i._.js.map โ†’ [root-of-the-server]__18kxo4a._.js.map} +1 -1
  212. package/.next/server/chunks/[root-of-the-server]__1c55c2q._.js +3 -0
  213. package/.next/server/chunks/{[root-of-the-server]__0l3voov._.js.map โ†’ [root-of-the-server]__1c55c2q._.js.map} +1 -1
  214. package/.next/server/chunks/[root-of-the-server]__1j0rrps._.js +3 -0
  215. package/.next/server/chunks/{[root-of-the-server]__0635d15._.js.map โ†’ [root-of-the-server]__1j0rrps._.js.map} +1 -1
  216. package/.next/server/chunks/[root-of-the-server]__1lj_2cv._.js +3 -0
  217. package/.next/server/chunks/{[root-of-the-server]__0qsx33x._.js.map โ†’ [root-of-the-server]__1lj_2cv._.js.map} +1 -1
  218. package/.next/server/chunks/[root-of-the-server]__1o4a-4j._.js +3 -0
  219. package/.next/server/chunks/{[root-of-the-server]__1vaownn._.js.map โ†’ [root-of-the-server]__1o4a-4j._.js.map} +1 -1
  220. package/.next/server/chunks/[root-of-the-server]__1q4ahvz._.js +3 -0
  221. package/.next/server/chunks/{[root-of-the-server]__1hsybai._.js.map โ†’ [root-of-the-server]__1q4ahvz._.js.map} +1 -1
  222. package/.next/server/chunks/{[root-of-the-server]__1337jpl._.js โ†’ [root-of-the-server]__1u_q61h._.js} +2 -2
  223. package/.next/server/chunks/{[root-of-the-server]__0kkefbq._.js.map โ†’ [root-of-the-server]__1u_q61h._.js.map} +1 -1
  224. package/.next/server/chunks/[root-of-the-server]__1wr0m-s._.js +3 -0
  225. package/.next/server/chunks/{[root-of-the-server]__0-rjzmv._.js.map โ†’ [root-of-the-server]__1wr0m-s._.js.map} +1 -1
  226. package/.next/server/chunks/[root-of-the-server]__1xb0fmp._.js +3 -0
  227. package/.next/server/chunks/{[root-of-the-server]__15suc44._.js.map โ†’ [root-of-the-server]__1xb0fmp._.js.map} +1 -1
  228. package/.next/server/chunks/{[root-of-the-server]__1hsybai._.js โ†’ [root-of-the-server]__1y-tt29._.js} +2 -2
  229. package/.next/server/chunks/{[root-of-the-server]__0af0ma6._.js.map โ†’ [root-of-the-server]__1y-tt29._.js.map} +1 -1
  230. package/.next/server/chunks/[root-of-the-server]__1y3u5ud._.js +3 -0
  231. package/.next/server/chunks/{[root-of-the-server]__0xqsv4h._.js.map โ†’ [root-of-the-server]__1y3u5ud._.js.map} +1 -1
  232. package/.next/server/chunks/[turbopack]_runtime.js +0 -132
  233. package/.next/server/chunks/[turbopack]_runtime.js.map +4 -5
  234. package/.next/server/chunks/_04byth9._.js +34 -0
  235. package/.next/server/chunks/_04byth9._.js.map +1 -0
  236. package/.next/server/chunks/_1au4syj._.js +1 -1
  237. package/.next/server/chunks/_1au4syj._.js.map +1 -1
  238. package/.next/server/chunks/_1b5fqxy._.js +3 -0
  239. package/.next/server/chunks/_1b5fqxy._.js.map +1 -0
  240. package/.next/server/chunks/_1si7nb_._.js +8 -8
  241. package/.next/server/chunks/_1si7nb_._.js.map +1 -1
  242. package/.next/server/chunks/ssr/{0_nd_mermaid_dist_mermaid_core_mjs_10jvzv6._.js โ†’ 0_nd_mermaid_dist_mermaid_core_mjs_1vulg1x._.js} +2 -2
  243. package/.next/server/chunks/ssr/{1u84_katex_dist_katex_mjs_05prlqa._.js โ†’ 1u84_katex_dist_katex_mjs_0mwkb-i._.js} +1 -1
  244. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_08ca0b4._.js +3 -0
  245. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_08ca0b4._.js.map +1 -0
  246. package/.next/server/chunks/ssr/[root-of-the-server]__0xt_0w2._.js.map +1 -1
  247. package/.next/server/chunks/ssr/[turbopack]_runtime.js +0 -132
  248. package/.next/server/chunks/ssr/[turbopack]_runtime.js.map +4 -5
  249. package/.next/server/chunks/ssr/_04xff_2._.js +1 -1
  250. package/.next/server/chunks/ssr/_04xff_2._.js.map +1 -1
  251. package/.next/server/chunks/ssr/_0qyglif._.js +2 -2
  252. package/.next/server/chunks/ssr/_0qyglif._.js.map +1 -1
  253. package/.next/server/chunks/ssr/_0skuoxv._.js +3 -1
  254. package/.next/server/chunks/ssr/_0skuoxv._.js.map +1 -1
  255. package/.next/server/chunks/ssr/{_1alz6n5._.js โ†’ _14i_6yb._.js} +2 -2
  256. package/.next/server/chunks/ssr/_14i_6yb._.js.map +1 -0
  257. package/.next/server/chunks/ssr/_1c95ems._.js +1 -1
  258. package/.next/server/chunks/ssr/_1c95ems._.js.map +1 -1
  259. package/.next/server/chunks/ssr/{_1s08bv8._.js โ†’ _1cbhuz4._.js} +2 -2
  260. package/.next/server/chunks/ssr/_1cbhuz4._.js.map +1 -0
  261. package/.next/server/chunks/ssr/_1ewk_mn._.js +3 -0
  262. package/.next/server/chunks/ssr/_1ewk_mn._.js.map +1 -0
  263. package/.next/server/chunks/ssr/_1y-ofyw._.js +3 -0
  264. package/.next/server/chunks/ssr/_1y-ofyw._.js.map +1 -0
  265. package/.next/server/chunks/ssr/{node_modules__pnpm_08em703._.js โ†’ node_modules__pnpm_0--x5-5._.js} +1 -1
  266. package/.next/server/chunks/ssr/{node_modules__pnpm_1gqkoe3._.js โ†’ node_modules__pnpm_00i3mh2._.js} +1 -1
  267. package/.next/server/chunks/ssr/{node_modules__pnpm_1kngagu._.js โ†’ node_modules__pnpm_00wjhj4._.js} +1 -1
  268. package/.next/server/chunks/ssr/{node_modules__pnpm_12s6q4d._.js โ†’ node_modules__pnpm_042y3e-._.js} +1 -1
  269. package/.next/server/chunks/ssr/{node_modules__pnpm_0wnlgm-._.js โ†’ node_modules__pnpm_04xoqd9._.js} +2 -2
  270. package/.next/server/chunks/ssr/{node_modules__pnpm_1hw4h9e._.js โ†’ node_modules__pnpm_07j8gcu._.js} +1 -1
  271. package/.next/server/chunks/ssr/node_modules__pnpm_0bmkw6o._.js +3 -0
  272. package/.next/server/chunks/ssr/node_modules__pnpm_0bmkw6o._.js.map +1 -0
  273. package/.next/server/chunks/ssr/{node_modules__pnpm_1jfqun_._.js โ†’ node_modules__pnpm_0cj37c-._.js} +1 -1
  274. package/.next/server/chunks/ssr/node_modules__pnpm_0cj37c-._.js.map +1 -0
  275. package/.next/server/chunks/ssr/{node_modules__pnpm_0_z3_bl._.js โ†’ node_modules__pnpm_0fk-8nl._.js} +1 -1
  276. package/.next/server/chunks/ssr/{node_modules__pnpm_20tdqv_._.js โ†’ node_modules__pnpm_0kna82c._.js} +1 -1
  277. package/.next/server/chunks/ssr/{node_modules__pnpm_0e15nhj._.js โ†’ node_modules__pnpm_0ma8hho._.js} +1 -1
  278. package/.next/server/chunks/ssr/{node_modules__pnpm_0rd-a9g._.js โ†’ node_modules__pnpm_0nbxdp_._.js} +1 -1
  279. package/.next/server/chunks/ssr/{node_modules__pnpm_0baie09._.js โ†’ node_modules__pnpm_0p10j87._.js} +1 -1
  280. package/.next/server/chunks/ssr/{node_modules__pnpm_1ad2q27._.js โ†’ node_modules__pnpm_0w9uewb._.js} +1 -1
  281. package/.next/server/chunks/ssr/{node_modules__pnpm_0e3u5g-._.js โ†’ node_modules__pnpm_0yixxj2._.js} +1 -1
  282. package/.next/server/chunks/ssr/{node_modules__pnpm_1ly58kw._.js โ†’ node_modules__pnpm_1-poetj._.js} +1 -1
  283. package/.next/server/chunks/ssr/{node_modules__pnpm_1u8p2h3._.js โ†’ node_modules__pnpm_11lluiq._.js} +2 -2
  284. package/.next/server/chunks/ssr/{node_modules__pnpm_1f3lm9p._.js โ†’ node_modules__pnpm_17o8zbz._.js} +1 -1
  285. package/.next/server/chunks/ssr/{node_modules__pnpm_1moe8b6._.js โ†’ node_modules__pnpm_18pu1wl._.js} +1 -1
  286. package/.next/server/chunks/ssr/{node_modules__pnpm_1h890n6._.js โ†’ node_modules__pnpm_19ejwjv._.js} +1 -1
  287. package/.next/server/chunks/ssr/{node_modules__pnpm_1o3_0-n._.js โ†’ node_modules__pnpm_19ys1iv._.js} +1 -1
  288. package/.next/server/chunks/ssr/{node_modules__pnpm_0i0uccx._.js โ†’ node_modules__pnpm_1_34wt2._.js} +1 -1
  289. package/.next/server/chunks/ssr/{node_modules__pnpm_0jhh7p5._.js โ†’ node_modules__pnpm_1a3fo7j._.js} +2 -2
  290. package/.next/server/chunks/ssr/{node_modules__pnpm_1gtgu48._.js โ†’ node_modules__pnpm_1l-posw._.js} +2 -2
  291. package/.next/server/chunks/ssr/{node_modules__pnpm_07_kgbe._.js โ†’ node_modules__pnpm_1o30a9w._.js} +1 -1
  292. package/.next/server/chunks/ssr/{node_modules__pnpm_1_o0jyk._.js โ†’ node_modules__pnpm_1r4w_7k._.js} +2 -2
  293. package/.next/server/chunks/ssr/{node_modules__pnpm_1zu-9we._.js โ†’ node_modules__pnpm_1xolwvc._.js} +2 -2
  294. package/.next/server/chunks/ssr/{node_modules__pnpm_0ns_6dd._.js โ†’ node_modules__pnpm_1zsbfem._.js} +1 -1
  295. package/.next/server/chunks/ssr/src_app_(app)_settings_page_tsx_0zevtee._.js +2 -2
  296. package/.next/server/chunks/ssr/src_app_(app)_settings_page_tsx_0zevtee._.js.map +1 -1
  297. package/.next/server/chunks/ssr/src_components_008q3v8._.js +3 -0
  298. package/.next/server/chunks/ssr/src_components_008q3v8._.js.map +1 -0
  299. package/.next/server/middleware-build-manifest.js +4 -4
  300. package/.next/server/pages/404.html +1 -1
  301. package/.next/server/pages/500.html +1 -1
  302. package/.next/server/server-reference-manifest.js +1 -1
  303. package/.next/server/server-reference-manifest.json +1 -1
  304. package/.next/static/chunks/0-vk2d2nnzav2.js +3 -0
  305. package/.next/static/chunks/0eggcu0ovk8sd.js +68 -0
  306. package/.next/static/chunks/{145g20k60txhc.js โ†’ 0iva6rdtfqpbz.js} +1 -1
  307. package/.next/static/chunks/0qm101bdsxdyh.css +10 -0
  308. package/.next/static/chunks/0wg9n5zb8mo2p.js +1 -0
  309. package/.next/static/chunks/0z_y7el6m76yk.js +1 -0
  310. package/.next/static/chunks/1-ekntoveuxzd.js +4 -0
  311. package/.next/static/chunks/10neasnz6hhq1.js +1 -0
  312. package/.next/static/chunks/1r7z33e9jk3vp.js +1 -0
  313. package/.next/static/chunks/{2f7yju8yks2m9.js โ†’ 1xyepk9227yej.js} +6 -73
  314. package/.next/static/chunks/22dw7r8x0h2sx.js +1 -0
  315. package/.next/static/chunks/26ee8jsbellqk.js +21 -0
  316. package/.next/static/chunks/{0aiy7o5bsiixt.js โ†’ 3kkg030rcpz7l.js} +1 -1
  317. package/.next/static/chunks/3pf_4ye6ju8gt.js +1 -0
  318. package/.next/static/chunks/turbopack-2qsbj8zx38t0j.js +1 -0
  319. package/README.md +2 -0
  320. package/next.config.js +4 -7
  321. package/package.json +1 -1
  322. package/skills/epic-breakdown/SKILL.md +11 -1
  323. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0fw_tls._.js +0 -3
  324. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0q6tm_c._.js +0 -3
  325. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0qyh79u._.js +0 -3
  326. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0rfkb6q._.js +0 -3
  327. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0x1yqfb._.js +0 -3
  328. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0yt3ewg._.js +0 -3
  329. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1-kttjy._.js +0 -3
  330. package/.next/server/chunks/11mp_@anthropic-ai_sdk_12h8gza._.js +0 -3
  331. package/.next/server/chunks/11mp_@anthropic-ai_sdk_18c2w1i._.js +0 -3
  332. package/.next/server/chunks/11mp_@anthropic-ai_sdk_18fnlqa._.js +0 -3
  333. package/.next/server/chunks/11mp_@anthropic-ai_sdk_19on0yg._.js +0 -3
  334. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1alh48t._.js +0 -3
  335. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1ck56ir._.js +0 -3
  336. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1daia98._.js +0 -3
  337. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1f6snvo._.js +0 -3
  338. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1p6s626._.js +0 -3
  339. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1ps921l._.js +0 -3
  340. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1rqxfdf._.js +0 -3
  341. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1s7maye._.js +0 -3
  342. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1vuy6_x._.js +0 -3
  343. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1xv39eu._.js +0 -3
  344. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_078qkb6._.js +0 -3
  345. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0q7-hjh._.js +0 -3
  346. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_165bzk6._.js +0 -3
  347. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1hfbfb5._.js +0 -3
  348. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1sa-8tw._.js +0 -3
  349. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1xq_gof._.js +0 -3
  350. package/.next/server/chunks/[root-of-the-server]__0-rjzmv._.js +0 -3
  351. package/.next/server/chunks/[root-of-the-server]__01yk8oi._.js +0 -3
  352. package/.next/server/chunks/[root-of-the-server]__02k1gkk._.js +0 -3
  353. package/.next/server/chunks/[root-of-the-server]__0635d15._.js +0 -3
  354. package/.next/server/chunks/[root-of-the-server]__0af0ma6._.js +0 -3
  355. package/.next/server/chunks/[root-of-the-server]__0b49g9i._.js +0 -3
  356. package/.next/server/chunks/[root-of-the-server]__0d4jkve._.js +0 -10
  357. package/.next/server/chunks/[root-of-the-server]__0j-xjbf._.js +0 -3
  358. package/.next/server/chunks/[root-of-the-server]__0kaegk7._.js +0 -3
  359. package/.next/server/chunks/[root-of-the-server]__0kkefbq._.js +0 -3
  360. package/.next/server/chunks/[root-of-the-server]__0l3voov._.js +0 -3
  361. package/.next/server/chunks/[root-of-the-server]__0qsx33x._.js +0 -3
  362. package/.next/server/chunks/[root-of-the-server]__0sc44r6._.js +0 -86
  363. package/.next/server/chunks/[root-of-the-server]__0sc44r6._.js.map +0 -1
  364. package/.next/server/chunks/[root-of-the-server]__0u2rl0m._.js +0 -3
  365. package/.next/server/chunks/[root-of-the-server]__0uk0tga._.js +0 -3
  366. package/.next/server/chunks/[root-of-the-server]__0v8x64y._.js +0 -3
  367. package/.next/server/chunks/[root-of-the-server]__0xqsv4h._.js +0 -3
  368. package/.next/server/chunks/[root-of-the-server]__0yd6wlm._.js +0 -3
  369. package/.next/server/chunks/[root-of-the-server]__0zybyuh._.js +0 -3
  370. package/.next/server/chunks/[root-of-the-server]__134sb3d._.js +0 -3
  371. package/.next/server/chunks/[root-of-the-server]__134sb3d._.js.map +0 -1
  372. package/.next/server/chunks/[root-of-the-server]__15suc44._.js +0 -3
  373. package/.next/server/chunks/[root-of-the-server]__1jeqjz6._.js +0 -3
  374. package/.next/server/chunks/[root-of-the-server]__1kfohrq._.js +0 -3
  375. package/.next/server/chunks/[root-of-the-server]__1mz21a2._.js +0 -3
  376. package/.next/server/chunks/[root-of-the-server]__1mz21a2._.js.map +0 -1
  377. package/.next/server/chunks/[root-of-the-server]__1vaownn._.js +0 -3
  378. package/.next/server/chunks/[root-of-the-server]__1yow6hw._.js +0 -3
  379. package/.next/server/chunks/[root-of-the-server]__1znbm9i._.js +0 -3
  380. package/.next/server/chunks/_0csymdc._.js +0 -34
  381. package/.next/server/chunks/_0csymdc._.js.map +0 -1
  382. package/.next/server/chunks/_1f1rssd._.js +0 -3
  383. package/.next/server/chunks/_1f1rssd._.js.map +0 -1
  384. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_1v0h3_3._.js +0 -3
  385. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_1v0h3_3._.js.map +0 -1
  386. package/.next/server/chunks/ssr/_0v7muti._.js +0 -3
  387. package/.next/server/chunks/ssr/_0v7muti._.js.map +0 -1
  388. package/.next/server/chunks/ssr/_1a9mqm1._.js +0 -3
  389. package/.next/server/chunks/ssr/_1a9mqm1._.js.map +0 -1
  390. package/.next/server/chunks/ssr/_1alz6n5._.js.map +0 -1
  391. package/.next/server/chunks/ssr/_1s08bv8._.js.map +0 -1
  392. package/.next/server/chunks/ssr/node_modules__pnpm_051nq8c._.js +0 -3
  393. package/.next/server/chunks/ssr/node_modules__pnpm_051nq8c._.js.map +0 -1
  394. package/.next/server/chunks/ssr/src_components_0wg3bi2._.js +0 -3
  395. package/.next/server/chunks/ssr/src_components_0wg3bi2._.js.map +0 -1
  396. package/.next/static/chunks/05qw7-fs1exlt.js +0 -1
  397. package/.next/static/chunks/0_vu3y1bvg843.js +0 -1
  398. package/.next/static/chunks/0fvzbdfwiu4a2.js +0 -1
  399. package/.next/static/chunks/14ewdzt8piprq.js +0 -1
  400. package/.next/static/chunks/1g6fxjtlpv6p5.js +0 -1
  401. package/.next/static/chunks/1lfr973ckp6by.js +0 -3
  402. package/.next/static/chunks/2-faknwci76np.js +0 -21
  403. package/.next/static/chunks/2g08tblvdp0t_.js +0 -2
  404. package/.next/static/chunks/2gdlf-xhbpc75.css +0 -10
  405. package/.next/static/chunks/2xu8bb_0152j-.js +0 -1
  406. package/.next/static/chunks/turbopack-181pehyg9iyaw.js +0 -1
  407. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0-q4v32._.js.map โ†’ 11mp_@anthropic-ai_sdk_0-5bkpj._.js.map} +0 -0
  408. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_05dmim9._.js.map โ†’ 11mp_@anthropic-ai_sdk_00psb_y._.js.map} +0 -0
  409. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_05hfnhc._.js.map โ†’ 11mp_@anthropic-ai_sdk_01l5h3i._.js.map} +0 -0
  410. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_07xtb0h._.js.map โ†’ 11mp_@anthropic-ai_sdk_072r2bd._.js.map} +0 -0
  411. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0fw_tls._.js.map โ†’ 11mp_@anthropic-ai_sdk_0am8bw2._.js.map} +0 -0
  412. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0q6tm_c._.js.map โ†’ 11mp_@anthropic-ai_sdk_0enefn6._.js.map} +0 -0
  413. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0qyh79u._.js.map โ†’ 11mp_@anthropic-ai_sdk_0k3n_5f._.js.map} +0 -0
  414. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0rfkb6q._.js.map โ†’ 11mp_@anthropic-ai_sdk_0lcfjm4._.js.map} +0 -0
  415. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0x1yqfb._.js.map โ†’ 11mp_@anthropic-ai_sdk_0lfx9av._.js.map} +0 -0
  416. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0yt3ewg._.js.map โ†’ 11mp_@anthropic-ai_sdk_0qau3qw._.js.map} +0 -0
  417. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1-kttjy._.js.map โ†’ 11mp_@anthropic-ai_sdk_0r1pmvm._.js.map} +0 -0
  418. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_12h8gza._.js.map โ†’ 11mp_@anthropic-ai_sdk_11t-z2t._.js.map} +0 -0
  419. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_18c2w1i._.js.map โ†’ 11mp_@anthropic-ai_sdk_15hyn79._.js.map} +0 -0
  420. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_18fnlqa._.js.map โ†’ 11mp_@anthropic-ai_sdk_1_qk07x._.js.map} +0 -0
  421. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_19on0yg._.js.map โ†’ 11mp_@anthropic-ai_sdk_1b2929e._.js.map} +0 -0
  422. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1alh48t._.js.map โ†’ 11mp_@anthropic-ai_sdk_1e72c89._.js.map} +0 -0
  423. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1ck56ir._.js.map โ†’ 11mp_@anthropic-ai_sdk_1eq7asn._.js.map} +0 -0
  424. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1daia98._.js.map โ†’ 11mp_@anthropic-ai_sdk_1fhdojs._.js.map} +0 -0
  425. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1f6snvo._.js.map โ†’ 11mp_@anthropic-ai_sdk_1lh_vwq._.js.map} +0 -0
  426. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1p6s626._.js.map โ†’ 11mp_@anthropic-ai_sdk_1ludf-o._.js.map} +0 -0
  427. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1ps921l._.js.map โ†’ 11mp_@anthropic-ai_sdk_1m3luz3._.js.map} +0 -0
  428. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1rqxfdf._.js.map โ†’ 11mp_@anthropic-ai_sdk_1x1iz3d._.js.map} +0 -0
  429. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1s7maye._.js.map โ†’ 11mp_@anthropic-ai_sdk_1xsmwlh._.js.map} +0 -0
  430. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1vuy6_x._.js.map โ†’ 11mp_@anthropic-ai_sdk_202spah._.js.map} +0 -0
  431. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1xv39eu._.js.map โ†’ 11mp_@anthropic-ai_sdk_215hw9u._.js.map} +0 -0
  432. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_078qkb6._.js.map โ†’ 11mp_@anthropic-ai_sdk_index_mjs_0n-i0pd._.js.map} +0 -0
  433. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_0q7-hjh._.js.map โ†’ 11mp_@anthropic-ai_sdk_index_mjs_13pos4j._.js.map} +0 -0
  434. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_165bzk6._.js.map โ†’ 11mp_@anthropic-ai_sdk_index_mjs_17b4pqr._.js.map} +0 -0
  435. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1hfbfb5._.js.map โ†’ 11mp_@anthropic-ai_sdk_index_mjs_1bkcmom._.js.map} +0 -0
  436. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1sa-8tw._.js.map โ†’ 11mp_@anthropic-ai_sdk_index_mjs_1hlj_3l._.js.map} +0 -0
  437. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1xq_gof._.js.map โ†’ 11mp_@anthropic-ai_sdk_index_mjs_1ip-sor._.js.map} +0 -0
  438. /package/.next/server/chunks/{[root-of-the-server]__0uk0tga._.js.map โ†’ 11mp_@anthropic-ai_sdk_index_mjs_1pex5o1._.js.map} +0 -0
  439. /package/.next/server/chunks/{[root-of-the-server]__1jeqjz6._.js.map โ†’ 11mp_@anthropic-ai_sdk_index_mjs_1s8lc8_._.js.map} +0 -0
  440. /package/.next/server/chunks/{[root-of-the-server]__1kfohrq._.js.map โ†’ [root-of-the-server]__0e59y5j._.js.map} +0 -0
  441. /package/.next/server/chunks/{ssr/0_nd_mermaid_dist_mermaid_core_mjs_10jvzv6._.js.map โ†’ [root-of-the-server]__11s76m8._.js.map} +0 -0
  442. /package/.next/server/chunks/ssr/{1u84_katex_dist_katex_mjs_05prlqa._.js.map โ†’ 0_nd_mermaid_dist_mermaid_core_mjs_1vulg1x._.js.map} +0 -0
  443. /package/.next/server/chunks/ssr/{node_modules__pnpm_08em703._.js.map โ†’ 1u84_katex_dist_katex_mjs_0mwkb-i._.js.map} +0 -0
  444. /package/.next/server/chunks/ssr/{node_modules__pnpm_0wnlgm-._.js.map โ†’ node_modules__pnpm_0--x5-5._.js.map} +0 -0
  445. /package/.next/server/chunks/ssr/{node_modules__pnpm_1gqkoe3._.js.map โ†’ node_modules__pnpm_00i3mh2._.js.map} +0 -0
  446. /package/.next/server/chunks/ssr/{node_modules__pnpm_1kngagu._.js.map โ†’ node_modules__pnpm_00wjhj4._.js.map} +0 -0
  447. /package/.next/server/chunks/ssr/{node_modules__pnpm_12s6q4d._.js.map โ†’ node_modules__pnpm_042y3e-._.js.map} +0 -0
  448. /package/.next/server/chunks/ssr/{node_modules__pnpm_1jfqun_._.js.map โ†’ node_modules__pnpm_04xoqd9._.js.map} +0 -0
  449. /package/.next/server/chunks/ssr/{node_modules__pnpm_1hw4h9e._.js.map โ†’ node_modules__pnpm_07j8gcu._.js.map} +0 -0
  450. /package/.next/server/chunks/ssr/{node_modules__pnpm_0_z3_bl._.js.map โ†’ node_modules__pnpm_0fk-8nl._.js.map} +0 -0
  451. /package/.next/server/chunks/ssr/{node_modules__pnpm_20tdqv_._.js.map โ†’ node_modules__pnpm_0kna82c._.js.map} +0 -0
  452. /package/.next/server/chunks/ssr/{node_modules__pnpm_0e15nhj._.js.map โ†’ node_modules__pnpm_0ma8hho._.js.map} +0 -0
  453. /package/.next/server/chunks/ssr/{node_modules__pnpm_0rd-a9g._.js.map โ†’ node_modules__pnpm_0nbxdp_._.js.map} +0 -0
  454. /package/.next/server/chunks/ssr/{node_modules__pnpm_0baie09._.js.map โ†’ node_modules__pnpm_0p10j87._.js.map} +0 -0
  455. /package/.next/server/chunks/ssr/{node_modules__pnpm_1ad2q27._.js.map โ†’ node_modules__pnpm_0w9uewb._.js.map} +0 -0
  456. /package/.next/server/chunks/ssr/{node_modules__pnpm_0e3u5g-._.js.map โ†’ node_modules__pnpm_0yixxj2._.js.map} +0 -0
  457. /package/.next/server/chunks/ssr/{node_modules__pnpm_1ly58kw._.js.map โ†’ node_modules__pnpm_1-poetj._.js.map} +0 -0
  458. /package/.next/server/chunks/ssr/{node_modules__pnpm_1u8p2h3._.js.map โ†’ node_modules__pnpm_11lluiq._.js.map} +0 -0
  459. /package/.next/server/chunks/ssr/{node_modules__pnpm_1f3lm9p._.js.map โ†’ node_modules__pnpm_17o8zbz._.js.map} +0 -0
  460. /package/.next/server/chunks/ssr/{node_modules__pnpm_1moe8b6._.js.map โ†’ node_modules__pnpm_18pu1wl._.js.map} +0 -0
  461. /package/.next/server/chunks/ssr/{node_modules__pnpm_1h890n6._.js.map โ†’ node_modules__pnpm_19ejwjv._.js.map} +0 -0
  462. /package/.next/server/chunks/ssr/{node_modules__pnpm_1o3_0-n._.js.map โ†’ node_modules__pnpm_19ys1iv._.js.map} +0 -0
  463. /package/.next/server/chunks/ssr/{node_modules__pnpm_0i0uccx._.js.map โ†’ node_modules__pnpm_1_34wt2._.js.map} +0 -0
  464. /package/.next/server/chunks/ssr/{node_modules__pnpm_0jhh7p5._.js.map โ†’ node_modules__pnpm_1a3fo7j._.js.map} +0 -0
  465. /package/.next/server/chunks/ssr/{node_modules__pnpm_1gtgu48._.js.map โ†’ node_modules__pnpm_1l-posw._.js.map} +0 -0
  466. /package/.next/server/chunks/ssr/{node_modules__pnpm_07_kgbe._.js.map โ†’ node_modules__pnpm_1o30a9w._.js.map} +0 -0
  467. /package/.next/server/chunks/ssr/{node_modules__pnpm_1_o0jyk._.js.map โ†’ node_modules__pnpm_1r4w_7k._.js.map} +0 -0
  468. /package/.next/server/chunks/ssr/{node_modules__pnpm_1zu-9we._.js.map โ†’ node_modules__pnpm_1xolwvc._.js.map} +0 -0
  469. /package/.next/server/chunks/ssr/{node_modules__pnpm_0ns_6dd._.js.map โ†’ node_modules__pnpm_1zsbfem._.js.map} +0 -0
  470. /package/.next/static/{cmDLf8WOU5PVmUOcSPh2H โ†’ gJtrYenzL6_deB-6pdvIL}/_buildManifest.js +0 -0
  471. /package/.next/static/{cmDLf8WOU5PVmUOcSPh2H โ†’ gJtrYenzL6_deB-6pdvIL}/_clientMiddlewareManifest.js +0 -0
  472. /package/.next/static/{cmDLf8WOU5PVmUOcSPh2H โ†’ gJtrYenzL6_deB-6pdvIL}/_ssgManifest.js +0 -0
@@ -1,4 +1,4 @@
1
- module.exports=[381249,a=>{"use strict";var b=a.i(662145),c=a.i(174897),d=a.i(544394),e=a.i(256857);let f={name:"palette",size:24,node:[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]};f.node;let g=(0,e.default)(f),h={name:"type",size:24,node:[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]};h.node;let i=(0,e.default)(h),j={name:"folder-cog",size:24,node:[["path",{d:"M10.3 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.98a2 2 0 0 1 1.69.9l.66 1.2A2 2 0 0 0 12 6h8a2 2 0 0 1 2 2v3.3",key:"128dxu"}],["path",{d:"m14.305 19.53.923-.382",key:"3m78fa"}],["path",{d:"m15.228 16.852-.923-.383",key:"npixar"}],["path",{d:"m16.852 15.228-.383-.923",key:"5xggr7"}],["path",{d:"m16.852 20.772-.383.924",key:"dpfhf9"}],["path",{d:"m19.148 15.228.383-.923",key:"1reyyz"}],["path",{d:"m19.53 21.696-.382-.924",key:"1goivc"}],["path",{d:"m20.772 16.852.924-.383",key:"htqkph"}],["path",{d:"m20.772 19.148.924.383",key:"9w9pjp"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]],aliases:["folder-cog-2"]};j.node;let k=(0,e.default)(j),l={name:"plug",size:24,node:[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]]};l.node;let m=(0,e.default)(l);var n=a.i(879136),o=a.i(795667),p=a.i(966420),q=a.i(368114);let r={name:"moon",size:24,node:[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]};r.node;let s=(0,e.default)(r),t={name:"sun",size:24,node:[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]};t.node;let u=(0,e.default)(t),v={name:"monitor",size:24,node:[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]};v.node;let w=(0,e.default)(v);var x=a.i(425404),y=a.i(817163);let z=[{id:"blue",label:"Blue",class:"bg-blue-500"},{id:"purple",label:"Purple",class:"bg-purple-500"},{id:"green",label:"Green",class:"bg-green-500"},{id:"orange",label:"Orange",class:"bg-orange-500"}],A=[{id:"small",label:"Small"},{id:"medium",label:"Medium"},{id:"large",label:"Large"}];function B({settings:a,onSave:c}){return(0,b.jsxs)("div",{className:"space-y-8",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-xl font-semibold text-txt mb-1",children:"Appearance"}),(0,b.jsx)("p",{className:"text-sm text-muted",children:"Customize the look and feel of the app."})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:"Theme"}),(0,b.jsx)("div",{className:"grid grid-cols-3 gap-3",children:[{id:"dark",label:"Dark",icon:s},{id:"light",label:"Light",icon:u},{id:"system",label:"System",icon:w}].map(d=>{let e=d.icon,f=a.theme===d.id;return(0,b.jsxs)("button",{onClick:()=>c({...a,theme:d.id}),className:(0,q.cn)("flex flex-col items-center gap-2 p-4 rounded-lg border transition-colors",f?"border-accent bg-accent/10":"border-border hover:border-accent/50"),children:[(0,b.jsx)(e,{className:(0,q.cn)("w-5 h-5",f?"text-accent":"text-muted")}),(0,b.jsx)("span",{className:(0,q.cn)("text-sm",f?"text-accent font-medium":"text-muted"),children:d.label})]},d.id)})})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:"Accent Color"}),(0,b.jsx)("div",{className:"flex gap-3",children:z.map(d=>{let e=a.accentColor===d.id;return(0,b.jsx)("button",{onClick:()=>c({...a,accentColor:d.id}),className:(0,q.cn)("w-10 h-10 rounded-full flex items-center justify-center transition-transform",d.class,e?"ring-2 ring-offset-2 ring-offset-bg ring-white scale-110":"hover:scale-105"),title:d.label,children:e&&(0,b.jsx)(x.Check,{className:"w-5 h-5 text-white"})},d.id)})})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:"Font Size"}),(0,b.jsx)("div",{className:"flex gap-2",children:A.map(d=>{let e=a.fontSize===d.id;return(0,b.jsx)("button",{onClick:()=>c({...a,fontSize:d.id}),className:(0,q.cn)("px-4 py-2 rounded-lg border text-sm transition-colors",e?"border-accent bg-accent/10 text-accent font-medium":"border-border text-muted hover:border-accent/50"),children:d.label},d.id)})})]}),[{key:"fontSans",label:"Interface Font",fonts:y.SANS_FONTS,fallback:"system-ui",sample:"Ship the roadmap by Friday"},{key:"fontMono",label:"Code Font",fonts:y.MONO_FONTS,fallback:"ui-monospace, Menlo, Consolas, monospace",sample:"const id = 0O1lI;"}].map(d=>(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:d.label}),(0,b.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:d.fonts.map(e=>{let f=a[d.key]===e.id;return(0,b.jsxs)("button",{onClick:()=>c({...a,[d.key]:e.id}),className:(0,q.cn)("text-left p-3 rounded-lg border transition-colors",f?"border-accent bg-accent/10":"border-border hover:border-accent/50"),children:[(0,b.jsx)("div",{className:"text-base text-txt truncate",style:{fontFamily:"system"===e.id?d.fallback:`var(--font-${e.id})`},children:d.sample}),(0,b.jsx)("div",{className:(0,q.cn)("mt-1 text-xs",f?"text-accent font-medium":"text-txt"),children:e.label}),(0,b.jsx)("div",{className:"text-xs text-muted",children:e.note})]},e.id)})})]},d.key))]})}let C=[{value:0,label:"Off"},{value:5,label:"5 seconds"},{value:10,label:"10 seconds"},{value:30,label:"30 seconds"}],D=[{id:"split",label:"Split View"},{id:"tab",label:"Tab View"},{id:"preview",label:"Preview Only"}];function E({settings:a,onSave:c}){let d=(b,d)=>{c({...a,editor:{...a.editor,[b]:d}})};return(0,b.jsxs)("div",{className:"space-y-8",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-xl font-semibold text-txt mb-1",children:"Editor"}),(0,b.jsx)("p",{className:"text-sm text-muted",children:"Configure the markdown editor behavior."})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:"Auto-save"}),(0,b.jsx)("div",{className:"flex flex-wrap gap-2",children:C.map(c=>{let e=a.editor.autoSave===c.value;return(0,b.jsx)("button",{onClick:()=>d("autoSave",c.value),className:(0,q.cn)("px-4 py-2 rounded-lg border text-sm transition-colors",e?"border-accent bg-accent/10 text-accent font-medium":"border-border text-muted hover:border-accent/50"),children:c.label},c.value)})})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:"Preview Mode"}),(0,b.jsx)("div",{className:"flex flex-wrap gap-2",children:D.map(c=>{let e=a.editor.previewMode===c.id;return(0,b.jsx)("button",{onClick:()=>d("previewMode",c.id),className:(0,q.cn)("px-4 py-2 rounded-lg border text-sm transition-colors",e?"border-accent bg-accent/10 text-accent font-medium":"border-border text-muted hover:border-accent/50"),children:c.label},c.id)})})]}),(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"text-sm font-medium text-txt",children:"Word Wrap"}),(0,b.jsx)("div",{className:"text-xs text-muted",children:"Wrap long lines in the editor"})]}),(0,b.jsx)("button",{onClick:()=>d("wordWrap",!a.editor.wordWrap),className:(0,q.cn)("w-11 h-6 rounded-full transition-colors relative",a.editor.wordWrap?"bg-accent":"bg-border"),children:(0,b.jsx)("span",{className:(0,q.cn)("absolute top-1 w-4 h-4 rounded-full bg-white transition-transform",a.editor.wordWrap?"left-6":"left-1")})})]}),(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"text-sm font-medium text-txt",children:"Line Numbers"}),(0,b.jsx)("div",{className:"text-xs text-muted",children:"Show line numbers in the editor"})]}),(0,b.jsx)("button",{onClick:()=>d("lineNumbers",!a.editor.lineNumbers),className:(0,q.cn)("w-11 h-6 rounded-full transition-colors relative",a.editor.lineNumbers?"bg-accent":"bg-border"),children:(0,b.jsx)("span",{className:(0,q.cn)("absolute top-1 w-4 h-4 rounded-full bg-white transition-transform",a.editor.lineNumbers?"left-6":"left-1")})})]})]})]})}let F=[{value:0,label:"Off"},{value:5,label:"5 seconds"},{value:10,label:"10 seconds"},{value:30,label:"30 seconds"}];function G({settings:a,onSave:c}){let d=(b,d)=>{c({...a,project:{...a.project,[b]:d}})};return(0,b.jsxs)("div",{className:"space-y-8",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-xl font-semibold text-txt mb-1",children:"Project"}),(0,b.jsx)("p",{className:"text-sm text-muted",children:"Configure project-level settings."})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:"Auto-refresh Interval"}),(0,b.jsx)("p",{className:"text-xs text-muted",children:"How often to check for changes in the project files."}),(0,b.jsx)("div",{className:"flex flex-wrap gap-2",children:F.map(c=>{let e=a.project.autoRefresh===c.value;return(0,b.jsx)("button",{onClick:()=>d("autoRefresh",c.value),className:(0,q.cn)("px-4 py-2 rounded-lg border text-sm transition-colors",e?"border-accent bg-accent/10 text-accent font-medium":"border-border text-muted hover:border-accent/50"),children:c.label},c.value)})})]}),(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"text-sm font-medium text-txt",children:"Show Hidden Files"}),(0,b.jsx)("div",{className:"text-xs text-muted",children:"Display files starting with a dot"})]}),(0,b.jsx)("button",{onClick:()=>d("showHidden",!a.project.showHidden),className:(0,q.cn)("w-11 h-6 rounded-full transition-colors relative",a.project.showHidden?"bg-accent":"bg-border"),children:(0,b.jsx)("span",{className:(0,q.cn)("absolute top-1 w-4 h-4 rounded-full bg-white transition-transform",a.project.showHidden?"left-6":"left-1")})})]})]})}var H=a.i(54165),I=a.i(60084),J=a.i(108280),K=a.i(866718);let L={"claude-code":{name:"Claude Code",config:`{
1
+ module.exports=[381249,a=>{"use strict";var b=a.i(662145),c=a.i(174897),d=a.i(544394),e=a.i(256857);let f={name:"palette",size:24,node:[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]};f.node;let g=(0,e.default)(f),h={name:"type",size:24,node:[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]};h.node;let i=(0,e.default)(h),j={name:"folder-cog",size:24,node:[["path",{d:"M10.3 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.98a2 2 0 0 1 1.69.9l.66 1.2A2 2 0 0 0 12 6h8a2 2 0 0 1 2 2v3.3",key:"128dxu"}],["path",{d:"m14.305 19.53.923-.382",key:"3m78fa"}],["path",{d:"m15.228 16.852-.923-.383",key:"npixar"}],["path",{d:"m16.852 15.228-.383-.923",key:"5xggr7"}],["path",{d:"m16.852 20.772-.383.924",key:"dpfhf9"}],["path",{d:"m19.148 15.228.383-.923",key:"1reyyz"}],["path",{d:"m19.53 21.696-.382-.924",key:"1goivc"}],["path",{d:"m20.772 16.852.924-.383",key:"htqkph"}],["path",{d:"m20.772 19.148.924.383",key:"9w9pjp"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]],aliases:["folder-cog-2"]};j.node;let k=(0,e.default)(j),l={name:"plug",size:24,node:[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]]};l.node;let m=(0,e.default)(l);var n=a.i(879136),o=a.i(795667),p=a.i(966420),q=a.i(368114);let r={name:"moon",size:24,node:[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]};r.node;let s=(0,e.default)(r),t={name:"sun",size:24,node:[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]};t.node;let u=(0,e.default)(t),v={name:"monitor",size:24,node:[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]};v.node;let w=(0,e.default)(v);var x=a.i(425404),y=a.i(817163);let z=[{id:"blue",label:"Blue",class:"bg-blue-500"},{id:"purple",label:"Purple",class:"bg-purple-500"},{id:"green",label:"Green",class:"bg-green-500"},{id:"orange",label:"Orange",class:"bg-orange-500"}],A=[{id:"small",label:"Small"},{id:"medium",label:"Medium"},{id:"large",label:"Large"}];function B({settings:a,onSave:c}){return(0,b.jsxs)("div",{className:"space-y-8",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-xl font-semibold text-txt mb-1",children:"Appearance"}),(0,b.jsx)("p",{className:"text-sm text-muted",children:"Customize the look and feel of the app."})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:"Theme"}),(0,b.jsx)("div",{className:"grid grid-cols-3 gap-3",children:[{id:"dark",label:"Dark",icon:s},{id:"light",label:"Light",icon:u},{id:"system",label:"System",icon:w}].map(d=>{let e=d.icon,f=a.theme===d.id;return(0,b.jsxs)("button",{onClick:()=>c({...a,theme:d.id}),className:(0,q.cn)("flex flex-col items-center gap-2 p-4 rounded-lg border transition-colors",f?"border-accent bg-accent/10":"border-border hover:border-accent/50"),children:[(0,b.jsx)(e,{className:(0,q.cn)("w-5 h-5",f?"text-accent":"text-muted")}),(0,b.jsx)("span",{className:(0,q.cn)("text-sm",f?"text-accent font-medium":"text-muted"),children:d.label})]},d.id)})})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:"Accent Color"}),(0,b.jsx)("div",{className:"flex gap-3",children:z.map(d=>{let e=a.accentColor===d.id;return(0,b.jsx)("button",{onClick:()=>c({...a,accentColor:d.id}),className:(0,q.cn)("w-10 h-10 rounded-full flex items-center justify-center transition-transform",d.class,e?"ring-2 ring-offset-2 ring-offset-bg ring-white scale-110":"hover:scale-105"),title:d.label,children:e&&(0,b.jsx)(x.Check,{className:"w-5 h-5 text-white"})},d.id)})})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:"Font Size"}),(0,b.jsx)("div",{className:"flex gap-2",children:A.map(d=>{let e=a.fontSize===d.id;return(0,b.jsx)("button",{onClick:()=>c({...a,fontSize:d.id}),className:(0,q.cn)("px-4 py-2 rounded-lg border text-sm transition-colors",e?"border-accent bg-accent/10 text-accent font-medium":"border-border text-muted hover:border-accent/50"),children:d.label},d.id)})})]}),[{key:"fontSans",label:"Interface Font",fonts:y.SANS_FONTS,fallback:"system-ui",sample:"Ship the roadmap by Friday"},{key:"fontMono",label:"Code Font",fonts:y.MONO_FONTS,fallback:"ui-monospace, Menlo, Consolas, monospace",sample:"const id = 0O1lI;"}].map(d=>(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:d.label}),(0,b.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:d.fonts.map(e=>{let f=a[d.key]===e.id;return(0,b.jsxs)("button",{onClick:()=>c({...a,[d.key]:e.id}),className:(0,q.cn)("text-left p-3 rounded-lg border transition-colors",f?"border-accent bg-accent/10":"border-border hover:border-accent/50"),children:[(0,b.jsx)("div",{className:"text-base text-txt truncate",style:{fontFamily:"system"===e.id?d.fallback:`var(--font-${e.id})`},children:d.sample}),(0,b.jsx)("div",{className:(0,q.cn)("mt-1 text-xs",f?"text-accent font-medium":"text-txt"),children:e.label}),(0,b.jsx)("div",{className:"text-xs text-muted",children:e.note})]},e.id)})})]},d.key))]})}let C=[{value:0,label:"Off"},{value:5,label:"5 seconds"},{value:10,label:"10 seconds"},{value:30,label:"30 seconds"}],D=[{id:"split",label:"Split View"},{id:"tab",label:"Tab View"},{id:"preview",label:"Preview Only"}];function E({settings:a,onSave:c}){let d=(b,d)=>{c({...a,editor:{...a.editor,[b]:d}})};return(0,b.jsxs)("div",{className:"space-y-8",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-xl font-semibold text-txt mb-1",children:"Editor"}),(0,b.jsx)("p",{className:"text-sm text-muted",children:"Configure the markdown editor behavior."})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:"Auto-save"}),(0,b.jsx)("div",{className:"flex flex-wrap gap-2",children:C.map(c=>{let e=a.editor.autoSave===c.value;return(0,b.jsx)("button",{onClick:()=>d("autoSave",c.value),className:(0,q.cn)("px-4 py-2 rounded-lg border text-sm transition-colors",e?"border-accent bg-accent/10 text-accent font-medium":"border-border text-muted hover:border-accent/50"),children:c.label},c.value)})})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:"Preview Mode"}),(0,b.jsx)("div",{className:"flex flex-wrap gap-2",children:D.map(c=>{let e=a.editor.previewMode===c.id;return(0,b.jsx)("button",{onClick:()=>d("previewMode",c.id),className:(0,q.cn)("px-4 py-2 rounded-lg border text-sm transition-colors",e?"border-accent bg-accent/10 text-accent font-medium":"border-border text-muted hover:border-accent/50"),children:c.label},c.id)})})]}),(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"text-sm font-medium text-txt",children:"Word Wrap"}),(0,b.jsx)("div",{className:"text-xs text-muted",children:"Wrap long lines in the editor"})]}),(0,b.jsx)("button",{onClick:()=>d("wordWrap",!a.editor.wordWrap),className:(0,q.cn)("w-11 h-6 rounded-full transition-colors relative",a.editor.wordWrap?"bg-accent":"bg-border"),children:(0,b.jsx)("span",{className:(0,q.cn)("absolute top-1 w-4 h-4 rounded-full bg-white transition-transform",a.editor.wordWrap?"left-6":"left-1")})})]}),(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"text-sm font-medium text-txt",children:"Line Numbers"}),(0,b.jsx)("div",{className:"text-xs text-muted",children:"Show line numbers in the editor"})]}),(0,b.jsx)("button",{onClick:()=>d("lineNumbers",!a.editor.lineNumbers),className:(0,q.cn)("w-11 h-6 rounded-full transition-colors relative",a.editor.lineNumbers?"bg-accent":"bg-border"),children:(0,b.jsx)("span",{className:(0,q.cn)("absolute top-1 w-4 h-4 rounded-full bg-white transition-transform",a.editor.lineNumbers?"left-6":"left-1")})})]})]})]})}let F=[{value:0,label:"Off"},{value:5,label:"5 seconds"},{value:10,label:"10 seconds"},{value:30,label:"30 seconds"}];function G({settings:a,onSave:c}){let d=(b,d)=>{c({...a,project:{...a.project,[b]:d}})};return(0,b.jsxs)("div",{className:"space-y-8",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-xl font-semibold text-txt mb-1",children:"Project"}),(0,b.jsx)("p",{className:"text-sm text-muted",children:"Configure project-level settings."})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:"Auto-refresh Interval"}),(0,b.jsx)("p",{className:"text-xs text-muted",children:"How often to check for changes in the project files."}),(0,b.jsx)("div",{className:"flex flex-wrap gap-2",children:F.map(c=>{let e=a.project.autoRefresh===c.value;return(0,b.jsx)("button",{onClick:()=>d("autoRefresh",c.value),className:(0,q.cn)("px-4 py-2 rounded-lg border text-sm transition-colors",e?"border-accent bg-accent/10 text-accent font-medium":"border-border text-muted hover:border-accent/50"),children:c.label},c.value)})})]}),(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"text-sm font-medium text-txt",children:"Show Hidden Files"}),(0,b.jsx)("div",{className:"text-xs text-muted",children:"Display files starting with a dot"})]}),(0,b.jsx)("button",{onClick:()=>d("showHidden",!a.project.showHidden),className:(0,q.cn)("w-11 h-6 rounded-full transition-colors relative",a.project.showHidden?"bg-accent":"bg-border"),children:(0,b.jsx)("span",{className:(0,q.cn)("absolute top-1 w-4 h-4 rounded-full bg-white transition-transform",a.project.showHidden?"left-6":"left-1")})})]})]})}var H=a.i(54165),I=a.i(60084),J=a.i(108280),K=a.i(866718),L=a.i(689101);let M={"claude-code":{name:"Claude Code",config:`{
2
2
  "mcpServers": {
3
3
  "vibedoc": {
4
4
  "url": "{{ENDPOINT}}"
@@ -18,6 +18,6 @@ module.exports=[381249,a=>{"use strict";var b=a.i(662145),c=a.i(174897),d=a.i(54
18
18
  "url": "{{ENDPOINT}}"
19
19
  }
20
20
  }
21
- }`,path:".windsurf/mcp.json"}};function M({settings:a,onSave:d}){let[e,f]=(0,c.useState)(!1),[g,h]=(0,c.useState)(null),[i,j]=(0,c.useState)(null),k=async()=>{f(!0),h(null);try{(await fetch(a.mcp.endpoint,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({jsonrpc:"2.0",id:1,method:"tools/list"})})).ok?h("success"):h("error")}catch{h("error")}f(!1)},l=async b=>{let c=L[b].config.replace("{{ENDPOINT}}",a.mcp.endpoint);await navigator.clipboard.writeText(c),j(b),setTimeout(()=>j(null),2e3)};return(0,b.jsxs)("div",{className:"space-y-8",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-xl font-semibold text-txt mb-1",children:"MCP Connection"}),(0,b.jsx)("p",{className:"text-sm text-muted",children:"Configure the Model Context Protocol server for AI agents."})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:"MCP Endpoint"}),(0,b.jsxs)("div",{className:"flex gap-2",children:[(0,b.jsx)(K.Input,{value:a.mcp.endpoint,onChange:b=>{var c;return c=b.target.value,void d({...a,mcp:{...a.mcp,endpoint:c}})},className:"bg-surface2 font-mono text-sm"}),(0,b.jsxs)("button",{onClick:k,disabled:e,className:"px-4 py-2 bg-accent text-white rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors disabled:opacity-50 flex items-center gap-2",children:[e?(0,b.jsx)(J.Loader2,{className:"w-4 h-4 animate-spin"}):(0,b.jsx)(m,{className:"w-4 h-4"}),"Test"]})]}),g&&(0,b.jsx)("div",{className:(0,q.cn)("flex items-center gap-2 text-sm","success"===g?"text-green-400":"text-red-400"),children:"success"===g?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(x.Check,{className:"w-4 h-4"}),"Connection successful"]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(H.X,{className:"w-4 h-4"}),"Connection failed"]})})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:"Agent Configuration"}),(0,b.jsx)("p",{className:"text-xs text-muted",children:"Copy the configuration for your coding agent:"}),(0,b.jsx)("div",{className:"space-y-2",children:Object.entries(L).map(([a,c])=>(0,b.jsxs)("div",{className:"flex items-center justify-between p-3 border border-border rounded-lg",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"text-sm font-medium text-txt",children:c.name}),(0,b.jsx)("div",{className:"text-xs text-muted font-mono",children:c.path})]}),(0,b.jsx)("button",{onClick:()=>l(a),className:(0,q.cn)("flex items-center gap-2 px-3 py-1.5 rounded-lg text-sm transition-colors",i===a?"bg-green-500/20 text-green-400":"bg-surface2 text-muted hover:text-txt"),children:i===a?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(x.Check,{className:"w-3.5 h-3.5"}),"Copied"]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(I.Copy,{className:"w-3.5 h-3.5"}),"Copy"]})})]},a))})]})]})}var N=a.i(200382),O=a.i(661661),P=a.i(28386);let Q=["vibedoc_read_doc","vibedoc_write_doc","vibedoc_search_docs","vibedoc_list_docs","vibedoc_get_status","vibedoc_list_tasks","vibedoc_update_task","vibedoc_read_memory","vibedoc_update_memory"],R=["๐Ÿ”ง","๐Ÿ“","๐Ÿงช","๐Ÿ”","๐Ÿ“Š","๐Ÿ”’","โšก","๐ŸŽฏ","๐Ÿ’ก","๐Ÿš€"];function S({skills:a,onSave:d}){let[e,f]=(0,c.useState)(null),[g,h]=(0,c.useState)(null),[i,j]=(0,c.useState)(!1),k=()=>{f(null),h(null),j(!1)},l=()=>{g&&g.name.trim()&&(i?d([...a,g]):d(a.map(a=>a.id===g.id?g:a)),k())},m=a=>{if(!g)return;let b=g.tools.includes(a)?g.tools.filter(b=>b!==a):[...g.tools,a];h({...g,tools:b})};return(0,b.jsxs)("div",{className:"space-y-6",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-xl font-semibold text-txt mb-1",children:"Skills"}),(0,b.jsx)("p",{className:"text-sm text-muted",children:"Reusable capabilities for AI agents."})]}),(0,b.jsxs)("button",{onClick:()=>{let a={id:`skill-${Date.now()}`,name:"",description:"",trigger:"/",prompt:"",tools:[],icon:"โšก"};f(a.id),h(a),j(!0)},className:"flex items-center gap-2 px-3 py-2 bg-accent text-white rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors",children:[(0,b.jsx)(N.Plus,{className:"w-4 h-4"}),"Add Skill"]})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[a.map(c=>(0,b.jsx)("div",{children:e===c.id&&g?(0,b.jsxs)("div",{className:"border border-accent rounded-lg p-4 space-y-4 bg-accent/5",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("select",{value:g.icon||"โšก",onChange:a=>h({...g,icon:a.target.value}),className:"w-12 h-10 text-center text-xl bg-surface2 border border-border rounded-lg",children:R.map(a=>(0,b.jsx)("option",{value:a,children:a},a))}),(0,b.jsx)(K.Input,{value:g.name,onChange:a=>h({...g,name:a.target.value}),placeholder:"Skill name",className:"bg-surface2"})]}),(0,b.jsx)(K.Input,{value:g.description,onChange:a=>h({...g,description:a.target.value}),placeholder:"Description",className:"bg-surface2"}),(0,b.jsx)("div",{className:"flex gap-3",children:(0,b.jsxs)("div",{className:"flex-1",children:[(0,b.jsx)("label",{className:"text-xs text-muted mb-1 block",children:"Trigger"}),(0,b.jsx)(K.Input,{value:g.trigger,onChange:a=>h({...g,trigger:a.target.value}),placeholder:"/command",className:"bg-surface2 font-mono"})]})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"text-xs text-muted mb-1 block",children:"System Prompt"}),(0,b.jsx)("textarea",{value:g.prompt,onChange:a=>h({...g,prompt:a.target.value}),placeholder:"Instructions for the AI when this skill is activated...",rows:4,className:"w-full px-3 py-2 bg-surface2 border border-border rounded-lg text-sm resize-none"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"text-xs text-muted mb-2 block",children:"Available Tools"}),(0,b.jsx)("div",{className:"flex flex-wrap gap-2",children:Q.map(a=>(0,b.jsx)("button",{onClick:()=>m(a),className:(0,q.cn)("px-2 py-1 rounded-sm text-xs font-mono transition-colors",g.tools.includes(a)?"bg-accent/20 text-accent":"bg-surface2 text-muted hover:text-txt"),children:a.replace("vibedoc_","")},a))})]}),(0,b.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,b.jsx)("button",{onClick:k,className:"px-3 py-1.5 text-sm text-muted hover:text-txt transition-colors",children:"Cancel"}),(0,b.jsxs)("button",{onClick:l,disabled:!g.name.trim(),className:"flex items-center gap-2 px-3 py-1.5 bg-accent text-white rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors disabled:opacity-50",children:[(0,b.jsx)(x.Check,{className:"w-4 h-4"}),"Save"]})]})]}):(0,b.jsxs)("div",{className:"flex items-start gap-3 p-4 border border-border rounded-lg hover:border-accent/30 transition-colors group",children:[(0,b.jsx)("div",{className:"w-10 h-10 rounded-lg bg-surface2 flex items-center justify-center text-xl shrink-0",children:c.icon||"โšก"}),(0,b.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{className:"font-medium text-txt",children:c.name}),(0,b.jsx)("code",{className:"text-xs bg-surface2 px-1.5 py-0.5 rounded-sm text-accent",children:c.trigger})]}),(0,b.jsx)("p",{className:"text-sm text-muted mt-0.5",children:c.description}),c.tools.length>0&&(0,b.jsx)("div",{className:"flex flex-wrap gap-1 mt-2",children:c.tools.map(a=>(0,b.jsx)("span",{className:"text-xs bg-surface2 px-1.5 py-0.5 rounded-sm text-muted",children:a.replace("vibedoc_","")},a))})]}),(0,b.jsxs)("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[(0,b.jsx)("button",{onClick:()=>{f(c.id),h({...c}),j(!1)},className:"p-1.5 rounded-sm hover:bg-surface2 text-muted hover:text-txt transition-colors",children:(0,b.jsx)(O.Pencil,{className:"w-4 h-4"})}),(0,b.jsx)("button",{onClick:()=>{var b;return b=c.id,void(confirm("Delete this skill?")&&d(a.filter(a=>a.id!==b)))},className:"p-1.5 rounded-sm hover:bg-red-500/10 text-muted hover:text-red-400 transition-colors",children:(0,b.jsx)(P.Trash2,{className:"w-4 h-4"})})]})]})},c.id)),i&&g&&(0,b.jsxs)("div",{className:"border border-accent rounded-lg p-4 space-y-4 bg-accent/5",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("select",{value:g.icon||"โšก",onChange:a=>h({...g,icon:a.target.value}),className:"w-12 h-10 text-center text-xl bg-surface2 border border-border rounded-lg",children:R.map(a=>(0,b.jsx)("option",{value:a,children:a},a))}),(0,b.jsx)(K.Input,{value:g.name,onChange:a=>h({...g,name:a.target.value}),placeholder:"Skill name",className:"bg-surface2"})]}),(0,b.jsx)(K.Input,{value:g.description,onChange:a=>h({...g,description:a.target.value}),placeholder:"Description",className:"bg-surface2"}),(0,b.jsx)("div",{className:"flex gap-3",children:(0,b.jsxs)("div",{className:"flex-1",children:[(0,b.jsx)("label",{className:"text-xs text-muted mb-1 block",children:"Trigger"}),(0,b.jsx)(K.Input,{value:g.trigger,onChange:a=>h({...g,trigger:a.target.value}),placeholder:"/command",className:"bg-surface2 font-mono"})]})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"text-xs text-muted mb-1 block",children:"System Prompt"}),(0,b.jsx)("textarea",{value:g.prompt,onChange:a=>h({...g,prompt:a.target.value}),placeholder:"Instructions for the AI when this skill is activated...",rows:4,className:"w-full px-3 py-2 bg-surface2 border border-border rounded-lg text-sm resize-none"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"text-xs text-muted mb-2 block",children:"Available Tools"}),(0,b.jsx)("div",{className:"flex flex-wrap gap-2",children:Q.map(a=>(0,b.jsx)("button",{onClick:()=>m(a),className:(0,q.cn)("px-2 py-1 rounded-sm text-xs font-mono transition-colors",g.tools.includes(a)?"bg-accent/20 text-accent":"bg-surface2 text-muted hover:text-txt"),children:a.replace("vibedoc_","")},a))})]}),(0,b.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,b.jsx)("button",{onClick:k,className:"px-3 py-1.5 text-sm text-muted hover:text-txt transition-colors",children:"Cancel"}),(0,b.jsxs)("button",{onClick:l,disabled:!g.name.trim(),className:"flex items-center gap-2 px-3 py-1.5 bg-accent text-white rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors disabled:opacity-50",children:[(0,b.jsx)(x.Check,{className:"w-4 h-4"}),"Save"]})]})]}),0===a.length&&!i&&(0,b.jsxs)("div",{className:"text-center py-8 text-muted",children:[(0,b.jsx)(n.Zap,{className:"w-10 h-10 mx-auto mb-3 opacity-30"}),(0,b.jsx)("p",{className:"text-sm",children:"No skills configured"}),(0,b.jsx)("p",{className:"text-xs mt-1",children:"Add a skill to give your agents capabilities"})]})]})]})}let T=["๐Ÿค–","๐Ÿ“š","๐Ÿ”’","๐Ÿงช","๐Ÿ“","๐Ÿ”ง","๐Ÿ’ก","๐ŸŽฏ","๐Ÿš€","โšก"];function U({agents:a,skills:d,onSave:e}){let[f,g]=(0,c.useState)(null),[h,i]=(0,c.useState)(null),[j,k]=(0,c.useState)(!1),l=()=>{g(null),i(null),k(!1)},m=()=>{h&&h.name.trim()&&(j?e([...a,h]):e(a.map(a=>a.id===h.id?h:a)),l())},n=a=>(0,b.jsxs)("div",{className:"border border-accent rounded-lg p-4 space-y-4 bg-accent/5",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("select",{value:a.icon,onChange:b=>i({...a,icon:b.target.value}),className:"w-12 h-10 text-center text-xl bg-surface2 border border-border rounded-lg",children:T.map(a=>(0,b.jsx)("option",{value:a,children:a},a))}),(0,b.jsx)(K.Input,{value:a.name,onChange:b=>i({...a,name:b.target.value}),placeholder:"Agent name",className:"bg-surface2"})]}),(0,b.jsx)(K.Input,{value:a.description,onChange:b=>i({...a,description:b.target.value}),placeholder:"Description",className:"bg-surface2"}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"text-xs text-muted mb-2 block",children:"Assigned Skills"}),(0,b.jsxs)("div",{className:"flex flex-wrap gap-2",children:[d.map(c=>(0,b.jsxs)("button",{onClick:()=>(a=>{if(!h)return;let b=h.skills.includes(a)?h.skills.filter(b=>b!==a):[...h.skills,a];i({...h,skills:b})})(c.id),className:(0,q.cn)("flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg text-sm transition-colors",a.skills.includes(c.id)?"bg-accent/20 text-accent":"bg-surface2 text-muted hover:text-txt"),children:[(0,b.jsx)("span",{children:c.icon||"โšก"}),c.name]},c.id)),0===d.length&&(0,b.jsx)("span",{className:"text-xs text-muted",children:"No skills available. Create skills first."})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"text-xs text-muted mb-1 block",children:"Custom System Prompt"}),(0,b.jsx)("textarea",{value:a.prompt,onChange:b=>i({...a,prompt:b.target.value}),placeholder:"Additional instructions for this agent...",rows:3,className:"w-full px-3 py-2 bg-surface2 border border-border rounded-lg text-sm resize-none"})]}),(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("button",{onClick:()=>i({...a,active:!a.active}),className:(0,q.cn)("w-11 h-6 rounded-full transition-colors relative",a.active?"bg-accent":"bg-border"),children:(0,b.jsx)("span",{className:(0,q.cn)("absolute top-1 w-4 h-4 rounded-full bg-white transition-transform",a.active?"left-6":"left-1")})}),(0,b.jsx)("span",{className:"text-sm text-muted",children:a.active?"Active":"Inactive"})]}),(0,b.jsxs)("div",{className:"flex gap-2",children:[(0,b.jsx)("button",{onClick:l,className:"px-3 py-1.5 text-sm text-muted hover:text-txt transition-colors",children:"Cancel"}),(0,b.jsxs)("button",{onClick:m,disabled:!a.name.trim(),className:"flex items-center gap-2 px-3 py-1.5 bg-accent text-white rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors disabled:opacity-50",children:[(0,b.jsx)(x.Check,{className:"w-4 h-4"}),"Save"]})]})]})]});return(0,b.jsxs)("div",{className:"space-y-6",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-xl font-semibold text-txt mb-1",children:"Agents"}),(0,b.jsx)("p",{className:"text-sm text-muted",children:"AI agent profiles with assigned skills."})]}),(0,b.jsxs)("button",{onClick:()=>{let a={id:`agent-${Date.now()}`,name:"",icon:"๐Ÿค–",description:"",skills:[],prompt:"",active:!0};g(a.id),i(a),k(!0)},className:"flex items-center gap-2 px-3 py-2 bg-accent text-white rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors",children:[(0,b.jsx)(N.Plus,{className:"w-4 h-4"}),"Add Agent"]})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[a.map(c=>(0,b.jsx)("div",{children:f===c.id&&h?n(h):(0,b.jsxs)("div",{className:(0,q.cn)("flex items-start gap-3 p-4 border rounded-lg transition-colors group",c.active?"border-border hover:border-accent/30":"border-border/50 opacity-60"),children:[(0,b.jsx)("div",{className:"w-10 h-10 rounded-lg bg-surface2 flex items-center justify-center text-xl shrink-0",children:c.icon}),(0,b.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{className:"font-medium text-txt",children:c.name}),!c.active&&(0,b.jsx)("span",{className:"text-xs bg-surface2 px-1.5 py-0.5 rounded-sm text-muted",children:"Inactive"})]}),(0,b.jsx)("p",{className:"text-sm text-muted mt-0.5",children:c.description}),c.skills.length>0&&(0,b.jsx)("div",{className:"flex flex-wrap gap-1 mt-2",children:c.skills.map(a=>{let c=d.find(b=>b.id===a);return c?(0,b.jsxs)("span",{className:"flex items-center gap-1 text-xs bg-surface2 px-1.5 py-0.5 rounded-sm text-muted",children:[c.icon," ",c.name]},a):null})})]}),(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("button",{onClick:()=>{var b;return b=c.id,void e(a.map(a=>a.id===b?{...a,active:!a.active}:a))},className:(0,q.cn)("w-9 h-5 rounded-full transition-colors relative",c.active?"bg-accent":"bg-border"),children:(0,b.jsx)("span",{className:(0,q.cn)("absolute top-0.5 w-4 h-4 rounded-full bg-white transition-transform",c.active?"left-4":"left-0.5")})}),(0,b.jsxs)("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[(0,b.jsx)("button",{onClick:()=>{g(c.id),i({...c}),k(!1)},className:"p-1.5 rounded-sm hover:bg-surface2 text-muted hover:text-txt transition-colors",children:(0,b.jsx)(O.Pencil,{className:"w-4 h-4"})}),(0,b.jsx)("button",{onClick:()=>{var b;return b=c.id,void(confirm("Delete this agent?")&&e(a.filter(a=>a.id!==b)))},className:"p-1.5 rounded-sm hover:bg-red-500/10 text-muted hover:text-red-400 transition-colors",children:(0,b.jsx)(P.Trash2,{className:"w-4 h-4"})})]})]})]})},c.id)),j&&h&&n(h),0===a.length&&!j&&(0,b.jsxs)("div",{className:"text-center py-8 text-muted",children:[(0,b.jsx)(o.Bot,{className:"w-10 h-10 mx-auto mb-3 opacity-30"}),(0,b.jsx)("p",{className:"text-sm",children:"No agents configured"}),(0,b.jsx)("p",{className:"text-xs mt-1",children:"Add an agent to define AI personas with skills"})]})]})]})}var V=a.i(210436);let W=[{id:"appearance",label:"Appearance",icon:g},{id:"editor",label:"Editor",icon:i},{id:"project",label:"Project",icon:k},{id:"mcp",label:"MCP",icon:m},{id:"skills",label:"Skills",icon:n.Zap},{id:"agents",label:"Agents",icon:o.Bot}];a.s(["default",0,function(){let{rootParam:a,setEditorSettings:e,setAutoRefreshSeconds:f}=(0,d.useApp)(),[g,h]=(0,c.useState)("appearance"),[i,j]=(0,c.useState)(y.DEFAULT_SETTINGS),[k,l]=(0,c.useState)(y.DEFAULT_SKILLS),[m,n]=(0,c.useState)(y.DEFAULT_AGENTS),[o,r]=(0,c.useState)(!0),[s,t]=(0,c.useState)(!1),u=(0,c.useCallback)(async()=>{try{let b=await fetch(`/api/settings${a}&type=all`),c=await b.json();j({...y.DEFAULT_SETTINGS,...c.settings}),l(c.skills||y.DEFAULT_SKILLS),n(c.agents||y.DEFAULT_AGENTS)}catch{}r(!1)},[a]);(0,c.useEffect)(()=>{u()},[u]);let v=async b=>{t(!0),j(b);try{await fetch(`/api/settings${a}&type=settings`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)}),(0,V.applyTheme)(b.theme),(0,V.applyAccent)(b.accentColor),(0,V.applyFontSize)(b.fontSize),(0,V.applyFonts)(b),e(b.editor),f(b.project?.autoRefresh??0)}catch{}t(!1)},w=async b=>{t(!0),l(b);try{await fetch(`/api/settings${a}&type=skills`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)})}catch{}t(!1)},x=async b=>{t(!0),n(b);try{await fetch(`/api/settings${a}&type=agents`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)})}catch{}t(!1)};return o?(0,b.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,b.jsx)("div",{className:"text-muted",children:"Loading settings..."})}):(0,b.jsxs)("div",{className:"flex h-full",children:[(0,b.jsxs)("aside",{className:"w-56 border-r border-border bg-sidebar shrink-0",children:[(0,b.jsx)("div",{className:"p-4 border-b border-border",children:(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(p.Settings,{className:"w-5 h-5 text-accent"}),(0,b.jsx)("h1",{className:"font-semibold text-txt",children:"Settings"})]})}),(0,b.jsx)("nav",{className:"p-2",children:W.map(a=>{let c=a.icon;return(0,b.jsxs)("button",{onClick:()=>h(a.id),className:(0,q.cn)("w-full flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors",g===a.id?"bg-accent/10 text-accent font-medium":"text-muted hover:text-txt hover:bg-surface2"),children:[(0,b.jsx)(c,{className:"w-4 h-4"}),a.label]},a.id)})})]}),(0,b.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,b.jsxs)("div",{className:"max-w-2xl mx-auto p-6",children:[s&&(0,b.jsx)("div",{className:"fixed top-4 right-4 bg-accent text-white px-3 py-1.5 rounded-lg text-sm shadow-lg",children:"Saving..."}),"appearance"===g&&(0,b.jsx)(B,{settings:i,onSave:v}),"editor"===g&&(0,b.jsx)(E,{settings:i,onSave:v}),"project"===g&&(0,b.jsx)(G,{settings:i,onSave:v}),"mcp"===g&&(0,b.jsx)(M,{settings:i,onSave:v}),"skills"===g&&(0,b.jsx)(S,{skills:k,onSave:w}),"agents"===g&&(0,b.jsx)(U,{agents:m,skills:k,onSave:x})]})})]})}],381249)}];
21
+ }`,path:".windsurf/mcp.json"}};function N({settings:a,onSave:d}){let[e,f]=(0,c.useState)(!1),[g,h]=(0,c.useState)(null),[i,j]=(0,c.useState)(null),k=(0,y.resolveMcpEndpoint)(a.mcp.endpoint,(0,L.useOrigin)()),l=async()=>{f(!0),h(null);try{(await fetch(k,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({jsonrpc:"2.0",id:1,method:"tools/list"})})).ok?h("success"):h("error")}catch{h("error")}f(!1)},n=async a=>{let b=M[a].config.replace("{{ENDPOINT}}",k);await navigator.clipboard.writeText(b),j(a),setTimeout(()=>j(null),2e3)};return(0,b.jsxs)("div",{className:"space-y-8",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-xl font-semibold text-txt mb-1",children:"MCP Connection"}),(0,b.jsx)("p",{className:"text-sm text-muted",children:"Configure the Model Context Protocol server for AI agents."})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:"MCP Endpoint"}),(0,b.jsxs)("div",{className:"flex gap-2",children:[(0,b.jsx)(K.Input,{value:k,onChange:b=>{var c;return c=b.target.value,void d({...a,mcp:{...a.mcp,endpoint:c}})},className:"bg-surface2 font-mono text-sm"}),(0,b.jsxs)("button",{onClick:l,disabled:e,className:"px-4 py-2 bg-accent text-white rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors disabled:opacity-50 flex items-center gap-2",children:[e?(0,b.jsx)(J.Loader2,{className:"w-4 h-4 animate-spin"}):(0,b.jsx)(m,{className:"w-4 h-4"}),"Test"]})]}),g&&(0,b.jsx)("div",{className:(0,q.cn)("flex items-center gap-2 text-sm","success"===g?"text-green-400":"text-red-400"),children:"success"===g?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(x.Check,{className:"w-4 h-4"}),"Connection successful"]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(H.X,{className:"w-4 h-4"}),"Connection failed"]})})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-txt",children:"Agent Configuration"}),(0,b.jsx)("p",{className:"text-xs text-muted",children:"Copy the configuration for your coding agent:"}),(0,b.jsx)("div",{className:"space-y-2",children:Object.entries(M).map(([a,c])=>(0,b.jsxs)("div",{className:"flex items-center justify-between p-3 border border-border rounded-lg",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"text-sm font-medium text-txt",children:c.name}),(0,b.jsx)("div",{className:"text-xs text-muted font-mono",children:c.path})]}),(0,b.jsx)("button",{onClick:()=>n(a),className:(0,q.cn)("flex items-center gap-2 px-3 py-1.5 rounded-lg text-sm transition-colors",i===a?"bg-green-500/20 text-green-400":"bg-surface2 text-muted hover:text-txt"),children:i===a?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(x.Check,{className:"w-3.5 h-3.5"}),"Copied"]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(I.Copy,{className:"w-3.5 h-3.5"}),"Copy"]})})]},a))})]})]})}var O=a.i(200382),P=a.i(661661),Q=a.i(28386);let R=["vibedoc_read_doc","vibedoc_write_doc","vibedoc_search_docs","vibedoc_list_docs","vibedoc_get_status","vibedoc_list_tasks","vibedoc_update_task","vibedoc_read_memory","vibedoc_update_memory"],S=["๐Ÿ”ง","๐Ÿ“","๐Ÿงช","๐Ÿ”","๐Ÿ“Š","๐Ÿ”’","โšก","๐ŸŽฏ","๐Ÿ’ก","๐Ÿš€"];function T({skills:a,onSave:d}){let[e,f]=(0,c.useState)(null),[g,h]=(0,c.useState)(null),[i,j]=(0,c.useState)(!1),k=()=>{f(null),h(null),j(!1)},l=()=>{g&&g.name.trim()&&(i?d([...a,g]):d(a.map(a=>a.id===g.id?g:a)),k())},m=a=>{if(!g)return;let b=g.tools.includes(a)?g.tools.filter(b=>b!==a):[...g.tools,a];h({...g,tools:b})};return(0,b.jsxs)("div",{className:"space-y-6",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-xl font-semibold text-txt mb-1",children:"Skills"}),(0,b.jsx)("p",{className:"text-sm text-muted",children:"Reusable capabilities for AI agents."})]}),(0,b.jsxs)("button",{onClick:()=>{let a={id:`skill-${Date.now()}`,name:"",description:"",trigger:"/",prompt:"",tools:[],icon:"โšก"};f(a.id),h(a),j(!0)},className:"flex items-center gap-2 px-3 py-2 bg-accent text-white rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors",children:[(0,b.jsx)(O.Plus,{className:"w-4 h-4"}),"Add Skill"]})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[a.map(c=>(0,b.jsx)("div",{children:e===c.id&&g?(0,b.jsxs)("div",{className:"border border-accent rounded-lg p-4 space-y-4 bg-accent/5",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("select",{value:g.icon||"โšก",onChange:a=>h({...g,icon:a.target.value}),className:"w-12 h-10 text-center text-xl bg-surface2 border border-border rounded-lg",children:S.map(a=>(0,b.jsx)("option",{value:a,children:a},a))}),(0,b.jsx)(K.Input,{value:g.name,onChange:a=>h({...g,name:a.target.value}),placeholder:"Skill name",className:"bg-surface2"})]}),(0,b.jsx)(K.Input,{value:g.description,onChange:a=>h({...g,description:a.target.value}),placeholder:"Description",className:"bg-surface2"}),(0,b.jsx)("div",{className:"flex gap-3",children:(0,b.jsxs)("div",{className:"flex-1",children:[(0,b.jsx)("label",{className:"text-xs text-muted mb-1 block",children:"Trigger"}),(0,b.jsx)(K.Input,{value:g.trigger,onChange:a=>h({...g,trigger:a.target.value}),placeholder:"/command",className:"bg-surface2 font-mono"})]})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"text-xs text-muted mb-1 block",children:"System Prompt"}),(0,b.jsx)("textarea",{value:g.prompt,onChange:a=>h({...g,prompt:a.target.value}),placeholder:"Instructions for the AI when this skill is activated...",rows:4,className:"w-full px-3 py-2 bg-surface2 border border-border rounded-lg text-sm resize-none"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"text-xs text-muted mb-2 block",children:"Available Tools"}),(0,b.jsx)("div",{className:"flex flex-wrap gap-2",children:R.map(a=>(0,b.jsx)("button",{onClick:()=>m(a),className:(0,q.cn)("px-2 py-1 rounded-sm text-xs font-mono transition-colors",g.tools.includes(a)?"bg-accent/20 text-accent":"bg-surface2 text-muted hover:text-txt"),children:a.replace("vibedoc_","")},a))})]}),(0,b.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,b.jsx)("button",{onClick:k,className:"px-3 py-1.5 text-sm text-muted hover:text-txt transition-colors",children:"Cancel"}),(0,b.jsxs)("button",{onClick:l,disabled:!g.name.trim(),className:"flex items-center gap-2 px-3 py-1.5 bg-accent text-white rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors disabled:opacity-50",children:[(0,b.jsx)(x.Check,{className:"w-4 h-4"}),"Save"]})]})]}):(0,b.jsxs)("div",{className:"flex items-start gap-3 p-4 border border-border rounded-lg hover:border-accent/30 transition-colors group",children:[(0,b.jsx)("div",{className:"w-10 h-10 rounded-lg bg-surface2 flex items-center justify-center text-xl shrink-0",children:c.icon||"โšก"}),(0,b.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{className:"font-medium text-txt",children:c.name}),(0,b.jsx)("code",{className:"text-xs bg-surface2 px-1.5 py-0.5 rounded-sm text-accent",children:c.trigger})]}),(0,b.jsx)("p",{className:"text-sm text-muted mt-0.5",children:c.description}),c.tools.length>0&&(0,b.jsx)("div",{className:"flex flex-wrap gap-1 mt-2",children:c.tools.map(a=>(0,b.jsx)("span",{className:"text-xs bg-surface2 px-1.5 py-0.5 rounded-sm text-muted",children:a.replace("vibedoc_","")},a))})]}),(0,b.jsxs)("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[(0,b.jsx)("button",{onClick:()=>{f(c.id),h({...c}),j(!1)},className:"p-1.5 rounded-sm hover:bg-surface2 text-muted hover:text-txt transition-colors",children:(0,b.jsx)(P.Pencil,{className:"w-4 h-4"})}),(0,b.jsx)("button",{onClick:()=>{var b;return b=c.id,void(confirm("Delete this skill?")&&d(a.filter(a=>a.id!==b)))},className:"p-1.5 rounded-sm hover:bg-red-500/10 text-muted hover:text-red-400 transition-colors",children:(0,b.jsx)(Q.Trash2,{className:"w-4 h-4"})})]})]})},c.id)),i&&g&&(0,b.jsxs)("div",{className:"border border-accent rounded-lg p-4 space-y-4 bg-accent/5",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("select",{value:g.icon||"โšก",onChange:a=>h({...g,icon:a.target.value}),className:"w-12 h-10 text-center text-xl bg-surface2 border border-border rounded-lg",children:S.map(a=>(0,b.jsx)("option",{value:a,children:a},a))}),(0,b.jsx)(K.Input,{value:g.name,onChange:a=>h({...g,name:a.target.value}),placeholder:"Skill name",className:"bg-surface2"})]}),(0,b.jsx)(K.Input,{value:g.description,onChange:a=>h({...g,description:a.target.value}),placeholder:"Description",className:"bg-surface2"}),(0,b.jsx)("div",{className:"flex gap-3",children:(0,b.jsxs)("div",{className:"flex-1",children:[(0,b.jsx)("label",{className:"text-xs text-muted mb-1 block",children:"Trigger"}),(0,b.jsx)(K.Input,{value:g.trigger,onChange:a=>h({...g,trigger:a.target.value}),placeholder:"/command",className:"bg-surface2 font-mono"})]})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"text-xs text-muted mb-1 block",children:"System Prompt"}),(0,b.jsx)("textarea",{value:g.prompt,onChange:a=>h({...g,prompt:a.target.value}),placeholder:"Instructions for the AI when this skill is activated...",rows:4,className:"w-full px-3 py-2 bg-surface2 border border-border rounded-lg text-sm resize-none"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"text-xs text-muted mb-2 block",children:"Available Tools"}),(0,b.jsx)("div",{className:"flex flex-wrap gap-2",children:R.map(a=>(0,b.jsx)("button",{onClick:()=>m(a),className:(0,q.cn)("px-2 py-1 rounded-sm text-xs font-mono transition-colors",g.tools.includes(a)?"bg-accent/20 text-accent":"bg-surface2 text-muted hover:text-txt"),children:a.replace("vibedoc_","")},a))})]}),(0,b.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,b.jsx)("button",{onClick:k,className:"px-3 py-1.5 text-sm text-muted hover:text-txt transition-colors",children:"Cancel"}),(0,b.jsxs)("button",{onClick:l,disabled:!g.name.trim(),className:"flex items-center gap-2 px-3 py-1.5 bg-accent text-white rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors disabled:opacity-50",children:[(0,b.jsx)(x.Check,{className:"w-4 h-4"}),"Save"]})]})]}),0===a.length&&!i&&(0,b.jsxs)("div",{className:"text-center py-8 text-muted",children:[(0,b.jsx)(n.Zap,{className:"w-10 h-10 mx-auto mb-3 opacity-30"}),(0,b.jsx)("p",{className:"text-sm",children:"No skills configured"}),(0,b.jsx)("p",{className:"text-xs mt-1",children:"Add a skill to give your agents capabilities"})]})]})]})}let U=["๐Ÿค–","๐Ÿ“š","๐Ÿ”’","๐Ÿงช","๐Ÿ“","๐Ÿ”ง","๐Ÿ’ก","๐ŸŽฏ","๐Ÿš€","โšก"];function V({agents:a,skills:d,onSave:e}){let[f,g]=(0,c.useState)(null),[h,i]=(0,c.useState)(null),[j,k]=(0,c.useState)(!1),l=()=>{g(null),i(null),k(!1)},m=()=>{h&&h.name.trim()&&(j?e([...a,h]):e(a.map(a=>a.id===h.id?h:a)),l())},n=a=>(0,b.jsxs)("div",{className:"border border-accent rounded-lg p-4 space-y-4 bg-accent/5",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("select",{value:a.icon,onChange:b=>i({...a,icon:b.target.value}),className:"w-12 h-10 text-center text-xl bg-surface2 border border-border rounded-lg",children:U.map(a=>(0,b.jsx)("option",{value:a,children:a},a))}),(0,b.jsx)(K.Input,{value:a.name,onChange:b=>i({...a,name:b.target.value}),placeholder:"Agent name",className:"bg-surface2"})]}),(0,b.jsx)(K.Input,{value:a.description,onChange:b=>i({...a,description:b.target.value}),placeholder:"Description",className:"bg-surface2"}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"text-xs text-muted mb-2 block",children:"Assigned Skills"}),(0,b.jsxs)("div",{className:"flex flex-wrap gap-2",children:[d.map(c=>(0,b.jsxs)("button",{onClick:()=>(a=>{if(!h)return;let b=h.skills.includes(a)?h.skills.filter(b=>b!==a):[...h.skills,a];i({...h,skills:b})})(c.id),className:(0,q.cn)("flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg text-sm transition-colors",a.skills.includes(c.id)?"bg-accent/20 text-accent":"bg-surface2 text-muted hover:text-txt"),children:[(0,b.jsx)("span",{children:c.icon||"โšก"}),c.name]},c.id)),0===d.length&&(0,b.jsx)("span",{className:"text-xs text-muted",children:"No skills available. Create skills first."})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("label",{className:"text-xs text-muted mb-1 block",children:"Custom System Prompt"}),(0,b.jsx)("textarea",{value:a.prompt,onChange:b=>i({...a,prompt:b.target.value}),placeholder:"Additional instructions for this agent...",rows:3,className:"w-full px-3 py-2 bg-surface2 border border-border rounded-lg text-sm resize-none"})]}),(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("button",{onClick:()=>i({...a,active:!a.active}),className:(0,q.cn)("w-11 h-6 rounded-full transition-colors relative",a.active?"bg-accent":"bg-border"),children:(0,b.jsx)("span",{className:(0,q.cn)("absolute top-1 w-4 h-4 rounded-full bg-white transition-transform",a.active?"left-6":"left-1")})}),(0,b.jsx)("span",{className:"text-sm text-muted",children:a.active?"Active":"Inactive"})]}),(0,b.jsxs)("div",{className:"flex gap-2",children:[(0,b.jsx)("button",{onClick:l,className:"px-3 py-1.5 text-sm text-muted hover:text-txt transition-colors",children:"Cancel"}),(0,b.jsxs)("button",{onClick:m,disabled:!a.name.trim(),className:"flex items-center gap-2 px-3 py-1.5 bg-accent text-white rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors disabled:opacity-50",children:[(0,b.jsx)(x.Check,{className:"w-4 h-4"}),"Save"]})]})]})]});return(0,b.jsxs)("div",{className:"space-y-6",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-xl font-semibold text-txt mb-1",children:"Agents"}),(0,b.jsx)("p",{className:"text-sm text-muted",children:"AI agent profiles with assigned skills."})]}),(0,b.jsxs)("button",{onClick:()=>{let a={id:`agent-${Date.now()}`,name:"",icon:"๐Ÿค–",description:"",skills:[],prompt:"",active:!0};g(a.id),i(a),k(!0)},className:"flex items-center gap-2 px-3 py-2 bg-accent text-white rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors",children:[(0,b.jsx)(O.Plus,{className:"w-4 h-4"}),"Add Agent"]})]}),(0,b.jsxs)("div",{className:"space-y-3",children:[a.map(c=>(0,b.jsx)("div",{children:f===c.id&&h?n(h):(0,b.jsxs)("div",{className:(0,q.cn)("flex items-start gap-3 p-4 border rounded-lg transition-colors group",c.active?"border-border hover:border-accent/30":"border-border/50 opacity-60"),children:[(0,b.jsx)("div",{className:"w-10 h-10 rounded-lg bg-surface2 flex items-center justify-center text-xl shrink-0",children:c.icon}),(0,b.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{className:"font-medium text-txt",children:c.name}),!c.active&&(0,b.jsx)("span",{className:"text-xs bg-surface2 px-1.5 py-0.5 rounded-sm text-muted",children:"Inactive"})]}),(0,b.jsx)("p",{className:"text-sm text-muted mt-0.5",children:c.description}),c.skills.length>0&&(0,b.jsx)("div",{className:"flex flex-wrap gap-1 mt-2",children:c.skills.map(a=>{let c=d.find(b=>b.id===a);return c?(0,b.jsxs)("span",{className:"flex items-center gap-1 text-xs bg-surface2 px-1.5 py-0.5 rounded-sm text-muted",children:[c.icon," ",c.name]},a):null})})]}),(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("button",{onClick:()=>{var b;return b=c.id,void e(a.map(a=>a.id===b?{...a,active:!a.active}:a))},className:(0,q.cn)("w-9 h-5 rounded-full transition-colors relative",c.active?"bg-accent":"bg-border"),children:(0,b.jsx)("span",{className:(0,q.cn)("absolute top-0.5 w-4 h-4 rounded-full bg-white transition-transform",c.active?"left-4":"left-0.5")})}),(0,b.jsxs)("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[(0,b.jsx)("button",{onClick:()=>{g(c.id),i({...c}),k(!1)},className:"p-1.5 rounded-sm hover:bg-surface2 text-muted hover:text-txt transition-colors",children:(0,b.jsx)(P.Pencil,{className:"w-4 h-4"})}),(0,b.jsx)("button",{onClick:()=>{var b;return b=c.id,void(confirm("Delete this agent?")&&e(a.filter(a=>a.id!==b)))},className:"p-1.5 rounded-sm hover:bg-red-500/10 text-muted hover:text-red-400 transition-colors",children:(0,b.jsx)(Q.Trash2,{className:"w-4 h-4"})})]})]})]})},c.id)),j&&h&&n(h),0===a.length&&!j&&(0,b.jsxs)("div",{className:"text-center py-8 text-muted",children:[(0,b.jsx)(o.Bot,{className:"w-10 h-10 mx-auto mb-3 opacity-30"}),(0,b.jsx)("p",{className:"text-sm",children:"No agents configured"}),(0,b.jsx)("p",{className:"text-xs mt-1",children:"Add an agent to define AI personas with skills"})]})]})]})}var W=a.i(210436);let X=[{id:"appearance",label:"Appearance",icon:g},{id:"editor",label:"Editor",icon:i},{id:"project",label:"Project",icon:k},{id:"mcp",label:"MCP",icon:m},{id:"skills",label:"Skills",icon:n.Zap},{id:"agents",label:"Agents",icon:o.Bot}];a.s(["default",0,function(){let{rootParam:a,setEditorSettings:e,setAutoRefreshSeconds:f}=(0,d.useApp)(),[g,h]=(0,c.useState)("appearance"),[i,j]=(0,c.useState)(y.DEFAULT_SETTINGS),[k,l]=(0,c.useState)(y.DEFAULT_SKILLS),[m,n]=(0,c.useState)(y.DEFAULT_AGENTS),[o,r]=(0,c.useState)(!0),[s,t]=(0,c.useState)(!1),u=(0,c.useCallback)(async()=>{try{let b=await fetch(`/api/settings${a}&type=all`),c=await b.json();j({...y.DEFAULT_SETTINGS,...c.settings}),l(c.skills||y.DEFAULT_SKILLS),n(c.agents||y.DEFAULT_AGENTS)}catch{}r(!1)},[a]);(0,c.useEffect)(()=>{u()},[u]);let v=async b=>{t(!0),j(b);try{await fetch(`/api/settings${a}&type=settings`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)}),(0,W.applyTheme)(b.theme),(0,W.applyAccent)(b.accentColor),(0,W.applyFontSize)(b.fontSize),(0,W.applyFonts)(b),e(b.editor),f(b.project?.autoRefresh??0)}catch{}t(!1)},w=async b=>{t(!0),l(b);try{await fetch(`/api/settings${a}&type=skills`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)})}catch{}t(!1)},x=async b=>{t(!0),n(b);try{await fetch(`/api/settings${a}&type=agents`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)})}catch{}t(!1)};return o?(0,b.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,b.jsx)("div",{className:"text-muted",children:"Loading settings..."})}):(0,b.jsxs)("div",{className:"flex h-full",children:[(0,b.jsxs)("aside",{className:"w-56 border-r border-border bg-sidebar shrink-0",children:[(0,b.jsx)("div",{className:"p-4 border-b border-border",children:(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(p.Settings,{className:"w-5 h-5 text-accent"}),(0,b.jsx)("h1",{className:"font-semibold text-txt",children:"Settings"})]})}),(0,b.jsx)("nav",{className:"p-2",children:X.map(a=>{let c=a.icon;return(0,b.jsxs)("button",{onClick:()=>h(a.id),className:(0,q.cn)("w-full flex items-center gap-3 px-3 py-2 rounded-lg text-sm transition-colors",g===a.id?"bg-accent/10 text-accent font-medium":"text-muted hover:text-txt hover:bg-surface2"),children:[(0,b.jsx)(c,{className:"w-4 h-4"}),a.label]},a.id)})})]}),(0,b.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,b.jsxs)("div",{className:"max-w-2xl mx-auto p-6",children:[s&&(0,b.jsx)("div",{className:"fixed top-4 right-4 bg-accent text-white px-3 py-1.5 rounded-lg text-sm shadow-lg",children:"Saving..."}),"appearance"===g&&(0,b.jsx)(B,{settings:i,onSave:v}),"editor"===g&&(0,b.jsx)(E,{settings:i,onSave:v}),"project"===g&&(0,b.jsx)(G,{settings:i,onSave:v}),"mcp"===g&&(0,b.jsx)(N,{settings:i,onSave:v}),"skills"===g&&(0,b.jsx)(T,{skills:k,onSave:w}),"agents"===g&&(0,b.jsx)(V,{agents:m,skills:k,onSave:x})]})})]})}],381249)}];
22
22
 
23
23
  //# sourceMappingURL=src_app_%28app%29_settings_page_tsx_0zevtee._.js.map