@geminilight/mindos-windows-arm64 1.0.9 → 1.0.10

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 (283) hide show
  1. package/_standalone/.mindos-build-version +1 -1
  2. package/_standalone/__next/BUILD_ID +1 -1
  3. package/_standalone/__next/app-path-routes-manifest.json +22 -22
  4. package/_standalone/__next/build-manifest.json +3 -3
  5. package/_standalone/__next/prerender-manifest.json +3 -3
  6. package/_standalone/__next/react-loadable-manifest.json +13 -7
  7. package/_standalone/__next/server/app/.well-known/agent-card.json/route_client-reference-manifest.js +1 -1
  8. package/_standalone/__next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  9. package/_standalone/__next/server/app/_global-error.html +2 -2
  10. package/_standalone/__next/server/app/_global-error.rsc +1 -1
  11. package/_standalone/__next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  12. package/_standalone/__next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  13. package/_standalone/__next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  14. package/_standalone/__next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  15. package/_standalone/__next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  16. package/_standalone/__next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  17. package/_standalone/__next/server/app/_not-found/page.js +1 -1
  18. package/_standalone/__next/server/app/_not-found/page.js.nft.json +1 -1
  19. package/_standalone/__next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  20. package/_standalone/__next/server/app/agents/[agentKey]/page.js +1 -1
  21. package/_standalone/__next/server/app/agents/[agentKey]/page.js.nft.json +1 -1
  22. package/_standalone/__next/server/app/agents/[agentKey]/page_client-reference-manifest.js +1 -1
  23. package/_standalone/__next/server/app/agents/page.js +1 -1
  24. package/_standalone/__next/server/app/agents/page.js.nft.json +1 -1
  25. package/_standalone/__next/server/app/agents/page_client-reference-manifest.js +1 -1
  26. package/_standalone/__next/server/app/api/a2a/agents/route_client-reference-manifest.js +1 -1
  27. package/_standalone/__next/server/app/api/a2a/delegations/route_client-reference-manifest.js +1 -1
  28. package/_standalone/__next/server/app/api/a2a/discover/route_client-reference-manifest.js +1 -1
  29. package/_standalone/__next/server/app/api/a2a/route_client-reference-manifest.js +1 -1
  30. package/_standalone/__next/server/app/api/acp/config/route_client-reference-manifest.js +1 -1
  31. package/_standalone/__next/server/app/api/acp/detect/route_client-reference-manifest.js +1 -1
  32. package/_standalone/__next/server/app/api/acp/install/route_client-reference-manifest.js +1 -1
  33. package/_standalone/__next/server/app/api/acp/registry/route_client-reference-manifest.js +1 -1
  34. package/_standalone/__next/server/app/api/acp/session/route_client-reference-manifest.js +1 -1
  35. package/_standalone/__next/server/app/api/agent-activity/route_client-reference-manifest.js +1 -1
  36. package/_standalone/__next/server/app/api/agents/copy-skill/route_client-reference-manifest.js +1 -1
  37. package/_standalone/__next/server/app/api/agents/custom/detect/route_client-reference-manifest.js +1 -1
  38. package/_standalone/__next/server/app/api/agents/custom/route_client-reference-manifest.js +1 -1
  39. package/_standalone/__next/server/app/api/ask/route.js +4 -4
  40. package/_standalone/__next/server/app/api/ask/route_client-reference-manifest.js +1 -1
  41. package/_standalone/__next/server/app/api/ask-sessions/route_client-reference-manifest.js +1 -1
  42. package/_standalone/__next/server/app/api/auth/route_client-reference-manifest.js +1 -1
  43. package/_standalone/__next/server/app/api/backlinks/route_client-reference-manifest.js +1 -1
  44. package/_standalone/__next/server/app/api/bootstrap/route_client-reference-manifest.js +1 -1
  45. package/_standalone/__next/server/app/api/changes/route_client-reference-manifest.js +1 -1
  46. package/_standalone/__next/server/app/api/channels/verify/route_client-reference-manifest.js +1 -1
  47. package/_standalone/__next/server/app/api/connect/route_client-reference-manifest.js +1 -1
  48. package/_standalone/__next/server/app/api/embedding/route_client-reference-manifest.js +1 -1
  49. package/_standalone/__next/server/app/api/export/route_client-reference-manifest.js +1 -1
  50. package/_standalone/__next/server/app/api/extract-docx/route_client-reference-manifest.js +1 -1
  51. package/_standalone/__next/server/app/api/extract-pdf/route_client-reference-manifest.js +1 -1
  52. package/_standalone/__next/server/app/api/file/import/route_client-reference-manifest.js +1 -1
  53. package/_standalone/__next/server/app/api/file/raw/route_client-reference-manifest.js +1 -1
  54. package/_standalone/__next/server/app/api/file/route_client-reference-manifest.js +1 -1
  55. package/_standalone/__next/server/app/api/files/route_client-reference-manifest.js +1 -1
  56. package/_standalone/__next/server/app/api/git/route_client-reference-manifest.js +1 -1
  57. package/_standalone/__next/server/app/api/graph/route_client-reference-manifest.js +1 -1
  58. package/_standalone/__next/server/app/api/health/route_client-reference-manifest.js +1 -1
  59. package/_standalone/__next/server/app/api/im/activity/route_client-reference-manifest.js +1 -1
  60. package/_standalone/__next/server/app/api/im/config/route_client-reference-manifest.js +1 -1
  61. package/_standalone/__next/server/app/api/im/feishu/long-connection/event/route_client-reference-manifest.js +1 -1
  62. package/_standalone/__next/server/app/api/im/feishu/long-connection/route_client-reference-manifest.js +1 -1
  63. package/_standalone/__next/server/app/api/im/status/route_client-reference-manifest.js +1 -1
  64. package/_standalone/__next/server/app/api/im/test/route_client-reference-manifest.js +1 -1
  65. package/_standalone/__next/server/app/api/im/webhook/feishu/route_client-reference-manifest.js +1 -1
  66. package/_standalone/__next/server/app/api/im/webhook-status/route_client-reference-manifest.js +1 -1
  67. package/_standalone/__next/server/app/api/inbox/clip/route_client-reference-manifest.js +1 -1
  68. package/_standalone/__next/server/app/api/inbox/route_client-reference-manifest.js +1 -1
  69. package/_standalone/__next/server/app/api/init/route_client-reference-manifest.js +1 -1
  70. package/_standalone/__next/server/app/api/lint/route_client-reference-manifest.js +1 -1
  71. package/_standalone/__next/server/app/api/mcp/agents/route_client-reference-manifest.js +1 -1
  72. package/_standalone/__next/server/app/api/mcp/direct-tools/route_client-reference-manifest.js +1 -1
  73. package/_standalone/__next/server/app/api/mcp/install/route_client-reference-manifest.js +1 -1
  74. package/_standalone/__next/server/app/api/mcp/install-skill/route_client-reference-manifest.js +1 -1
  75. package/_standalone/__next/server/app/api/mcp/restart/route_client-reference-manifest.js +1 -1
  76. package/_standalone/__next/server/app/api/mcp/status/route_client-reference-manifest.js +1 -1
  77. package/_standalone/__next/server/app/api/mcp/tools/route_client-reference-manifest.js +1 -1
  78. package/_standalone/__next/server/app/api/mcp/uninstall/route_client-reference-manifest.js +1 -1
  79. package/_standalone/__next/server/app/api/monitoring/route_client-reference-manifest.js +1 -1
  80. package/_standalone/__next/server/app/api/obsidian/compat-report/route_client-reference-manifest.js +1 -1
  81. package/_standalone/__next/server/app/api/obsidian/import/route_client-reference-manifest.js +1 -1
  82. package/_standalone/__next/server/app/api/obsidian-plugins/settings/route_client-reference-manifest.js +1 -1
  83. package/_standalone/__next/server/app/api/recent-files/route_client-reference-manifest.js +1 -1
  84. package/_standalone/__next/server/app/api/restart/route_client-reference-manifest.js +1 -1
  85. package/_standalone/__next/server/app/api/search/prewarm/route_client-reference-manifest.js +1 -1
  86. package/_standalone/__next/server/app/api/search/route_client-reference-manifest.js +1 -1
  87. package/_standalone/__next/server/app/api/settings/list-models/route_client-reference-manifest.js +1 -1
  88. package/_standalone/__next/server/app/api/settings/reset-token/route_client-reference-manifest.js +1 -1
  89. package/_standalone/__next/server/app/api/settings/route_client-reference-manifest.js +1 -1
  90. package/_standalone/__next/server/app/api/settings/test-key/route_client-reference-manifest.js +1 -1
  91. package/_standalone/__next/server/app/api/setup/check-path/route_client-reference-manifest.js +1 -1
  92. package/_standalone/__next/server/app/api/setup/check-port/route_client-reference-manifest.js +1 -1
  93. package/_standalone/__next/server/app/api/setup/generate-token/route_client-reference-manifest.js +1 -1
  94. package/_standalone/__next/server/app/api/setup/ls/route_client-reference-manifest.js +1 -1
  95. package/_standalone/__next/server/app/api/setup/route_client-reference-manifest.js +1 -1
  96. package/_standalone/__next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  97. package/_standalone/__next/server/app/api/space-overview/route_client-reference-manifest.js +1 -1
  98. package/_standalone/__next/server/app/api/sync/route_client-reference-manifest.js +1 -1
  99. package/_standalone/__next/server/app/api/tree-version/route_client-reference-manifest.js +1 -1
  100. package/_standalone/__next/server/app/api/uninstall/route_client-reference-manifest.js +1 -1
  101. package/_standalone/__next/server/app/api/update/route_client-reference-manifest.js +1 -1
  102. package/_standalone/__next/server/app/api/update-check/route_client-reference-manifest.js +1 -1
  103. package/_standalone/__next/server/app/api/update-status/route_client-reference-manifest.js +1 -1
  104. package/_standalone/__next/server/app/api/workflows/route_client-reference-manifest.js +1 -1
  105. package/_standalone/__next/server/app/capture/history/page.js +1 -1
  106. package/_standalone/__next/server/app/capture/history/page.js.nft.json +1 -1
  107. package/_standalone/__next/server/app/capture/history/page_client-reference-manifest.js +1 -1
  108. package/_standalone/__next/server/app/capture/page.js +1 -1
  109. package/_standalone/__next/server/app/capture/page.js.nft.json +1 -1
  110. package/_standalone/__next/server/app/capture/page_client-reference-manifest.js +1 -1
  111. package/_standalone/__next/server/app/changelog/page.js +1 -1
  112. package/_standalone/__next/server/app/changelog/page.js.nft.json +1 -1
  113. package/_standalone/__next/server/app/changelog/page_client-reference-manifest.js +1 -1
  114. package/_standalone/__next/server/app/changes/page.js +1 -1
  115. package/_standalone/__next/server/app/changes/page.js.nft.json +1 -1
  116. package/_standalone/__next/server/app/changes/page_client-reference-manifest.js +1 -1
  117. package/_standalone/__next/server/app/echo/[segment]/page.js +1 -1
  118. package/_standalone/__next/server/app/echo/[segment]/page.js.nft.json +1 -1
  119. package/_standalone/__next/server/app/echo/[segment]/page_client-reference-manifest.js +1 -1
  120. package/_standalone/__next/server/app/echo/page.js +1 -1
  121. package/_standalone/__next/server/app/echo/page.js.nft.json +1 -1
  122. package/_standalone/__next/server/app/echo/page_client-reference-manifest.js +1 -1
  123. package/_standalone/__next/server/app/explore/page.js +1 -1
  124. package/_standalone/__next/server/app/explore/page.js.nft.json +1 -1
  125. package/_standalone/__next/server/app/explore/page_client-reference-manifest.js +1 -1
  126. package/_standalone/__next/server/app/help/page.js +1 -1
  127. package/_standalone/__next/server/app/help/page.js.nft.json +1 -1
  128. package/_standalone/__next/server/app/help/page_client-reference-manifest.js +1 -1
  129. package/_standalone/__next/server/app/inbox/history/page.js +1 -1
  130. package/_standalone/__next/server/app/inbox/history/page.js.nft.json +1 -1
  131. package/_standalone/__next/server/app/inbox/history/page_client-reference-manifest.js +1 -1
  132. package/_standalone/__next/server/app/login/page.js +1 -1
  133. package/_standalone/__next/server/app/login/page.js.nft.json +1 -1
  134. package/_standalone/__next/server/app/login/page_client-reference-manifest.js +1 -1
  135. package/_standalone/__next/server/app/page.js +1 -1
  136. package/_standalone/__next/server/app/page.js.nft.json +1 -1
  137. package/_standalone/__next/server/app/page_client-reference-manifest.js +1 -1
  138. package/_standalone/__next/server/app/settings/page.js +2 -2
  139. package/_standalone/__next/server/app/settings/page.js.nft.json +1 -1
  140. package/_standalone/__next/server/app/settings/page_client-reference-manifest.js +1 -1
  141. package/_standalone/__next/server/app/setup/page.js +1 -1
  142. package/_standalone/__next/server/app/setup/page.js.nft.json +1 -1
  143. package/_standalone/__next/server/app/setup/page_client-reference-manifest.js +1 -1
  144. package/_standalone/__next/server/app/todo/page.js +1 -1
  145. package/_standalone/__next/server/app/todo/page.js.nft.json +1 -1
  146. package/_standalone/__next/server/app/todo/page_client-reference-manifest.js +1 -1
  147. package/_standalone/__next/server/app/trash/page.js +3 -3
  148. package/_standalone/__next/server/app/trash/page_client-reference-manifest.js +1 -1
  149. package/_standalone/__next/server/app/view/[...path]/page.js +3 -3
  150. package/_standalone/__next/server/app/view/[...path]/page.js.nft.json +1 -1
  151. package/_standalone/__next/server/app/view/[...path]/page_client-reference-manifest.js +1 -1
  152. package/_standalone/__next/server/app/wiki/page.js +2 -2
  153. package/_standalone/__next/server/app/wiki/page.js.nft.json +1 -1
  154. package/_standalone/__next/server/app/wiki/page_client-reference-manifest.js +1 -1
  155. package/_standalone/__next/server/app-paths-manifest.json +22 -22
  156. package/_standalone/__next/server/chunks/1976.js +1 -1
  157. package/_standalone/__next/server/chunks/{1855.js → 5768.js} +3 -3
  158. package/_standalone/__next/server/chunks/6279.js +1 -0
  159. package/_standalone/__next/server/chunks/6602.js +39 -39
  160. package/_standalone/__next/server/chunks/8461.js +1 -1
  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/pages/500.html +2 -2
  164. package/_standalone/__next/server/server-reference-manifest.js +1 -1
  165. package/_standalone/__next/server/server-reference-manifest.json +1 -1
  166. package/{static-web/_next/static/chunks/525-b830b69e910a03f2.js → _standalone/__next/static/chunks/1023-3a5a295bdb8f036e.js} +1 -1
  167. package/_standalone/__next/static/chunks/1469-a47a8fdf907854b7.js +1 -0
  168. package/_standalone/__next/static/chunks/1471.26592788eb019d91.js +1 -0
  169. package/_standalone/__next/static/chunks/{2073-758ad3659b9d2cfc.js → 2073-85e9695b8754ccd4.js} +4 -4
  170. package/_standalone/__next/static/chunks/2571-f83b7e0b3f478222.js +1 -0
  171. package/_standalone/__next/static/chunks/2762-e6982806b63ccb64.js +1 -0
  172. package/_standalone/__next/static/chunks/3045-a957e615254f5059.js +20 -0
  173. package/_standalone/__next/static/chunks/3288-8f2809685fe349a8.js +1 -0
  174. package/_standalone/__next/static/chunks/3819-665b50f4dc3af9e2.js +1 -0
  175. package/_standalone/__next/static/chunks/{9479-ebd5043c9039f447.js → 3995-efb3b8f34f1a5a8f.js} +8 -15
  176. package/_standalone/__next/static/chunks/4304-ee72ac41d1513389.js +8 -0
  177. package/{static-web/_next/static/chunks/8629.de25b1f455fe4ffa.js → _standalone/__next/static/chunks/5098.096f96bd198d864c.js} +1 -1
  178. package/{static-web/_next/static/chunks/5913.b07379f3c130378c.js → _standalone/__next/static/chunks/5913.0aa553b16c2b0302.js} +1 -1
  179. package/{static-web/_next/static/chunks/3819.42b0ef6a61a01d67.js → _standalone/__next/static/chunks/6200.3f2d00ee8c2e9f9e.js} +1 -1
  180. package/_standalone/__next/static/chunks/6274-f173cb227ad1ef21.js +1 -0
  181. package/_standalone/__next/static/chunks/7904-fadcd92068780b59.js +16 -0
  182. package/_standalone/__next/static/chunks/8132-466a3fea8940c114.js +1 -0
  183. package/_standalone/__next/static/chunks/8924-685d2215bfd7204e.js +14 -0
  184. package/_standalone/__next/static/chunks/9202-9a33f968862439f5.js +1 -0
  185. package/_standalone/__next/static/chunks/{9602.218427fc7b3d6b11.js → 9602.cbfa1195944c2e3d.js} +1 -1
  186. package/_standalone/__next/static/chunks/{9947.81409c5539cd781d.js → 9947.99304c5fc22b4fbe.js} +1 -1
  187. package/_standalone/__next/static/chunks/app/agents/[agentKey]/{page-ef111ea0a3368752.js → page-89e05039dfc56a33.js} +1 -1
  188. package/_standalone/__next/static/chunks/app/agents/{page-aacead0f47cedb0d.js → page-9f4d0c5a3ec17720.js} +1 -1
  189. package/_standalone/__next/static/chunks/app/capture/page-86fc5eabdb1f3f87.js +14 -0
  190. package/{static-web/_next/static/chunks/app/echo/[segment]/page-c5ea40ac04f2dc29.js → _standalone/__next/static/chunks/app/echo/[segment]/page-f0e6a66b3c9d60c0.js} +1 -1
  191. package/{static-web/_next/static/chunks/app/layout-859f69bfc1960d30.js → _standalone/__next/static/chunks/app/layout-1c84d9542b3d194e.js} +15 -15
  192. package/_standalone/__next/static/chunks/app/page-408daa74e14f5f27.js +1 -0
  193. package/_standalone/__next/static/chunks/app/settings/page-5eeea2c7c6dbf1d8.js +1 -0
  194. package/_standalone/__next/static/chunks/app/trash/page-31dba65333b30cc6.js +1 -0
  195. package/_standalone/__next/static/chunks/app/view/[...path]/page-5e9f49ab1b3bc3b2.js +12 -0
  196. package/_standalone/__next/static/chunks/app/wiki/page-d727a6cfe99e38a6.js +14 -0
  197. package/_standalone/__next/static/chunks/webpack-7fb8bc60a549efe2.js +1 -0
  198. package/_standalone/__next/static/css/67a9446950c3630b.css +1 -0
  199. package/assets/images/wechat-qr.png +0 -0
  200. package/dist/session/index.d.ts +1 -0
  201. package/dist/session/index.d.ts.map +1 -1
  202. package/dist/session/index.js +1 -0
  203. package/dist/session/index.js.map +1 -1
  204. package/package.json +1 -1
  205. package/runtime-manifest.json +1 -1
  206. package/static-web/.mindos-build-version +1 -1
  207. package/{_standalone/__next/static/chunks/525-b830b69e910a03f2.js → static-web/_next/static/chunks/1023-3a5a295bdb8f036e.js} +1 -1
  208. package/static-web/_next/static/chunks/1469-a47a8fdf907854b7.js +1 -0
  209. package/static-web/_next/static/chunks/1471.26592788eb019d91.js +1 -0
  210. package/static-web/_next/static/chunks/{2073-758ad3659b9d2cfc.js → 2073-85e9695b8754ccd4.js} +4 -4
  211. package/static-web/_next/static/chunks/2571-f83b7e0b3f478222.js +1 -0
  212. package/static-web/_next/static/chunks/2762-e6982806b63ccb64.js +1 -0
  213. package/static-web/_next/static/chunks/3045-a957e615254f5059.js +20 -0
  214. package/static-web/_next/static/chunks/3288-8f2809685fe349a8.js +1 -0
  215. package/static-web/_next/static/chunks/3819-665b50f4dc3af9e2.js +1 -0
  216. package/static-web/_next/static/chunks/{9479-ebd5043c9039f447.js → 3995-efb3b8f34f1a5a8f.js} +8 -15
  217. package/static-web/_next/static/chunks/4304-ee72ac41d1513389.js +8 -0
  218. package/{_standalone/__next/static/chunks/8629.de25b1f455fe4ffa.js → static-web/_next/static/chunks/5098.096f96bd198d864c.js} +1 -1
  219. package/{_standalone/__next/static/chunks/5913.b07379f3c130378c.js → static-web/_next/static/chunks/5913.0aa553b16c2b0302.js} +1 -1
  220. package/{_standalone/__next/static/chunks/3819.42b0ef6a61a01d67.js → static-web/_next/static/chunks/6200.3f2d00ee8c2e9f9e.js} +1 -1
  221. package/static-web/_next/static/chunks/6274-f173cb227ad1ef21.js +1 -0
  222. package/static-web/_next/static/chunks/7904-fadcd92068780b59.js +16 -0
  223. package/static-web/_next/static/chunks/8132-466a3fea8940c114.js +1 -0
  224. package/static-web/_next/static/chunks/8924-685d2215bfd7204e.js +14 -0
  225. package/static-web/_next/static/chunks/9202-9a33f968862439f5.js +1 -0
  226. package/static-web/_next/static/chunks/{9602.218427fc7b3d6b11.js → 9602.cbfa1195944c2e3d.js} +1 -1
  227. package/static-web/_next/static/chunks/{9947.81409c5539cd781d.js → 9947.99304c5fc22b4fbe.js} +1 -1
  228. package/static-web/_next/static/chunks/app/agents/[agentKey]/{page-ef111ea0a3368752.js → page-89e05039dfc56a33.js} +1 -1
  229. package/static-web/_next/static/chunks/app/agents/{page-aacead0f47cedb0d.js → page-9f4d0c5a3ec17720.js} +1 -1
  230. package/static-web/_next/static/chunks/app/capture/page-86fc5eabdb1f3f87.js +14 -0
  231. package/{_standalone/__next/static/chunks/app/echo/[segment]/page-c5ea40ac04f2dc29.js → static-web/_next/static/chunks/app/echo/[segment]/page-f0e6a66b3c9d60c0.js} +1 -1
  232. package/{_standalone/__next/static/chunks/app/layout-859f69bfc1960d30.js → static-web/_next/static/chunks/app/layout-1c84d9542b3d194e.js} +15 -15
  233. package/static-web/_next/static/chunks/app/page-408daa74e14f5f27.js +1 -0
  234. package/static-web/_next/static/chunks/app/settings/page-5eeea2c7c6dbf1d8.js +1 -0
  235. package/static-web/_next/static/chunks/app/trash/page-31dba65333b30cc6.js +1 -0
  236. package/static-web/_next/static/chunks/app/view/[...path]/page-5e9f49ab1b3bc3b2.js +12 -0
  237. package/static-web/_next/static/chunks/app/wiki/page-d727a6cfe99e38a6.js +14 -0
  238. package/static-web/_next/static/chunks/webpack-7fb8bc60a549efe2.js +1 -0
  239. package/static-web/_next/static/css/67a9446950c3630b.css +1 -0
  240. package/static-web/help/index.html +6 -6
  241. package/static-web/index.html +6 -6
  242. package/static-web/setup/index.html +6 -6
  243. package/static-web/static-web-manifest.json +1 -1
  244. package/static-web/wiki/index.html +8 -8
  245. package/_standalone/__next/server/chunks/6343.js +0 -1
  246. package/_standalone/__next/static/chunks/1104-0822d9349a412b9b.js +0 -16
  247. package/_standalone/__next/static/chunks/1495-4e4ece56ffa8d568.js +0 -1
  248. package/_standalone/__next/static/chunks/2409-244f9b90dceb0c04.js +0 -1
  249. package/_standalone/__next/static/chunks/308-25a235e97ee9bfd4.js +0 -14
  250. package/_standalone/__next/static/chunks/3181-8c6aaeedf700984c.js +0 -33
  251. package/_standalone/__next/static/chunks/3279-b49c25a4f2964b16.js +0 -1
  252. package/_standalone/__next/static/chunks/5026-7fed7ca22272c18f.js +0 -1
  253. package/_standalone/__next/static/chunks/5881-f2bcf9869b07f268.js +0 -1
  254. package/_standalone/__next/static/chunks/7083-00c0b48d2a6b06dd.js +0 -1
  255. package/_standalone/__next/static/chunks/app/capture/page-7f9e43ada77e7ad4.js +0 -1
  256. package/_standalone/__next/static/chunks/app/page-98737d491e89d3e1.js +0 -1
  257. package/_standalone/__next/static/chunks/app/settings/page-36ffdd1a8cc7eb2b.js +0 -1
  258. package/_standalone/__next/static/chunks/app/trash/page-417d4e6dc8cd8d9b.js +0 -1
  259. package/_standalone/__next/static/chunks/app/view/[...path]/page-3b0976dc13f3c49a.js +0 -12
  260. package/_standalone/__next/static/chunks/app/wiki/page-53dfa7d9fd1a0080.js +0 -14
  261. package/_standalone/__next/static/chunks/webpack-e80a45ffc99584ae.js +0 -1
  262. package/_standalone/__next/static/css/db8559f3a861a510.css +0 -1
  263. package/static-web/_next/static/chunks/1104-0822d9349a412b9b.js +0 -16
  264. package/static-web/_next/static/chunks/1495-4e4ece56ffa8d568.js +0 -1
  265. package/static-web/_next/static/chunks/2409-244f9b90dceb0c04.js +0 -1
  266. package/static-web/_next/static/chunks/308-25a235e97ee9bfd4.js +0 -14
  267. package/static-web/_next/static/chunks/3181-8c6aaeedf700984c.js +0 -33
  268. package/static-web/_next/static/chunks/3279-b49c25a4f2964b16.js +0 -1
  269. package/static-web/_next/static/chunks/5026-7fed7ca22272c18f.js +0 -1
  270. package/static-web/_next/static/chunks/5881-f2bcf9869b07f268.js +0 -1
  271. package/static-web/_next/static/chunks/7083-00c0b48d2a6b06dd.js +0 -1
  272. package/static-web/_next/static/chunks/app/capture/page-7f9e43ada77e7ad4.js +0 -1
  273. package/static-web/_next/static/chunks/app/page-98737d491e89d3e1.js +0 -1
  274. package/static-web/_next/static/chunks/app/settings/page-36ffdd1a8cc7eb2b.js +0 -1
  275. package/static-web/_next/static/chunks/app/trash/page-417d4e6dc8cd8d9b.js +0 -1
  276. package/static-web/_next/static/chunks/app/view/[...path]/page-3b0976dc13f3c49a.js +0 -12
  277. package/static-web/_next/static/chunks/app/wiki/page-53dfa7d9fd1a0080.js +0 -14
  278. package/static-web/_next/static/chunks/webpack-e80a45ffc99584ae.js +0 -1
  279. package/static-web/_next/static/css/db8559f3a861a510.css +0 -1
  280. /package/_standalone/__next/static/{nrLECSDKmE4psF72Jmkoa → QRVhXGG4IotxFfmor1t55}/_buildManifest.js +0 -0
  281. /package/_standalone/__next/static/{nrLECSDKmE4psF72Jmkoa → QRVhXGG4IotxFfmor1t55}/_ssgManifest.js +0 -0
  282. /package/static-web/_next/static/{nrLECSDKmE4psF72Jmkoa → QRVhXGG4IotxFfmor1t55}/_buildManifest.js +0 -0
  283. /package/static-web/_next/static/{nrLECSDKmE4psF72Jmkoa → QRVhXGG4IotxFfmor1t55}/_ssgManifest.js +0 -0
