@geminilight/mindos-windows-arm64 1.0.6 → 1.0.7

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 (528) hide show
  1. package/_standalone/.mindos-build-version +1 -1
  2. package/_standalone/__next/BUILD_ID +1 -1
  3. package/_standalone/__next/app-path-routes-manifest.json +34 -34
  4. package/_standalone/__next/build-manifest.json +4 -4
  5. package/_standalone/__next/prerender-manifest.json +3 -3
  6. package/_standalone/__next/react-loadable-manifest.json +4 -4
  7. package/_standalone/__next/required-server-files.json +4 -4
  8. package/_standalone/__next/server/app/.well-known/agent-card.json/route.js +1 -1
  9. package/_standalone/__next/server/app/.well-known/agent-card.json/route_client-reference-manifest.js +1 -1
  10. package/_standalone/__next/server/app/_global-error/page.js +3 -3
  11. package/_standalone/__next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  12. package/_standalone/__next/server/app/_global-error.html +2 -2
  13. package/_standalone/__next/server/app/_global-error.rsc +3 -3
  14. package/_standalone/__next/server/app/_global-error.segments/_full.segment.rsc +3 -3
  15. package/_standalone/__next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  16. package/_standalone/__next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  17. package/_standalone/__next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  18. package/_standalone/__next/server/app/_global-error.segments/_index.segment.rsc +2 -2
  19. package/_standalone/__next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  20. package/_standalone/__next/server/app/_not-found/page.js +2 -2
  21. package/_standalone/__next/server/app/_not-found/page.js.nft.json +1 -1
  22. package/_standalone/__next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  23. package/_standalone/__next/server/app/agents/[agentKey]/page.js +2 -2
  24. package/_standalone/__next/server/app/agents/[agentKey]/page.js.nft.json +1 -1
  25. package/_standalone/__next/server/app/agents/[agentKey]/page_client-reference-manifest.js +1 -1
  26. package/_standalone/__next/server/app/agents/page.js +2 -2
  27. package/_standalone/__next/server/app/agents/page.js.nft.json +1 -1
  28. package/_standalone/__next/server/app/agents/page_client-reference-manifest.js +1 -1
  29. package/_standalone/__next/server/app/api/a2a/agents/route.js +1 -1
  30. package/_standalone/__next/server/app/api/a2a/agents/route_client-reference-manifest.js +1 -1
  31. package/_standalone/__next/server/app/api/a2a/delegations/route.js +1 -1
  32. package/_standalone/__next/server/app/api/a2a/delegations/route_client-reference-manifest.js +1 -1
  33. package/_standalone/__next/server/app/api/a2a/discover/route.js +1 -1
  34. package/_standalone/__next/server/app/api/a2a/discover/route_client-reference-manifest.js +1 -1
  35. package/_standalone/__next/server/app/api/a2a/route.js +1 -1
  36. package/_standalone/__next/server/app/api/a2a/route_client-reference-manifest.js +1 -1
  37. package/_standalone/__next/server/app/api/acp/config/route.js +1 -1
  38. package/_standalone/__next/server/app/api/acp/config/route_client-reference-manifest.js +1 -1
  39. package/_standalone/__next/server/app/api/acp/detect/route.js +1 -1
  40. package/_standalone/__next/server/app/api/acp/detect/route_client-reference-manifest.js +1 -1
  41. package/_standalone/__next/server/app/api/acp/install/route.js +1 -1
  42. package/_standalone/__next/server/app/api/acp/install/route_client-reference-manifest.js +1 -1
  43. package/_standalone/__next/server/app/api/acp/registry/route.js +1 -1
  44. package/_standalone/__next/server/app/api/acp/registry/route_client-reference-manifest.js +1 -1
  45. package/_standalone/__next/server/app/api/acp/session/route.js +1 -1
  46. package/_standalone/__next/server/app/api/acp/session/route_client-reference-manifest.js +1 -1
  47. package/_standalone/__next/server/app/api/agent-activity/route.js +1 -1
  48. package/_standalone/__next/server/app/api/agent-activity/route_client-reference-manifest.js +1 -1
  49. package/_standalone/__next/server/app/api/agents/copy-skill/route.js +1 -1
  50. package/_standalone/__next/server/app/api/agents/copy-skill/route_client-reference-manifest.js +1 -1
  51. package/_standalone/__next/server/app/api/agents/custom/detect/route.js +1 -1
  52. package/_standalone/__next/server/app/api/agents/custom/detect/route_client-reference-manifest.js +1 -1
  53. package/_standalone/__next/server/app/api/agents/custom/route.js +1 -1
  54. package/_standalone/__next/server/app/api/agents/custom/route_client-reference-manifest.js +1 -1
  55. package/_standalone/__next/server/app/api/ask/route.js +2 -2
  56. package/_standalone/__next/server/app/api/ask/route_client-reference-manifest.js +1 -1
  57. package/_standalone/__next/server/app/api/ask-sessions/route.js +1 -1
  58. package/_standalone/__next/server/app/api/ask-sessions/route_client-reference-manifest.js +1 -1
  59. package/_standalone/__next/server/app/api/auth/route.js +1 -1
  60. package/_standalone/__next/server/app/api/auth/route_client-reference-manifest.js +1 -1
  61. package/_standalone/__next/server/app/api/backlinks/route.js +1 -1
  62. package/_standalone/__next/server/app/api/backlinks/route_client-reference-manifest.js +1 -1
  63. package/_standalone/__next/server/app/api/bootstrap/route.js +1 -1
  64. package/_standalone/__next/server/app/api/bootstrap/route_client-reference-manifest.js +1 -1
  65. package/_standalone/__next/server/app/api/changes/route.js +1 -1
  66. package/_standalone/__next/server/app/api/changes/route_client-reference-manifest.js +1 -1
  67. package/_standalone/__next/server/app/api/channels/verify/route.js +1 -1
  68. package/_standalone/__next/server/app/api/channels/verify/route_client-reference-manifest.js +1 -1
  69. package/_standalone/__next/server/app/api/connect/route.js +1 -1
  70. package/_standalone/__next/server/app/api/connect/route_client-reference-manifest.js +1 -1
  71. package/_standalone/__next/server/app/api/embedding/route.js +1 -1
  72. package/_standalone/__next/server/app/api/embedding/route_client-reference-manifest.js +1 -1
  73. package/_standalone/__next/server/app/api/export/route.js +1 -1
  74. package/_standalone/__next/server/app/api/export/route_client-reference-manifest.js +1 -1
  75. package/_standalone/__next/server/app/api/extract-docx/route.js +1 -1
  76. package/_standalone/__next/server/app/api/extract-docx/route_client-reference-manifest.js +1 -1
  77. package/_standalone/__next/server/app/api/extract-pdf/route.js +2 -2
  78. package/_standalone/__next/server/app/api/extract-pdf/route_client-reference-manifest.js +1 -1
  79. package/_standalone/__next/server/app/api/file/import/route.js +1 -1
  80. package/_standalone/__next/server/app/api/file/import/route_client-reference-manifest.js +1 -1
  81. package/_standalone/__next/server/app/api/file/raw/route.js +1 -1
  82. package/_standalone/__next/server/app/api/file/raw/route_client-reference-manifest.js +1 -1
  83. package/_standalone/__next/server/app/api/file/route.js +1 -1
  84. package/_standalone/__next/server/app/api/file/route_client-reference-manifest.js +1 -1
  85. package/_standalone/__next/server/app/api/files/route.js +1 -1
  86. package/_standalone/__next/server/app/api/files/route_client-reference-manifest.js +1 -1
  87. package/_standalone/__next/server/app/api/git/route.js +1 -1
  88. package/_standalone/__next/server/app/api/git/route_client-reference-manifest.js +1 -1
  89. package/_standalone/__next/server/app/api/graph/route.js +1 -1
  90. package/_standalone/__next/server/app/api/graph/route_client-reference-manifest.js +1 -1
  91. package/_standalone/__next/server/app/api/health/route.js +1 -1
  92. package/_standalone/__next/server/app/api/health/route_client-reference-manifest.js +1 -1
  93. package/_standalone/__next/server/app/api/im/activity/route.js +1 -1
  94. package/_standalone/__next/server/app/api/im/activity/route_client-reference-manifest.js +1 -1
  95. package/_standalone/__next/server/app/api/im/config/route.js +1 -1
  96. package/_standalone/__next/server/app/api/im/config/route_client-reference-manifest.js +1 -1
  97. package/_standalone/__next/server/app/api/im/feishu/long-connection/event/route.js +1 -1
  98. package/_standalone/__next/server/app/api/im/feishu/long-connection/event/route_client-reference-manifest.js +1 -1
  99. package/_standalone/__next/server/app/api/im/feishu/long-connection/route.js +1 -1
  100. package/_standalone/__next/server/app/api/im/feishu/long-connection/route_client-reference-manifest.js +1 -1
  101. package/_standalone/__next/server/app/api/im/status/route.js +1 -1
  102. package/_standalone/__next/server/app/api/im/status/route_client-reference-manifest.js +1 -1
  103. package/_standalone/__next/server/app/api/im/test/route.js +1 -1
  104. package/_standalone/__next/server/app/api/im/test/route_client-reference-manifest.js +1 -1
  105. package/_standalone/__next/server/app/api/im/webhook/feishu/route.js +1 -1
  106. package/_standalone/__next/server/app/api/im/webhook/feishu/route_client-reference-manifest.js +1 -1
  107. package/_standalone/__next/server/app/api/im/webhook-status/route.js +1 -1
  108. package/_standalone/__next/server/app/api/im/webhook-status/route_client-reference-manifest.js +1 -1
  109. package/_standalone/__next/server/app/api/inbox/clip/route.js +2 -2
  110. package/_standalone/__next/server/app/api/inbox/clip/route_client-reference-manifest.js +1 -1
  111. package/_standalone/__next/server/app/api/inbox/route.js +1 -1
  112. package/_standalone/__next/server/app/api/inbox/route_client-reference-manifest.js +1 -1
  113. package/_standalone/__next/server/app/api/init/route.js +1 -1
  114. package/_standalone/__next/server/app/api/init/route_client-reference-manifest.js +1 -1
  115. package/_standalone/__next/server/app/api/lint/route.js +1 -1
  116. package/_standalone/__next/server/app/api/lint/route_client-reference-manifest.js +1 -1
  117. package/_standalone/__next/server/app/api/mcp/agents/route.js +1 -1
  118. package/_standalone/__next/server/app/api/mcp/agents/route_client-reference-manifest.js +1 -1
  119. package/_standalone/__next/server/app/api/mcp/direct-tools/route.js +1 -1
  120. package/_standalone/__next/server/app/api/mcp/direct-tools/route_client-reference-manifest.js +1 -1
  121. package/_standalone/__next/server/app/api/mcp/install/route.js +1 -1
  122. package/_standalone/__next/server/app/api/mcp/install/route_client-reference-manifest.js +1 -1
  123. package/_standalone/__next/server/app/api/mcp/install-skill/route.js +1 -1
  124. package/_standalone/__next/server/app/api/mcp/install-skill/route_client-reference-manifest.js +1 -1
  125. package/_standalone/__next/server/app/api/mcp/restart/route.js +1 -1
  126. package/_standalone/__next/server/app/api/mcp/restart/route_client-reference-manifest.js +1 -1
  127. package/_standalone/__next/server/app/api/mcp/status/route.js +1 -1
  128. package/_standalone/__next/server/app/api/mcp/status/route_client-reference-manifest.js +1 -1
  129. package/_standalone/__next/server/app/api/mcp/tools/route.js +1 -1
  130. package/_standalone/__next/server/app/api/mcp/tools/route_client-reference-manifest.js +1 -1
  131. package/_standalone/__next/server/app/api/mcp/uninstall/route.js +1 -1
  132. package/_standalone/__next/server/app/api/mcp/uninstall/route_client-reference-manifest.js +1 -1
  133. package/_standalone/__next/server/app/api/monitoring/route.js +1 -1
  134. package/_standalone/__next/server/app/api/monitoring/route_client-reference-manifest.js +1 -1
  135. package/_standalone/__next/server/app/api/obsidian/compat-report/route.js +1 -1
  136. package/_standalone/__next/server/app/api/obsidian/compat-report/route_client-reference-manifest.js +1 -1
  137. package/_standalone/__next/server/app/api/obsidian/import/route.js +1 -1
  138. package/_standalone/__next/server/app/api/obsidian/import/route_client-reference-manifest.js +1 -1
  139. package/_standalone/__next/server/app/api/obsidian-plugins/settings/route.js +2 -2
  140. package/_standalone/__next/server/app/api/obsidian-plugins/settings/route_client-reference-manifest.js +1 -1
  141. package/_standalone/__next/server/app/api/recent-files/route.js +1 -1
  142. package/_standalone/__next/server/app/api/recent-files/route_client-reference-manifest.js +1 -1
  143. package/_standalone/__next/server/app/api/restart/route.js +1 -1
  144. package/_standalone/__next/server/app/api/restart/route_client-reference-manifest.js +1 -1
  145. package/_standalone/__next/server/app/api/search/prewarm/route.js +1 -1
  146. package/_standalone/__next/server/app/api/search/prewarm/route_client-reference-manifest.js +1 -1
  147. package/_standalone/__next/server/app/api/search/route.js +1 -1
  148. package/_standalone/__next/server/app/api/search/route_client-reference-manifest.js +1 -1
  149. package/_standalone/__next/server/app/api/settings/list-models/route.js +1 -1
  150. package/_standalone/__next/server/app/api/settings/list-models/route_client-reference-manifest.js +1 -1
  151. package/_standalone/__next/server/app/api/settings/reset-token/route.js +1 -1
  152. package/_standalone/__next/server/app/api/settings/reset-token/route_client-reference-manifest.js +1 -1
  153. package/_standalone/__next/server/app/api/settings/route.js +1 -1
  154. package/_standalone/__next/server/app/api/settings/route_client-reference-manifest.js +1 -1
  155. package/_standalone/__next/server/app/api/settings/test-key/route.js +1 -1
  156. package/_standalone/__next/server/app/api/settings/test-key/route_client-reference-manifest.js +1 -1
  157. package/_standalone/__next/server/app/api/setup/check-path/route.js +1 -1
  158. package/_standalone/__next/server/app/api/setup/check-path/route_client-reference-manifest.js +1 -1
  159. package/_standalone/__next/server/app/api/setup/check-port/route.js +1 -1
  160. package/_standalone/__next/server/app/api/setup/check-port/route_client-reference-manifest.js +1 -1
  161. package/_standalone/__next/server/app/api/setup/generate-token/route.js +1 -1
  162. package/_standalone/__next/server/app/api/setup/generate-token/route_client-reference-manifest.js +1 -1
  163. package/_standalone/__next/server/app/api/setup/ls/route.js +1 -1
  164. package/_standalone/__next/server/app/api/setup/ls/route_client-reference-manifest.js +1 -1
  165. package/_standalone/__next/server/app/api/setup/route.js +1 -1
  166. package/_standalone/__next/server/app/api/setup/route_client-reference-manifest.js +1 -1
  167. package/_standalone/__next/server/app/api/skills/route.js +1 -1
  168. package/_standalone/__next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  169. package/_standalone/__next/server/app/api/space-overview/route.js +1 -1
  170. package/_standalone/__next/server/app/api/space-overview/route_client-reference-manifest.js +1 -1
  171. package/_standalone/__next/server/app/api/sync/route.js +1 -1
  172. package/_standalone/__next/server/app/api/sync/route_client-reference-manifest.js +1 -1
  173. package/_standalone/__next/server/app/api/tree-version/route.js +1 -1
  174. package/_standalone/__next/server/app/api/tree-version/route_client-reference-manifest.js +1 -1
  175. package/_standalone/__next/server/app/api/uninstall/route.js +1 -1
  176. package/_standalone/__next/server/app/api/uninstall/route_client-reference-manifest.js +1 -1
  177. package/_standalone/__next/server/app/api/update/route.js +1 -1
  178. package/_standalone/__next/server/app/api/update/route_client-reference-manifest.js +1 -1
  179. package/_standalone/__next/server/app/api/update-check/route.js +1 -1
  180. package/_standalone/__next/server/app/api/update-check/route_client-reference-manifest.js +1 -1
  181. package/_standalone/__next/server/app/api/update-status/route.js +1 -1
  182. package/_standalone/__next/server/app/api/update-status/route_client-reference-manifest.js +1 -1
  183. package/_standalone/__next/server/app/api/workflows/route.js +1 -1
  184. package/_standalone/__next/server/app/api/workflows/route_client-reference-manifest.js +1 -1
  185. package/_standalone/__next/server/app/capture/history/page.js +2 -2
  186. package/_standalone/__next/server/app/capture/history/page.js.nft.json +1 -1
  187. package/_standalone/__next/server/app/capture/history/page_client-reference-manifest.js +1 -1
  188. package/_standalone/__next/server/app/capture/page.js +2 -2
  189. package/_standalone/__next/server/app/capture/page.js.nft.json +1 -1
  190. package/_standalone/__next/server/app/capture/page_client-reference-manifest.js +1 -1
  191. package/_standalone/__next/server/app/changelog/page.js +2 -2
  192. package/_standalone/__next/server/app/changelog/page.js.nft.json +1 -1
  193. package/_standalone/__next/server/app/changelog/page_client-reference-manifest.js +1 -1
  194. package/_standalone/__next/server/app/changes/page.js +2 -2
  195. package/_standalone/__next/server/app/changes/page.js.nft.json +1 -1
  196. package/_standalone/__next/server/app/changes/page_client-reference-manifest.js +1 -1
  197. package/_standalone/__next/server/app/echo/[segment]/page.js +4 -4
  198. package/_standalone/__next/server/app/echo/[segment]/page.js.nft.json +1 -1
  199. package/_standalone/__next/server/app/echo/[segment]/page_client-reference-manifest.js +1 -1
  200. package/_standalone/__next/server/app/echo/page.js +2 -2
  201. package/_standalone/__next/server/app/echo/page.js.nft.json +1 -1
  202. package/_standalone/__next/server/app/echo/page_client-reference-manifest.js +1 -1
  203. package/_standalone/__next/server/app/explore/page.js +3 -3
  204. package/_standalone/__next/server/app/explore/page.js.nft.json +1 -1
  205. package/_standalone/__next/server/app/explore/page_client-reference-manifest.js +1 -1
  206. package/_standalone/__next/server/app/help/page.js +2 -2
  207. package/_standalone/__next/server/app/help/page.js.nft.json +1 -1
  208. package/_standalone/__next/server/app/help/page_client-reference-manifest.js +1 -1
  209. package/_standalone/__next/server/app/icon.svg/route.js +1 -1
  210. package/_standalone/__next/server/app/inbox/history/page.js +2 -2
  211. package/_standalone/__next/server/app/inbox/history/page.js.nft.json +1 -1
  212. package/_standalone/__next/server/app/inbox/history/page_client-reference-manifest.js +1 -1
  213. package/_standalone/__next/server/app/login/page.js +2 -2
  214. package/_standalone/__next/server/app/login/page.js.nft.json +1 -1
  215. package/_standalone/__next/server/app/login/page_client-reference-manifest.js +1 -1
  216. package/_standalone/__next/server/app/page.js +2 -2
  217. package/_standalone/__next/server/app/page.js.nft.json +1 -1
  218. package/_standalone/__next/server/app/page_client-reference-manifest.js +1 -1
  219. package/_standalone/__next/server/app/settings/page.js +2 -2
  220. package/_standalone/__next/server/app/settings/page.js.nft.json +1 -1
  221. package/_standalone/__next/server/app/settings/page_client-reference-manifest.js +1 -1
  222. package/_standalone/__next/server/app/setup/page.js +2 -2
  223. package/_standalone/__next/server/app/setup/page.js.nft.json +1 -1
  224. package/_standalone/__next/server/app/setup/page_client-reference-manifest.js +1 -1
  225. package/_standalone/__next/server/app/todo/page.js +2 -2
  226. package/_standalone/__next/server/app/todo/page.js.nft.json +1 -1
  227. package/_standalone/__next/server/app/todo/page_client-reference-manifest.js +1 -1
  228. package/_standalone/__next/server/app/trash/page.js +3 -3
  229. package/_standalone/__next/server/app/trash/page.js.nft.json +1 -1
  230. package/_standalone/__next/server/app/trash/page_client-reference-manifest.js +1 -1
  231. package/_standalone/__next/server/app/view/[...path]/page.js +3 -3
  232. package/_standalone/__next/server/app/view/[...path]/page.js.nft.json +1 -1
  233. package/_standalone/__next/server/app/view/[...path]/page_client-reference-manifest.js +1 -1
  234. package/_standalone/__next/server/app/wiki/page.js +2 -2
  235. package/_standalone/__next/server/app/wiki/page.js.nft.json +1 -1
  236. package/_standalone/__next/server/app/wiki/page_client-reference-manifest.js +1 -1
  237. package/_standalone/__next/server/app-paths-manifest.json +34 -34
  238. package/_standalone/__next/server/chunks/{6602.js → 1834.js} +21 -21
  239. package/_standalone/__next/server/chunks/3466.js +1 -1
  240. package/_standalone/__next/server/chunks/3727.js +1 -1
  241. package/_standalone/__next/server/chunks/4793.js +1 -1
  242. package/_standalone/__next/server/chunks/6377.js +3 -3
  243. package/_standalone/__next/server/chunks/9350.js +2 -2
  244. package/_standalone/__next/server/chunks/{3219.js → 9773.js} +3 -3
  245. package/_standalone/__next/server/middleware-build-manifest.js +1 -1
  246. package/_standalone/__next/server/middleware-react-loadable-manifest.js +1 -1
  247. package/_standalone/__next/server/middleware.js +2 -2
  248. package/_standalone/__next/server/pages/500.html +2 -2
  249. package/_standalone/__next/server/server-reference-manifest.js +1 -1
  250. package/_standalone/__next/server/server-reference-manifest.json +1 -1
  251. package/_standalone/__next/static/chunks/{2461-a1073a0bd04c228a.js → 1957-723ac4eb5200214c.js} +3 -3
  252. package/_standalone/__next/static/chunks/{47-41e1a06e6d389b69.js → 2737-f4970f0684c334d6.js} +1 -1
  253. package/_standalone/__next/static/chunks/{9216.d3339c27169b21bf.js → 6728.e1841cddb63308b0.js} +1 -1
  254. package/_standalone/__next/static/chunks/{6947.7e50e18da7dc4aef.js → 6947.fb89346ef2f6be17.js} +1 -1
  255. package/_standalone/__next/static/chunks/app/_not-found/{page-ec6fa498a07e6fd9.js → page-eaedcec1b693c03c.js} +1 -1
  256. package/{static-web/_next/static/chunks/app/agents/[agentKey]/page-44c493b744d18249.js → _standalone/__next/static/chunks/app/agents/[agentKey]/page-1dac12945bfbaf35.js} +1 -1
  257. package/{static-web/_next/static/chunks/app/agents/page-6591b482a193e657.js → _standalone/__next/static/chunks/app/agents/page-7ff2e39ca12eb20a.js} +1 -1
  258. package/_standalone/__next/static/chunks/app/capture/history/page-51db96203209a441.js +1 -0
  259. package/_standalone/__next/static/chunks/app/capture/page-3bf09d1f5e1c379c.js +1 -0
  260. package/_standalone/__next/static/chunks/app/changelog/page-01dc22b6d2230c7f.js +1 -0
  261. package/_standalone/__next/static/chunks/app/changes/page-c9f8d5632a001849.js +1 -0
  262. package/{static-web/_next/static/chunks/app/echo/[segment]/page-c5ea40ac04f2dc29.js → _standalone/__next/static/chunks/app/echo/[segment]/page-44b6b8e7fd0bbe31.js} +2 -2
  263. package/_standalone/__next/static/chunks/app/echo/page-c9f8d5632a001849.js +1 -0
  264. package/_standalone/__next/static/chunks/app/{error-c46d1b03d5e3289c.js → error-1cfcd6abd93c3837.js} +1 -1
  265. package/_standalone/__next/static/chunks/app/explore/{page-5d6dd4af8d1bb468.js → page-117fcf54b8b9765c.js} +1 -1
  266. package/_standalone/__next/static/chunks/app/global-error-11b333dcf222bc09.js +1 -0
  267. package/_standalone/__next/static/chunks/app/help/{page-3f0a1a8e51249cb2.js → page-6efb8aa3a3c169fa.js} +1 -1
  268. package/_standalone/__next/static/chunks/app/inbox/history/page-913645bbd6161116.js +1 -0
  269. package/{static-web/_next/static/chunks/app/layout-5966cd317bbed698.js → _standalone/__next/static/chunks/app/layout-24a31ea28c556e82.js} +7 -7
  270. package/_standalone/__next/static/chunks/app/login/page-7f9aca3d51266bec.js +1 -0
  271. package/{static-web/_next/static/chunks/app/page-5c9489e28657376e.js → _standalone/__next/static/chunks/app/page-35662964020c0ea9.js} +1 -1
  272. package/_standalone/__next/static/chunks/app/settings/{page-c9f44b3447a41431.js → page-f816f13a34613538.js} +1 -1
  273. package/{static-web/_next/static/chunks/app/setup/page-f5de08d0d588c778.js → _standalone/__next/static/chunks/app/setup/page-a1027871dc33ffbd.js} +1 -1
  274. package/_standalone/__next/static/chunks/app/todo/page-54c3ec77f662ff73.js +1 -0
  275. package/_standalone/__next/static/chunks/app/trash/page-50622e3df2047204.js +1 -0
  276. package/_standalone/__next/static/chunks/app/view/[...path]/{error-f73092e638a4e999.js → error-c9a3f6de7c963c74.js} +1 -1
  277. package/_standalone/__next/static/chunks/app/view/[...path]/{not-found-80e5f4054819b372.js → not-found-5a4f2b4fbe28d617.js} +1 -1
  278. package/_standalone/__next/static/chunks/app/view/[...path]/page-b10d3819827da1c2.js +12 -0
  279. package/{static-web/_next/static/chunks/app/wiki/page-4c9bc816069b6f2a.js → _standalone/__next/static/chunks/app/wiki/page-7afd3b97c1ea1b8c.js} +2 -2
  280. package/_standalone/__next/static/chunks/{main-app-23adfdc06470abb6.js → main-app-8a6081b103b8f494.js} +1 -1
  281. package/_standalone/__next/static/chunks/webpack-7d8c24c6af17dd51.js +1 -0
  282. package/_standalone/__node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
  283. package/_standalone/__node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
  284. package/_standalone/__node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  285. package/_standalone/__node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  286. package/_standalone/__node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  287. package/_standalone/__node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  288. package/_standalone/__node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
  289. package/_standalone/__node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
  290. package/_standalone/__node_modules/@aws-sdk/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
  291. package/_standalone/__node_modules/@aws-sdk/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
  292. package/_standalone/__node_modules/@aws-sdk/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  293. package/_standalone/__node_modules/@aws-sdk/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  294. package/_standalone/__node_modules/@aws-sdk/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  295. package/_standalone/__node_modules/@aws-sdk/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  296. package/_standalone/__node_modules/@aws-sdk/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
  297. package/_standalone/__node_modules/@aws-sdk/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
  298. package/_standalone/__node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
  299. package/_standalone/__node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
  300. package/_standalone/__node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  301. package/_standalone/__node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  302. package/_standalone/__node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  303. package/_standalone/__node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  304. package/_standalone/__node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
  305. package/_standalone/__node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
  306. package/_standalone/__node_modules/@aws-sdk/middleware-websocket/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
  307. package/_standalone/__node_modules/@aws-sdk/middleware-websocket/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
  308. package/_standalone/__node_modules/@aws-sdk/middleware-websocket/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  309. package/_standalone/__node_modules/@aws-sdk/middleware-websocket/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  310. package/_standalone/__node_modules/@aws-sdk/middleware-websocket/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  311. package/_standalone/__node_modules/@aws-sdk/middleware-websocket/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  312. package/_standalone/__node_modules/@aws-sdk/middleware-websocket/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
  313. package/_standalone/__node_modules/@aws-sdk/middleware-websocket/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
  314. package/_standalone/__node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
  315. package/_standalone/__node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
  316. package/_standalone/__node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  317. package/_standalone/__node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  318. package/_standalone/__node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  319. package/_standalone/__node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  320. package/_standalone/__node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
  321. package/_standalone/__node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
  322. package/_standalone/__node_modules/@aws-sdk/xml-builder/node_modules/.bin/fxparser +2 -2
  323. package/_standalone/__node_modules/@mariozechner/pi-agent-core/node_modules/.bin/pi-ai +2 -2
  324. package/_standalone/__node_modules/@mariozechner/pi-agent-core/node_modules/@mariozechner/pi-ai/node_modules/.bin/anthropic-ai-sdk +2 -2
  325. package/_standalone/__node_modules/@mariozechner/pi-agent-core/node_modules/@mariozechner/pi-ai/node_modules/.bin/openai +2 -2
  326. package/_standalone/__node_modules/@mariozechner/pi-ai/node_modules/.bin/anthropic-ai-sdk +2 -2
  327. package/_standalone/__node_modules/@mariozechner/pi-ai/node_modules/.bin/openai +2 -2
  328. package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/.bin/extract-zip +2 -2
  329. package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/.bin/highlight +2 -2
  330. package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/.bin/jiti +2 -2
  331. package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/.bin/marked +2 -2
  332. package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/.bin/pi-ai +2 -2
  333. package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/.bin/yaml +2 -2
  334. package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/@mariozechner/pi-ai/node_modules/.bin/anthropic-ai-sdk +2 -2
  335. package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/@mariozechner/pi-ai/node_modules/.bin/openai +2 -2
  336. package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/strip-ansi/node_modules/ansi-regex/index.js +14 -0
  337. package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/strip-ansi/node_modules/ansi-regex/license +9 -0
  338. package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/strip-ansi/node_modules/ansi-regex/package.json +61 -0
  339. package/_standalone/__node_modules/@mariozechner/pi-tui/node_modules/.bin/marked +2 -2
  340. package/_standalone/__node_modules/@smithy/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
  341. package/_standalone/__node_modules/@smithy/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
  342. package/_standalone/__node_modules/@smithy/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  343. package/_standalone/__node_modules/@smithy/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  344. package/_standalone/__node_modules/@smithy/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  345. package/_standalone/__node_modules/@smithy/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  346. package/_standalone/__node_modules/@smithy/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
  347. package/_standalone/__node_modules/@smithy/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
  348. package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  349. package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  350. package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  351. package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
  352. package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
  353. package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
  354. package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  355. package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  356. package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  357. package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  358. package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
  359. package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
  360. package/_standalone/__node_modules/@smithy/signature-v4/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
  361. package/_standalone/__node_modules/@smithy/signature-v4/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
  362. package/_standalone/__node_modules/@smithy/signature-v4/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  363. package/_standalone/__node_modules/@smithy/signature-v4/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  364. package/_standalone/__node_modules/@smithy/signature-v4/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  365. package/_standalone/__node_modules/@smithy/signature-v4/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  366. package/_standalone/__node_modules/@smithy/signature-v4/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
  367. package/_standalone/__node_modules/@smithy/signature-v4/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
  368. package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  369. package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  370. package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  371. package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
  372. package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
  373. package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
  374. package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  375. package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  376. package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  377. package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  378. package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
  379. package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
  380. package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  381. package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  382. package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  383. package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
  384. package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
  385. package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
  386. package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  387. package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  388. package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  389. package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  390. package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
  391. package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
  392. package/_standalone/__node_modules/bignumber.js/doc/API.html +2249 -0
  393. package/_standalone/__node_modules/degenerator/node_modules/.bin/escodegen +2 -2
  394. package/_standalone/__node_modules/degenerator/node_modules/.bin/esgenerate +2 -2
  395. package/_standalone/__node_modules/degenerator/node_modules/.bin/esparse +2 -2
  396. package/_standalone/__node_modules/degenerator/node_modules/.bin/esvalidate +2 -2
  397. package/_standalone/__node_modules/entities/LICENSE +11 -0
  398. package/_standalone/__node_modules/entities/dist/decode-codepoint.js +46 -0
  399. package/_standalone/__node_modules/entities/dist/decode.js +544 -0
  400. package/_standalone/__node_modules/entities/dist/encode.js +90 -0
  401. package/_standalone/__node_modules/entities/dist/escape.js +132 -0
  402. package/_standalone/__node_modules/entities/dist/generated/decode-data-html.js +5 -0
  403. package/_standalone/__node_modules/entities/dist/generated/decode-data-xml.js +5 -0
  404. package/_standalone/__node_modules/entities/dist/generated/encode-html.js +12 -0
  405. package/_standalone/__node_modules/entities/dist/index.js +91 -0
  406. package/_standalone/__node_modules/entities/dist/internal/bin-trie-flags.js +18 -0
  407. package/_standalone/__node_modules/entities/dist/internal/decode-shared.js +17 -0
  408. package/_standalone/__node_modules/entities/dist/internal/encode-shared.js +93 -0
  409. package/_standalone/__node_modules/entities/package.json +83 -0
  410. package/_standalone/__node_modules/entities/src/decode-codepoint.ts +50 -0
  411. package/_standalone/__node_modules/entities/src/decode.ts +671 -0
  412. package/_standalone/__node_modules/entities/src/encode.ts +95 -0
  413. package/_standalone/__node_modules/entities/src/escape.ts +160 -0
  414. package/_standalone/__node_modules/entities/src/generated/decode-data-html.ts +7 -0
  415. package/_standalone/__node_modules/entities/src/generated/decode-data-xml.ts +7 -0
  416. package/_standalone/__node_modules/entities/src/generated/encode-html.ts +18 -0
  417. package/_standalone/__node_modules/entities/src/index.ts +162 -0
  418. package/_standalone/__node_modules/entities/src/internal/bin-trie-flags.ts +16 -0
  419. package/_standalone/__node_modules/entities/src/internal/decode-shared.ts +18 -0
  420. package/_standalone/__node_modules/entities/src/internal/encode-shared.ts +123 -0
  421. package/_standalone/__node_modules/escodegen/node_modules/.bin/esparse +2 -2
  422. package/_standalone/__node_modules/escodegen/node_modules/.bin/esvalidate +2 -2
  423. package/_standalone/__node_modules/global-agent/node_modules/.bin/semver +2 -2
  424. package/_standalone/__node_modules/has-flag/index.js +8 -0
  425. package/_standalone/__node_modules/has-flag/license +9 -0
  426. package/_standalone/__node_modules/has-flag/package.json +46 -0
  427. package/_standalone/__node_modules/jsdom/node_modules/.bin/specificity +2 -2
  428. package/_standalone/__node_modules/koffi/doc/benchmarks.md +126 -0
  429. package/_standalone/__node_modules/koffi/doc/callbacks.md +210 -0
  430. package/_standalone/__node_modules/koffi/doc/contribute.md +148 -0
  431. package/_standalone/__node_modules/koffi/doc/functions.md +250 -0
  432. package/_standalone/__node_modules/koffi/doc/index.md +61 -0
  433. package/_standalone/__node_modules/koffi/doc/input.md +471 -0
  434. package/_standalone/__node_modules/koffi/doc/migration.md +159 -0
  435. package/_standalone/__node_modules/koffi/doc/misc.md +180 -0
  436. package/_standalone/__node_modules/koffi/doc/output.md +305 -0
  437. package/_standalone/__node_modules/koffi/doc/packaging.md +88 -0
  438. package/_standalone/__node_modules/koffi/doc/platforms.md +36 -0
  439. package/_standalone/__node_modules/koffi/doc/pointers.md +328 -0
  440. package/_standalone/__node_modules/koffi/doc/start.md +118 -0
  441. package/_standalone/__node_modules/koffi/doc/unions.md +186 -0
  442. package/_standalone/__node_modules/koffi/doc/variables.md +102 -0
  443. package/_standalone/__node_modules/postcss/node_modules/.bin/nanoid +2 -2
  444. package/_standalone/__node_modules/supports-color/browser.js +5 -0
  445. package/_standalone/__node_modules/supports-color/index.js +135 -0
  446. package/_standalone/__node_modules/supports-color/license +9 -0
  447. package/_standalone/__node_modules/supports-color/package.json +53 -0
  448. package/_standalone/__node_modules/tough-cookie/node_modules/.bin/tldts +2 -2
  449. package/_standalone/__node_modules/yaml/browser/dist/doc/Document.js +335 -0
  450. package/_standalone/__node_modules/yaml/browser/dist/doc/anchors.js +71 -0
  451. package/_standalone/__node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
  452. package/_standalone/__node_modules/yaml/browser/dist/doc/createNode.js +88 -0
  453. package/_standalone/__node_modules/yaml/browser/dist/doc/directives.js +176 -0
  454. package/_standalone/__node_modules/yaml/dist/doc/Document.js +337 -0
  455. package/_standalone/__node_modules/yaml/dist/doc/anchors.js +76 -0
  456. package/_standalone/__node_modules/yaml/dist/doc/applyReviver.js +57 -0
  457. package/_standalone/__node_modules/yaml/dist/doc/createNode.js +90 -0
  458. package/_standalone/__node_modules/yaml/dist/doc/directives.js +178 -0
  459. package/_standalone/server.js +1 -1
  460. package/package.json +1 -1
  461. package/runtime-manifest.json +1 -1
  462. package/scripts/prepare-standalone.mjs +0 -1
  463. package/scripts/verify-standalone.mjs +12 -0
  464. package/static-web/.mindos-build-version +1 -1
  465. package/static-web/_next/static/chunks/{2461-a1073a0bd04c228a.js → 1957-723ac4eb5200214c.js} +3 -3
  466. package/static-web/_next/static/chunks/{47-41e1a06e6d389b69.js → 2737-f4970f0684c334d6.js} +1 -1
  467. package/static-web/_next/static/chunks/{9216.d3339c27169b21bf.js → 6728.e1841cddb63308b0.js} +1 -1
  468. package/static-web/_next/static/chunks/{6947.7e50e18da7dc4aef.js → 6947.fb89346ef2f6be17.js} +1 -1
  469. package/static-web/_next/static/chunks/app/_not-found/{page-ec6fa498a07e6fd9.js → page-eaedcec1b693c03c.js} +1 -1
  470. package/{_standalone/__next/static/chunks/app/agents/[agentKey]/page-44c493b744d18249.js → static-web/_next/static/chunks/app/agents/[agentKey]/page-1dac12945bfbaf35.js} +1 -1
  471. package/{_standalone/__next/static/chunks/app/agents/page-6591b482a193e657.js → static-web/_next/static/chunks/app/agents/page-7ff2e39ca12eb20a.js} +1 -1
  472. package/static-web/_next/static/chunks/app/capture/history/page-51db96203209a441.js +1 -0
  473. package/static-web/_next/static/chunks/app/capture/page-3bf09d1f5e1c379c.js +1 -0
  474. package/static-web/_next/static/chunks/app/changelog/page-01dc22b6d2230c7f.js +1 -0
  475. package/static-web/_next/static/chunks/app/changes/page-c9f8d5632a001849.js +1 -0
  476. package/{_standalone/__next/static/chunks/app/echo/[segment]/page-c5ea40ac04f2dc29.js → static-web/_next/static/chunks/app/echo/[segment]/page-44b6b8e7fd0bbe31.js} +2 -2
  477. package/static-web/_next/static/chunks/app/echo/page-c9f8d5632a001849.js +1 -0
  478. package/static-web/_next/static/chunks/app/{error-c46d1b03d5e3289c.js → error-1cfcd6abd93c3837.js} +1 -1
  479. package/static-web/_next/static/chunks/app/explore/{page-5d6dd4af8d1bb468.js → page-117fcf54b8b9765c.js} +1 -1
  480. package/static-web/_next/static/chunks/app/global-error-11b333dcf222bc09.js +1 -0
  481. package/static-web/_next/static/chunks/app/help/{page-3f0a1a8e51249cb2.js → page-6efb8aa3a3c169fa.js} +1 -1
  482. package/static-web/_next/static/chunks/app/inbox/history/page-913645bbd6161116.js +1 -0
  483. package/{_standalone/__next/static/chunks/app/layout-5966cd317bbed698.js → static-web/_next/static/chunks/app/layout-24a31ea28c556e82.js} +7 -7
  484. package/static-web/_next/static/chunks/app/login/page-7f9aca3d51266bec.js +1 -0
  485. package/{_standalone/__next/static/chunks/app/page-5c9489e28657376e.js → static-web/_next/static/chunks/app/page-35662964020c0ea9.js} +1 -1
  486. package/static-web/_next/static/chunks/app/settings/{page-c9f44b3447a41431.js → page-f816f13a34613538.js} +1 -1
  487. package/{_standalone/__next/static/chunks/app/setup/page-f5de08d0d588c778.js → static-web/_next/static/chunks/app/setup/page-a1027871dc33ffbd.js} +1 -1
  488. package/static-web/_next/static/chunks/app/todo/page-54c3ec77f662ff73.js +1 -0
  489. package/static-web/_next/static/chunks/app/trash/page-50622e3df2047204.js +1 -0
  490. package/static-web/_next/static/chunks/app/view/[...path]/{error-f73092e638a4e999.js → error-c9a3f6de7c963c74.js} +1 -1
  491. package/static-web/_next/static/chunks/app/view/[...path]/{not-found-80e5f4054819b372.js → not-found-5a4f2b4fbe28d617.js} +1 -1
  492. package/static-web/_next/static/chunks/app/view/[...path]/page-b10d3819827da1c2.js +12 -0
  493. package/{_standalone/__next/static/chunks/app/wiki/page-4c9bc816069b6f2a.js → static-web/_next/static/chunks/app/wiki/page-7afd3b97c1ea1b8c.js} +2 -2
  494. package/static-web/_next/static/chunks/{main-app-23adfdc06470abb6.js → main-app-8a6081b103b8f494.js} +1 -1
  495. package/static-web/_next/static/chunks/webpack-7d8c24c6af17dd51.js +1 -0
  496. package/static-web/help/index.html +3 -3
  497. package/static-web/index.html +3 -3
  498. package/static-web/setup/index.html +3 -3
  499. package/static-web/static-web-manifest.json +1 -1
  500. package/static-web/wiki/index.html +3 -3
  501. package/_standalone/__next/static/chunks/app/capture/history/page-d157ce945ad84c23.js +0 -1
  502. package/_standalone/__next/static/chunks/app/capture/page-ae4d683afdc7a7b2.js +0 -1
  503. package/_standalone/__next/static/chunks/app/changelog/page-5a39d8fe531f4d45.js +0 -1
  504. package/_standalone/__next/static/chunks/app/changes/page-64cf8d751245eee9.js +0 -1
  505. package/_standalone/__next/static/chunks/app/echo/page-64cf8d751245eee9.js +0 -1
  506. package/_standalone/__next/static/chunks/app/global-error-d42727c6c6c48879.js +0 -1
  507. package/_standalone/__next/static/chunks/app/inbox/history/page-b2930c2ef04e00b0.js +0 -1
  508. package/_standalone/__next/static/chunks/app/login/page-a4f9f9053c75ae8d.js +0 -1
  509. package/_standalone/__next/static/chunks/app/todo/page-c7629a0c102c634f.js +0 -1
  510. package/_standalone/__next/static/chunks/app/trash/page-d87207a63591ee16.js +0 -1
  511. package/_standalone/__next/static/chunks/app/view/[...path]/page-1898f4ae4ab28db0.js +0 -12
  512. package/_standalone/__next/static/chunks/webpack-75abef9cbb1ea912.js +0 -1
  513. package/static-web/_next/static/chunks/app/capture/history/page-d157ce945ad84c23.js +0 -1
  514. package/static-web/_next/static/chunks/app/capture/page-ae4d683afdc7a7b2.js +0 -1
  515. package/static-web/_next/static/chunks/app/changelog/page-5a39d8fe531f4d45.js +0 -1
  516. package/static-web/_next/static/chunks/app/changes/page-64cf8d751245eee9.js +0 -1
  517. package/static-web/_next/static/chunks/app/echo/page-64cf8d751245eee9.js +0 -1
  518. package/static-web/_next/static/chunks/app/global-error-d42727c6c6c48879.js +0 -1
  519. package/static-web/_next/static/chunks/app/inbox/history/page-b2930c2ef04e00b0.js +0 -1
  520. package/static-web/_next/static/chunks/app/login/page-a4f9f9053c75ae8d.js +0 -1
  521. package/static-web/_next/static/chunks/app/todo/page-c7629a0c102c634f.js +0 -1
  522. package/static-web/_next/static/chunks/app/trash/page-d87207a63591ee16.js +0 -1
  523. package/static-web/_next/static/chunks/app/view/[...path]/page-1898f4ae4ab28db0.js +0 -12
  524. package/static-web/_next/static/chunks/webpack-75abef9cbb1ea912.js +0 -1
  525. /package/_standalone/__next/static/{J9M4pgRyRHH7Ofbxuuklh → 3FkuJxcda957EywJ5ZWWG}/_buildManifest.js +0 -0
  526. /package/_standalone/__next/static/{J9M4pgRyRHH7Ofbxuuklh → 3FkuJxcda957EywJ5ZWWG}/_ssgManifest.js +0 -0
  527. /package/static-web/_next/static/{J9M4pgRyRHH7Ofbxuuklh → 3FkuJxcda957EywJ5ZWWG}/_buildManifest.js +0 -0
  528. /package/static-web/_next/static/{J9M4pgRyRHH7Ofbxuuklh → 3FkuJxcda957EywJ5ZWWG}/_ssgManifest.js +0 -0
