@geminilight/mindos 0.6.53 → 0.6.55

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 (512) hide show
  1. package/README.md +27 -5
  2. package/README_zh.md +27 -5
  3. package/_standalone/.mindos-build-version +1 -1
  4. package/_standalone/.next/BUILD_ID +1 -1
  5. package/_standalone/.next/app-path-routes-manifest.json +28 -25
  6. package/_standalone/.next/build-manifest.json +3 -3
  7. package/_standalone/.next/cache/.previewinfo +1 -1
  8. package/_standalone/.next/cache/.rscinfo +1 -1
  9. package/_standalone/.next/cache/config.json +3 -3
  10. package/_standalone/.next/prerender-manifest.json +3 -3
  11. package/_standalone/.next/react-loadable-manifest.json +18 -2
  12. package/_standalone/.next/routes-manifest.json +18 -0
  13. package/_standalone/.next/server/app/.well-known/agent-card.json/route_client-reference-manifest.js +1 -1
  14. package/_standalone/.next/server/app/_global-error/page.js +1 -1
  15. package/_standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  16. package/_standalone/.next/server/app/_global-error.html +2 -2
  17. package/_standalone/.next/server/app/_global-error.rsc +2 -2
  18. package/_standalone/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
  19. package/_standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  20. package/_standalone/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  21. package/_standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  22. package/_standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  23. package/_standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  24. package/_standalone/.next/server/app/_not-found/page.js +1 -1
  25. package/_standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
  26. package/_standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  27. package/_standalone/.next/server/app/agents/[agentKey]/page.js +1 -1
  28. package/_standalone/.next/server/app/agents/[agentKey]/page.js.nft.json +1 -1
  29. package/_standalone/.next/server/app/agents/[agentKey]/page_client-reference-manifest.js +1 -1
  30. package/_standalone/.next/server/app/agents/page.js +3 -3
  31. package/_standalone/.next/server/app/agents/page.js.nft.json +1 -1
  32. package/_standalone/.next/server/app/agents/page_client-reference-manifest.js +1 -1
  33. package/_standalone/.next/server/app/api/a2a/agents/route_client-reference-manifest.js +1 -1
  34. package/_standalone/.next/server/app/api/a2a/delegations/route_client-reference-manifest.js +1 -1
  35. package/_standalone/.next/server/app/api/a2a/discover/route_client-reference-manifest.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_client-reference-manifest.js +1 -1
  38. package/_standalone/.next/server/app/api/acp/detect/route_client-reference-manifest.js +1 -1
  39. package/_standalone/.next/server/app/api/acp/install/route_client-reference-manifest.js +1 -1
  40. package/_standalone/.next/server/app/api/acp/registry/route_client-reference-manifest.js +1 -1
  41. package/_standalone/.next/server/app/api/acp/session/route_client-reference-manifest.js +1 -1
  42. package/_standalone/.next/server/app/api/agent-activity/route_client-reference-manifest.js +1 -1
  43. package/_standalone/.next/server/app/api/ask/route.js +5 -5
  44. package/_standalone/.next/server/app/api/ask/route.js.nft.json +1 -1
  45. package/_standalone/.next/server/app/api/ask/route_client-reference-manifest.js +1 -1
  46. package/_standalone/.next/server/app/api/ask-sessions/route_client-reference-manifest.js +1 -1
  47. package/_standalone/.next/server/app/api/auth/route_client-reference-manifest.js +1 -1
  48. package/_standalone/.next/server/app/api/backlinks/route.js.nft.json +1 -1
  49. package/_standalone/.next/server/app/api/backlinks/route_client-reference-manifest.js +1 -1
  50. package/_standalone/.next/server/app/api/bootstrap/route.js.nft.json +1 -1
  51. package/_standalone/.next/server/app/api/bootstrap/route_client-reference-manifest.js +1 -1
  52. package/_standalone/.next/server/app/api/changes/route.js.nft.json +1 -1
  53. package/_standalone/.next/server/app/api/changes/route_client-reference-manifest.js +1 -1
  54. package/_standalone/.next/server/app/api/export/route.js +2 -2
  55. package/_standalone/.next/server/app/api/export/route.js.nft.json +1 -1
  56. package/_standalone/.next/server/app/api/export/route_client-reference-manifest.js +1 -1
  57. package/_standalone/.next/server/app/api/extract-pdf/route_client-reference-manifest.js +1 -1
  58. package/_standalone/.next/server/app/api/file/import/route.js.nft.json +1 -1
  59. package/_standalone/.next/server/app/api/file/import/route_client-reference-manifest.js +1 -1
  60. package/_standalone/.next/server/app/api/file/raw/route.js +1 -0
  61. package/_standalone/.next/server/app/api/file/raw/route.js.nft.json +1 -0
  62. package/_standalone/.next/server/app/api/file/raw/route_client-reference-manifest.js +1 -0
  63. package/_standalone/.next/server/app/api/file/route.js +1 -1
  64. package/_standalone/.next/server/app/api/file/route.js.nft.json +1 -1
  65. package/_standalone/.next/server/app/api/file/route_client-reference-manifest.js +1 -1
  66. package/_standalone/.next/server/app/api/files/route.js.nft.json +1 -1
  67. package/_standalone/.next/server/app/api/files/route_client-reference-manifest.js +1 -1
  68. package/_standalone/.next/server/app/api/git/route.js.nft.json +1 -1
  69. package/_standalone/.next/server/app/api/git/route_client-reference-manifest.js +1 -1
  70. package/_standalone/.next/server/app/api/graph/route.js.nft.json +1 -1
  71. package/_standalone/.next/server/app/api/graph/route_client-reference-manifest.js +1 -1
  72. package/_standalone/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
  73. package/_standalone/.next/server/app/api/inbox/route.js +1 -1
  74. package/_standalone/.next/server/app/api/inbox/route.js.nft.json +1 -1
  75. package/_standalone/.next/server/app/api/inbox/route_client-reference-manifest.js +1 -1
  76. package/_standalone/.next/server/app/api/init/route.js.nft.json +1 -1
  77. package/_standalone/.next/server/app/api/init/route_client-reference-manifest.js +1 -1
  78. package/_standalone/.next/server/app/api/mcp/agents/route.js.nft.json +1 -1
  79. package/_standalone/.next/server/app/api/mcp/agents/route_client-reference-manifest.js +1 -1
  80. package/_standalone/.next/server/app/api/mcp/install/route_client-reference-manifest.js +1 -1
  81. package/_standalone/.next/server/app/api/mcp/install-skill/route_client-reference-manifest.js +1 -1
  82. package/_standalone/.next/server/app/api/mcp/restart/route_client-reference-manifest.js +1 -1
  83. package/_standalone/.next/server/app/api/mcp/status/route.js +1 -1
  84. package/_standalone/.next/server/app/api/mcp/status/route_client-reference-manifest.js +1 -1
  85. package/_standalone/.next/server/app/api/mcp/uninstall/route_client-reference-manifest.js +1 -1
  86. package/_standalone/.next/server/app/api/monitoring/route.js.nft.json +1 -1
  87. package/_standalone/.next/server/app/api/monitoring/route_client-reference-manifest.js +1 -1
  88. package/_standalone/.next/server/app/api/recent-files/route.js.nft.json +1 -1
  89. package/_standalone/.next/server/app/api/recent-files/route_client-reference-manifest.js +1 -1
  90. package/_standalone/.next/server/app/api/restart/route_client-reference-manifest.js +1 -1
  91. package/_standalone/.next/server/app/api/search/route.js.nft.json +1 -1
  92. package/_standalone/.next/server/app/api/search/route_client-reference-manifest.js +1 -1
  93. package/_standalone/.next/server/app/api/settings/list-models/route_client-reference-manifest.js +1 -1
  94. package/_standalone/.next/server/app/api/settings/reset-token/route_client-reference-manifest.js +1 -1
  95. package/_standalone/.next/server/app/api/settings/route.js +1 -1
  96. package/_standalone/.next/server/app/api/settings/route.js.nft.json +1 -1
  97. package/_standalone/.next/server/app/api/settings/route_client-reference-manifest.js +1 -1
  98. package/_standalone/.next/server/app/api/settings/test-key/route_client-reference-manifest.js +1 -1
  99. package/_standalone/.next/server/app/api/setup/check-path/route_client-reference-manifest.js +1 -1
  100. package/_standalone/.next/server/app/api/setup/check-port/route_client-reference-manifest.js +1 -1
  101. package/_standalone/.next/server/app/api/setup/generate-token/route_client-reference-manifest.js +1 -1
  102. package/_standalone/.next/server/app/api/setup/ls/route_client-reference-manifest.js +1 -1
  103. package/_standalone/.next/server/app/api/setup/route.js +1 -1
  104. package/_standalone/.next/server/app/api/setup/route_client-reference-manifest.js +1 -1
  105. package/_standalone/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  106. package/_standalone/.next/server/app/api/sync/route.js +1 -1
  107. package/_standalone/.next/server/app/api/sync/route_client-reference-manifest.js +1 -1
  108. package/_standalone/.next/server/app/api/tree-version/route.js.nft.json +1 -1
  109. package/_standalone/.next/server/app/api/tree-version/route_client-reference-manifest.js +1 -1
  110. package/_standalone/.next/server/app/api/uninstall/route_client-reference-manifest.js +1 -1
  111. package/_standalone/.next/server/app/api/update/route_client-reference-manifest.js +1 -1
  112. package/_standalone/.next/server/app/api/update-check/route_client-reference-manifest.js +1 -1
  113. package/_standalone/.next/server/app/api/update-status/route_client-reference-manifest.js +1 -1
  114. package/_standalone/.next/server/app/api/workflows/route.js.nft.json +1 -1
  115. package/_standalone/.next/server/app/api/workflows/route_client-reference-manifest.js +1 -1
  116. package/_standalone/.next/server/app/changes/page.js +2 -2
  117. package/_standalone/.next/server/app/changes/page.js.nft.json +1 -1
  118. package/_standalone/.next/server/app/changes/page_client-reference-manifest.js +1 -1
  119. package/_standalone/.next/server/app/echo/[segment]/page.js +3 -3
  120. package/_standalone/.next/server/app/echo/[segment]/page.js.nft.json +1 -1
  121. package/_standalone/.next/server/app/echo/[segment]/page_client-reference-manifest.js +1 -1
  122. package/_standalone/.next/server/app/echo/page.js +1 -1
  123. package/_standalone/.next/server/app/echo/page.js.nft.json +1 -1
  124. package/_standalone/.next/server/app/echo/page_client-reference-manifest.js +1 -1
  125. package/_standalone/.next/server/app/explore/page.js +2 -2
  126. package/_standalone/.next/server/app/explore/page.js.nft.json +1 -1
  127. package/_standalone/.next/server/app/explore/page_client-reference-manifest.js +1 -1
  128. package/_standalone/.next/server/app/help/page.js +2 -2
  129. package/_standalone/.next/server/app/help/page.js.nft.json +1 -1
  130. package/_standalone/.next/server/app/help/page_client-reference-manifest.js +1 -1
  131. package/_standalone/.next/server/app/inbox/history/page.js +2 -0
  132. package/_standalone/.next/server/app/inbox/history/page.js.nft.json +1 -0
  133. package/_standalone/.next/server/app/inbox/history/page_client-reference-manifest.js +1 -0
  134. package/_standalone/.next/server/app/login/page.js +2 -2
  135. package/_standalone/.next/server/app/login/page.js.nft.json +1 -1
  136. package/_standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
  137. package/_standalone/.next/server/app/page.js +3 -3
  138. package/_standalone/.next/server/app/page.js.nft.json +1 -1
  139. package/_standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  140. package/_standalone/.next/server/app/setup/page.js +2 -2
  141. package/_standalone/.next/server/app/setup/page.js.nft.json +1 -1
  142. package/_standalone/.next/server/app/setup/page_client-reference-manifest.js +1 -1
  143. package/_standalone/.next/server/app/trash/page.js +3 -3
  144. package/_standalone/.next/server/app/trash/page.js.nft.json +1 -1
  145. package/_standalone/.next/server/app/trash/page_client-reference-manifest.js +1 -1
  146. package/_standalone/.next/server/app/view/[...path]/page.js +3 -3
  147. package/_standalone/.next/server/app/view/[...path]/page.js.nft.json +1 -1
  148. package/_standalone/.next/server/app/view/[...path]/page_client-reference-manifest.js +1 -1
  149. package/_standalone/.next/server/app/wiki/page.js +2 -0
  150. package/_standalone/.next/server/app/wiki/page.js.nft.json +1 -0
  151. package/_standalone/.next/server/app/wiki/page_client-reference-manifest.js +1 -0
  152. package/_standalone/.next/server/app-paths-manifest.json +28 -25
  153. package/_standalone/.next/server/chunks/1981.js +52 -0
  154. package/_standalone/.next/server/chunks/2190.js +2 -2
  155. package/_standalone/.next/server/chunks/2364.js +2 -0
  156. package/_standalone/.next/server/chunks/357.js +1 -0
  157. package/_standalone/.next/server/chunks/530.js +219 -0
  158. package/_standalone/.next/server/chunks/6539.js +1 -1
  159. package/_standalone/.next/server/chunks/8388.js +2 -2
  160. package/_standalone/.next/server/chunks/953.js +4 -4
  161. package/_standalone/.next/server/middleware-build-manifest.js +1 -1
  162. package/_standalone/.next/server/middleware-react-loadable-manifest.js +1 -1
  163. package/_standalone/.next/server/next-font-manifest.js +1 -1
  164. package/_standalone/.next/server/next-font-manifest.json +1 -1
  165. package/_standalone/.next/server/pages/500.html +2 -2
  166. package/_standalone/.next/server/server-reference-manifest.js +1 -1
  167. package/_standalone/.next/server/server-reference-manifest.json +1 -1
  168. package/_standalone/.next/static/QXZErVsiRQxfqUnWMUsH6/_buildManifest.js +1 -0
  169. package/_standalone/.next/static/chunks/1053-2874859f7caefa0f.js +29 -0
  170. package/_standalone/.next/static/chunks/178-105779afb62d36d9.js +1 -0
  171. package/_standalone/.next/static/chunks/1814.b08e9fb85dd3b13c.js +1 -0
  172. package/_standalone/.next/static/chunks/{1880-3ec02adc80531825.js → 1880-7abf971bcfd2389b.js} +2 -2
  173. package/_standalone/.next/static/chunks/{3160-83a7e0b94414b3ac.js → 2218-d54538000574ffef.js} +1 -1
  174. package/_standalone/.next/static/chunks/254-32719a9bea2e74f0.js +1 -0
  175. package/_standalone/.next/static/chunks/362.a77be2f206db7b19.js +1 -0
  176. package/_standalone/.next/static/chunks/4237-ffc6e7c15d4007b6.js +1 -0
  177. package/_standalone/.next/static/chunks/7035-2af69391c7b1ad95.js +1 -0
  178. package/_standalone/.next/static/chunks/7322-d67d05067544864c.js +1 -0
  179. package/_standalone/.next/static/chunks/{6926-4af497b83952fa87.js → 8409-de5726a4a278d28f.js} +1 -1
  180. package/_standalone/.next/static/chunks/8753-ea9db680b0f70f25.js +1 -0
  181. package/_standalone/.next/static/chunks/app/.well-known/agent-card.json/{route-b07a5983e85bc5e3.js → route-e240db6d5049d336.js} +1 -1
  182. package/_standalone/.next/static/chunks/app/_global-error/{page-b07a5983e85bc5e3.js → page-e240db6d5049d336.js} +1 -1
  183. package/_standalone/.next/static/chunks/app/agents/[agentKey]/page-f006a70f6889eb56.js +1 -0
  184. package/_standalone/.next/static/chunks/app/agents/page-bd522e428e3acb78.js +5 -0
  185. package/_standalone/.next/static/chunks/app/api/a2a/agents/{route-b07a5983e85bc5e3.js → route-e240db6d5049d336.js} +1 -1
  186. package/_standalone/.next/static/chunks/app/api/a2a/delegations/{route-b07a5983e85bc5e3.js → route-e240db6d5049d336.js} +1 -1
  187. package/_standalone/.next/static/chunks/app/api/a2a/discover/route-e240db6d5049d336.js +1 -0
  188. package/_standalone/.next/static/chunks/app/api/a2a/route-e240db6d5049d336.js +1 -0
  189. package/_standalone/.next/static/chunks/app/api/acp/config/route-e240db6d5049d336.js +1 -0
  190. package/_standalone/.next/static/chunks/app/api/acp/detect/route-e240db6d5049d336.js +1 -0
  191. package/_standalone/.next/static/chunks/app/api/acp/install/route-e240db6d5049d336.js +1 -0
  192. package/_standalone/.next/static/chunks/app/api/acp/registry/route-e240db6d5049d336.js +1 -0
  193. package/_standalone/.next/static/chunks/app/api/acp/session/route-e240db6d5049d336.js +1 -0
  194. package/_standalone/.next/static/chunks/app/api/agent-activity/route-e240db6d5049d336.js +1 -0
  195. package/_standalone/.next/static/chunks/app/api/ask/route-e240db6d5049d336.js +1 -0
  196. package/_standalone/.next/static/chunks/app/api/ask-sessions/route-e240db6d5049d336.js +1 -0
  197. package/_standalone/.next/static/chunks/app/api/auth/route-e240db6d5049d336.js +1 -0
  198. package/_standalone/.next/static/chunks/app/api/backlinks/route-e240db6d5049d336.js +1 -0
  199. package/_standalone/.next/static/chunks/app/api/bootstrap/route-e240db6d5049d336.js +1 -0
  200. package/_standalone/.next/static/chunks/app/api/changes/route-e240db6d5049d336.js +1 -0
  201. package/_standalone/.next/static/chunks/app/api/export/route-e240db6d5049d336.js +1 -0
  202. package/_standalone/.next/static/chunks/app/api/extract-pdf/route-e240db6d5049d336.js +1 -0
  203. package/_standalone/.next/static/chunks/app/api/file/import/route-e240db6d5049d336.js +1 -0
  204. package/_standalone/.next/static/chunks/app/api/file/raw/route-e240db6d5049d336.js +1 -0
  205. package/_standalone/.next/static/chunks/app/api/file/route-e240db6d5049d336.js +1 -0
  206. package/_standalone/.next/static/chunks/app/api/files/route-e240db6d5049d336.js +1 -0
  207. package/_standalone/.next/static/chunks/app/api/git/route-e240db6d5049d336.js +1 -0
  208. package/_standalone/.next/static/chunks/app/api/graph/route-e240db6d5049d336.js +1 -0
  209. package/_standalone/.next/static/chunks/app/api/health/route-e240db6d5049d336.js +1 -0
  210. package/_standalone/.next/static/chunks/app/api/inbox/route-e240db6d5049d336.js +1 -0
  211. package/_standalone/.next/static/chunks/app/api/init/route-e240db6d5049d336.js +1 -0
  212. package/_standalone/.next/static/chunks/app/api/mcp/agents/route-e240db6d5049d336.js +1 -0
  213. package/_standalone/.next/static/chunks/app/api/mcp/install/route-e240db6d5049d336.js +1 -0
  214. package/_standalone/.next/static/chunks/app/api/mcp/install-skill/route-e240db6d5049d336.js +1 -0
  215. package/_standalone/.next/static/chunks/app/api/mcp/restart/route-e240db6d5049d336.js +1 -0
  216. package/_standalone/.next/static/chunks/app/api/mcp/status/route-e240db6d5049d336.js +1 -0
  217. package/_standalone/.next/static/chunks/app/api/mcp/uninstall/route-e240db6d5049d336.js +1 -0
  218. package/_standalone/.next/static/chunks/app/api/monitoring/route-e240db6d5049d336.js +1 -0
  219. package/_standalone/.next/static/chunks/app/api/recent-files/route-e240db6d5049d336.js +1 -0
  220. package/_standalone/.next/static/chunks/app/api/restart/route-e240db6d5049d336.js +1 -0
  221. package/_standalone/.next/static/chunks/app/api/search/route-e240db6d5049d336.js +1 -0
  222. package/_standalone/.next/static/chunks/app/api/settings/list-models/route-e240db6d5049d336.js +1 -0
  223. package/_standalone/.next/static/chunks/app/api/settings/reset-token/route-e240db6d5049d336.js +1 -0
  224. package/_standalone/.next/static/chunks/app/api/settings/route-e240db6d5049d336.js +1 -0
  225. package/_standalone/.next/static/chunks/app/api/settings/test-key/route-e240db6d5049d336.js +1 -0
  226. package/_standalone/.next/static/chunks/app/api/setup/check-path/route-e240db6d5049d336.js +1 -0
  227. package/_standalone/.next/static/chunks/app/api/setup/check-port/route-e240db6d5049d336.js +1 -0
  228. package/_standalone/.next/static/chunks/app/api/setup/generate-token/route-e240db6d5049d336.js +1 -0
  229. package/_standalone/.next/static/chunks/app/api/setup/ls/route-e240db6d5049d336.js +1 -0
  230. package/_standalone/.next/static/chunks/app/api/setup/route-e240db6d5049d336.js +1 -0
  231. package/_standalone/.next/static/chunks/app/api/skills/route-e240db6d5049d336.js +1 -0
  232. package/_standalone/.next/static/chunks/app/api/sync/route-e240db6d5049d336.js +1 -0
  233. package/_standalone/.next/static/chunks/app/api/tree-version/route-e240db6d5049d336.js +1 -0
  234. package/_standalone/.next/static/chunks/app/api/uninstall/route-e240db6d5049d336.js +1 -0
  235. package/_standalone/.next/static/chunks/app/api/update/route-e240db6d5049d336.js +1 -0
  236. package/_standalone/.next/static/chunks/app/api/update-check/route-e240db6d5049d336.js +1 -0
  237. package/_standalone/.next/static/chunks/app/api/update-status/route-e240db6d5049d336.js +1 -0
  238. package/_standalone/.next/static/chunks/app/api/workflows/route-e240db6d5049d336.js +1 -0
  239. package/_standalone/.next/static/chunks/app/changes/page-5a72144d1080a699.js +1 -0
  240. package/_standalone/.next/static/chunks/app/echo/[segment]/{page-88df174dd64b2c76.js → page-6710da1f581b2854.js} +2 -2
  241. package/_standalone/.next/static/chunks/app/echo/page-e240db6d5049d336.js +1 -0
  242. package/_standalone/.next/static/chunks/app/explore/{page-5eb2835e9e3ab4bb.js → page-d3d99308146c2240.js} +1 -1
  243. package/_standalone/.next/static/chunks/app/global-error-c37d50db6128ec01.js +1 -0
  244. package/_standalone/.next/static/chunks/app/help/page-222df603080b5fab.js +1 -0
  245. package/_standalone/.next/static/chunks/app/inbox/history/page-07819cf95cb0805f.js +1 -0
  246. package/_standalone/.next/static/chunks/app/layout-45e66033ba1bdb05.js +186 -0
  247. package/_standalone/.next/static/chunks/app/loading-e240db6d5049d336.js +1 -0
  248. package/_standalone/.next/static/chunks/app/login/{page-24236460fa7c11d0.js → page-0eeef685052869a6.js} +1 -1
  249. package/_standalone/.next/static/chunks/app/page-71bd113f66bd7617.js +7 -0
  250. package/_standalone/.next/static/chunks/app/setup/{page-99f40e9337388cda.js → page-9a81fa4d82c6351b.js} +1 -1
  251. package/_standalone/.next/static/chunks/app/trash/page-ba3802cf675d029a.js +1 -0
  252. package/_standalone/.next/static/chunks/app/view/[...path]/loading-e240db6d5049d336.js +1 -0
  253. package/_standalone/.next/static/chunks/app/view/[...path]/not-found-fc04c2bd4f35bc6f.js +1 -0
  254. package/_standalone/.next/static/chunks/app/view/[...path]/page-35da7f9f5a009292.js +12 -0
  255. package/_standalone/.next/static/chunks/app/wiki/page-d492256a93f0b8bc.js +1 -0
  256. package/_standalone/.next/static/chunks/next/dist/client/components/builtin/app-error-e240db6d5049d336.js +1 -0
  257. package/_standalone/.next/static/chunks/next/dist/client/components/builtin/forbidden-e240db6d5049d336.js +1 -0
  258. package/_standalone/.next/static/chunks/next/dist/client/components/builtin/not-found-e240db6d5049d336.js +1 -0
  259. package/_standalone/.next/static/chunks/next/dist/client/components/builtin/unauthorized-e240db6d5049d336.js +1 -0
  260. package/_standalone/.next/static/chunks/{webpack-bbd44cbc83dc0aa4.js → webpack-73c9da80c6c1ebfe.js} +1 -1
  261. package/_standalone/.next/static/css/66f8a81e4eda06d4.css +1 -0
  262. package/_standalone/.next/static/css/a4a2b71142b311af.css +31 -0
  263. package/_standalone/.next/trace +64 -64
  264. package/_standalone/.next/types/routes.d.ts +5 -2
  265. package/_standalone/.next/types/validator.ts +27 -0
  266. package/_standalone/__tests__/agents/agents-content-dashboard.test.tsx +1 -0
  267. package/_standalone/__tests__/agents/agents-content-model.test.ts +13 -0
  268. package/_standalone/__tests__/core/inbox.test.ts +168 -0
  269. package/_standalone/__tests__/core/sync.test.ts +37 -0
  270. package/_standalone/__tests__/panels/agents-panel-hub.test.tsx +1 -0
  271. package/_standalone/__tests__/settings/update-tab-desktop.test.tsx +40 -0
  272. package/_standalone/app/globals.css +29 -3
  273. package/_standalone/components/ActivityBar.tsx +9 -9
  274. package/_standalone/components/AskFab.tsx +1 -1
  275. package/_standalone/components/Backlinks.tsx +1 -1
  276. package/_standalone/components/Breadcrumb.tsx +1 -1
  277. package/_standalone/components/CreateSpaceModal.tsx +1 -1
  278. package/_standalone/components/EchoSpotlight.tsx +14 -10
  279. package/_standalone/components/Editor.tsx +1 -1
  280. package/_standalone/components/ExportModal.tsx +3 -3
  281. package/_standalone/components/FileTree.tsx +6 -11
  282. package/_standalone/components/GuideCard.tsx +1 -1
  283. package/_standalone/components/ImportModal.tsx +1 -2
  284. package/_standalone/components/KeyboardShortcuts.tsx +1 -1
  285. package/_standalone/components/MarkdownEditor.tsx +1 -1
  286. package/_standalone/components/OnboardingView.tsx +2 -2
  287. package/_standalone/components/OrganizeToast.tsx +3 -1
  288. package/_standalone/components/Panel.tsx +27 -6
  289. package/_standalone/components/Sidebar.tsx +1 -1
  290. package/_standalone/components/SidebarLayout.tsx +30 -7
  291. package/_standalone/components/SystemPulse.tsx +16 -16
  292. package/_standalone/components/agents/AgentsOverviewSection.tsx +18 -92
  293. package/_standalone/components/agents/AgentsPanelA2aTab.tsx +67 -66
  294. package/_standalone/components/agents/AgentsPrimitives.tsx +1 -1
  295. package/_standalone/components/agents/RecentActivityFeed.tsx +6 -6
  296. package/_standalone/components/agents/SkillDetailPopover.tsx +1 -1
  297. package/_standalone/components/ask/AskHeader.tsx +1 -1
  298. package/_standalone/components/echo/EchoHero.tsx +1 -1
  299. package/_standalone/components/echo/EchoPageSections.tsx +1 -1
  300. package/_standalone/components/explore/UseCaseCard.tsx +1 -1
  301. package/_standalone/components/home/InboxSection.tsx +262 -54
  302. package/_standalone/components/panels/AgentsPanel.tsx +4 -3
  303. package/_standalone/components/panels/AgentsPanelAgentDetail.tsx +1 -1
  304. package/_standalone/components/panels/AgentsPanelHubNav.tsx +10 -6
  305. package/_standalone/components/panels/PanelHeader.tsx +1 -1
  306. package/_standalone/components/renderers/audio/AudioRenderer.tsx +79 -0
  307. package/_standalone/components/renderers/image/ImageRenderer.tsx +203 -0
  308. package/_standalone/components/renderers/pdf/PdfRenderer.tsx +57 -0
  309. package/_standalone/components/renderers/video/VideoRenderer.tsx +91 -0
  310. package/_standalone/components/settings/McpTab.tsx +154 -28
  311. package/_standalone/components/settings/PluginsTab.tsx +1 -1
  312. package/_standalone/components/settings/SettingsContent.tsx +41 -7
  313. package/_standalone/components/settings/UpdateTab.tsx +18 -2
  314. package/_standalone/components/settings/types.ts +7 -1
  315. package/_standalone/components/walkthrough/WalkthroughOverlay.tsx +1 -1
  316. package/_standalone/components/walkthrough/WalkthroughTooltip.tsx +1 -1
  317. package/_standalone/hooks/useAiOrganize.ts +14 -1
  318. package/_standalone/lib/organize-history.ts +6 -0
  319. package/_standalone/tsconfig.tsbuildinfo +1 -1
  320. package/app/app/api/file/raw/route.ts +121 -0
  321. package/app/app/api/file/route.ts +21 -0
  322. package/app/app/api/inbox/route.ts +38 -2
  323. package/app/app/api/mcp/status/route.ts +1 -0
  324. package/app/app/api/settings/route.ts +13 -0
  325. package/app/app/api/setup/route.ts +11 -1
  326. package/app/app/api/sync/route.ts +36 -13
  327. package/app/app/global-error.tsx +3 -3
  328. package/app/app/globals.css +29 -3
  329. package/app/app/inbox/history/page.tsx +250 -0
  330. package/app/app/layout.tsx +5 -11
  331. package/app/app/login/page.tsx +1 -1
  332. package/app/app/page.tsx +3 -3
  333. package/app/app/view/[...path]/ViewPageClient.tsx +15 -10
  334. package/app/app/view/[...path]/not-found.tsx +1 -1
  335. package/app/app/view/[...path]/page.tsx +32 -1
  336. package/app/app/wiki/page.tsx +58 -0
  337. package/app/components/ActivityBar.tsx +9 -9
  338. package/app/components/AskFab.tsx +1 -1
  339. package/app/components/Backlinks.tsx +1 -1
  340. package/app/components/Breadcrumb.tsx +1 -1
  341. package/app/components/CreateSpaceModal.tsx +1 -1
  342. package/app/components/DirView.tsx +2 -2
  343. package/app/components/EchoSpotlight.tsx +14 -10
  344. package/app/components/Editor.tsx +1 -1
  345. package/app/components/ExportModal.tsx +3 -3
  346. package/app/components/FileTree.tsx +6 -11
  347. package/app/components/GuideCard.tsx +1 -1
  348. package/app/components/HomeContent.tsx +50 -39
  349. package/app/components/ImportModal.tsx +1 -2
  350. package/app/components/KeyboardShortcuts.tsx +1 -1
  351. package/app/components/MarkdownEditor.tsx +1 -1
  352. package/app/components/OnboardingView.tsx +2 -2
  353. package/app/components/OrganizeToast.tsx +3 -1
  354. package/app/components/Panel.tsx +27 -6
  355. package/app/components/Sidebar.tsx +1 -1
  356. package/app/components/SidebarLayout.tsx +30 -7
  357. package/app/components/SystemPulse.tsx +16 -16
  358. package/app/components/TrashPageClient.tsx +8 -6
  359. package/app/components/UpdateOverlay.tsx +1 -1
  360. package/app/components/WikiHomeContent.tsx +273 -0
  361. package/app/components/agents/AgentDetailContent.tsx +5 -5
  362. package/app/components/agents/AgentsContentPage.tsx +14 -3
  363. package/app/components/agents/AgentsOverviewSection.tsx +18 -92
  364. package/app/components/agents/AgentsPanelA2aTab.tsx +67 -66
  365. package/app/components/agents/AgentsPrimitives.tsx +1 -1
  366. package/app/components/agents/RecentActivityFeed.tsx +6 -6
  367. package/app/components/agents/SkillDetailPopover.tsx +1 -1
  368. package/app/components/agents/agents-content-model.ts +4 -1
  369. package/app/components/ask/AskHeader.tsx +1 -1
  370. package/app/components/changes/ChangesContentPage.tsx +10 -6
  371. package/app/components/echo/EchoHero.tsx +1 -1
  372. package/app/components/echo/EchoPageSections.tsx +1 -1
  373. package/app/components/explore/ExploreContent.tsx +1 -1
  374. package/app/components/explore/UseCaseCard.tsx +1 -1
  375. package/app/components/help/HelpContent.tsx +3 -3
  376. package/app/components/home/InboxSection.tsx +262 -54
  377. package/app/components/panels/AgentsPanel.tsx +4 -3
  378. package/app/components/panels/AgentsPanelAgentDetail.tsx +1 -1
  379. package/app/components/panels/AgentsPanelHubNav.tsx +10 -6
  380. package/app/components/panels/PanelHeader.tsx +1 -1
  381. package/app/components/renderers/audio/AudioRenderer.tsx +79 -0
  382. package/app/components/renderers/audio/manifest.ts +17 -0
  383. package/app/components/renderers/image/ImageRenderer.tsx +203 -0
  384. package/app/components/renderers/image/manifest.ts +17 -0
  385. package/app/components/renderers/pdf/PdfRenderer.tsx +57 -0
  386. package/app/components/renderers/pdf/manifest.ts +15 -0
  387. package/app/components/renderers/video/VideoRenderer.tsx +91 -0
  388. package/app/components/renderers/video/manifest.ts +17 -0
  389. package/app/components/settings/McpTab.tsx +154 -28
  390. package/app/components/settings/PluginsTab.tsx +1 -1
  391. package/app/components/settings/SettingsContent.tsx +41 -7
  392. package/app/components/settings/UpdateTab.tsx +18 -2
  393. package/app/components/settings/types.ts +7 -1
  394. package/app/components/setup/index.tsx +4 -3
  395. package/app/components/walkthrough/WalkthroughOverlay.tsx +1 -1
  396. package/app/components/walkthrough/WalkthroughTooltip.tsx +1 -1
  397. package/app/hooks/useAiOrganize.ts +14 -1
  398. package/app/lib/core/inbox.ts +131 -2
  399. package/app/lib/core/pdf-text.ts +28 -0
  400. package/app/lib/core/search-index.ts +29 -5
  401. package/app/lib/core/tree.ts +6 -1
  402. package/app/lib/fs.ts +32 -4
  403. package/app/lib/i18n/modules/ai-chat.ts +34 -0
  404. package/app/lib/i18n/modules/knowledge.ts +30 -0
  405. package/app/lib/i18n/modules/navigation.ts +4 -2
  406. package/app/lib/i18n/modules/panels.ts +22 -4
  407. package/app/lib/i18n/modules/settings.ts +26 -0
  408. package/app/lib/organize-history.ts +6 -0
  409. package/app/lib/renderers/index.ts +5 -1
  410. package/app/lib/settings.ts +28 -0
  411. package/bin/commands/doctor.js +12 -6
  412. package/bin/commands/file.js +7 -4
  413. package/bin/commands/logs.js +39 -4
  414. package/bin/commands/onboard.js +1 -1
  415. package/bin/commands/open.js +6 -1
  416. package/bin/commands/space.js +7 -4
  417. package/bin/commands/update.js +8 -18
  418. package/bin/lib/build.js +19 -8
  419. package/bin/lib/cli-shim.js +67 -2
  420. package/bin/lib/config.js +4 -5
  421. package/bin/lib/gateway.js +10 -23
  422. package/bin/lib/jsonc.js +7 -2
  423. package/bin/lib/mcp-agents.js +26 -5
  424. package/bin/lib/path-expand.js +6 -3
  425. package/bin/lib/port.js +5 -1
  426. package/bin/lib/stop.js +72 -51
  427. package/bin/lib/sync.js +1 -1
  428. package/package.json +1 -1
  429. package/scripts/setup.js +7 -5
  430. package/_standalone/.next/server/chunks/3436.js +0 -52
  431. package/_standalone/.next/server/chunks/5648.js +0 -2
  432. package/_standalone/.next/server/chunks/8408.js +0 -219
  433. package/_standalone/.next/static/W-wLgvhPtPJ5Psq9V4i3M/_buildManifest.js +0 -1
  434. package/_standalone/.next/static/chunks/1053-17786066ecd6f216.js +0 -29
  435. package/_standalone/.next/static/chunks/1814.72f7fe7c61e2b647.js +0 -1
  436. package/_standalone/.next/static/chunks/362.4c226d7887d5f696.js +0 -1
  437. package/_standalone/.next/static/chunks/6357-c645842834c0d4cd.js +0 -1
  438. package/_standalone/.next/static/chunks/6981-3d7dcac2d12a5670.js +0 -1
  439. package/_standalone/.next/static/chunks/7035-032641fb6f4e07b2.js +0 -1
  440. package/_standalone/.next/static/chunks/7144-5febf62f1a79fe64.js +0 -1
  441. package/_standalone/.next/static/chunks/9602-423291fdb36396d1.js +0 -1
  442. package/_standalone/.next/static/chunks/app/agents/[agentKey]/page-074d6aafc2606561.js +0 -1
  443. package/_standalone/.next/static/chunks/app/agents/page-710d8c80fa86e93e.js +0 -5
  444. package/_standalone/.next/static/chunks/app/api/a2a/discover/route-b07a5983e85bc5e3.js +0 -1
  445. package/_standalone/.next/static/chunks/app/api/a2a/route-b07a5983e85bc5e3.js +0 -1
  446. package/_standalone/.next/static/chunks/app/api/acp/config/route-b07a5983e85bc5e3.js +0 -1
  447. package/_standalone/.next/static/chunks/app/api/acp/detect/route-b07a5983e85bc5e3.js +0 -1
  448. package/_standalone/.next/static/chunks/app/api/acp/install/route-b07a5983e85bc5e3.js +0 -1
  449. package/_standalone/.next/static/chunks/app/api/acp/registry/route-b07a5983e85bc5e3.js +0 -1
  450. package/_standalone/.next/static/chunks/app/api/acp/session/route-b07a5983e85bc5e3.js +0 -1
  451. package/_standalone/.next/static/chunks/app/api/agent-activity/route-b07a5983e85bc5e3.js +0 -1
  452. package/_standalone/.next/static/chunks/app/api/ask/route-b07a5983e85bc5e3.js +0 -1
  453. package/_standalone/.next/static/chunks/app/api/ask-sessions/route-b07a5983e85bc5e3.js +0 -1
  454. package/_standalone/.next/static/chunks/app/api/auth/route-b07a5983e85bc5e3.js +0 -1
  455. package/_standalone/.next/static/chunks/app/api/backlinks/route-b07a5983e85bc5e3.js +0 -1
  456. package/_standalone/.next/static/chunks/app/api/bootstrap/route-b07a5983e85bc5e3.js +0 -1
  457. package/_standalone/.next/static/chunks/app/api/changes/route-b07a5983e85bc5e3.js +0 -1
  458. package/_standalone/.next/static/chunks/app/api/export/route-b07a5983e85bc5e3.js +0 -1
  459. package/_standalone/.next/static/chunks/app/api/extract-pdf/route-b07a5983e85bc5e3.js +0 -1
  460. package/_standalone/.next/static/chunks/app/api/file/import/route-b07a5983e85bc5e3.js +0 -1
  461. package/_standalone/.next/static/chunks/app/api/file/route-b07a5983e85bc5e3.js +0 -1
  462. package/_standalone/.next/static/chunks/app/api/files/route-b07a5983e85bc5e3.js +0 -1
  463. package/_standalone/.next/static/chunks/app/api/git/route-b07a5983e85bc5e3.js +0 -1
  464. package/_standalone/.next/static/chunks/app/api/graph/route-b07a5983e85bc5e3.js +0 -1
  465. package/_standalone/.next/static/chunks/app/api/health/route-b07a5983e85bc5e3.js +0 -1
  466. package/_standalone/.next/static/chunks/app/api/inbox/route-b07a5983e85bc5e3.js +0 -1
  467. package/_standalone/.next/static/chunks/app/api/init/route-b07a5983e85bc5e3.js +0 -1
  468. package/_standalone/.next/static/chunks/app/api/mcp/agents/route-b07a5983e85bc5e3.js +0 -1
  469. package/_standalone/.next/static/chunks/app/api/mcp/install/route-b07a5983e85bc5e3.js +0 -1
  470. package/_standalone/.next/static/chunks/app/api/mcp/install-skill/route-b07a5983e85bc5e3.js +0 -1
  471. package/_standalone/.next/static/chunks/app/api/mcp/restart/route-b07a5983e85bc5e3.js +0 -1
  472. package/_standalone/.next/static/chunks/app/api/mcp/status/route-b07a5983e85bc5e3.js +0 -1
  473. package/_standalone/.next/static/chunks/app/api/mcp/uninstall/route-b07a5983e85bc5e3.js +0 -1
  474. package/_standalone/.next/static/chunks/app/api/monitoring/route-b07a5983e85bc5e3.js +0 -1
  475. package/_standalone/.next/static/chunks/app/api/recent-files/route-b07a5983e85bc5e3.js +0 -1
  476. package/_standalone/.next/static/chunks/app/api/restart/route-b07a5983e85bc5e3.js +0 -1
  477. package/_standalone/.next/static/chunks/app/api/search/route-b07a5983e85bc5e3.js +0 -1
  478. package/_standalone/.next/static/chunks/app/api/settings/list-models/route-b07a5983e85bc5e3.js +0 -1
  479. package/_standalone/.next/static/chunks/app/api/settings/reset-token/route-b07a5983e85bc5e3.js +0 -1
  480. package/_standalone/.next/static/chunks/app/api/settings/route-b07a5983e85bc5e3.js +0 -1
  481. package/_standalone/.next/static/chunks/app/api/settings/test-key/route-b07a5983e85bc5e3.js +0 -1
  482. package/_standalone/.next/static/chunks/app/api/setup/check-path/route-b07a5983e85bc5e3.js +0 -1
  483. package/_standalone/.next/static/chunks/app/api/setup/check-port/route-b07a5983e85bc5e3.js +0 -1
  484. package/_standalone/.next/static/chunks/app/api/setup/generate-token/route-b07a5983e85bc5e3.js +0 -1
  485. package/_standalone/.next/static/chunks/app/api/setup/ls/route-b07a5983e85bc5e3.js +0 -1
  486. package/_standalone/.next/static/chunks/app/api/setup/route-b07a5983e85bc5e3.js +0 -1
  487. package/_standalone/.next/static/chunks/app/api/skills/route-b07a5983e85bc5e3.js +0 -1
  488. package/_standalone/.next/static/chunks/app/api/sync/route-b07a5983e85bc5e3.js +0 -1
  489. package/_standalone/.next/static/chunks/app/api/tree-version/route-b07a5983e85bc5e3.js +0 -1
  490. package/_standalone/.next/static/chunks/app/api/uninstall/route-b07a5983e85bc5e3.js +0 -1
  491. package/_standalone/.next/static/chunks/app/api/update/route-b07a5983e85bc5e3.js +0 -1
  492. package/_standalone/.next/static/chunks/app/api/update-check/route-b07a5983e85bc5e3.js +0 -1
  493. package/_standalone/.next/static/chunks/app/api/update-status/route-b07a5983e85bc5e3.js +0 -1
  494. package/_standalone/.next/static/chunks/app/api/workflows/route-b07a5983e85bc5e3.js +0 -1
  495. package/_standalone/.next/static/chunks/app/changes/page-350992cf5091bc5b.js +0 -1
  496. package/_standalone/.next/static/chunks/app/echo/page-b07a5983e85bc5e3.js +0 -1
  497. package/_standalone/.next/static/chunks/app/global-error-e1ad0e18236ba26c.js +0 -1
  498. package/_standalone/.next/static/chunks/app/help/page-2325d25b6846ca07.js +0 -1
  499. package/_standalone/.next/static/chunks/app/layout-e5d2fb384207d821.js +0 -186
  500. package/_standalone/.next/static/chunks/app/loading-b07a5983e85bc5e3.js +0 -1
  501. package/_standalone/.next/static/chunks/app/page-54edd045d3448df5.js +0 -7
  502. package/_standalone/.next/static/chunks/app/trash/page-6372bb3f5463affa.js +0 -1
  503. package/_standalone/.next/static/chunks/app/view/[...path]/loading-b07a5983e85bc5e3.js +0 -1
  504. package/_standalone/.next/static/chunks/app/view/[...path]/not-found-61474670d6bb6116.js +0 -1
  505. package/_standalone/.next/static/chunks/app/view/[...path]/page-f3d1d87190dcfe28.js +0 -12
  506. package/_standalone/.next/static/chunks/next/dist/client/components/builtin/app-error-b07a5983e85bc5e3.js +0 -1
  507. package/_standalone/.next/static/chunks/next/dist/client/components/builtin/forbidden-b07a5983e85bc5e3.js +0 -1
  508. package/_standalone/.next/static/chunks/next/dist/client/components/builtin/not-found-b07a5983e85bc5e3.js +0 -1
  509. package/_standalone/.next/static/chunks/next/dist/client/components/builtin/unauthorized-b07a5983e85bc5e3.js +0 -1
  510. package/_standalone/.next/static/css/bbf51803eade6c50.css +0 -31
  511. package/_standalone/.next/static/css/ef1151f74f00d91a.css +0 -1
  512. /package/_standalone/.next/static/{W-wLgvhPtPJ5Psq9V4i3M → QXZErVsiRQxfqUnWMUsH6}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/wiki/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"1441":{"*":{"id":"6108","name":"*","chunks":[],"async":false}},"4671":{"*":{"id":"78741","name":"*","chunks":[],"async":false}},"8249":{"*":{"id":"5892","name":"*","chunks":[],"async":false}},"14446":{"*":{"id":"30488","name":"*","chunks":[],"async":false}},"18847":{"*":{"id":"66535","name":"*","chunks":[],"async":false}},"20814":{"*":{"id":"47336","name":"*","chunks":[],"async":false}},"20870":{"*":{"id":"21416","name":"*","chunks":[],"async":false}},"22952":{"*":{"id":"63667","name":"*","chunks":[],"async":true}},"23074":{"*":{"id":"80296","name":"*","chunks":[],"async":false}},"26490":{"*":{"id":"89386","name":"*","chunks":[],"async":false}},"33428":{"*":{"id":"4496","name":"*","chunks":[],"async":false}},"34367":{"*":{"id":"31296","name":"*","chunks":[],"async":false}},"35504":{"*":{"id":"72362","name":"*","chunks":[],"async":false}},"39594":{"*":{"id":"6732","name":"*","chunks":[],"async":false}},"40001":{"*":{"id":"65246","name":"*","chunks":[],"async":false}},"40430":{"*":{"id":"94416","name":"*","chunks":[],"async":false}},"44746":{"*":{"id":"58232","name":"*","chunks":[],"async":false}},"45511":{"*":{"id":"96802","name":"*","chunks":[],"async":false}},"48133":{"*":{"id":"2820","name":"*","chunks":[],"async":false}},"53788":{"*":{"id":"26902","name":"*","chunks":[],"async":false}},"54690":{"*":{"id":"43248","name":"*","chunks":[],"async":false}},"56406":{"*":{"id":"51488","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64435":{"*":{"id":"17242","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"69931":{"*":{"id":"84477","name":"*","chunks":[],"async":true}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"81439":{"*":{"id":"90453","name":"*","chunks":[],"async":false}},"81733":{"*":{"id":"49905","name":"*","chunks":[],"async":true}},"86343":{"*":{"id":"67809","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"87180":{"*":{"id":"7348","name":"*","chunks":[],"async":false}},"87460":{"*":{"id":"2420","name":"*","chunks":[],"async":false}},"87500":{"*":{"id":"33378","name":"*","chunks":[],"async":false}},"87986":{"*":{"id":"63956","name":"*","chunks":[],"async":false}},"88946":{"*":{"id":"78340","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"91459":{"*":{"id":"31168","name":"*","chunks":[],"async":false}},"91727":{"*":{"id":"11756","name":"*","chunks":[],"async":false}},"92306":{"*":{"id":"46427","name":"*","chunks":[],"async":false}},"92524":{"*":{"id":"10500","name":"*","chunks":[],"async":false}},"92950":{"*":{"id":"80992","name":"*","chunks":[],"async":false}},"93042":{"*":{"id":"5200","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/MindOS/MindOS/app/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/app/global-error.tsx":{"id":54690,"name":"*","chunks":["4219","static/chunks/app/global-error-c37d50db6128ec01.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/app/globals.css":{"id":66872,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/app/register-sw.tsx":{"id":92524,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/ErrorBoundary.tsx":{"id":86343,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/renderers/agent-inspector/AgentInspectorRenderer.tsx":{"id":18847,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/renderers/audio/AudioRenderer.tsx":{"id":14446,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/renderers/backlinks/BacklinksRenderer.tsx":{"id":88946,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/renderers/config/ConfigRenderer.tsx":{"id":35504,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/renderers/csv/CsvRenderer.tsx":{"id":92306,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/renderers/graph/GraphRenderer.tsx":{"id":92950,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/renderers/image/ImageRenderer.tsx":{"id":20814,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/renderers/pdf/PdfRenderer.tsx":{"id":20870,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/renderers/summary/SummaryRenderer.tsx":{"id":56406,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/renderers/timeline/TimelineRenderer.tsx":{"id":39594,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/renderers/todo/TodoRenderer.tsx":{"id":87500,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/renderers/video/VideoRenderer.tsx":{"id":87986,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/renderers/workflow-yaml/WorkflowYamlRenderer.tsx":{"id":48133,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/ShellLayout.tsx":{"id":81733,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":true},"/home/runner/work/MindOS/MindOS/app/components/ui/Toaster.tsx":{"id":26490,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/ui/tooltip.tsx":{"id":91459,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/UpdateOverlay.tsx":{"id":40430,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/lib/stores/LocaleStoreInit.tsx":{"id":93042,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":16719,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"IBM_Plex_Mono\",\"arguments\":[{\"variable\":\"--font-ibm-plex-mono\",\"weight\":[\"400\",\"600\"],\"subsets\":[\"latin\"]}],\"variableName\":\"ibmPlexMono\"}":{"id":377,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"IBM_Plex_Sans\",\"arguments\":[{\"variable\":\"--font-ibm-plex-sans\",\"weight\":[\"400\",\"500\",\"600\",\"700\"],\"subsets\":[\"latin\"]}],\"variableName\":\"ibmPlexSans\"}":{"id":98663,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Lora\",\"arguments\":[{\"variable\":\"--font-lora\",\"weight\":[\"400\",\"500\",\"600\"],\"style\":[\"normal\",\"italic\"],\"subsets\":[\"latin\"]}],\"variableName\":\"lora\"}":{"id":75282,"name":"*","chunks":["4913","static/chunks/e71f6c19-4df85185bf989b49.js","3862","static/chunks/1a258343-9803591e4aaee1f6.js","4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","9286","static/chunks/9286-5b09baa5200318c2.js","7266","static/chunks/7266-bb7be1128eccd48e.js","8753","static/chunks/8753-ea9db680b0f70f25.js","7322","static/chunks/7322-d67d05067544864c.js","254","static/chunks/254-32719a9bea2e74f0.js","1053","static/chunks/1053-2874859f7caefa0f.js","7035","static/chunks/7035-2af69391c7b1ad95.js","6636","static/chunks/6636-9bbc90fb3b8731fe.js","7177","static/chunks/app/layout-45e66033ba1bdb05.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/app/error.tsx":{"id":87460,"name":"*","chunks":["8039","static/chunks/app/error-fc1491d554a28327.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/echo/EchoSegmentPageClient.tsx":{"id":69931,"name":"*","chunks":[],"async":true},"/home/runner/work/MindOS/MindOS/app/app/inbox/history/page.tsx":{"id":4671,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/app/login/page.tsx":{"id":91727,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/components/TrashPageClient.tsx":{"id":40001,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/app/view/[...path]/error.tsx":{"id":53788,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/app/view/[...path]/not-found.tsx":{"id":23074,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/app/view/[...path]/ViewPageClient.tsx":{"id":1441,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/components/DirView.tsx":{"id":34367,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/components/agents/AgentsContentPage.tsx":{"id":64435,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/components/agents/AgentDetailContent.tsx":{"id":45511,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/components/changes/ChangesContentPage.tsx":{"id":87180,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/components/help/HelpContent.tsx":{"id":8249,"name":"*","chunks":[],"async":false},"/home/runner/work/MindOS/MindOS/app/components/HomeContent.tsx":{"id":44746,"name":"*","chunks":["4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","2218","static/chunks/2218-d54538000574ffef.js","1053","static/chunks/1053-2874859f7caefa0f.js","178","static/chunks/178-105779afb62d36d9.js","8974","static/chunks/app/page-71bd113f66bd7617.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/setup/index.tsx":{"id":22952,"name":"*","chunks":[],"async":true},"/home/runner/work/MindOS/MindOS/app/components/WikiHomeContent.tsx":{"id":81439,"name":"*","chunks":["4237","static/chunks/4237-ffc6e7c15d4007b6.js","8409","static/chunks/8409-de5726a4a278d28f.js","1053","static/chunks/1053-2874859f7caefa0f.js","178","static/chunks/178-105779afb62d36d9.js","6023","static/chunks/app/wiki/page-d492256a93f0b8bc.js"],"async":false},"/home/runner/work/MindOS/MindOS/app/components/explore/ExploreContent.tsx":{"id":33428,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/MindOS/MindOS/app/":[],"/home/runner/work/MindOS/MindOS/app/app/global-error":[],"/home/runner/work/MindOS/MindOS/app/app/layout":[{"inlined":false,"path":"static/css/66f8a81e4eda06d4.css"},{"inlined":false,"path":"static/css/a4a2b71142b311af.css"}],"/home/runner/work/MindOS/MindOS/app/app/error":[],"/home/runner/work/MindOS/MindOS/app/app/loading":[],"/home/runner/work/MindOS/MindOS/app/app/page":[],"/home/runner/work/MindOS/MindOS/app/app/wiki/page":[]},"rscModuleMapping":{"1441":{"*":{"id":"71923","name":"*","chunks":[],"async":false}},"4671":{"*":{"id":"69379","name":"*","chunks":[],"async":false}},"8249":{"*":{"id":"79927","name":"*","chunks":[],"async":false}},"14446":{"*":{"id":"59238","name":"*","chunks":[],"async":false}},"18847":{"*":{"id":"66913","name":"*","chunks":[],"async":false}},"20814":{"*":{"id":"92206","name":"*","chunks":[],"async":false}},"20870":{"*":{"id":"29406","name":"*","chunks":[],"async":false}},"22952":{"*":{"id":"32873","name":"*","chunks":[],"async":false}},"23074":{"*":{"id":"74710","name":"*","chunks":[],"async":false}},"26490":{"*":{"id":"32248","name":"*","chunks":[],"async":false}},"33428":{"*":{"id":"61519","name":"*","chunks":[],"async":false}},"34367":{"*":{"id":"24449","name":"*","chunks":[],"async":false}},"35504":{"*":{"id":"63112","name":"*","chunks":[],"async":false}},"39594":{"*":{"id":"1394","name":"*","chunks":[],"async":false}},"40001":{"*":{"id":"86025","name":"*","chunks":[],"async":false}},"40430":{"*":{"id":"90598","name":"*","chunks":[],"async":false}},"44746":{"*":{"id":"19543","name":"*","chunks":[],"async":false}},"45511":{"*":{"id":"73165","name":"*","chunks":[],"async":false}},"48133":{"*":{"id":"83539","name":"*","chunks":[],"async":false}},"53788":{"*":{"id":"32984","name":"*","chunks":[],"async":false}},"54690":{"*":{"id":"55038","name":"*","chunks":[],"async":false}},"56406":{"*":{"id":"45862","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64435":{"*":{"id":"3036","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"66872":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"69931":{"*":{"id":"99031","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"81439":{"*":{"id":"22963","name":"*","chunks":[],"async":false}},"81733":{"*":{"id":"5315","name":"*","chunks":[],"async":false}},"86343":{"*":{"id":"24387","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"87180":{"*":{"id":"39370","name":"*","chunks":[],"async":false}},"87460":{"*":{"id":"85034","name":"*","chunks":[],"async":false}},"87500":{"*":{"id":"18776","name":"*","chunks":[],"async":false}},"87986":{"*":{"id":"14986","name":"*","chunks":[],"async":false}},"88946":{"*":{"id":"66874","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"91459":{"*":{"id":"68533","name":"*","chunks":[],"async":false}},"91727":{"*":{"id":"69613","name":"*","chunks":[],"async":false}},"92306":{"*":{"id":"60442","name":"*","chunks":[],"async":false}},"92524":{"*":{"id":"12978","name":"*","chunks":[],"async":false}},"92950":{"*":{"id":"37718","name":"*","chunks":[],"async":false}},"93042":{"*":{"id":"31442","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -5,67 +5,70 @@
5
5
  "/api/init/route": "app/api/init/route.js",
6
6
  "/api/workflows/route": "app/api/workflows/route.js",
7
7
  "/icon.svg/route": "app/icon.svg/route.js",
8
+ "/.well-known/agent-card.json/route": "app/.well-known/agent-card.json/route.js",
8
9
  "/api/a2a/agents/route": "app/api/a2a/agents/route.js",
9
10
  "/api/a2a/delegations/route": "app/api/a2a/delegations/route.js",
10
- "/.well-known/agent-card.json/route": "app/.well-known/agent-card.json/route.js",
11
11
  "/api/a2a/discover/route": "app/api/a2a/discover/route.js",
12
12
  "/api/a2a/route": "app/api/a2a/route.js",
13
- "/api/acp/config/route": "app/api/acp/config/route.js",
14
- "/api/acp/detect/route": "app/api/acp/detect/route.js",
15
13
  "/api/acp/install/route": "app/api/acp/install/route.js",
16
14
  "/api/acp/registry/route": "app/api/acp/registry/route.js",
15
+ "/api/acp/detect/route": "app/api/acp/detect/route.js",
17
16
  "/api/agent-activity/route": "app/api/agent-activity/route.js",
17
+ "/api/acp/session/route": "app/api/acp/session/route.js",
18
18
  "/api/ask-sessions/route": "app/api/ask-sessions/route.js",
19
- "/api/auth/route": "app/api/auth/route.js",
20
19
  "/api/backlinks/route": "app/api/backlinks/route.js",
21
- "/api/acp/session/route": "app/api/acp/session/route.js",
22
- "/api/changes/route": "app/api/changes/route.js",
20
+ "/api/auth/route": "app/api/auth/route.js",
21
+ "/api/bootstrap/route": "app/api/bootstrap/route.js",
22
+ "/api/acp/config/route": "app/api/acp/config/route.js",
23
23
  "/api/extract-pdf/route": "app/api/extract-pdf/route.js",
24
- "/api/file/import/route": "app/api/file/import/route.js",
24
+ "/api/file/raw/route": "app/api/file/raw/route.js",
25
25
  "/api/files/route": "app/api/files/route.js",
26
+ "/api/file/import/route": "app/api/file/import/route.js",
26
27
  "/api/git/route": "app/api/git/route.js",
27
28
  "/api/graph/route": "app/api/graph/route.js",
28
- "/api/health/route": "app/api/health/route.js",
29
+ "/api/changes/route": "app/api/changes/route.js",
29
30
  "/api/inbox/route": "app/api/inbox/route.js",
31
+ "/api/health/route": "app/api/health/route.js",
30
32
  "/api/file/route": "app/api/file/route.js",
31
- "/api/mcp/agents/route": "app/api/mcp/agents/route.js",
32
33
  "/api/mcp/install-skill/route": "app/api/mcp/install-skill/route.js",
33
- "/api/bootstrap/route": "app/api/bootstrap/route.js",
34
- "/api/mcp/status/route": "app/api/mcp/status/route.js",
34
+ "/api/mcp/restart/route": "app/api/mcp/restart/route.js",
35
35
  "/api/mcp/install/route": "app/api/mcp/install/route.js",
36
- "/api/mcp/uninstall/route": "app/api/mcp/uninstall/route.js",
37
- "/api/recent-files/route": "app/api/recent-files/route.js",
36
+ "/api/mcp/status/route": "app/api/mcp/status/route.js",
38
37
  "/api/monitoring/route": "app/api/monitoring/route.js",
39
- "/api/restart/route": "app/api/restart/route.js",
38
+ "/api/recent-files/route": "app/api/recent-files/route.js",
39
+ "/api/mcp/uninstall/route": "app/api/mcp/uninstall/route.js",
40
40
  "/api/search/route": "app/api/search/route.js",
41
- "/api/settings/reset-token/route": "app/api/settings/reset-token/route.js",
41
+ "/api/restart/route": "app/api/restart/route.js",
42
42
  "/api/settings/list-models/route": "app/api/settings/list-models/route.js",
43
- "/api/settings/route": "app/api/settings/route.js",
44
- "/api/setup/check-path/route": "app/api/setup/check-path/route.js",
43
+ "/api/settings/reset-token/route": "app/api/settings/reset-token/route.js",
45
44
  "/api/settings/test-key/route": "app/api/settings/test-key/route.js",
45
+ "/api/mcp/agents/route": "app/api/mcp/agents/route.js",
46
+ "/api/setup/check-path/route": "app/api/setup/check-path/route.js",
46
47
  "/api/setup/generate-token/route": "app/api/setup/generate-token/route.js",
47
- "/api/setup/check-port/route": "app/api/setup/check-port/route.js",
48
48
  "/api/setup/ls/route": "app/api/setup/ls/route.js",
49
- "/api/ask/route": "app/api/ask/route.js",
50
- "/api/tree-version/route": "app/api/tree-version/route.js",
51
- "/api/mcp/restart/route": "app/api/mcp/restart/route.js",
49
+ "/api/setup/check-port/route": "app/api/setup/check-port/route.js",
52
50
  "/api/setup/route": "app/api/setup/route.js",
51
+ "/api/skills/route": "app/api/skills/route.js",
52
+ "/api/tree-version/route": "app/api/tree-version/route.js",
53
53
  "/api/uninstall/route": "app/api/uninstall/route.js",
54
54
  "/api/update-status/route": "app/api/update-status/route.js",
55
55
  "/api/update-check/route": "app/api/update-check/route.js",
56
56
  "/api/update/route": "app/api/update/route.js",
57
+ "/api/settings/route": "app/api/settings/route.js",
57
58
  "/api/sync/route": "app/api/sync/route.js",
58
- "/api/skills/route": "app/api/skills/route.js",
59
+ "/api/ask/route": "app/api/ask/route.js",
59
60
  "/echo/page": "app/echo/page.js",
60
61
  "/echo/[segment]/page": "app/echo/[segment]/page.js",
62
+ "/inbox/history/page": "app/inbox/history/page.js",
61
63
  "/login/page": "app/login/page.js",
62
64
  "/trash/page": "app/trash/page.js",
63
65
  "/view/[...path]/page": "app/view/[...path]/page.js",
64
- "/agents/[agentKey]/page": "app/agents/[agentKey]/page.js",
65
66
  "/agents/page": "app/agents/page.js",
67
+ "/agents/[agentKey]/page": "app/agents/[agentKey]/page.js",
66
68
  "/changes/page": "app/changes/page.js",
67
- "/explore/page": "app/explore/page.js",
68
69
  "/help/page": "app/help/page.js",
70
+ "/page": "app/page.js",
69
71
  "/setup/page": "app/setup/page.js",
70
- "/page": "app/page.js"
72
+ "/wiki/page": "app/wiki/page.js",
73
+ "/explore/page": "app/explore/page.js"
71
74
  }
@@ -0,0 +1,52 @@
1
+ "use strict";exports.id=1981,exports.ids=[1981],exports.modules={1160:(a,b,c)=>{c.d(b,{GL:()=>d,_l:()=>e,e1:()=>f}),c(29021),c(33873);let d=a=>`# ${a} Instruction Set
2
+
3
+ ## Goal
4
+
5
+ - Define local execution rules for this directory.
6
+
7
+ ## Local Rules
8
+
9
+ - Read root \`INSTRUCTION.md\` first.
10
+ - Then read this directory \`README.md\` for navigation.
11
+ - Keep edits minimal, structured, and traceable.
12
+
13
+ ## Execution Order
14
+
15
+ 1. Root \`INSTRUCTION.md\`
16
+ 2. This directory \`INSTRUCTION.md\`
17
+ 3. This directory \`README.md\` and target files
18
+
19
+ ## Boundary
20
+
21
+ - Root rules win on conflict.
22
+ `,e=a=>`# ${a}
23
+
24
+ ## 📁 Structure
25
+
26
+ \`\`\`bash
27
+ ${a}/
28
+ ├── INSTRUCTION.md
29
+ ├── README.md
30
+ └── (your files here)
31
+ \`\`\`
32
+
33
+ ## 💡 Usage
34
+
35
+ (Describe the purpose and usage of this space.)
36
+ `;function f(a){return a.replace(/^[\p{Emoji_Presentation}\p{Extended_Pictographic}\s]+/u,"")||a}},4120:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{kh:()=>o});var e=c(29021),f=c.n(e),g=c(33873),h=c.n(g),i=c(21820),j=c.n(i),k=c(61374),l=c(27313),m=a([l]);l=(m.then?(await m)():m)[0];let p=h().join(j().homedir(),".mindos","config.json"),q={ai:{provider:"anthropic",providers:{anthropic:{apiKey:"",model:"claude-sonnet-4-6"},openai:{apiKey:"",model:"gpt-5.4",baseUrl:""}}},mindRoot:""};function n(a,b,c){if(a&&"object"==typeof a){let c=a[b];if("string"==typeof c&&""!==c.trim())return c}return c}function o(){return function(){try{var a;let b=f().readFileSync(p,"utf-8"),c=JSON.parse(b);return{ai:function(a){let b=a.ai;if(!b)return{...q.ai};let c="string"==typeof b.provider?b.provider:"anthropic",d=(0,l.rl)(c)?c:"anthropic";if(b.providers&&"object"==typeof b.providers){let a=b.providers,c={};for(let b of Object.keys(a)){var e;if(!(0,l.rl)(b))continue;let d=l.T_[b],f=q.ai.providers[b]??{apiKey:"",model:d.defaultModel};c[b]=(e=a[b],{apiKey:n(e,"apiKey",f.apiKey),model:n(e,"model",f.model),...void 0!==f.baseUrl?{baseUrl:n(e,"baseUrl",f.baseUrl)}:{}})}return c.anthropic||(c.anthropic=q.ai.providers.anthropic),c.openai||(c.openai=q.ai.providers.openai),{provider:d,providers:c}}return{provider:d,providers:{anthropic:{apiKey:n(b,"anthropicApiKey",""),model:n(b,"anthropicModel","claude-sonnet-4-6")},openai:{apiKey:n(b,"openaiApiKey",""),model:n(b,"openaiModel","gpt-5.4"),baseUrl:n(b,"openaiBaseUrl","")}}}}(c),agent:function(a){if(!a||"object"!=typeof a)return;let b={};return"number"==typeof a.maxSteps&&(b.maxSteps=Math.min(30,Math.max(1,a.maxSteps))),"boolean"==typeof a.enableThinking&&(b.enableThinking=a.enableThinking),"number"==typeof a.thinkingBudget&&(b.thinkingBudget=Math.min(5e4,Math.max(1e3,a.thinkingBudget))),("auto"===a.contextStrategy||"off"===a.contextStrategy)&&(b.contextStrategy=a.contextStrategy),"number"==typeof a.reconnectRetries&&(b.reconnectRetries=Math.min(10,Math.max(0,a.reconnectRetries))),Object.keys(b).length>0?b:void 0}(c.agent),acpAgents:(a=c.acpAgents,(0,k.gG)(a)),mindRoot:c.mindRoot??q.mindRoot,webPassword:"string"==typeof c.webPassword?c.webPassword:void 0,authToken:"string"==typeof c.authToken?c.authToken:void 0,mcpPort:"number"==typeof c.mcpPort?c.mcpPort:void 0,port:"number"==typeof c.port?c.port:void 0,startMode:"string"==typeof c.startMode?c.startMode:void 0,setupPending:!0===c.setupPending||void 0,disabledSkills:Array.isArray(c.disabledSkills)?c.disabledSkills:void 0,guideState:function(a){if(!a||"object"!=typeof a||!0!==a.active)return;let b="en"===a.template||"zh"===a.template||"empty"===a.template?a.template:"en";return{active:!0,dismissed:!0===a.dismissed,template:b,step1Done:!0===a.step1Done,askedAI:!0===a.askedAI,nextStepIndex:"number"==typeof a.nextStepIndex?a.nextStepIndex:0,walkthroughStep:"number"==typeof a.walkthroughStep?a.walkthroughStep:void 0,walkthroughDismissed:"boolean"==typeof a.walkthroughDismissed?a.walkthroughDismissed:void 0}}(c.guideState),baseUrlCompat:(()=>{let a=c.baseUrlCompat;if(!a||"object"!=typeof a)return;let b={};for(let[c,d]of Object.entries(a))("streaming"===d||"non-streaming"===d)&&(b[c]=d);return Object.keys(b).length>0?b:void 0})(),connectionMode:function(a){if(a.connectionMode&&"object"==typeof a.connectionMode){let b=a.connectionMode;if("boolean"==typeof b.cli&&"boolean"==typeof b.mcp)return{cli:b.cli,mcp:b.mcp}}let b=!0===a.setupPending||!a.mindRoot;return{cli:!0,mcp:!b}}(c)}}catch{return{...q,ai:{...q.ai,providers:{...q.ai.providers}},setupPending:!0,connectionMode:{cli:!0,mcp:!1}}}}().mindRoot||process.env.MIND_ROOT||h().join(j().homedir(),"MindOS","mind")}d()}catch(a){d(a)}})},14432:(a,b,c)=>{c.d(b,{Xs:()=>B,As:()=>x,rt:()=>e.rt,x3:()=>e.x3,_E:()=>w,H5:()=>e.H5,OV:()=>e.OV});var d=c(99863),e=c(18451),f=c(29021),g=c.n(f);c(79748);var h=c(33873),i=c.n(h);let j=new Set([".git","node_modules","app",".next",".DS_Store","mcp"]),k=new Set([".md",".csv",".pdf",".png",".jpg",".jpeg",".gif",".webp",".svg",".bmp",".ico",".mp3",".wav",".m4a",".ogg",".flac",".aac",".mp4",".webm",".mov",".mkv"]),l=new Set(["INSTRUCTION.md","README.md","CONFIG.json","CHANGELOG.md"]);function m(a,b,c={}){let d,e=i().resolve(a),f=b??e,h=c.ignoredDirs??j,n=c.allowedExtensions??k;try{d=g().readdirSync(f,{withFileTypes:!0})}catch{return[]}let o=[];for(let b of d){let d=i().join(f,b.name);if(b.isDirectory()){if(h.has(b.name))continue;o.push(...m(a,d,c))}else if(b.isFile()){if(f===e&&l.has(b.name))continue;let a=i().extname(b.name).toLowerCase();n.has(a)&&o.push(i().relative(e,d))}}return o}var n=c(21820),o=c.n(n),p=c(89531);let q=/[\u4e00-\u9fff\u3040-\u309f\u30a0-\u30ff\uac00-\ud7af]/,r="u">typeof Intl&&Intl.Segmenter?new Intl.Segmenter("zh",{granularity:"word"}):null;function s(a){let b=new Set,c=a.toLowerCase(),d=c.match(/[a-z0-9_$@#]+/g);if(d)for(let a of d)a.length>=2&&b.add(a);if(q.test(c))if(r)for(let{segment:a,isWordLike:d}of r.segment(c)){if(!d)continue;let c=a.trim();if(c)for(let a of(b.add(c),c))q.test(a)&&b.add(a)}else{let a=[];for(let d of c)q.test(d)?a.push(d):a.length>0&&(t(a,b),a.length=0);a.length>0&&t(a,b)}return b}function t(a,b){for(let c=0;c<a.length;c++)b.add(a[c]),c+1<a.length&&b.add(a[c]+a[c+1])}class u{rebuild(a){let b=m(a),c=new Map,f=new Map,g=new Map,h=0;for(let j of b){let b;if(".pdf"===i().extname(j).toLowerCase())try{let c=(0,d.eX)(a,j);if(!(b=(0,p.b)(c)))continue}catch{continue}else try{b=(0,e.TA)(a,j)}catch{continue}f.set(j,b.length),h+=b.length,b.length>5e4&&(b=b.slice(0,5e4));let k=s(j+"\n"+b);for(let a of(g.set(j,k),k)){let b=c.get(a);b||(b=new Set,c.set(a,b)),b.add(j)}}this.invertedIndex=c,this.builtForRoot=a,this.fileCount=b.length,this.docLengths=f,this.totalChars=h,this.fileTokens=g}invalidate(){this.invertedIndex=null,this.builtForRoot=null,this.fileCount=0,this.docLengths.clear(),this.totalChars=0,this.fileTokens.clear()}removeFile(a){if(!this.invertedIndex)return;let b=this.fileTokens.get(a);if(b){for(let c of b)this.invertedIndex.get(c)?.delete(a);this.fileTokens.delete(a)}let c=this.docLengths.get(a)??0;this.totalChars-=c,this.docLengths.delete(a),this.fileCount=Math.max(0,this.fileCount-1)}addFile(a,b){let c;if(!this.invertedIndex)return;if(".pdf"===i().extname(b).toLowerCase())try{let e=(0,d.eX)(a,b);if(!(c=(0,p.b)(e)))return}catch{return}else try{c=(0,e.TA)(a,b)}catch{return}this.docLengths.set(b,c.length),this.totalChars+=c.length,this.fileCount++,c.length>5e4&&(c=c.slice(0,5e4));let f=s(b+"\n"+c);for(let a of(this.fileTokens.set(b,f),f)){let c=this.invertedIndex.get(a);c||(c=new Set,this.invertedIndex.set(a,c)),c.add(b)}}updateFile(a,b){this.invertedIndex&&(this.removeFile(b),this.addFile(a,b))}isBuiltFor(a){return null!==this.invertedIndex&&this.builtForRoot===a}isBuilt(){return null!==this.invertedIndex}getFileCount(){return this.fileCount}getAvgDocLength(){return this.fileCount>0?this.totalChars/this.fileCount:0}getDocLength(a){return this.docLengths.get(a)??0}getDocFrequency(a){return this.invertedIndex?this.invertedIndex.get(a)?.size??0:0}getCandidatesUnion(a){if(!a.trim()||!this.invertedIndex)return null;let b=s(a.toLowerCase().trim());if(0===b.size)return null;let c=new Map;for(let a of b){let b=this.invertedIndex.get(a);if(b)for(let a of b)c.set(a,(c.get(a)??0)+1)}if(0===c.size)return[];let d=b.size;if(d>=3){let a=Math.max(1,Math.floor(d/2)),b=[...c.entries()].filter(([,b])=>b>=a).map(([a])=>a);if(b.length>0)return b}return[...c.keys()]}getCandidates(a){if(!a.trim()||!this.invertedIndex)return null;let b=s(a.toLowerCase().trim());if(0===b.size)return null;let c=null;for(let a of b){let b=this.invertedIndex.get(a);if(!b)return[];if(null===c)c=new Set(b);else{for(let a of c)b.has(a)||c.delete(a);if(0===c.size)return[]}}return c?Array.from(c):[]}persist(a){if(!this.invertedIndex)return;let b={version:1,builtForRoot:this.builtForRoot??"",fileCount:this.fileCount,totalChars:this.totalChars,docLengths:Object.fromEntries(this.docLengths),invertedIndex:{},timestamp:Date.now()};for(let[a,c]of this.invertedIndex)b.invertedIndex[a]=[...c];let c=i().join(a,"search-index.json");try{g().mkdirSync(a,{recursive:!0}),g().writeFileSync(c,JSON.stringify(b),"utf-8")}catch{}}load(a,b){let c,d,e=i().join(a,"search-index.json");try{c=g().readFileSync(e,"utf-8")}catch{return!1}try{d=JSON.parse(c)}catch{return!1}if(1!==d.version||d.builtForRoot!==b||m(b).length!==d.fileCount)return!1;let f=Object.keys(d.docLengths);if(Math.min(50,f.length)===f.length)for(let a of f)try{if(g().statSync(i().join(b,a)).mtimeMs>d.timestamp)return!1}catch{return!1}else{let a=Math.max(1,Math.floor(f.length/40)),c=new Set;for(let b=0;b<f.length;b+=a)c.add(b);for(let a=Math.max(0,f.length-10);a<f.length;a++)c.add(a);for(let a of c)try{if(g().statSync(i().join(b,f[a])).mtimeMs>d.timestamp)return!1}catch{return!1}}this.builtForRoot=d.builtForRoot,this.fileCount=d.fileCount,this.totalChars=d.totalChars,this.docLengths=new Map(Object.entries(d.docLengths).map(([a,b])=>[a,b]));let h=new Map,j=new Map;for(let[a,b]of Object.entries(d.invertedIndex)){let c=new Set(b);for(let b of(h.set(a,c),c)){let c=j.get(b);c||(c=new Set,j.set(b,c)),c.add(a)}}return this.invertedIndex=h,this.fileTokens=j,!0}constructor(){this.invertedIndex=null,this.builtForRoot=null,this.fileCount=0,this.docLengths=new Map,this.totalChars=0,this.fileTokens=new Map}}let v=new u;function w(){v.invalidate()}function x(a,b){v.isBuilt()&&(v.addFile(a,b),z=!0,y&&clearTimeout(y),y=setTimeout(A,5e3))}let y=null,z=!1;function A(){if(y&&(clearTimeout(y),y=null),z){z=!1;try{v.persist(i().join(o().homedir(),".mindos"))}catch{}}}"u">typeof process&&(process.on("beforeExit",A),process.on("SIGTERM",()=>{A(),process.exit(0)}),process.on("SIGINT",()=>{A(),process.exit(0)}));class B{rebuild(a){let b=m(a).filter(a=>a.endsWith(".md")),c=new Set(b),d=function(a){let b=new Map;for(let c of a){let a=i().basename(c).toLowerCase();b.has(a)||b.set(a,[]),b.get(a).push(c)}return b}(b),f=new Map,g=new Map;for(let h of b){let b;try{b=(0,e.TA)(a,h)}catch{continue}let i=C(b,h,c,d),j=new Set;for(let a of i)a!==h&&j.add(a);for(let a of(f.set(h,j),j)){let b=g.get(a);b||(b=new Set,g.set(a,b)),b.add(h)}}this.forwardLinks=f,this.backwardLinks=g,this.builtForRoot=a,this.fileSet=c,this.basenameMap=d}invalidate(){this.forwardLinks.clear(),this.backwardLinks.clear(),this.builtForRoot=null,this.fileSet.clear(),this.basenameMap.clear()}isBuiltFor(a){return this.builtForRoot===a}isBuilt(){return null!==this.builtForRoot}getForwardLinks(a){return[...this.forwardLinks.get(a)??[]]}getBacklinks(a){return[...this.backwardLinks.get(a)??[]]}getAllEdges(){let a=[];for(let[b,c]of this.forwardLinks)for(let d of c)a.push({source:b,target:d});return a}removeFile(a){let b=this.forwardLinks.get(a);if(b){for(let c of b)this.backwardLinks.get(c)?.delete(a);this.forwardLinks.delete(a)}let c=this.backwardLinks.get(a);if(c){for(let b of c)this.forwardLinks.get(b)?.delete(a);this.backwardLinks.delete(a)}this.fileSet.delete(a);let d=i().basename(a).toLowerCase(),e=this.basenameMap.get(d);if(e){let b=e.indexOf(a);b>=0&&e.splice(b,1),0===e.length&&this.basenameMap.delete(d)}}updateFile(a,b){let c;if(!this.builtForRoot||!b.endsWith(".md"))return;let d=this.forwardLinks.get(b);if(d)for(let a of d)this.backwardLinks.get(a)?.delete(b);try{c=(0,e.TA)(a,b)}catch{return}if(!this.fileSet.has(b)){this.fileSet.add(b);let a=i().basename(b).toLowerCase();this.basenameMap.has(a)||this.basenameMap.set(a,[]),this.basenameMap.get(a).push(b)}let f=C(c,b,this.fileSet,this.basenameMap),g=new Set;for(let a of f)a!==b&&g.add(a);for(let a of(this.forwardLinks.set(b,g),g)){let c=this.backwardLinks.get(a);c||(c=new Set,this.backwardLinks.set(a,c)),c.add(b)}}constructor(){this.forwardLinks=new Map,this.backwardLinks=new Map,this.builtForRoot=null,this.fileSet=new Set,this.basenameMap=new Map}}function C(a,b,c,d){let e,f=[],g=i().dirname(b),h=/\[\[([^\]|#]+)(?:[|#][^\]]*)?/g;for(;null!==(e=h.exec(a));){let a=e[1].trim();if(!a)continue;if(c.has(a)){f.push(a);continue}let b=a.endsWith(".md")?a:a+".md";if(c.has(b)){f.push(b);continue}let g=i().basename(b).toLowerCase(),h=d.get(g);h&&1===h.length&&f.push(h[0])}let j=/\[[^\]]+\]\(([^)]+\.md)(?:#[^)]*)?\)/g;for(;null!==(e=j.exec(a));){let a=e[1].trim();if(!a||a.startsWith("http"))continue;let b=i().normalize(i().join(g,a));c.has(b)&&f.push(b)}return f}c(20018),c(79646),c(15872)},15872:(a,b,c)=>{c.d(b,{_:()=>l,c:()=>k});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(20018),i=c(18451),j=c(1160);function k(a,b,c){let d=b.replace(/^[\p{Emoji_Presentation}\p{Extended_Pictographic}\s]+/u,"")||b,e=c.trim()||"(Describe the purpose and usage of this space.)";return`# ${d}
37
+
38
+ ${e}
39
+
40
+ ## 📁 Structure
41
+
42
+ \`\`\`bash
43
+ ${a}/
44
+ ├── INSTRUCTION.md
45
+ ├── README.md
46
+ └── (your files here)
47
+ \`\`\`
48
+
49
+ ## 💡 Usage
50
+
51
+ (Add usage guidelines for this space.)
52
+ `}function l(a,b,c,d=""){let f=b.trim();if(!f)throw new h.Vt(h.tG.INVALID_REQUEST,"Space name is required",{name:b});if(f.includes("/")||f.includes("\\"))throw new h.Vt(h.tG.INVALID_PATH,"Space name must not contain path separators",{name:f});let m=d.replace(/\/+$/,"").trim();if(m.includes("..")||m.startsWith("/")||m.includes("\\"))throw new h.Vt(h.tG.INVALID_PATH,"Invalid parent path",{parentPath:d});let n=m?`${m}/`:"",o=`${n}${f}`,p=k(o,f,c);(0,i.x3)(a,`${o}/README.md`,p);let q=g().resolve(a,o),r=g().join(q,"INSTRUCTION.md");return e().existsSync(r)||e().writeFileSync(r,(0,j.GL)((0,j.e1)(f)),"utf-8"),{path:o}}},16081:(a,b,c)=>{c.d(b,{F0:()=>o,JI:()=>u,Lr:()=>p,YN:()=>t,hQ:()=>s,kz:()=>q,vn:()=>r});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f);function h(a,b){return g().join(g().dirname(a),b)}function i(a){return h(a,".trash")}function j(a){return h(a,".trash-meta")}function k(a){e().mkdirSync(i(a),{recursive:!0}),e().mkdirSync(j(a),{recursive:!0})}function l(a,b){let c=g().join(j(a),`${b}.json`);if(!e().existsSync(c))return null;try{return JSON.parse(e().readFileSync(c,"utf-8"))}catch{return null}}function m(a,b){let c=g().join(j(a),`${b}.json`);try{e().unlinkSync(c)}catch{}}function n(a,b,c){if(c)e().cpSync(a,b,{recursive:!0}),e().rmSync(a,{recursive:!0,force:!0});else try{e().renameSync(a,b)}catch(c){if("EXDEV"===c.code)e().copyFileSync(a,b),e().unlinkSync(a);else throw c}}function o(a,b){let c,d;k(a);let f=g().join(a,b);if(!e().existsSync(f))throw Error(`File not found: ${b}`);let h=e().statSync(f).isDirectory(),l=g().basename(b),m=(c=l.replace(/[^a-zA-Z0-9._\-\u4e00-\u9fff]/g,"_"),`${Date.now()}_${c}`),o=g().join(i(a),m);e().mkdirSync(g().dirname(o),{recursive:!0}),n(f,o,h);let p=new Date,q={id:m,originalPath:b,deletedAt:p.toISOString(),expiresAt:new Date(p.getTime()+2592e6).toISOString(),fileName:l,isDirectory:h};return d=g().join(j(a),`${q.id}.json`),e().writeFileSync(d,JSON.stringify(q,null,2),"utf-8"),q}function p(a,b,c=!1){let d=l(a,b);if(!d)throw Error("Item not found in trash");let f=g().join(i(a),b);if(!e().existsSync(f))throw Error("Trash file missing from disk");let h=g().join(a,d.originalPath);if(e().existsSync(h)&&!c)throw Object.assign(Error("Restore conflict: file exists at original location"),{code:"RESTORE_CONFLICT"});return e().mkdirSync(g().dirname(h),{recursive:!0}),d.isDirectory?c&&e().existsSync(h)&&e().rmSync(h,{recursive:!0,force:!0}):c&&e().existsSync(h)&&e().unlinkSync(h),n(f,h,d.isDirectory),m(a,b),{restoredPath:d.originalPath}}function q(a,b){let c=l(a,b);if(!c)throw Error("Item not found in trash");let d=g().join(i(a),b);if(!e().existsSync(d))throw Error("Trash file missing from disk");let f=g().dirname(c.originalPath),h=g().extname(c.fileName),j=g().basename(c.fileName,h),k=g().join(f,`${j} (copy)${h}`),o=2;for(;e().existsSync(g().join(a,k));)k=g().join(f,`${j} (copy ${o})${h}`),o++;let p=g().join(a,k);return e().mkdirSync(g().dirname(p),{recursive:!0}),n(d,p,c.isDirectory),m(a,b),{restoredPath:k}}function r(a,b){let c=g().join(i(a),b);try{e().existsSync(c)&&(e().statSync(c).isDirectory()?e().rmSync(c,{recursive:!0,force:!0}):e().unlinkSync(c))}catch{}m(a,b)}function s(a){let b;k(a);let c=j(a);try{b=e().readdirSync(c).filter(a=>a.endsWith(".json"))}catch{return[]}let d=[];for(let f of b)try{let b=JSON.parse(e().readFileSync(g().join(c,f),"utf-8")),h=g().join(i(a),b.id);if(e().existsSync(h))d.push(b);else try{e().unlinkSync(g().join(c,f))}catch{}}catch{}return d.sort((a,b)=>new Date(b.deletedAt).getTime()-new Date(a.deletedAt).getTime()),d}function t(a){let b=s(a);for(let c of b)r(a,c.id);return b.length}function u(a){let b=s(a),c=Date.now(),d=0;for(let e of b)new Date(e.expiresAt).getTime()<=c&&(r(a,e.id),d++);return d}},18451:(a,b,c)=>{c.d(b,{H5:()=>n,OV:()=>o,TA:()=>k,rt:()=>m,x3:()=>l});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(99863),i=c(20018),j=c(1160);function k(a,b){let c=(0,h.eX)(a,b);return e().readFileSync(c,"utf-8")}function l(a,b,c=""){let d=(0,h.eX)(a,b);e().mkdirSync(g().dirname(d),{recursive:!0});try{e().writeFileSync(d,c,{encoding:"utf-8",flag:"wx"})}catch(a){if(a instanceof Error&&"code"in a&&"EEXIST"===a.code)throw new i.Vt(i.tG.FILE_ALREADY_EXISTS,`File already exists: ${b}`,{filePath:b});throw a}}function m(a,b){let c=(0,h.eX)(a,b);if(!e().existsSync(c))throw new i.Vt(i.tG.FILE_NOT_FOUND,`Directory not found: ${b}`,{dirPath:b});if(!e().statSync(c).isDirectory())throw new i.Vt(i.tG.INVALID_PATH,`Not a directory: ${b}`,{dirPath:b});let d=g().basename(c),f=(0,j.e1)(d),k=g().join(c,"INSTRUCTION.md");e().existsSync(k)||e().writeFileSync(k,(0,j.GL)(f),"utf-8");let l=g().join(c,"README.md");e().existsSync(l)||e().writeFileSync(l,(0,j._l)(f),"utf-8")}function n(a,b,c){if(c.includes("/")||c.includes("\\"))throw new i.Vt(i.tG.INVALID_PATH,"Invalid filename: must not contain path separators",{newName:c});let d=g().resolve(a),f=g().resolve(g().join(d,b));(0,h.cP)(f,d);let j=g().dirname(f),k=g().join(j,c);if((0,h.cP)(k,d),e().existsSync(k))throw new i.Vt(i.tG.FILE_ALREADY_EXISTS,"A file with that name already exists",{newName:c});return e().renameSync(f,k),g().relative(d,k)}function o(a,b,c){let d=c.trim();if(!d||d.includes("/")||d.includes("\\"))throw new i.Vt(i.tG.INVALID_PATH,"Invalid space name: must not contain path separators",{newName:c});let f=b.replace(/\/+$/g,"").trim();if(!f)throw new i.Vt(i.tG.INVALID_PATH,"Space path is required",{spacePath:b});let j=g().resolve(a),k=(0,h.eX)(a,f);if(!e().existsSync(k))throw new i.Vt(i.tG.FILE_NOT_FOUND,`Space not found: ${f}`,{spacePath:f});if(!e().statSync(k).isDirectory())throw new i.Vt(i.tG.INVALID_PATH,`Not a directory: ${f}`,{spacePath:f});let l=g().dirname(k),m=g().join(l,d);if((0,h.cP)(m,j),e().existsSync(m))throw new i.Vt(i.tG.FILE_ALREADY_EXISTS,"A space with that name already exists",{newName:d});return e().renameSync(k,m),g().relative(j,m)}},20018:(a,b,c)=>{c.d(b,{Vt:()=>d,tG:()=>e}),c(20457);class d extends Error{constructor(a,b,c,d){super(b),this.code=a,this.context=c,this.userMessage=d,this.name="MindOSError"}}let e={FILE_NOT_FOUND:"FILE_NOT_FOUND",FILE_ALREADY_EXISTS:"FILE_ALREADY_EXISTS",PATH_OUTSIDE_ROOT:"PATH_OUTSIDE_ROOT",PROTECTED_FILE:"PROTECTED_FILE",INVALID_PATH:"INVALID_PATH",INVALID_RANGE:"INVALID_RANGE",HEADING_NOT_FOUND:"HEADING_NOT_FOUND",INVALID_FILE_TYPE:"INVALID_FILE_TYPE",INVALID_REQUEST:"INVALID_REQUEST",MODEL_INIT_FAILED:"MODEL_INIT_FAILED",INTERNAL_ERROR:"INTERNAL_ERROR",PERMISSION_DENIED:"PERMISSION_DENIED"}},21981:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{"000b135659269552286a66f8a627ac5e43778db64a":()=>e.GB,"000c0c622b89debda50eaafd01e5f8fc624e585ded":()=>e.EG,"00812933c664279789e716f0ee44fb574f758ec098":()=>e.Dg,"008c1c5923370efb5fe667bb0601ca4338b613534b":()=>e.Bn,"401827faa79099b932fea1497fa6c5076661d3aca5":()=>e.iJ,"40301015ab488a45157b81f65327e73e43f29000ea":()=>e.bC,"4061f3af00b60d80dbd7328d6f73236e63064a975a":()=>e.VO,"407a3c58de4b873b387b48239e9a40c9db22f3ceb3":()=>e.jW,"408d644a6a17f7e5b041e10d55e5e80a3a380b7576":()=>e.Ye,"409ea4c7f75a9049d20acaa7f3744b95d3a47f7097":()=>e.ku,"40d7eaa7ca10a7a42ca1d049344440272eb299f08c":()=>e.Ar,"6041123e45c0f3e85a6c4fb98591189f8aea9d7411":()=>e.f,"60722b873de5073d43851eb64af8b0bf091a9bda25":()=>e.pG,"6086e346ed22805956bfafe8f97ef05a9f8c26cf67":()=>e.NN,"60f093929b292b0e99d1ca300f9b459bbb5ab3ee38":()=>e.X3,"709fbd902325c16efac24ceca4de585b4082925b56":()=>e.pX,"70ea82abb01efa4f7068be8b5a67c94a0a188164fe":()=>e.FZ});var e=c(85224),f=a([e]);e=(f.then?(await f)():f)[0],d()}catch(a){d(a)}})},27114:(a,b,c)=>{c.d(b,{A:()=>d});let d=new Set(["TODO.md"])},27313:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{T_:()=>h,rl:()=>g});var e=c(14270),f=a([e]);e=(f.then?(await f)():f)[0];let h={anthropic:{id:"anthropic",name:"Anthropic",nameZh:"Anthropic",defaultModel:"claude-sonnet-4-6",supportsBaseUrl:!0,supportsThinking:!0,supportsListModels:!0,signupUrl:"https://console.anthropic.com/settings/keys",category:"primary"},openai:{id:"openai",name:"OpenAI",nameZh:"OpenAI",defaultModel:"gpt-5.4",supportsBaseUrl:!0,supportsThinking:!0,supportsListModels:!0,signupUrl:"https://platform.openai.com/api-keys",category:"primary"},google:{id:"google",name:"Google Gemini",nameZh:"Google Gemini",defaultModel:"gemini-2.5-flash",supportsBaseUrl:!1,supportsThinking:!0,supportsListModels:!1,signupUrl:"https://aistudio.google.com/apikey",category:"primary"},groq:{id:"groq",name:"Groq",nameZh:"Groq",defaultModel:"llama-3.3-70b-versatile",supportsBaseUrl:!1,supportsThinking:!1,supportsListModels:!0,signupUrl:"https://console.groq.com/keys",category:"more"},xai:{id:"xai",name:"xAI (Grok)",nameZh:"xAI (Grok)",defaultModel:"grok-3",supportsBaseUrl:!1,supportsThinking:!1,supportsListModels:!0,category:"more"},openrouter:{id:"openrouter",name:"OpenRouter",nameZh:"OpenRouter",defaultModel:"anthropic/claude-sonnet-4",supportsBaseUrl:!1,supportsThinking:!1,supportsListModels:!0,category:"more"},mistral:{id:"mistral",name:"Mistral",nameZh:"Mistral",defaultModel:"mistral-large-latest",supportsBaseUrl:!1,supportsThinking:!1,supportsListModels:!0,category:"more"},deepseek:{id:"deepseek",name:"DeepSeek",nameZh:"DeepSeek",defaultModel:"deepseek-chat",piProviderOverride:"openai",fixedBaseUrl:"https://api.deepseek.com/v1",supportsBaseUrl:!0,supportsThinking:!0,supportsListModels:!0,signupUrl:"https://platform.deepseek.com/api_keys",category:"more"},zai:{id:"zai",name:"ZhipuAI (GLM)",nameZh:"智谱 AI (GLM)",defaultModel:"glm-4-plus",supportsBaseUrl:!1,supportsThinking:!0,supportsListModels:!1,category:"more"},"kimi-coding":{id:"kimi-coding",name:"Kimi Coding",nameZh:"Kimi Coding (月之暗面)",defaultModel:"kimi-k2-thinking",supportsBaseUrl:!1,supportsThinking:!0,supportsListModels:!1,category:"more"},cerebras:{id:"cerebras",name:"Cerebras",nameZh:"Cerebras",defaultModel:"llama-4-scout-17b-16e",supportsBaseUrl:!1,supportsThinking:!1,supportsListModels:!0,category:"more"},minimax:{id:"minimax",name:"MiniMax",nameZh:"MiniMax",defaultModel:"MiniMax-M1",supportsBaseUrl:!1,supportsThinking:!1,supportsListModels:!1,category:"more"},huggingface:{id:"huggingface",name:"Hugging Face",nameZh:"Hugging Face",defaultModel:"Qwen/Qwen3-235B-A22B-Thinking-2507",supportsBaseUrl:!1,supportsThinking:!0,supportsListModels:!1,category:"more"},ollama:{id:"ollama",name:"Ollama",nameZh:"Ollama (本地)",defaultModel:"llama3.2",piProviderOverride:"openai",fixedBaseUrl:"http://localhost:11434/v1",apiKeyFallback:"ollama",supportsBaseUrl:!0,supportsThinking:!1,supportsListModels:!0,signupUrl:"https://ollama.com/download",category:"more"}};function g(a){return a in h}Object.keys(h),d()}catch(a){d(a)}})},53134:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{H5:()=>r,JX:()=>l,Jh:()=>s,f:()=>p,gm:()=>m,rt:()=>t,x3:()=>q});var e=c(29021),f=c.n(e),g=c(33873),h=c.n(g);c(20018);var i=c(14432),j=c(4120);c(89531),c(16081);var k=a([j]);function l(){return(0,j.kh)()}j=(k.then?(await k)():k)[0];let u=new Set([".git","node_modules","app",".next",".DS_Store"]),v=new Set([".md",".csv",".json",".pdf",".png",".jpg",".jpeg",".gif",".webp",".svg",".bmp",".ico",".mp3",".wav",".m4a",".ogg",".flac",".aac",".mp4",".webm",".mov",".mkv"]),w=null,x=0,y=new i.Xs;function m(){w=null,x++,(0,i._E)(),y.invalidate()}let z=null,A=null;function n(a,b){try{let c=f().readFileSync(a,"utf-8"),d=[];for(let a of c.split("\n")){let c=a.trim();if(!(!c||c.startsWith("#"))&&(d.push(c),d.length>=b))break}return d}catch{return[]}}let B=["Define local execution rules for this directory.","(your files here)","(Describe the purpose and usage of this space.)","(Add usage guidelines for this space.)"];function o(a){try{let b=f().readFileSync(a,"utf-8");return B.some(a=>b.includes(a))}catch{return!1}}function p(){var a;let b,c;return(null!==w&&Date.now()-w.timestamp<3e4?w:(a=l(),b=function a(b,c){let d,e=c??l();try{d=f().readdirSync(b,{withFileTypes:!0})}catch{return[]}let g=[];for(let c of d){let d=h().join(b,c.name),f=h().relative(e,d);if(c.isDirectory()){if(u.has(c.name))continue;let b=a(d,e);if(b.length>0){let a=b.some(a=>"file"===a.type&&"INSTRUCTION.md"===a.name),e={name:c.name,path:f,type:"directory",children:b};a&&(e.isSpace=!0,e.spacePreview=function(a){let b=h().join(a,"INSTRUCTION.md"),c=h().join(a,"README.md");return{instructionLines:n(b,3),readmeLines:n(c,3),isTemplate:o(b)&&o(c)}}(d)),g.push(e)}}else if(c.isFile()){let a=h().extname(c.name).toLowerCase();v.has(a)&&g.push({name:c.name,path:f,type:"file",extension:a})}}return g.sort((a,b)=>a.type!==b.type?"directory"===a.type?-1:1:a.name.localeCompare(b.name)),g}(a),c=[],function a(b){for(let d of b)"file"===d.type?c.push(d.path):d.children&&a(d.children)}(b),w={tree:b,allFiles:c,timestamp:Date.now()},z||function(){let a;if(!z){try{a=l()}catch{return}try{(z=f().watch(a,{recursive:!0},(a,b)=>{!b||b.startsWith(".git")||b.includes("node_modules")||b.includes(".next")||(A&&clearTimeout(A),A=setTimeout(()=>{w=null,A=null},500))})).on("error",()=>{A&&(clearTimeout(A),A=null),z&&(z.close(),z=null)})}catch{z=null}}}(),w)).allFiles}function q(a,b=""){(0,i.x3)(l(),a,b),w=null,x++,(0,i.As)(l(),a),y.isBuilt()&&y.updateFile(l(),a)}function r(a,b){let c=(0,i.H5)(l(),a,b);return m(),c}function s(a,b){let c=(0,i.OV)(l(),a,b);return m(),c}function t(a){(0,i.rt)(l(),a),m()}d()}catch(a){d(a)}})},61374:(a,b,c)=>{c.d(b,{gG:()=>d});function d(a){if(!a||"object"!=typeof a||Array.isArray(a))return;let b={},c=!1;for(let[d,e]of Object.entries(a)){if(!e||"object"!=typeof e||Array.isArray(e))continue;let a={};if("string"==typeof e.command&&e.command.trim()&&(a.command=e.command.trim()),Array.isArray(e.args)&&(a.args=e.args.filter(a=>"string"==typeof a)),e.env&&"object"==typeof e.env&&!Array.isArray(e.env)){let b={};for(let[a,c]of Object.entries(e.env))"string"==typeof c&&(b[a]=c);Object.keys(b).length>0&&(a.env=b)}"boolean"==typeof e.enabled&&(a.enabled=e.enabled),Object.keys(a).length>0&&(b[d]=a,c=!0)}return c?b:void 0}},85224:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{Ar:()=>v,Bn:()=>E,Dg:()=>B,EG:()=>C,FZ:()=>A,GB:()=>H,NN:()=>F,VO:()=>D,X3:()=>r,Ye:()=>y,bC:()=>G,f:()=>t,iJ:()=>s,jW:()=>u,ku:()=>x,pG:()=>w,pX:()=>z});var e=c(95349),f=c(29021),g=c.n(f),h=c(33873),i=c.n(h),j=c(53134),k=c(16081),l=c(15872),m=c(1160),n=c(42650),o=c(27114),p=c(89337),q=a([j]);async function r(a,b){try{let c=b.trim();if(!c)return{success:!1,error:"File name is required"};let d=c.endsWith(".md")||c.endsWith(".csv")?c:`${c}.md`,e=a?`${a}/${d}`:d;return(0,j.x3)(e),(0,n.revalidatePath)("/","layout"),{success:!0,filePath:e}}catch(a){return{success:!1,error:a instanceof Error?a.message:"Failed to create file"}}}async function s(a){try{let b=i().posix.basename(a);if(!a.includes("/")&&o.A.has(b))return{success:!1,error:`"${b}" is protected and cannot be deleted`};let c=(0,k.F0)((0,j.JX)(),a);return(0,j.gm)(),(0,n.revalidatePath)("/","layout"),{success:!0,trashId:c.id}}catch(a){return{success:!1,error:a instanceof Error?a.message:"Failed to delete file"}}}async function t(a,b){try{let c=(0,j.H5)(a,b);return(0,n.revalidatePath)("/","layout"),{success:!0,newPath:c}}catch(a){return{success:!1,error:a instanceof Error?a.message:"Failed to rename file"}}}async function u(a){try{return(0,j.rt)(a),(0,n.revalidatePath)("/","layout"),{success:!0}}catch(a){return{success:!1,error:a instanceof Error?a.message:"Failed to convert to space"}}}async function v(a){try{let b=(0,k.F0)((0,j.JX)(),a);return(0,j.gm)(),(0,n.revalidatePath)("/","layout"),{success:!0,trashId:b.id}}catch(a){return{success:!1,error:a instanceof Error?a.message:"Failed to delete folder"}}}async function w(a,b){try{let c=(0,j.Jh)(a,b);return(0,n.revalidatePath)("/","layout"),{success:!0,newPath:c}}catch(a){return{success:!1,error:a instanceof Error?a.message:"Failed to rename space"}}}async function x(a){try{let b=(0,k.F0)((0,j.JX)(),a);return(0,j.gm)(),(0,n.revalidatePath)("/","layout"),{success:!0,trashId:b.id}}catch(a){return{success:!1,error:a instanceof Error?a.message:"Failed to delete space"}}}async function y(a){try{return(0,k.Lr)((0,j.JX)(),a,!1),(0,j.gm)(),(0,n.revalidatePath)("/","layout"),{success:!0}}catch(a){return{success:!1,error:a instanceof Error?a.message:"Undo failed"}}}async function z(a,b,c=""){try{let{path:d}=(0,l._)((0,j.JX)(),a,b,c);return(0,j.gm)(),(0,n.revalidatePath)("/","layout"),{success:!0,path:d}}catch(b){let a=b instanceof Error?b.message:"Failed to create space";if(a.includes("already exists"))return{success:!1,error:"A space with this name already exists"};return{success:!1,error:a}}}async function A(a,b,c){try{let d=(0,j.JX)(),e=i().resolve(d,a);if(!e.startsWith(d))return{success:!1,error:"Invalid path"};let f=i().join(e,"README.md"),h=i().join(e,"INSTRUCTION.md"),k=(0,l.c)(a,b,c);g().writeFileSync(f,k,"utf-8");let o=(0,m.e1)(b);return g().writeFileSync(h,(0,m.GL)(o),"utf-8"),(0,j.gm)(),(0,n.revalidatePath)("/","layout"),{success:!0}}catch(a){return{success:!1,error:a instanceof Error?a.message:"Failed to revert"}}}async function B(){return{files:(0,j.f)().filter(a=>i().basename(a).startsWith("\uD83E\uDDEA_example_"))}}async function C(){try{let{files:a}=await B();if(0===a.length)return{success:!0,deleted:0};let b=(0,j.JX)();for(let c of a){let a=i().resolve(b,c);a.startsWith(b)&&g().existsSync(a)&&g().unlinkSync(a)}for(let c of[...new Set(a.map(a=>i().dirname(i().resolve(b,a))))].sort((a,b)=>b.length-a.length))try{if(c.startsWith(b)&&c!==b){let a=g().readdirSync(c);0===a.length&&g().rmdirSync(c)}}catch{}return(0,j.gm)(),(0,n.revalidatePath)("/","layout"),{success:!0,deleted:a.length}}catch(a){return{success:!1,deleted:0,error:a instanceof Error?a.message:"Failed to cleanup"}}}async function D(a){let b=(0,j.f)(),c=a.endsWith("/")?a:a+"/";return b.filter(a=>a.startsWith(c))}async function E(){return(0,k.JI)((0,j.JX)()),(0,k.hQ)((0,j.JX)())}async function F(a,b="restore"){try{let c,d=(0,j.JX)();return c="copy"===b?(0,k.kz)(d,a):(0,k.Lr)(d,a,"overwrite"===b),(0,j.gm)(),(0,n.revalidatePath)("/","layout"),{success:!0,restoredPath:c.restoredPath}}catch(a){if("RESTORE_CONFLICT"===a.code)return{success:!1,error:a.message,conflict:!0};return{success:!1,error:a.message??"Failed to restore"}}}async function G(a){try{return(0,k.vn)((0,j.JX)(),a),{success:!0}}catch(a){return{success:!1,error:a instanceof Error?a.message:"Failed to delete"}}}async function H(){try{let a=(0,k.YN)((0,j.JX)());return{success:!0,count:a}}catch(a){return{success:!1,error:a instanceof Error?a.message:"Failed to empty trash"}}}j=(q.then?(await q)():q)[0],(0,p.D)([r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H]),(0,e.A)(r,"60f093929b292b0e99d1ca300f9b459bbb5ab3ee38",null),(0,e.A)(s,"401827faa79099b932fea1497fa6c5076661d3aca5",null),(0,e.A)(t,"6041123e45c0f3e85a6c4fb98591189f8aea9d7411",null),(0,e.A)(u,"407a3c58de4b873b387b48239e9a40c9db22f3ceb3",null),(0,e.A)(v,"40d7eaa7ca10a7a42ca1d049344440272eb299f08c",null),(0,e.A)(w,"60722b873de5073d43851eb64af8b0bf091a9bda25",null),(0,e.A)(x,"409ea4c7f75a9049d20acaa7f3744b95d3a47f7097",null),(0,e.A)(y,"408d644a6a17f7e5b041e10d55e5e80a3a380b7576",null),(0,e.A)(z,"709fbd902325c16efac24ceca4de585b4082925b56",null),(0,e.A)(A,"70ea82abb01efa4f7068be8b5a67c94a0a188164fe",null),(0,e.A)(B,"00812933c664279789e716f0ee44fb574f758ec098",null),(0,e.A)(C,"000c0c622b89debda50eaafd01e5f8fc624e585ded",null),(0,e.A)(D,"4061f3af00b60d80dbd7328d6f73236e63064a975a",null),(0,e.A)(E,"008c1c5923370efb5fe667bb0601ca4338b613534b",null),(0,e.A)(F,"6086e346ed22805956bfafe8f97ef05a9f8c26cf67",null),(0,e.A)(G,"40301015ab488a45157b81f65327e73e43f29000ea",null),(0,e.A)(H,"000b135659269552286a66f8a627ac5e43778db64a",null),d()}catch(a){d(a)}})},89531:(a,b,c)=>{c.d(b,{b:()=>i});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(79646);function i(a){try{let b=process.env.MINDOS_PROJECT_ROOT?g().join(process.env.MINDOS_PROJECT_ROOT,"app"):g().resolve(process.cwd()),c=g().join(b,"scripts","extract-pdf.cjs");if(!e().existsSync(c))return"";let d=(0,h.execFileSync)("node",[c,a],{encoding:"utf-8",timeout:15e3,maxBuffer:5242880});return JSON.parse(d).text||""}catch{return""}}},99863:(a,b,c)=>{c.d(b,{cP:()=>g,eX:()=>h});var d=c(33873),e=c.n(d),f=c(20018);function g(a,b){if(!a.startsWith(b+e().sep)&&a!==b)throw new f.Vt(f.tG.PATH_OUTSIDE_ROOT,"Access denied: path outside MIND_ROOT",{resolved:a,root:b})}function h(a,b){let c=e().resolve(a),d=e().resolve(e().join(c,b));return g(d,c),d}}};
@@ -1,4 +1,4 @@
1
- "use strict";exports.id=2190,exports.ids=[2190],exports.modules={108:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return function a(b){if((0,g.isNextRouterError)(b)||(0,f.isBailoutToCSRError)(b)||(0,i.isDynamicServerError)(b)||(0,h.isDynamicPostpone)(b)||(0,e.isPostpone)(b)||(0,d.isHangingPromiseRejectionError)(b)||(0,h.isPrerenderInterruptedError)(b))throw b;b instanceof Error&&"cause"in b&&a(b.cause)}}});let d=c(48894),e=c(64491),f=c(62880),g=c(76484),h=c(23445),i=c(43449);("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},1353:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(47408).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"}]])},6826:(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.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)}},10381:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return d}});class c extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class d extends URLSearchParams{append(){throw new c}delete(){throw new c}set(){throw new c}sort(){throw new c}}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},26709:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(47408).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"}]])},32171:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});var d={getRedirectError:function(){return i},getRedirectStatusCodeFromError:function(){return n},getRedirectTypeFromError:function(){return m},getURLFromRedirectError:function(){return l},permanentRedirect:function(){return k},redirect:function(){return j}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(81494),g=c(52220),h=c(19121).actionAsyncStorage;function i(a,b,c=f.RedirectStatusCode.TemporaryRedirect){let d=Object.defineProperty(Error(g.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return d.digest=`${g.REDIRECT_ERROR_CODE};${b};${a};${c};`,d}function j(a,b){throw i(a,b??=h?.getStore()?.isAction?g.RedirectType.push:g.RedirectType.replace,f.RedirectStatusCode.TemporaryRedirect)}function k(a,b=g.RedirectType.replace){throw i(a,b,f.RedirectStatusCode.PermanentRedirect)}function l(a){return(0,g.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function m(a){if(!(0,g.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return a.digest.split(";",2)[1]}function n(a){if(!(0,g.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(a.digest.split(";").at(-2))}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},37637:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(47408).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"}]])},43017:(a,b,c)=>{c.d(b,{A:()=>A});var d=c(48249),e=c(67484),f=c(10316),g=c(26709),h=c(80600),i=c(13799),j=c(35654),k=c(95801),l=c(46674),m=c(24520),n=c(15273),o=c(40560),p=c(44218);let q=(0,c(47408).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(59347),s=c(95054),t=c(39868),u=c(99101),v=c(81285),w=c(57733),x=c(6826);let y={research:f.A,coding:g.A,docs:h.A,ops:i.A,memory:j.A};function z({text:a,className:b=""}){let c=(0,e.useMemo)(()=>{let b;return(b=(b=a.replace(/```(\w*)\n([\s\S]*?)```/g,(a,b,c)=>`<pre><code>${c.trimEnd().replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}</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=2190,exports.ids=[2190],exports.modules={108:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return function a(b){if((0,g.isNextRouterError)(b)||(0,f.isBailoutToCSRError)(b)||(0,i.isDynamicServerError)(b)||(0,h.isDynamicPostpone)(b)||(0,e.isPostpone)(b)||(0,d.isHangingPromiseRejectionError)(b)||(0,h.isPrerenderInterruptedError)(b))throw b;b instanceof Error&&"cause"in b&&a(b.cause)}}});let d=c(48894),e=c(64491),f=c(62880),g=c(76484),h=c(23445),i=c(43449);("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},1353:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(47408).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"}]])},6826:(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)}},10381:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return d}});class c extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class d extends URLSearchParams{append(){throw new c}delete(){throw new c}set(){throw new c}sort(){throw new c}}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},26709:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(47408).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"}]])},32171:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});var d={getRedirectError:function(){return i},getRedirectStatusCodeFromError:function(){return n},getRedirectTypeFromError:function(){return m},getURLFromRedirectError:function(){return l},permanentRedirect:function(){return k},redirect:function(){return j}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(81494),g=c(52220),h=c(19121).actionAsyncStorage;function i(a,b,c=f.RedirectStatusCode.TemporaryRedirect){let d=Object.defineProperty(Error(g.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return d.digest=`${g.REDIRECT_ERROR_CODE};${b};${a};${c};`,d}function j(a,b){throw i(a,b??=h?.getStore()?.isAction?g.RedirectType.push:g.RedirectType.replace,f.RedirectStatusCode.TemporaryRedirect)}function k(a,b=g.RedirectType.replace){throw i(a,b,f.RedirectStatusCode.PermanentRedirect)}function l(a){return(0,g.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function m(a){if(!(0,g.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return a.digest.split(";",2)[1]}function n(a){if(!(0,g.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(a.digest.split(";").at(-2))}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},37637:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(47408).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"}]])},43017:(a,b,c)=>{c.d(b,{A:()=>A});var d=c(48249),e=c(67484),f=c(10316),g=c(26709),h=c(80600),i=c(13799),j=c(35654),k=c(95801),l=c(46674),m=c(24520),n=c(15273),o=c(40560),p=c(44218);let q=(0,c(47408).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(59347),s=c(95054),t=c(39868),u=c(99101),v=c(81285),w=c(57733),x=c(6826);let y={research:f.A,coding:g.A,docs:h.A,ops:i.A,memory:j.A};function z({text:a,className:b=""}){let c=(0,e.useMemo)(()=>{let b;return(b=(b=a.replace(/```(\w*)\n([\s\S]*?)```/g,(a,b,c)=>`<pre><code>${c.trimEnd().replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}</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 A({open:a,skillName:b,skill:c,agentNames:f=[],allAgentNames:g=[],isNative:h=!1,nativeSourcePath:i,copy:j,onClose:A,onToggle:D,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&&D){Z(!0);try{await D(b,a)}finally{Z(!1)}}},[b,D]),af=(0,e.useCallback)(async()=>{if(b&&E){T(!1),V(!0);try{await E(b),X(j.deleted),await F?.(),setTimeout(()=>A(),800)}catch{X(j.deleteFailed),V(!1)}}},[b,E,F,A,j.deleted,j.deleteFailed]);if(!a||!b)return null;let ag=c?(0,x.yQ)(`${c.name} ${c.description}`):(0,x.yQ)(b),ah=y[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:A,"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:A,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)(B,{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)(C,{label:j.enabled,value:c.enabled?"✓":"—",tone:c.enabled?"ok":"muted"}),(0,d.jsx)(C,{label:j.capability,value:ag}),(0,d.jsx)(C,{label:j.source,value:aj}),(0,d.jsx)(C,{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)(B,{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)(w.lx,{name:a,size:"sm",onRemove:H?()=>H(b,a):void 0},a))}):(0,d.jsx)("div",{className:"rounded-lg border border-dashed border-border 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)(B,{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)(z,{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)(B,{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:[D&&(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)(w.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 B({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 C({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})]})}},44057:(a,b,c)=>{function d(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unauthorized",{enumerable:!0,get:function(){return d}}),c(7638).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},52283:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"notFound",{enumerable:!0,get:function(){return f}});let d=c(7638),e=`${d.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function f(){let a=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw a.digest=e,a}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},66610:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});var d={ReadonlyURLSearchParams:function(){return f.ReadonlyURLSearchParams},RedirectType:function(){return h.RedirectType},forbidden:function(){return j.forbidden},notFound:function(){return i.notFound},permanentRedirect:function(){return g.permanentRedirect},redirect:function(){return g.redirect},unauthorized:function(){return k.unauthorized},unstable_isUnrecognizedActionError:function(){return m},unstable_rethrow:function(){return l.unstable_rethrow}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(10381),g=c(32171),h=c(52220),i=c(52283),j=c(92606),k=c(44057),l=c(98621);function m(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},91970:(a,b,c)=>{var d=c(66610);c.o(d,"notFound")&&c.d(b,{notFound:function(){return d.notFound}}),c.o(d,"redirect")&&c.d(b,{redirect:function(){return d.redirect}})},92606:(a,b,c)=>{function d(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"forbidden",{enumerable:!0,get:function(){return d}}),c(7638).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},98621:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return d}});let d=c(108).unstable_rethrow;("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)}};
11
+ ${b}`,dangerouslySetInnerHTML:{__html:c}})}function A({open:a,skillName:b,skill:c,agentNames:f=[],allAgentNames:g=[],isNative:h=!1,nativeSourcePath:i,copy:j,onClose:A,onToggle:D,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&&D){Z(!0);try{await D(b,a)}finally{Z(!1)}}},[b,D]),af=(0,e.useCallback)(async()=>{if(b&&E){T(!1),V(!0);try{await E(b),X(j.deleted),await F?.(),setTimeout(()=>A(),800)}catch{X(j.deleteFailed),V(!1)}}},[b,E,F,A,j.deleted,j.deleteFailed]);if(!a||!b)return null;let ag=c?(0,x.yQ)(`${c.name} ${c.description}`):(0,x.yQ)(b),ah=y[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:A,"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:A,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)(B,{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)(C,{label:j.enabled,value:c.enabled?"✓":"—",tone:c.enabled?"ok":"muted"}),(0,d.jsx)(C,{label:j.capability,value:ag}),(0,d.jsx)(C,{label:j.source,value:aj}),(0,d.jsx)(C,{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)(B,{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)(w.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)(B,{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)(z,{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)(B,{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:[D&&(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)(w.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 B({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 C({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})]})}},44057:(a,b,c)=>{function d(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unauthorized",{enumerable:!0,get:function(){return d}}),c(7638).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},52283:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"notFound",{enumerable:!0,get:function(){return f}});let d=c(7638),e=`${d.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function f(){let a=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw a.digest=e,a}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},66610:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});var d={ReadonlyURLSearchParams:function(){return f.ReadonlyURLSearchParams},RedirectType:function(){return h.RedirectType},forbidden:function(){return j.forbidden},notFound:function(){return i.notFound},permanentRedirect:function(){return g.permanentRedirect},redirect:function(){return g.redirect},unauthorized:function(){return k.unauthorized},unstable_isUnrecognizedActionError:function(){return m},unstable_rethrow:function(){return l.unstable_rethrow}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(10381),g=c(32171),h=c(52220),i=c(52283),j=c(92606),k=c(44057),l=c(98621);function m(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},91970:(a,b,c)=>{var d=c(66610);c.o(d,"notFound")&&c.d(b,{notFound:function(){return d.notFound}}),c.o(d,"redirect")&&c.d(b,{redirect:function(){return d.redirect}})},92606:(a,b,c)=>{function d(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"forbidden",{enumerable:!0,get:function(){return d}}),c(7638).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},98621:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return d}});let d=c(108).unstable_rethrow;("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)}};