@@ -1,12 +1,12 @@
1
- <!DOCTYPE html><html lang="en" style="background-color:#f8f6f1;color:#1c1a17"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/><link rel="stylesheet" href="/_next/static/css/db8559f3a861a510.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/599369d853c61df7.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-e80a45ffc99584ae.js"/><script src="/_next/static/chunks/bf0c1d5b-a40904205f332b1b.js" async=""></script><script src="/_next/static/chunks/2330-3ba4770e88bc8707.js" async=""></script><script src="/_next/static/chunks/main-app-23adfdc06470abb6.js" async=""></script><script src="/_next/static/chunks/3940-5473abef004ec592.js" async=""></script><script src="/_next/static/chunks/2130-8604144349838fa9.js" async=""></script><script src="/_next/static/chunks/7355-4510296488659369.js" async=""></script><script src="/_next/static/chunks/2073-758ad3659b9d2cfc.js" async=""></script><script src="/_next/static/chunks/app/wiki/page-53dfa7d9fd1a0080.js" async=""></script><script src="/_next/static/chunks/app/global-error-d42727c6c6c48879.js" async=""></script><script src="/_next/static/chunks/505c7712-0c24a53e04230ea7.js" async=""></script><script src="/_next/static/chunks/325a3484-c4849768e3512277.js" async=""></script><script src="/_next/static/chunks/8225-4655c2b7b7e84b86.js" async=""></script><script src="/_next/static/chunks/7156-9bff361e032a7906.js" async=""></script><script src="/_next/static/chunks/7368-36239cc62a8bcd45.js" async=""></script><script src="/_next/static/chunks/2409-244f9b90dceb0c04.js" async=""></script><script src="/_next/static/chunks/878-dcbd588adc2102fa.js" async=""></script><script src="/_next/static/chunks/5881-f2bcf9869b07f268.js" async=""></script><script src="/_next/static/chunks/7083-00c0b48d2a6b06dd.js" async=""></script><script src="/_next/static/chunks/1495-4e4ece56ffa8d568.js" async=""></script><script src="/_next/static/chunks/5152-87e6ed56dfd7d17d.js" async=""></script><script src="/_next/static/chunks/5191-88914df1c15c22e6.js" async=""></script><script src="/_next/static/chunks/5026-7fed7ca22272c18f.js" async=""></script><script src="/_next/static/chunks/9479-ebd5043c9039f447.js" async=""></script><script src="/_next/static/chunks/3181-8c6aaeedf700984c.js" async=""></script><script src="/_next/static/chunks/763-10e7ea1774f0970d.js" async=""></script><script src="/_next/static/chunks/2669-60014e0cb3a45fce.js" async=""></script><script src="/_next/static/chunks/app/layout-859f69bfc1960d30.js" async=""></script><script src="/_next/static/chunks/app/error-c46d1b03d5e3289c.js" async=""></script><meta name="theme-color" content="#c8873a"/><title>MindOS</title><meta name="description" content="Personal knowledge base"/><link rel="manifest" href="/manifest.json"/><meta name="mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/><link rel="icon" href="/logo-square.svg"/><link rel="apple-touch-icon" href="/icons/icon-192.png"/><script>(function(){if(typeof Node!=='undefined'){var o=Node.prototype.removeChild;Node.prototype.removeChild=function(c){if(c.parentNode!==this){try{return o.call(c.parentNode,c)}catch(e){return c}}return o.call(this,c)};var i=Node.prototype.insertBefore;Node.prototype.insertBefore=function(n,r){if(r&&r.parentNode!==this){try{return i.call(r.parentNode,n,r)}catch(e){return i.call(this,n,null)}}return i.call(this,n,r)}}})();</script><script>(function(){try{if(/electron/i.test(navigator.userAgent)&&/macintosh/i.test(navigator.userAgent)){document.documentElement.setAttribute('data-electron-mac','')}}catch(e){}})();</script><script>(function(){try{var s=localStorage.getItem('theme');var dark=s&&s!=='system'?s==='dark':window.matchMedia('(prefers-color-scheme: dark)').matches;document.documentElement.classList.toggle('dark',dark);document.documentElement.style.backgroundColor=dark?'#131210':'#f8f6f1';document.documentElement.style.color=dark?'#e8e4dc':'#1c1a17';var cw=localStorage.getItem('content-width');if(cw)document.documentElement.style.setProperty('--content-width-override',cw);var pf=localStorage.getItem('prose-font');if(!pf){pf='inter';localStorage.setItem('prose-font','inter')}if(pf==='geist'){pf='inter';localStorage.setItem('prose-font','inter')}var fm={lora:'"Lora", Georgia, serif','ibm-plex-sans':'"IBM Plex Sans", sans-serif',inter:'var(--font-inter), sans-serif','ibm-plex-mono':'"IBM Plex Mono", monospace'};if(pf&&fm[pf])document.documentElement.style.setProperty('--prose-font-override',fm[pf]);var loc=localStorage.getItem('locale')||'system';var rl=loc==='system'?(navigator.language.startsWith('zh')?'zh':'en'):loc;window.__mindos_locale__=rl;document.documentElement.lang=rl==='zh'?'zh':'en';document.cookie='locale='+rl+';path=/;max-age=31536000;SameSite=Lax'}catch(e){}})();</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="antialiased bg-background text-foreground"><div hidden=""><!--$--><!--/$--></div><a href="#main-content" class="sr-only focus-visible:not-sr-only focus-visible:fixed focus-visible:top-2 focus-visible:left-2 focus-visible:z-[60] focus-visible:px-4 focus-visible:py-2 focus-visible:rounded-lg focus-visible:text-sm focus-visible:font-medium bg-[var(--amber)] text-[var(--amber-foreground)]">Skip to main content</a><aside class="group hidden md:flex fixed top-0 left-0 h-screen z-[31] flex-col bg-background border-r border-border transition-[width] duration-200 ease-out" style="width:48px" role="toolbar" aria-label="Navigation" aria-orientation="vertical"><div class="flex flex-col h-full w-full overflow-hidden"><button type="button" class="flex items-center justify-center w-full h-[46px] shrink-0 transition-opacity cursor-pointer opacity-50 hover:opacity-80" aria-label="MindOS Home"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 40" fill="none" class="w-7 h-3.5 shrink-0 text-[var(--amber)]" aria-hidden="true"><defs><linearGradient id="grad-human-rail" x1="35" y1="20" x2="5" y2="20" gradientUnits="userSpaceOnUse"><stop offset="0%" stop-color="currentColor" stop-opacity="0.8"></stop><stop offset="100%" stop-color="currentColor" stop-opacity="0.3"></stop></linearGradient><linearGradient id="grad-agent-rail" x1="35" y1="20" x2="75" y2="20" gradientUnits="userSpaceOnUse"><stop offset="0%" stop-color="currentColor" stop-opacity="0.8"></stop><stop offset="100%" stop-color="currentColor" stop-opacity="1"></stop></linearGradient></defs><path d="M35,20 C25,35 8,35 8,20 C8,5 25,5 35,20" stroke="url(#grad-human-rail)" stroke-width="3" stroke-dasharray="2 4" stroke-linecap="round"></path><path d="M35,20 C45,2 75,2 75,20 C75,38 45,38 35,20" stroke="url(#grad-agent-rail)" stroke-width="4.5" stroke-linecap="round"></path><path d="M35,17.5 Q35,20 37.5,20 Q35,20 35,22.5 Q35,20 32.5,20 Q35,20 35,17.5 Z" fill="var(--logo-sparkle)"></path></svg></button><div class="mx-2 border-t border-border"></div><div class="flex flex-col items-center gap-1 py-2"><button aria-pressed="true" aria-label="Wiki" data-walkthrough="files-panel" class="
1
+ <!DOCTYPE html><html lang="en" style="background-color:#f8f6f1;color:#1c1a17"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/><link rel="stylesheet" href="/_next/static/css/67a9446950c3630b.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/599369d853c61df7.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-7fb8bc60a549efe2.js"/><script src="/_next/static/chunks/bf0c1d5b-a40904205f332b1b.js" async=""></script><script src="/_next/static/chunks/2330-3ba4770e88bc8707.js" async=""></script><script src="/_next/static/chunks/main-app-23adfdc06470abb6.js" async=""></script><script src="/_next/static/chunks/3940-5473abef004ec592.js" async=""></script><script src="/_next/static/chunks/2130-8604144349838fa9.js" async=""></script><script src="/_next/static/chunks/7355-4510296488659369.js" async=""></script><script src="/_next/static/chunks/2073-85e9695b8754ccd4.js" async=""></script><script src="/_next/static/chunks/app/wiki/page-d727a6cfe99e38a6.js" async=""></script><script src="/_next/static/chunks/app/global-error-d42727c6c6c48879.js" async=""></script><script src="/_next/static/chunks/505c7712-0c24a53e04230ea7.js" async=""></script><script src="/_next/static/chunks/325a3484-c4849768e3512277.js" async=""></script><script src="/_next/static/chunks/7156-9bff361e032a7906.js" async=""></script><script src="/_next/static/chunks/8225-4655c2b7b7e84b86.js" async=""></script><script src="/_next/static/chunks/7368-36239cc62a8bcd45.js" async=""></script><script src="/_next/static/chunks/3819-665b50f4dc3af9e2.js" async=""></script><script src="/_next/static/chunks/878-dcbd588adc2102fa.js" async=""></script><script src="/_next/static/chunks/8132-466a3fea8940c114.js" async=""></script><script src="/_next/static/chunks/9202-9a33f968862439f5.js" async=""></script><script src="/_next/static/chunks/5191-88914df1c15c22e6.js" async=""></script><script src="/_next/static/chunks/5152-87e6ed56dfd7d17d.js" async=""></script><script src="/_next/static/chunks/4304-ee72ac41d1513389.js" async=""></script><script src="/_next/static/chunks/2762-e6982806b63ccb64.js" async=""></script><script src="/_next/static/chunks/8924-685d2215bfd7204e.js" async=""></script><script src="/_next/static/chunks/3995-efb3b8f34f1a5a8f.js" async=""></script><script src="/_next/static/chunks/3045-a957e615254f5059.js" async=""></script><script src="/_next/static/chunks/763-10e7ea1774f0970d.js" async=""></script><script src="/_next/static/chunks/2669-60014e0cb3a45fce.js" async=""></script><script src="/_next/static/chunks/app/layout-1c84d9542b3d194e.js" async=""></script><script src="/_next/static/chunks/app/error-c46d1b03d5e3289c.js" async=""></script><meta name="theme-color" content="#c8873a"/><title>MindOS</title><meta name="description" content="Personal knowledge base"/><link rel="manifest" href="/manifest.json"/><meta name="mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/><link rel="icon" href="/logo-square.svg"/><link rel="apple-touch-icon" href="/icons/icon-192.png"/><script>(function(){if(typeof Node!=='undefined'){var o=Node.prototype.removeChild;Node.prototype.removeChild=function(c){if(c.parentNode!==this){try{return o.call(c.parentNode,c)}catch(e){return c}}return o.call(this,c)};var i=Node.prototype.insertBefore;Node.prototype.insertBefore=function(n,r){if(r&&r.parentNode!==this){try{return i.call(r.parentNode,n,r)}catch(e){return i.call(this,n,null)}}return i.call(this,n,r)}}})();</script><script>(function(){try{if(/electron/i.test(navigator.userAgent)&&/macintosh/i.test(navigator.userAgent)){document.documentElement.setAttribute('data-electron-mac','')}}catch(e){}})();</script><script>(function(){try{var s=localStorage.getItem('theme');var dark=s&&s!=='system'?s==='dark':window.matchMedia('(prefers-color-scheme: dark)').matches;document.documentElement.classList.toggle('dark',dark);document.documentElement.style.backgroundColor=dark?'#131210':'#f8f6f1';document.documentElement.style.color=dark?'#e8e4dc':'#1c1a17';var cw=localStorage.getItem('content-width');if(cw)document.documentElement.style.setProperty('--content-width-override',cw);var pf=localStorage.getItem('prose-font');if(!pf){pf='inter';localStorage.setItem('prose-font','inter')}if(pf==='geist'){pf='inter';localStorage.setItem('prose-font','inter')}var fm={lora:'"Lora", Georgia, serif','ibm-plex-sans':'"IBM Plex Sans", sans-serif',inter:'var(--font-inter), sans-serif','ibm-plex-mono':'"IBM Plex Mono", monospace'};if(pf&&fm[pf])document.documentElement.style.setProperty('--prose-font-override',fm[pf]);var loc=localStorage.getItem('locale')||'system';var rl=loc==='system'?(navigator.language.startsWith('zh')?'zh':'en'):loc;window.__mindos_locale__=rl;document.documentElement.lang=rl==='zh'?'zh':'en';document.cookie='locale='+rl+';path=/;max-age=31536000;SameSite=Lax'}catch(e){}})();</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="antialiased bg-background text-foreground"><div hidden=""><!--$--><!--/$--></div><a href="#main-content" class="sr-only focus-visible:not-sr-only focus-visible:fixed focus-visible:top-2 focus-visible:left-2 focus-visible:z-[60] focus-visible:px-4 focus-visible:py-2 focus-visible:rounded-lg focus-visible:text-sm focus-visible:font-medium bg-[var(--amber)] text-[var(--amber-foreground)]">Skip to main content</a><aside class="group hidden md:flex fixed top-0 left-0 h-screen z-[31] flex-col bg-background border-r border-border transition-[width] duration-200 ease-out" style="width:48px" role="toolbar" aria-label="Navigation" aria-orientation="vertical"><div class="flex flex-col h-full w-full overflow-hidden"><button type="button" class="flex items-center justify-center w-full h-[46px] shrink-0 transition-opacity cursor-pointer opacity-50 hover:opacity-80" aria-label="MindOS Home"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 40" fill="none" class="w-7 h-3.5 shrink-0 text-[var(--amber)]" aria-hidden="true"><defs><linearGradient id="grad-human-rail" x1="35" y1="20" x2="5" y2="20" gradientUnits="userSpaceOnUse"><stop offset="0%" stop-color="currentColor" stop-opacity="0.8"></stop><stop offset="100%" stop-color="currentColor" stop-opacity="0.3"></stop></linearGradient><linearGradient id="grad-agent-rail" x1="35" y1="20" x2="75" y2="20" gradientUnits="userSpaceOnUse"><stop offset="0%" stop-color="currentColor" stop-opacity="0.8"></stop><stop offset="100%" stop-color="currentColor" stop-opacity="1"></stop></linearGradient></defs><path d="M35,20 C25,35 8,35 8,20 C8,5 25,5 35,20" stroke="url(#grad-human-rail)" stroke-width="3" stroke-dasharray="2 4" stroke-linecap="round"></path><path d="M35,20 C45,2 75,2 75,20 C75,38 45,38 35,20" stroke="url(#grad-agent-rail)" stroke-width="4.5" stroke-linecap="round"></path><path d="M35,17.5 Q35,20 37.5,20 Q35,20 35,22.5 Q35,20 32.5,20 Q35,20 35,17.5 Z" fill="var(--logo-sparkle)"></path></svg></button><div class="mx-2 border-t border-border"></div><div class="flex flex-col items-center gap-1 py-2"><button aria-pressed="false" aria-label="Inbox" data-walkthrough="capture-page" class="
2
2
  relative flex items-center justify-center w-10 h-10 rounded-md transition-colors
3
- text-[var(--amber)] bg-[var(--amber-dim)]
3
+ text-muted-foreground hover:text-foreground hover:bg-muted
4
4
  focus-visible:ring-2 focus-visible:ring-ring
5
- " id="base-ui-_R_34q8lb_" data-slot="tooltip-trigger"><span class="absolute left-0 top-1/2 -translate-y-1/2 w-[2px] h-[18px] rounded-r-full bg-[var(--amber)]"></span><span class="shrink-0 flex items-center justify-center w-[18px]"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-folder-tree" aria-hidden="true"><path d="M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z"></path><path d="M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z"></path><path d="M3 5a2 2 0 0 0 2 2h3"></path><path d="M3 3v13a2 2 0 0 0 2 2h3"></path></svg></span></button><button aria-pressed="false" aria-label="Capture" data-walkthrough="capture-page" class="
5
+ " id="base-ui-_R_34q8lb_" data-slot="tooltip-trigger"><span class="shrink-0 flex items-center justify-center w-[18px]"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-inbox" aria-hidden="true"><polyline points="22 12 16 12 14 15 10 15 8 12 2 12"></polyline><path d="M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path></svg></span></button><button aria-pressed="true" aria-label="Wiki" data-walkthrough="files-panel" class="
6
6
  relative flex items-center justify-center w-10 h-10 rounded-md transition-colors
7
- text-muted-foreground hover:text-foreground hover:bg-muted
7
+ text-[var(--amber)] bg-[var(--amber-dim)]
8
8
  focus-visible:ring-2 focus-visible:ring-ring
9
- " id="base-ui-_R_38q8lb_" data-slot="tooltip-trigger"><span class="shrink-0 flex items-center justify-center w-[18px]"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-inbox" aria-hidden="true"><polyline points="22 12 16 12 14 15 10 15 8 12 2 12"></polyline><path d="M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path></svg></span></button><button aria-pressed="false" aria-label="Search" class="
9
+ " id="base-ui-_R_38q8lb_" data-slot="tooltip-trigger"><span class="absolute left-0 top-1/2 -translate-y-1/2 w-[2px] h-[18px] rounded-r-full bg-[var(--amber)]"></span><span class="shrink-0 flex items-center justify-center w-[18px]"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-folder-tree" aria-hidden="true"><path d="M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z"></path><path d="M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z"></path><path d="M3 5a2 2 0 0 0 2 2h3"></path><path d="M3 3v13a2 2 0 0 0 2 2h3"></path></svg></span></button><button aria-pressed="false" aria-label="Search" class="
10
10
  relative flex items-center justify-center w-10 h-10 rounded-md transition-colors
11
11
  text-muted-foreground hover:text-foreground hover:bg-muted
12
12
  focus-visible:ring-2 focus-visible:ring-ring
@@ -27,7 +27,7 @@
27
27
  flex-col bg-card border-r border-border
28
28
  transition-[transform,left,width] duration-200 ease-out
29
29
  translate-x-0
