vibedoc 1.9.0 → 1.10.0

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 (570) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/prerender-manifest.json +13 -13
  4. package/.next/server/app/(app)/activity/page.js.nft.json +1 -1
  5. package/.next/server/app/(app)/activity/page_client-reference-manifest.js +1 -1
  6. package/.next/server/app/(app)/board/page.js.nft.json +1 -1
  7. package/.next/server/app/(app)/board/page_client-reference-manifest.js +1 -1
  8. package/.next/server/app/(app)/chat/page.js.nft.json +1 -1
  9. package/.next/server/app/(app)/chat/page_client-reference-manifest.js +1 -1
  10. package/.next/server/app/(app)/docs/page.js.nft.json +1 -1
  11. package/.next/server/app/(app)/docs/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/(app)/explorer/page.js.nft.json +1 -1
  13. package/.next/server/app/(app)/explorer/page_client-reference-manifest.js +1 -1
  14. package/.next/server/app/(app)/manual-tests/page.js.nft.json +1 -1
  15. package/.next/server/app/(app)/manual-tests/page_client-reference-manifest.js +1 -1
  16. package/.next/server/app/(app)/memory/page.js.nft.json +1 -1
  17. package/.next/server/app/(app)/memory/page_client-reference-manifest.js +1 -1
  18. package/.next/server/app/(app)/roadmap/page.js.nft.json +1 -1
  19. package/.next/server/app/(app)/roadmap/page_client-reference-manifest.js +1 -1
  20. package/.next/server/app/(app)/settings/page.js.nft.json +1 -1
  21. package/.next/server/app/(app)/settings/page_client-reference-manifest.js +1 -1
  22. package/.next/server/app/(app)/setup/page.js.nft.json +1 -1
  23. package/.next/server/app/(app)/setup/page_client-reference-manifest.js +1 -1
  24. package/.next/server/app/_global-error.html +1 -1
  25. package/.next/server/app/_global-error.rsc +1 -1
  26. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  27. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  28. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  29. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  30. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  31. package/.next/server/app/_not-found.html +1 -1
  32. package/.next/server/app/_not-found.rsc +2 -2
  33. package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  34. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  35. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  36. package/.next/server/app/activity.html +1 -1
  37. package/.next/server/app/activity.rsc +23 -22
  38. package/.next/server/app/activity.segments/!KGFwcCk/activity/__PAGE__.segment.rsc +9 -11
  39. package/.next/server/app/activity.segments/_full.segment.rsc +23 -22
  40. package/.next/server/app/activity.segments/_tree.segment.rsc +2 -2
  41. package/.next/server/app/api/activity/route.js +1 -1
  42. package/.next/server/app/api/activity/route.js.nft.json +1 -1
  43. package/.next/server/app/api/backlinks/route.js +1 -1
  44. package/.next/server/app/api/backlinks/route.js.nft.json +1 -1
  45. package/.next/server/app/api/chat/route.js +1 -1
  46. package/.next/server/app/api/chat/route.js.nft.json +1 -1
  47. package/.next/server/app/api/context/route.js +1 -1
  48. package/.next/server/app/api/context/route.js.nft.json +1 -1
  49. package/.next/server/app/api/conversations/route.js +1 -1
  50. package/.next/server/app/api/conversations/route.js.nft.json +1 -1
  51. package/.next/server/app/api/decisions/route.js +1 -1
  52. package/.next/server/app/api/decisions/route.js.nft.json +1 -1
  53. package/.next/server/app/api/docs/route.js +1 -1
  54. package/.next/server/app/api/docs/route.js.nft.json +1 -1
  55. package/.next/server/app/api/explorer/route.js +1 -1
  56. package/.next/server/app/api/explorer/route.js.nft.json +1 -1
  57. package/.next/server/app/api/mcp/route.js +1 -1
  58. package/.next/server/app/api/mcp/route.js.nft.json +1 -1
  59. package/.next/server/app/api/memory/entries/delete/route.js +1 -1
  60. package/.next/server/app/api/memory/entries/delete/route.js.nft.json +1 -1
  61. package/.next/server/app/api/memory/entries/restore/route.js +1 -1
  62. package/.next/server/app/api/memory/entries/restore/route.js.nft.json +1 -1
  63. package/.next/server/app/api/memory/entries/route.js +1 -1
  64. package/.next/server/app/api/memory/entries/route.js.nft.json +1 -1
  65. package/.next/server/app/api/memory/entries/save/route.js +1 -1
  66. package/.next/server/app/api/memory/entries/save/route.js.nft.json +1 -1
  67. package/.next/server/app/api/memory/graph/route.js +1 -1
  68. package/.next/server/app/api/memory/graph/route.js.nft.json +1 -1
  69. package/.next/server/app/api/memory/history/route.js +1 -1
  70. package/.next/server/app/api/memory/history/route.js.nft.json +1 -1
  71. package/.next/server/app/api/memory/route.js +1 -1
  72. package/.next/server/app/api/memory/route.js.nft.json +1 -1
  73. package/.next/server/app/api/plan/apply/route.js +1 -1
  74. package/.next/server/app/api/plan/apply/route.js.nft.json +1 -1
  75. package/.next/server/app/api/projects/route.js +1 -1
  76. package/.next/server/app/api/projects/route.js.nft.json +1 -1
  77. package/.next/server/app/api/registry/route.js +1 -1
  78. package/.next/server/app/api/registry/route.js.nft.json +1 -1
  79. package/.next/server/app/api/roadmap/create/route.js +1 -1
  80. package/.next/server/app/api/roadmap/create/route.js.nft.json +1 -1
  81. package/.next/server/app/api/roadmap/delete/route.js +1 -1
  82. package/.next/server/app/api/roadmap/delete/route.js.nft.json +1 -1
  83. package/.next/server/app/api/roadmap/generate/route.js +1 -1
  84. package/.next/server/app/api/roadmap/generate/route.js.nft.json +1 -1
  85. package/.next/server/app/api/roadmap/layout/route.js +1 -1
  86. package/.next/server/app/api/roadmap/layout/route.js.nft.json +1 -1
  87. package/.next/server/app/api/roadmap/restore/route.js +1 -1
  88. package/.next/server/app/api/roadmap/restore/route.js.nft.json +1 -1
  89. package/.next/server/app/api/roadmap/route.js +1 -1
  90. package/.next/server/app/api/roadmap/route.js.nft.json +1 -1
  91. package/.next/server/app/api/roadmap/update/route.js +1 -1
  92. package/.next/server/app/api/roadmap/update/route.js.nft.json +1 -1
  93. package/.next/server/app/api/sessions/route.js +1 -1
  94. package/.next/server/app/api/sessions/route.js.nft.json +1 -1
  95. package/.next/server/app/api/settings/route.js +1 -1
  96. package/.next/server/app/api/settings/route.js.nft.json +1 -1
  97. package/.next/server/app/api/setup/generate/route.js +1 -1
  98. package/.next/server/app/api/setup/generate/route.js.nft.json +1 -1
  99. package/.next/server/app/api/setup/write/route.js +1 -1
  100. package/.next/server/app/api/setup/write/route.js.nft.json +1 -1
  101. package/.next/server/app/api/summary/route.js +1 -1
  102. package/.next/server/app/api/summary/route.js.nft.json +1 -1
  103. package/.next/server/app/api/tasks/bulk/route.js +1 -1
  104. package/.next/server/app/api/tasks/bulk/route.js.nft.json +1 -1
  105. package/.next/server/app/api/tasks/create/route.js +1 -1
  106. package/.next/server/app/api/tasks/create/route.js.nft.json +1 -1
  107. package/.next/server/app/api/tasks/delete/route.js +1 -1
  108. package/.next/server/app/api/tasks/delete/route.js.nft.json +1 -1
  109. package/.next/server/app/api/tasks/manual-tests/route.js +1 -1
  110. package/.next/server/app/api/tasks/manual-tests/route.js.nft.json +1 -1
  111. package/.next/server/app/api/tasks/restore/route.js +1 -1
  112. package/.next/server/app/api/tasks/restore/route.js.nft.json +1 -1
  113. package/.next/server/app/api/tasks/review/route.js +1 -1
  114. package/.next/server/app/api/tasks/review/route.js.nft.json +1 -1
  115. package/.next/server/app/api/tasks/route.js +1 -1
  116. package/.next/server/app/api/tasks/route.js.nft.json +1 -1
  117. package/.next/server/app/api/tasks/update/route.js +1 -1
  118. package/.next/server/app/api/tasks/update/route.js.nft.json +1 -1
  119. package/.next/server/app/api/views/route.js +1 -1
  120. package/.next/server/app/api/views/route.js.nft.json +1 -1
  121. package/.next/server/app/board.html +1 -1
  122. package/.next/server/app/board.rsc +23 -22
  123. package/.next/server/app/board.segments/!KGFwcCk/board/__PAGE__.segment.rsc +6 -6
  124. package/.next/server/app/board.segments/_full.segment.rsc +23 -22
  125. package/.next/server/app/board.segments/_tree.segment.rsc +2 -2
  126. package/.next/server/app/chat.html +1 -1
  127. package/.next/server/app/chat.rsc +23 -22
  128. package/.next/server/app/chat.segments/!KGFwcCk/chat/__PAGE__.segment.rsc +11 -9
  129. package/.next/server/app/chat.segments/_full.segment.rsc +23 -22
  130. package/.next/server/app/chat.segments/_tree.segment.rsc +2 -2
  131. package/.next/server/app/docs.html +1 -1
  132. package/.next/server/app/docs.rsc +23 -22
  133. package/.next/server/app/docs.segments/!KGFwcCk/docs/__PAGE__.segment.rsc +6 -6
  134. package/.next/server/app/docs.segments/_full.segment.rsc +23 -22
  135. package/.next/server/app/docs.segments/_tree.segment.rsc +2 -2
  136. package/.next/server/app/explorer.html +1 -1
  137. package/.next/server/app/explorer.rsc +23 -22
  138. package/.next/server/app/explorer.segments/!KGFwcCk/explorer/__PAGE__.segment.rsc +5 -5
  139. package/.next/server/app/explorer.segments/_full.segment.rsc +23 -22
  140. package/.next/server/app/explorer.segments/_tree.segment.rsc +2 -2
  141. package/.next/server/app/index.html +1 -1
  142. package/.next/server/app/index.rsc +2 -2
  143. package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  144. package/.next/server/app/index.segments/_full.segment.rsc +2 -2
  145. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  146. package/.next/server/app/manual-tests.html +1 -1
  147. package/.next/server/app/manual-tests.rsc +23 -22
  148. package/.next/server/app/manual-tests.segments/!KGFwcCk/manual-tests/__PAGE__.segment.rsc +5 -5
  149. package/.next/server/app/manual-tests.segments/_full.segment.rsc +23 -22
  150. package/.next/server/app/manual-tests.segments/_tree.segment.rsc +2 -2
  151. package/.next/server/app/memory.html +1 -1
  152. package/.next/server/app/memory.rsc +23 -22
  153. package/.next/server/app/memory.segments/!KGFwcCk/memory/__PAGE__.segment.rsc +9 -11
  154. package/.next/server/app/memory.segments/_full.segment.rsc +23 -22
  155. package/.next/server/app/memory.segments/_tree.segment.rsc +2 -2
  156. package/.next/server/app/page.js.nft.json +1 -1
  157. package/.next/server/app/page_client-reference-manifest.js +1 -1
  158. package/.next/server/app/roadmap.html +1 -1
  159. package/.next/server/app/roadmap.rsc +23 -22
  160. package/.next/server/app/roadmap.segments/!KGFwcCk/roadmap/__PAGE__.segment.rsc +6 -6
  161. package/.next/server/app/roadmap.segments/_full.segment.rsc +23 -22
  162. package/.next/server/app/roadmap.segments/_tree.segment.rsc +2 -2
  163. package/.next/server/app/settings.html +1 -1
  164. package/.next/server/app/settings.rsc +23 -22
  165. package/.next/server/app/settings.segments/!KGFwcCk/settings/__PAGE__.segment.rsc +9 -10
  166. package/.next/server/app/settings.segments/_full.segment.rsc +23 -22
  167. package/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
  168. package/.next/server/app/setup.html +1 -1
  169. package/.next/server/app/setup.rsc +23 -22
  170. package/.next/server/app/setup.segments/!KGFwcCk/setup/__PAGE__.segment.rsc +5 -5
  171. package/.next/server/app/setup.segments/_full.segment.rsc +23 -22
  172. package/.next/server/app/setup.segments/_tree.segment.rsc +2 -2
  173. package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0-_cqh8._.js → 11mp_@anthropic-ai_sdk_053zt3c._.js} +1 -1
  174. package/.next/server/chunks/{11mp_@anthropic-ai_sdk_03cp17a._.js → 11mp_@anthropic-ai_sdk_0_zx69c._.js} +1 -1
  175. package/.next/server/chunks/{11mp_@anthropic-ai_sdk_00o5o78._.js → 11mp_@anthropic-ai_sdk_0gvxfg3._.js} +1 -1
  176. package/.next/server/chunks/{11mp_@anthropic-ai_sdk_07dk2er._.js → 11mp_@anthropic-ai_sdk_0gx5t2l._.js} +1 -1
  177. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0krkw4y._.js +3 -0
  178. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0l0xzie._.js +3 -0
  179. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0pgjvhr._.js +3 -0
  180. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0r-keh6._.js +3 -0
  181. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0tvfbjt._.js +3 -0
  182. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0u4b8_f._.js +3 -0
  183. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0ud37xh._.js +3 -0
  184. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0v3ar-t._.js +3 -0
  185. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0wk0b65._.js +3 -0
  186. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0wqkd2r._.js +3 -0
  187. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0wypotx._.js +3 -0
  188. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0yuq-9s._.js +3 -0
  189. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0z-e57x._.js +3 -0
  190. package/.next/server/chunks/11mp_@anthropic-ai_sdk_108ltz4._.js +3 -0
  191. package/.next/server/chunks/11mp_@anthropic-ai_sdk_10c_i6_._.js +3 -0
  192. package/.next/server/chunks/11mp_@anthropic-ai_sdk_14jogs8._.js +3 -0
  193. package/.next/server/chunks/11mp_@anthropic-ai_sdk_15u-n39._.js +3 -0
  194. package/.next/server/chunks/11mp_@anthropic-ai_sdk_194ahxu._.js +3 -0
  195. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1ahph2t._.js +3 -0
  196. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1ajy77y._.js +3 -0
  197. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1b57s9p._.js +3 -0
  198. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1brf2xn._.js +3 -0
  199. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1btfw2x._.js +3 -0
  200. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1cyy_q6._.js +3 -0
  201. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1fz9fev._.js +3 -0
  202. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1i_rz7h._.js +3 -0
  203. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1it8zsv._.js +3 -0
  204. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1jzusvd._.js +3 -0
  205. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1lfknr2._.js +3 -0
  206. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1mewd-3._.js +3 -0
  207. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1mkm4u_._.js +3 -0
  208. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1rggqq3._.js +3 -0
  209. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1rhjf1m._.js +3 -0
  210. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1s6ks8c._.js +3 -0
  211. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1u8z4hp._.js +3 -0
  212. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1vyy3_4._.js +3 -0
  213. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_036bvwf._.js +3 -0
  214. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_046taqd._.js +3 -0
  215. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0bxad5f._.js +3 -0
  216. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0g65abt._.js +3 -0
  217. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0pb9bu1._.js +3 -0
  218. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_120-cio._.js +3 -0
  219. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_13uyu_v._.js +3 -0
  220. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_13x2ww0._.js +3 -0
  221. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_17og64d._.js +3 -0
  222. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1e_sh4o._.js +3 -0
  223. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1ecuo9i._.js +3 -0
  224. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1go8d0m._.js +3 -0
  225. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1i13ryx._.js +3 -0
  226. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1jv_hid._.js +3 -0
  227. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1mh5mqk._.js +3 -0
  228. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1oq7e8u._.js +3 -0
  229. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1p-cq-p._.js +3 -0
  230. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1the3g0._.js +3 -0
  231. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1xubh-w._.js +3 -0
  232. package/.next/server/chunks/{[root-of-the-server]__0hfyuhq._.js → [root-of-the-server]__00o3mbd._.js} +2 -2
  233. package/.next/server/chunks/{[root-of-the-server]__0y5usoz._.js → [root-of-the-server]__01n_hoh._.js} +2 -2
  234. package/.next/server/chunks/{[root-of-the-server]__08yaps5._.js → [root-of-the-server]__05tx02j._.js} +2 -2
  235. package/.next/server/chunks/{[root-of-the-server]__0b2488c._.js → [root-of-the-server]__06dfvb0._.js} +2 -2
  236. package/.next/server/chunks/{[root-of-the-server]__1tu85zx._.js → [root-of-the-server]__06z8i6e._.js} +2 -2
  237. package/.next/server/chunks/{[root-of-the-server]__0qij7wy._.js → [root-of-the-server]__076d4xm._.js} +2 -2
  238. package/.next/server/chunks/{[root-of-the-server]__1z3tswg._.js → [root-of-the-server]__09j_-hj._.js} +2 -2
  239. package/.next/server/chunks/[root-of-the-server]__0jr_5eq._.js +11 -11
  240. package/.next/server/chunks/[root-of-the-server]__0jr_5eq._.js.map +1 -1
  241. package/.next/server/chunks/{[root-of-the-server]__1gvv2xp._.js → [root-of-the-server]__0kuhhna._.js} +2 -2
  242. package/.next/server/chunks/{[root-of-the-server]__008focd._.js → [root-of-the-server]__0p4w_o-._.js} +2 -2
  243. package/.next/server/chunks/{[root-of-the-server]__1ssunti._.js → [root-of-the-server]__0uu9pgg._.js} +2 -2
  244. package/.next/server/chunks/{[root-of-the-server]__1b448u7._.js → [root-of-the-server]__1-1hfrj._.js} +2 -2
  245. package/.next/server/chunks/{[root-of-the-server]__0ikbk15._.js → [root-of-the-server]__15jhpgl._.js} +2 -2
  246. package/.next/server/chunks/[root-of-the-server]__19rxcu4._.js +11 -11
  247. package/.next/server/chunks/[root-of-the-server]__19rxcu4._.js.map +1 -1
  248. package/.next/server/chunks/{[root-of-the-server]__0m8hmg0._.js → [root-of-the-server]__19w-7h9._.js} +2 -2
  249. package/.next/server/chunks/{[root-of-the-server]__01xmabe._.js → [root-of-the-server]__1af-wfk._.js} +2 -2
  250. package/.next/server/chunks/{[root-of-the-server]__0cbh1s-._.js → [root-of-the-server]__1e_o8h4._.js} +2 -2
  251. package/.next/server/chunks/{[root-of-the-server]__16u25oa._.js → [root-of-the-server]__1gr4e22._.js} +2 -2
  252. package/.next/server/chunks/{[root-of-the-server]__1jz98vb._.js → [root-of-the-server]__1h5hb6u._.js} +2 -2
  253. package/.next/server/chunks/{[root-of-the-server]__1xpp36t._.js → [root-of-the-server]__1kw2vct._.js} +2 -2
  254. package/.next/server/chunks/{[root-of-the-server]__0axugex._.js → [root-of-the-server]__1lt5cds._.js} +2 -2
  255. package/.next/server/chunks/[root-of-the-server]__1qd-ecl._.js +11 -11
  256. package/.next/server/chunks/[root-of-the-server]__1qd-ecl._.js.map +1 -1
  257. package/.next/server/chunks/{[root-of-the-server]__03ogp2r._.js → [root-of-the-server]__1rjgpbm._.js} +2 -2
  258. package/.next/server/chunks/{[root-of-the-server]__0x8wtot._.js → [root-of-the-server]__1spley9._.js} +2 -2
  259. package/.next/server/chunks/_04byth9._.js +25 -25
  260. package/.next/server/chunks/_04byth9._.js.map +1 -1
  261. package/.next/server/chunks/_1au4syj._.js +1 -1
  262. package/.next/server/chunks/_1au4syj._.js.map +1 -1
  263. package/.next/server/chunks/ssr/{0_nd_mermaid_dist_mermaid_core_mjs_027n2yl._.js → 0_nd_mermaid_dist_mermaid_core_mjs_0itmgkm._.js} +2 -2
  264. package/.next/server/chunks/ssr/{1u84_katex_dist_katex_mjs_1kb5xea._.js → 1u84_katex_dist_katex_mjs_08jn-sj._.js} +1 -1
  265. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_1tcci-3._.js +3 -0
  266. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_1tcci-3._.js.map +1 -0
  267. package/.next/server/chunks/ssr/{1x05_lucide-react_dist_esm_icons_14hl50o._.js → 1x05_lucide-react_dist_esm_icons_1uybmua._.js} +2 -2
  268. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_1uybmua._.js.map +1 -0
  269. package/.next/server/chunks/ssr/_04xff_2._.js +1 -1
  270. package/.next/server/chunks/ssr/_04xff_2._.js.map +1 -1
  271. package/.next/server/chunks/ssr/_0h91h9n._.js +3 -0
  272. package/.next/server/chunks/ssr/_0h91h9n._.js.map +1 -0
  273. package/.next/server/chunks/ssr/_0idb-vo._.js.map +1 -1
  274. package/.next/server/chunks/ssr/_0ip7sg0._.js +3 -0
  275. package/.next/server/chunks/ssr/_0ip7sg0._.js.map +1 -0
  276. package/.next/server/chunks/ssr/_0ks_bep._.js +3 -0
  277. package/.next/server/chunks/ssr/_0ks_bep._.js.map +1 -0
  278. package/.next/server/chunks/ssr/{_1ocnpth._.js → _0lqrpim._.js} +2 -2
  279. package/.next/server/chunks/ssr/_0lqrpim._.js.map +1 -0
  280. package/.next/server/chunks/ssr/_0qp3gu7._.js +1 -1
  281. package/.next/server/chunks/ssr/_0qp3gu7._.js.map +1 -1
  282. package/.next/server/chunks/ssr/_0rmo9r-._.js +4 -0
  283. package/.next/server/chunks/ssr/_0rmo9r-._.js.map +1 -0
  284. package/.next/server/chunks/ssr/_0ust7tw._.js +4 -0
  285. package/.next/server/chunks/ssr/_0ust7tw._.js.map +1 -0
  286. package/.next/server/chunks/ssr/_197jl3g._.js +3 -0
  287. package/.next/server/chunks/ssr/_197jl3g._.js.map +1 -0
  288. package/.next/server/chunks/ssr/{src_components_docs_MarkdownRenderer_tsx_1kshaz1._.js → _19k2iz0._.js} +21 -21
  289. package/.next/server/chunks/ssr/_19k2iz0._.js.map +1 -0
  290. package/.next/server/chunks/ssr/_1el478k._.js +3 -0
  291. package/.next/server/chunks/ssr/_1el478k._.js.map +1 -0
  292. package/.next/server/chunks/ssr/_1s2ya35._.js +3 -0
  293. package/.next/server/chunks/ssr/_1t76zdx._.js +1 -1
  294. package/.next/server/chunks/ssr/_1t76zdx._.js.map +1 -1
  295. package/.next/server/chunks/ssr/{node_modules__pnpm_1qp_jvj._.js → node_modules__pnpm_00lsytc._.js} +2 -2
  296. package/.next/server/chunks/ssr/{node_modules__pnpm_1ygal0c._.js → node_modules__pnpm_02p2rqs._.js} +1 -1
  297. package/.next/server/chunks/ssr/{node_modules__pnpm_1-76qxg._.js → node_modules__pnpm_05-p8zy._.js} +1 -1
  298. package/.next/server/chunks/ssr/{node_modules__pnpm_1qmkxyo._.js → node_modules__pnpm_060kz-j._.js} +1 -1
  299. package/.next/server/chunks/ssr/{node_modules__pnpm_0ctisl0._.js → node_modules__pnpm_0_83tv8._.js} +1 -1
  300. package/.next/server/chunks/ssr/{node_modules__pnpm_0ycbjbd._.js → node_modules__pnpm_0_ajzll._.js} +2 -2
  301. package/.next/server/chunks/ssr/{node_modules__pnpm_0kpu0-2._.js → node_modules__pnpm_0abf_e9._.js} +1 -1
  302. package/.next/server/chunks/ssr/{node_modules__pnpm_0fwp8jm._.js → node_modules__pnpm_0e55e7-._.js} +1 -1
  303. package/.next/server/chunks/ssr/{node_modules__pnpm_1q_hhr3._.js → node_modules__pnpm_0eub17j._.js} +2 -2
  304. package/.next/server/chunks/ssr/{node_modules__pnpm_1-r94f7._.js → node_modules__pnpm_0gp90ei._.js} +1 -1
  305. package/.next/server/chunks/ssr/{node_modules__pnpm_16u1vfb._.js → node_modules__pnpm_0iqb0_x._.js} +2 -2
  306. package/.next/server/chunks/ssr/{node_modules__pnpm_1uwkcin._.js → node_modules__pnpm_0j7asqf._.js} +1 -1
  307. package/.next/server/chunks/ssr/{node_modules__pnpm_1f440kx._.js → node_modules__pnpm_0jlzk5z._.js} +1 -1
  308. package/.next/server/chunks/ssr/{node_modules__pnpm_14piqi4._.js → node_modules__pnpm_0rsfj9v._.js} +1 -1
  309. package/.next/server/chunks/ssr/{node_modules__pnpm_01bjcv9._.js → node_modules__pnpm_0s63lee._.js} +1 -1
  310. package/.next/server/chunks/ssr/{node_modules__pnpm_189m48n._.js → node_modules__pnpm_0s7j-tv._.js} +1 -1
  311. package/.next/server/chunks/ssr/{node_modules__pnpm_1ssjj4u._.js → node_modules__pnpm_0up4z7m._.js} +1 -1
  312. package/.next/server/chunks/ssr/{node_modules__pnpm_06d-fdo._.js → node_modules__pnpm_0v_mhl7._.js} +2 -2
  313. package/.next/server/chunks/ssr/{node_modules__pnpm_1a48_nl._.js → node_modules__pnpm_0vuao3_._.js} +1 -1
  314. package/.next/server/chunks/ssr/{node_modules__pnpm_0vry74x._.js → node_modules__pnpm_14j18h7._.js} +2 -2
  315. package/.next/server/chunks/ssr/{node_modules__pnpm_17i6z2d._.js → node_modules__pnpm_16bj927._.js} +1 -1
  316. package/.next/server/chunks/ssr/{node_modules__pnpm_192f222._.js → node_modules__pnpm_1ch46nl._.js} +1 -1
  317. package/.next/server/chunks/ssr/{node_modules__pnpm_1txccoj._.js → node_modules__pnpm_1dc-yxd._.js} +1 -1
  318. package/.next/server/chunks/ssr/{node_modules__pnpm_1min2jl._.js → node_modules__pnpm_1fry8_2._.js} +1 -1
  319. package/.next/server/chunks/ssr/{node_modules__pnpm_1fn3ejy._.js → node_modules__pnpm_1gpkxns._.js} +1 -1
  320. package/.next/server/chunks/ssr/{node_modules__pnpm_1aa37e1._.js → node_modules__pnpm_1hqh95z._.js} +1 -1
  321. package/.next/server/chunks/ssr/{node_modules__pnpm_03qrzdb._.js → node_modules__pnpm_1oaf50x._.js} +1 -1
  322. package/.next/server/chunks/ssr/src_app_(app)_board_page_tsx_0gpfc77._.js +1 -1
  323. package/.next/server/chunks/ssr/src_app_(app)_board_page_tsx_0gpfc77._.js.map +1 -1
  324. package/.next/server/chunks/ssr/src_app_(app)_layout_tsx_1yu5hom._.js +1 -1
  325. package/.next/server/chunks/ssr/src_app_(app)_layout_tsx_1yu5hom._.js.map +1 -1
  326. package/.next/server/chunks/ssr/src_app_(app)_memory_page_tsx_19jhb1c._.js +2 -2
  327. package/.next/server/chunks/ssr/src_app_(app)_memory_page_tsx_19jhb1c._.js.map +1 -1
  328. package/.next/server/chunks/ssr/src_app_(app)_roadmap_page_tsx_0vcq3jr._.js +2 -2
  329. package/.next/server/chunks/ssr/src_app_(app)_roadmap_page_tsx_0vcq3jr._.js.map +1 -1
  330. package/.next/server/chunks/ssr/src_app_(app)_settings_page_tsx_0zevtee._.js +2 -2
  331. package/.next/server/chunks/ssr/src_app_(app)_settings_page_tsx_0zevtee._.js.map +1 -1
  332. package/.next/server/chunks/ssr/src_app_(app)_setup_page_tsx_1yids_n._.js +1 -1
  333. package/.next/server/chunks/ssr/src_app_(app)_setup_page_tsx_1yids_n._.js.map +1 -1
  334. package/.next/server/chunks/ssr/src_components_0eyr_zi._.js +1 -1
  335. package/.next/server/chunks/ssr/src_components_0eyr_zi._.js.map +1 -1
  336. package/.next/server/chunks/ssr/src_components_1s861m8._.js +1 -1
  337. package/.next/server/chunks/ssr/src_components_1s861m8._.js.map +1 -1
  338. package/.next/server/chunks/ssr/src_components_docs_editor-theme_ts_0ji4rd5._.js +3 -0
  339. package/.next/server/chunks/ssr/src_components_docs_editor-theme_ts_0ji4rd5._.js.map +1 -0
  340. package/.next/server/middleware-build-manifest.js +3 -3
  341. package/.next/server/pages/404.html +1 -1
  342. package/.next/server/pages/500.html +1 -1
  343. package/.next/server/server-reference-manifest.js +1 -1
  344. package/.next/server/server-reference-manifest.json +1 -1
  345. package/.next/static/chunks/05qw7-fs1exlt.js +1 -0
  346. package/.next/static/chunks/{16k196zyl-n9q.js → 08sqjdq-43nbt.js} +1 -1
  347. package/.next/static/chunks/09r4_4wr0aga3.js +1 -0
  348. package/.next/static/chunks/0xw_sa58zqv5s.js +1 -0
  349. package/.next/static/chunks/{3ruw8lu2_re-h.js → 1-a3-6c_nce84.js} +1 -1
  350. package/.next/static/chunks/13cz-8lvre7gj.js +1 -0
  351. package/.next/static/chunks/149fj-mseo8q3.css +1 -0
  352. package/.next/static/chunks/1c11k-snzp541.js +1 -0
  353. package/.next/static/chunks/1c459q7xpgq6r.js +3 -0
  354. package/.next/static/chunks/1hh2cxd9ndxf-.js +68 -0
  355. package/.next/static/chunks/1huu1nljqois-.js +1 -0
  356. package/.next/static/chunks/{1l_dys0-y5-r7.js → 1n4_u3om7ye4z.js} +1 -1
  357. package/.next/static/chunks/1qhndyi2gdbkf.js +1 -0
  358. package/.next/static/chunks/1s64z5c36fv-4.js +21 -0
  359. package/.next/static/chunks/1x40-5s54wd5m.js +11 -0
  360. package/.next/static/chunks/2-0lpccy0f8bk.js +2 -0
  361. package/.next/static/chunks/2x6eh3w-u8lk4.js +1 -0
  362. package/.next/static/chunks/30s090l71e1gs.js +1 -0
  363. package/.next/static/chunks/37u2gjz5dzhep.js +1 -0
  364. package/.next/static/chunks/3t8px4aygy1s9.js +1 -0
  365. package/.next/static/chunks/{0b547y6rqct9z.js → 44gr_v5092gwh.js} +1 -1
  366. package/package.json +3 -2
  367. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0_e9zpr._.js +0 -3
  368. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0_xx_qf._.js +0 -3
  369. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0aer9lc._.js +0 -3
  370. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0ax30pe._.js +0 -3
  371. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0gn7vgs._.js +0 -3
  372. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0hye94a._.js +0 -3
  373. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0ir5cgk._.js +0 -3
  374. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0je0_pa._.js +0 -3
  375. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0jfgh0o._.js +0 -3
  376. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0mha4x1._.js +0 -3
  377. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0n__boa._.js +0 -3
  378. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0sqv26_._.js +0 -3
  379. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0wnc6g-._.js +0 -3
  380. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0xh0g59._.js +0 -3
  381. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1-5wyhj._.js +0 -3
  382. package/.next/server/chunks/11mp_@anthropic-ai_sdk_13ahm3n._.js +0 -3
  383. package/.next/server/chunks/11mp_@anthropic-ai_sdk_13e6aq4._.js +0 -3
  384. package/.next/server/chunks/11mp_@anthropic-ai_sdk_14eg0ld._.js +0 -3
  385. package/.next/server/chunks/11mp_@anthropic-ai_sdk_15md1n2._.js +0 -3
  386. package/.next/server/chunks/11mp_@anthropic-ai_sdk_16av8b9._.js +0 -3
  387. package/.next/server/chunks/11mp_@anthropic-ai_sdk_16hjhv1._.js +0 -3
  388. package/.next/server/chunks/11mp_@anthropic-ai_sdk_16txvf7._.js +0 -3
  389. package/.next/server/chunks/11mp_@anthropic-ai_sdk_198yu7d._.js +0 -3
  390. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1_9tfq3._.js +0 -3
  391. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1_izr2o._.js +0 -3
  392. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1fljcyg._.js +0 -3
  393. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1lrt6ul._.js +0 -3
  394. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1nev_ee._.js +0 -3
  395. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1pgoe2i._.js +0 -3
  396. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1rgl7mu._.js +0 -3
  397. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1slq49k._.js +0 -3
  398. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1t9bdf0._.js +0 -3
  399. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1u6qqm2._.js +0 -3
  400. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1v7ygvz._.js +0 -3
  401. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1wls8zc._.js +0 -3
  402. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1ywboja._.js +0 -3
  403. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_00kwqu5._.js +0 -3
  404. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_01j2nrd._.js +0 -3
  405. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_05ybj3t._.js +0 -3
  406. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0adt7jj._.js +0 -3
  407. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0bnl14w._.js +0 -3
  408. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0f557t9._.js +0 -3
  409. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0ra6giw._.js +0 -3
  410. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_107cqfx._.js +0 -3
  411. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1377sl6._.js +0 -3
  412. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1_2hcok._.js +0 -3
  413. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1g--m6y._.js +0 -3
  414. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1geopi5._.js +0 -3
  415. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1i11dte._.js +0 -3
  416. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1mj3_qk._.js +0 -3
  417. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1qgy210._.js +0 -3
  418. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1rkng9q._.js +0 -3
  419. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1vr8q8y._.js +0 -3
  420. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1x8b64g._.js +0 -3
  421. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1zhahf7._.js +0 -3
  422. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_0wurouw._.js +0 -3
  423. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_0wurouw._.js.map +0 -1
  424. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_14hl50o._.js.map +0 -1
  425. package/.next/server/chunks/ssr/_071j6mr._.js +0 -4
  426. package/.next/server/chunks/ssr/_071j6mr._.js.map +0 -1
  427. package/.next/server/chunks/ssr/_0i75x-o._.js +0 -3
  428. package/.next/server/chunks/ssr/_0i75x-o._.js.map +0 -1
  429. package/.next/server/chunks/ssr/_15qpb4z._.js +0 -3
  430. package/.next/server/chunks/ssr/_15qpb4z._.js.map +0 -1
  431. package/.next/server/chunks/ssr/_1fg0usp._.js +0 -3
  432. package/.next/server/chunks/ssr/_1fg0usp._.js.map +0 -1
  433. package/.next/server/chunks/ssr/_1h0wfpz._.js +0 -3
  434. package/.next/server/chunks/ssr/_1h0wfpz._.js.map +0 -1
  435. package/.next/server/chunks/ssr/_1ncdakv._.js +0 -4
  436. package/.next/server/chunks/ssr/_1ncdakv._.js.map +0 -1
  437. package/.next/server/chunks/ssr/_1ocnpth._.js.map +0 -1
  438. package/.next/server/chunks/ssr/_1uno162._.js +0 -3
  439. package/.next/server/chunks/ssr/_1uno162._.js.map +0 -1
  440. package/.next/server/chunks/ssr/node_modules__pnpm_1xeothw._.js +0 -3
  441. package/.next/server/chunks/ssr/src_components_docs_MarkdownRenderer_tsx_1kshaz1._.js.map +0 -1
  442. package/.next/static/chunks/02cj5_i9np4sg.js +0 -3
  443. package/.next/static/chunks/0e3ha56i_0j05.css +0 -1
  444. package/.next/static/chunks/0f32hudp0yir7.js +0 -2
  445. package/.next/static/chunks/0rsmz1jgro1kj.js +0 -1
  446. package/.next/static/chunks/0wnq_kh8-6wc1.js +0 -2
  447. package/.next/static/chunks/13l4l-boqg8fx.js +0 -1
  448. package/.next/static/chunks/14hxe1qiaram9.js +0 -1
  449. package/.next/static/chunks/18b5l8p0vd9f8.js +0 -1
  450. package/.next/static/chunks/1acpfyut6j4e2.js +0 -1
  451. package/.next/static/chunks/1rko_88i85yqb.js +0 -21
  452. package/.next/static/chunks/1tu8lforstp1o.js +0 -1
  453. package/.next/static/chunks/20mdcup14_0yi.js +0 -11
  454. package/.next/static/chunks/23-xknrz6o748.js +0 -1
  455. package/.next/static/chunks/2p-pkveutoh75.js +0 -1
  456. package/.next/static/chunks/329sozud9-tvr.js +0 -1
  457. package/.next/static/chunks/3qqvn9vv6i0gy.js +0 -68
  458. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0-_cqh8._.js.map → 11mp_@anthropic-ai_sdk_053zt3c._.js.map} +0 -0
  459. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_00o5o78._.js.map → 11mp_@anthropic-ai_sdk_0_zx69c._.js.map} +0 -0
  460. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_03cp17a._.js.map → 11mp_@anthropic-ai_sdk_0gvxfg3._.js.map} +0 -0
  461. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_07dk2er._.js.map → 11mp_@anthropic-ai_sdk_0gx5t2l._.js.map} +0 -0
  462. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0_e9zpr._.js.map → 11mp_@anthropic-ai_sdk_0krkw4y._.js.map} +0 -0
  463. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0_xx_qf._.js.map → 11mp_@anthropic-ai_sdk_0l0xzie._.js.map} +0 -0
  464. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0aer9lc._.js.map → 11mp_@anthropic-ai_sdk_0pgjvhr._.js.map} +0 -0
  465. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0ax30pe._.js.map → 11mp_@anthropic-ai_sdk_0r-keh6._.js.map} +0 -0
  466. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0gn7vgs._.js.map → 11mp_@anthropic-ai_sdk_0tvfbjt._.js.map} +0 -0
  467. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0hye94a._.js.map → 11mp_@anthropic-ai_sdk_0u4b8_f._.js.map} +0 -0
  468. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0ir5cgk._.js.map → 11mp_@anthropic-ai_sdk_0ud37xh._.js.map} +0 -0
  469. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0je0_pa._.js.map → 11mp_@anthropic-ai_sdk_0v3ar-t._.js.map} +0 -0
  470. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0jfgh0o._.js.map → 11mp_@anthropic-ai_sdk_0wk0b65._.js.map} +0 -0
  471. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0mha4x1._.js.map → 11mp_@anthropic-ai_sdk_0wqkd2r._.js.map} +0 -0
  472. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0n__boa._.js.map → 11mp_@anthropic-ai_sdk_0wypotx._.js.map} +0 -0
  473. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0sqv26_._.js.map → 11mp_@anthropic-ai_sdk_0yuq-9s._.js.map} +0 -0
  474. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0wnc6g-._.js.map → 11mp_@anthropic-ai_sdk_0z-e57x._.js.map} +0 -0
  475. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0xh0g59._.js.map → 11mp_@anthropic-ai_sdk_108ltz4._.js.map} +0 -0
  476. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1-5wyhj._.js.map → 11mp_@anthropic-ai_sdk_10c_i6_._.js.map} +0 -0
  477. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_13ahm3n._.js.map → 11mp_@anthropic-ai_sdk_14jogs8._.js.map} +0 -0
  478. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_13e6aq4._.js.map → 11mp_@anthropic-ai_sdk_15u-n39._.js.map} +0 -0
  479. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_14eg0ld._.js.map → 11mp_@anthropic-ai_sdk_194ahxu._.js.map} +0 -0
  480. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_15md1n2._.js.map → 11mp_@anthropic-ai_sdk_1ahph2t._.js.map} +0 -0
  481. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_16av8b9._.js.map → 11mp_@anthropic-ai_sdk_1ajy77y._.js.map} +0 -0
  482. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_16hjhv1._.js.map → 11mp_@anthropic-ai_sdk_1b57s9p._.js.map} +0 -0
  483. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_16txvf7._.js.map → 11mp_@anthropic-ai_sdk_1brf2xn._.js.map} +0 -0
  484. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_198yu7d._.js.map → 11mp_@anthropic-ai_sdk_1btfw2x._.js.map} +0 -0
  485. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1_9tfq3._.js.map → 11mp_@anthropic-ai_sdk_1cyy_q6._.js.map} +0 -0
  486. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1_izr2o._.js.map → 11mp_@anthropic-ai_sdk_1fz9fev._.js.map} +0 -0
  487. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1fljcyg._.js.map → 11mp_@anthropic-ai_sdk_1i_rz7h._.js.map} +0 -0
  488. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1lrt6ul._.js.map → 11mp_@anthropic-ai_sdk_1it8zsv._.js.map} +0 -0
  489. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1nev_ee._.js.map → 11mp_@anthropic-ai_sdk_1jzusvd._.js.map} +0 -0
  490. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1pgoe2i._.js.map → 11mp_@anthropic-ai_sdk_1lfknr2._.js.map} +0 -0
  491. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1rgl7mu._.js.map → 11mp_@anthropic-ai_sdk_1mewd-3._.js.map} +0 -0
  492. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1slq49k._.js.map → 11mp_@anthropic-ai_sdk_1mkm4u_._.js.map} +0 -0
  493. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1t9bdf0._.js.map → 11mp_@anthropic-ai_sdk_1rggqq3._.js.map} +0 -0
  494. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1u6qqm2._.js.map → 11mp_@anthropic-ai_sdk_1rhjf1m._.js.map} +0 -0
  495. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1v7ygvz._.js.map → 11mp_@anthropic-ai_sdk_1s6ks8c._.js.map} +0 -0
  496. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1wls8zc._.js.map → 11mp_@anthropic-ai_sdk_1u8z4hp._.js.map} +0 -0
  497. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1ywboja._.js.map → 11mp_@anthropic-ai_sdk_1vyy3_4._.js.map} +0 -0
  498. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_00kwqu5._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_036bvwf._.js.map} +0 -0
  499. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_01j2nrd._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_046taqd._.js.map} +0 -0
  500. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_05ybj3t._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_0bxad5f._.js.map} +0 -0
  501. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_0adt7jj._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_0g65abt._.js.map} +0 -0
  502. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_0bnl14w._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_0pb9bu1._.js.map} +0 -0
  503. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_0f557t9._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_120-cio._.js.map} +0 -0
  504. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_0ra6giw._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_13uyu_v._.js.map} +0 -0
  505. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_107cqfx._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_13x2ww0._.js.map} +0 -0
  506. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1377sl6._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_17og64d._.js.map} +0 -0
  507. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1_2hcok._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1e_sh4o._.js.map} +0 -0
  508. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1g--m6y._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1ecuo9i._.js.map} +0 -0
  509. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1geopi5._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1go8d0m._.js.map} +0 -0
  510. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1i11dte._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1i13ryx._.js.map} +0 -0
  511. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1mj3_qk._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1jv_hid._.js.map} +0 -0
  512. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1qgy210._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1mh5mqk._.js.map} +0 -0
  513. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1rkng9q._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1oq7e8u._.js.map} +0 -0
  514. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1vr8q8y._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1p-cq-p._.js.map} +0 -0
  515. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1x8b64g._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1the3g0._.js.map} +0 -0
  516. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1zhahf7._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1xubh-w._.js.map} +0 -0
  517. /package/.next/server/chunks/{[root-of-the-server]__0hfyuhq._.js.map → [root-of-the-server]__00o3mbd._.js.map} +0 -0
  518. /package/.next/server/chunks/{[root-of-the-server]__0y5usoz._.js.map → [root-of-the-server]__01n_hoh._.js.map} +0 -0
  519. /package/.next/server/chunks/{[root-of-the-server]__08yaps5._.js.map → [root-of-the-server]__05tx02j._.js.map} +0 -0
  520. /package/.next/server/chunks/{[root-of-the-server]__0b2488c._.js.map → [root-of-the-server]__06dfvb0._.js.map} +0 -0
  521. /package/.next/server/chunks/{[root-of-the-server]__1tu85zx._.js.map → [root-of-the-server]__06z8i6e._.js.map} +0 -0
  522. /package/.next/server/chunks/{[root-of-the-server]__0qij7wy._.js.map → [root-of-the-server]__076d4xm._.js.map} +0 -0
  523. /package/.next/server/chunks/{[root-of-the-server]__1ssunti._.js.map → [root-of-the-server]__09j_-hj._.js.map} +0 -0
  524. /package/.next/server/chunks/{[root-of-the-server]__1gvv2xp._.js.map → [root-of-the-server]__0kuhhna._.js.map} +0 -0
  525. /package/.next/server/chunks/{[root-of-the-server]__008focd._.js.map → [root-of-the-server]__0p4w_o-._.js.map} +0 -0
  526. /package/.next/server/chunks/{[root-of-the-server]__1z3tswg._.js.map → [root-of-the-server]__0uu9pgg._.js.map} +0 -0
  527. /package/.next/server/chunks/{[root-of-the-server]__1b448u7._.js.map → [root-of-the-server]__1-1hfrj._.js.map} +0 -0
  528. /package/.next/server/chunks/{[root-of-the-server]__0ikbk15._.js.map → [root-of-the-server]__15jhpgl._.js.map} +0 -0
  529. /package/.next/server/chunks/{[root-of-the-server]__0m8hmg0._.js.map → [root-of-the-server]__19w-7h9._.js.map} +0 -0
  530. /package/.next/server/chunks/{[root-of-the-server]__01xmabe._.js.map → [root-of-the-server]__1af-wfk._.js.map} +0 -0
  531. /package/.next/server/chunks/{[root-of-the-server]__0cbh1s-._.js.map → [root-of-the-server]__1e_o8h4._.js.map} +0 -0
  532. /package/.next/server/chunks/{[root-of-the-server]__16u25oa._.js.map → [root-of-the-server]__1gr4e22._.js.map} +0 -0
  533. /package/.next/server/chunks/{[root-of-the-server]__1jz98vb._.js.map → [root-of-the-server]__1h5hb6u._.js.map} +0 -0
  534. /package/.next/server/chunks/{[root-of-the-server]__1xpp36t._.js.map → [root-of-the-server]__1kw2vct._.js.map} +0 -0
  535. /package/.next/server/chunks/{[root-of-the-server]__0axugex._.js.map → [root-of-the-server]__1lt5cds._.js.map} +0 -0
  536. /package/.next/server/chunks/{[root-of-the-server]__03ogp2r._.js.map → [root-of-the-server]__1rjgpbm._.js.map} +0 -0
  537. /package/.next/server/chunks/{[root-of-the-server]__0x8wtot._.js.map → [root-of-the-server]__1spley9._.js.map} +0 -0
  538. /package/.next/server/chunks/ssr/{0_nd_mermaid_dist_mermaid_core_mjs_027n2yl._.js.map → 0_nd_mermaid_dist_mermaid_core_mjs_0itmgkm._.js.map} +0 -0
  539. /package/.next/server/chunks/ssr/{1u84_katex_dist_katex_mjs_1kb5xea._.js.map → 1u84_katex_dist_katex_mjs_08jn-sj._.js.map} +0 -0
  540. /package/.next/server/chunks/ssr/{node_modules__pnpm_14piqi4._.js.map → _1s2ya35._.js.map} +0 -0
  541. /package/.next/server/chunks/ssr/{node_modules__pnpm_1qp_jvj._.js.map → node_modules__pnpm_00lsytc._.js.map} +0 -0
  542. /package/.next/server/chunks/ssr/{node_modules__pnpm_1ygal0c._.js.map → node_modules__pnpm_02p2rqs._.js.map} +0 -0
  543. /package/.next/server/chunks/ssr/{node_modules__pnpm_1-76qxg._.js.map → node_modules__pnpm_05-p8zy._.js.map} +0 -0
  544. /package/.next/server/chunks/ssr/{node_modules__pnpm_1qmkxyo._.js.map → node_modules__pnpm_060kz-j._.js.map} +0 -0
  545. /package/.next/server/chunks/ssr/{node_modules__pnpm_0ctisl0._.js.map → node_modules__pnpm_0_83tv8._.js.map} +0 -0
  546. /package/.next/server/chunks/ssr/{node_modules__pnpm_0ycbjbd._.js.map → node_modules__pnpm_0_ajzll._.js.map} +0 -0
  547. /package/.next/server/chunks/ssr/{node_modules__pnpm_0kpu0-2._.js.map → node_modules__pnpm_0abf_e9._.js.map} +0 -0
  548. /package/.next/server/chunks/ssr/{node_modules__pnpm_0fwp8jm._.js.map → node_modules__pnpm_0e55e7-._.js.map} +0 -0
  549. /package/.next/server/chunks/ssr/{node_modules__pnpm_1q_hhr3._.js.map → node_modules__pnpm_0eub17j._.js.map} +0 -0
  550. /package/.next/server/chunks/ssr/{node_modules__pnpm_1-r94f7._.js.map → node_modules__pnpm_0gp90ei._.js.map} +0 -0
  551. /package/.next/server/chunks/ssr/{node_modules__pnpm_16u1vfb._.js.map → node_modules__pnpm_0iqb0_x._.js.map} +0 -0
  552. /package/.next/server/chunks/ssr/{node_modules__pnpm_1uwkcin._.js.map → node_modules__pnpm_0j7asqf._.js.map} +0 -0
  553. /package/.next/server/chunks/ssr/{node_modules__pnpm_1f440kx._.js.map → node_modules__pnpm_0jlzk5z._.js.map} +0 -0
  554. /package/.next/server/chunks/ssr/{node_modules__pnpm_189m48n._.js.map → node_modules__pnpm_0rsfj9v._.js.map} +0 -0
  555. /package/.next/server/chunks/ssr/{node_modules__pnpm_01bjcv9._.js.map → node_modules__pnpm_0s63lee._.js.map} +0 -0
  556. /package/.next/server/chunks/ssr/{node_modules__pnpm_1xeothw._.js.map → node_modules__pnpm_0s7j-tv._.js.map} +0 -0
  557. /package/.next/server/chunks/ssr/{node_modules__pnpm_1ssjj4u._.js.map → node_modules__pnpm_0up4z7m._.js.map} +0 -0
  558. /package/.next/server/chunks/ssr/{node_modules__pnpm_06d-fdo._.js.map → node_modules__pnpm_0v_mhl7._.js.map} +0 -0
  559. /package/.next/server/chunks/ssr/{node_modules__pnpm_1a48_nl._.js.map → node_modules__pnpm_0vuao3_._.js.map} +0 -0
  560. /package/.next/server/chunks/ssr/{node_modules__pnpm_0vry74x._.js.map → node_modules__pnpm_14j18h7._.js.map} +0 -0
  561. /package/.next/server/chunks/ssr/{node_modules__pnpm_17i6z2d._.js.map → node_modules__pnpm_16bj927._.js.map} +0 -0
  562. /package/.next/server/chunks/ssr/{node_modules__pnpm_192f222._.js.map → node_modules__pnpm_1ch46nl._.js.map} +0 -0
  563. /package/.next/server/chunks/ssr/{node_modules__pnpm_1txccoj._.js.map → node_modules__pnpm_1dc-yxd._.js.map} +0 -0
  564. /package/.next/server/chunks/ssr/{node_modules__pnpm_1min2jl._.js.map → node_modules__pnpm_1fry8_2._.js.map} +0 -0
  565. /package/.next/server/chunks/ssr/{node_modules__pnpm_1fn3ejy._.js.map → node_modules__pnpm_1gpkxns._.js.map} +0 -0
  566. /package/.next/server/chunks/ssr/{node_modules__pnpm_1aa37e1._.js.map → node_modules__pnpm_1hqh95z._.js.map} +0 -0
  567. /package/.next/server/chunks/ssr/{node_modules__pnpm_03qrzdb._.js.map → node_modules__pnpm_1oaf50x._.js.map} +0 -0
  568. /package/.next/static/{Q29Tn_NjyVms0d3pKn4Yx → qCiKQ9_g49vaoQ-Fewybk}/_buildManifest.js +0 -0
  569. /package/.next/static/{Q29Tn_NjyVms0d3pKn4Yx → qCiKQ9_g49vaoQ-Fewybk}/_clientMiddlewareManifest.js +0 -0
  570. /package/.next/static/{Q29Tn_NjyVms0d3pKn4Yx → qCiKQ9_g49vaoQ-Fewybk}/_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);var l=a.i(909898),m=a.i(879136),n=a.i(795667),o=a.i(966420);let p={name:"columns-3",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],aliases:["panels-left-right"]};p.node;let q=(0,e.default)(p);var r=a.i(368114);let s={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"}]]};s.node;let t=(0,e.default)(s),u={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"}]]};u.node;let v=(0,e.default)(u),w={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"}]]};w.node;let x=(0,e.default)(w);var y=a.i(425404),z=a.i(817163);let A=[{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"}],B=[{id:"small",label:"Small"},{id:"medium",label:"Medium"},{id:"large",label:"Large"}];function C({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:t},{id:"light",label:"Light",icon:v},{id:"system",label:"System",icon:x}].map(d=>{let e=d.icon,f=a.theme===d.id;return(0,b.jsxs)("button",{onClick:()=>c({...a,theme:d.id}),className:(0,r.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,r.cn)("w-5 h-5",f?"text-accent":"text-muted")}),(0,b.jsx)("span",{className:(0,r.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:A.map(d=>{let e=a.accentColor===d.id;return(0,b.jsx)("button",{onClick:()=>c({...a,accentColor:d.id}),className:(0,r.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)(y.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:B.map(d=>{let e=a.fontSize===d.id;return(0,b.jsx)("button",{onClick:()=>c({...a,fontSize:d.id}),className:(0,r.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:z.SANS_FONTS,fallback:"system-ui",sample:"Ship the roadmap by Friday"},{key:"fontMono",label:"Code Font",fonts:z.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,r.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,r.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 D=[{value:0,label:"Off"},{value:5,label:"5 seconds"},{value:10,label:"10 seconds"},{value:30,label:"30 seconds"}],E=[{id:"split",label:"Split View"},{id:"tab",label:"Tab View"},{id:"preview",label:"Preview Only"}];function F({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:D.map(c=>{let e=a.editor.autoSave===c.value;return(0,b.jsx)("button",{onClick:()=>d("autoSave",c.value),className:(0,r.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:E.map(c=>{let e=a.editor.previewMode===c.id;return(0,b.jsx)("button",{onClick:()=>d("previewMode",c.id),className:(0,r.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,r.cn)("w-11 h-6 rounded-full transition-colors relative",a.editor.wordWrap?"bg-accent":"bg-border"),children:(0,b.jsx)("span",{className:(0,r.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,r.cn)("w-11 h-6 rounded-full transition-colors relative",a.editor.lineNumbers?"bg-accent":"bg-border"),children:(0,b.jsx)("span",{className:(0,r.cn)("absolute top-1 w-4 h-4 rounded-full bg-white transition-transform",a.editor.lineNumbers?"left-6":"left-1")})})]})]})]})}let G=[{value:0,label:"Off"},{value:5,label:"5 seconds"},{value:10,label:"10 seconds"},{value:30,label:"30 seconds"}];function H({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:G.map(c=>{let e=a.project.autoRefresh===c.value;return(0,b.jsx)("button",{onClick:()=>d("autoRefresh",c.value),className:(0,r.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,r.cn)("w-11 h-6 rounded-full transition-colors relative",a.project.showHidden?"bg-accent":"bg-border"),children:(0,b.jsx)("span",{className:(0,r.cn)("absolute top-1 w-4 h-4 rounded-full bg-white transition-transform",a.project.showHidden?"left-6":"left-1")})})]})]})}var I=a.i(54165),J=a.i(60084),K=a.i(108280),L=a.i(866718),M=a.i(689101);let N={"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);var h=a.i(499796);let i={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"]};i.node;let j=(0,e.default)(i);var k=a.i(909898),l=a.i(879136),m=a.i(795667),n=a.i(966420);let o={name:"columns-3",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],aliases:["panels-left-right"]};o.node;let p=(0,e.default)(o);var 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 O({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,z.resolveMcpEndpoint)(a.mcp.endpoint,(0,M.useOrigin)()),m=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=N[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)(L.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:m,disabled:e,className:"px-4 py-2 bg-accent text-accent-fg 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)(K.Loader2,{className:"w-4 h-4 animate-spin"}):(0,b.jsx)(l.Plug,{className:"w-4 h-4"}),"Test"]})]}),g&&(0,b.jsx)("div",{className:(0,r.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)(y.Check,{className:"w-4 h-4"}),"Connection successful"]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(I.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(N).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,r.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)(y.Check,{className:"w-3.5 h-3.5"}),"Copied"]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(J.Copy,{className:"w-3.5 h-3.5"}),"Copy"]})})]},a))})]})]})}var P=a.i(200382),Q=a.i(661661),R=a.i(28386);let S=["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","vibedoc_save_entry","vibedoc_delete_entry"],T=["🔧","📝","🧪","🔍","📊","🔒","⚡","🎯","💡","🚀"];function U({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())},n=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-accent-fg rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors",children:[(0,b.jsx)(P.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:T.map(a=>(0,b.jsx)("option",{value:a,children:a},a))}),(0,b.jsx)(L.Input,{value:g.name,onChange:a=>h({...g,name:a.target.value}),placeholder:"Skill name",className:"bg-surface2"})]}),(0,b.jsx)(L.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)(L.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:S.map(a=>(0,b.jsx)("button",{onClick:()=>n(a),className:(0,r.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-accent-fg rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors disabled:opacity-50",children:[(0,b.jsx)(y.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)(Q.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)(R.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:T.map(a=>(0,b.jsx)("option",{value:a,children:a},a))}),(0,b.jsx)(L.Input,{value:g.name,onChange:a=>h({...g,name:a.target.value}),placeholder:"Skill name",className:"bg-surface2"})]}),(0,b.jsx)(L.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)(L.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:S.map(a=>(0,b.jsx)("button",{onClick:()=>n(a),className:(0,r.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-accent-fg rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors disabled:opacity-50",children:[(0,b.jsx)(y.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)(m.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 V=["🤖","📚","🔒","🧪","📝","🔧","💡","🎯","🚀","⚡"];function W({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())},o=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:V.map(a=>(0,b.jsx)("option",{value:a,children:a},a))}),(0,b.jsx)(L.Input,{value:a.name,onChange:b=>i({...a,name:b.target.value}),placeholder:"Agent name",className:"bg-surface2"})]}),(0,b.jsx)(L.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,r.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,r.cn)("w-11 h-6 rounded-full transition-colors relative",a.active?"bg-accent":"bg-border"),children:(0,b.jsx)("span",{className:(0,r.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-accent-fg rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors disabled:opacity-50",children:[(0,b.jsx)(y.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-accent-fg rounded-lg text-sm font-medium hover:bg-accent/90 transition-colors",children:[(0,b.jsx)(P.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?o(h):(0,b.jsxs)("div",{className:(0,r.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,r.cn)("w-9 h-5 rounded-full transition-colors relative",c.active?"bg-accent":"bg-border"),children:(0,b.jsx)("span",{className:(0,r.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)(Q.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)(R.Trash2,{className:"w-4 h-4"})})]})]})]})},c.id)),j&&h&&o(h),0===a.length&&!j&&(0,b.jsxs)("div",{className:"text-center py-8 text-muted",children:[(0,b.jsx)(n.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 X=a.i(725543),Y=a.i(498053),Z=a.i(269769),$=a.i(173628),_=a.i(147758);let aa="rounded-md border border-border bg-bg px-2 py-1.5 text-sm text-txt focus:outline-hidden focus:ring-1 focus:ring-accent disabled:opacity-50",ab={todo:"waiting to start","in-progress":"being worked on",review:"waits for a human",blocked:"stuck",paused:"stopped on purpose",done:"finished",cancelled:"dropped"};function ac({settings:a,onSave:e}){let{board:f,rootParam:g,refresh:h}=(0,d.useApp)(),i=(0,_.statusDefs)(a.statuses),[j,k]=(0,c.useState)(""),[l,m]=(0,c.useState)("review"),[n,o]=(0,c.useState)("blue"),[p,q]=(0,c.useState)(null),[s,t]=(0,c.useState)("todo"),u=b=>e({...a,statuses:b}),v=(a,b)=>u(i.map(c=>c.id===a?{...c,...b}:c)),w=(a,b)=>{let c=[...i],[d]=c.splice(a,1);c.splice(a+b,0,d),u(c)},x=a=>Object.values(f??{}).flat().filter(b=>b.customStatus===a),y=j.toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"").slice(0,40),z=j.trim()?y?i.some(a=>a.id===y)?"Already exists":(0,_.invalidStatusId)(y):"Use letters or digits":null;async function A(a){let b=x(a).map(a=>a.id);if(b.length){let a=await fetch(`/api/tasks/bulk${g}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({ids:b,action:{status:s}})});if(!a.ok)return(0,Z.toast)((await a.json().catch(()=>null))?.error??"Could not move the tasks")}await u(i.filter(b=>b.id!==a)),q(null),h()}return(0,b.jsxs)("div",{className:"space-y-8",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"mb-1 text-xl font-semibold text-txt",children:"Statuses"}),(0,b.jsx)("p",{className:"text-sm text-muted",children:"Board columns, in order. A custom status works like the built-in category it maps to: agents, the work queue and progress read the category. Task files store the status id, so renaming never touches them."})]}),(0,b.jsx)("ul",{className:"flex flex-col gap-2",children:i.map((a,c)=>{let d=_.BUILTIN_STATUSES.includes(a.id),e=$.STATUS_META[a.category].icon,f=d?0:x(a.id).length;return(0,b.jsxs)("li",{className:"rounded-lg border border-border bg-surface p-2.5",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(e,{className:(0,r.cn)("size-4 shrink-0",$.STATUS_COLOR_CLASS[a.color].text),"aria-hidden":!0}),(0,b.jsx)(L.Input,{"aria-label":`Label for ${a.id}`,defaultValue:a.label,onBlur:b=>{let c=b.target.value.trim();c&&c!==a.label&&v(a.id,{label:c})},onKeyDown:a=>{"Enter"===a.key&&a.currentTarget.blur()},className:"h-8 w-40 border-border bg-bg text-txt"},`${a.id}:${a.label}`),(0,b.jsx)("span",{className:"font-mono text-[11px] text-muted",children:a.id}),(0,b.jsx)("select",{"aria-label":`Color for ${a.id}`,value:a.color,onChange:b=>v(a.id,{color:b.target.value}),className:aa,children:_.STATUS_COLORS.map(a=>(0,b.jsx)("option",{value:a,children:a},a))}),(0,b.jsx)("select",{"aria-label":`Category for ${a.id}`,value:a.category,disabled:d,title:d?"Built-in statuses keep their category":ab[a.category],onChange:b=>v(a.id,{category:b.target.value}),className:aa,children:_.BUILTIN_STATUSES.map(a=>(0,b.jsxs)("option",{value:a,children:["works like ",a]},a))}),(0,b.jsx)("span",{className:"flex-1"}),(0,b.jsx)("button",{type:"button","aria-label":`Move ${a.id} up`,disabled:0===c,onClick:()=>w(c,-1),className:"grid size-7 place-items-center rounded-md text-muted hover:bg-surface2 hover:text-txt disabled:opacity-30",children:(0,b.jsx)(Y.ArrowUp,{className:"size-3.5"})}),(0,b.jsx)("button",{type:"button","aria-label":`Move ${a.id} down`,disabled:c===i.length-1,onClick:()=>w(c,1),className:"grid size-7 place-items-center rounded-md text-muted hover:bg-surface2 hover:text-txt disabled:opacity-30",children:(0,b.jsx)(X.ArrowDown,{className:"size-3.5"})}),!d&&(0,b.jsx)("button",{type:"button","aria-label":`Delete ${a.id}`,onClick:()=>{q(a.id),t(a.category)},className:"grid size-7 place-items-center rounded-md text-muted hover:bg-surface2 hover:text-danger",children:(0,b.jsx)(R.Trash2,{className:"size-3.5"})})]}),p===a.id&&(0,b.jsxs)("div",{className:"mt-2 flex flex-wrap items-center gap-2 border-t border-border pt-2 text-xs text-muted",children:[f>0?(0,b.jsxs)(b.Fragment,{children:["Move its ",f," task",1===f?"":"s"," to"]}):(0,b.jsx)(b.Fragment,{children:"No tasks use it."}),f>0&&(0,b.jsx)("select",{"aria-label":"Move its tasks to",value:s,onChange:a=>t(a.target.value),className:aa,children:i.filter(b=>b.id!==a.id).map(a=>(0,b.jsx)("option",{value:a.id,children:a.label},a.id))}),(0,b.jsxs)("button",{type:"button",onClick:()=>A(a.id),className:"rounded-md border border-danger/40 px-2 py-1 text-danger hover:bg-danger/10",children:["Delete ",a.label]}),(0,b.jsx)("button",{type:"button",onClick:()=>q(null),className:"px-1 hover:text-txt",children:"Cancel"})]})]},a.id)})}),(0,b.jsxs)("form",{onSubmit:a=>{a.preventDefault(),j.trim()&&!z&&(u([...i,{id:y,label:j.trim(),color:n,category:l}]),k(""))},className:"space-y-2 rounded-lg border border-dashed border-border2 p-3",children:[(0,b.jsx)("p",{className:"text-sm font-medium text-txt",children:"Add a status"}),(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,b.jsx)(L.Input,{"aria-label":"New status label",value:j,onChange:a=>k(a.target.value),placeholder:"QA",className:"h-8 w-40 border-border bg-bg text-txt"}),(0,b.jsx)("select",{"aria-label":"New status category",value:l,onChange:a=>m(a.target.value),className:aa,children:_.BUILTIN_STATUSES.map(a=>(0,b.jsxs)("option",{value:a,children:["works like ",a," (",ab[a],")"]},a))}),(0,b.jsx)("select",{"aria-label":"New status color",value:n,onChange:a=>o(a.target.value),className:aa,children:_.STATUS_COLORS.map(a=>(0,b.jsx)("option",{value:a,children:a},a))}),(0,b.jsxs)("button",{type:"submit",disabled:!j.trim()||!!z,className:"inline-flex h-8 items-center gap-1.5 rounded-md bg-accent px-3 text-xs font-medium text-accent-fg hover:bg-accent/90 disabled:opacity-40",children:[(0,b.jsx)(P.Plus,{className:"size-3.5"})," Add"]})]}),j.trim()&&(0,b.jsx)("p",{className:(0,r.cn)("font-mono text-[11px]",z?"text-danger":"text-muted"),children:z??`id: ${y}`})]})]})}var ad=a.i(443108),ae=a.i(210436);let af=[{id:"appearance",label:"Appearance",icon:g},{id:"editor",label:"Editor",icon:i},{id:"project",label:"Project",icon:k},{id:"statuses",label:"Statuses",icon:q},{id:"mcp",label:"MCP",icon:l.Plug},{id:"skills",label:"Skills",icon:m.Zap},{id:"agents",label:"Agents",icon:n.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)(z.DEFAULT_SETTINGS),[k,l]=(0,c.useState)(z.DEFAULT_SKILLS),[m,n]=(0,c.useState)(z.DEFAULT_AGENTS),[p,q]=(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({...z.DEFAULT_SETTINGS,...c.settings}),l(c.skills||z.DEFAULT_SKILLS),n(c.agents||z.DEFAULT_AGENTS)}catch{}q(!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,ae.applyTheme)(b.theme),(0,ae.applyAccent)(b.accentColor),(0,ae.applyFontSize)(b.fontSize),(0,ae.applyFonts)(b),e(b.editor),f(b.project?.autoRefresh??0),(0,ad.setStatusDefs)((0,_.statusDefs)(b.statuses))}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 p?(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)(o.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:af.map(a=>{let c=a.icon;return(0,b.jsxs)("button",{onClick:()=>h(a.id),className:(0,r.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-accent-fg px-3 py-1.5 rounded-lg text-sm shadow-lg",children:"Saving..."}),"appearance"===g&&(0,b.jsx)(C,{settings:i,onSave:v}),"editor"===g&&(0,b.jsx)(F,{settings:i,onSave:v}),"project"===g&&(0,b.jsx)(H,{settings:i,onSave:v}),"statuses"===g&&(0,b.jsx)(ac,{settings:i,onSave:v}),"mcp"===g&&(0,b.jsx)(O,{settings:i,onSave:v}),"skills"===g&&(0,b.jsx)(U,{skills:k,onSave:w}),"agents"===g&&(0,b.jsx)(W,{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),l=(0,y.resolveMcpEndpoint)(a.mcp.endpoint,(0,L.useOrigin)()),m=async()=>{f(!0),h(null);try{(await fetch(l,{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}}",l);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:l,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:m,disabled:e,className:"px-4 py-2 bg-accent text-accent-fg 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)(k.Plug,{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","vibedoc_save_entry","vibedoc_delete_entry"],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)},m=()=>{g&&g.name.trim()&&(i?d([...a,g]):d(a.map(a=>a.id===g.id?g:a)),k())},n=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-accent-fg 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:()=>n(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:m,disabled:!g.name.trim(),className:"flex items-center gap-2 px-3 py-1.5 bg-accent text-accent-fg 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:()=>n(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:m,disabled:!g.name.trim(),className:"flex items-center gap-2 px-3 py-1.5 bg-accent text-accent-fg 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)(l.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)},n=()=>{h&&h.name.trim()&&(j?e([...a,h]):e(a.map(a=>a.id===h.id?h:a)),l())},o=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:n,disabled:!a.name.trim(),className:"flex items-center gap-2 px-3 py-1.5 bg-accent text-accent-fg 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-accent-fg 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?o(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&&o(h),0===a.length&&!j&&(0,b.jsxs)("div",{className:"text-center py-8 text-muted",children:[(0,b.jsx)(m.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(725543),X=a.i(498053),Y=a.i(269769),Z=a.i(173628),$=a.i(147758);let _="h-8 rounded-md border border-border bg-bg px-2 text-sm text-txt focus:outline-hidden focus:ring-1 focus:ring-accent disabled:opacity-50",aa="grid grid-cols-[16px_minmax(0,1fr)_auto] items-center gap-2 sm:grid-cols-[16px_minmax(0,9rem)_minmax(0,6rem)_6rem_minmax(0,1fr)_5.25rem]",ab="grid size-7 place-items-center rounded-md text-muted hover:bg-surface2 hover:text-txt disabled:opacity-30 disabled:hover:bg-transparent",ac={todo:"waiting to start","in-progress":"being worked on",review:"waits for a human",blocked:"stuck",paused:"stopped on purpose",done:"finished",cancelled:"dropped"};function ad({settings:a,onSave:e}){let{board:f,rootParam:g,refresh:h}=(0,d.useApp)(),i=(0,$.statusDefs)(a.statuses),[j,k]=(0,c.useState)(""),[l,m]=(0,c.useState)("review"),[n,o]=(0,c.useState)("blue"),[p,r]=(0,c.useState)(null),[s,t]=(0,c.useState)("todo"),u=b=>e({...a,statuses:b}),v=(a,b)=>u(i.map(c=>c.id===a?{...c,...b}:c)),w=(a,b)=>{let c=[...i],[d]=c.splice(a,1);c.splice(a+b,0,d),u(c)},x=a=>Object.values(f??{}).flat().filter(b=>b.customStatus===a),y=j.toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"").slice(0,40),z=j.trim()?y?i.some(a=>a.id===y)?"Already exists":(0,$.invalidStatusId)(y):"Use letters or digits":null;async function A(a){let b=x(a).map(a=>a.id);if(b.length){let a=await fetch(`/api/tasks/bulk${g}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({ids:b,action:{status:s}})});if(!a.ok)return(0,Y.toast)((await a.json().catch(()=>null))?.error??"Could not move the tasks")}await u(i.filter(b=>b.id!==a)),r(null),h()}return(0,b.jsxs)("div",{className:"space-y-8",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"mb-1 text-xl font-semibold text-txt",children:"Statuses"}),(0,b.jsx)("p",{className:"text-sm text-muted",children:"Board columns, in order. A custom status works like the built-in category it maps to: agents, the work queue and progress read the category. Task files store the status id, so renaming never touches them."})]}),(0,b.jsxs)("div",{"aria-hidden":!0,className:(0,q.cn)(aa,"hidden px-2.5 font-mono text-[10px] uppercase tracking-[0.06em] text-muted sm:grid"),children:[(0,b.jsx)("span",{}),(0,b.jsx)("span",{children:"Label"}),(0,b.jsx)("span",{children:"Id"}),(0,b.jsx)("span",{children:"Color"}),(0,b.jsx)("span",{children:"Works like"}),(0,b.jsx)("span",{})]}),(0,b.jsx)("ul",{className:"-mt-6 flex flex-col gap-2",children:i.map((a,c)=>{let d=$.BUILTIN_STATUSES.includes(a.id),e=Z.STATUS_META[a.category].icon,f=d?0:x(a.id).length;return(0,b.jsxs)("li",{className:"rounded-lg border border-border bg-surface p-2.5",children:[(0,b.jsxs)("div",{className:aa,children:[(0,b.jsx)(e,{className:(0,q.cn)("size-4 shrink-0",Z.STATUS_COLOR_CLASS[a.color].text),"aria-hidden":!0}),(0,b.jsx)(K.Input,{"aria-label":`Label for ${a.id}`,defaultValue:a.label,onBlur:b=>{let c=b.target.value.trim();c&&c!==a.label&&v(a.id,{label:c})},onKeyDown:a=>{"Enter"===a.key&&a.currentTarget.blur()},className:"h-8 w-full border-border bg-bg text-txt"},`${a.id}:${a.label}`),(0,b.jsxs)("div",{className:"order-last col-span-3 flex min-w-0 items-center gap-2 pl-6 sm:order-none sm:contents",children:[(0,b.jsx)("span",{className:"w-20 shrink-0 truncate font-mono text-[11px] text-muted sm:w-auto",title:a.id,children:a.id}),(0,b.jsx)("select",{"aria-label":`Color for ${a.id}`,value:a.color,onChange:b=>v(a.id,{color:b.target.value}),className:(0,q.cn)(_,"min-w-0"),children:$.STATUS_COLORS.map(a=>(0,b.jsx)("option",{value:a,children:a},a))}),d?(0,b.jsx)("span",{className:"px-2 text-xs text-muted",title:"Built-in statuses keep their category",children:"Built-in"}):(0,b.jsx)("select",{"aria-label":`Category for ${a.id}`,value:a.category,title:ac[a.category],onChange:b=>v(a.id,{category:b.target.value}),className:(0,q.cn)(_,"min-w-0 flex-1"),children:$.BUILTIN_STATUSES.map(a=>(0,b.jsx)("option",{value:a,children:a},a))})]}),(0,b.jsxs)("div",{className:"ml-auto flex items-center justify-end",children:[(0,b.jsx)("button",{type:"button","aria-label":`Move ${a.id} up`,disabled:0===c,onClick:()=>w(c,-1),className:ab,children:(0,b.jsx)(X.ArrowUp,{className:"size-3.5"})}),(0,b.jsx)("button",{type:"button","aria-label":`Move ${a.id} down`,disabled:c===i.length-1,onClick:()=>w(c,1),className:ab,children:(0,b.jsx)(W.ArrowDown,{className:"size-3.5"})}),d?(0,b.jsx)("span",{className:"size-7","aria-hidden":!0}):(0,b.jsx)("button",{type:"button","aria-label":`Delete ${a.id}`,onClick:()=>{r(a.id),t(a.category)},className:(0,q.cn)(ab,"hover:text-danger"),children:(0,b.jsx)(Q.Trash2,{className:"size-3.5"})})]})]}),p===a.id&&(0,b.jsxs)("div",{className:"mt-2 flex flex-wrap items-center gap-2 border-t border-border pt-2 text-xs text-muted",children:[f>0?(0,b.jsxs)(b.Fragment,{children:["Move its ",f," task",1===f?"":"s"," to"]}):(0,b.jsx)(b.Fragment,{children:"No tasks use it."}),f>0&&(0,b.jsx)("select",{"aria-label":"Move its tasks to",value:s,onChange:a=>t(a.target.value),className:_,children:i.filter(b=>b.id!==a.id).map(a=>(0,b.jsx)("option",{value:a.id,children:a.label},a.id))}),(0,b.jsxs)("button",{type:"button",onClick:()=>A(a.id),className:"rounded-md border border-danger/40 px-2 py-1 text-danger hover:bg-danger/10",children:["Delete ",a.label]}),(0,b.jsx)("button",{type:"button",onClick:()=>r(null),className:"px-1 hover:text-txt",children:"Cancel"})]})]},a.id)})}),(0,b.jsxs)("form",{onSubmit:a=>{a.preventDefault(),j.trim()&&!z&&(u([...i,{id:y,label:j.trim(),color:n,category:l}]),k(""))},className:"space-y-2 rounded-lg border border-dashed border-border2 p-3",children:[(0,b.jsx)("p",{className:"text-sm font-medium text-txt",children:"Add a status"}),(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,b.jsx)(K.Input,{"aria-label":"New status label",value:j,onChange:a=>k(a.target.value),placeholder:"QA",className:"h-8 w-40 border-border bg-bg text-txt"}),(0,b.jsx)("select",{"aria-label":"New status category",value:l,onChange:a=>m(a.target.value),className:_,children:$.BUILTIN_STATUSES.map(a=>(0,b.jsxs)("option",{value:a,children:["works like ",a," (",ac[a],")"]},a))}),(0,b.jsx)("select",{"aria-label":"New status color",value:n,onChange:a=>o(a.target.value),className:_,children:$.STATUS_COLORS.map(a=>(0,b.jsx)("option",{value:a,children:a},a))}),(0,b.jsxs)("button",{type:"submit",disabled:!j.trim()||!!z,className:"inline-flex h-8 items-center gap-1.5 rounded-md bg-accent px-3 text-xs font-medium text-accent-fg hover:bg-accent/90 disabled:opacity-40",children:[(0,b.jsx)(O.Plus,{className:"size-3.5"})," Add"]})]}),j.trim()&&(0,b.jsx)("p",{className:(0,q.cn)("font-mono text-[11px]",z?"text-danger":"text-muted"),children:z??`id: ${y}`})]})]})}var ae=a.i(443108),af=a.i(210436);let ag=[{id:"appearance",label:"Appearance",icon:g},{id:"editor",label:"Editor",icon:h.Type},{id:"project",label:"Project",icon:j},{id:"statuses",label:"Statuses",icon:p},{id:"mcp",label:"MCP",icon:k.Plug},{id:"skills",label:"Skills",icon:l.Zap},{id:"agents",label:"Agents",icon:m.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,o]=(0,c.useState)(y.DEFAULT_AGENTS),[p,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),o(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,af.applyTheme)(b.theme),(0,af.applyAccent)(b.accentColor),(0,af.applyFontSize)(b.fontSize),(0,af.applyFonts)(b),e(b.editor),f(b.project?.autoRefresh??0),(0,ae.setStatusDefs)((0,$.statusDefs)(b.statuses))}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),o(b);try{await fetch(`/api/settings${a}&type=agents`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)})}catch{}t(!1)};return p?(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 flex-col sm:flex-row",children:[(0,b.jsx)("nav",{"aria-label":"Settings sections",className:"flex shrink-0 gap-1 overflow-x-auto border-b border-border px-3 py-2 sm:hidden [scrollbar-width:none]",children:ag.map(a=>(0,b.jsx)("button",{onClick:()=>h(a.id),"aria-current":g===a.id?"page":void 0,className:(0,q.cn)("shrink-0 rounded-md px-2.5 py-1.5 text-sm transition-colors",g===a.id?"bg-accent/10 font-medium text-accent":"text-muted hover:bg-surface2 hover:text-txt"),children:a.label},a.id))}),(0,b.jsxs)("aside",{className:"hidden w-56 shrink-0 border-r border-border bg-sidebar sm:block",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)(n.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:ag.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-4 sm:p-6",children:[s&&(0,b.jsx)("div",{className:"fixed top-4 right-4 bg-accent text-accent-fg 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}),"statuses"===g&&(0,b.jsx)(ad,{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