@@ -1,4 +1,4 @@
1
- "use strict";exports.id=9350,exports.ids=[9350],exports.modules={16956:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(55168).A)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},18871:(a,b,c)=>{c.d(b,{A:()=>B});var d=c(72269),e=c(78520),f=c(35205),g=c(44544),h=c(23095),i=c(29154),j=c(10777),k=c(57262),l=c(55433),m=c(63353),n=c(81644),o=c(53679),p=c(55231);let q=(0,c(55168).A)("toggle-left",[["circle",{cx:"9",cy:"12",r:"3",key:"u3jwor"}],["rect",{width:"20",height:"14",x:"2",y:"5",rx:"7",key:"g7kal2"}]]);var r=c(32068),s=c(10002),t=c(7288),u=c(74569),v=c(71977),w=c(28617),x=c(73420),y=c(87686);let z={research:f.A,coding:g.A,docs:h.A,ops:i.A,memory:j.A};function A({text:a,className:b=""}){let c=(0,e.useMemo)(()=>{var b;let c;return b=a,(c=(c=(0,w.ZD)(b).replace(/```(\w*)\n([\s\S]*?)```/g,(a,b,c)=>`<pre><code>${c.trimEnd()}</code></pre>`).replace(/`([^`]+)`/g,"<code>$1</code>").replace(/^#### (.+)$/gm,"<h4>$1</h4>").replace(/^### (.+)$/gm,"<h3>$1</h3>").replace(/^## (.+)$/gm,"<h2>$1</h2>").replace(/^# (.+)$/gm,"<h1>$1</h1>").replace(/\*\*(.+?)\*\*/g,"<strong>$1</strong>").replace(/\*(.+?)\*/g,"<em>$1</em>").replace(/^---$/gm,"<hr/>").replace(/^- (.+)$/gm,"<li>$1</li>").replace(/^\* (.+)$/gm,"<li>$1</li>").replace(/^\d+\. (.+)$/gm,"<li>$1</li>")).replace(/((?:<li>.*<\/li>\n?)+)/g,"<ul>$1</ul>")).split("\n").map(a=>{let b=a.trim();return b?/^<(h[1-4]|ul|ol|li|pre|hr|div|p|blockquote)/.test(b)?a:`<p>${b}</p>`:""}).join("\n")},[a]);return(0,d.jsx)("div",{className:`prose prose-sm prose-invert max-w-none
1
+ "use strict";exports.id=9350,exports.ids=[9350],exports.modules={16956:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(55168).A)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},18871:(a,b,c)=>{c.d(b,{A:()=>B});var d=c(72269),e=c(78520),f=c(35205),g=c(22163),h=c(23095),i=c(29154),j=c(10777),k=c(57262),l=c(55433),m=c(63353),n=c(81644),o=c(53679),p=c(55231);let q=(0,c(55168).A)("toggle-left",[["circle",{cx:"9",cy:"12",r:"3",key:"u3jwor"}],["rect",{width:"20",height:"14",x:"2",y:"5",rx:"7",key:"g7kal2"}]]);var r=c(32068),s=c(10002),t=c(7288),u=c(74569),v=c(71977),w=c(28617),x=c(73420),y=c(87686);let z={research:f.A,coding:g.A,docs:h.A,ops:i.A,memory:j.A};function A({text:a,className:b=""}){let c=(0,e.useMemo)(()=>{var b;let c;return b=a,(c=(c=(0,w.ZD)(b).replace(/```(\w*)\n([\s\S]*?)```/g,(a,b,c)=>`<pre><code>${c.trimEnd()}</code></pre>`).replace(/`([^`]+)`/g,"<code>$1</code>").replace(/^#### (.+)$/gm,"<h4>$1</h4>").replace(/^### (.+)$/gm,"<h3>$1</h3>").replace(/^## (.+)$/gm,"<h2>$1</h2>").replace(/^# (.+)$/gm,"<h1>$1</h1>").replace(/\*\*(.+?)\*\*/g,"<strong>$1</strong>").replace(/\*(.+?)\*/g,"<em>$1</em>").replace(/^---$/gm,"<hr/>").replace(/^- (.+)$/gm,"<li>$1</li>").replace(/^\* (.+)$/gm,"<li>$1</li>").replace(/^\d+\. (.+)$/gm,"<li>$1</li>")).replace(/((?:<li>.*<\/li>\n?)+)/g,"<ul>$1</ul>")).split("\n").map(a=>{let b=a.trim();return b?/^<(h[1-4]|ul|ol|li|pre|hr|div|p|blockquote)/.test(b)?a:`<p>${b}</p>`:""}).join("\n")},[a]);return(0,d.jsx)("div",{className:`prose prose-sm prose-invert max-w-none
2
2
  prose-headings:text-foreground prose-headings:font-semibold prose-headings:mt-4 prose-headings:mb-2
3
3
  prose-h1:text-sm prose-h2:text-xs prose-h3:text-xs
4
4
  prose-p:text-xs prose-p:text-foreground/80 prose-p:leading-relaxed prose-p:my-1.5
@@ -8,4 +8,4 @@
8
8
  prose-pre:bg-muted/30 prose-pre:border prose-pre:border-border/50 prose-pre:rounded-lg prose-pre:p-3 prose-pre:text-2xs prose-pre:overflow-x-auto
9
9
  prose-ul:my-1 prose-ol:my-1
10
10
  prose-hr:border-border/30 prose-hr:my-3
11
- ${b}`,dangerouslySetInnerHTML:{__html:c}})}function B({open:a,skillName:b,skill:c,agentNames:f=[],allAgentNames:g=[],isNative:h=!1,nativeSourcePath:i,copy:j,onClose:w,onToggle:B,onDelete:E,onRefresh:F,onAddAgent:G,onRemoveAgent:H}){let I,J,[K,L]=(0,e.useState)(null),[M,N]=(0,e.useState)(""),[O,P]=(0,e.useState)(!1),[Q,R]=(0,e.useState)(!1),[S,T]=(0,e.useState)(!1),[U,V]=(0,e.useState)(!1),[W,X]=(0,e.useState)(null),[Y,Z]=(0,e.useState)(!1),[$,_]=(0,e.useState)(!1),[aa,ab]=(0,e.useState)(!1),ac=(0,e.useCallback)(async()=>{if(b){P(!0),R(!1);try{if(h&&i){let a=await (0,s.n)("/api/skills",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"read-native",name:b,sourcePath:i})});L(a.content),N(a.description||"")}else if(!h){let a=await (0,s.n)("/api/skills",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"read",name:b})});L(a.content)}}catch{R(!0)}finally{P(!1)}}},[b,h,i]),ad=(0,e.useCallback)(async()=>{!K||await (0,t.l)(K)&&u.oR.copy()},[K]),ae=(0,e.useCallback)(async a=>{if(b&&B){Z(!0);try{await B(b,a)}finally{Z(!1)}}},[b,B]),af=(0,e.useCallback)(async()=>{if(b&&E){T(!1),V(!0);try{await E(b),X(j.deleted),await F?.(),setTimeout(()=>w(),800)}catch{X(j.deleteFailed),V(!1)}}},[b,E,F,w,j.deleted,j.deleteFailed]);if(!a||!b)return null;let ag=c?(0,y.yQ)(`${c.name} ${c.description}`):(0,y.yQ)(b),ah=z[ag]??k.A,ai=c?.source==="user",aj=h?j.sourceNative:c?.source==="builtin"?j.sourceBuiltin:j.sourceUser,ak=c?.description||M||"",al=c?.path||(h&&i?`${i}/${b}/SKILL.md`:""),am=K?(I=K,(J=K.match(/^---\n[\s\S]*?\n---\n?/))&&(I=K.slice(J[0].length).trim()),{triggerConditions:ak||"",instructions:I}):null,an=g.filter(a=>!f.includes(a));return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"fixed inset-0 z-40 overlay-backdrop",onClick:w,"aria-hidden":"true"}),(0,d.jsxs)("div",{role:"dialog","aria-modal":"true","aria-label":b,className:"fixed right-0 top-0 z-50 h-full w-full max-w-md border-l border-border bg-card shadow-2xl flex flex-col animate-in slide-in-from-right duration-200",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 px-5 py-4 border-b border-border/60 bg-gradient-to-r from-card to-card/80 shrink-0",children:[(0,d.jsx)("div",{className:"w-9 h-9 rounded-xl bg-[var(--amber)]/[0.08] flex items-center justify-center text-[var(--amber)] shrink-0",children:(0,d.jsx)(ah,{size:18})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("h2",{className:"text-sm font-semibold text-foreground truncate",children:b}),(0,d.jsxs)("div",{className:"flex items-center gap-2 mt-1",children:[(0,d.jsx)("span",{className:`text-2xs px-2 py-0.5 rounded-full font-medium select-none ${h||c?.source==="builtin"?"bg-muted text-muted-foreground":"bg-[var(--amber-dim)] text-[var(--amber-text)]"}`,children:aj}),(0,d.jsx)("span",{className:"text-2xs text-muted-foreground/60 capitalize",children:ag})]})]}),(0,d.jsx)("button",{type:"button",onClick:w,className:"shrink-0 p-1.5 rounded-md text-muted-foreground hover:text-foreground hover:bg-muted cursor-pointer transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring","aria-label":j.close,children:(0,d.jsx)(l.A,{size:16})})]}),(0,d.jsxs)("div",{className:"flex-1 overflow-y-auto px-5 py-4 space-y-5",children:[ak&&(0,d.jsxs)("section",{children:[(0,d.jsx)(C,{label:"Trigger Conditions"}),(0,d.jsx)("div",{className:"rounded-lg border border-border/40 bg-muted/[0.03] p-3.5",children:(0,d.jsx)("p",{className:"text-xs text-foreground/80 leading-relaxed whitespace-pre-wrap",children:ak})})]}),!ak&&!h&&(0,d.jsx)("p",{className:"text-sm text-muted-foreground italic",children:j.noDescription}),(0,d.jsx)("section",{children:(0,d.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[!h&&c&&(0,d.jsx)(D,{label:j.enabled,value:c.enabled?"✓":"—",tone:c.enabled?"ok":"muted"}),(0,d.jsx)(D,{label:j.capability,value:ag}),(0,d.jsx)(D,{label:j.source,value:aj}),(0,d.jsx)(D,{label:j.agents,value:String(f.length)})]})}),(0,d.jsxs)("section",{children:[(0,d.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,d.jsx)(C,{label:j.agents,noMargin:!0}),G&&an.length>0&&(0,d.jsxs)("button",{type:"button",onClick:()=>_(!$),className:"inline-flex items-center gap-1 text-2xs font-medium text-[var(--amber)] hover:opacity-80 transition-opacity cursor-pointer",children:[(0,d.jsx)(m.A,{size:12}),(0,d.jsx)("span",{children:"Add"})]})]}),$&&an.length>0&&(0,d.jsx)("div",{className:"flex flex-wrap gap-1.5 mb-2 p-2 rounded-lg border border-dashed border-[var(--amber)]/30 bg-[var(--amber)]/[0.03]",children:an.map(a=>(0,d.jsxs)("button",{type:"button",onClick:()=>{G?.(b,a),_(!1)},className:"inline-flex items-center gap-1 px-2 py-1 text-2xs rounded-md border border-border bg-card hover:bg-muted cursor-pointer transition-colors",children:[(0,d.jsx)(m.A,{size:10,className:"text-[var(--amber)]"}),(0,d.jsx)("span",{className:"text-foreground/80",children:a})]},a))}),f.length>0?(0,d.jsx)("div",{className:"flex flex-wrap gap-2",children:f.map(a=>(0,d.jsx)(x.lx,{name:a,size:"sm",onRemove:H?()=>H(b,a):void 0},a))}):(0,d.jsx)("div",{className:"rounded-lg border border-border/40 bg-card/30 p-3 text-center",children:(0,d.jsx)("p",{className:"text-xs text-muted-foreground",children:j.noAgents})})]}),(null!==K||O||Q)&&(0,d.jsxs)("section",{children:[(0,d.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,d.jsx)(C,{label:"Instructions",noMargin:!0}),(0,d.jsx)("div",{className:"flex items-center gap-2",children:K&&(0,d.jsxs)("button",{type:"button",onClick:ad,className:"inline-flex items-center gap-1 text-2xs text-muted-foreground hover:text-foreground cursor-pointer transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded px-1.5 py-0.5","aria-label":j.copyContent,children:[(0,d.jsx)(n.A,{size:11}),j.copyContent]})})]}),O&&(0,d.jsxs)("div",{className:"rounded-lg border border-border bg-background p-6 flex items-center justify-center gap-2 text-sm text-muted-foreground",children:[(0,d.jsx)(o.A,{size:14,className:"animate-spin"}),j.loading]}),Q&&(0,d.jsxs)("div",{className:"rounded-lg border border-destructive/20 bg-destructive/[0.03] p-4 text-center space-y-2",children:[(0,d.jsx)("p",{className:"text-sm text-destructive",children:j.loadFailed}),(0,d.jsx)("button",{type:"button",onClick:ac,className:"text-xs text-foreground underline hover:no-underline cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded",children:j.retry})]}),am&&!O&&!Q&&(0,d.jsx)("div",{className:`rounded-lg border border-border/50 bg-muted/[0.02] p-4 overflow-hidden transition-all duration-200 ${!aa?"max-h-60":""}`,children:(0,d.jsx)(A,{text:am.instructions})}),am&&!O&&!Q&&am.instructions.split("\n").length>15&&(0,d.jsxs)("button",{type:"button",onClick:()=>ab(!aa),className:"inline-flex items-center gap-1 mt-2 text-2xs font-medium text-[var(--amber)] hover:opacity-80 transition-opacity cursor-pointer",children:[(0,d.jsx)(p.A,{size:12,className:`transition-transform duration-200 ${aa?"rotate-180":""}`}),(0,d.jsx)("span",{children:aa?"Collapse":"View All"})]})]}),al&&(0,d.jsxs)("section",{children:[(0,d.jsx)(C,{label:j.path}),(0,d.jsx)("div",{className:"rounded-lg border border-border/50 bg-muted/[0.03] p-3",children:(0,d.jsx)("code",{className:"text-2xs text-foreground/60 font-mono break-all leading-relaxed",children:al})})]}),W&&(0,d.jsx)("div",{role:"status","aria-live":"polite",className:"rounded-md border border-border bg-muted/50 px-3 py-2 text-xs text-muted-foreground animate-in fade-in duration-200",children:W})]}),!h&&c&&(0,d.jsxs)("div",{className:"shrink-0 border-t border-border px-5 py-3 flex items-center gap-2",children:[B&&(0,d.jsxs)("div",{className:"flex items-center gap-2 mr-auto",children:[(0,d.jsx)(q,{size:14,className:"text-muted-foreground","aria-hidden":"true"}),(0,d.jsx)("span",{className:"text-xs text-muted-foreground",children:c.enabled?j.enabled:j.disabled}),(0,d.jsx)(v.lM,{size:"sm",checked:c.enabled,onChange:a=>void ae(a),disabled:Y})]}),ai&&E&&(0,d.jsxs)("button",{type:"button",onClick:()=>T(!0),disabled:U,className:"inline-flex items-center gap-1.5 px-2.5 min-h-[32px] text-xs rounded-md border border-destructive/30 text-destructive hover:bg-destructive/10 cursor-pointer disabled:opacity-50 transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[U?(0,d.jsx)(o.A,{size:12,className:"animate-spin"}):(0,d.jsx)(r.A,{size:12}),j.deleteSkill]})]})]}),(0,d.jsx)(x.TM,{open:S,title:j.confirmDeleteTitle,message:b?j.confirmDeleteMessage(b):"",confirmLabel:j.confirmDeleteAction,cancelLabel:j.cancelAction,onConfirm:()=>void af(),onCancel:()=>T(!1),variant:"destructive"})]})}function C({label:a,noMargin:b}){return(0,d.jsx)("h3",{className:`text-xs font-semibold text-muted-foreground uppercase tracking-wider ${b?"":"mb-2"}`,children:a})}function D({label:a,value:b,tone:c="default"}){return(0,d.jsxs)("div",{className:"rounded-xl border border-border/50 bg-muted/[0.03] px-3.5 py-3 hover:bg-muted/[0.06] transition-colors duration-100",children:[(0,d.jsx)("span",{className:"text-2xs text-muted-foreground/60 block mb-1 uppercase tracking-wider",children:a}),(0,d.jsx)("span",{className:`text-sm font-semibold capitalize ${"ok"===c?"text-[var(--success)]":"muted"===c?"text-muted-foreground":"text-foreground"}`,children:b})]})}},23636:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(55168).A)("wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]])},36326:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(52707).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/MindOS/MindOS/packages/web/components/ClientRedirect.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/MindOS/MindOS/packages/web/components/ClientRedirect.tsx","default")},44544:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(55168).A)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]])},66595:(a,b,c)=>{c.d(b,{A:()=>s});var d=c(72269),e=c(78520),f=c(55433),g=c(83614),h=c(65836),i=c(46421),j=c(29154),k=c(57262),l=c(55231),m=c(37461),n=c(53679),o=c(33659),p=c(73619),q=c(74569),r=c(71977);function s({open:a,onClose:b,onSuccess:c,existingAgents:s,editAgent:u}){let{t:v}=(0,o.Y)(),w=v.agentsContent.overview,x=(0,e.useRef)(null),y=(0,e.useRef)(null),z=!!u,[A,B]=(0,e.useState)("input"),[C,D]=(0,e.useState)(!1),[E,F]=(0,e.useState)(!1),[G,H]=(0,e.useState)(null),[I,J]=(0,e.useState)(null),[K,L]=(0,e.useState)(!1),[M,N]=(0,e.useState)(!1),[O,P]=(0,e.useState)({name:"",baseDir:"",global:"",configKey:"mcpServers",format:"json",preferredTransport:"stdio",project:"",presenceCli:"",skillDir:""});(0,p.r)(x,a);let Q=(0,e.useMemo)(()=>{let a=new Set(s.map(a=>a.key));return z&&u&&a.delete(u.key),a},[s,z,u]),R=(0,e.useMemo)(()=>O.name.toLowerCase().replace(/[^\x20-\x7E]/g,"").replace(/[_\s]+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-{2,}/g,"-").replace(/^-|-$/g,""),[O.name]),S=(0,e.useMemo)(()=>{if(z||!O.name.trim())return null;let a=R||"";if(!a)return null;if(Q.has(a)){let b=s.find(b=>b.key===a);return b?.isCustom?w.customAgentKeyConflict?.(a)??`An agent with key "${a}" already exists`:w.customAgentBuiltinConflict?.(b?.name||a)??`Conflicts with built-in agent "${b?.name||a}"`}return null},[z,R,Q,s,O.name,w]),T=O.name.trim()&&O.baseDir.trim()&&!S,U=(0,e.useCallback)((a,b)=>{P(c=>({...c,[a]:b}))},[]),V=(0,e.useCallback)(async()=>{if(!T)return;H(null),D(!0);let a=O.baseDir.trim();if(!a.startsWith("~/")){let b=a.endsWith("/")?a:a+"/";U("global",b+"mcp.json"),U("skillDir",b+"skills/"),J({exists:!1,hasSkillsDir:!1}),B("result"),D(!1);return}let b=new AbortController,c=setTimeout(()=>b.abort(),3e3);try{let d=await fetch("/api/agents/custom/detect",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({baseDir:a}),signal:b.signal});clearTimeout(c);let e=await d.json();if(!d.ok)return void H(e.error||w.customAgentFailedSave);J(e),e.detectedConfig?U("global",e.detectedConfig):U("global",(a.endsWith("/")?a:a+"/")+"mcp.json"),e.detectedFormat&&U("format",e.detectedFormat),e.detectedConfigKey&&U("configKey",e.detectedConfigKey),U("skillDir",e.detectedSkillDir||(a.endsWith("/")?a:a+"/")+"skills/"),B("result")}catch{clearTimeout(c);let b=a.endsWith("/")?a:a+"/";U("global",b+"mcp.json"),U("skillDir",b+"skills/"),J({exists:!1,hasSkillsDir:!1}),L(!0),B("result")}finally{D(!1)}},[T,O.baseDir,U,w]),W=(0,e.useCallback)(async()=>{F(!0),H(null);let a=z?{key:u.key,name:O.name.trim(),baseDir:O.baseDir.trim(),global:O.global.trim()||void 0,configKey:O.configKey.trim()||void 0,format:O.format,preferredTransport:O.preferredTransport,project:O.project.trim()||null,presenceCli:O.presenceCli.trim()||void 0,skillDir:O.skillDir.trim()||void 0}:{name:O.name.trim(),baseDir:O.baseDir.trim(),global:O.global.trim()||void 0,configKey:O.configKey.trim()||void 0,format:O.format,preferredTransport:O.preferredTransport,project:O.project.trim()||null,presenceCli:O.presenceCli.trim()||void 0,skillDir:O.skillDir.trim()||void 0};try{let d=await fetch("/api/agents/custom",{method:z?"PUT":"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}),e=await d.json();if(!d.ok){H(e.error||w.customAgentFailedSave),F(!1);return}let f=z?w.customAgentUpdated(O.name.trim()):w.customAgentAdded(O.name.trim());q.oR.success(f),c(),b()}catch{H(w.customAgentNetworkError)}finally{F(!1)}},[z,u,O,c,b,w]),X=(0,e.useCallback)(a=>{"Enter"===a.key&&(a.target instanceof HTMLInputElement||a.target instanceof HTMLTextAreaElement)&&(a.preventDefault(),"input"===A&&T&&!C?V():"result"!==A||E||W())},[A,T,C,E,V,W]);if(!a)return null;let Y=z?w.editCustomAgentTitle(u.name):w.addCustomAgentTitle;return(0,d.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center",role:"dialog","aria-modal":"true","aria-labelledby":"custom-agent-modal-title",children:[(0,d.jsx)("div",{className:"absolute inset-0 modal-backdrop",onClick:b,"aria-hidden":"true"}),(0,d.jsxs)("div",{ref:x,className:"relative bg-card border border-border rounded-xl shadow-2xl max-w-md w-full mx-4 animate-in fade-in zoom-in-95 duration-200 max-h-[85vh] overflow-y-auto",onKeyDown:X,children:[(0,d.jsxs)("div",{className:"flex items-center justify-between px-5 pt-5 pb-1",children:[(0,d.jsx)("h2",{id:"custom-agent-modal-title",className:"text-base font-semibold text-foreground",children:Y}),(0,d.jsx)("button",{type:"button",onClick:b,className:"w-7 h-7 rounded-md flex items-center justify-center text-muted-foreground hover:text-foreground hover:bg-muted transition-colors duration-150 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring","aria-label":"Close",children:(0,d.jsx)(f.A,{size:16})})]}),(0,d.jsxs)("div",{className:"px-5 py-4 space-y-4",children:[(0,d.jsxs)(r.D0,{label:w.customAgentName,children:[(0,d.jsx)("input",{ref:y,value:O.name,onChange:a=>U("name",a.target.value),placeholder:w.customAgentNamePlaceholder,"aria-invalid":!!S,className:`w-full px-3 py-2 text-sm bg-background border rounded-lg text-foreground placeholder:text-muted-foreground outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 ${S?"border-[var(--error)] focus-visible:ring-[var(--error)]":"border-border"}`,autoComplete:"off"}),S?(0,d.jsxs)("p",{className:"text-xs text-[var(--error)] mt-1 flex items-center gap-1",children:[(0,d.jsx)(g.A,{size:12}),S]}):O.name.trim()&&R?(0,d.jsx)("p",{className:"text-[11px] text-muted-foreground mt-0.5",children:w.customAgentKeyPreview(R)}):null]}),(0,d.jsxs)(r.D0,{label:w.customAgentDir,hint:"input"===A?w.customAgentDirHint:void 0,children:[(0,d.jsx)(r.pd,{value:O.baseDir,onChange:a=>{U("baseDir",a.target.value),"result"===A&&(B("input"),J(null))},placeholder:w.customAgentDirPlaceholder,autoComplete:"off"}),"result"===A&&I?.exists&&(0,d.jsxs)("p",{className:"text-xs text-[var(--success)] mt-1 flex items-center gap-1",children:[(0,d.jsx)(h.A,{size:12}),w.customAgentDirFound]}),"result"===A&&I&&!I.exists&&!K&&(0,d.jsxs)("p",{className:"text-xs text-[var(--info,var(--muted-foreground))] mt-1 flex items-center gap-1",children:[(0,d.jsx)(i.A,{size:12}),w.customAgentDirNotFound]}),"result"===A&&K&&(0,d.jsxs)("p",{className:"text-xs text-[var(--amber)] mt-1 flex items-center gap-1",children:[(0,d.jsx)(g.A,{size:12}),w.customAgentDetectTimeout]})]}),"result"===A&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:`rounded-lg p-4 space-y-3 ${I?.exists?"border border-[var(--success)]/20 bg-[var(--success)]/5":"border border-border bg-muted/30"}`,children:[(0,d.jsx)("p",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wider",children:I?.exists?w.customAgentDetectedTitle:w.customAgentDefaultTitle}),(0,d.jsxs)("div",{className:"space-y-2.5",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:w.customAgentConfigLabel}),(0,d.jsx)("span",{className:"text-sm text-foreground font-mono truncate block",children:O.global}),I?.mcpParseError&&(0,d.jsxs)("p",{className:"text-xs text-[var(--error)] mt-1 flex items-center gap-1",children:[(0,d.jsx)(g.A,{size:12,className:"shrink-0"}),I.mcpParseError]})]}),(0,d.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:w.customAgentFormatLabel}),(0,d.jsx)("span",{className:"text-sm text-foreground",children:O.format.toUpperCase()})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:"Config Key"}),(0,d.jsx)("span",{className:"text-sm text-foreground font-mono",children:O.configKey})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:w.customAgentTransportLabel}),(0,d.jsx)("span",{className:"text-sm text-foreground",children:O.preferredTransport})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("p",{className:"text-xs text-muted-foreground mb-1 flex items-center gap-1",children:[(0,d.jsx)(j.A,{size:11,className:"shrink-0","aria-hidden":"true"}),"MCP Servers"]}),I?.mcpServers&&I.mcpServers.length>0?(0,d.jsx)("div",{className:"flex flex-wrap gap-1",children:I.mcpServers.map(a=>(0,d.jsx)("span",{className:"text-xs bg-muted/60 text-foreground px-2 py-0.5 rounded font-mono",children:a},a))}):(0,d.jsx)("span",{className:"text-sm text-muted-foreground",children:"—"})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("p",{className:"text-xs text-muted-foreground mb-1 flex items-center gap-1",children:[(0,d.jsx)(k.A,{size:11,className:"shrink-0","aria-hidden":"true"}),w.customAgentSkillsLabel]}),I?.skillNames&&I.skillNames.length>0?(0,d.jsx)("div",{className:"flex flex-wrap gap-1",children:I.skillNames.map(a=>(0,d.jsx)("span",{className:"text-xs bg-[var(--amber-dim)] text-[var(--amber-text,var(--foreground))] px-2 py-0.5 rounded font-mono",children:a},a))}):(0,d.jsx)("span",{className:"text-sm text-muted-foreground",children:"—"})]})]})]}),(0,d.jsxs)("button",{type:"button",onClick:()=>N(a=>!a),className:"flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground transition-colors duration-150 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded",children:[M?(0,d.jsx)(l.A,{size:14}):(0,d.jsx)(m.A,{size:14}),w.customAgentCustomize]}),(0,d.jsx)("div",{className:"grid transition-[grid-template-rows] duration-200 ease-out",style:{gridTemplateRows:M?"1fr":"0fr"},children:(0,d.jsx)("div",{className:"overflow-hidden",children:(0,d.jsxs)("div",{className:"rounded-xl border border-border/50 bg-card/50 p-5 space-y-4",children:[(0,d.jsx)(r.D0,{label:w.customAgentConfigPath,children:(0,d.jsx)(r.pd,{value:O.global,onChange:a=>U("global",a.target.value),autoComplete:"off"})}),(0,d.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,d.jsx)(r.D0,{label:w.customAgentConfigKey,children:(0,d.jsx)(r.pd,{value:O.configKey,onChange:a=>U("configKey",a.target.value),autoComplete:"off"})}),(0,d.jsx)(r.D0,{label:w.customAgentFormat,children:(0,d.jsxs)("div",{className:"flex gap-2 pt-1",children:[(0,d.jsx)(t,{label:"JSON",checked:"json"===O.format,onChange:()=>U("format","json"),name:"format"}),(0,d.jsx)(t,{label:"TOML",checked:"toml"===O.format,onChange:()=>U("format","toml"),name:"format"})]})})]}),(0,d.jsx)(r.D0,{label:w.customAgentTransport,children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(t,{label:"stdio",checked:"stdio"===O.preferredTransport,onChange:()=>U("preferredTransport","stdio"),name:"transport"}),(0,d.jsx)(t,{label:"http",checked:"http"===O.preferredTransport,onChange:()=>U("preferredTransport","http"),name:"transport"})]})}),(0,d.jsx)(r.D0,{label:w.customAgentSkillDir,hint:w.customAgentSkillDirHint,children:(0,d.jsx)(r.pd,{value:O.skillDir,onChange:a=>U("skillDir",a.target.value),placeholder:w.customAgentSkillDirPlaceholder,autoComplete:"off"})}),(0,d.jsx)(r.D0,{label:w.customAgentProjectConfig,children:(0,d.jsx)(r.pd,{value:O.project,onChange:a=>U("project",a.target.value),autoComplete:"off"})}),(0,d.jsx)(r.D0,{label:w.customAgentCliBinary,children:(0,d.jsx)(r.pd,{value:O.presenceCli,onChange:a=>U("presenceCli",a.target.value),placeholder:w.customAgentCliBinaryPlaceholder,autoComplete:"off"})})]})})})]}),G&&(0,d.jsxs)("div",{className:"rounded-lg border border-[var(--error)]/30 bg-[var(--error)]/5 p-3 flex items-start gap-2",children:[(0,d.jsx)(g.A,{size:14,className:"text-[var(--error)] mt-0.5 shrink-0"}),(0,d.jsx)("p",{className:"text-sm text-[var(--error)]",children:G})]})]}),(0,d.jsxs)("div",{className:"flex justify-end gap-2 px-5 pb-5 pt-1",children:[(0,d.jsx)("button",{type:"button",onClick:b,className:"px-4 min-h-[36px] text-sm rounded-lg border border-border hover:bg-muted cursor-pointer transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:w.customAgentCancel}),"input"===A?(0,d.jsx)("button",{type:"button",onClick:V,disabled:!T||C,className:"px-4 min-h-[36px] text-sm rounded-lg bg-[var(--amber)] text-[var(--amber-foreground)] hover:bg-[var(--amber)]/90 disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring flex items-center gap-2",children:C?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.A,{size:14,className:"animate-spin"}),w.customAgentDetecting]}):(0,d.jsxs)(d.Fragment,{children:[w.customAgentContinue,(0,d.jsx)(m.A,{size:14})]})}):(0,d.jsx)("button",{type:"button",onClick:W,disabled:E,className:"px-4 min-h-[36px] text-sm rounded-lg bg-[var(--amber)] text-[var(--amber-foreground)] hover:bg-[var(--amber)]/90 disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring flex items-center gap-2",children:E?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.A,{size:14,className:"animate-spin"}),z?w.customAgentSaving:w.customAgentAdding]}):G?w.customAgentRetry:z?w.customAgentSave:w.customAgentAdd})]})]})]})}function t({label:a,checked:b,onChange:c,name:e}){return(0,d.jsxs)("label",{className:`px-3 py-1.5 text-sm rounded-md border cursor-pointer transition-all duration-150 select-none ${b?"border-[var(--amber)]/40 bg-[var(--amber-dim)] text-foreground font-medium":"border-border bg-background text-muted-foreground hover:bg-muted"}`,children:[(0,d.jsx)("input",{type:"radio",name:e,checked:b,onChange:c,className:"sr-only"}),a]})}},70288:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(55168).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},87686:(a,b,c)=>{function d(a){return{connected:a.filter(a=>a.present&&a.installed),detected:a.filter(a=>a.present&&!a.installed),notFound:a.filter(a=>!a.present)}}function e(a){return a.present&&a.installed?"connected":a.present?"detected":"notFound"}function f(a){return q(`${a.name} ${a.description}`)}function g(a){let b=[];return a.mcpEnabled&&!a.mcpRunning&&b.push({id:"mcp-stopped",severity:"error",title:a.copy.riskMcpStopped}),a.detectedCount>0&&b.push({id:"detected-unconfigured",severity:"warn",title:a.copy.riskDetected(a.detectedCount)}),a.allSkillsDisabled&&b.push({id:"skills-disabled",severity:"warn",title:a.copy.riskSkillsDisabled}),b}function h(a){return new Set(a.filter(a=>!a.enabled&&"user"===a.source||0===a.description.trim().length).map(a=>a.name))}function i(a){let b=a.filter(a=>!a.ok).map(a=>a.skillName);return{total:a.length,succeeded:a.length-b.length,failed:b.length,failedSkills:b}}function j(a,b){let c=b.query.trim().toLowerCase();return a.filter(a=>{let d;return("all"===b.status||e(a)===b.status)&&("all"===b.transport||("stdio"===(d=(a.transport??a.preferredTransport??"").toLowerCase())||"http"===d?d:"other")===b.transport)&&(!c||`${a.name} ${a.key} ${a.configPath??""}`.toLowerCase().includes(c))})}function k(a){let b=a.filter(a=>!a.ok).length;return{total:a.length,succeeded:a.length-b,failed:b}}function l(a){let b=new Map;for(let c of a)for(let a of c.configuredMcpServers??[]){let d=b.get(a);d?d.push(c.name):b.set(a,[c.name])}return[...b.entries()].map(([a,b])=>({serverName:a,agents:b})).sort((a,b)=>b.agents.length-a.agents.length||a.serverName.localeCompare(b.serverName))}function m(a){let b=new Map;for(let c of a)for(let a of c.installedSkillNames??[]){let d=b.get(a);d?d.push(c.name):b.set(a,[c.name])}return[...b.entries()].map(([a,b])=>({skillName:a,agents:b})).sort((a,b)=>b.agents.length-a.agents.length||a.skillName.localeCompare(b.skillName))}c.d(b,{$2:()=>f,$t:()=>d,G9:()=>u,GU:()=>s,HL:()=>l,IK:()=>h,Ri:()=>t,ag:()=>r,fH:()=>j,gJ:()=>o,qC:()=>p,x3:()=>m,xJ:()=>k,xR:()=>i,yQ:()=>q,yv:()=>e,zK:()=>g});let n={connected:0,detected:1,notFound:2};function o(a){return[...a].sort((a,b)=>{let c=n[e(a)],d=n[e(b)];return c!==d?c-d:a.name.localeCompare(b.name)})}function p(a,b){let c=b.query.trim().toLowerCase();return a.filter(a=>("all"===b.source||a.source===b.source)&&(!c||`${a.name} ${a.description} ${a.path}`.toLowerCase().includes(c)))}function q(a){let b=a.toLowerCase();return b.includes("search")||b.includes("research")||b.includes("arxiv")||b.includes("paper")?"research":b.includes("doc")||b.includes("write")||b.includes("readme")||b.includes("copy")||b.includes("slide")||b.includes("ppt")?"docs":b.includes("deploy")||b.includes("ops")||b.includes("ci")||b.includes("ship")||b.includes("qa")||b.includes("review")||b.includes("test")?"ops":b.includes("memory")||b.includes("mind")||b.includes("handoff")||b.includes("session")?"memory":"coding"}function r(a,b){let c=new Set(a.map(a=>a.name)),d=new Map;for(let a of b)d.set(a.skillName,a.agents);let e=[];for(let b of a)e.push({name:b.name,kind:"mindos",mindosSkill:b,agents:d.get(b.name)??[],capability:f(b),enabled:b.enabled,source:b.source,description:b.description});for(let a of b)c.has(a.skillName)||e.push({name:a.skillName,kind:"native",agents:a.agents,capability:q(a.skillName),enabled:!0,source:"native",description:""});return e}function s(a){return{research:a.filter(a=>"research"===a.capability),coding:a.filter(a=>"coding"===a.capability),docs:a.filter(a=>"docs"===a.capability),ops:a.filter(a=>"ops"===a.capability),memory:a.filter(a=>"memory"===a.capability)}}function t(a,b){let c=b.query.trim().toLowerCase(),d=new Set(a.filter(a=>"mindos"===a.kind&&(!a.enabled&&"user"===a.source||0===a.description.trim().length)).map(a=>a.name));return a.filter(a=>("all"===b.source||("native"!==b.source||"native"===a.kind)&&("builtin"!==b.source||"builtin"===a.source)&&("user"!==b.source||"user"===a.source))&&("enabled"!==b.status||!!a.enabled)&&("disabled"!==b.status||!a.enabled)&&("attention"!==b.status||!!d.has(a.name))&&("all"===b.capability||a.capability===b.capability)&&(!c||!!`${a.name} ${a.description}`.toLowerCase().includes(c))&&!0)}function u(a,b){return a.filter(a=>"mindos"===a.kind&&a.enabled!==b).map(a=>a.name)}},96832:(a,b,c)=>{c.d(b,{default:()=>e});var d=c(72269);function e({href:a,label:b="Redirecting..."}){return(0,d.jsx)("main",{className:"min-h-screen flex items-center justify-center px-6",children:(0,d.jsx)("a",{href:a,className:"text-sm underline-offset-4 hover:underline focus-visible:ring-2 focus-visible:ring-ring rounded-sm",style:{color:"var(--muted-foreground)"},children:b})})}c(78520)}};
11
+ ${b}`,dangerouslySetInnerHTML:{__html:c}})}function B({open:a,skillName:b,skill:c,agentNames:f=[],allAgentNames:g=[],isNative:h=!1,nativeSourcePath:i,copy:j,onClose:w,onToggle:B,onDelete:E,onRefresh:F,onAddAgent:G,onRemoveAgent:H}){let I,J,[K,L]=(0,e.useState)(null),[M,N]=(0,e.useState)(""),[O,P]=(0,e.useState)(!1),[Q,R]=(0,e.useState)(!1),[S,T]=(0,e.useState)(!1),[U,V]=(0,e.useState)(!1),[W,X]=(0,e.useState)(null),[Y,Z]=(0,e.useState)(!1),[$,_]=(0,e.useState)(!1),[aa,ab]=(0,e.useState)(!1),ac=(0,e.useCallback)(async()=>{if(b){P(!0),R(!1);try{if(h&&i){let a=await (0,s.n)("/api/skills",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"read-native",name:b,sourcePath:i})});L(a.content),N(a.description||"")}else if(!h){let a=await (0,s.n)("/api/skills",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"read",name:b})});L(a.content)}}catch{R(!0)}finally{P(!1)}}},[b,h,i]),ad=(0,e.useCallback)(async()=>{!K||await (0,t.l)(K)&&u.oR.copy()},[K]),ae=(0,e.useCallback)(async a=>{if(b&&B){Z(!0);try{await B(b,a)}finally{Z(!1)}}},[b,B]),af=(0,e.useCallback)(async()=>{if(b&&E){T(!1),V(!0);try{await E(b),X(j.deleted),await F?.(),setTimeout(()=>w(),800)}catch{X(j.deleteFailed),V(!1)}}},[b,E,F,w,j.deleted,j.deleteFailed]);if(!a||!b)return null;let ag=c?(0,y.yQ)(`${c.name} ${c.description}`):(0,y.yQ)(b),ah=z[ag]??k.A,ai=c?.source==="user",aj=h?j.sourceNative:c?.source==="builtin"?j.sourceBuiltin:j.sourceUser,ak=c?.description||M||"",al=c?.path||(h&&i?`${i}/${b}/SKILL.md`:""),am=K?(I=K,(J=K.match(/^---\n[\s\S]*?\n---\n?/))&&(I=K.slice(J[0].length).trim()),{triggerConditions:ak||"",instructions:I}):null,an=g.filter(a=>!f.includes(a));return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"fixed inset-0 z-40 overlay-backdrop",onClick:w,"aria-hidden":"true"}),(0,d.jsxs)("div",{role:"dialog","aria-modal":"true","aria-label":b,className:"fixed right-0 top-0 z-50 h-full w-full max-w-md border-l border-border bg-card shadow-2xl flex flex-col animate-in slide-in-from-right duration-200",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 px-5 py-4 border-b border-border/60 bg-gradient-to-r from-card to-card/80 shrink-0",children:[(0,d.jsx)("div",{className:"w-9 h-9 rounded-xl bg-[var(--amber)]/[0.08] flex items-center justify-center text-[var(--amber)] shrink-0",children:(0,d.jsx)(ah,{size:18})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("h2",{className:"text-sm font-semibold text-foreground truncate",children:b}),(0,d.jsxs)("div",{className:"flex items-center gap-2 mt-1",children:[(0,d.jsx)("span",{className:`text-2xs px-2 py-0.5 rounded-full font-medium select-none ${h||c?.source==="builtin"?"bg-muted text-muted-foreground":"bg-[var(--amber-dim)] text-[var(--amber-text)]"}`,children:aj}),(0,d.jsx)("span",{className:"text-2xs text-muted-foreground/60 capitalize",children:ag})]})]}),(0,d.jsx)("button",{type:"button",onClick:w,className:"shrink-0 p-1.5 rounded-md text-muted-foreground hover:text-foreground hover:bg-muted cursor-pointer transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring","aria-label":j.close,children:(0,d.jsx)(l.A,{size:16})})]}),(0,d.jsxs)("div",{className:"flex-1 overflow-y-auto px-5 py-4 space-y-5",children:[ak&&(0,d.jsxs)("section",{children:[(0,d.jsx)(C,{label:"Trigger Conditions"}),(0,d.jsx)("div",{className:"rounded-lg border border-border/40 bg-muted/[0.03] p-3.5",children:(0,d.jsx)("p",{className:"text-xs text-foreground/80 leading-relaxed whitespace-pre-wrap",children:ak})})]}),!ak&&!h&&(0,d.jsx)("p",{className:"text-sm text-muted-foreground italic",children:j.noDescription}),(0,d.jsx)("section",{children:(0,d.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[!h&&c&&(0,d.jsx)(D,{label:j.enabled,value:c.enabled?"✓":"—",tone:c.enabled?"ok":"muted"}),(0,d.jsx)(D,{label:j.capability,value:ag}),(0,d.jsx)(D,{label:j.source,value:aj}),(0,d.jsx)(D,{label:j.agents,value:String(f.length)})]})}),(0,d.jsxs)("section",{children:[(0,d.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,d.jsx)(C,{label:j.agents,noMargin:!0}),G&&an.length>0&&(0,d.jsxs)("button",{type:"button",onClick:()=>_(!$),className:"inline-flex items-center gap-1 text-2xs font-medium text-[var(--amber)] hover:opacity-80 transition-opacity cursor-pointer",children:[(0,d.jsx)(m.A,{size:12}),(0,d.jsx)("span",{children:"Add"})]})]}),$&&an.length>0&&(0,d.jsx)("div",{className:"flex flex-wrap gap-1.5 mb-2 p-2 rounded-lg border border-dashed border-[var(--amber)]/30 bg-[var(--amber)]/[0.03]",children:an.map(a=>(0,d.jsxs)("button",{type:"button",onClick:()=>{G?.(b,a),_(!1)},className:"inline-flex items-center gap-1 px-2 py-1 text-2xs rounded-md border border-border bg-card hover:bg-muted cursor-pointer transition-colors",children:[(0,d.jsx)(m.A,{size:10,className:"text-[var(--amber)]"}),(0,d.jsx)("span",{className:"text-foreground/80",children:a})]},a))}),f.length>0?(0,d.jsx)("div",{className:"flex flex-wrap gap-2",children:f.map(a=>(0,d.jsx)(x.lx,{name:a,size:"sm",onRemove:H?()=>H(b,a):void 0},a))}):(0,d.jsx)("div",{className:"rounded-lg border border-border/40 bg-card/30 p-3 text-center",children:(0,d.jsx)("p",{className:"text-xs text-muted-foreground",children:j.noAgents})})]}),(null!==K||O||Q)&&(0,d.jsxs)("section",{children:[(0,d.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,d.jsx)(C,{label:"Instructions",noMargin:!0}),(0,d.jsx)("div",{className:"flex items-center gap-2",children:K&&(0,d.jsxs)("button",{type:"button",onClick:ad,className:"inline-flex items-center gap-1 text-2xs text-muted-foreground hover:text-foreground cursor-pointer transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded px-1.5 py-0.5","aria-label":j.copyContent,children:[(0,d.jsx)(n.A,{size:11}),j.copyContent]})})]}),O&&(0,d.jsxs)("div",{className:"rounded-lg border border-border bg-background p-6 flex items-center justify-center gap-2 text-sm text-muted-foreground",children:[(0,d.jsx)(o.A,{size:14,className:"animate-spin"}),j.loading]}),Q&&(0,d.jsxs)("div",{className:"rounded-lg border border-destructive/20 bg-destructive/[0.03] p-4 text-center space-y-2",children:[(0,d.jsx)("p",{className:"text-sm text-destructive",children:j.loadFailed}),(0,d.jsx)("button",{type:"button",onClick:ac,className:"text-xs text-foreground underline hover:no-underline cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded",children:j.retry})]}),am&&!O&&!Q&&(0,d.jsx)("div",{className:`rounded-lg border border-border/50 bg-muted/[0.02] p-4 overflow-hidden transition-all duration-200 ${!aa?"max-h-60":""}`,children:(0,d.jsx)(A,{text:am.instructions})}),am&&!O&&!Q&&am.instructions.split("\n").length>15&&(0,d.jsxs)("button",{type:"button",onClick:()=>ab(!aa),className:"inline-flex items-center gap-1 mt-2 text-2xs font-medium text-[var(--amber)] hover:opacity-80 transition-opacity cursor-pointer",children:[(0,d.jsx)(p.A,{size:12,className:`transition-transform duration-200 ${aa?"rotate-180":""}`}),(0,d.jsx)("span",{children:aa?"Collapse":"View All"})]})]}),al&&(0,d.jsxs)("section",{children:[(0,d.jsx)(C,{label:j.path}),(0,d.jsx)("div",{className:"rounded-lg border border-border/50 bg-muted/[0.03] p-3",children:(0,d.jsx)("code",{className:"text-2xs text-foreground/60 font-mono break-all leading-relaxed",children:al})})]}),W&&(0,d.jsx)("div",{role:"status","aria-live":"polite",className:"rounded-md border border-border bg-muted/50 px-3 py-2 text-xs text-muted-foreground animate-in fade-in duration-200",children:W})]}),!h&&c&&(0,d.jsxs)("div",{className:"shrink-0 border-t border-border px-5 py-3 flex items-center gap-2",children:[B&&(0,d.jsxs)("div",{className:"flex items-center gap-2 mr-auto",children:[(0,d.jsx)(q,{size:14,className:"text-muted-foreground","aria-hidden":"true"}),(0,d.jsx)("span",{className:"text-xs text-muted-foreground",children:c.enabled?j.enabled:j.disabled}),(0,d.jsx)(v.lM,{size:"sm",checked:c.enabled,onChange:a=>void ae(a),disabled:Y})]}),ai&&E&&(0,d.jsxs)("button",{type:"button",onClick:()=>T(!0),disabled:U,className:"inline-flex items-center gap-1.5 px-2.5 min-h-[32px] text-xs rounded-md border border-destructive/30 text-destructive hover:bg-destructive/10 cursor-pointer disabled:opacity-50 transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[U?(0,d.jsx)(o.A,{size:12,className:"animate-spin"}):(0,d.jsx)(r.A,{size:12}),j.deleteSkill]})]})]}),(0,d.jsx)(x.TM,{open:S,title:j.confirmDeleteTitle,message:b?j.confirmDeleteMessage(b):"",confirmLabel:j.confirmDeleteAction,cancelLabel:j.cancelAction,onConfirm:()=>void af(),onCancel:()=>T(!1),variant:"destructive"})]})}function C({label:a,noMargin:b}){return(0,d.jsx)("h3",{className:`text-xs font-semibold text-muted-foreground uppercase tracking-wider ${b?"":"mb-2"}`,children:a})}function D({label:a,value:b,tone:c="default"}){return(0,d.jsxs)("div",{className:"rounded-xl border border-border/50 bg-muted/[0.03] px-3.5 py-3 hover:bg-muted/[0.06] transition-colors duration-100",children:[(0,d.jsx)("span",{className:"text-2xs text-muted-foreground/60 block mb-1 uppercase tracking-wider",children:a}),(0,d.jsx)("span",{className:`text-sm font-semibold capitalize ${"ok"===c?"text-[var(--success)]":"muted"===c?"text-muted-foreground":"text-foreground"}`,children:b})]})}},22163:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(55168).A)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]])},23636:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(55168).A)("wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]])},36326:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(52707).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/mindos-dev/mindos-dev/packages/web/components/ClientRedirect.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/mindos-dev/mindos-dev/packages/web/components/ClientRedirect.tsx","default")},66595:(a,b,c)=>{c.d(b,{A:()=>s});var d=c(72269),e=c(78520),f=c(55433),g=c(83614),h=c(65836),i=c(46421),j=c(29154),k=c(57262),l=c(55231),m=c(37461),n=c(53679),o=c(33659),p=c(73619),q=c(74569),r=c(71977);function s({open:a,onClose:b,onSuccess:c,existingAgents:s,editAgent:u}){let{t:v}=(0,o.Y)(),w=v.agentsContent.overview,x=(0,e.useRef)(null),y=(0,e.useRef)(null),z=!!u,[A,B]=(0,e.useState)("input"),[C,D]=(0,e.useState)(!1),[E,F]=(0,e.useState)(!1),[G,H]=(0,e.useState)(null),[I,J]=(0,e.useState)(null),[K,L]=(0,e.useState)(!1),[M,N]=(0,e.useState)(!1),[O,P]=(0,e.useState)({name:"",baseDir:"",global:"",configKey:"mcpServers",format:"json",preferredTransport:"stdio",project:"",presenceCli:"",skillDir:""});(0,p.r)(x,a);let Q=(0,e.useMemo)(()=>{let a=new Set(s.map(a=>a.key));return z&&u&&a.delete(u.key),a},[s,z,u]),R=(0,e.useMemo)(()=>O.name.toLowerCase().replace(/[^\x20-\x7E]/g,"").replace(/[_\s]+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-{2,}/g,"-").replace(/^-|-$/g,""),[O.name]),S=(0,e.useMemo)(()=>{if(z||!O.name.trim())return null;let a=R||"";if(!a)return null;if(Q.has(a)){let b=s.find(b=>b.key===a);return b?.isCustom?w.customAgentKeyConflict?.(a)??`An agent with key "${a}" already exists`:w.customAgentBuiltinConflict?.(b?.name||a)??`Conflicts with built-in agent "${b?.name||a}"`}return null},[z,R,Q,s,O.name,w]),T=O.name.trim()&&O.baseDir.trim()&&!S,U=(0,e.useCallback)((a,b)=>{P(c=>({...c,[a]:b}))},[]),V=(0,e.useCallback)(async()=>{if(!T)return;H(null),D(!0);let a=O.baseDir.trim();if(!a.startsWith("~/")){let b=a.endsWith("/")?a:a+"/";U("global",b+"mcp.json"),U("skillDir",b+"skills/"),J({exists:!1,hasSkillsDir:!1}),B("result"),D(!1);return}let b=new AbortController,c=setTimeout(()=>b.abort(),3e3);try{let d=await fetch("/api/agents/custom/detect",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({baseDir:a}),signal:b.signal});clearTimeout(c);let e=await d.json();if(!d.ok)return void H(e.error||w.customAgentFailedSave);J(e),e.detectedConfig?U("global",e.detectedConfig):U("global",(a.endsWith("/")?a:a+"/")+"mcp.json"),e.detectedFormat&&U("format",e.detectedFormat),e.detectedConfigKey&&U("configKey",e.detectedConfigKey),U("skillDir",e.detectedSkillDir||(a.endsWith("/")?a:a+"/")+"skills/"),B("result")}catch{clearTimeout(c);let b=a.endsWith("/")?a:a+"/";U("global",b+"mcp.json"),U("skillDir",b+"skills/"),J({exists:!1,hasSkillsDir:!1}),L(!0),B("result")}finally{D(!1)}},[T,O.baseDir,U,w]),W=(0,e.useCallback)(async()=>{F(!0),H(null);let a=z?{key:u.key,name:O.name.trim(),baseDir:O.baseDir.trim(),global:O.global.trim()||void 0,configKey:O.configKey.trim()||void 0,format:O.format,preferredTransport:O.preferredTransport,project:O.project.trim()||null,presenceCli:O.presenceCli.trim()||void 0,skillDir:O.skillDir.trim()||void 0}:{name:O.name.trim(),baseDir:O.baseDir.trim(),global:O.global.trim()||void 0,configKey:O.configKey.trim()||void 0,format:O.format,preferredTransport:O.preferredTransport,project:O.project.trim()||null,presenceCli:O.presenceCli.trim()||void 0,skillDir:O.skillDir.trim()||void 0};try{let d=await fetch("/api/agents/custom",{method:z?"PUT":"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}),e=await d.json();if(!d.ok){H(e.error||w.customAgentFailedSave),F(!1);return}let f=z?w.customAgentUpdated(O.name.trim()):w.customAgentAdded(O.name.trim());q.oR.success(f),c(),b()}catch{H(w.customAgentNetworkError)}finally{F(!1)}},[z,u,O,c,b,w]),X=(0,e.useCallback)(a=>{"Enter"===a.key&&(a.target instanceof HTMLInputElement||a.target instanceof HTMLTextAreaElement)&&(a.preventDefault(),"input"===A&&T&&!C?V():"result"!==A||E||W())},[A,T,C,E,V,W]);if(!a)return null;let Y=z?w.editCustomAgentTitle(u.name):w.addCustomAgentTitle;return(0,d.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center",role:"dialog","aria-modal":"true","aria-labelledby":"custom-agent-modal-title",children:[(0,d.jsx)("div",{className:"absolute inset-0 modal-backdrop",onClick:b,"aria-hidden":"true"}),(0,d.jsxs)("div",{ref:x,className:"relative bg-card border border-border rounded-xl shadow-2xl max-w-md w-full mx-4 animate-in fade-in zoom-in-95 duration-200 max-h-[85vh] overflow-y-auto",onKeyDown:X,children:[(0,d.jsxs)("div",{className:"flex items-center justify-between px-5 pt-5 pb-1",children:[(0,d.jsx)("h2",{id:"custom-agent-modal-title",className:"text-base font-semibold text-foreground",children:Y}),(0,d.jsx)("button",{type:"button",onClick:b,className:"w-7 h-7 rounded-md flex items-center justify-center text-muted-foreground hover:text-foreground hover:bg-muted transition-colors duration-150 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring","aria-label":"Close",children:(0,d.jsx)(f.A,{size:16})})]}),(0,d.jsxs)("div",{className:"px-5 py-4 space-y-4",children:[(0,d.jsxs)(r.D0,{label:w.customAgentName,children:[(0,d.jsx)("input",{ref:y,value:O.name,onChange:a=>U("name",a.target.value),placeholder:w.customAgentNamePlaceholder,"aria-invalid":!!S,className:`w-full px-3 py-2 text-sm bg-background border rounded-lg text-foreground placeholder:text-muted-foreground outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 ${S?"border-[var(--error)] focus-visible:ring-[var(--error)]":"border-border"}`,autoComplete:"off"}),S?(0,d.jsxs)("p",{className:"text-xs text-[var(--error)] mt-1 flex items-center gap-1",children:[(0,d.jsx)(g.A,{size:12}),S]}):O.name.trim()&&R?(0,d.jsx)("p",{className:"text-[11px] text-muted-foreground mt-0.5",children:w.customAgentKeyPreview(R)}):null]}),(0,d.jsxs)(r.D0,{label:w.customAgentDir,hint:"input"===A?w.customAgentDirHint:void 0,children:[(0,d.jsx)(r.pd,{value:O.baseDir,onChange:a=>{U("baseDir",a.target.value),"result"===A&&(B("input"),J(null))},placeholder:w.customAgentDirPlaceholder,autoComplete:"off"}),"result"===A&&I?.exists&&(0,d.jsxs)("p",{className:"text-xs text-[var(--success)] mt-1 flex items-center gap-1",children:[(0,d.jsx)(h.A,{size:12}),w.customAgentDirFound]}),"result"===A&&I&&!I.exists&&!K&&(0,d.jsxs)("p",{className:"text-xs text-[var(--info,var(--muted-foreground))] mt-1 flex items-center gap-1",children:[(0,d.jsx)(i.A,{size:12}),w.customAgentDirNotFound]}),"result"===A&&K&&(0,d.jsxs)("p",{className:"text-xs text-[var(--amber)] mt-1 flex items-center gap-1",children:[(0,d.jsx)(g.A,{size:12}),w.customAgentDetectTimeout]})]}),"result"===A&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:`rounded-lg p-4 space-y-3 ${I?.exists?"border border-[var(--success)]/20 bg-[var(--success)]/5":"border border-border bg-muted/30"}`,children:[(0,d.jsx)("p",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wider",children:I?.exists?w.customAgentDetectedTitle:w.customAgentDefaultTitle}),(0,d.jsxs)("div",{className:"space-y-2.5",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:w.customAgentConfigLabel}),(0,d.jsx)("span",{className:"text-sm text-foreground font-mono truncate block",children:O.global}),I?.mcpParseError&&(0,d.jsxs)("p",{className:"text-xs text-[var(--error)] mt-1 flex items-center gap-1",children:[(0,d.jsx)(g.A,{size:12,className:"shrink-0"}),I.mcpParseError]})]}),(0,d.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:w.customAgentFormatLabel}),(0,d.jsx)("span",{className:"text-sm text-foreground",children:O.format.toUpperCase()})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:"Config Key"}),(0,d.jsx)("span",{className:"text-sm text-foreground font-mono",children:O.configKey})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:w.customAgentTransportLabel}),(0,d.jsx)("span",{className:"text-sm text-foreground",children:O.preferredTransport})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("p",{className:"text-xs text-muted-foreground mb-1 flex items-center gap-1",children:[(0,d.jsx)(j.A,{size:11,className:"shrink-0","aria-hidden":"true"}),"MCP Servers"]}),I?.mcpServers&&I.mcpServers.length>0?(0,d.jsx)("div",{className:"flex flex-wrap gap-1",children:I.mcpServers.map(a=>(0,d.jsx)("span",{className:"text-xs bg-muted/60 text-foreground px-2 py-0.5 rounded font-mono",children:a},a))}):(0,d.jsx)("span",{className:"text-sm text-muted-foreground",children:"—"})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("p",{className:"text-xs text-muted-foreground mb-1 flex items-center gap-1",children:[(0,d.jsx)(k.A,{size:11,className:"shrink-0","aria-hidden":"true"}),w.customAgentSkillsLabel]}),I?.skillNames&&I.skillNames.length>0?(0,d.jsx)("div",{className:"flex flex-wrap gap-1",children:I.skillNames.map(a=>(0,d.jsx)("span",{className:"text-xs bg-[var(--amber-dim)] text-[var(--amber-text,var(--foreground))] px-2 py-0.5 rounded font-mono",children:a},a))}):(0,d.jsx)("span",{className:"text-sm text-muted-foreground",children:"—"})]})]})]}),(0,d.jsxs)("button",{type:"button",onClick:()=>N(a=>!a),className:"flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground transition-colors duration-150 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded",children:[M?(0,d.jsx)(l.A,{size:14}):(0,d.jsx)(m.A,{size:14}),w.customAgentCustomize]}),(0,d.jsx)("div",{className:"grid transition-[grid-template-rows] duration-200 ease-out",style:{gridTemplateRows:M?"1fr":"0fr"},children:(0,d.jsx)("div",{className:"overflow-hidden",children:(0,d.jsxs)("div",{className:"rounded-xl border border-border/50 bg-card/50 p-5 space-y-4",children:[(0,d.jsx)(r.D0,{label:w.customAgentConfigPath,children:(0,d.jsx)(r.pd,{value:O.global,onChange:a=>U("global",a.target.value),autoComplete:"off"})}),(0,d.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,d.jsx)(r.D0,{label:w.customAgentConfigKey,children:(0,d.jsx)(r.pd,{value:O.configKey,onChange:a=>U("configKey",a.target.value),autoComplete:"off"})}),(0,d.jsx)(r.D0,{label:w.customAgentFormat,children:(0,d.jsxs)("div",{className:"flex gap-2 pt-1",children:[(0,d.jsx)(t,{label:"JSON",checked:"json"===O.format,onChange:()=>U("format","json"),name:"format"}),(0,d.jsx)(t,{label:"TOML",checked:"toml"===O.format,onChange:()=>U("format","toml"),name:"format"})]})})]}),(0,d.jsx)(r.D0,{label:w.customAgentTransport,children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(t,{label:"stdio",checked:"stdio"===O.preferredTransport,onChange:()=>U("preferredTransport","stdio"),name:"transport"}),(0,d.jsx)(t,{label:"http",checked:"http"===O.preferredTransport,onChange:()=>U("preferredTransport","http"),name:"transport"})]})}),(0,d.jsx)(r.D0,{label:w.customAgentSkillDir,hint:w.customAgentSkillDirHint,children:(0,d.jsx)(r.pd,{value:O.skillDir,onChange:a=>U("skillDir",a.target.value),placeholder:w.customAgentSkillDirPlaceholder,autoComplete:"off"})}),(0,d.jsx)(r.D0,{label:w.customAgentProjectConfig,children:(0,d.jsx)(r.pd,{value:O.project,onChange:a=>U("project",a.target.value),autoComplete:"off"})}),(0,d.jsx)(r.D0,{label:w.customAgentCliBinary,children:(0,d.jsx)(r.pd,{value:O.presenceCli,onChange:a=>U("presenceCli",a.target.value),placeholder:w.customAgentCliBinaryPlaceholder,autoComplete:"off"})})]})})})]}),G&&(0,d.jsxs)("div",{className:"rounded-lg border border-[var(--error)]/30 bg-[var(--error)]/5 p-3 flex items-start gap-2",children:[(0,d.jsx)(g.A,{size:14,className:"text-[var(--error)] mt-0.5 shrink-0"}),(0,d.jsx)("p",{className:"text-sm text-[var(--error)]",children:G})]})]}),(0,d.jsxs)("div",{className:"flex justify-end gap-2 px-5 pb-5 pt-1",children:[(0,d.jsx)("button",{type:"button",onClick:b,className:"px-4 min-h-[36px] text-sm rounded-lg border border-border hover:bg-muted cursor-pointer transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:w.customAgentCancel}),"input"===A?(0,d.jsx)("button",{type:"button",onClick:V,disabled:!T||C,className:"px-4 min-h-[36px] text-sm rounded-lg bg-[var(--amber)] text-[var(--amber-foreground)] hover:bg-[var(--amber)]/90 disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring flex items-center gap-2",children:C?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.A,{size:14,className:"animate-spin"}),w.customAgentDetecting]}):(0,d.jsxs)(d.Fragment,{children:[w.customAgentContinue,(0,d.jsx)(m.A,{size:14})]})}):(0,d.jsx)("button",{type:"button",onClick:W,disabled:E,className:"px-4 min-h-[36px] text-sm rounded-lg bg-[var(--amber)] text-[var(--amber-foreground)] hover:bg-[var(--amber)]/90 disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring flex items-center gap-2",children:E?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.A,{size:14,className:"animate-spin"}),z?w.customAgentSaving:w.customAgentAdding]}):G?w.customAgentRetry:z?w.customAgentSave:w.customAgentAdd})]})]})]})}function t({label:a,checked:b,onChange:c,name:e}){return(0,d.jsxs)("label",{className:`px-3 py-1.5 text-sm rounded-md border cursor-pointer transition-all duration-150 select-none ${b?"border-[var(--amber)]/40 bg-[var(--amber-dim)] text-foreground font-medium":"border-border bg-background text-muted-foreground hover:bg-muted"}`,children:[(0,d.jsx)("input",{type:"radio",name:e,checked:b,onChange:c,className:"sr-only"}),a]})}},70288:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(55168).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},87686:(a,b,c)=>{function d(a){return{connected:a.filter(a=>a.present&&a.installed),detected:a.filter(a=>a.present&&!a.installed),notFound:a.filter(a=>!a.present)}}function e(a){return a.present&&a.installed?"connected":a.present?"detected":"notFound"}function f(a){return q(`${a.name} ${a.description}`)}function g(a){let b=[];return a.mcpEnabled&&!a.mcpRunning&&b.push({id:"mcp-stopped",severity:"error",title:a.copy.riskMcpStopped}),a.detectedCount>0&&b.push({id:"detected-unconfigured",severity:"warn",title:a.copy.riskDetected(a.detectedCount)}),a.allSkillsDisabled&&b.push({id:"skills-disabled",severity:"warn",title:a.copy.riskSkillsDisabled}),b}function h(a){return new Set(a.filter(a=>!a.enabled&&"user"===a.source||0===a.description.trim().length).map(a=>a.name))}function i(a){let b=a.filter(a=>!a.ok).map(a=>a.skillName);return{total:a.length,succeeded:a.length-b.length,failed:b.length,failedSkills:b}}function j(a,b){let c=b.query.trim().toLowerCase();return a.filter(a=>{let d;return("all"===b.status||e(a)===b.status)&&("all"===b.transport||("stdio"===(d=(a.transport??a.preferredTransport??"").toLowerCase())||"http"===d?d:"other")===b.transport)&&(!c||`${a.name} ${a.key} ${a.configPath??""}`.toLowerCase().includes(c))})}function k(a){let b=a.filter(a=>!a.ok).length;return{total:a.length,succeeded:a.length-b,failed:b}}function l(a){let b=new Map;for(let c of a)for(let a of c.configuredMcpServers??[]){let d=b.get(a);d?d.push(c.name):b.set(a,[c.name])}return[...b.entries()].map(([a,b])=>({serverName:a,agents:b})).sort((a,b)=>b.agents.length-a.agents.length||a.serverName.localeCompare(b.serverName))}function m(a){let b=new Map;for(let c of a)for(let a of c.installedSkillNames??[]){let d=b.get(a);d?d.push(c.name):b.set(a,[c.name])}return[...b.entries()].map(([a,b])=>({skillName:a,agents:b})).sort((a,b)=>b.agents.length-a.agents.length||a.skillName.localeCompare(b.skillName))}c.d(b,{$2:()=>f,$t:()=>d,G9:()=>u,GU:()=>s,HL:()=>l,IK:()=>h,Ri:()=>t,ag:()=>r,fH:()=>j,gJ:()=>o,qC:()=>p,x3:()=>m,xJ:()=>k,xR:()=>i,yQ:()=>q,yv:()=>e,zK:()=>g});let n={connected:0,detected:1,notFound:2};function o(a){return[...a].sort((a,b)=>{let c=n[e(a)],d=n[e(b)];return c!==d?c-d:a.name.localeCompare(b.name)})}function p(a,b){let c=b.query.trim().toLowerCase();return a.filter(a=>("all"===b.source||a.source===b.source)&&(!c||`${a.name} ${a.description} ${a.path}`.toLowerCase().includes(c)))}function q(a){let b=a.toLowerCase();return b.includes("search")||b.includes("research")||b.includes("arxiv")||b.includes("paper")?"research":b.includes("doc")||b.includes("write")||b.includes("readme")||b.includes("copy")||b.includes("slide")||b.includes("ppt")?"docs":b.includes("deploy")||b.includes("ops")||b.includes("ci")||b.includes("ship")||b.includes("qa")||b.includes("review")||b.includes("test")?"ops":b.includes("memory")||b.includes("mind")||b.includes("handoff")||b.includes("session")?"memory":"coding"}function r(a,b){let c=new Set(a.map(a=>a.name)),d=new Map;for(let a of b)d.set(a.skillName,a.agents);let e=[];for(let b of a)e.push({name:b.name,kind:"mindos",mindosSkill:b,agents:d.get(b.name)??[],capability:f(b),enabled:b.enabled,source:b.source,description:b.description});for(let a of b)c.has(a.skillName)||e.push({name:a.skillName,kind:"native",agents:a.agents,capability:q(a.skillName),enabled:!0,source:"native",description:""});return e}function s(a){return{research:a.filter(a=>"research"===a.capability),coding:a.filter(a=>"coding"===a.capability),docs:a.filter(a=>"docs"===a.capability),ops:a.filter(a=>"ops"===a.capability),memory:a.filter(a=>"memory"===a.capability)}}function t(a,b){let c=b.query.trim().toLowerCase(),d=new Set(a.filter(a=>"mindos"===a.kind&&(!a.enabled&&"user"===a.source||0===a.description.trim().length)).map(a=>a.name));return a.filter(a=>("all"===b.source||("native"!==b.source||"native"===a.kind)&&("builtin"!==b.source||"builtin"===a.source)&&("user"!==b.source||"user"===a.source))&&("enabled"!==b.status||!!a.enabled)&&("disabled"!==b.status||!a.enabled)&&("attention"!==b.status||!!d.has(a.name))&&("all"===b.capability||a.capability===b.capability)&&(!c||!!`${a.name} ${a.description}`.toLowerCase().includes(c))&&!0)}function u(a,b){return a.filter(a=>"mindos"===a.kind&&a.enabled!==b).map(a=>a.name)}},96832:(a,b,c)=>{c.d(b,{default:()=>e});var d=c(72269);function e({href:a,label:b="Redirecting..."}){return(0,d.jsx)("main",{className:"min-h-screen flex items-center justify-center px-6",children:(0,d.jsx)("a",{href:a,className:"text-sm underline-offset-4 hover:underline focus-visible:ring-2 focus-visible:ring-ring rounded-sm",style:{color:"var(--muted-foreground)"},children:b})})}c(78520)}};