30
- " style="width:280px;left:48px" role="region" aria-label="files panel"><div class="flex flex-col h-full "><div class="flex items-center justify-between px-4 py-3 h-[46px] border-b border-border shrink-0"><span class="text-xs font-medium text-muted-foreground uppercase tracking-wider">Wiki</span><div class="flex items-center gap-1"><div class="flex items-center gap-0.5"><div class="relative"><button type="button" class="p-1 rounded hover:bg-muted text-muted-foreground hover:text-foreground transition-colors focus-visible:ring-1 focus-visible:ring-ring" aria-label="New" title="New"><svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus" aria-hidden="true"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg></button></div><button type="button" class="p-1 rounded hover:bg-muted text-muted-foreground hover:text-foreground transition-colors focus-visible:ring-1 focus-visible:ring-ring" aria-label="Import file" title="Import file"><svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-import" aria-hidden="true"><path d="M12 3v12"></path><path d="m8 11 4 4 4-4"></path><path d="M8 5H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-4"></path></svg></button><button type="button" class="p-1 rounded hover:bg-muted text-muted-foreground hover:text-foreground transition-colors focus-visible:ring-1 focus-visible:ring-ring" aria-label="Refresh knowledge base" aria-busy="false" title="Refresh knowledge base"><svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-refresh-cw" aria-hidden="true"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"></path><path d="M21 3v5h-5"></path><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"></path><path d="M8 16H3v5"></path></svg></button><div class="w-px h-3.5 bg-border mx-0.5"></div><button class="p-1 rounded hover:bg-muted text-muted-foreground hover:text-foreground transition-colors focus-visible:ring-1 focus-visible:ring-ring" aria-label="Collapse one level" title="Collapse one level (double-click: all)"><svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevrons-down-up" aria-hidden="true"><path d="m7 20 5-5 5 5"></path><path d="m7 4 5 5 5-5"></path></svg></button><button class="p-1 rounded hover:bg-muted text-muted-foreground hover:text-foreground transition-colors focus-visible:ring-1 focus-visible:ring-ring" aria-label="Expand one level" title="Expand one level (double-click: all)"><svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevrons-up-down" aria-hidden="true"><path d="m7 15 5 5 5-5"></path><path d="m7 9 5-5 5 5"></path></svg></button><div class="w-px h-3.5 bg-border mx-0.5"></div><div class="relative"><button type="button" class="p-1 rounded hover:bg-muted text-muted-foreground hover:text-foreground transition-colors focus-visible:ring-1 focus-visible:ring-ring" aria-label="More" title="More"><svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-ellipsis" aria-hidden="true"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg></button></div></div></div></div><div class="flex-1 overflow-y-auto min-h-0 px-2 py-2"><div class="flex flex-col gap-0.5"></div></div><button type="button" class="flex items-center gap-2 mx-2 px-2 py-1.5 text-sm rounded-lg transition-all duration-150 group shrink-0 hover:bg-muted text-muted-foreground hover:text-foreground"><div class="flex items-center justify-center w-5 h-5 rounded-md shrink-0 transition-colors bg-transparent"><svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-inbox shrink-0 transition-colors text-[var(--amber)]/60 group-hover:text-[var(--amber)]" aria-hidden="true"><polyline points="22 12 16 12 14 15 10 15 8 12 2 12"></polyline><path d="M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path></svg></div><span class="flex-1 text-left text-xs transition-colors text-muted-foreground group-hover:text-foreground">Capture</span></button></div><div class="absolute top-0 -right-[3px] w-[6px] h-full cursor-col-resize z-40 group hidden md:block"><div class="absolute right-[2px] top-0 w-[2px] h-full opacity-0 group-hover:opacity-100 bg-[var(--amber)]/60 transition-opacity"></div></div></aside><button class="
30
+ " style="width:280px;left:48px" role="region" aria-label="files panel"><div class="flex flex-col h-full "><div class="flex items-center justify-between px-4 py-3 h-[46px] border-b border-border shrink-0"><span class="text-xs font-medium text-muted-foreground uppercase tracking-wider">Wiki</span><div class="flex items-center gap-1"><div class="flex items-center gap-0.5"><div class="relative"><button type="button" class="p-1 rounded hover:bg-muted text-muted-foreground hover:text-foreground transition-colors focus-visible:ring-1 focus-visible:ring-ring" aria-label="New" title="New"><svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus" aria-hidden="true"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg></button></div><button type="button" class="p-1 rounded hover:bg-muted text-muted-foreground hover:text-foreground transition-colors focus-visible:ring-1 focus-visible:ring-ring" aria-label="Import file" title="Import file"><svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-import" aria-hidden="true"><path d="M12 3v12"></path><path d="m8 11 4 4 4-4"></path><path d="M8 5H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-4"></path></svg></button><button type="button" class="p-1 rounded hover:bg-muted text-muted-foreground hover:text-foreground transition-colors focus-visible:ring-1 focus-visible:ring-ring" aria-label="Refresh knowledge base" aria-busy="false" title="Refresh knowledge base"><svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-refresh-cw" aria-hidden="true"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"></path><path d="M21 3v5h-5"></path><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"></path><path d="M8 16H3v5"></path></svg></button><div class="w-px h-3.5 bg-border mx-0.5"></div><button class="p-1 rounded hover:bg-muted text-muted-foreground hover:text-foreground transition-colors focus-visible:ring-1 focus-visible:ring-ring" aria-label="Collapse one level" title="Collapse one level (double-click: all)"><svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevrons-down-up" aria-hidden="true"><path d="m7 20 5-5 5 5"></path><path d="m7 4 5 5 5-5"></path></svg></button><button class="p-1 rounded hover:bg-muted text-muted-foreground hover:text-foreground transition-colors focus-visible:ring-1 focus-visible:ring-ring" aria-label="Expand one level" title="Expand one level (double-click: all)"><svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevrons-up-down" aria-hidden="true"><path d="m7 15 5 5 5-5"></path><path d="m7 9 5-5 5 5"></path></svg></button><div class="w-px h-3.5 bg-border mx-0.5"></div><div class="relative"><button type="button" class="p-1 rounded hover:bg-muted text-muted-foreground hover:text-foreground transition-colors focus-visible:ring-1 focus-visible:ring-ring" aria-label="More" title="More"><svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-ellipsis" aria-hidden="true"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg></button></div></div></div></div><div class="flex-1 overflow-y-auto min-h-0 px-2 py-2"><div class="flex flex-col gap-0.5"></div></div><button type="button" class="flex items-center gap-2 mx-2 px-2 py-1.5 text-sm rounded-lg transition-all duration-150 group shrink-0 hover:bg-muted text-muted-foreground hover:text-foreground"><div class="flex items-center justify-center w-5 h-5 rounded-md shrink-0 transition-colors bg-transparent"><svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-inbox shrink-0 transition-colors text-[var(--amber)]/60 group-hover:text-[var(--amber)]" aria-hidden="true"><polyline points="22 12 16 12 14 15 10 15 8 12 2 12"></polyline><path d="M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path></svg></div><span class="flex-1 text-left text-xs transition-colors text-muted-foreground group-hover:text-foreground">Inbox</span></button></div><div class="absolute top-0 -right-[3px] w-[6px] h-full cursor-col-resize z-40 group hidden md:block"><div class="absolute right-[2px] top-0 w-[2px] h-full opacity-0 group-hover:opacity-100 bg-[var(--amber)]/60 transition-opacity"></div></div></aside><button class="
31
31
  group hidden md:flex
32
32
  fixed z-40 bottom-5 right-5
33
33
  items-center justify-center
@@ -51,5 +51,5 @@
51
51
  padding-top: 0;
52
52
  }
53
53
  }
