@geminilight/mindos-windows-arm64 1.0.8 → 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.
- package/_standalone/.mindos-build-version +1 -1
- package/_standalone/__next/BUILD_ID +1 -1
- package/_standalone/__next/app-path-routes-manifest.json +22 -22
- package/_standalone/__next/build-manifest.json +3 -3
- package/_standalone/__next/prerender-manifest.json +3 -3
- package/_standalone/__next/react-loadable-manifest.json +15 -9
- package/_standalone/__next/server/app/.well-known/agent-card.json/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/_global-error.html +2 -2
- package/_standalone/__next/server/app/_global-error.rsc +1 -1
- package/_standalone/__next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/_standalone/__next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/_standalone/__next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/_standalone/__next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/_standalone/__next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/_standalone/__next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/_standalone/__next/server/app/_not-found/page.js +1 -1
- package/_standalone/__next/server/app/_not-found/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/agents/[agentKey]/page.js +1 -1
- package/_standalone/__next/server/app/agents/[agentKey]/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/agents/[agentKey]/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/agents/page.js +1 -1
- package/_standalone/__next/server/app/agents/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/agents/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/a2a/agents/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/a2a/delegations/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/a2a/discover/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/a2a/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/acp/config/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/acp/detect/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/acp/install/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/acp/registry/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/acp/session/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/agent-activity/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/agents/copy-skill/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/agents/custom/detect/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/agents/custom/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/ask/route.js +5 -5
- package/_standalone/__next/server/app/api/ask/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/ask-sessions/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/auth/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/backlinks/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/bootstrap/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/changes/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/channels/verify/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/connect/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/embedding/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/export/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/extract-docx/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/extract-pdf/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/file/import/route.js +1 -1
- package/_standalone/__next/server/app/api/file/import/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/file/raw/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/file/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/files/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/git/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/graph/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/health/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/im/activity/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/im/config/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/im/feishu/long-connection/event/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/im/feishu/long-connection/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/im/status/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/im/test/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/im/webhook/feishu/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/im/webhook-status/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/inbox/clip/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/inbox/route.js +1 -1
- package/_standalone/__next/server/app/api/inbox/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/init/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/lint/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/mcp/agents/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/mcp/direct-tools/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/mcp/install/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/mcp/install-skill/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/mcp/restart/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/mcp/status/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/mcp/tools/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/mcp/uninstall/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/monitoring/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/obsidian/compat-report/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/obsidian/import/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/obsidian-plugins/settings/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/recent-files/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/restart/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/search/prewarm/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/search/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/settings/list-models/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/settings/reset-token/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/settings/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/settings/test-key/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/setup/check-path/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/setup/check-port/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/setup/generate-token/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/setup/ls/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/setup/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/skills/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/space-overview/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/sync/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/tree-version/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/uninstall/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/update/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/update-check/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/update-status/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/workflows/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/capture/history/page.js +1 -1
- package/_standalone/__next/server/app/capture/history/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/capture/history/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/capture/page.js +1 -1
- package/_standalone/__next/server/app/capture/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/capture/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/changelog/page.js +1 -1
- package/_standalone/__next/server/app/changelog/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/changelog/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/changes/page.js +1 -1
- package/_standalone/__next/server/app/changes/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/changes/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/echo/[segment]/page.js +1 -1
- package/_standalone/__next/server/app/echo/[segment]/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/echo/[segment]/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/echo/page.js +1 -1
- package/_standalone/__next/server/app/echo/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/echo/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/explore/page.js +1 -1
- package/_standalone/__next/server/app/explore/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/explore/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/help/page.js +1 -1
- package/_standalone/__next/server/app/help/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/help/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/inbox/history/page.js +1 -1
- package/_standalone/__next/server/app/inbox/history/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/inbox/history/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/login/page.js +1 -1
- package/_standalone/__next/server/app/login/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/login/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/page.js +1 -1
- package/_standalone/__next/server/app/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/settings/page.js +2 -2
- package/_standalone/__next/server/app/settings/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/setup/page.js +1 -1
- package/_standalone/__next/server/app/setup/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/setup/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/todo/page.js +1 -1
- package/_standalone/__next/server/app/todo/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/todo/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/trash/page.js +3 -3
- package/_standalone/__next/server/app/trash/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/view/[...path]/page.js +3 -3
- package/_standalone/__next/server/app/view/[...path]/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/view/[...path]/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/wiki/page.js +2 -2
- package/_standalone/__next/server/app/wiki/page.js.nft.json +1 -1
- package/_standalone/__next/server/app/wiki/page_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app-paths-manifest.json +22 -22
- package/_standalone/__next/server/chunks/1665.js +3 -3
- package/_standalone/__next/server/chunks/1976.js +1 -1
- package/_standalone/__next/server/chunks/2428.js +3 -3
- package/_standalone/__next/server/chunks/4466.js +4 -4
- package/_standalone/__next/server/chunks/{9969.js → 5768.js} +2 -2
- package/_standalone/__next/server/chunks/6279.js +1 -0
- package/_standalone/__next/server/chunks/6602.js +47 -47
- package/_standalone/__next/server/chunks/8461.js +17 -17
- package/_standalone/__next/server/middleware-build-manifest.js +1 -1
- package/_standalone/__next/server/middleware-react-loadable-manifest.js +1 -1
- package/_standalone/__next/server/pages/500.html +2 -2
- package/_standalone/__next/server/server-reference-manifest.js +1 -1
- package/_standalone/__next/server/server-reference-manifest.json +1 -1
- package/_standalone/__next/static/chunks/1023-3a5a295bdb8f036e.js +53 -0
- package/_standalone/__next/static/chunks/1469-a47a8fdf907854b7.js +1 -0
- package/_standalone/__next/static/chunks/1471.26592788eb019d91.js +1 -0
- package/_standalone/__next/static/chunks/{2073-fadffc82a27afdc7.js → 2073-85e9695b8754ccd4.js} +4 -4
- package/_standalone/__next/static/chunks/2303.da761b42cec4cd5c.js +1 -0
- package/_standalone/__next/static/chunks/2571-f83b7e0b3f478222.js +1 -0
- package/_standalone/__next/static/chunks/2762-e6982806b63ccb64.js +1 -0
- package/_standalone/__next/static/chunks/3045-a957e615254f5059.js +20 -0
- package/_standalone/__next/static/chunks/3288-8f2809685fe349a8.js +1 -0
- package/_standalone/__next/static/chunks/3819-665b50f4dc3af9e2.js +1 -0
- package/_standalone/__next/static/chunks/3995-efb3b8f34f1a5a8f.js +27 -0
- package/_standalone/__next/static/chunks/4304-ee72ac41d1513389.js +8 -0
- package/_standalone/__next/static/chunks/{2245.ef71edb24c5232c2.js → 5098.096f96bd198d864c.js} +1 -1
- package/_standalone/__next/static/chunks/5840.ad2131db64e173a7.js +1 -0
- package/{static-web/_next/static/chunks/5913.a0a734f87b13f81a.js → _standalone/__next/static/chunks/5913.0aa553b16c2b0302.js} +1 -1
- package/{static-web/_next/static/chunks/3819.42b0ef6a61a01d67.js → _standalone/__next/static/chunks/6200.3f2d00ee8c2e9f9e.js} +1 -1
- package/_standalone/__next/static/chunks/6274-f173cb227ad1ef21.js +1 -0
- package/_standalone/__next/static/chunks/7904-fadcd92068780b59.js +16 -0
- package/_standalone/__next/static/chunks/8132-466a3fea8940c114.js +1 -0
- package/_standalone/__next/static/chunks/8924-685d2215bfd7204e.js +14 -0
- package/_standalone/__next/static/chunks/9202-9a33f968862439f5.js +1 -0
- package/_standalone/__next/static/chunks/{9602.218427fc7b3d6b11.js → 9602.cbfa1195944c2e3d.js} +1 -1
- package/_standalone/__next/static/chunks/{9947.81409c5539cd781d.js → 9947.99304c5fc22b4fbe.js} +1 -1
- package/_standalone/__next/static/chunks/app/agents/[agentKey]/{page-ef111ea0a3368752.js → page-89e05039dfc56a33.js} +1 -1
- package/_standalone/__next/static/chunks/app/agents/{page-aacead0f47cedb0d.js → page-9f4d0c5a3ec17720.js} +1 -1
- package/_standalone/__next/static/chunks/app/capture/page-86fc5eabdb1f3f87.js +14 -0
- package/_standalone/__next/static/chunks/app/echo/[segment]/{page-c5ea40ac04f2dc29.js → page-f0e6a66b3c9d60c0.js} +1 -1
- package/_standalone/__next/static/chunks/app/{layout-ed608bbf9585e78f.js → layout-1c84d9542b3d194e.js} +15 -15
- package/_standalone/__next/static/chunks/app/page-408daa74e14f5f27.js +1 -0
- package/_standalone/__next/static/chunks/app/settings/page-5eeea2c7c6dbf1d8.js +1 -0
- package/_standalone/__next/static/chunks/app/trash/page-31dba65333b30cc6.js +1 -0
- package/_standalone/__next/static/chunks/app/view/[...path]/page-5e9f49ab1b3bc3b2.js +12 -0
- package/_standalone/__next/static/chunks/app/wiki/page-d727a6cfe99e38a6.js +14 -0
- package/_standalone/__next/static/chunks/webpack-7fb8bc60a549efe2.js +1 -0
- package/_standalone/__next/static/css/67a9446950c3630b.css +1 -0
- package/assets/images/wechat-qr.png +0 -0
- package/dist/server/handlers/inbox.d.ts.map +1 -1
- package/dist/server/handlers/inbox.js +23 -2
- package/dist/server/handlers/inbox.js.map +1 -1
- package/dist/server/handlers/skills.d.ts.map +1 -1
- package/dist/server/handlers/skills.js +59 -5
- package/dist/server/handlers/skills.js.map +1 -1
- package/dist/server/runtime.d.ts +1 -0
- package/dist/server/runtime.d.ts.map +1 -1
- package/dist/server/runtime.js +10 -1
- package/dist/server/runtime.js.map +1 -1
- package/dist/session/index.d.ts +1 -0
- package/dist/session/index.d.ts.map +1 -1
- package/dist/session/index.js +1 -0
- package/dist/session/index.js.map +1 -1
- package/package.json +1 -1
- package/runtime-manifest.json +1 -1
- package/static-web/.mindos-build-version +1 -1
- package/static-web/_next/static/chunks/1023-3a5a295bdb8f036e.js +53 -0
- package/static-web/_next/static/chunks/1469-a47a8fdf907854b7.js +1 -0
- package/static-web/_next/static/chunks/1471.26592788eb019d91.js +1 -0
- package/static-web/_next/static/chunks/{2073-fadffc82a27afdc7.js → 2073-85e9695b8754ccd4.js} +4 -4
- package/static-web/_next/static/chunks/2303.da761b42cec4cd5c.js +1 -0
- package/static-web/_next/static/chunks/2571-f83b7e0b3f478222.js +1 -0
- package/static-web/_next/static/chunks/2762-e6982806b63ccb64.js +1 -0
- package/static-web/_next/static/chunks/3045-a957e615254f5059.js +20 -0
- package/static-web/_next/static/chunks/3288-8f2809685fe349a8.js +1 -0
- package/static-web/_next/static/chunks/3819-665b50f4dc3af9e2.js +1 -0
- package/static-web/_next/static/chunks/3995-efb3b8f34f1a5a8f.js +27 -0
- package/static-web/_next/static/chunks/4304-ee72ac41d1513389.js +8 -0
- package/static-web/_next/static/chunks/{2245.ef71edb24c5232c2.js → 5098.096f96bd198d864c.js} +1 -1
- package/static-web/_next/static/chunks/5840.ad2131db64e173a7.js +1 -0
- package/{_standalone/__next/static/chunks/5913.a0a734f87b13f81a.js → static-web/_next/static/chunks/5913.0aa553b16c2b0302.js} +1 -1
- package/{_standalone/__next/static/chunks/3819.42b0ef6a61a01d67.js → static-web/_next/static/chunks/6200.3f2d00ee8c2e9f9e.js} +1 -1
- package/static-web/_next/static/chunks/6274-f173cb227ad1ef21.js +1 -0
- package/static-web/_next/static/chunks/7904-fadcd92068780b59.js +16 -0
- package/static-web/_next/static/chunks/8132-466a3fea8940c114.js +1 -0
- package/static-web/_next/static/chunks/8924-685d2215bfd7204e.js +14 -0
- package/static-web/_next/static/chunks/9202-9a33f968862439f5.js +1 -0
- package/static-web/_next/static/chunks/{9602.218427fc7b3d6b11.js → 9602.cbfa1195944c2e3d.js} +1 -1
- package/static-web/_next/static/chunks/{9947.81409c5539cd781d.js → 9947.99304c5fc22b4fbe.js} +1 -1
- package/static-web/_next/static/chunks/app/agents/[agentKey]/{page-ef111ea0a3368752.js → page-89e05039dfc56a33.js} +1 -1
- package/static-web/_next/static/chunks/app/agents/{page-aacead0f47cedb0d.js → page-9f4d0c5a3ec17720.js} +1 -1
- package/static-web/_next/static/chunks/app/capture/page-86fc5eabdb1f3f87.js +14 -0
- package/static-web/_next/static/chunks/app/echo/[segment]/{page-c5ea40ac04f2dc29.js → page-f0e6a66b3c9d60c0.js} +1 -1
- package/static-web/_next/static/chunks/app/{layout-ed608bbf9585e78f.js → layout-1c84d9542b3d194e.js} +15 -15
- package/static-web/_next/static/chunks/app/page-408daa74e14f5f27.js +1 -0
- package/static-web/_next/static/chunks/app/settings/page-5eeea2c7c6dbf1d8.js +1 -0
- package/static-web/_next/static/chunks/app/trash/page-31dba65333b30cc6.js +1 -0
- package/static-web/_next/static/chunks/app/view/[...path]/page-5e9f49ab1b3bc3b2.js +12 -0
- package/static-web/_next/static/chunks/app/wiki/page-d727a6cfe99e38a6.js +14 -0
- package/static-web/_next/static/chunks/webpack-7fb8bc60a549efe2.js +1 -0
- package/static-web/_next/static/css/67a9446950c3630b.css +1 -0
- package/static-web/help/index.html +12 -8
- package/static-web/index.html +11 -7
- package/static-web/setup/index.html +12 -8
- package/static-web/static-web-manifest.json +1 -1
- package/static-web/wiki/index.html +11 -7
- package/_standalone/__next/server/chunks/3727.js +0 -1
- package/_standalone/__next/static/chunks/1104-0822d9349a412b9b.js +0 -16
- package/_standalone/__next/static/chunks/2258-2d3b5aac6a1fa92a.js +0 -53
- package/_standalone/__next/static/chunks/2303.ac755d2213a6ba9e.js +0 -1
- package/_standalone/__next/static/chunks/2409-244f9b90dceb0c04.js +0 -1
- package/_standalone/__next/static/chunks/3279-b49c25a4f2964b16.js +0 -1
- package/_standalone/__next/static/chunks/3807-115388f118106ca8.js +0 -1
- package/_standalone/__next/static/chunks/5026-7fed7ca22272c18f.js +0 -1
- package/_standalone/__next/static/chunks/5840.b812d86b830668e3.js +0 -1
- package/_standalone/__next/static/chunks/6272-6889f9239e888604.js +0 -14
- package/_standalone/__next/static/chunks/8174-50048777dc2469c0.js +0 -1
- package/_standalone/__next/static/chunks/8922-3babcd35e18e9e4f.js +0 -1
- package/_standalone/__next/static/chunks/9440-eee639175695be7d.js +0 -33
- package/_standalone/__next/static/chunks/9479-b48d19e3588823c1.js +0 -34
- package/_standalone/__next/static/chunks/app/capture/page-ae4d683afdc7a7b2.js +0 -1
- package/_standalone/__next/static/chunks/app/page-d22928276c36528c.js +0 -1
- package/_standalone/__next/static/chunks/app/settings/page-045afd8c0908f923.js +0 -1
- package/_standalone/__next/static/chunks/app/trash/page-251aaf5aac9d5a0b.js +0 -1
- package/_standalone/__next/static/chunks/app/view/[...path]/page-7e17c3d13fe2e275.js +0 -12
- package/_standalone/__next/static/chunks/app/wiki/page-4c9bc816069b6f2a.js +0 -14
- package/_standalone/__next/static/chunks/webpack-1decda0633a8a874.js +0 -1
- package/_standalone/__next/static/css/5f000212c8b2e09a.css +0 -1
- package/static-web/_next/static/chunks/1104-0822d9349a412b9b.js +0 -16
- package/static-web/_next/static/chunks/2258-2d3b5aac6a1fa92a.js +0 -53
- package/static-web/_next/static/chunks/2303.ac755d2213a6ba9e.js +0 -1
- package/static-web/_next/static/chunks/2409-244f9b90dceb0c04.js +0 -1
- package/static-web/_next/static/chunks/3279-b49c25a4f2964b16.js +0 -1
- package/static-web/_next/static/chunks/3807-115388f118106ca8.js +0 -1
- package/static-web/_next/static/chunks/5026-7fed7ca22272c18f.js +0 -1
- package/static-web/_next/static/chunks/5840.b812d86b830668e3.js +0 -1
- package/static-web/_next/static/chunks/6272-6889f9239e888604.js +0 -14
- package/static-web/_next/static/chunks/8174-50048777dc2469c0.js +0 -1
- package/static-web/_next/static/chunks/8922-3babcd35e18e9e4f.js +0 -1
- package/static-web/_next/static/chunks/9440-eee639175695be7d.js +0 -33
- package/static-web/_next/static/chunks/9479-b48d19e3588823c1.js +0 -34
- package/static-web/_next/static/chunks/app/capture/page-ae4d683afdc7a7b2.js +0 -1
- package/static-web/_next/static/chunks/app/page-d22928276c36528c.js +0 -1
- package/static-web/_next/static/chunks/app/settings/page-045afd8c0908f923.js +0 -1
- package/static-web/_next/static/chunks/app/trash/page-251aaf5aac9d5a0b.js +0 -1
- package/static-web/_next/static/chunks/app/view/[...path]/page-7e17c3d13fe2e275.js +0 -12
- package/static-web/_next/static/chunks/app/wiki/page-4c9bc816069b6f2a.js +0 -14
- package/static-web/_next/static/chunks/webpack-1decda0633a8a874.js +0 -1
- package/static-web/_next/static/css/5f000212c8b2e09a.css +0 -1
- /package/_standalone/__next/static/{apol5mbXb7N_sqaKgpXN1 → QRVhXGG4IotxFfmor1t55}/_buildManifest.js +0 -0
- /package/_standalone/__next/static/{apol5mbXb7N_sqaKgpXN1 → QRVhXGG4IotxFfmor1t55}/_ssgManifest.js +0 -0
- /package/static-web/_next/static/{apol5mbXb7N_sqaKgpXN1 → QRVhXGG4IotxFfmor1t55}/_buildManifest.js +0 -0
- /package/static-web/_next/static/{apol5mbXb7N_sqaKgpXN1 → QRVhXGG4IotxFfmor1t55}/_ssgManifest.js +0 -0
|
@@ -1,16 +1,20 @@
|
|
|
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/
|
|
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
|
+
relative flex items-center justify-center w-10 h-10 rounded-md transition-colors
|
|
3
|
+
text-muted-foreground hover:text-foreground hover:bg-muted
|
|
4
|
+
focus-visible:ring-2 focus-visible:ring-ring
|
|
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="
|
|
2
6
|
relative flex items-center justify-center w-10 h-10 rounded-md transition-colors
|
|
3
7
|
text-[var(--amber)] bg-[var(--amber-dim)]
|
|
4
8
|
focus-visible:ring-2 focus-visible:ring-ring
|
|
5
|
-
" id="base-ui-
|
|
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="
|
|
6
10
|
relative flex items-center justify-center w-10 h-10 rounded-md transition-colors
|
|
7
11
|
text-muted-foreground hover:text-foreground hover:bg-muted
|
|
8
12
|
focus-visible:ring-2 focus-visible:ring-ring
|
|
9
|
-
" id="base-ui-
|
|
13
|
+
" id="base-ui-_R_3gq8lb_" 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-search" aria-hidden="true"><path d="m21 21-4.34-4.34"></path><circle cx="11" cy="11" r="8"></circle></svg></span></button><button aria-pressed="false" aria-label="Agents" data-walkthrough="agents-panel" class="
|
|
10
14
|
relative flex items-center justify-center w-10 h-10 rounded-md transition-colors
|
|
11
15
|
text-muted-foreground hover:text-foreground hover:bg-muted
|
|
12
16
|
focus-visible:ring-2 focus-visible:ring-ring
|
|
13
|
-
" id="base-ui-
|
|
17
|
+
" id="base-ui-_R_3kq8lb_" 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-bot" aria-hidden="true"><path d="M12 8V4H8"></path><rect width="16" height="12" x="4" y="8" rx="2"></rect><path d="M2 14h2"></path><path d="M20 14h2"></path><path d="M15 13v2"></path><path d="M9 13v2"></path></svg></span></button></div><div class="flex-1"></div><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="Discover" class="
|
|
14
18
|
relative flex items-center justify-center w-10 h-10 rounded-md transition-colors
|
|
15
19
|
text-muted-foreground hover:text-foreground hover:bg-muted
|
|
16
20
|
focus-visible:ring-2 focus-visible:ring-ring
|
|
@@ -23,7 +27,7 @@
|
|
|
23
27
|
flex-col bg-card border-r border-border
|
|
24
28
|
transition-[transform,left,width] duration-200 ease-out
|
|
25
29
|
translate-x-0
|
|
26
|
-
" 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">
|
|
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="
|
|
27
31
|
group hidden md:flex
|
|
28
32
|
fixed z-40 bottom-5 right-5
|
|
29
33
|
items-center justify-center
|
|
@@ -47,5 +51,5 @@
|
|
|
47
51
|
padding-top: 0;
|
|
48
52
|
}
|
|
49
53
|
}
|
|
50
|
-
</style><script>requestAnimationFrame(function(){$RT=performance.now()});</script><script src="/_next/static/chunks/webpack-1decda0633a8a874.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};
|
|
51
|
-
$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-fadffc82a27afdc7.js\",\"6023\",\"static/chunks/app/wiki/page-4c9bc816069b6f2a.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\",\"8174\",\"static/chunks/8174-50048777dc2469c0.js\",\"8922\",\"static/chunks/8922-3babcd35e18e9e4f.js\",\"3807\",\"static/chunks/3807-115388f118106ca8.js\",\"2073\",\"static/chunks/2073-fadffc82a27afdc7.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5026\",\"static/chunks/5026-7fed7ca22272c18f.js\",\"9479\",\"static/chunks/9479-b48d19e3588823c1.js\",\"9440\",\"static/chunks/9440-eee639175695be7d.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-ed608bbf9585e78f.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\",\"8174\",\"static/chunks/8174-50048777dc2469c0.js\",\"8922\",\"static/chunks/8922-3babcd35e18e9e4f.js\",\"3807\",\"static/chunks/3807-115388f118106ca8.js\",\"2073\",\"static/chunks/2073-fadffc82a27afdc7.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5026\",\"static/chunks/5026-7fed7ca22272c18f.js\",\"9479\",\"static/chunks/9479-b48d19e3588823c1.js\",\"9440\",\"static/chunks/9440-eee639175695be7d.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-ed608bbf9585e78f.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\",\"8174\",\"static/chunks/8174-50048777dc2469c0.js\",\"8922\",\"static/chunks/8922-3babcd35e18e9e4f.js\",\"3807\",\"static/chunks/3807-115388f118106ca8.js\",\"2073\",\"static/chunks/2073-fadffc82a27afdc7.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5026\",\"static/chunks/5026-7fed7ca22272c18f.js\",\"9479\",\"static/chunks/9479-b48d19e3588823c1.js\",\"9440\",\"static/chunks/9440-eee639175695be7d.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-ed608bbf9585e78f.js\"],\"default\"]\n15:I[28285,[\"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\",\"8174\",\"static/chunks/8174-50048777dc2469c0.js\",\"8922\",\"static/chunks/8922-3babcd35e18e9e4f.js\",\"3807\",\"static/chunks/3807-115388f118106ca8.js\",\"2073\",\"static/chunks/2073-fadffc82a27afdc7.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5026\",\"static/chunks/5026-7fed7ca22272c18f.js\",\"9479\",\"static/chunks/9479-b48d19e3588823c1.js\",\"9440\",\"static/chunks/9440-eee639175695be7d.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-ed608bbf9585e78f.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\",\"8174\",\"static/chunks/8174-50048777dc2469c0.js\",\"8922\",\"static/chunks/8922-3babcd35e18e9e4f.js\",\"3807\",\"static/chunks/3807-115388f118106ca8.js\",\"2073\",\"static/chunks/2073-fadffc82a27afdc7.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5026\",\"static/chunks/5026-7fed7ca22272c18f.js\",\"9479\",\"static/chunks/9479-b48d19e3588823c1.js\",\"9440\",\"static/chunks/9440-eee639175695be7d.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-ed608bbf9585e78f.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\",\"8174\",\"static/chunks/8174-50048777dc2469c0.js\",\"8922\",\"static/chunks/8922-3babcd35e18e9e4f.js\",\"3807\",\"static/chunks/3807-115388f118106ca8.js\",\"2073\",\"static/chunks/2073-fadffc82a27afdc7.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5026\",\"static/chunks/5026-7fed7ca22272c18f.js\",\"9479\",\"static/chunks/9479-b48d19e3588823c1.js\",\"9440\",\"static/chunks/9440-eee639175695be7d.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-ed608bbf9585e78f.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\",\"8174\",\"static/chunks/8174-50048777dc2469c0.js\",\"8922\",\"static/chunks/8922-3babcd35e18e9e4f.js\",\"3807\",\"static/chunks/3807-115388f118106ca8.js\",\"2073\",\"static/chunks/2073-fadffc82a27afdc7.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5026\",\"static/chunks/5026-7fed7ca22272c18f.js\",\"9479\",\"static/chunks/9479-b48d19e3588823c1.js\",\"9440\",\"static/chunks/9440-eee639175695be7d.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-ed608bbf9585e78f.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\",\"8174\",\"static/chunks/8174-50048777dc2469c0.js\",\"8922\",\"static/chunks/8922-3babcd35e18e9e4f.js\",\"3807\",\"static/chunks/3807-115388f118106ca8.js\",\"2073\",\"static/chunks/2073-fadffc82a27afdc7.js\",\"5152\",\"static/chunks/5152-87e6ed56dfd7d17d.js\",\"5191\",\"static/chunks/5191-88914df1c15c22e6.js\",\"5026\",\"static/chunks/5026-7fed7ca22272c18f.js\",\"9479\",\"static/chunks/9479-b48d19e3588823c1.js\",\"9440\",\"static/chunks/9440-eee639175695be7d.js\",\"763\",\"static/chunks/763-10e7ea1774f0970d.js\",\"2669\",\"static/chunks/2669-60014e0cb3a45fce.js\",\"7177\",\"static/chunks/app/layout-ed608bbf9585e78f.js\"],\"default\"]\n1b:I[28169,[],\"IconMark\"]\n:HL[\"/_next/static/css/5f000212c8b2e09a.css\",\"style\"]\n:HL[\"/_next/static/css/599369d853c61df7.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"apol5mbXb7N_sqaKgpXN1\",\"c\":[\"\",\"wiki\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"wiki\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/5f000212c8b2e09a.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\":1778614689196.341}]}],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=3727,exports.ids=[3727],exports.modules={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"}]])},76374:(a,b,c)=>{c.d(b,{default:()=>H});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(89516),o=c(31448),p=c(46258),q=c(77949),r=c(90697);let s=(0,c(55168).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 t=c(23095),u=c(55433),v=c(34623),w=c(81644),x=c(32068),y=c(83614),z=c(63301),A=c(55231),B=c(74569),C=c(33659),D=c(76867),E=c(51522),F=c(75004);let G={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 H(){let{t:a}=(0,C.Y)(),b=(0,h.useRouter)(),[c,f]=(0,e.useState)([]),[r,s]=(0,e.useState)(!0),[t,u]=(0,e.useState)(!1),[v,w]=(0,e.useState)(!1),[x,y]=(0,e.useState)([]),[z,A]=(0,e.useState)(""),[D,H]=(0,e.useState)(!1),[J,L]=(0,e.useState)(!1),M=(0,e.useRef)(null),N=(0,e.useRef)(null),O=(0,e.useRef)(0),P=(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{s(!1)}},[]),Q=(0,e.useCallback)(()=>{y((0,F.FB)())},[]),R=(0,e.useRef)(void 0);(0,e.useCallback)(()=>{clearTimeout(R.current),R.current=setTimeout(()=>{P(),Q()},80)},[P,Q]);let S=(0,e.useCallback)(()=>{0===c.length||t||(u(!0),window.dispatchEvent(new CustomEvent("mindos:inbox-organize",{detail:{files:c}})))},[c,t]),T=(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")),B.oR.success(a.inbox.fileRemoved)}catch{B.oR.error(a.inbox.fileRemoveFailed)}},[a]),U=(0,e.useCallback)(b=>{b&&0!==b.length&&((0,E.QL)(Array.from(b),a),M.current&&(M.current.value=""))},[a]),V=(0,e.useCallback)(async b=>{let c=b.trim();if(c&&(0,E.h0)(c)){H(!0);try{await (0,E.TM)(c,a),A("")}finally{H(!1)}}},[a]),W=(0,e.useCallback)(b=>{b.preventDefault(),b.stopPropagation(),O.current=0,w(!1),L(!1);let c=(0,E.Aw)(b.nativeEvent);c?V(c):b.dataTransfer.files.length>0&&(0,E.QL)(Array.from(b.dataTransfer.files),a)},[a,V]),X=(0,e.useMemo)(()=>c.filter(a=>a.isAging).length,[c]),Y=c.length>0,Z=(0,e.useMemo)(()=>x.slice(0,5),[x]),[$,_]=(0,e.useState)(!0);return((0,e.useRef)(0),r)?(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:M,type:"file",multiple:!0,accept:".md,.markdown,.txt,.csv,.json,.yaml,.yml,.xml,.html,.htm,.pdf,.doc,.docx,.docm",className:"hidden",onChange:a=>U(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}),Y&&(0,d.jsxs)("span",{className:"text-2xs text-muted-foreground/60 leading-tight shrink-0",children:[a.inbox.fileCount(c.length),X>0&&(0,d.jsxs)("span",{className:"text-[var(--amber)]/70",children:[" \xb7 ",X," ",a.inbox.agingHint]})]})]})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2 shrink-0",children:[(0,d.jsxs)("button",{type:"button",onClick:()=>M.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})]}),Y&&(0,d.jsxs)("button",{onClick:S,disabled:t,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:t?a.inbox.organizing:a.inbox.organizeButton,children:[t?(0,d.jsx)(l.A,{size:13,className:"animate-spin"}):(0,d.jsx)(m.A,{size:13}),(0,d.jsx)("span",{children:t?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:"max-w-[780px] mx-auto",children:[(0,d.jsxs)("div",{className:`rounded-xl border overflow-hidden transition-all duration-200 mb-6 ${v?"border-[var(--amber)] bg-[var(--amber-subtle)] shadow-[inset_0_0_0_1px_var(--amber)]":"border-border/50 bg-card/30"}`,onDragEnter:a=>{let b=a.dataTransfer.types.includes("Files"),c=(0,E.lL)(a.nativeEvent);(b||c)&&(a.preventDefault(),a.stopPropagation(),O.current++,1===O.current&&(w(!0),L(c&&!b)))},onDragOver:a=>{let b=a.dataTransfer.types.includes("Files"),c=(0,E.lL)(a.nativeEvent);(b||c)&&(a.preventDefault(),a.stopPropagation())},onDragLeave:a=>{a.stopPropagation(),O.current=Math.max(0,O.current-1),0===O.current&&(w(!1),L(!1))},onDrop:W,children:[(0,d.jsx)("div",{className:`cursor-pointer transition-colors duration-150 ${Y?"px-4 py-3.5":"px-4 py-10"} ${!v?"hover:bg-muted/[0.06]":""}`,role:"button",tabIndex:0,"aria-label":a.inbox.uploadButton,onClick:()=>M.current?.click(),onKeyDown:a=>{("Enter"===a.key||" "===a.key)&&(a.preventDefault(),M.current?.click())},children:v&&J?(0,d.jsxs)("div",{className:"flex items-center justify-center gap-2.5 text-center py-1",children:[(0,d.jsx)(n.A,{size:22,className:"shrink-0 text-[var(--amber)] animate-pulse"}),(0,d.jsx)("p",{className:"text-sm font-medium text-[var(--amber)]",children:a.inbox.dropUrlOverlay})]}):Y?(0,d.jsxs)("div",{className:"flex items-center justify-center gap-2 text-center",children:[(0,d.jsx)(o.A,{size:15,className:`shrink-0 ${v?"text-[var(--amber)]":"text-muted-foreground/30"}`}),(0,d.jsxs)("p",{className:"text-xs text-muted-foreground/50",children:[a.inbox.dropFilesOrLinks," ",(0,d.jsx)("span",{className:"text-[var(--amber)]/70 hover:text-[var(--amber)] hover:underline",children:a.fileImport.dropzoneCompactButton})]})]}):(0,d.jsxs)("div",{className:"flex flex-col items-center gap-3 text-center",children:[(0,d.jsx)("div",{className:`flex items-center justify-center w-14 h-14 rounded-2xl transition-colors duration-200 ${v?"bg-[var(--amber)]/15":"bg-[var(--amber-subtle)]"}`,children:(0,d.jsx)(o.A,{size:26,className:`transition-colors duration-200 ${v?"text-[var(--amber)]":"text-[var(--amber)]/35"}`})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-sm font-medium text-foreground/70",children:a.inbox.emptyTitle}),(0,d.jsx)("p",{className:"text-xs text-muted-foreground/50 mt-1.5 max-w-[280px] mx-auto leading-relaxed",children:a.inbox.emptyDesc})]}),(0,d.jsx)("div",{className:"flex items-center gap-1.5",children:["md","txt","pdf","csv","json"].map(a=>{let b=G[a]??{bg:"bg-muted/50",text:"text-muted-foreground/50"};return(0,d.jsxs)("span",{className:`text-2xs font-mono px-1.5 py-px rounded ${b.bg} ${b.text}`,children:[".",a]},a)})})]})}),(0,d.jsx)("div",{className:"border-t border-border/20 mx-4"}),(0,d.jsxs)("div",{className:"flex items-center gap-3 px-4 py-3 transition-colors duration-150 focus-within:bg-muted/[0.06]",onClick:a=>{a.stopPropagation(),N.current?.focus()},children:[(0,d.jsx)("div",{className:`flex items-center justify-center w-7 h-7 rounded-lg shrink-0 transition-colors duration-150 ${D?"bg-[var(--amber)]/15":z?"bg-[var(--amber)]/10":"bg-muted/50"}`,children:D?(0,d.jsx)(l.A,{size:13,className:"text-[var(--amber)] animate-spin"}):(0,d.jsx)(p.A,{size:13,className:`transition-colors duration-150 ${z?"text-[var(--amber)]":"text-muted-foreground/40"}`})}),(0,d.jsx)("input",{ref:N,type:"url",value:z,onChange:a=>A(a.target.value),onKeyDown:a=>{"Enter"!==a.key||D||(a.preventDefault(),V(z))},onPaste:a=>{let b=a.clipboardData.getData("text/plain").trim();b&&(0,E.h0)(b)&&!z&&(a.preventDefault(),A(b),setTimeout(()=>V(b),50))},placeholder:a.inbox.clipUrlPlaceholder,disabled:D,className:"flex-1 min-w-0 bg-transparent text-sm text-foreground placeholder:text-muted-foreground/30 outline-none disabled:opacity-50"}),z&&!D&&(0,d.jsxs)("button",{type:"button",onClick:a=>{a.stopPropagation(),V(z)},className:"shrink-0 flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-lg bg-[var(--amber)]/10 text-[var(--amber)] hover:bg-[var(--amber)]/20 transition-all duration-150 ease-out cursor-pointer",children:[(0,d.jsx)(n.A,{size:12}),a.inbox.clipButton]}),D&&(0,d.jsx)("span",{className:"shrink-0 text-xs text-[var(--amber)]/70 tabular-nums",children:a.inbox.clipping})]})]}),Y&&(0,d.jsx)("div",{className:"mb-8",children:(0,d.jsx)("div",{className:"rounded-xl border border-border overflow-hidden divide-y divide-border/50",children:c.map((a,b)=>(0,d.jsx)(I,{file:a,index:b,animate:$,onDelete:T},a.path))})}),Z.length>0&&(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 mb-3",children:[(0,d.jsx)(q.A,{size:12,className:"text-muted-foreground/40"}),(0,d.jsx)("span",{className:"text-2xs font-medium text-muted-foreground/50 uppercase tracking-wider",children:a.importHistory.title}),x.length>5&&(0,d.jsx)(g(),{href:"/capture/history",className:"ml-auto text-2xs text-muted-foreground/50 hover:text-[var(--amber)] transition-colors",children:a.inbox.viewAllHistory(x.length)})]}),(0,d.jsx)("div",{className:"space-y-2",children:Z.map(a=>(0,d.jsx)(K,{entry:a},a.id))})]}),Y&&0===Z.length&&(0,d.jsxs)("div",{className:"flex items-start gap-2.5 px-3.5 py-3 rounded-lg bg-[var(--amber-subtle)]/50 border border-[var(--amber)]/10 animate-[fadeSlideUp_0.22s_ease_both]",children:[(0,d.jsx)(m.A,{size:14,className:"text-[var(--amber)]/60 shrink-0 mt-0.5"}),(0,d.jsx)("p",{className:"text-xs text-foreground/60 leading-relaxed",children:a.inbox.viewOrganizeTip})]}),!Y&&0===Z.length&&(0,d.jsx)("div",{className:"flex flex-col items-center gap-1.5 py-2 text-center",children:(0,d.jsx)("p",{className:"text-2xs text-muted-foreground/30",children:a.inbox.viewEmptyGuide})})]})})]})}function I({file:a,onDelete:b,index:c,animate:f}){var g,i,j;let k,l,{t:m}=(0,C.Y)(),n=(0,h.useRouter)(),o=(k=(g=a.name).lastIndexOf("."))>0?g.slice(k+1).toLowerCase():"",p=(l=(i=a.name).lastIndexOf("."))>0?i.slice(0,l):i,q=G[o],v=L(a.modifiedAt,m.home.relativeTime),[w,x]=(0,e.useState)(null),y=(j=a.size)<1024?`${j} B`:j<1048576?`${Math.round(j/1024)} KB`:`${(j/1048576).toFixed(1)} MB`,z="csv"===o?r.A:"json"===o?s:t.A,A="csv"===o?"text-emerald-500/70":"json"===o?"text-violet-500/70":"pdf"===o?"text-error/60":"text-muted-foreground/60";return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{role:"button",tabIndex:0,onClick:()=>n.push(`/view/${(0,D.O0)(a.path)}`),onKeyDown:b=>{"Enter"===b.key&&n.push(`/view/${(0,D.O0)(a.path)}`)},onContextMenu:a=>{a.preventDefault(),a.stopPropagation(),x({x:a.clientX,y:a.clientY})},className:`flex items-center gap-3 px-4 py-3 bg-card hover:bg-accent transition-colors duration-100 cursor-pointer group${f?" animate-[fadeSlideUp_0.22s_ease_both]":""}`,style:f?{animationDelay:`${30*c}ms`}:void 0,children:[(0,d.jsx)(z,{size:15,className:`shrink-0 ${A}`}),(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:p}),q&&(0,d.jsxs)("span",{className:`text-2xs font-mono px-1.5 py-px rounded shrink-0 ${q.bg} ${q.text}`,children:[".",o]}),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:m.inbox.agingHint,children:m.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:y}),(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:v})]})]}),(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:m.inbox.removeFile,children:(0,d.jsx)(u.A,{size:14})})]}),w&&(0,d.jsx)(J,{x:w.x,y:w.y,file:a,onDelete:()=>{x(null),b(a.name)},onClose:()=>x(null)})]})}function J({x:a,y:b,file:c,onDelete:f,onClose:g}){let i=(0,e.useRef)(null),j=(0,h.useRouter)(),{t:k}=(0,C.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,D.O0)(c.path)}`),g()},children:[(0,d.jsx)(v.A,{size:14,className:"shrink-0"})," ",k.inbox.openFile]}),(0,d.jsxs)("button",{className:l,onClick:()=>{navigator.clipboard.writeText(c.name),B.oR.copy(),g()},children:[(0,d.jsx)(w.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)(x.A,{size:14,className:"shrink-0"})," ",k.inbox.removeFile]})]})}function K({entry:a}){let{t:b}=(0,C.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=L(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)(y.A,{size:13,className:"text-muted-foreground/40 shrink-0"}):(0,d.jsx)(z.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)(A.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,D.O0)(a.path)}`,className:j,children:k},`${a.path}-${c}`):(0,d.jsx)("div",{className:j,children:k},`${a.path}-${c}`)})})]})}function L(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)}},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"}]])},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={"&":"&","<":"<",">":">",'"':""","'":"'"};function n(e){return e.replace(/[&<>"']/g,e=>s[e])}function i(e){return n(e).replace(/`/g,"`")}function o(e){let t=e.replace(/&/g,"&").replace(/"/g,'"').replace(/'/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})}}]);
|