54
- </style><script>requestAnimationFrame(function(){$RT=performance.now()});</script><script src="/_next/static/chunks/webpack-e80a45ffc99584ae.js" id="_R_" async=""></script><div hidden id="S:0"><div class="content-width px-4 md:px-6 py-10 md:py-14"><div class="mb-10"><div class="flex items-center gap-3 mb-6"><div class="w-1 h-7 rounded-full bg-gradient-to-b from-[var(--amber)] to-[var(--amber)]/20"></div><h1 class="text-2xl font-semibold tracking-tight text-foreground">Wiki</h1></div><div class="w-full max-w-xl flex flex-col sm:flex-row items-stretch sm:items-center gap-2 pl-4"><button title="⌘/" class="flex-1 flex items-center gap-3 px-4 py-3.5 rounded-xl border border-border/50 shadow-sm bg-card/80 backdrop-blur-sm transition-all duration-200 hover:border-[var(--amber)]/40 hover:shadow-md hover:-translate-y-0.5 group"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sparkles shrink-0 text-[var(--amber)] group-hover:scale-110 transition-transform duration-150" aria-hidden="true"><path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z"></path><path d="M20 2v4"></path><path d="M22 4h-4"></path><circle cx="4" cy="20" r="2"></circle></svg><div class="flex-1 min-h-[1.5rem] flex items-center"><span class="text-sm text-left text-muted-foreground animate-in fade-in duration-300">Organize inbox</span></div><kbd class="hidden sm:inline-flex items-center gap-0.5 px-2 py-0.5 rounded text-xs font-mono font-medium bg-[var(--amber-dim)] text-[var(--amber-text)]">⌘/</kbd></button><button title="⌘K" class="flex items-center gap-2 px-3.5 py-3 rounded-xl border border-border/50 text-sm text-muted-foreground transition-all duration-200 shrink-0 hover:bg-muted/60 hover:shadow-sm hover:-translate-y-0.5"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-search" aria-hidden="true"><path d="m21 21-4.34-4.34"></path><circle cx="11" cy="11" r="8"></circle></svg><kbd class="hidden sm:inline-flex items-center px-1.5 py-0.5 rounded text-xs font-mono bg-muted">⌘K</kbd></button></div><div class="flex items-center gap-3 mt-4 pl-4"><a class="inline-flex items-center gap-2 px-4 py-2.5 rounded-lg text-sm font-medium transition-all duration-200 hover:shadow-md hover:-translate-y-0.5 bg-[var(--amber)] text-[var(--amber-foreground)]" href="/view/Untitled.md"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-file-plus" aria-hidden="true"><path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"></path><path d="M14 2v5a1 1 0 0 0 1 1h5"></path><path d="M9 15h6"></path><path d="M12 18v-6"></path></svg><span>New Notes</span></a><a class="inline-flex items-center gap-2 px-3.5 py-2 rounded-lg text-sm font-medium transition-colors text-muted-foreground hover:text-foreground hover:bg-muted" href="/view/README.md"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-right text-[var(--amber)]/60" aria-hidden="true"><path d="M5 12h14"></path><path d="m12 5 7 7-7 7"></path></svg><span>Continue editing</span><span class="text-xs opacity-40 truncate max-w-32">README.md</span></a></div></div><section class="mb-10"><div class="flex items-center gap-2.5 mb-5"><div class="flex items-center justify-center w-6 h-6 rounded-md bg-[var(--amber-subtle)] text-[var(--amber)]"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-brain" aria-hidden="true"><path d="M12 18V5"></path><path d="M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4"></path><path d="M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5"></path><path d="M17.997 5.125a4 4 0 0 1 2.526 5.77"></path><path d="M18 18a4 4 0 0 0 2-7.464"></path><path d="M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517"></path><path d="M6 18a4 4 0 0 1-2-7.464"></path><path d="M6.003 5.125a4 4 0 0 0-2.526 5.77"></path></svg></div><h2 class="text-[13px] font-semibold text-foreground tracking-wide">Spaces</h2><div class="ml-auto flex items-center gap-3"><button class="flex items-center gap-1.5 text-xs font-medium text-[var(--amber)] transition-colors hover:opacity-80 cursor-pointer font-display"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus" aria-hidden="true"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg><span>New Space</span></button></div></div><div class="rounded-xl border border-border/40 bg-card/30 px-6 py-12 text-center"><div class="inline-flex items-center justify-center w-12 h-12 rounded-full bg-[var(--amber-subtle)] mb-4"><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-brain text-[var(--amber)]/60" aria-hidden="true"><path d="M12 18V5"></path><path d="M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4"></path><path d="M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5"></path><path d="M17.997 5.125a4 4 0 0 1 2.526 5.77"></path><path d="M18 18a4 4 0 0 0 2-7.464"></path><path d="M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517"></path><path d="M6 18a4 4 0 0 1-2-7.464"></path><path d="M6.003 5.125a4 4 0 0 0-2.526 5.77"></path></svg></div><p class="text-sm font-medium text-muted-foreground/70 mb-1">No spaces yet. Create one to organize your knowledge.</p><p class="text-xs text-muted-foreground/60 mb-4">Create your first space to organize your knowledge</p><button class="inline-flex items-center gap-2 px-4 py-2 text-sm font-medium rounded-lg transition-colors bg-[var(--amber)] text-[var(--amber-foreground)] hover:opacity-80"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus" aria-hidden="true"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg>Create Space</button></div></section><section class="mb-8 animate-pulse"><div class="h-4 w-24 bg-muted rounded mb-3"></div><div class="space-y-2"><div class="h-10 bg-muted/50 rounded-lg"></div><div class="h-10 bg-muted/50 rounded-lg"></div></div></section><div class="border-t border-border/30 mb-8"></div><section class="mb-8"><div class="flex items-center gap-2.5 mb-4"><div class="flex items-center justify-center w-6 h-6 rounded-md bg-[var(--amber-subtle)] text-[var(--amber)]"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-clock" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="M12 6v6l4 2"></path></svg></div><h2 class="text-[13px] font-semibold text-foreground tracking-wide">Recently Edited</h2><span class="inline-flex items-center justify-center min-w-[20px] h-5 px-1.5 text-[10px] font-semibold rounded-full bg-muted text-muted-foreground tabular-nums">1</span><div class="ml-auto"><a class="flex items-center gap-1.5 text-xs font-medium text-[var(--amber)] transition-colors hover:opacity-80" href="/changelog"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-history" aria-hidden="true"><path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"></path><path d="M3 3v5h5"></path><path d="M12 7v5l4 2"></path></svg><span>Change History</span></a></div></div><div class="flex flex-col gap-0.5"><a class="flex items-center gap-3 px-3 py-2 rounded-lg transition-all duration-100 hover:translate-x-0.5 hover:bg-muted group overflow-hidden" href="/view/README.md"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-file-text shrink-0 text-muted-foreground" aria-hidden="true"><path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"></path><path d="M14 2v5a1 1 0 0 0 1 1h5"></path><path d="M10 9H8"></path><path d="M16 13H8"></path><path d="M16 17H8"></path></svg><div class="flex-1 min-w-0"><span class="text-sm truncate block text-foreground">README.md</span></div><span class="text-xs shrink-0 tabular-nums text-muted-foreground/40">just now</span></a></div></section><div class="py-6 border-t border-border/20 flex items-center gap-1.5 text-xs font-display text-muted-foreground/30"><svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sparkles text-[var(--amber)]/40" aria-hidden="true"><path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z"></path><path d="M20 2v4"></path><path d="M22 4h-4"></path><circle cx="4" cy="20" r="2"></circle></svg><span>MindOS · human-agent collaborative mind system</span></div></div><!--$--><!--/$--></div><script>$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
55
- $RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};$RC("B:0","S:0")</script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n3:I[49357,[],\"\"]\n4:I[90681,[],\"\"]\n5:I[28355,[\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"7355\",\"static/chunks/7355-4510296488659369.js\",\"2073\",\"static/chunks/2073-758ad3659b9d2cfc.js\",\"6023\",\"static/chunks/app/wiki/page-53dfa7d9fd1a0080.js\"],\"default\"]\n6:I[73360,[],\"OutletBoundary\"]\n7:\"$Sreact.suspense\"\nc:I[62926,[\"4219\",\"static/chunks/app/global-error-d42727c6c6c48879.js\"],\"default\"]\nd:I[73360,[],\"ViewportBoundary\"]\nf:I[73360,[],\"MetadataBoundary\"]\n12:I[95878,[\"5883\",\"static/chunks/505c7712-0c24a53e04230ea7.js\",\"6435\",\"static/chunks/325a3484-c4849768e3512277.js\",\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"8225\",\"static/chunks/8225-4655c2b7b7e84b86.js\",\"7156\",\"static/chunks/7156-9bff361e032a7906.js\",\"7368\",\"static/chunks/7368-36239cc62a8bcd45.js\",\"2409\",\"static/chunks/2409-244f9b90dceb0c04.js\",\"878\",\"static/chunks/878-dcbd588adc2102fa.js\",\"5881\",\"static/chunks/5881-f2bcf9869b07f268.js\",\"7083\",\"static/chunks/7083-00c0b48d2a6b06dd.js\",\"1495\",\"static/chunks/1495-4e4ece56ffa8d568.js\",\"2073\",\"static/chunks/2073-758ad3659b9d2cfc.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5026\",\"static/chunks/5026-7fed7ca22272c18f.js\",\"9479\",\"static/chunks/9479-ebd5043c9039f447.js\",\"3181\",\"static/chunks/3181-8c6aaeedf700984c.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-859f69bfc1960d30.js\"],\"default\"]\n13:I[57679,[\"5883\",\"static/chunks/505c7712-0c24a53e04230ea7.js\",\"6435\",\"static/chunks/325a3484-c4849768e3512277.js\",\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"8225\",\"static/chunks/8225-4655c2b7b7e84b86.js\",\"7156\",\"static/chunks/7156-9bff361e032a7906.js\",\"7368\",\"static/chunks/7368-36239cc62a8bcd45.js\",\"2409\",\"static/chunks/2409-244f9b90dceb0c04.js\",\"878\",\"static/chunks/878-dcbd588adc2102fa.js\",\"5881\",\"static/chunks/5881-f2bcf9869b07f268.js\",\"7083\",\"static/chunks/7083-00c0b48d2a6b06dd.js\",\"1495\",\"static/chunks/1495-4e4ece56ffa8d568.js\",\"2073\",\"static/chunks/2073-758ad3659b9d2cfc.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5026\",\"static/chunks/5026-7fed7ca22272c18f.js\",\"9479\",\"static/chunks/9479-ebd5043c9039f447.js\",\"3181\",\"static/chunks/3181-8c6aaeedf700984c.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-859f69bfc1960d30.js\"],\"TooltipProvider\"]\n14:I[74179,[\"5883\",\"static/chunks/505c7712-0c24a53e04230ea7.js\",\"6435\",\"static/chunks/325a3484-c4849768e3512277.js\",\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"8225\",\"static/chunks/8225-4655c2b7b7e84b86.js\",\"7156\",\"static/chunks/7156-9bff361e032a7906.js\",\"7368\",\"static/chunks/7368-36239cc62a8bcd45.js\",\"2409\",\"static/chunks/2409-244f9b90dceb0c04.js\",\"878\",\"static/chunks/878-dcbd588adc2102fa.js\",\"5881\",\"static/chunks/5881-f2bcf9869b07f268.js\",\"7083\",\"static/chunks/7083-00c0b48d2a6b06dd.js\",\"1495\",\"static/chunks/1495-4e4ece56ffa8d568.js\",\"2073\",\"static/chunks/2073-758ad3659b9d2cfc.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5026\",\"static/chunks/5026-7fed7ca22272c18f.js\",\"9479\",\"static/chunks/9479-ebd5043c9039f447.js\",\"3181\",\"static/chunks/3181-8c6aaeedf700984c.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-859f69bfc1960d30.js\"],\"default\"]\n15:I[24533,[\"5883\",\"static/chunks/505c7712-0c24a53e04230ea7.js\",\"6435\",\"static/chunks/325a3484-c4849768e3512277.js\",\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"8225\",\"static/chunks/8225-4655c2b7b7e84b86.js\",\"7156\",\"static/chunks/7156-9bff361e032a7906.js\",\"7368\",\"static/chunks/7368-36239cc62a8bcd45.js\",\"2409\",\"static/chunks/2409-244f9b90dceb0c04.js\",\"878\",\"static/chunks/878-dcbd5"])</script><script>self.__next_f.push([1,"88adc2102fa.js\",\"5881\",\"static/chunks/5881-f2bcf9869b07f268.js\",\"7083\",\"static/chunks/7083-00c0b48d2a6b06dd.js\",\"1495\",\"static/chunks/1495-4e4ece56ffa8d568.js\",\"2073\",\"static/chunks/2073-758ad3659b9d2cfc.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5026\",\"static/chunks/5026-7fed7ca22272c18f.js\",\"9479\",\"static/chunks/9479-ebd5043c9039f447.js\",\"3181\",\"static/chunks/3181-8c6aaeedf700984c.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-859f69bfc1960d30.js\"],\"default\",1]\n16:I[9392,[\"8039\",\"static/chunks/app/error-c46d1b03d5e3289c.js\"],\"default\"]\n17:I[79726,[\"5883\",\"static/chunks/505c7712-0c24a53e04230ea7.js\",\"6435\",\"static/chunks/325a3484-c4849768e3512277.js\",\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"8225\",\"static/chunks/8225-4655c2b7b7e84b86.js\",\"7156\",\"static/chunks/7156-9bff361e032a7906.js\",\"7368\",\"static/chunks/7368-36239cc62a8bcd45.js\",\"2409\",\"static/chunks/2409-244f9b90dceb0c04.js\",\"878\",\"static/chunks/878-dcbd588adc2102fa.js\",\"5881\",\"static/chunks/5881-f2bcf9869b07f268.js\",\"7083\",\"static/chunks/7083-00c0b48d2a6b06dd.js\",\"1495\",\"static/chunks/1495-4e4ece56ffa8d568.js\",\"2073\",\"static/chunks/2073-758ad3659b9d2cfc.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5026\",\"static/chunks/5026-7fed7ca22272c18f.js\",\"9479\",\"static/chunks/9479-ebd5043c9039f447.js\",\"3181\",\"static/chunks/3181-8c6aaeedf700984c.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-859f69bfc1960d30.js\"],\"default\"]\n18:I[28632,[\"5883\",\"static/chunks/505c7712-0c24a53e04230ea7.js\",\"6435\",\"static/chunks/325a3484-c4849768e3512277.js\",\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"8225\",\"static/chunks/8225-4655c2b7b7e84b86.js\",\"7156\",\"static/chunks/7156-9bff361e032a7906.js\",\"7368\",\"static/chunks/7368-36239cc62a8bcd45.js\",\"2409\",\"static/chunks/2409-244f9b90dceb0c04.js\",\"878\",\"static/chunks/878-dcbd588adc2102fa.js\",\"5881\",\"static/chunks/5881-f2bcf9869b07f268.js\",\"7083\",\"static/chunks/7083-00c0b48d2a6b06dd.js\",\"1495\",\"static/chunks/1495-4e4ece56ffa8d568.js\",\"2073\",\"static/chunks/2073-758ad3659b9d2cfc.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5026\",\"static/chunks/5026-7fed7ca22272c18f.js\",\"9479\",\"static/chunks/9479-ebd5043c9039f447.js\",\"3181\",\"static/chunks/3181-8c6aaeedf700984c.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-859f69bfc1960d30.js\"],\"default\"]\n19:I[80250,[\"5883\",\"static/chunks/505c7712-0c24a53e04230ea7.js\",\"6435\",\"static/chunks/325a3484-c4849768e3512277.js\",\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"8225\",\"static/chunks/8225-4655c2b7b7e84b86.js\",\"7156\",\"static/chunks/7156-9bff361e032a7906.js\",\"7368\",\"static/chunks/7368-36239cc62a8bcd45.js\",\"2409\",\"static/chunks/2409-244f9b90dceb0c04.js\",\"878\",\"static/chunks/878-dcbd588adc2102fa.js\",\"5881\",\"static/chunks/5881-f2bcf9869b07f268.js\",\"7083\",\"static/chunks/7083-00c0b48d2a6b06dd.js\",\"1495\",\"static/chunks/1495-4e4ece56ffa8d568.js\",\"2073\",\"static/chunks/2073-758ad3659b9d2cfc.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5026\",\"static/chunks/5026-7fed7ca22272c18f.js\",\"9479\",\"static/chunks/9479-ebd5043c9039f447.js\",\"3181\",\"static/chunks/3181-8c6aaeedf700984c.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-859f69bfc1960d30.js\"],\"default\"]\n1a:I[98163,[\"5883\",\"static/chunks/505c7712-0c24a53e04230ea7.js\",\"6435\",\"static/chunks/325a3484-c4849768e3512277.js\",\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"8225\",\"static/chunks/8225-4655c2b7b7e84b86.js\",\"7156\",\"static/chunks/71"])</script><script>self.__next_f.push([1,"56-9bff361e032a7906.js\",\"7368\",\"static/chunks/7368-36239cc62a8bcd45.js\",\"2409\",\"static/chunks/2409-244f9b90dceb0c04.js\",\"878\",\"static/chunks/878-dcbd588adc2102fa.js\",\"5881\",\"static/chunks/5881-f2bcf9869b07f268.js\",\"7083\",\"static/chunks/7083-00c0b48d2a6b06dd.js\",\"1495\",\"static/chunks/1495-4e4ece56ffa8d568.js\",\"2073\",\"static/chunks/2073-758ad3659b9d2cfc.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5026\",\"static/chunks/5026-7fed7ca22272c18f.js\",\"9479\",\"static/chunks/9479-ebd5043c9039f447.js\",\"3181\",\"static/chunks/3181-8c6aaeedf700984c.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-859f69bfc1960d30.js\"],\"default\"]\n1b:I[28169,[],\"IconMark\"]\n:HL[\"/_next/static/css/db8559f3a861a510.css\",\"style\"]\n:HL[\"/_next/static/css/599369d853c61df7.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"nrLECSDKmE4psF72Jmkoa\",\"c\":[\"\",\"wiki\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"wiki\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/db8559f3a861a510.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/599369d853c61df7.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],\"$L2\"]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L5\",null,{\"spaces\":[],\"recent\":[{\"path\":\"README.md\",\"mtime\":1778826915527.4912}]}],null,[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$7\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@8\"}]}]]}],{},null,false,false]},null,false,false]},[[\"$\",\"div\",\"l\",{\"className\":\"content-width px-4 md:px-6 py-10 md:py-14 animate-pulse\",\"aria-busy\":\"true\",\"aria-label\":\"Loading\",\"children\":[[\"$\",\"div\",null,{\"className\":\"mb-10\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center gap-3 mb-2\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-1 h-7 rounded-full bg-muted\"}],[\"$\",\"div\",null,{\"className\":\"h-6 w-28 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"h-4 w-64 bg-muted rounded ml-4 mb-6\"}],[\"$\",\"div\",null,{\"className\":\"w-full max-w-xl flex flex-col sm:flex-row items-stretch sm:items-center gap-2 ml-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex-1 h-12 rounded-xl bg-muted\"}],[\"$\",\"div\",null,{\"className\":\"h-12 w-16 rounded-xl bg-muted shrink-0\"}]]}],[\"$\",\"div\",null,{\"className\":\"flex items-center gap-3 mt-4 ml-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-9 w-28 rounded-lg bg-muted\"}],[\"$\",\"div\",null,{\"className\":\"h-9 w-40 rounded-lg bg-muted\"}]]}]]}],[\"$\",\"div\",null,{\"className\":\"mb-10\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2 mb-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-4 h-4 rounded bg-muted\"}],[\"$\",\"div\",null,{\"className\":\"h-4 w-16 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"grid grid-cols-2 sm:grid-cols-3 gap-2\",\"children\":[[\"$\",\"div\",\"0\",{\"className\":\"flex items-start gap-3 px-3.5 py-3 rounded-xl border border-border\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-5 h-5 rounded bg-muted shrink-0 mt-0.5\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-20 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-full bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded\"}]]}]]}],[\"$\",\"div\",\"1\",{\"className\":\"flex items-start gap-3 px-3.5 py-3 rounded-xl border border-border\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-5 h-5 rounded bg-muted shrink-0 mt-0.5\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-20 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-full bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded\"}]]}]]}],[\"$\",\"div\",\"2\",{\"className\":\"flex items-start gap-3 px-3.5 py-3 rounded-xl border border-border\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-5 h-5 rounded bg-muted shrink-0 mt-0.5\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-20 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-full bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded\"}]]}]]}],[\"$\",\"div\",\"3\",{\"className\":\"flex items-start gap-3 px-3.5 py-3 rounded-xl border border-border\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-5 h-5 rounded bg-muted shrink-0 mt-0.5\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-20 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-full bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded\"}]]}]]}],[\"$\",\"div\",\"4\",{\"className\":\"flex items-start gap-3 px-3.5 py-3 rounded-xl border border-border\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-5 h-5 rounded bg-muted shrink-0 mt-0.5\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-20 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-full bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded\"}]]}]]}],[\"$\",\"div\",\"5\",{\"className\":\"flex items-start gap-3 px-3.5 py-3 rounded-xl border border-border\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-5 h-5 rounded bg-muted shrink-0 mt-0.5\"}],\"$L9\"]}]]}]]}],\"$La\"]}],[],[]],false,false],\"$Lb\",false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":false}\n"])</script><script>self.__next_f.push([1,"9:[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-20 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-full bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded\"}]]}]\n"])</script><script>self.__next_f.push([1,"a:[\"$\",\"div\",null,{\"className\":\"mb-10\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2 mb-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-4 h-4 rounded bg-muted\"}],[\"$\",\"div\",null,{\"className\":\"h-4 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"flex flex-col gap-3\",\"children\":[[\"$\",\"div\",\"0\",{\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2 px-1 py-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-4 h-4 rounded bg-muted\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"flex flex-col gap-0.5 ml-2 border-l border-border/40 pl-3\",\"children\":[[\"$\",\"div\",\"0\",{\"className\":\"flex items-center gap-3 px-3 py-2\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-3 h-3 rounded bg-muted shrink-0\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-40 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded shrink-0\"}]]}],[\"$\",\"div\",\"1\",{\"className\":\"flex items-center gap-3 px-3 py-2\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-3 h-3 rounded bg-muted shrink-0\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-40 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded shrink-0\"}]]}]]}]]}],[\"$\",\"div\",\"1\",{\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2 px-1 py-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-4 h-4 rounded bg-muted\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"flex flex-col gap-0.5 ml-2 border-l border-border/40 pl-3\",\"children\":[[\"$\",\"div\",\"0\",{\"className\":\"flex items-center gap-3 px-3 py-2\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-3 h-3 rounded bg-muted shrink-0\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-40 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded shrink-0\"}]]}],[\"$\",\"div\",\"1\",{\"className\":\"flex items-center gap-3 px-3 py-2\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-3 h-3 rounded bg-muted shrink-0\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-40 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded shrink-0\"}]]}]]}]]}],[\"$\",\"div\",\"2\",{\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2 px-1 py-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-4 h-4 rounded bg-muted\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"flex flex-col gap-0.5 ml-2 border-l border-border/40 pl-3\",\"children\":[[\"$\",\"div\",\"0\",{\"className\":\"flex items-center gap-3 px-3 py-2\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-3 h-3 rounded bg-muted shrink-0\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-40 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded shrink-0\"}]]}],[\"$\",\"div\",\"1\",{\"className\":\"flex items-center gap-3 px-3 py-2\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-3 h-3 rounded bg-muted shrink-0\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-40 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded shrink-0\"}]]}]]}]]}]]}]]}]\n"])</script><script>self.__next_f.push([1,"b:[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Ld\",null,{\"children\":\"$Le\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lf\",null,{\"children\":[\"$\",\"$7\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L10\"}]}]}],null]}]\n11:T499,(function(){try{var s=localStorage.getItem('theme');var dark=s\u0026\u0026s!=='system'?s==='dark':window.matchMedia('(prefers-color-scheme: dark)').matches;document.documentElement.classList.toggle('dark',dark);document.documentElement.style.backgroundColor=dark?'#131210':'#f8f6f1';document.documentElement.style.color=dark?'#e8e4dc':'#1c1a17';var cw=localStorage.getItem('content-width');if(cw)document.documentElement.style.setProperty('--content-width-override',cw);var pf=localStorage.getItem('prose-font');if(!pf){pf='inter';localStorage.setItem('prose-font','inter')}if(pf==='geist'){pf='inter';localStorage.setItem('prose-font','inter')}var fm={lora:'\"Lora\", Georgia, serif','ibm-plex-sans':'\"IBM Plex Sans\", sans-serif',inter:'var(--font-inter), sans-serif','ibm-plex-mono':'\"IBM Plex Mono\", monospace'};if(pf\u0026\u0026fm[pf])document.documentElement.style.setProperty('--prose-font-override',fm[pf]);var loc=localStorage.getItem('locale')||'system';var rl=loc==='system'?(navigator.language.startsWith('zh')?'zh':'en'):loc;window.__mindos_locale__=rl;document.documentElement.lang=rl==='zh'?'zh':'en';document.cookie='locale='+rl+';path=/;max-age=31536000;SameSite=Lax'}catch(e){}})();"])</script><script>self.__next_f.push([1,"2:[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"style\":{\"backgroundColor\":\"#f8f6f1\",\"color\":\"#1c1a17\"},\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"meta\",null,{\"name\":\"theme-color\",\"content\":\"#c8873a\"}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){if(typeof Node!=='undefined'){var o=Node.prototype.removeChild;Node.prototype.removeChild=function(c){if(c.parentNode!==this){try{return o.call(c.parentNode,c)}catch(e){return c}}return o.call(this,c)};var i=Node.prototype.insertBefore;Node.prototype.insertBefore=function(n,r){if(r\u0026\u0026r.parentNode!==this){try{return i.call(r.parentNode,n,r)}catch(e){return i.call(this,n,null)}}return i.call(this,n,r)}}})();\"}}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{if(/electron/i.test(navigator.userAgent)\u0026\u0026/macintosh/i.test(navigator.userAgent)){document.documentElement.setAttribute('data-electron-mac','')}}catch(e){}})();\"}}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"$11\"}}]]}],[\"$\",\"body\",null,{\"className\":\"antialiased bg-background text-foreground\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"$L12\",null,{\"ssrLocale\":\"en\"}],[\"$\",\"$L13\",null,{\"delay\":300,\"children\":[\"$\",\"$L14\",null,{\"children\":[\"$\",\"$L15\",null,{\"fileTree\":[{\"name\":\"README.md\",\"path\":\"README.md\",\"type\":\"file\",\"extension\":\".md\"}],\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$16\",\"errorStyles\":[],\"errorScripts\":[],\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}],[\"$\",\"$L17\",null,{}],[\"$\",\"$L18\",null,{}],[\"$\",\"$L19\",null,{}],[\"$\",\"$L1a\",null,{}]]}]]}]\n"])</script><script>self.__next_f.push([1,"e:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, viewport-fit=cover\"}]]\n8:null\n10:[[\"$\",\"title\",\"0\",{\"children\":\"MindOS\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Personal knowledge base\"}],[\"$\",\"link\",\"2\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"meta\",\"3\",{\"name\":\"mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"4\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"5\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"black-translucent\"}],[\"$\",\"link\",\"6\",{\"rel\":\"icon\",\"href\":\"/logo-square.svg\"}],[\"$\",\"link\",\"7\",{\"rel\":\"apple-touch-icon\",\"href\":\"/icons/icon-192.png\"}],[\"$\",\"$L1b\",\"8\",{}]]\n"])</script></body></html>
54
+ </style><script>requestAnimationFrame(function(){$RT=performance.now()});</script><script src="/_next/static/chunks/webpack-7fb8bc60a549efe2.js" id="_R_" async=""></script><div hidden id="S:0"><div class="content-width px-4 md:px-6 py-10 md:py-14"><div class="mb-10"><div class="flex items-center gap-3 mb-6"><div class="w-1 h-7 rounded-full bg-gradient-to-b from-[var(--amber)] to-[var(--amber)]/20"></div><h1 class="text-2xl font-semibold tracking-tight text-foreground">Wiki</h1></div><div class="w-full max-w-xl flex flex-col sm:flex-row items-stretch sm:items-center gap-2 pl-4"><button title="⌘/" class="flex-1 flex items-center gap-3 px-4 py-3.5 rounded-xl border border-border/50 shadow-sm bg-card/80 backdrop-blur-sm transition-all duration-200 hover:border-[var(--amber)]/40 hover:shadow-md hover:-translate-y-0.5 group"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sparkles shrink-0 text-[var(--amber)] group-hover:scale-110 transition-transform duration-150" aria-hidden="true"><path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z"></path><path d="M20 2v4"></path><path d="M22 4h-4"></path><circle cx="4" cy="20" r="2"></circle></svg><div class="flex-1 min-h-[1.5rem] flex items-center"><span class="text-sm text-left text-muted-foreground animate-in fade-in duration-300">Organize inbox</span></div><kbd class="hidden sm:inline-flex items-center gap-0.5 px-2 py-0.5 rounded text-xs font-mono font-medium bg-[var(--amber-dim)] text-[var(--amber-text)]">⌘/</kbd></button><button title="⌘K" class="flex items-center gap-2 px-3.5 py-3 rounded-xl border border-border/50 text-sm text-muted-foreground transition-all duration-200 shrink-0 hover:bg-muted/60 hover:shadow-sm hover:-translate-y-0.5"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-search" aria-hidden="true"><path d="m21 21-4.34-4.34"></path><circle cx="11" cy="11" r="8"></circle></svg><kbd class="hidden sm:inline-flex items-center px-1.5 py-0.5 rounded text-xs font-mono bg-muted">⌘K</kbd></button></div><div class="flex items-center gap-3 mt-4 pl-4"><a class="inline-flex items-center gap-2 px-4 py-2.5 rounded-lg text-sm font-medium transition-all duration-200 hover:shadow-md hover:-translate-y-0.5 bg-[var(--amber)] text-[var(--amber-foreground)]" href="/view/Untitled.md"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-file-plus" aria-hidden="true"><path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"></path><path d="M14 2v5a1 1 0 0 0 1 1h5"></path><path d="M9 15h6"></path><path d="M12 18v-6"></path></svg><span>New Notes</span></a><a class="inline-flex items-center gap-2 px-3.5 py-2 rounded-lg text-sm font-medium transition-colors text-muted-foreground hover:text-foreground hover:bg-muted" href="/view/README.md"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-right text-[var(--amber)]/60" aria-hidden="true"><path d="M5 12h14"></path><path d="m12 5 7 7-7 7"></path></svg><span>Continue editing</span><span class="text-xs opacity-40 truncate max-w-32">README.md</span></a></div></div><section class="mb-10"><div class="flex items-center gap-2.5 mb-5"><div class="flex items-center justify-center w-6 h-6 rounded-md bg-[var(--amber-subtle)] text-[var(--amber)]"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-brain" aria-hidden="true"><path d="M12 18V5"></path><path d="M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4"></path><path d="M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5"></path><path d="M17.997 5.125a4 4 0 0 1 2.526 5.77"></path><path d="M18 18a4 4 0 0 0 2-7.464"></path><path d="M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517"></path><path d="M6 18a4 4 0 0 1-2-7.464"></path><path d="M6.003 5.125a4 4 0 0 0-2.526 5.77"></path></svg></div><h2 class="text-[13px] font-semibold text-foreground tracking-wide">Spaces</h2><div class="ml-auto flex items-center gap-3"><button class="flex items-center gap-1.5 text-xs font-medium text-[var(--amber)] transition-colors hover:opacity-80 cursor-pointer font-display"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus" aria-hidden="true"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg><span>New Space</span></button></div></div><div class="rounded-xl border border-border/40 bg-card/30 px-6 py-12 text-center"><div class="inline-flex items-center justify-center w-12 h-12 rounded-full bg-[var(--amber-subtle)] mb-4"><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-brain text-[var(--amber)]/60" aria-hidden="true"><path d="M12 18V5"></path><path d="M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4"></path><path d="M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5"></path><path d="M17.997 5.125a4 4 0 0 1 2.526 5.77"></path><path d="M18 18a4 4 0 0 0 2-7.464"></path><path d="M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517"></path><path d="M6 18a4 4 0 0 1-2-7.464"></path><path d="M6.003 5.125a4 4 0 0 0-2.526 5.77"></path></svg></div><p class="text-sm font-medium text-muted-foreground/70 mb-1">No spaces yet. Create one to organize your knowledge.</p><p class="text-xs text-muted-foreground/60 mb-4">Create your first space to organize your knowledge</p><button class="inline-flex items-center gap-2 px-4 py-2 text-sm font-medium rounded-lg transition-colors bg-[var(--amber)] text-[var(--amber-foreground)] hover:opacity-80"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus" aria-hidden="true"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg>Create Space</button></div></section><section class="mb-8 animate-pulse"><div class="h-4 w-24 bg-muted rounded mb-3"></div><div class="space-y-2"><div class="h-10 bg-muted/50 rounded-lg"></div><div class="h-10 bg-muted/50 rounded-lg"></div></div></section><div class="border-t border-border/30 mb-8"></div><section class="mb-8"><div class="flex items-center gap-2.5 mb-4"><div class="flex items-center justify-center w-6 h-6 rounded-md bg-[var(--amber-subtle)] text-[var(--amber)]"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-clock" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="M12 6v6l4 2"></path></svg></div><h2 class="text-[13px] font-semibold text-foreground tracking-wide">Recently Edited</h2><span class="inline-flex items-center justify-center min-w-[20px] h-5 px-1.5 text-[10px] font-semibold rounded-full bg-muted text-muted-foreground tabular-nums">1</span><div class="ml-auto"><a class="flex items-center gap-1.5 text-xs font-medium text-[var(--amber)] transition-colors hover:opacity-80" href="/changelog"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-history" aria-hidden="true"><path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"></path><path d="M3 3v5h5"></path><path d="M12 7v5l4 2"></path></svg><span>Change History</span></a></div></div><div class="flex flex-col gap-0.5"><a class="flex items-center gap-3 px-3 py-2 rounded-lg transition-all duration-100 hover:translate-x-0.5 hover:bg-muted group overflow-hidden" href="/view/README.md"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-file-text shrink-0 text-muted-foreground" aria-hidden="true"><path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"></path><path d="M14 2v5a1 1 0 0 0 1 1h5"></path><path d="M10 9H8"></path><path d="M16 13H8"></path><path d="M16 17H8"></path></svg><div class="flex-1 min-w-0"><span class="text-sm truncate block text-foreground">README.md</span></div><span class="text-xs shrink-0 tabular-nums text-muted-foreground/40">just now</span></a></div></section><div class="py-6 border-t border-border/20 flex items-center gap-1.5 text-xs font-display text-muted-foreground/30"><svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sparkles text-[var(--amber)]/40" aria-hidden="true"><path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z"></path><path d="M20 2v4"></path><path d="M22 4h-4"></path><circle cx="4" cy="20" r="2"></circle></svg><span>MindOS · human-agent collaborative mind system</span></div></div><!--$--><!--/$--></div><script>$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
55
+ $RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};$RC("B:0","S:0")</script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n3:I[49357,[],\"\"]\n4:I[90681,[],\"\"]\n5:I[28355,[\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"7355\",\"static/chunks/7355-4510296488659369.js\",\"2073\",\"static/chunks/2073-85e9695b8754ccd4.js\",\"6023\",\"static/chunks/app/wiki/page-d727a6cfe99e38a6.js\"],\"default\"]\n6:I[73360,[],\"OutletBoundary\"]\n7:\"$Sreact.suspense\"\nc:I[62926,[\"4219\",\"static/chunks/app/global-error-d42727c6c6c48879.js\"],\"default\"]\nd:I[73360,[],\"ViewportBoundary\"]\nf:I[73360,[],\"MetadataBoundary\"]\n12:I[95878,[\"5883\",\"static/chunks/505c7712-0c24a53e04230ea7.js\",\"6435\",\"static/chunks/325a3484-c4849768e3512277.js\",\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"7156\",\"static/chunks/7156-9bff361e032a7906.js\",\"8225\",\"static/chunks/8225-4655c2b7b7e84b86.js\",\"7368\",\"static/chunks/7368-36239cc62a8bcd45.js\",\"3819\",\"static/chunks/3819-665b50f4dc3af9e2.js\",\"878\",\"static/chunks/878-dcbd588adc2102fa.js\",\"8132\",\"static/chunks/8132-466a3fea8940c114.js\",\"9202\",\"static/chunks/9202-9a33f968862439f5.js\",\"2073\",\"static/chunks/2073-85e9695b8754ccd4.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"4304\",\"static/chunks/4304-ee72ac41d1513389.js\",\"2762\",\"static/chunks/2762-e6982806b63ccb64.js\",\"8924\",\"static/chunks/8924-685d2215bfd7204e.js\",\"3995\",\"static/chunks/3995-efb3b8f34f1a5a8f.js\",\"3045\",\"static/chunks/3045-a957e615254f5059.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-1c84d9542b3d194e.js\"],\"default\"]\n13:I[57679,[\"5883\",\"static/chunks/505c7712-0c24a53e04230ea7.js\",\"6435\",\"static/chunks/325a3484-c4849768e3512277.js\",\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"7156\",\"static/chunks/7156-9bff361e032a7906.js\",\"8225\",\"static/chunks/8225-4655c2b7b7e84b86.js\",\"7368\",\"static/chunks/7368-36239cc62a8bcd45.js\",\"3819\",\"static/chunks/3819-665b50f4dc3af9e2.js\",\"878\",\"static/chunks/878-dcbd588adc2102fa.js\",\"8132\",\"static/chunks/8132-466a3fea8940c114.js\",\"9202\",\"static/chunks/9202-9a33f968862439f5.js\",\"2073\",\"static/chunks/2073-85e9695b8754ccd4.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"4304\",\"static/chunks/4304-ee72ac41d1513389.js\",\"2762\",\"static/chunks/2762-e6982806b63ccb64.js\",\"8924\",\"static/chunks/8924-685d2215bfd7204e.js\",\"3995\",\"static/chunks/3995-efb3b8f34f1a5a8f.js\",\"3045\",\"static/chunks/3045-a957e615254f5059.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-1c84d9542b3d194e.js\"],\"TooltipProvider\"]\n14:I[74179,[\"5883\",\"static/chunks/505c7712-0c24a53e04230ea7.js\",\"6435\",\"static/chunks/325a3484-c4849768e3512277.js\",\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"7156\",\"static/chunks/7156-9bff361e032a7906.js\",\"8225\",\"static/chunks/8225-4655c2b7b7e84b86.js\",\"7368\",\"static/chunks/7368-36239cc62a8bcd45.js\",\"3819\",\"static/chunks/3819-665b50f4dc3af9e2.js\",\"878\",\"static/chunks/878-dcbd588adc2102fa.js\",\"8132\",\"static/chunks/8132-466a3fea8940c114.js\",\"9202\",\"static/chunks/9202-9a33f968862439f5.js\",\"2073\",\"static/chunks/2073-85e9695b8754ccd4.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"4304\",\"static/chunks/4304-ee72ac41d1513389.js\",\"2762\",\"static/chunks/2762-e6982806b63ccb64.js\",\"8924\",\"static/chunks/8924-685d2215bfd7204e.js\",\"3995\",\"static/chunks/3995-efb3b8f34f1a5a8f.js\",\"3045\",\"static/chunks/3045-a957e615254f5059.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-1c84d9542b3d194e.js\"],\"default\"]\n15:I[20009,[\"5883\",\"static/chunks/505c7712-0c24a53e04230ea7.js\",\"6435\",\"static/chunks/325a3484-c4849768e3512277.js\",\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"7156\",\"static/chunks/7156-9bff361e032a7906.js\",\"8225\",\"static/chunks/8225-465"])</script><script>self.__next_f.push([1,"5c2b7b7e84b86.js\",\"7368\",\"static/chunks/7368-36239cc62a8bcd45.js\",\"3819\",\"static/chunks/3819-665b50f4dc3af9e2.js\",\"878\",\"static/chunks/878-dcbd588adc2102fa.js\",\"8132\",\"static/chunks/8132-466a3fea8940c114.js\",\"9202\",\"static/chunks/9202-9a33f968862439f5.js\",\"2073\",\"static/chunks/2073-85e9695b8754ccd4.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"4304\",\"static/chunks/4304-ee72ac41d1513389.js\",\"2762\",\"static/chunks/2762-e6982806b63ccb64.js\",\"8924\",\"static/chunks/8924-685d2215bfd7204e.js\",\"3995\",\"static/chunks/3995-efb3b8f34f1a5a8f.js\",\"3045\",\"static/chunks/3045-a957e615254f5059.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-1c84d9542b3d194e.js\"],\"default\",1]\n16:I[9392,[\"8039\",\"static/chunks/app/error-c46d1b03d5e3289c.js\"],\"default\"]\n17:I[79726,[\"5883\",\"static/chunks/505c7712-0c24a53e04230ea7.js\",\"6435\",\"static/chunks/325a3484-c4849768e3512277.js\",\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"7156\",\"static/chunks/7156-9bff361e032a7906.js\",\"8225\",\"static/chunks/8225-4655c2b7b7e84b86.js\",\"7368\",\"static/chunks/7368-36239cc62a8bcd45.js\",\"3819\",\"static/chunks/3819-665b50f4dc3af9e2.js\",\"878\",\"static/chunks/878-dcbd588adc2102fa.js\",\"8132\",\"static/chunks/8132-466a3fea8940c114.js\",\"9202\",\"static/chunks/9202-9a33f968862439f5.js\",\"2073\",\"static/chunks/2073-85e9695b8754ccd4.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"4304\",\"static/chunks/4304-ee72ac41d1513389.js\",\"2762\",\"static/chunks/2762-e6982806b63ccb64.js\",\"8924\",\"static/chunks/8924-685d2215bfd7204e.js\",\"3995\",\"static/chunks/3995-efb3b8f34f1a5a8f.js\",\"3045\",\"static/chunks/3045-a957e615254f5059.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-1c84d9542b3d194e.js\"],\"default\"]\n18:I[28632,[\"5883\",\"static/chunks/505c7712-0c24a53e04230ea7.js\",\"6435\",\"static/chunks/325a3484-c4849768e3512277.js\",\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"7156\",\"static/chunks/7156-9bff361e032a7906.js\",\"8225\",\"static/chunks/8225-4655c2b7b7e84b86.js\",\"7368\",\"static/chunks/7368-36239cc62a8bcd45.js\",\"3819\",\"static/chunks/3819-665b50f4dc3af9e2.js\",\"878\",\"static/chunks/878-dcbd588adc2102fa.js\",\"8132\",\"static/chunks/8132-466a3fea8940c114.js\",\"9202\",\"static/chunks/9202-9a33f968862439f5.js\",\"2073\",\"static/chunks/2073-85e9695b8754ccd4.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"4304\",\"static/chunks/4304-ee72ac41d1513389.js\",\"2762\",\"static/chunks/2762-e6982806b63ccb64.js\",\"8924\",\"static/chunks/8924-685d2215bfd7204e.js\",\"3995\",\"static/chunks/3995-efb3b8f34f1a5a8f.js\",\"3045\",\"static/chunks/3045-a957e615254f5059.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-1c84d9542b3d194e.js\"],\"default\"]\n19:I[80250,[\"5883\",\"static/chunks/505c7712-0c24a53e04230ea7.js\",\"6435\",\"static/chunks/325a3484-c4849768e3512277.js\",\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"7156\",\"static/chunks/7156-9bff361e032a7906.js\",\"8225\",\"static/chunks/8225-4655c2b7b7e84b86.js\",\"7368\",\"static/chunks/7368-36239cc62a8bcd45.js\",\"3819\",\"static/chunks/3819-665b50f4dc3af9e2.js\",\"878\",\"static/chunks/878-dcbd588adc2102fa.js\",\"8132\",\"static/chunks/8132-466a3fea8940c114.js\",\"9202\",\"static/chunks/9202-9a33f968862439f5.js\",\"2073\",\"static/chunks/2073-85e9695b8754ccd4.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"4304\",\"static/chunks/4304-ee72ac41d1513389.js\",\"2762\",\"static/chunks/2762-e6982806b63ccb64.js\",\"8924\",\"static/chunks/8924-685d2215bfd7204e.js\",\"3995\",\"static/chunks/3995-efb3b8f34f1a5a8f.js\",\"3045\",\"static/chunks/3045-a957e615254f5059.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static"])</script><script>self.__next_f.push([1,"/chunks/app/layout-1c84d9542b3d194e.js\"],\"default\"]\n1a:I[98163,[\"5883\",\"static/chunks/505c7712-0c24a53e04230ea7.js\",\"6435\",\"static/chunks/325a3484-c4849768e3512277.js\",\"3940\",\"static/chunks/3940-5473abef004ec592.js\",\"2130\",\"static/chunks/2130-8604144349838fa9.js\",\"7156\",\"static/chunks/7156-9bff361e032a7906.js\",\"8225\",\"static/chunks/8225-4655c2b7b7e84b86.js\",\"7368\",\"static/chunks/7368-36239cc62a8bcd45.js\",\"3819\",\"static/chunks/3819-665b50f4dc3af9e2.js\",\"878\",\"static/chunks/878-dcbd588adc2102fa.js\",\"8132\",\"static/chunks/8132-466a3fea8940c114.js\",\"9202\",\"static/chunks/9202-9a33f968862439f5.js\",\"2073\",\"static/chunks/2073-85e9695b8754ccd4.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"4304\",\"static/chunks/4304-ee72ac41d1513389.js\",\"2762\",\"static/chunks/2762-e6982806b63ccb64.js\",\"8924\",\"static/chunks/8924-685d2215bfd7204e.js\",\"3995\",\"static/chunks/3995-efb3b8f34f1a5a8f.js\",\"3045\",\"static/chunks/3045-a957e615254f5059.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-1c84d9542b3d194e.js\"],\"default\"]\n1b:I[28169,[],\"IconMark\"]\n:HL[\"/_next/static/css/67a9446950c3630b.css\",\"style\"]\n:HL[\"/_next/static/css/599369d853c61df7.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"QRVhXGG4IotxFfmor1t55\",\"c\":[\"\",\"wiki\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"wiki\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/67a9446950c3630b.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/599369d853c61df7.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],\"$L2\"]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L5\",null,{\"spaces\":[],\"recent\":[{\"path\":\"README.md\",\"mtime\":1779094089532.38}]}],null,[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$7\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@8\"}]}]]}],{},null,false,false]},null,false,false]},[[\"$\",\"div\",\"l\",{\"className\":\"content-width px-4 md:px-6 py-10 md:py-14 animate-pulse\",\"aria-busy\":\"true\",\"aria-label\":\"Loading\",\"children\":[[\"$\",\"div\",null,{\"className\":\"mb-10\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center gap-3 mb-2\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-1 h-7 rounded-full bg-muted\"}],[\"$\",\"div\",null,{\"className\":\"h-6 w-28 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"h-4 w-64 bg-muted rounded ml-4 mb-6\"}],[\"$\",\"div\",null,{\"className\":\"w-full max-w-xl flex flex-col sm:flex-row items-stretch sm:items-center gap-2 ml-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex-1 h-12 rounded-xl bg-muted\"}],[\"$\",\"div\",null,{\"className\":\"h-12 w-16 rounded-xl bg-muted shrink-0\"}]]}],[\"$\",\"div\",null,{\"className\":\"flex items-center gap-3 mt-4 ml-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-9 w-28 rounded-lg bg-muted\"}],[\"$\",\"div\",null,{\"className\":\"h-9 w-40 rounded-lg bg-muted\"}]]}]]}],[\"$\",\"div\",null,{\"className\":\"mb-10\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2 mb-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-4 h-4 rounded bg-muted\"}],[\"$\",\"div\",null,{\"className\":\"h-4 w-16 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"grid grid-cols-2 sm:grid-cols-3 gap-2\",\"children\":[[\"$\",\"div\",\"0\",{\"className\":\"flex items-start gap-3 px-3.5 py-3 rounded-xl border border-border\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-5 h-5 rounded bg-muted shrink-0 mt-0.5\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-20 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-full bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded\"}]]}]]}],[\"$\",\"div\",\"1\",{\"className\":\"flex items-start gap-3 px-3.5 py-3 rounded-xl border border-border\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-5 h-5 rounded bg-muted shrink-0 mt-0.5\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-20 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-full bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded\"}]]}]]}],[\"$\",\"div\",\"2\",{\"className\":\"flex items-start gap-3 px-3.5 py-3 rounded-xl border border-border\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-5 h-5 rounded bg-muted shrink-0 mt-0.5\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-20 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-full bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded\"}]]}]]}],[\"$\",\"div\",\"3\",{\"className\":\"flex items-start gap-3 px-3.5 py-3 rounded-xl border border-border\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-5 h-5 rounded bg-muted shrink-0 mt-0.5\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-20 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-full bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded\"}]]}]]}],[\"$\",\"div\",\"4\",{\"className\":\"flex items-start gap-3 px-3.5 py-3 rounded-xl border border-border\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-5 h-5 rounded bg-muted shrink-0 mt-0.5\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-20 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-full bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded\"}]]}]]}],[\"$\",\"div\",\"5\",{\"className\":\"flex items-start gap-3 px-3.5 py-3 rounded-xl border border-border\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-5 h-5 rounded bg-muted shrink-0 mt-0.5\"}],\"$L9\"]}]]}]]}],\"$La\"]}],[],[]],false,false],\"$Lb\",false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":false}\n"])</script><script>self.__next_f.push([1,"9:[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-20 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-full bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded\"}]]}]\n"])</script><script>self.__next_f.push([1,"a:[\"$\",\"div\",null,{\"className\":\"mb-10\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2 mb-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-4 h-4 rounded bg-muted\"}],[\"$\",\"div\",null,{\"className\":\"h-4 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"flex flex-col gap-3\",\"children\":[[\"$\",\"div\",\"0\",{\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2 px-1 py-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-4 h-4 rounded bg-muted\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"flex flex-col gap-0.5 ml-2 border-l border-border/40 pl-3\",\"children\":[[\"$\",\"div\",\"0\",{\"className\":\"flex items-center gap-3 px-3 py-2\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-3 h-3 rounded bg-muted shrink-0\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-40 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded shrink-0\"}]]}],[\"$\",\"div\",\"1\",{\"className\":\"flex items-center gap-3 px-3 py-2\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-3 h-3 rounded bg-muted shrink-0\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-40 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded shrink-0\"}]]}]]}]]}],[\"$\",\"div\",\"1\",{\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2 px-1 py-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-4 h-4 rounded bg-muted\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"flex flex-col gap-0.5 ml-2 border-l border-border/40 pl-3\",\"children\":[[\"$\",\"div\",\"0\",{\"className\":\"flex items-center gap-3 px-3 py-2\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-3 h-3 rounded bg-muted shrink-0\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-40 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded shrink-0\"}]]}],[\"$\",\"div\",\"1\",{\"className\":\"flex items-center gap-3 px-3 py-2\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-3 h-3 rounded bg-muted shrink-0\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-40 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded shrink-0\"}]]}]]}]]}],[\"$\",\"div\",\"2\",{\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2 px-1 py-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-4 h-4 rounded bg-muted\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"flex flex-col gap-0.5 ml-2 border-l border-border/40 pl-3\",\"children\":[[\"$\",\"div\",\"0\",{\"className\":\"flex items-center gap-3 px-3 py-2\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-3 h-3 rounded bg-muted shrink-0\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-40 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded shrink-0\"}]]}],[\"$\",\"div\",\"1\",{\"className\":\"flex items-center gap-3 px-3 py-2\",\"children\":[[\"$\",\"div\",null,{\"className\":\"w-3 h-3 rounded bg-muted shrink-0\"}],[\"$\",\"div\",null,{\"className\":\"flex-1 space-y-1\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-4 w-40 bg-muted rounded\"}],[\"$\",\"div\",null,{\"className\":\"h-3 w-24 bg-muted rounded\"}]]}],[\"$\",\"div\",null,{\"className\":\"h-3 w-12 bg-muted rounded shrink-0\"}]]}]]}]]}]]}]]}]\n"])</script><script>self.__next_f.push([1,"b:[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Ld\",null,{\"children\":\"$Le\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lf\",null,{\"children\":[\"$\",\"$7\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L10\"}]}]}],null]}]\n11:T499,(function(){try{var s=localStorage.getItem('theme');var dark=s\u0026\u0026s!=='system'?s==='dark':window.matchMedia('(prefers-color-scheme: dark)').matches;document.documentElement.classList.toggle('dark',dark);document.documentElement.style.backgroundColor=dark?'#131210':'#f8f6f1';document.documentElement.style.color=dark?'#e8e4dc':'#1c1a17';var cw=localStorage.getItem('content-width');if(cw)document.documentElement.style.setProperty('--content-width-override',cw);var pf=localStorage.getItem('prose-font');if(!pf){pf='inter';localStorage.setItem('prose-font','inter')}if(pf==='geist'){pf='inter';localStorage.setItem('prose-font','inter')}var fm={lora:'\"Lora\", Georgia, serif','ibm-plex-sans':'\"IBM Plex Sans\", sans-serif',inter:'var(--font-inter), sans-serif','ibm-plex-mono':'\"IBM Plex Mono\", monospace'};if(pf\u0026\u0026fm[pf])document.documentElement.style.setProperty('--prose-font-override',fm[pf]);var loc=localStorage.getItem('locale')||'system';var rl=loc==='system'?(navigator.language.startsWith('zh')?'zh':'en'):loc;window.__mindos_locale__=rl;document.documentElement.lang=rl==='zh'?'zh':'en';document.cookie='locale='+rl+';path=/;max-age=31536000;SameSite=Lax'}catch(e){}})();"])</script><script>self.__next_f.push([1,"2:[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"style\":{\"backgroundColor\":\"#f8f6f1\",\"color\":\"#1c1a17\"},\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"meta\",null,{\"name\":\"theme-color\",\"content\":\"#c8873a\"}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){if(typeof Node!=='undefined'){var o=Node.prototype.removeChild;Node.prototype.removeChild=function(c){if(c.parentNode!==this){try{return o.call(c.parentNode,c)}catch(e){return c}}return o.call(this,c)};var i=Node.prototype.insertBefore;Node.prototype.insertBefore=function(n,r){if(r\u0026\u0026r.parentNode!==this){try{return i.call(r.parentNode,n,r)}catch(e){return i.call(this,n,null)}}return i.call(this,n,r)}}})();\"}}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{if(/electron/i.test(navigator.userAgent)\u0026\u0026/macintosh/i.test(navigator.userAgent)){document.documentElement.setAttribute('data-electron-mac','')}}catch(e){}})();\"}}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"$11\"}}]]}],[\"$\",\"body\",null,{\"className\":\"antialiased bg-background text-foreground\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"$L12\",null,{\"ssrLocale\":\"en\"}],[\"$\",\"$L13\",null,{\"delay\":300,\"children\":[\"$\",\"$L14\",null,{\"children\":[\"$\",\"$L15\",null,{\"fileTree\":[{\"name\":\"README.md\",\"path\":\"README.md\",\"type\":\"file\",\"extension\":\".md\"}],\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$16\",\"errorStyles\":[],\"errorScripts\":[],\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}],[\"$\",\"$L17\",null,{}],[\"$\",\"$L18\",null,{}],[\"$\",\"$L19\",null,{}],[\"$\",\"$L1a\",null,{}]]}]]}]\n"])</script><script>self.__next_f.push([1,"e:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, viewport-fit=cover\"}]]\n8:null\n10:[[\"$\",\"title\",\"0\",{\"children\":\"MindOS\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Personal knowledge base\"}],[\"$\",\"link\",\"2\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"meta\",\"3\",{\"name\":\"mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"4\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"5\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"black-translucent\"}],[\"$\",\"link\",\"6\",{\"rel\":\"icon\",\"href\":\"/logo-square.svg\"}],[\"$\",\"link\",\"7\",{\"rel\":\"apple-touch-icon\",\"href\":\"/icons/icon-192.png\"}],[\"$\",\"$L1b\",\"8\",{}]]\n"])</script></body></html>
@@ -1 +0,0 @@
1
- "use strict";exports.id=6343,exports.ids=[6343],exports.modules={35227:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(55168).A)("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]])},70288:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(55168).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},77164:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(55168).A)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]])},84030:(a,b,c)=>{c.d(b,{default:()=>O});var d=c(72269),e=c(78520),f=c(23104),g=c.n(f),h=c(35959),i=c(70288),j=c(69733),k=c(77164),l=c(53679),m=c(69050),n=c(10777),o=c(31448),p=c(23095),q=c(46258),r=c(67677),s=c(35227),t=c(55168);let u=(0,t.A)("list-checks",[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]]);var v=c(77949),w=c(18295),x=c(90697);let y=(0,t.A)("file-code",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]]);var z=c(55433),A=c(34623),B=c(81644),C=c(32068),D=c(83614),E=c(63301),F=c(55231),G=c(74569),H=c(33659),I=c(76867),J=c(51522),K=c(75004),L=c(96458);let M={md:{bg:"bg-blue-500/10",text:"text-blue-500/70"},txt:{bg:"bg-muted/50",text:"text-muted-foreground/60"},csv:{bg:"bg-emerald-500/10",text:"text-emerald-500/70"},json:{bg:"bg-violet-500/10",text:"text-violet-500/70"},pdf:{bg:"bg-error/10",text:"text-error/60"}};function N(a){let b=a.lastIndexOf(".");return b>0?a.slice(b+1).toLowerCase():""}function O(){let{t:a}=(0,H.Y)(),b=(0,h.useRouter)(),[c,f]=(0,e.useState)([]),[t,x]=(0,e.useState)(!0),[y,z]=(0,e.useState)(!1),[A,B]=(0,e.useState)(!1),[C,D]=(0,e.useState)([]),[E,F]=(0,e.useState)(""),[M,O]=(0,e.useState)("source"),[Q,Y]=(0,e.useState)([]),[Z,$]=(0,e.useState)([]),[_,aa]=(0,e.useState)(!1),[ab,ac]=(0,e.useState)(null),ad=(0,e.useRef)(null),ae=(0,e.useRef)(0),af=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/inbox");if(!a.ok)return;let b=await a.json();Array.isArray(b.files)&&f(b.files)}catch(a){console.warn("[InboxView] fetch failed:",a)}finally{x(!1)}},[]),ag=(0,e.useCallback)(()=>{D((0,K.FB)())},[]),ah=(0,e.useRef)(void 0);(0,e.useCallback)(()=>{clearTimeout(ah.current),ah.current=setTimeout(()=>{af(),ag()},80)},[af,ag]);let ai=(0,e.useCallback)(()=>{0===c.length||y||(z(!0),window.dispatchEvent(new CustomEvent("mindos:inbox-organize",{detail:{files:c}})))},[c,y]),aj=(0,e.useCallback)(async b=>{try{if(!(await fetch("/api/inbox",{method:"DELETE",headers:{"Content-Type":"application/json"},body:JSON.stringify({names:[b]})})).ok)throw Error("Failed to delete");f(a=>a.filter(a=>a.name!==b)),window.dispatchEvent(new Event("mindos:inbox-updated")),G.oR.success(a.inbox.fileRemoved)}catch{G.oR.error(a.inbox.fileRemoveFailed)}},[a]),ak=(0,e.useCallback)(a=>{a&&0!==a.length&&(Y(b=>{let c=new Set(b.map(a=>`${a.name}:${a.size}:${a.lastModified}`)),d=[...b];for(let b of Array.from(a)){let a=`${b.name}:${b.size}:${b.lastModified}`;c.has(a)||d.push(b)}return d}),ad.current&&(ad.current.value=""))},[]),al=(0,e.useCallback)(a=>{let b=a.trim();return!!(0,J.h0)(b)&&($(a=>a.includes(b)?a:[...a,b]),!0)},[]),am=(0,e.useCallback)(async()=>{let b=E.trim();if((b||0!==Q.length||0!==Z.length)&&!_){aa(!0);try{if(b){var c,d;let a,e,f=(c=b,d=M,a=(c.split(/\r?\n/).find(a=>a.trim())?.trim()??"capture").replace(/^#+\s*/,"").replace(/[`*_~[\]()#>]/g,"").replace(/\s+/g,"-").replace(/[^a-zA-Z0-9\u4e00-\u9fff-]/g,"").replace(/-+/g,"-").replace(/^-|-$/g,"").slice(0,48),e=new Date().toISOString().replace(/[-:]/g,"").replace(/\.\d{3}Z$/,"").replace("T","-"),`capture-${d}-${e}-${a||"note"}.md`);if(!(await fetch("/api/inbox",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({source:"text",captureIntent:M,files:[{name:f,content:b,encoding:"text"}]})})).ok)throw Error("Failed to save text")}for(let b of Z)await (0,J.TM)(b,a);Q.length>0&&await (0,J.QL)(Q,a),F(""),$([]),Y([]),await af(),window.dispatchEvent(new Event("mindos:inbox-updated")),b&&0===Z.length&&0===Q.length&&G.oR.success(a.inbox.textSaved,3e3)}catch{G.oR.error(a.inbox.saveFailed,4e3)}finally{aa(!1)}}},[E,Q,Z,M,_,af,a]),an=(0,e.useCallback)(a=>{let b=a.clipboardData.files;if(b.length>0){a.preventDefault(),ak(b);return}let c=a.clipboardData.getData("text/plain").trim();c&&(0,J.h0)(c)&&(a.preventDefault(),al(c))},[ak,al]),ao=(0,e.useCallback)(a=>{a.preventDefault(),a.stopPropagation(),ae.current=0,B(!1);let b=(0,J.Aw)(a.nativeEvent);b?al(b):a.dataTransfer.files.length>0&&ak(Array.from(a.dataTransfer.files))},[ak,al]),ap=(0,e.useMemo)(()=>c.filter(a=>a.isAging).length,[c]),aq=c.length>0,ar=(0,e.useMemo)(()=>c.find(a=>a.path===ab)??c[0]??null,[c,ab]),as=(0,e.useMemo)(()=>{var b,c,d,e;let f,g,h,i,j;return ar?(b=ar,c=a.inbox,d=M,f=N(b.name),g=b.name.toLowerCase(),h=U(c).find(a=>a.id===d),i=h?.density??c.typeRawNote,j=[f?`.${f}`:"no extension",b.isAging?"aged 7+ days":"fresh capture",h?.title??c.intentSourceTitle],(e=g,/article|url|web|clip|wechat|公众号|mp.weixin|小红书|link|reference|ref/.test(e))?{type:c.typeArticle,target:c.targetResearch,reason:c.reasonArticle,signals:[...j,"external source"],density:i}:/meeting|interview|访谈|会议|notes?/.test(g)?{type:c.typeMeeting,target:c.targetMeetings,reason:c.reasonMeeting,signals:[...j,"discussion record"],density:i}:/decision|adr|rule|preference|判断|决策|规则|偏好/.test(g)?{type:c.typeDecision,target:c.targetDecisions,reason:c.reasonDecision,signals:[...j,"judgment candidate"],density:i}:"csv"===f||"json"===f||"yaml"===f||"yml"===f?{type:c.typeData,target:c.targetData,reason:c.reasonData,signals:[...j,"structured"],density:i}:"pdf"===f||"docx"===f||"doc"===f||"docm"===f?{type:c.typeDocument,target:c.targetResearch,reason:c.reasonDocument,signals:[...j,"long-form"],density:i}:{type:c.typeRawNote,target:c.targetInboxReview,reason:c.reasonRawNote,signals:j,density:i}):null},[ar,M,a]),at=(0,e.useMemo)(()=>U(a.inbox),[a]),au=at.find(a=>a.id===M)??at[0],av=(0,e.useMemo)(()=>{var a,b,c;let d,e,f;return a=E,b=Z,c=Q,d=a.toLowerCase(),e=V(a),f=c.map(a=>a.name.toLowerCase()).join(" "),/decision|rule|preference|principle|judgment|sop|should|must|判断|决策|规则|偏好|原则|方法|以后|不要|必须/.test(d)?"judgment":/reflect|reflection|why|pattern|blind spot|growth|lesson|复盘|反思|成长|盲区|模式|我发现/.test(d)?"reflect":b.length>0||e>80||/\.(pdf|docx?|md|html?)\b/.test(f)?"note":"source"},[E,Z,Q]),aw=at.find(a=>a.id===av)??at[0],ax=E.trim().length>0||Q.length>0||Z.length>0,ay=V(E),az=(0,e.useMemo)(()=>C.slice(0,5),[C]),[aA,aB]=(0,e.useState)(!0);return((0,e.useRef)(0),t)?(0,d.jsxs)("div",{className:"flex flex-col min-h-screen",children:[(0,d.jsx)("div",{className:"sticky top-[52px] md:top-0 z-20 border-b border-border h-[46px] flex items-center bg-background",children:(0,d.jsx)("div",{className:"w-full px-4 md:px-6 flex items-center justify-between",children:(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"h-5 w-5 bg-muted rounded animate-pulse"}),(0,d.jsx)("div",{className:"h-5 w-32 bg-muted rounded animate-pulse"})]})})}),(0,d.jsx)("div",{className:"flex-1 px-4 md:px-6 py-8",children:(0,d.jsx)("div",{className:"max-w-[780px] mx-auto space-y-3",children:[void 0,void 0,void 0,void 0].map((a,b)=>(0,d.jsx)("div",{className:"h-12 bg-muted/40 rounded-lg animate-pulse"},b))})})]}):(0,d.jsxs)("div",{className:"flex flex-col min-h-screen",children:[(0,d.jsx)("input",{ref:ad,type:"file",multiple:!0,accept:L.u3,className:"hidden",onChange:a=>ak(a.target.files)}),(0,d.jsx)("div",{className:"sticky top-[52px] md:top-0 z-20 border-b border-border h-[46px] flex items-center bg-background",children:(0,d.jsxs)("div",{className:"w-full px-4 md:px-6 flex items-center justify-between",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 min-w-0",children:[(0,d.jsx)("button",{onClick:()=>b.push("/wiki"),className:"p-1.5 -ml-1.5 rounded-lg text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:"Back",children:(0,d.jsx)(i.A,{size:16})}),(0,d.jsxs)("div",{className:"flex items-center gap-2.5 min-w-0",children:[(0,d.jsx)("div",{className:"flex items-center justify-center w-7 h-7 rounded-lg bg-[var(--amber-subtle)] text-[var(--amber)] shrink-0",children:(0,d.jsx)(j.A,{size:15})}),(0,d.jsx)("h1",{className:"text-sm font-semibold text-foreground tracking-tight leading-tight shrink-0",children:a.inbox.title}),aq&&(0,d.jsxs)("span",{className:"text-2xs text-muted-foreground/60 leading-tight shrink-0",children:[a.inbox.fileCount(c.length),ap>0&&(0,d.jsxs)("span",{className:"text-[var(--amber)]/70",children:[" \xb7 ",ap," ",a.inbox.agingHint]})]})]})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2 shrink-0",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>ad.current?.click(),className:"flex items-center gap-1.5 px-2.5 py-1.5 text-xs rounded-lg transition-colors text-muted-foreground hover:text-foreground hover:bg-muted",title:a.inbox.uploadButton,children:[(0,d.jsx)(k.A,{size:13}),(0,d.jsx)("span",{className:"hidden sm:inline",children:a.inbox.uploadButton})]}),aq&&(0,d.jsxs)("button",{onClick:ai,disabled:y,className:"flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-lg transition-all bg-[var(--amber)] text-[var(--amber-foreground)] hover:opacity-90 disabled:opacity-50 disabled:cursor-not-allowed",title:y?a.inbox.organizing:a.inbox.organizeButton,children:[y?(0,d.jsx)(l.A,{size:13,className:"animate-spin"}):(0,d.jsx)(m.A,{size:13}),(0,d.jsx)("span",{children:y?a.inbox.organizing:a.inbox.organizeButton})]})]})]})}),(0,d.jsx)("div",{className:"flex-1 px-4 md:px-6 py-6",children:(0,d.jsxs)("div",{className:"mx-auto max-w-[1180px] space-y-5",children:[(0,d.jsx)("div",{className:"max-w-2xl",children:(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-2xs font-medium uppercase tracking-wider text-[var(--amber)]/80",children:"Capture now, organize later"}),(0,d.jsx)("h2",{className:"mt-1 text-xl font-semibold tracking-tight text-foreground",children:a.inbox.quickCaptureTitle}),(0,d.jsx)("p",{className:"mt-1 max-w-2xl text-sm leading-relaxed text-muted-foreground",children:a.inbox.subtitle})]})}),(0,d.jsxs)("div",{className:"grid gap-5 xl:grid-cols-[minmax(0,1.08fr)_360px]",children:[(0,d.jsxs)("div",{className:"space-y-5",children:[(0,d.jsx)("div",{className:`overflow-hidden rounded-xl border bg-card/40 shadow-sm transition-all duration-200 ${A?"border-[var(--amber)] bg-[var(--amber-subtle)] shadow-[inset_0_0_0_1px_var(--amber)]":"border-border/60"}`,onDragEnter:a=>{let b=a.dataTransfer.types.includes("Files"),c=(0,J.lL)(a.nativeEvent);(b||c)&&(a.preventDefault(),a.stopPropagation(),ae.current++,1===ae.current&&B(!0))},onDragOver:a=>{let b=a.dataTransfer.types.includes("Files"),c=(0,J.lL)(a.nativeEvent);(b||c)&&(a.preventDefault(),a.stopPropagation())},onDragLeave:a=>{a.stopPropagation(),ae.current=Math.max(0,ae.current-1),0===ae.current&&B(!1)},onDrop:ao,children:(0,d.jsxs)("div",{className:"p-4",children:[(0,d.jsxs)("div",{className:"mb-3 flex flex-col gap-2 lg:flex-row lg:items-start lg:justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(n.A,{size:15,className:"text-[var(--amber)]"}),(0,d.jsx)("h3",{className:"text-sm font-semibold text-foreground",children:a.inbox.quickCaptureTitle}),(0,d.jsx)("span",{className:"rounded-full bg-muted px-2 py-0.5 text-2xs font-medium text-muted-foreground",children:au.title})]}),(0,d.jsx)("p",{className:"mt-1 text-xs leading-relaxed text-muted-foreground",children:a.inbox.composerHint})]}),(0,d.jsxs)("span",{className:"w-fit rounded-md bg-[var(--amber-subtle)] px-2 py-1 text-2xs font-medium text-[var(--amber)]",children:[a.inbox.densityTitle,": ",au.density]})]}),(0,d.jsxs)("div",{className:`rounded-xl border bg-background transition-colors ${A?"border-[var(--amber)] bg-[var(--amber-subtle)]":"border-border/70"}`,children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2 border-b border-border/50 px-3 py-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(o.A,{size:14,className:"text-[var(--amber)]"}),(0,d.jsx)("span",{className:"text-xs font-semibold text-foreground",children:a.inbox.composerTitle})]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("label",{htmlFor:"capture-next-action",className:"text-2xs font-medium uppercase tracking-wider text-muted-foreground/55",children:a.inbox.nextActionTitle}),(0,d.jsx)("select",{id:"capture-next-action",value:M,onChange:a=>O(a.target.value),className:"h-8 rounded-md border border-border bg-card px-2 pr-7 text-xs font-medium text-foreground outline-none transition-colors hover:bg-muted/40 focus-visible:ring-2 focus-visible:ring-ring",children:at.map(a=>(0,d.jsx)("option",{value:a.id,children:a.title},a.id))})]})]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 border-b border-border/40 px-3 py-2 text-2xs text-muted-foreground/60",children:[(0,d.jsx)("span",{children:a.inbox.suggestedAction(aw.title)}),(0,d.jsxs)("span",{children:[a.inbox.densityTitle,": ",au.density]}),(0,d.jsx)("span",{className:"hidden sm:inline",children:a.inbox.composerPlaceholder})]}),(0,d.jsx)("textarea",{value:E,onChange:a=>F(a.target.value),onPaste:an,placeholder:a.inbox.composerPlaceholder,className:"min-h-[180px] w-full resize-y bg-transparent px-3 py-3 text-sm leading-relaxed text-foreground outline-none placeholder:text-muted-foreground/35 focus-visible:ring-0"}),(E.trim()||Z.length>0||Q.length>0)&&(0,d.jsxs)("div",{className:"flex flex-wrap gap-1.5 border-t border-border/40 px-3 py-2",children:[E.trim()&&(0,d.jsx)(T,{icon:(0,d.jsx)(p.A,{size:12}),label:a.inbox.signalText,detail:a.inbox.pendingText(ay),onRemove:()=>F("")}),Z.map(b=>(0,d.jsx)(T,{icon:(0,d.jsx)(q.A,{size:12}),label:a.inbox.pendingUrl,detail:function(a){try{let b=new URL(a),c=b.pathname.replace(/\/$/,""),d=`${b.hostname}${c}`;return d.length>42?`${d.slice(0,39)}...`:d}catch{return a.length>42?`${a.slice(0,39)}...`:a}}(b),onRemove:()=>$(a=>a.filter(a=>a!==b))},b)),Q.map(b=>(0,d.jsx)(T,{icon:(0,d.jsx)(r.A,{size:12}),label:a.inbox.pendingFile,detail:`${b.name} \xb7 ${W(b.size)}`,onRemove:()=>Y(a=>a.filter(a=>a!==b))},`${b.name}:${b.size}:${b.lastModified}`))]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2 border-t border-border/50 px-3 py-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,d.jsxs)("div",{className:"flex flex-wrap gap-1.5",children:[(0,d.jsx)("span",{className:"rounded px-1.5 py-px text-2xs font-medium text-muted-foreground/55",children:a.inbox.composerDetected}),L.$v.map(a=>(0,d.jsx)("span",{className:"rounded bg-muted/50 px-1.5 py-px text-2xs font-medium text-muted-foreground/60",title:a.examples,children:a.label},a.kind))]}),(0,d.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[ax&&(0,d.jsx)("button",{type:"button",onClick:()=>{F(""),Y([]),$([])},className:"rounded-lg px-2.5 py-2 text-xs font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",children:a.inbox.clearComposer}),(0,d.jsxs)("button",{type:"button",onClick:()=>ad.current?.click(),className:"flex items-center gap-1.5 rounded-lg border border-border bg-card px-3 py-2 text-xs font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",children:[(0,d.jsx)(r.A,{size:13}),a.inbox.attachButton]}),(0,d.jsxs)("button",{type:"button",onClick:am,disabled:!ax||_,className:"flex items-center gap-1.5 rounded-lg bg-[var(--amber)] px-3 py-2 text-xs font-medium text-[var(--amber-foreground)] transition-opacity hover:opacity-90 disabled:cursor-not-allowed disabled:opacity-45",children:[_?(0,d.jsx)(l.A,{size:13,className:"animate-spin"}):(0,d.jsx)(s.A,{size:13}),_?a.inbox.savingText:a.inbox.captureButton]})]})]})]})]})}),(0,d.jsxs)("section",{className:"rounded-xl border border-border/60 bg-card/40 shadow-sm",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-3 border-b border-border/50 px-4 py-3",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(u,{size:15,className:"text-[var(--amber)]"}),(0,d.jsx)("h3",{className:"text-sm font-semibold text-foreground",children:a.inbox.queueTitle}),aq&&(0,d.jsx)("span",{className:"rounded-full bg-muted px-2 py-0.5 text-2xs font-medium text-muted-foreground",children:a.inbox.fileCount(c.length)})]}),aq&&(0,d.jsxs)("button",{type:"button",onClick:ai,disabled:y,className:"flex items-center gap-1.5 rounded-lg bg-[var(--amber)] px-3 py-1.5 text-xs font-medium text-[var(--amber-foreground)] transition-opacity hover:opacity-90 disabled:cursor-not-allowed disabled:opacity-50",children:[y?(0,d.jsx)(l.A,{size:13,className:"animate-spin"}):(0,d.jsx)(m.A,{size:13}),y?a.inbox.organizing:a.inbox.organizeButton]})]}),aq?(0,d.jsx)("div",{className:"divide-y divide-border/50",children:c.map((a,b)=>(0,d.jsx)(P,{file:a,index:b,animate:aA,selected:ar?.path===a.path,onSelect:()=>ac(a.path),onDelete:aj},a.path))}):(0,d.jsxs)("div",{className:"px-4 py-10 text-center",children:[(0,d.jsx)("p",{className:"text-sm font-medium text-foreground/70",children:a.inbox.queueEmptyTitle}),(0,d.jsx)("p",{className:"mt-1 text-xs text-muted-foreground/55",children:a.inbox.queueEmptyDesc})]})]}),az.length>0&&(0,d.jsxs)("section",{children:[(0,d.jsxs)("div",{className:"mb-3 flex items-center gap-2",children:[(0,d.jsx)(v.A,{size:12,className:"text-muted-foreground/40"}),(0,d.jsx)("span",{className:"text-2xs font-medium uppercase tracking-wider text-muted-foreground/50",children:a.importHistory.title}),C.length>5&&(0,d.jsx)(g(),{href:"/capture/history",className:"ml-auto text-2xs text-muted-foreground/50 transition-colors hover:text-[var(--amber)]",children:a.inbox.viewAllHistory(C.length)})]}),(0,d.jsx)("div",{className:"space-y-2",children:az.map(a=>(0,d.jsx)(R,{entry:a},a.id))})]})]}),(0,d.jsx)("aside",{className:"xl:sticky xl:top-[70px] xl:self-start",children:(0,d.jsxs)("section",{className:"overflow-hidden rounded-xl border border-border/60 bg-card/70 shadow-sm",children:[(0,d.jsxs)("div",{className:"border-b border-border/50 px-4 py-3",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(u,{size:15,className:"text-[var(--amber)]"}),(0,d.jsx)("h3",{className:"text-sm font-semibold text-foreground",children:a.inbox.understandingTitle})]}),(0,d.jsx)("p",{className:"mt-1 text-xs leading-relaxed text-muted-foreground/60",children:a.inbox.understandingEmptyDesc})]}),ar&&as?(0,d.jsxs)("div",{className:"space-y-4 p-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"truncate text-sm font-medium text-foreground",title:ar.name,children:ar.name}),(0,d.jsxs)("p",{className:"mt-1 text-2xs text-muted-foreground",children:[W(ar.size)," \xb7 ",X(ar.modifiedAt,a.home.relativeTime)]})]}),(0,d.jsxs)("div",{className:"grid gap-2",children:[(0,d.jsx)(S,{label:a.inbox.suggestedType,value:as.type}),(0,d.jsx)(S,{label:a.inbox.suggestedTarget,value:as.target}),(0,d.jsx)(S,{label:a.inbox.densityTitle,value:as.density})]}),(0,d.jsxs)("div",{className:"rounded-lg bg-muted/35 p-3",children:[(0,d.jsx)("p",{className:"text-2xs font-medium uppercase tracking-wider text-muted-foreground/60",children:a.inbox.suggestedReason}),(0,d.jsx)("p",{className:"mt-1 text-xs leading-relaxed text-foreground/75",children:as.reason})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"mb-2 text-2xs font-medium uppercase tracking-wider text-muted-foreground/60",children:a.inbox.relatedSignals}),(0,d.jsx)("div",{className:"flex flex-wrap gap-1.5",children:as.signals.map(a=>(0,d.jsx)("span",{className:"rounded-md border border-border/60 bg-background px-2 py-1 text-2xs text-muted-foreground",children:a},a))})]}),(0,d.jsxs)("div",{className:"rounded-lg border border-border/60 bg-background px-3 py-2.5",children:[(0,d.jsx)("p",{className:"mb-2 text-2xs font-medium uppercase tracking-wider text-muted-foreground/60",children:a.inbox.lifecycleTitle}),(0,d.jsx)("div",{className:"grid grid-cols-4 gap-1 text-center text-[10px] text-muted-foreground",children:[a.inbox.lifecycleCaptured,a.inbox.lifecycleParsed,a.inbox.lifecycleProposed,a.inbox.lifecycleMerged].map((a,b)=>(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("div",{className:`mx-auto mb-1 h-1.5 rounded-full ${b<2?"bg-[var(--amber)]":"bg-muted"}`}),(0,d.jsx)("span",{className:"block truncate",children:a})]},a))})]}),(0,d.jsxs)("div",{className:"space-y-2 border-t border-border/50 pt-4",children:[(0,d.jsx)("p",{className:"text-2xs font-medium uppercase tracking-wider text-muted-foreground/60",children:a.inbox.routeTitle}),(0,d.jsxs)("button",{type:"button",onClick:ai,disabled:y,className:"flex w-full items-center justify-between rounded-lg bg-[var(--amber)] px-3 py-2 text-sm font-medium text-[var(--amber-foreground)] transition-opacity hover:opacity-90 disabled:cursor-not-allowed disabled:opacity-50",children:[(0,d.jsxs)("span",{className:"flex items-center gap-2",children:[y?(0,d.jsx)(l.A,{size:14,className:"animate-spin"}):(0,d.jsx)(m.A,{size:14}),y?a.inbox.organizing:a.inbox.actionMerge]}),(0,d.jsx)(w.A,{size:14})]}),(0,d.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,d.jsx)("button",{type:"button",onClick:()=>b.push(`/view/${(0,I.O0)(ar.path)}`),className:"rounded-lg border border-border bg-background px-3 py-2 text-xs font-medium text-foreground transition-colors hover:bg-muted focus-visible:ring-2 focus-visible:ring-ring",children:a.inbox.actionOpen}),(0,d.jsx)("button",{type:"button",onClick:()=>aj(ar.name),className:"rounded-lg border border-border bg-background px-3 py-2 text-xs font-medium text-muted-foreground transition-colors hover:bg-destructive/10 hover:text-destructive focus-visible:ring-2 focus-visible:ring-ring",children:a.inbox.actionRemove})]}),(0,d.jsxs)("div",{className:"rounded-lg border border-dashed border-border px-3 py-2 text-xs text-muted-foreground",children:[a.inbox.actionExtractRule," \xb7 ",a.inbox.actionExtractRuleSoon]})]})]}):(0,d.jsxs)("div",{className:"p-6 text-center",children:[(0,d.jsx)("p",{className:"text-sm font-medium text-foreground/70",children:a.inbox.understandingEmptyTitle}),(0,d.jsx)("p",{className:"mt-1 text-xs leading-relaxed text-muted-foreground/55",children:a.inbox.understandingEmptyDesc})]})]})})]})]})})]})}function P({file:a,onDelete:b,index:c,animate:f,selected:g,onSelect:i}){var j;let k,{t:l}=(0,H.Y)(),m=(0,h.useRouter)(),n=N(a.name),o=(k=(j=a.name).lastIndexOf("."))>0?j.slice(0,k):j,q=M[n],r=X(a.modifiedAt,l.home.relativeTime),[s,t]=(0,e.useState)(null),u=W(a.size),v="csv"===n?x.A:"json"===n?y:p.A,w="csv"===n?"text-emerald-500/70":"json"===n?"text-violet-500/70":"pdf"===n?"text-error/60":"text-muted-foreground/60";return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{role:"button",tabIndex:0,onClick:i,onKeyDown:a=>{"Enter"===a.key&&i()},onContextMenu:a=>{a.preventDefault(),a.stopPropagation(),t({x:a.clientX,y:a.clientY})},"aria-pressed":g,className:`group flex items-center gap-3 px-4 py-3 transition-colors duration-100 cursor-pointer ${g?"bg-[var(--amber-subtle)]/70":"bg-card hover:bg-accent"}${f?" animate-[fadeSlideUp_0.22s_ease_both]":""}`,style:f?{animationDelay:`${30*c}ms`}:void 0,children:[(0,d.jsx)("span",{className:`h-8 w-[2px] rounded-full ${g?"bg-[var(--amber)]":"bg-transparent"}`}),(0,d.jsx)(v,{size:15,className:`shrink-0 ${w}`}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("span",{className:"text-sm text-foreground truncate",title:a.name,children:o}),q&&(0,d.jsxs)("span",{className:`text-2xs font-mono px-1.5 py-px rounded shrink-0 ${q.bg} ${q.text}`,children:[".",n]}),a.isAging&&(0,d.jsx)("span",{className:"text-2xs px-1.5 py-px rounded shrink-0 bg-[var(--amber)]/10 text-[var(--amber)]/70",title:l.inbox.agingHint,children:l.inbox.agingHint})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2 mt-0.5",children:[(0,d.jsx)("span",{className:"text-2xs text-muted-foreground/40 tabular-nums",children:u}),(0,d.jsx)("span",{className:"text-2xs text-muted-foreground/30",children:"\xb7"}),(0,d.jsx)("span",{className:"text-2xs text-muted-foreground/40 tabular-nums",children:r})]})]}),(0,d.jsx)("button",{type:"button",onClick:b=>{b.stopPropagation(),b.preventDefault(),m.push(`/view/${(0,I.O0)(a.path)}`)},className:"hidden items-center justify-center rounded-md px-2 py-1 text-2xs font-medium text-muted-foreground/55 transition-colors hover:bg-background hover:text-foreground group-hover:flex",title:l.inbox.openFile,children:l.inbox.openFile}),(0,d.jsx)("button",{type:"button",onClick:c=>{c.stopPropagation(),c.preventDefault(),b(a.name)},className:"hidden group-hover:flex items-center justify-center w-7 h-7 rounded-md shrink-0 text-muted-foreground/40 hover:text-destructive hover:bg-destructive/10 transition-colors",title:l.inbox.removeFile,children:(0,d.jsx)(z.A,{size:14})})]}),s&&(0,d.jsx)(Q,{x:s.x,y:s.y,file:a,onDelete:()=>{t(null),b(a.name)},onClose:()=>t(null)})]})}function Q({x:a,y:b,file:c,onDelete:f,onClose:g}){let i=(0,e.useRef)(null),j=(0,h.useRouter)(),{t:k}=(0,H.Y)(),l="w-full flex items-center gap-2 px-3 py-1.5 text-sm text-foreground hover:bg-muted transition-colors text-left";return(0,d.jsxs)("div",{ref:i,className:"fixed z-50 min-w-[160px] bg-card border border-border rounded-lg shadow-lg py-1",style:{top:b,left:a},children:[(0,d.jsxs)("button",{className:l,onClick:()=>{j.push(`/view/${(0,I.O0)(c.path)}`),g()},children:[(0,d.jsx)(A.A,{size:14,className:"shrink-0"})," ",k.inbox.openFile]}),(0,d.jsxs)("button",{className:l,onClick:()=>{navigator.clipboard.writeText(c.name),G.oR.copy(),g()},children:[(0,d.jsx)(B.A,{size:14,className:"shrink-0"})," ",k.inbox.copyName]}),(0,d.jsx)("div",{className:"border-t border-border my-1"}),(0,d.jsxs)("button",{className:`${l} text-destructive hover:text-destructive`,onClick:f,children:[(0,d.jsx)(C.A,{size:14,className:"shrink-0"})," ",k.inbox.removeFile]})]})}function R({entry:a}){let{t:b}=(0,H.Y)(),[c,f]=(0,e.useState)(!1),h="undone"===a.status,i=function(a){switch(a){case"drag-drop":return{label:"drop",className:"bg-muted/50 text-muted-foreground/50"};case"inbox-organize":return{label:"inbox",className:"bg-[var(--amber)]/10 text-[var(--amber)]/70"};case"import-modal":return{label:"import",className:"bg-blue-500/10 text-blue-500/70"};case"plugin":return{label:"plugin",className:"bg-violet-500/10 text-violet-500/70"};case"upload":return{label:"upload",className:"bg-teal-500/10 text-teal-500/70"};case"web-clipper":return{label:"clip",className:"bg-emerald-500/10 text-emerald-500/70"};default:return null}}(a.source),j=a.durationMs?function(a){let b=Math.round(a/1e3);if(b<60)return`${b}s`;let c=Math.floor(b/60),d=b%60;return`${c}m${d>0?`${d}s`:""}`}(a.durationMs):null,k=X(new Date(a.timestamp).toISOString(),b.home.relativeTime),l=a.files.filter(a=>a.ok&&!a.undone).length;return(0,d.jsxs)("div",{className:"rounded-lg border border-border/30 overflow-hidden",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>f(a=>!a),"aria-expanded":c,className:"w-full flex items-center gap-2.5 px-3.5 py-2.5 text-left hover:bg-muted/20 transition-colors",children:[h?(0,d.jsx)(D.A,{size:13,className:"text-muted-foreground/40 shrink-0"}):(0,d.jsx)(E.A,{size:13,className:"text-success/70 shrink-0"}),(0,d.jsxs)("div",{className:"flex-1 min-w-0 flex items-center gap-1.5",children:[(0,d.jsx)("span",{className:`text-xs truncate ${h?"text-muted-foreground/50 line-through":"text-foreground/80"}`,children:1===a.sourceFiles.length?a.sourceFiles[0]:b.importHistory.nFiles(a.sourceFiles.length)}),i&&(0,d.jsx)("span",{className:`text-2xs px-1.5 py-0.5 rounded shrink-0 ${i.className}`,children:i.label}),l>0&&(0,d.jsx)("span",{className:"text-2xs text-muted-foreground/40 shrink-0",children:b.importHistory.changesSummary(l)})]}),(0,d.jsxs)("span",{className:"text-2xs text-muted-foreground/40 tabular-nums shrink-0",children:[j&&`${j} \xb7 `,k]}),a.files.length>0&&(0,d.jsx)(F.A,{size:10,className:`text-muted-foreground/30 shrink-0 transition-transform duration-150 ${c?"rotate-180":""}`})]}),c&&a.files.length>0&&(0,d.jsx)("div",{className:"border-t border-border/20 px-3.5 py-2 space-y-0.5",children:a.files.map((a,c)=>{let e=a.path.split("/"),f=e.pop()??a.path,h=e.length>0?e.join("/"):null,i=!a.undone&&a.ok,j=`flex items-center gap-2 py-1 text-2xs${a.undone?" opacity-40":""}${i?" rounded -mx-1 px-1 hover:bg-muted/20 transition-colors":""}`,k=(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:`w-1 h-1 rounded-full shrink-0 ${a.ok&&!a.undone?"bg-success/60":"bg-muted-foreground/30"}`}),(0,d.jsxs)("span",{className:`truncate flex-1 min-w-0 ${a.undone?"line-through text-muted-foreground":""}`,children:[h&&(0,d.jsxs)("span",{className:"text-muted-foreground/30",children:[h,"/"]}),(0,d.jsx)("span",{className:a.undone?"":"text-foreground/70",children:f})]}),(0,d.jsx)("span",{className:"text-muted-foreground/40 shrink-0",children:a.undone?b.importHistory.statusUndone:"create"===a.action?b.importHistory.statusCreated:b.importHistory.statusUpdated})]});return i?(0,d.jsx)(g(),{href:`/view/${(0,I.O0)(a.path)}`,className:j,children:k},`${a.path}-${c}`):(0,d.jsx)("div",{className:j,children:k},`${a.path}-${c}`)})})]})}function S({label:a,value:b}){return(0,d.jsxs)("div",{className:"rounded-lg border border-border/60 bg-background px-3 py-2",children:[(0,d.jsx)("p",{className:"text-2xs font-medium uppercase tracking-wider text-muted-foreground/55",children:a}),(0,d.jsx)("p",{className:"mt-1 text-sm font-medium text-foreground",children:b})]})}function T({icon:a,label:b,detail:c,onRemove:e}){return(0,d.jsxs)("span",{className:"inline-flex max-w-full items-center gap-1.5 rounded-lg border border-border/60 bg-card px-2 py-1 text-2xs text-muted-foreground",children:[(0,d.jsx)("span",{className:"shrink-0 text-[var(--amber)]",children:a}),(0,d.jsx)("span",{className:"shrink-0 font-medium text-foreground/75",children:b}),(0,d.jsx)("span",{className:"min-w-0 truncate",children:c}),(0,d.jsx)("button",{type:"button",onClick:e,className:"-mr-0.5 ml-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded text-muted-foreground/50 transition-colors hover:bg-muted hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring","aria-label":`Remove ${b}`,children:(0,d.jsx)(z.A,{size:10})})]})}function U(a){return[{id:"source",title:a.intentSourceTitle,desc:a.intentSourceDesc,action:a.intentSourceAction,density:a.typeRawNote},{id:"note",title:a.intentNoteTitle,desc:a.intentNoteDesc,action:a.intentNoteAction,density:a.typeDocument},{id:"judgment",title:a.intentJudgmentTitle,desc:a.intentJudgmentDesc,action:a.intentJudgmentAction,density:a.typeDecision},{id:"reflect",title:a.intentReflectTitle,desc:a.intentReflectDesc,action:a.intentReflectAction,density:a.targetDecisions}]}function V(a){let b=a.trim();return b?(b.match(/[\u4e00-\u9fff]/g)?.length??0)+b.replace(/[\u4e00-\u9fff]/g," ").split(/\s+/).filter(Boolean).length:0}function W(a){return a<1024?`${a} B`:a<1048576?`${Math.round(a/1024)} KB`:`${(a/1048576).toFixed(1)} MB`}function X(a,b){let c=Math.floor((Date.now()-new Date(a).getTime())/6e4);if(c<1)return b.justNow;if(c<60)return b.minutesAgo(c);let d=Math.floor(c/60);if(d<24)return b.hoursAgo(d);let e=Math.floor(d/24);return b.daysAgo(e)}},95848:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(52707).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/MindOS/MindOS/packages/web/components/InboxView.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/MindOS/MindOS/packages/web/components/InboxView.tsx","default")}};
@@ -1,16 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1104],{20538:(e,t,r)=>{function s(e){return{connected:e.filter(e=>e.present&&e.installed),detected:e.filter(e=>e.present&&!e.installed),notFound:e.filter(e=>!e.present)}}function n(e){return e.present&&e.installed?"connected":e.present?"detected":"notFound"}function i(e){return f(`${e.name} ${e.description}`)}function o(e){let t=[];return e.mcpEnabled&&!e.mcpRunning&&t.push({id:"mcp-stopped",severity:"error",title:e.copy.riskMcpStopped}),e.detectedCount>0&&t.push({id:"detected-unconfigured",severity:"warn",title:e.copy.riskDetected(e.detectedCount)}),e.allSkillsDisabled&&t.push({id:"skills-disabled",severity:"warn",title:e.copy.riskSkillsDisabled}),t}function a(e){return new Set(e.filter(e=>!e.enabled&&"user"===e.source||0===e.description.trim().length).map(e=>e.name))}function l(e){let t=e.filter(e=>!e.ok).map(e=>e.skillName);return{total:e.length,succeeded:e.length-t.length,failed:t.length,failedSkills:t}}function d(e,t){let r=t.query.trim().toLowerCase();return e.filter(e=>{let s;return("all"===t.status||n(e)===t.status)&&("all"===t.transport||("stdio"===(s=(e.transport??e.preferredTransport??"").toLowerCase())||"http"===s?s:"other")===t.transport)&&(!r||`${e.name} ${e.key} ${e.configPath??""}`.toLowerCase().includes(r))})}function c(e){let t=e.filter(e=>!e.ok).length;return{total:e.length,succeeded:e.length-t,failed:t}}function u(e){let t=new Map;for(let r of e)for(let e of r.configuredMcpServers??[]){let s=t.get(e);s?s.push(r.name):t.set(e,[r.name])}return[...t.entries()].map(([e,t])=>({serverName:e,agents:t})).sort((e,t)=>t.agents.length-e.agents.length||e.serverName.localeCompare(t.serverName))}function m(e){let t=new Map;for(let r of e)for(let e of r.installedSkillNames??[]){let s=t.get(e);s?s.push(r.name):t.set(e,[r.name])}return[...t.entries()].map(([e,t])=>({skillName:e,agents:t})).sort((e,t)=>t.agents.length-e.agents.length||e.skillName.localeCompare(t.skillName))}r.d(t,{$2:()=>i,$t:()=>s,G9:()=>j,GU:()=>h,HL:()=>u,IK:()=>a,Ri:()=>v,ag:()=>b,fH:()=>d,gJ:()=>g,qC:()=>x,x3:()=>m,xJ:()=>c,xR:()=>l,yQ:()=>f,yv:()=>n,zK:()=>o});let p={connected:0,detected:1,notFound:2};function g(e){return[...e].sort((e,t)=>{let r=p[n(e)],s=p[n(t)];return r!==s?r-s:e.name.localeCompare(t.name)})}function x(e,t){let r=t.query.trim().toLowerCase();return e.filter(e=>("all"===t.source||e.source===t.source)&&(!r||`${e.name} ${e.description} ${e.path}`.toLowerCase().includes(r)))}function f(e){let t=e.toLowerCase();return t.includes("search")||t.includes("research")||t.includes("arxiv")||t.includes("paper")?"research":t.includes("doc")||t.includes("write")||t.includes("readme")||t.includes("copy")||t.includes("slide")||t.includes("ppt")?"docs":t.includes("deploy")||t.includes("ops")||t.includes("ci")||t.includes("ship")||t.includes("qa")||t.includes("review")||t.includes("test")?"ops":t.includes("memory")||t.includes("mind")||t.includes("handoff")||t.includes("session")?"memory":"coding"}function b(e,t){let r=new Set(e.map(e=>e.name)),s=new Map;for(let e of t)s.set(e.skillName,e.agents);let n=[];for(let t of e)n.push({name:t.name,kind:"mindos",mindosSkill:t,agents:s.get(t.name)??[],capability:i(t),enabled:t.enabled,source:t.source,description:t.description});for(let e of t)r.has(e.skillName)||n.push({name:e.skillName,kind:"native",agents:e.agents,capability:f(e.skillName),enabled:!0,source:"native",description:""});return n}function h(e){return{research:e.filter(e=>"research"===e.capability),coding:e.filter(e=>"coding"===e.capability),docs:e.filter(e=>"docs"===e.capability),ops:e.filter(e=>"ops"===e.capability),memory:e.filter(e=>"memory"===e.capability)}}function v(e,t){let r=t.query.trim().toLowerCase(),s=new Set(e.filter(e=>"mindos"===e.kind&&(!e.enabled&&"user"===e.source||0===e.description.trim().length)).map(e=>e.name));return e.filter(e=>("all"===t.source||("native"!==t.source||"native"===e.kind)&&("builtin"!==t.source||"builtin"===e.source)&&("user"!==t.source||"user"===e.source))&&("enabled"!==t.status||!!e.enabled)&&("disabled"!==t.status||!e.enabled)&&("attention"!==t.status||!!s.has(e.name))&&("all"===t.capability||e.capability===t.capability)&&(!r||!!`${e.name} ${e.description}`.toLowerCase().includes(r))&&!0)}function j(e,t){return e.filter(e=>"mindos"===e.kind&&e.enabled!==t).map(e=>e.name)}},23684:(e,t,r)=>{r.d(t,{default:()=>i});var s=r(66839),n=r(44223);function i({href:e,label:t="Redirecting..."}){return(0,n.useEffect)(()=>{window.location.replace(e)},[e]),(0,s.jsx)("main",{className:"min-h-screen flex items-center justify-center px-6",children:(0,s.jsx)("a",{href:e,className:"text-sm underline-offset-4 hover:underline focus-visible:ring-2 focus-visible:ring-ring rounded-sm",style:{color:"var(--muted-foreground)"},children:t})})}},45149:(e,t,r)=>{r.d(t,{A:()=>S});var s=r(66839),n=r(44223),i=r(38325),o=r(26732),a=r(30401),l=r(30626),d=r(88283),c=r(29696),u=r(72799),m=r(73601),p=r(24336),g=r(44361),x=r(72615),f=r(9181),b=r(31606),h=r(65264),v=r(46990),j=r(79455),y=r(69527),N=r(82977),k=r(84734),C=r(20538);let A={research:i.A,coding:o.A,docs:a.A,ops:l.A,memory:d.A};function w({text:e,className:t=""}){let r=(0,n.useMemo)(()=>{var t;let r;return t=e,(r=(r=(0,N.ZD)(t).replace(/```(\w*)\n([\s\S]*?)```/g,(e,t,r)=>`<pre><code>${r.trimEnd()}</code></pre>`).replace(/`([^`]+)`/g,"<code>$1</code>").replace(/^#### (.+)$/gm,"<h4>$1</h4>").replace(/^### (.+)$/gm,"<h3>$1</h3>").replace(/^## (.+)$/gm,"<h2>$1</h2>").replace(/^# (.+)$/gm,"<h1>$1</h1>").replace(/\*\*(.+?)\*\*/g,"<strong>$1</strong>").replace(/\*(.+?)\*/g,"<em>$1</em>").replace(/^---$/gm,"<hr/>").replace(/^- (.+)$/gm,"<li>$1</li>").replace(/^\* (.+)$/gm,"<li>$1</li>").replace(/^\d+\. (.+)$/gm,"<li>$1</li>")).replace(/((?:<li>.*<\/li>\n?)+)/g,"<ul>$1</ul>")).split("\n").map(e=>{let t=e.trim();return t?/^<(h[1-4]|ul|ol|li|pre|hr|div|p|blockquote)/.test(t)?e:`<p>${t}</p>`:""}).join("\n")},[e]);return(0,s.jsx)("div",{className:`prose prose-sm prose-invert max-w-none
2
- prose-headings:text-foreground prose-headings:font-semibold prose-headings:mt-4 prose-headings:mb-2
3
- prose-h1:text-sm prose-h2:text-xs prose-h3:text-xs
4
- prose-p:text-xs prose-p:text-foreground/80 prose-p:leading-relaxed prose-p:my-1.5
5
- prose-li:text-xs prose-li:text-foreground/80 prose-li:my-0.5
6
- prose-strong:text-foreground prose-strong:font-semibold
7
- prose-code:text-[var(--amber)] prose-code:bg-muted/50 prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-code:text-2xs prose-code:font-mono
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
- prose-ul:my-1 prose-ol:my-1
10
- prose-hr:border-border/30 prose-hr:my-3
11
- ${t}`,dangerouslySetInnerHTML:{__html:r}})}function S({open:e,skillName:t,skill:r,agentNames:i=[],allAgentNames:o=[],isNative:a=!1,nativeSourcePath:l,copy:d,onClose:N,onToggle:S,onDelete:T,onRefresh:z,onAddAgent:K,onRemoveAgent:P}){let L,E,[O,M]=(0,n.useState)(null),[F,R]=(0,n.useState)(""),[J,W]=(0,n.useState)(!1),[_,q]=(0,n.useState)(!1),[B,H]=(0,n.useState)(!1),[I,U]=(0,n.useState)(!1),[G,Q]=(0,n.useState)(null),[Z,V]=(0,n.useState)(!1),[Y,X]=(0,n.useState)(!1),[ee,et]=(0,n.useState)(!1),er=(0,n.useCallback)(async()=>{if(t){W(!0),q(!1);try{if(a&&l){let e=await (0,h.n)("/api/skills",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"read-native",name:t,sourcePath:l})});M(e.content),R(e.description||"")}else if(!a){let e=await (0,h.n)("/api/skills",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"read",name:t})});M(e.content)}}catch{q(!0)}finally{W(!1)}}},[t,a,l]);(0,n.useEffect)(()=>{e&&t&&(M(null),R(""),q(!1),Q(null),U(!1),V(!1),X(!1),et(!1),er())},[e,t,er]),(0,n.useEffect)(()=>{if(e)return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t);function t(e){"Escape"===e.key&&N()}},[e,N]);let es=(0,n.useCallback)(async()=>{!O||await (0,v.l)(O)&&j.oR.copy()},[O]),en=(0,n.useCallback)(async e=>{if(t&&S){V(!0);try{await S(t,e)}finally{V(!1)}}},[t,S]),ei=(0,n.useCallback)(async()=>{if(t&&T){H(!1),U(!0);try{await T(t),Q(d.deleted),await z?.(),setTimeout(()=>N(),800)}catch{Q(d.deleteFailed),U(!1)}}},[t,T,z,N,d.deleted,d.deleteFailed]);if(!e||!t)return null;let eo=r?(0,C.yQ)(`${r.name} ${r.description}`):(0,C.yQ)(t),ea=A[eo]??c.A,el=r?.source==="user",ed=a?d.sourceNative:r?.source==="builtin"?d.sourceBuiltin:d.sourceUser,ec=r?.description||F||"",eu=r?.path||(a&&l?`${l}/${t}/SKILL.md`:""),em=O?(L=O,(E=O.match(/^---\n[\s\S]*?\n---\n?/))&&(L=O.slice(E[0].length).trim()),{triggerConditions:ec||"",instructions:L}):null,ep=o.filter(e=>!i.includes(e));return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"fixed inset-0 z-40 overlay-backdrop",onClick:N,"aria-hidden":"true"}),(0,s.jsxs)("div",{role:"dialog","aria-modal":"true","aria-label":t,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,s.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,s.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,s.jsx)(ea,{size:18})}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-foreground truncate",children:t}),(0,s.jsxs)("div",{className:"flex items-center gap-2 mt-1",children:[(0,s.jsx)("span",{className:`text-2xs px-2 py-0.5 rounded-full font-medium select-none ${a||r?.source==="builtin"?"bg-muted text-muted-foreground":"bg-[var(--amber-dim)] text-[var(--amber-text)]"}`,children:ed}),(0,s.jsx)("span",{className:"text-2xs text-muted-foreground/60 capitalize",children:eo})]})]}),(0,s.jsx)("button",{type:"button",onClick:N,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":d.close,children:(0,s.jsx)(u.A,{size:16})})]}),(0,s.jsxs)("div",{className:"flex-1 overflow-y-auto px-5 py-4 space-y-5",children:[ec&&(0,s.jsxs)("section",{children:[(0,s.jsx)($,{label:"Trigger Conditions"}),(0,s.jsx)("div",{className:"rounded-lg border border-border/40 bg-muted/[0.03] p-3.5",children:(0,s.jsx)("p",{className:"text-xs text-foreground/80 leading-relaxed whitespace-pre-wrap",children:ec})})]}),!ec&&!a&&(0,s.jsx)("p",{className:"text-sm text-muted-foreground italic",children:d.noDescription}),(0,s.jsx)("section",{children:(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[!a&&r&&(0,s.jsx)(D,{label:d.enabled,value:r.enabled?"✓":"—",tone:r.enabled?"ok":"muted"}),(0,s.jsx)(D,{label:d.capability,value:eo}),(0,s.jsx)(D,{label:d.source,value:ed}),(0,s.jsx)(D,{label:d.agents,value:String(i.length)})]})}),(0,s.jsxs)("section",{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,s.jsx)($,{label:d.agents,noMargin:!0}),K&&ep.length>0&&(0,s.jsxs)("button",{type:"button",onClick:()=>X(!Y),className:"inline-flex items-center gap-1 text-2xs font-medium text-[var(--amber)] hover:opacity-80 transition-opacity cursor-pointer",children:[(0,s.jsx)(m.A,{size:12}),(0,s.jsx)("span",{children:"Add"})]})]}),Y&&ep.length>0&&(0,s.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:ep.map(e=>(0,s.jsxs)("button",{type:"button",onClick:()=>{K?.(t,e),X(!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,s.jsx)(m.A,{size:10,className:"text-[var(--amber)]"}),(0,s.jsx)("span",{className:"text-foreground/80",children:e})]},e))}),i.length>0?(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:i.map(e=>(0,s.jsx)(k.lx,{name:e,size:"sm",onRemove:P?()=>P(t,e):void 0},e))}):(0,s.jsx)("div",{className:"rounded-lg border border-border/40 bg-card/30 p-3 text-center",children:(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:d.noAgents})})]}),(null!==O||J||_)&&(0,s.jsxs)("section",{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,s.jsx)($,{label:"Instructions",noMargin:!0}),(0,s.jsx)("div",{className:"flex items-center gap-2",children:O&&(0,s.jsxs)("button",{type:"button",onClick:es,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":d.copyContent,children:[(0,s.jsx)(p.A,{size:11}),d.copyContent]})})]}),J&&(0,s.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,s.jsx)(g.A,{size:14,className:"animate-spin"}),d.loading]}),_&&(0,s.jsxs)("div",{className:"rounded-lg border border-destructive/20 bg-destructive/[0.03] p-4 text-center space-y-2",children:[(0,s.jsx)("p",{className:"text-sm text-destructive",children:d.loadFailed}),(0,s.jsx)("button",{type:"button",onClick:er,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:d.retry})]}),em&&!J&&!_&&(0,s.jsx)("div",{className:`rounded-lg border border-border/50 bg-muted/[0.02] p-4 overflow-hidden transition-all duration-200 ${!ee?"max-h-60":""}`,children:(0,s.jsx)(w,{text:em.instructions})}),em&&!J&&!_&&em.instructions.split("\n").length>15&&(0,s.jsxs)("button",{type:"button",onClick:()=>et(!ee),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,s.jsx)(x.A,{size:12,className:`transition-transform duration-200 ${ee?"rotate-180":""}`}),(0,s.jsx)("span",{children:ee?"Collapse":"View All"})]})]}),eu&&(0,s.jsxs)("section",{children:[(0,s.jsx)($,{label:d.path}),(0,s.jsx)("div",{className:"rounded-lg border border-border/50 bg-muted/[0.03] p-3",children:(0,s.jsx)("code",{className:"text-2xs text-foreground/60 font-mono break-all leading-relaxed",children:eu})})]}),G&&(0,s.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:G})]}),!a&&r&&(0,s.jsxs)("div",{className:"shrink-0 border-t border-border px-5 py-3 flex items-center gap-2",children:[S&&(0,s.jsxs)("div",{className:"flex items-center gap-2 mr-auto",children:[(0,s.jsx)(f.A,{size:14,className:"text-muted-foreground","aria-hidden":"true"}),(0,s.jsx)("span",{className:"text-xs text-muted-foreground",children:r.enabled?d.enabled:d.disabled}),(0,s.jsx)(y.lM,{size:"sm",checked:r.enabled,onChange:e=>void en(e),disabled:Z})]}),el&&T&&(0,s.jsxs)("button",{type:"button",onClick:()=>H(!0),disabled:I,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:[I?(0,s.jsx)(g.A,{size:12,className:"animate-spin"}):(0,s.jsx)(b.A,{size:12}),d.deleteSkill]})]})]}),(0,s.jsx)(k.TM,{open:B,title:d.confirmDeleteTitle,message:t?d.confirmDeleteMessage(t):"",confirmLabel:d.confirmDeleteAction,cancelLabel:d.cancelAction,onConfirm:()=>void ei(),onCancel:()=>H(!1),variant:"destructive"})]})}function $({label:e,noMargin:t}){return(0,s.jsx)("h3",{className:`text-xs font-semibold text-muted-foreground uppercase tracking-wider ${t?"":"mb-2"}`,children:e})}function D({label:e,value:t,tone:r="default"}){return(0,s.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,s.jsx)("span",{className:"text-2xs text-muted-foreground/60 block mb-1 uppercase tracking-wider",children:e}),(0,s.jsx)("span",{className:`text-sm font-semibold capitalize ${"ok"===r?"text-[var(--success)]":"muted"===r?"text-muted-foreground":"text-foreground"}`,children:t})]})}},51117:(e,t,r)=>{r.d(t,{V:()=>n});var s=r(44223);function n(){let[e,t]=(0,s.useState)([]),[r,n]=(0,s.useState)(!1),[i,o]=(0,s.useState)(null),a=(0,s.useCallback)(async e=>{n(!0),o(null);try{let r=await fetch("/api/a2a/discover",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({url:e})}),s=await r.json();if(s.agent)return t(e=>e.some(e=>e.id===s.agent.id)?e.map(e=>e.id===s.agent.id?s.agent:e):[...e,s.agent]),s.agent;return o(s.error||"Discovery failed"),null}catch(e){return o(e.message),null}finally{n(!1)}},[]);return{agents:e,discovering:r,error:i,discover:a,remove:(0,s.useCallback)(e=>{t(t=>t.filter(t=>t.id!==e))},[]),refresh:(0,s.useCallback)(()=>{t([]),o(null)},[])}}},82829:(e,t,r)=>{r.d(t,{A:()=>h});var s=r(66839),n=r(44223),i=r(72799),o=r(21082),a=r(38688),l=r(53097),d=r(30626),c=r(29696),u=r(72615),m=r(98327),p=r(44361),g=r(2073),x=r(84747),f=r(79455),b=r(69527);function h({open:e,onClose:t,onSuccess:r,existingAgents:h,editAgent:j}){let{t:y}=(0,g.Y)(),N=y.agentsContent.overview,k=(0,n.useRef)(null),C=(0,n.useRef)(null),A=!!j,[w,S]=(0,n.useState)("input"),[$,D]=(0,n.useState)(!1),[T,z]=(0,n.useState)(!1),[K,P]=(0,n.useState)(null),[L,E]=(0,n.useState)(null),[O,M]=(0,n.useState)(!1),[F,R]=(0,n.useState)(!1),[J,W]=(0,n.useState)({name:"",baseDir:"",global:"",configKey:"mcpServers",format:"json",preferredTransport:"stdio",project:"",presenceCli:"",skillDir:""});(0,n.useEffect)(()=>{e&&(j?(W({name:j.name,baseDir:j.customBaseDir||"",global:j.globalPath||"",configKey:j.configKey||"mcpServers",format:"toml"===j.format?"toml":"json",preferredTransport:j.preferredTransport||"stdio",project:j.projectPath||"",presenceCli:"",skillDir:j.skillWorkspacePath||""}),S("result"),R(!0),E(null),P(null)):(W({name:"",baseDir:"",global:"",configKey:"mcpServers",format:"json",preferredTransport:"stdio",project:"",presenceCli:"",skillDir:""}),S("input"),R(!1),E(null),P(null),M(!1)))},[e,j]),(0,n.useEffect)(()=>{e&&"input"===w&&setTimeout(()=>C.current?.focus(),100)},[e,w]),(0,x.r)(k,e),(0,n.useEffect)(()=>{if(!e)return;let r=e=>{"Escape"===e.key&&t()};return document.addEventListener("keydown",r),()=>document.removeEventListener("keydown",r)},[e,t]);let _=(0,n.useMemo)(()=>{let e=new Set(h.map(e=>e.key));return A&&j&&e.delete(j.key),e},[h,A,j]),q=(0,n.useMemo)(()=>J.name.toLowerCase().replace(/[^\x20-\x7E]/g,"").replace(/[_\s]+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-{2,}/g,"-").replace(/^-|-$/g,""),[J.name]),B=(0,n.useMemo)(()=>{if(A||!J.name.trim())return null;let e=q||"";if(!e)return null;if(_.has(e)){let t=h.find(t=>t.key===e);return t?.isCustom?N.customAgentKeyConflict?.(e)??`An agent with key "${e}" already exists`:N.customAgentBuiltinConflict?.(t?.name||e)??`Conflicts with built-in agent "${t?.name||e}"`}return null},[A,q,_,h,J.name,N]),H=J.name.trim()&&J.baseDir.trim()&&!B,I=(0,n.useCallback)((e,t)=>{W(r=>({...r,[e]:t}))},[]),U=(0,n.useCallback)(async()=>{if(!H)return;P(null),D(!0);let e=J.baseDir.trim();if(!e.startsWith("~/")){let t=e.endsWith("/")?e:e+"/";I("global",t+"mcp.json"),I("skillDir",t+"skills/"),E({exists:!1,hasSkillsDir:!1}),S("result"),D(!1);return}let t=new AbortController,r=setTimeout(()=>t.abort(),3e3);try{let s=await fetch("/api/agents/custom/detect",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({baseDir:e}),signal:t.signal});clearTimeout(r);let n=await s.json();if(!s.ok)return void P(n.error||N.customAgentFailedSave);E(n),n.detectedConfig?I("global",n.detectedConfig):I("global",(e.endsWith("/")?e:e+"/")+"mcp.json"),n.detectedFormat&&I("format",n.detectedFormat),n.detectedConfigKey&&I("configKey",n.detectedConfigKey),I("skillDir",n.detectedSkillDir||(e.endsWith("/")?e:e+"/")+"skills/"),S("result")}catch{clearTimeout(r);let t=e.endsWith("/")?e:e+"/";I("global",t+"mcp.json"),I("skillDir",t+"skills/"),E({exists:!1,hasSkillsDir:!1}),M(!0),S("result")}finally{D(!1)}},[H,J.baseDir,I,N]),G=(0,n.useCallback)(async()=>{z(!0),P(null);let e=A?{key:j.key,name:J.name.trim(),baseDir:J.baseDir.trim(),global:J.global.trim()||void 0,configKey:J.configKey.trim()||void 0,format:J.format,preferredTransport:J.preferredTransport,project:J.project.trim()||null,presenceCli:J.presenceCli.trim()||void 0,skillDir:J.skillDir.trim()||void 0}:{name:J.name.trim(),baseDir:J.baseDir.trim(),global:J.global.trim()||void 0,configKey:J.configKey.trim()||void 0,format:J.format,preferredTransport:J.preferredTransport,project:J.project.trim()||null,presenceCli:J.presenceCli.trim()||void 0,skillDir:J.skillDir.trim()||void 0};try{let s=await fetch("/api/agents/custom",{method:A?"PUT":"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),n=await s.json();if(!s.ok){P(n.error||N.customAgentFailedSave),z(!1);return}let i=A?N.customAgentUpdated(J.name.trim()):N.customAgentAdded(J.name.trim());f.oR.success(i),r(),t()}catch{P(N.customAgentNetworkError)}finally{z(!1)}},[A,j,J,r,t,N]),Q=(0,n.useCallback)(e=>{"Enter"===e.key&&(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&(e.preventDefault(),"input"===w&&H&&!$?U():"result"!==w||T||G())},[w,H,$,T,U,G]);if(!e)return null;let Z=A?N.editCustomAgentTitle(j.name):N.addCustomAgentTitle;return(0,s.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center",role:"dialog","aria-modal":"true","aria-labelledby":"custom-agent-modal-title",children:[(0,s.jsx)("div",{className:"absolute inset-0 modal-backdrop",onClick:t,"aria-hidden":"true"}),(0,s.jsxs)("div",{ref:k,className:"relative bg-card border border-border rounded-xl shadow-2xl max-w-md w-full mx-4 animate-in fade-in zoom-in-95 duration-200 max-h-[85vh] overflow-y-auto",onKeyDown:Q,children:[(0,s.jsxs)("div",{className:"flex items-center justify-between px-5 pt-5 pb-1",children:[(0,s.jsx)("h2",{id:"custom-agent-modal-title",className:"text-base font-semibold text-foreground",children:Z}),(0,s.jsx)("button",{type:"button",onClick:t,className:"w-7 h-7 rounded-md flex items-center justify-center text-muted-foreground hover:text-foreground hover:bg-muted transition-colors duration-150 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring","aria-label":"Close",children:(0,s.jsx)(i.A,{size:16})})]}),(0,s.jsxs)("div",{className:"px-5 py-4 space-y-4",children:[(0,s.jsxs)(b.D0,{label:N.customAgentName,children:[(0,s.jsx)("input",{ref:C,value:J.name,onChange:e=>I("name",e.target.value),placeholder:N.customAgentNamePlaceholder,"aria-invalid":!!B,className:`w-full px-3 py-2 text-sm bg-background border rounded-lg text-foreground placeholder:text-muted-foreground outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 ${B?"border-[var(--error)] focus-visible:ring-[var(--error)]":"border-border"}`,autoComplete:"off"}),B?(0,s.jsxs)("p",{className:"text-xs text-[var(--error)] mt-1 flex items-center gap-1",children:[(0,s.jsx)(o.A,{size:12}),B]}):J.name.trim()&&q?(0,s.jsx)("p",{className:"text-[11px] text-muted-foreground mt-0.5",children:N.customAgentKeyPreview(q)}):null]}),(0,s.jsxs)(b.D0,{label:N.customAgentDir,hint:"input"===w?N.customAgentDirHint:void 0,children:[(0,s.jsx)(b.pd,{value:J.baseDir,onChange:e=>{I("baseDir",e.target.value),"result"===w&&(S("input"),E(null))},placeholder:N.customAgentDirPlaceholder,autoComplete:"off"}),"result"===w&&L?.exists&&(0,s.jsxs)("p",{className:"text-xs text-[var(--success)] mt-1 flex items-center gap-1",children:[(0,s.jsx)(a.A,{size:12}),N.customAgentDirFound]}),"result"===w&&L&&!L.exists&&!O&&(0,s.jsxs)("p",{className:"text-xs text-[var(--info,var(--muted-foreground))] mt-1 flex items-center gap-1",children:[(0,s.jsx)(l.A,{size:12}),N.customAgentDirNotFound]}),"result"===w&&O&&(0,s.jsxs)("p",{className:"text-xs text-[var(--amber)] mt-1 flex items-center gap-1",children:[(0,s.jsx)(o.A,{size:12}),N.customAgentDetectTimeout]})]}),"result"===w&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:`rounded-lg p-4 space-y-3 ${L?.exists?"border border-[var(--success)]/20 bg-[var(--success)]/5":"border border-border bg-muted/30"}`,children:[(0,s.jsx)("p",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wider",children:L?.exists?N.customAgentDetectedTitle:N.customAgentDefaultTitle}),(0,s.jsxs)("div",{className:"space-y-2.5",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:N.customAgentConfigLabel}),(0,s.jsx)("span",{className:"text-sm text-foreground font-mono truncate block",children:J.global}),L?.mcpParseError&&(0,s.jsxs)("p",{className:"text-xs text-[var(--error)] mt-1 flex items-center gap-1",children:[(0,s.jsx)(o.A,{size:12,className:"shrink-0"}),L.mcpParseError]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:N.customAgentFormatLabel}),(0,s.jsx)("span",{className:"text-sm text-foreground",children:J.format.toUpperCase()})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:"Config Key"}),(0,s.jsx)("span",{className:"text-sm text-foreground font-mono",children:J.configKey})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:N.customAgentTransportLabel}),(0,s.jsx)("span",{className:"text-sm text-foreground",children:J.preferredTransport})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("p",{className:"text-xs text-muted-foreground mb-1 flex items-center gap-1",children:[(0,s.jsx)(d.A,{size:11,className:"shrink-0","aria-hidden":"true"}),"MCP Servers"]}),L?.mcpServers&&L.mcpServers.length>0?(0,s.jsx)("div",{className:"flex flex-wrap gap-1",children:L.mcpServers.map(e=>(0,s.jsx)("span",{className:"text-xs bg-muted/60 text-foreground px-2 py-0.5 rounded font-mono",children:e},e))}):(0,s.jsx)("span",{className:"text-sm text-muted-foreground",children:"—"})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("p",{className:"text-xs text-muted-foreground mb-1 flex items-center gap-1",children:[(0,s.jsx)(c.A,{size:11,className:"shrink-0","aria-hidden":"true"}),N.customAgentSkillsLabel]}),L?.skillNames&&L.skillNames.length>0?(0,s.jsx)("div",{className:"flex flex-wrap gap-1",children:L.skillNames.map(e=>(0,s.jsx)("span",{className:"text-xs bg-[var(--amber-dim)] text-[var(--amber-text,var(--foreground))] px-2 py-0.5 rounded font-mono",children:e},e))}):(0,s.jsx)("span",{className:"text-sm text-muted-foreground",children:"—"})]})]})]}),(0,s.jsxs)("button",{type:"button",onClick:()=>R(e=>!e),className:"flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground transition-colors duration-150 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded",children:[F?(0,s.jsx)(u.A,{size:14}):(0,s.jsx)(m.A,{size:14}),N.customAgentCustomize]}),(0,s.jsx)("div",{className:"grid transition-[grid-template-rows] duration-200 ease-out",style:{gridTemplateRows:F?"1fr":"0fr"},children:(0,s.jsx)("div",{className:"overflow-hidden",children:(0,s.jsxs)("div",{className:"rounded-xl border border-border/50 bg-card/50 p-5 space-y-4",children:[(0,s.jsx)(b.D0,{label:N.customAgentConfigPath,children:(0,s.jsx)(b.pd,{value:J.global,onChange:e=>I("global",e.target.value),autoComplete:"off"})}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,s.jsx)(b.D0,{label:N.customAgentConfigKey,children:(0,s.jsx)(b.pd,{value:J.configKey,onChange:e=>I("configKey",e.target.value),autoComplete:"off"})}),(0,s.jsx)(b.D0,{label:N.customAgentFormat,children:(0,s.jsxs)("div",{className:"flex gap-2 pt-1",children:[(0,s.jsx)(v,{label:"JSON",checked:"json"===J.format,onChange:()=>I("format","json"),name:"format"}),(0,s.jsx)(v,{label:"TOML",checked:"toml"===J.format,onChange:()=>I("format","toml"),name:"format"})]})})]}),(0,s.jsx)(b.D0,{label:N.customAgentTransport,children:(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)(v,{label:"stdio",checked:"stdio"===J.preferredTransport,onChange:()=>I("preferredTransport","stdio"),name:"transport"}),(0,s.jsx)(v,{label:"http",checked:"http"===J.preferredTransport,onChange:()=>I("preferredTransport","http"),name:"transport"})]})}),(0,s.jsx)(b.D0,{label:N.customAgentSkillDir,hint:N.customAgentSkillDirHint,children:(0,s.jsx)(b.pd,{value:J.skillDir,onChange:e=>I("skillDir",e.target.value),placeholder:N.customAgentSkillDirPlaceholder,autoComplete:"off"})}),(0,s.jsx)(b.D0,{label:N.customAgentProjectConfig,children:(0,s.jsx)(b.pd,{value:J.project,onChange:e=>I("project",e.target.value),autoComplete:"off"})}),(0,s.jsx)(b.D0,{label:N.customAgentCliBinary,children:(0,s.jsx)(b.pd,{value:J.presenceCli,onChange:e=>I("presenceCli",e.target.value),placeholder:N.customAgentCliBinaryPlaceholder,autoComplete:"off"})})]})})})]}),K&&(0,s.jsxs)("div",{className:"rounded-lg border border-[var(--error)]/30 bg-[var(--error)]/5 p-3 flex items-start gap-2",children:[(0,s.jsx)(o.A,{size:14,className:"text-[var(--error)] mt-0.5 shrink-0"}),(0,s.jsx)("p",{className:"text-sm text-[var(--error)]",children:K})]})]}),(0,s.jsxs)("div",{className:"flex justify-end gap-2 px-5 pb-5 pt-1",children:[(0,s.jsx)("button",{type:"button",onClick:t,className:"px-4 min-h-[36px] text-sm rounded-lg border border-border hover:bg-muted cursor-pointer transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:N.customAgentCancel}),"input"===w?(0,s.jsx)("button",{type:"button",onClick:U,disabled:!H||$,className:"px-4 min-h-[36px] text-sm rounded-lg bg-[var(--amber)] text-[var(--amber-foreground)] hover:bg-[var(--amber)]/90 disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring flex items-center gap-2",children:$?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p.A,{size:14,className:"animate-spin"}),N.customAgentDetecting]}):(0,s.jsxs)(s.Fragment,{children:[N.customAgentContinue,(0,s.jsx)(m.A,{size:14})]})}):(0,s.jsx)("button",{type:"button",onClick:G,disabled:T,className:"px-4 min-h-[36px] text-sm rounded-lg bg-[var(--amber)] text-[var(--amber-foreground)] hover:bg-[var(--amber)]/90 disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring flex items-center gap-2",children:T?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p.A,{size:14,className:"animate-spin"}),A?N.customAgentSaving:N.customAgentAdding]}):K?N.customAgentRetry:A?N.customAgentSave:N.customAgentAdd})]})]})]})}function v({label:e,checked:t,onChange:r,name:n}){return(0,s.jsxs)("label",{className:`px-3 py-1.5 text-sm rounded-md border cursor-pointer transition-all duration-150 select-none ${t?"border-[var(--amber)]/40 bg-[var(--amber-dim)] text-foreground font-medium":"border-border bg-background text-muted-foreground hover:bg-muted"}`,children:[(0,s.jsx)("input",{type:"radio",name:n,checked:t,onChange:r,className:"sr-only"}),e]})}},82977:(e,t,r)=>{r.d(t,{Gj:()=>i,ZD:()=>n,v7:()=>o});let s={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function n(e){return e.replace(/[&<>"']/g,e=>s[e])}function i(e){return n(e).replace(/`/g,"&#96;")}function o(e){let t=e.replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'").trim(),r=t.replace(/[\u0000-\u001f\u007f\s]+/g,"").toLowerCase();return r.startsWith("http://")||r.startsWith("https://")||r.startsWith("mailto:")||t.startsWith("/")&&!t.startsWith("//")||t.startsWith("#")?i(t):"#"}},98641:(e,t,r)=>{function s(e){return JSON.stringify(String(e))}function n(e){return/^[A-Za-z0-9_-]+$/.test(e)?e:s(e)}function i(e,t){let r=e.split(".").map(e=>e.trim()).filter(Boolean),s={},n=s;for(let e of r)n[e]={},n=n[e];return Object.assign(n,t),s}function o(e,t){let r=[`${n(e)}:`," mindos:"];if(t.type&&r.push(` type: ${s(t.type)}`),t.command&&r.push(` command: ${s(t.command)}`),t.url&&r.push(` url: ${s(t.url)}`),Array.isArray(t.args)&&r.push(` args: [${t.args.map(s).join(", ")}]`),t.env&&"object"==typeof t.env)for(let[e,i]of(r.push(" env:"),Object.entries(t.env)))r.push(` ${n(e)}: ${s(i)}`);if(t.headers&&"object"==typeof t.headers)for(let[e,i]of(r.push(" headers:"),Object.entries(t.headers)))r.push(` ${n(e)}: ${s(i)}`);return r.join("\n")}function a(e,t,r){var s,n;let a,l,d;if("stdio"===r)return function(e){let t={type:"stdio",command:"mindos",args:["mcp"],env:{MCP_TRANSPORT:"stdio"}};if("toml"===e.format){let t=`[${e.configKey}.mindos]
12
- command = "mindos"
13
- args = ["mcp"]
14
-
15
- [${e.configKey}.mindos.env]
16
- MCP_TRANSPORT = "stdio"`;return{snippet:t,displaySnippet:t,path:e.globalPath}}if("yaml"===e.format){let r=o(e.configKey,t);return{snippet:r,displaySnippet:r,path:e.globalPath}}if(e.globalNestedKey){let r=JSON.stringify(i(e.globalNestedKey,{mindos:t}),null,2);return{snippet:r,displaySnippet:r,path:e.globalPath}}let r=JSON.stringify({[e.configKey]:{mindos:t}},null,2);return{snippet:r,displaySnippet:r,path:e.globalPath}}(e);let c=t?.localIP?`http://${t.localIP}:${t.port}/mcp`:t?.endpoint??"http://127.0.0.1:8781/mcp";return s=t?.authToken,n=t?.maskedToken,a={url:c},s&&(a.headers={Authorization:`Bearer ${s}`}),l={url:c},n&&(l.headers={Authorization:`Bearer ${n}`}),{snippet:(d=t=>{if("toml"===e.format){let r=[`[${e.configKey}.mindos]`,'type = "http"',`url = "${c}"`],s=t.headers?.Authorization;return s&&(r.push(""),r.push(`[${e.configKey}.mindos.headers]`),r.push(`Authorization = "${s}"`)),r.join("\n")}return"yaml"===e.format?o(e.configKey,t):e.globalNestedKey?JSON.stringify(i(e.globalNestedKey,{mindos:t}),null,2):JSON.stringify({[e.configKey]:{mindos:t}},null,2)})(a),displaySnippet:d(s?l:a),path:(e.format,e.globalPath)}}r.d(t,{$k:()=>a})}}]);