@geminilight/mindos-windows-arm64 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_standalone/.mindos-build-version +1 -1
- package/_standalone/__next/BUILD_ID +1 -1
- package/_standalone/__next/app-path-routes-manifest.json +26 -26
- package/_standalone/__next/build-manifest.json +4 -4
- package/_standalone/__next/prerender-manifest.json +3 -3
- package/_standalone/__next/react-loadable-manifest.json +4 -4
- package/_standalone/__next/required-server-files.json +4 -4
- package/_standalone/__next/server/app/.well-known/agent-card.json/route.js +1 -1
- 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.js +3 -3
- 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 +3 -3
- package/_standalone/__next/server/app/_global-error.segments/_full.segment.rsc +3 -3
- 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 +2 -2
- package/_standalone/__next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/_standalone/__next/server/app/_not-found/page.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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.js +1 -1
- package/_standalone/__next/server/app/api/a2a/agents/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/a2a/delegations/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/a2a/discover/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/a2a/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/acp/config/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/acp/detect/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/acp/install/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/acp/registry/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/acp/session/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/agent-activity/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/agents/copy-skill/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/agents/custom/detect/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/agents/custom/route.js.nft.json +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 +2 -2
- package/_standalone/__next/server/app/api/ask/route.js.nft.json +1 -1
- package/_standalone/__next/server/app/api/ask/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/ask-sessions/route.js +1 -1
- package/_standalone/__next/server/app/api/ask-sessions/route.js.nft.json +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.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.js +1 -1
- package/_standalone/__next/server/app/api/backlinks/route.js.nft.json +1 -1
- package/_standalone/__next/server/app/api/backlinks/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/bootstrap/route.js +1 -1
- package/_standalone/__next/server/app/api/bootstrap/route.js.nft.json +1 -1
- package/_standalone/__next/server/app/api/bootstrap/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/changes/route.js +1 -1
- package/_standalone/__next/server/app/api/changes/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/channels/verify/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/connect/route.js.nft.json +1 -1
- package/_standalone/__next/server/app/api/connect/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/embedding/route.js +1 -1
- package/_standalone/__next/server/app/api/embedding/route.js.nft.json +1 -1
- package/_standalone/__next/server/app/api/embedding/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/export/route.js +1 -1
- package/_standalone/__next/server/app/api/export/route.js.nft.json +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.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.js +2 -2
- 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.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/file/raw/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/file/route.js.nft.json +1 -1
- package/_standalone/__next/server/app/api/file/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/files/route.js +1 -1
- package/_standalone/__next/server/app/api/files/route.js.nft.json +1 -1
- package/_standalone/__next/server/app/api/files/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/git/route.js +1 -1
- package/_standalone/__next/server/app/api/git/route.js.nft.json +1 -1
- package/_standalone/__next/server/app/api/git/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/graph/route.js +1 -1
- package/_standalone/__next/server/app/api/graph/route.js.nft.json +1 -1
- package/_standalone/__next/server/app/api/graph/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/health/route.js +1 -1
- package/_standalone/__next/server/app/api/health/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/im/activity/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/im/config/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/im/feishu/long-connection/event/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/im/feishu/long-connection/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/im/status/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/im/test/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/im/webhook/feishu/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/im/webhook-status/route.js.nft.json +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.js +2 -2
- package/_standalone/__next/server/app/api/inbox/clip/route.js.nft.json +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.js.nft.json +1 -1
- package/_standalone/__next/server/app/api/inbox/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/init/route.js +1 -1
- package/_standalone/__next/server/app/api/init/route.js.nft.json +1 -1
- package/_standalone/__next/server/app/api/init/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/lint/route.js +1 -1
- package/_standalone/__next/server/app/api/lint/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/mcp/agents/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/mcp/direct-tools/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/mcp/install/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/mcp/install-skill/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/mcp/restart/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/mcp/status/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/mcp/tools/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/mcp/uninstall/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/monitoring/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/obsidian/compat-report/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/obsidian/import/route.js.nft.json +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.js +2 -2
- package/_standalone/__next/server/app/api/obsidian-plugins/settings/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/recent-files/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/restart/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/search/prewarm/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/search/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/settings/list-models/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/settings/reset-token/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/settings/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/settings/test-key/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/setup/check-path/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/setup/check-port/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/setup/generate-token/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/setup/ls/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/setup/route.js.nft.json +1 -1
- package/_standalone/__next/server/app/api/setup/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/skills/route.js +1 -1
- package/_standalone/__next/server/app/api/skills/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/space-overview/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/sync/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/tree-version/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/uninstall/route.js.nft.json +1 -1
- package/_standalone/__next/server/app/api/uninstall/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/update/route.js +1 -1
- package/_standalone/__next/server/app/api/update/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/update-check/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/update-status/route.js.nft.json +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.js +1 -1
- package/_standalone/__next/server/app/api/workflows/route.js.nft.json +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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +4 -4
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- 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/icon.svg/route.js +1 -1
- package/_standalone/__next/server/app/inbox/history/page.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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.js.nft.json +1 -1
- 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 +26 -26
- package/_standalone/__next/server/chunks/{6602.js → 1834.js} +32 -32
- package/_standalone/__next/server/chunks/1976.js +3 -3
- package/_standalone/__next/server/chunks/3466.js +1 -1
- package/_standalone/__next/server/chunks/3566.js +1 -1
- package/_standalone/__next/server/chunks/3727.js +1 -1
- package/_standalone/__next/server/chunks/4793.js +1 -1
- package/_standalone/__next/server/chunks/6377.js +3 -3
- package/_standalone/__next/server/chunks/6754.js +1 -1
- package/_standalone/__next/server/chunks/7765.js +1 -1
- package/_standalone/__next/server/chunks/8028.js +1 -1
- package/_standalone/__next/server/chunks/{7295.js → 8461.js} +19 -19
- package/_standalone/__next/server/chunks/9350.js +2 -2
- package/_standalone/__next/server/chunks/{5225.js → 9773.js} +4 -4
- 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/middleware.js +2 -2
- 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/{1430-a3447cf370715cad.js → 1430-c4ffa328888515c1.js} +1 -1
- package/{static-web/_next/static/chunks/7166-d6d8489fdf67d180.js → _standalone/__next/static/chunks/1957-723ac4eb5200214c.js} +3 -3
- package/_standalone/__next/static/chunks/{2280-2277c97eae59ded9.js → 2737-f4970f0684c334d6.js} +2 -2
- package/{static-web/_next/static/chunks/5200-2447cea5eb41a922.js → _standalone/__next/static/chunks/5200-6c82e5ce54a95b4b.js} +2 -2
- package/_standalone/__next/static/chunks/{1998.c8edc5601fa7362f.js → 6728.e1841cddb63308b0.js} +1 -1
- package/_standalone/__next/static/chunks/{6947.51e37852cef26113.js → 6947.fb89346ef2f6be17.js} +1 -1
- package/_standalone/__next/static/chunks/app/_not-found/{page-ec6fa498a07e6fd9.js → page-eaedcec1b693c03c.js} +1 -1
- package/{static-web/_next/static/chunks/app/agents/[agentKey]/page-44c493b744d18249.js → _standalone/__next/static/chunks/app/agents/[agentKey]/page-1dac12945bfbaf35.js} +1 -1
- package/{static-web/_next/static/chunks/app/agents/page-6591b482a193e657.js → _standalone/__next/static/chunks/app/agents/page-7ff2e39ca12eb20a.js} +1 -1
- package/_standalone/__next/static/chunks/app/capture/history/page-51db96203209a441.js +1 -0
- package/_standalone/__next/static/chunks/app/capture/page-3bf09d1f5e1c379c.js +1 -0
- package/_standalone/__next/static/chunks/app/changelog/page-01dc22b6d2230c7f.js +1 -0
- package/_standalone/__next/static/chunks/app/changes/page-c9f8d5632a001849.js +1 -0
- package/{static-web/_next/static/chunks/app/echo/[segment]/page-c5ea40ac04f2dc29.js → _standalone/__next/static/chunks/app/echo/[segment]/page-44b6b8e7fd0bbe31.js} +2 -2
- package/_standalone/__next/static/chunks/app/echo/page-c9f8d5632a001849.js +1 -0
- package/_standalone/__next/static/chunks/app/{error-c46d1b03d5e3289c.js → error-1cfcd6abd93c3837.js} +1 -1
- package/_standalone/__next/static/chunks/app/explore/{page-5d6dd4af8d1bb468.js → page-117fcf54b8b9765c.js} +1 -1
- package/_standalone/__next/static/chunks/app/global-error-11b333dcf222bc09.js +1 -0
- package/{static-web/_next/static/chunks/app/help/page-3f0a1a8e51249cb2.js → _standalone/__next/static/chunks/app/help/page-6efb8aa3a3c169fa.js} +1 -1
- package/_standalone/__next/static/chunks/app/inbox/history/page-913645bbd6161116.js +1 -0
- package/_standalone/__next/static/chunks/app/{layout-7aa371fe2615cd3e.js → layout-24a31ea28c556e82.js} +38 -38
- package/_standalone/__next/static/chunks/app/login/page-7f9aca3d51266bec.js +1 -0
- package/{static-web/_next/static/chunks/app/page-5c9489e28657376e.js → _standalone/__next/static/chunks/app/page-35662964020c0ea9.js} +1 -1
- package/_standalone/__next/static/chunks/app/settings/{page-4b75d6c17f42d565.js → page-f816f13a34613538.js} +1 -1
- package/{static-web/_next/static/chunks/app/setup/page-f5de08d0d588c778.js → _standalone/__next/static/chunks/app/setup/page-a1027871dc33ffbd.js} +1 -1
- package/_standalone/__next/static/chunks/app/todo/page-54c3ec77f662ff73.js +1 -0
- package/_standalone/__next/static/chunks/app/trash/page-50622e3df2047204.js +1 -0
- package/_standalone/__next/static/chunks/app/view/[...path]/{error-f73092e638a4e999.js → error-c9a3f6de7c963c74.js} +1 -1
- package/_standalone/__next/static/chunks/app/view/[...path]/{not-found-80e5f4054819b372.js → not-found-5a4f2b4fbe28d617.js} +1 -1
- package/{static-web/_next/static/chunks/app/view/[...path]/page-ffe3c61100e25591.js → _standalone/__next/static/chunks/app/view/[...path]/page-b10d3819827da1c2.js} +2 -2
- package/{static-web/_next/static/chunks/app/wiki/page-4c9bc816069b6f2a.js → _standalone/__next/static/chunks/app/wiki/page-7afd3b97c1ea1b8c.js} +2 -2
- package/_standalone/__next/static/chunks/{main-app-23adfdc06470abb6.js → main-app-8a6081b103b8f494.js} +1 -1
- package/_standalone/__next/static/chunks/webpack-7d8c24c6af17dd51.js +1 -0
- package/_standalone/__node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
- package/_standalone/__node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
- package/_standalone/__node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
- package/_standalone/__node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
- package/_standalone/__node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/_standalone/__node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/_standalone/__node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/_standalone/__node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
- package/_standalone/__node_modules/@aws-sdk/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
- package/_standalone/__node_modules/@aws-sdk/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
- package/_standalone/__node_modules/@aws-sdk/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
- package/_standalone/__node_modules/@aws-sdk/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
- package/_standalone/__node_modules/@aws-sdk/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/_standalone/__node_modules/@aws-sdk/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/_standalone/__node_modules/@aws-sdk/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/_standalone/__node_modules/@aws-sdk/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
- package/_standalone/__node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
- package/_standalone/__node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
- package/_standalone/__node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
- package/_standalone/__node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
- package/_standalone/__node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/_standalone/__node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/_standalone/__node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/_standalone/__node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
- package/_standalone/__node_modules/@aws-sdk/middleware-websocket/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
- package/_standalone/__node_modules/@aws-sdk/middleware-websocket/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
- package/_standalone/__node_modules/@aws-sdk/middleware-websocket/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
- package/_standalone/__node_modules/@aws-sdk/middleware-websocket/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
- package/_standalone/__node_modules/@aws-sdk/middleware-websocket/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/_standalone/__node_modules/@aws-sdk/middleware-websocket/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/_standalone/__node_modules/@aws-sdk/middleware-websocket/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/_standalone/__node_modules/@aws-sdk/middleware-websocket/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
- package/_standalone/__node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
- package/_standalone/__node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
- package/_standalone/__node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
- package/_standalone/__node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
- package/_standalone/__node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/_standalone/__node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/_standalone/__node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/_standalone/__node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
- package/_standalone/__node_modules/@aws-sdk/xml-builder/node_modules/.bin/fxparser +2 -2
- package/_standalone/__node_modules/@mariozechner/pi-agent-core/node_modules/.bin/pi-ai +2 -2
- package/_standalone/__node_modules/@mariozechner/pi-agent-core/node_modules/@mariozechner/pi-ai/node_modules/.bin/anthropic-ai-sdk +2 -2
- package/_standalone/__node_modules/@mariozechner/pi-agent-core/node_modules/@mariozechner/pi-ai/node_modules/.bin/openai +2 -2
- package/_standalone/__node_modules/@mariozechner/pi-ai/node_modules/.bin/anthropic-ai-sdk +2 -2
- package/_standalone/__node_modules/@mariozechner/pi-ai/node_modules/.bin/openai +2 -2
- package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/.bin/extract-zip +2 -2
- package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/.bin/highlight +2 -2
- package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/.bin/jiti +2 -2
- package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/.bin/marked +2 -2
- package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/.bin/pi-ai +2 -2
- package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/.bin/yaml +2 -2
- package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/@mariozechner/pi-ai/node_modules/.bin/anthropic-ai-sdk +2 -2
- package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/@mariozechner/pi-ai/node_modules/.bin/openai +2 -2
- package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/strip-ansi/node_modules/ansi-regex/index.js +14 -0
- package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/strip-ansi/node_modules/ansi-regex/license +9 -0
- package/_standalone/__node_modules/@mariozechner/pi-coding-agent/node_modules/strip-ansi/node_modules/ansi-regex/package.json +61 -0
- package/_standalone/__node_modules/@mariozechner/pi-tui/node_modules/.bin/marked +2 -2
- package/_standalone/__node_modules/@smithy/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
- package/_standalone/__node_modules/@smithy/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
- package/_standalone/__node_modules/@smithy/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
- package/_standalone/__node_modules/@smithy/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
- package/_standalone/__node_modules/@smithy/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/_standalone/__node_modules/@smithy/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/_standalone/__node_modules/@smithy/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/_standalone/__node_modules/@smithy/core/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
- package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
- package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
- package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
- package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
- package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
- package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/_standalone/__node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
- package/_standalone/__node_modules/@smithy/signature-v4/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
- package/_standalone/__node_modules/@smithy/signature-v4/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
- package/_standalone/__node_modules/@smithy/signature-v4/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
- package/_standalone/__node_modules/@smithy/signature-v4/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
- package/_standalone/__node_modules/@smithy/signature-v4/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/_standalone/__node_modules/@smithy/signature-v4/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/_standalone/__node_modules/@smithy/signature-v4/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/_standalone/__node_modules/@smithy/signature-v4/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
- package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
- package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
- package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
- package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
- package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
- package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/_standalone/__node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
- package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
- package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
- package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
- package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
- package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
- package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
- package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/_standalone/__node_modules/@smithy/util-stream/node_modules/@smithy/util-utf8/node_modules/@smithy/util-buffer-from/package.json +62 -0
- package/_standalone/__node_modules/bignumber.js/doc/API.html +2249 -0
- package/_standalone/__node_modules/degenerator/node_modules/.bin/escodegen +2 -2
- package/_standalone/__node_modules/degenerator/node_modules/.bin/esgenerate +2 -2
- package/_standalone/__node_modules/degenerator/node_modules/.bin/esparse +2 -2
- package/_standalone/__node_modules/degenerator/node_modules/.bin/esvalidate +2 -2
- package/_standalone/__node_modules/entities/LICENSE +11 -0
- package/_standalone/__node_modules/entities/dist/decode-codepoint.js +46 -0
- package/_standalone/__node_modules/entities/dist/decode.js +544 -0
- package/_standalone/__node_modules/entities/dist/encode.js +90 -0
- package/_standalone/__node_modules/entities/dist/escape.js +132 -0
- package/_standalone/__node_modules/entities/dist/generated/decode-data-html.js +5 -0
- package/_standalone/__node_modules/entities/dist/generated/decode-data-xml.js +5 -0
- package/_standalone/__node_modules/entities/dist/generated/encode-html.js +12 -0
- package/_standalone/__node_modules/entities/dist/index.js +91 -0
- package/_standalone/__node_modules/entities/dist/internal/bin-trie-flags.js +18 -0
- package/_standalone/__node_modules/entities/dist/internal/decode-shared.js +17 -0
- package/_standalone/__node_modules/entities/dist/internal/encode-shared.js +93 -0
- package/_standalone/__node_modules/entities/package.json +83 -0
- package/_standalone/__node_modules/entities/src/decode-codepoint.ts +50 -0
- package/_standalone/__node_modules/entities/src/decode.ts +671 -0
- package/_standalone/__node_modules/entities/src/encode.ts +95 -0
- package/_standalone/__node_modules/entities/src/escape.ts +160 -0
- package/_standalone/__node_modules/entities/src/generated/decode-data-html.ts +7 -0
- package/_standalone/__node_modules/entities/src/generated/decode-data-xml.ts +7 -0
- package/_standalone/__node_modules/entities/src/generated/encode-html.ts +18 -0
- package/_standalone/__node_modules/entities/src/index.ts +162 -0
- package/_standalone/__node_modules/entities/src/internal/bin-trie-flags.ts +16 -0
- package/_standalone/__node_modules/entities/src/internal/decode-shared.ts +18 -0
- package/_standalone/__node_modules/entities/src/internal/encode-shared.ts +123 -0
- package/_standalone/__node_modules/escodegen/node_modules/.bin/esparse +2 -2
- package/_standalone/__node_modules/escodegen/node_modules/.bin/esvalidate +2 -2
- package/_standalone/__node_modules/global-agent/node_modules/.bin/semver +2 -2
- package/_standalone/__node_modules/has-flag/index.js +8 -0
- package/_standalone/__node_modules/has-flag/license +9 -0
- package/_standalone/__node_modules/has-flag/package.json +46 -0
- package/_standalone/__node_modules/jsdom/node_modules/.bin/specificity +2 -2
- package/_standalone/__node_modules/koffi/doc/benchmarks.md +126 -0
- package/_standalone/__node_modules/koffi/doc/callbacks.md +210 -0
- package/_standalone/__node_modules/koffi/doc/contribute.md +148 -0
- package/_standalone/__node_modules/koffi/doc/functions.md +250 -0
- package/_standalone/__node_modules/koffi/doc/index.md +61 -0
- package/_standalone/__node_modules/koffi/doc/input.md +471 -0
- package/_standalone/__node_modules/koffi/doc/migration.md +159 -0
- package/_standalone/__node_modules/koffi/doc/misc.md +180 -0
- package/_standalone/__node_modules/koffi/doc/output.md +305 -0
- package/_standalone/__node_modules/koffi/doc/packaging.md +88 -0
- package/_standalone/__node_modules/koffi/doc/platforms.md +36 -0
- package/_standalone/__node_modules/koffi/doc/pointers.md +328 -0
- package/_standalone/__node_modules/koffi/doc/start.md +118 -0
- package/_standalone/__node_modules/koffi/doc/unions.md +186 -0
- package/_standalone/__node_modules/koffi/doc/variables.md +102 -0
- package/_standalone/__node_modules/postcss/node_modules/.bin/nanoid +2 -2
- package/_standalone/__node_modules/supports-color/browser.js +5 -0
- package/_standalone/__node_modules/supports-color/index.js +135 -0
- package/_standalone/__node_modules/supports-color/license +9 -0
- package/_standalone/__node_modules/supports-color/package.json +53 -0
- package/_standalone/__node_modules/tough-cookie/node_modules/.bin/tldts +2 -2
- package/_standalone/__node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/_standalone/__node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/_standalone/__node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/_standalone/__node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/_standalone/__node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/_standalone/__node_modules/yaml/dist/doc/Document.js +337 -0
- package/_standalone/__node_modules/yaml/dist/doc/anchors.js +76 -0
- package/_standalone/__node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/_standalone/__node_modules/yaml/dist/doc/createNode.js +90 -0
- package/_standalone/__node_modules/yaml/dist/doc/directives.js +178 -0
- package/_standalone/server.js +1 -1
- package/dist/server/handlers/mcp-agents.d.ts +1 -0
- package/dist/server/handlers/mcp-agents.d.ts.map +1 -1
- package/dist/server/handlers/mcp-agents.js +230 -7
- package/dist/server/handlers/mcp-agents.js.map +1 -1
- package/dist/server/http.d.ts +7 -4
- package/dist/server/http.d.ts.map +1 -1
- package/dist/server/http.js +2 -0
- package/dist/server/http.js.map +1 -1
- package/dist/server/mcp-agent-registry.d.ts +4 -0
- package/dist/server/mcp-agent-registry.d.ts.map +1 -0
- package/dist/server/mcp-agent-registry.js +266 -0
- package/dist/server/mcp-agent-registry.js.map +1 -0
- package/package.json +1 -1
- package/runtime-manifest.json +1 -1
- package/scripts/prepare-standalone.mjs +0 -1
- package/scripts/smoke-desktop-app.mjs +82 -8
- package/scripts/verify-desktop-runtime.mjs +2 -1
- package/scripts/verify-standalone.mjs +12 -0
- package/static-web/.mindos-build-version +1 -1
- package/static-web/_next/static/chunks/{1430-a3447cf370715cad.js → 1430-c4ffa328888515c1.js} +1 -1
- package/{_standalone/__next/static/chunks/7166-d6d8489fdf67d180.js → static-web/_next/static/chunks/1957-723ac4eb5200214c.js} +3 -3
- package/static-web/_next/static/chunks/{2280-2277c97eae59ded9.js → 2737-f4970f0684c334d6.js} +2 -2
- package/{_standalone/__next/static/chunks/5200-2447cea5eb41a922.js → static-web/_next/static/chunks/5200-6c82e5ce54a95b4b.js} +2 -2
- package/static-web/_next/static/chunks/{1998.c8edc5601fa7362f.js → 6728.e1841cddb63308b0.js} +1 -1
- package/static-web/_next/static/chunks/{6947.51e37852cef26113.js → 6947.fb89346ef2f6be17.js} +1 -1
- package/static-web/_next/static/chunks/app/_not-found/{page-ec6fa498a07e6fd9.js → page-eaedcec1b693c03c.js} +1 -1
- package/{_standalone/__next/static/chunks/app/agents/[agentKey]/page-44c493b744d18249.js → static-web/_next/static/chunks/app/agents/[agentKey]/page-1dac12945bfbaf35.js} +1 -1
- package/{_standalone/__next/static/chunks/app/agents/page-6591b482a193e657.js → static-web/_next/static/chunks/app/agents/page-7ff2e39ca12eb20a.js} +1 -1
- package/static-web/_next/static/chunks/app/capture/history/page-51db96203209a441.js +1 -0
- package/static-web/_next/static/chunks/app/capture/page-3bf09d1f5e1c379c.js +1 -0
- package/static-web/_next/static/chunks/app/changelog/page-01dc22b6d2230c7f.js +1 -0
- package/static-web/_next/static/chunks/app/changes/page-c9f8d5632a001849.js +1 -0
- package/{_standalone/__next/static/chunks/app/echo/[segment]/page-c5ea40ac04f2dc29.js → static-web/_next/static/chunks/app/echo/[segment]/page-44b6b8e7fd0bbe31.js} +2 -2
- package/static-web/_next/static/chunks/app/echo/page-c9f8d5632a001849.js +1 -0
- package/static-web/_next/static/chunks/app/{error-c46d1b03d5e3289c.js → error-1cfcd6abd93c3837.js} +1 -1
- package/static-web/_next/static/chunks/app/explore/{page-5d6dd4af8d1bb468.js → page-117fcf54b8b9765c.js} +1 -1
- package/static-web/_next/static/chunks/app/global-error-11b333dcf222bc09.js +1 -0
- package/{_standalone/__next/static/chunks/app/help/page-3f0a1a8e51249cb2.js → static-web/_next/static/chunks/app/help/page-6efb8aa3a3c169fa.js} +1 -1
- package/static-web/_next/static/chunks/app/inbox/history/page-913645bbd6161116.js +1 -0
- package/static-web/_next/static/chunks/app/{layout-7aa371fe2615cd3e.js → layout-24a31ea28c556e82.js} +38 -38
- package/static-web/_next/static/chunks/app/login/page-7f9aca3d51266bec.js +1 -0
- package/{_standalone/__next/static/chunks/app/page-5c9489e28657376e.js → static-web/_next/static/chunks/app/page-35662964020c0ea9.js} +1 -1
- package/static-web/_next/static/chunks/app/settings/{page-4b75d6c17f42d565.js → page-f816f13a34613538.js} +1 -1
- package/{_standalone/__next/static/chunks/app/setup/page-f5de08d0d588c778.js → static-web/_next/static/chunks/app/setup/page-a1027871dc33ffbd.js} +1 -1
- package/static-web/_next/static/chunks/app/todo/page-54c3ec77f662ff73.js +1 -0
- package/static-web/_next/static/chunks/app/trash/page-50622e3df2047204.js +1 -0
- package/static-web/_next/static/chunks/app/view/[...path]/{error-f73092e638a4e999.js → error-c9a3f6de7c963c74.js} +1 -1
- package/static-web/_next/static/chunks/app/view/[...path]/{not-found-80e5f4054819b372.js → not-found-5a4f2b4fbe28d617.js} +1 -1
- package/{_standalone/__next/static/chunks/app/view/[...path]/page-ffe3c61100e25591.js → static-web/_next/static/chunks/app/view/[...path]/page-b10d3819827da1c2.js} +2 -2
- package/{_standalone/__next/static/chunks/app/wiki/page-4c9bc816069b6f2a.js → static-web/_next/static/chunks/app/wiki/page-7afd3b97c1ea1b8c.js} +2 -2
- package/static-web/_next/static/chunks/{main-app-23adfdc06470abb6.js → main-app-8a6081b103b8f494.js} +1 -1
- package/static-web/_next/static/chunks/webpack-7d8c24c6af17dd51.js +1 -0
- package/static-web/help/index.html +3 -3
- package/static-web/index.html +3 -3
- package/static-web/setup/index.html +3 -3
- package/static-web/static-web-manifest.json +1 -1
- package/static-web/wiki/index.html +3 -3
- package/_standalone/__next/static/chunks/app/capture/history/page-d157ce945ad84c23.js +0 -1
- package/_standalone/__next/static/chunks/app/capture/page-ae4d683afdc7a7b2.js +0 -1
- package/_standalone/__next/static/chunks/app/changelog/page-5a39d8fe531f4d45.js +0 -1
- package/_standalone/__next/static/chunks/app/changes/page-64cf8d751245eee9.js +0 -1
- package/_standalone/__next/static/chunks/app/echo/page-64cf8d751245eee9.js +0 -1
- package/_standalone/__next/static/chunks/app/global-error-d42727c6c6c48879.js +0 -1
- package/_standalone/__next/static/chunks/app/inbox/history/page-b2930c2ef04e00b0.js +0 -1
- package/_standalone/__next/static/chunks/app/login/page-a4f9f9053c75ae8d.js +0 -1
- package/_standalone/__next/static/chunks/app/todo/page-c7629a0c102c634f.js +0 -1
- package/_standalone/__next/static/chunks/app/trash/page-e1bfaeeca2de6ab4.js +0 -1
- package/_standalone/__next/static/chunks/webpack-e39fda9494843875.js +0 -1
- package/static-web/_next/static/chunks/app/capture/history/page-d157ce945ad84c23.js +0 -1
- package/static-web/_next/static/chunks/app/capture/page-ae4d683afdc7a7b2.js +0 -1
- package/static-web/_next/static/chunks/app/changelog/page-5a39d8fe531f4d45.js +0 -1
- package/static-web/_next/static/chunks/app/changes/page-64cf8d751245eee9.js +0 -1
- package/static-web/_next/static/chunks/app/echo/page-64cf8d751245eee9.js +0 -1
- package/static-web/_next/static/chunks/app/global-error-d42727c6c6c48879.js +0 -1
- package/static-web/_next/static/chunks/app/inbox/history/page-b2930c2ef04e00b0.js +0 -1
- package/static-web/_next/static/chunks/app/login/page-a4f9f9053c75ae8d.js +0 -1
- package/static-web/_next/static/chunks/app/todo/page-c7629a0c102c634f.js +0 -1
- package/static-web/_next/static/chunks/app/trash/page-e1bfaeeca2de6ab4.js +0 -1
- package/static-web/_next/static/chunks/webpack-e39fda9494843875.js +0 -1
- /package/_standalone/__next/static/{DFngZEGZSufSm5RuKPkYN → 3FkuJxcda957EywJ5ZWWG}/_buildManifest.js +0 -0
- /package/_standalone/__next/static/{DFngZEGZSufSm5RuKPkYN → 3FkuJxcda957EywJ5ZWWG}/_ssgManifest.js +0 -0
- /package/static-web/_next/static/{DFngZEGZSufSm5RuKPkYN → 3FkuJxcda957EywJ5ZWWG}/_buildManifest.js +0 -0
- /package/static-web/_next/static/{DFngZEGZSufSm5RuKPkYN → 3FkuJxcda957EywJ5ZWWG}/_ssgManifest.js +0 -0
|
@@ -35,4 +35,4 @@ ${a}/
|
|
|
35
35
|
(Describe the purpose and usage of this space.)
|
|
36
36
|
`;function f(a){return a.replace(/^[\p{Emoji_Presentation}\p{Extended_Pictographic}\s]+/u,"")||a}},11552:(a,b,c)=>{c.d(b,{f:()=>function a(b,c,d={}){let f,k=function(a,b){let c=g().resolve(a),d=b?g().resolve(b):c;try{var f;let a,b=e().realpathSync(c);if(f=e().realpathSync(d),a=g().relative(b,f),""!==a&&(".."===a||a.startsWith(`..${g().sep}`)||g().isAbsolute(a)))return null}catch{return null}return{root:c,dir:d}}(b,c);if(!k)return[];let{root:l,dir:m}=k,n=d.ignoredDirs??h,o=d.allowedExtensions??i;try{f=e().readdirSync(m,{withFileTypes:!0})}catch{return[]}let p=[];for(let c of f){let e=g().join(m,c.name);if(c.isDirectory()){if(n.has(c.name))continue;p.push(...a(b,e,d))}else if(c.isFile()){var q;if(m===l&&j.has(c.name))continue;let a=g().extname(c.name).toLowerCase();o.has(a)&&p.push((q=g().relative(l,e),"win32"===process.platform?q.replace(/\\/g,"/"):q))}}return p}});var d=c(29021),e=c.n(d);c(79748);var f=c(33873),g=c.n(f);let h=new Set([".git","node_modules","app",".next",".DS_Store","mcp",".media"]),i=new Set([".md",".csv",".pdf",".png",".jpg",".jpeg",".gif",".webp",".svg",".bmp",".ico",".mp3",".wav",".m4a",".ogg",".flac",".aac",".mp4",".webm",".mov",".mkv"]),j=new Set(["INSTRUCTION.md","README.md","CONFIG.json","CHANGELOG.md"])},14361:(a,b,c)=>{var d=c(73566),e=c(11552),f=c(65902),g=c(96727),h=c(46262),i=c(52076),j=c(33873),k=c.n(j);let l="u">typeof Intl&&Intl.Segmenter?new Intl.Segmenter("zh",{granularity:"word"}):null;function m(a,b){for(let c=0;c<a.length;c++)b.add(a[c]),c+1<a.length&&b.add(a[c]+a[c+1])}if(d.parentPort&&d.workerData?.mindRoot)try{let a=function(a){let b=(0,e.f)(a),c={},d={},j=0;for(let e of b){let b;if(".pdf"===k().extname(e).toLowerCase())try{let c=(0,g.n2)(a,e);if(!(b=(0,h.b)(c)))continue}catch{continue}else try{b=(0,f.TA)(a,e)}catch{continue}for(let a of(d[e]=b.length,j+=b.length,b.length>5e4&&(b=b.slice(0,5e4)),function(a){let b=new Set,c=a.toLowerCase(),d=c.match(/[a-z0-9_$@#]+/g);if(d)for(let a of d)a.length>=2&&b.add(a);if(i.y.test(c))if(l)for(let{segment:a,isWordLike:d}of l.segment(c)){if(!d)continue;let c=a.trim();if(c)for(let a of(b.add(c),c))i.y.test(a)&&b.add(a)}else{let a=[];for(let d of c)i.y.test(d)?a.push(d):a.length>0&&(m(a,b),a.length=0);a.length>0&&m(a,b)}return b}(e+"\n"+b)))c[a]||(c[a]=[]),c[a].push(e)}return{version:1,builtForRoot:a,fileCount:b.length,totalChars:j,docLengths:d,invertedIndex:c,timestamp:Date.now()}}(d.workerData.mindRoot);d.parentPort.postMessage({ok:!0,data:a})}catch(a){d.parentPort.postMessage({ok:!1,error:a instanceof Error?a.message:String(a)})}},18731:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{R9:()=>l,Sb:()=>m,X_:()=>k,z0:()=>j});var e=c(26476),f=c(67666),g=c(36345),h=c(65902),i=a([e,f,g]);[e,f,g]=i.then?(await i)():i;let n=new f.O,o=null;async function j(a,b,c={}){let d=c.limit??20,f=(0,e._K)(a,b,{...c,limit:2*d});if(!(0,g.II)())return f.slice(0,d);if(function(){let a=(0,g.II)();if(!a)return null!==o&&(o=null,!0);let b=`${a.provider}:${a.model}`;return null===o?(o=b,!1):o!==b&&(console.log(`[hybrid-search] Embedding config changed: ${o} → ${b}. Index will be rebuilt on next search.`),o=b,!0)}()&&n.invalidate(),!n.isBuiltFor(a)&&!n.load(a)&&!n.isBuilding())return n.rebuild(a).catch(()=>{}),f.slice(0,d);if(!n.isReady())return f.slice(0,d);let i=await n.search(b,2*d);return 0===i.length?f.slice(0,d):function(a,b,c,d){let e=new Map,f=new Map,g=new Map,i=new Map;for(let a=0;a<b.length;a++){let c=b[a],d=a+1;e.set(c.path,(e.get(c.path)??0)+1/(60+d)),f.set(c.path,c.snippet),g.set(c.path,c.score)}for(let b=0;b<c.length;b++){let d=c[b],g=b+1;if(e.set(d.path,(e.get(d.path)??0)+1/(60+g)),i.set(d.path,d.similarity),!f.has(d.path)){let b=function(a,b,c){try{let d=(0,h.TA)(a,b);if(!d||0===d.trim().length)return`Semantic match (similarity: ${c.toFixed(2)})`;let e=d.trim();if(e.startsWith("#")){let a=e.indexOf("\n");if(a>0&&a<100){let b=e.slice(0,a).replace(/^#+\s*/,"").trim(),c=e.slice(a+1).trim();e=c.length>0?`${b}: ${c}`:b}}if(e.length>200){let a=e.slice(0,200),b=a.lastIndexOf(" ");if(b>140)return a.slice(0,b)+"...";return a+"..."}return e}catch{return`Semantic match (similarity: ${c.toFixed(2)})`}}(a,d.path,d.similarity);f.set(d.path,b)}}return[...e.entries()].sort(([,a],[,b])=>b-a).slice(0,d).map(([a,b])=>({path:a,snippet:f.get(a)??"",score:b,occurrences:+!!g.has(a),semanticMatch:i.has(a)&&!g.has(a),similarity:i.get(a)}))}(a,f,i,d)}function k(a,b){n.isReady()&&n.updateFile(a,b).catch(()=>{})}function l(){n.invalidate()}function m(){return{enabled:!!(0,g.II)(),ready:n.isReady(),building:n.isBuilding(),docCount:n.getDocCount()}}d()}catch(a){d(a)}})},24116:(a,b,c)=>{c.d(b,{o:()=>h});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f);function h(a){let b=[],c=process.env.MINDOS_PROJECT_ROOT;c&&b.push(g().join(c,"packages","web","scripts",a));let d=process.cwd();for(let c of(b.push(g().join(d,"scripts",a)),b.push(g().resolve(d,"..","..","scripts",a)),b.push(g().join(d,".next","standalone","scripts",a)),b))if(e().existsSync(c))return c;return null}},26476:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{As:()=>u,KZ:()=>t,SE:()=>y,_E:()=>s,_K:()=>z});var e=c(29021),f=c.n(e),g=c(33873),h=c.n(g),i=c(21820),j=c.n(i),k=c(11552),l=c(65902),m=c(96727),n=c(55421),o=c(18731),p=c(70647),q=a([o]);o=(q.then?(await q)():q)[0];let A=new n.d;function r(){return h().join(j().homedir(),".mindos")}function s(){A.invalidate(),(0,o.R9)()}function t(a,b){A.isBuilt()&&(A.updateFile(a,b),v(),(0,o.X_)(a,b))}function u(a,b){A.isBuilt()&&(A.addFile(a,b),v(),(0,o.X_)(a,b))}let B=null,C=!1;function v(){C=!0,B&&clearTimeout(B),B=setTimeout(w,5e3)}function w(){if(B&&(clearTimeout(B),B=null),C){C=!1;try{A.persist(r())}catch{}}}"u">typeof process&&(process.on("beforeExit",w),process.on("SIGTERM",()=>{w(),process.exit(0)}),process.on("SIGINT",()=>{w(),process.exit(0)}));let D=new Map;function x(a,b){let c=function(a){let b=D.get(a);if(b)return b;let c=/[\u4e00-\u9fff\u3040-\u309f\u30a0-\u30ff\uac00-\ud7af]/.test(a),d=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return b=c?RegExp(d,"g"):RegExp(`\\b${d}\\b`,"g"),D.size>500&&D.clear(),D.set(a,b),b}(a);c.lastIndex=0;let d=b.match(c);return d?d.length:0}async function y(a){if(A.isBuiltFor(a))return p.Y.track("search.core.prewarm",{cacheState:"hit",fileCount:A.getFileCount()}),{cacheState:"hit",fileCount:A.getFileCount()};let b=p.Y.startTimer("search.core.prewarm.load"),c=A.load(r(),a);if(b({loaded:c,fileCount:c?A.getFileCount():0}),c)return p.Y.track("search.core.prewarm",{cacheState:"loaded",fileCount:A.getFileCount()}),{cacheState:"loaded",fileCount:A.getFileCount()};await A.rebuildAsync(a);try{A.persist(r())}catch{}return p.Y.track("search.core.prewarm",{cacheState:"built",fileCount:A.getFileCount()}),{cacheState:"built",fileCount:A.getFileCount()}}function z(a,b,c={}){let d;if(!b.trim())return[];let{limit:e=20,scope:g,file_type:h="all",modified_after:i}=c;if(!A.isBuiltFor(a)){let b=p.Y.startTimer("search.core.index.load"),c=A.load(r(),a);if(b({loaded:c,fileCount:c?A.getFileCount():0}),!c){A.rebuild(a);try{A.persist(r())}catch{}}}let j=A.getFileCount(),n=A.getAvgDocLength(),o=(d=b.toLowerCase().trim().split(/\s+/).filter(a=>a.length>0),[...new Set(d)]),q=p.Y.startTimer("search.core.query",{queryLen:b.length,queryTermCount:o.length,totalDocs:j}),s=A.getCandidatesUnion(b),t=s?new Set(s):null,u=(0,k.f)(a);if(g){let a=g.endsWith("/")?g:g+"/";u=u.filter(b=>b.startsWith(a)||b===g)}if("all"!==h){let a=`.${h}`;u=u.filter(b=>b.endsWith(a))}t&&(u=u.filter(a=>t.has(a)));let v=0;i&&(v=new Date(i).getTime(),isNaN(v)&&(v=0));let w=[],y=b.toLowerCase(),B=new Map,C=new Map;for(let b of u){let c;if(v>0)try{let c=(0,m.n2)(a,b);if(f().statSync(c).mtimeMs<v)continue}catch{continue}try{c=(0,l.TA)(a,b)}catch{continue}let d=c.toLowerCase();for(let a of(C.set(b,c),o))x(a,d)>0&&B.set(a,(B.get(a)??0)+1)}for(let[a,c]of C){let d=c.toLowerCase(),e=!1,f=-1,g=0,h=0,i=c.length;for(let a of o){let b=x(a,d);if(0===b)continue;e=!0,h+=b,-1===f&&(f=d.indexOf(a));let c=B.get(a)??0;g+=function(a,b,c,d,e){if(0===a||0===e||0===d)return 0;let f=Math.log((e-b+.5)/(b+.5)+1),g=2.2*a/(a+1.2*(.25+.75*c/d));return f*g}(b,c,i,n,j)}if(!e)continue;let k=f>=0?f:d.indexOf(y),l=k>=0?k:0,m=c.lastIndexOf("\n\n",l);-1===m?m=Math.max(0,l-200):m+=2;let p=c.indexOf("\n\n",l);-1===p&&(p=Math.min(c.length,l+b.length+200)),l-m>200&&(m=l-200),p-l>200&&(p=l+b.length+200);let q=c.slice(m,p).trim();q=q.replace(/\n{3,}/g,"\n\n"),m>0&&(q="..."+q),p<c.length&&(q+="..."),w.push({path:a,snippet:q,score:g,occurrences:h})}w.sort((a,b)=>b.score-a.score);let D=w.slice(0,e);return q({candidateCount:t?t.size:u.length,resultCount:D.length}),D}d()}catch(a){d(a)}})},36345:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{Az:()=>t,BO:()=>u,Bk:()=>p,D2:()=>G,II:()=>o,gb:()=>F,s7:()=>q});var e=c(50103),f=c(79646),g=c(29021),h=c.n(g),i=c(21820),j=c.n(i),k=c(33873),l=c.n(k),m=c(79551),n=a([e]);function o(){try{let a=(0,e.sb)().embedding;if(!a||!a.enabled||"api"===a.provider&&(!a.baseUrl||!a.model)||"local"===a.provider&&!a.model)return null;return{enabled:!0,provider:a.provider||"api",baseUrl:(a.baseUrl||"").replace(/\/+$/,""),apiKey:a.apiKey||"",model:a.model}}catch{return null}}async function p(a){let b=o();if(!b||0===a.length)return[];try{if("local"===b.provider)return await B(b.model,a);return await C(b,a)}catch(a){return console.error("[embedding] Failed to get embeddings:",a instanceof Error?a.message:a),[]}}async function q(a){let b=await p([a]);return b.length>0?b[0]:null}e=(n.then?(await n)():n)[0];let F="Xenova/bge-small-zh-v1.5",G=[{id:"Xenova/bge-small-zh-v1.5",label:"BGE Small ZH (33MB)",size:"~33MB",lang:"zh+en"},{id:"Xenova/all-MiniLM-L6-v2",label:"MiniLM L6 (23MB)",size:"~23MB",lang:"en"},{id:"Xenova/bge-small-en-v1.5",label:"BGE Small EN (33MB)",size:"~33MB",lang:"en"}],H=["@huggingface/transformers@4.2.0","onnxruntime-node@1.24.3","onnxruntime-web@1.26.0-dev.20260416-b7804b056c"],I=Function("specifier","return import(specifier)");class J extends Error{constructor(a="Local embedding runtime is not installed. Install it from Settings > AI > Embedding Search, or use API mode."){super(a),this.name="LocalEmbeddingRuntimeMissingError"}}function r(){return process.env.MINDOS_LOCAL_EMBEDDING_RUNTIME_DIR||l().join(j().homedir(),".mindos","local-embedding-runtime")}async function s(){try{return await z({installIfMissing:!1}),!0}catch{return!1}}async function t(a){try{let b=await Promise.resolve().then(c.t.bind(c,29021,23)),d=await Promise.resolve().then(c.t.bind(c,33873,23)),e=await Promise.resolve().then(c.t.bind(c,21820,23)),f=d.join(e.homedir(),".cache","huggingface","hub"),g=`models--${(a||F).replace("/","--")}`,h=d.join(f,g);return b.existsSync(h)}catch{return!1}}let K=null,L=null,M=null;async function u(a){let b=a||F;try{if(await v(),console.log(`[embedding] Downloading local model: ${b}...`),await y(b))return console.log(`[embedding] Local model ready: ${b}`),!0;return!1}catch(a){if(console.error("[embedding] Download failed:",a instanceof Error?a.message:a),a instanceof J||a instanceof Error&&(a.message.includes("optional local embedding runtime")||a.message.includes("Local embedding runtime install")||a.message.includes("npm is required")))throw a;return!1}}async function v(){if(!await s()){if("1"===process.env.MINDOS_DISABLE_LOCAL_EMBEDDING_RUNTIME_AUTO_INSTALL)throw new J;if(await w(),!await s())throw new J("Local embedding runtime installation finished, but @huggingface/transformers is still not resolvable.")}}async function w(){let a=r();h().mkdirSync(a,{recursive:!0});let b=l().join(a,"package.json");h().existsSync(b)||h().writeFileSync(b,JSON.stringify({private:!0,name:"mindos-local-embedding-runtime",description:"Optional MindOS local embedding runtime installed on user request."},null,2)+"\n");let c=function(){if(process.env.MINDOS_NPM_BIN)return{command:process.env.MINDOS_NPM_BIN,args:[]};let a=process.env.MINDOS_PROJECT_ROOT;if(a){let b=l().join(a,"node","lib","node_modules","npm","bin","npm-cli.js");if(h().existsSync(b))return{command:process.env.MINDOS_NODE_BIN||process.execPath,args:[b]}}return{command:"win32"===process.platform?"npm.cmd":"npm",args:[]}}(),d=[...c.args,"install","--prefix",a,"--omit=dev","--no-audit","--no-fund","--ignore-scripts",...H];await x(c.command,d,6e5)}async function x(a,b,c){await new Promise((d,e)=>{let g=(0,f.spawn)(a,b,{stdio:["ignore","pipe","pipe"],env:process.env}),h="",i=setTimeout(()=>{g.kill("SIGTERM"),e(Error("Local embedding runtime install timed out. Check your network and try again, or use API mode."))},c);g.stdout.on("data",a=>{(h+=a.toString()).length>8e3&&(h=h.slice(-8e3))}),g.stderr.on("data",a=>{(h+=a.toString()).length>8e3&&(h=h.slice(-8e3))}),g.on("error",a=>{clearTimeout(i),"ENOENT"===a.code?e(Error("npm is required to install the optional local embedding runtime. Install Node.js/npm, or use API embedding mode.")):e(a)}),g.on("exit",a=>{clearTimeout(i),0===a?d():e(Error(`Local embedding runtime install failed with exit code ${a}. ${h.trim().slice(-1e3)}`))})})}async function y(a){return K&&L===a?K:M&&L===a?M:(L=a,M=(async()=>{for(let b=0;b<=2;b++){let c=null,d=!1,e=null;try{let{pipeline:e,env:f}=await z({installIfMissing:!1});process.env.HF_ENDPOINT||f.remoteHost||(console.log("[embedding] Configuring hf-mirror.com for better connectivity in China"),f.remoteHost="https://hf-mirror.com",f.remotePathTemplate="{model}/resolve/{revision}/{fileName}"),c=setTimeout(()=>{d=!0},3e5),console.log(`[embedding] Attempt ${b+1}/3: Loading pipeline for ${a}...`);let g=e("feature-extraction",a,{dtype:"fp32"});return K=await g,c&&clearTimeout(c),console.log(`[embedding] Successfully loaded pipeline for ${a}`),K}catch(f){e=f instanceof Error?f:Error(String(f)),c&&clearTimeout(c),d&&(e=Error("Request timeout (>300s)"));let a=function(a){if(!(a instanceof Error))return!1;let b=a.message.toLowerCase();return b.includes("enotfound")||b.includes("econnrefused")||b.includes("econnreset")||b.includes("etimedout")||b.includes("timeout")||b.includes("temporarily unavailable")||b.includes("connect econnrefused")||b.includes("net::err_internet_disconnected")||b.includes("eaddrnotavail")||b.includes("enetunreach")||b.includes("socket hang up")}(e)&&b<2;if(console.error(`[embedding] Download attempt ${b+1}/3 failed: ${e.message}`+(a?` — retrying...`:" — giving up")),a){let a=1e3*Math.pow(2,b);console.log(`[embedding] Waiting ${a}ms before retry...`),await new Promise(b=>setTimeout(b,a));continue}throw K=null,L=null,M=null,e}}})())}async function z({installIfMissing:a}){try{return await Promise.resolve().then(c.bind(c,99253))}catch(c){let b=A();if(b)return await I((0,m.pathToFileURL)(b).href);if(a){await w();let a=A();if(a)return await I((0,m.pathToFileURL)(a).href)}throw new J(c instanceof Error&&c.message.includes("@huggingface/transformers")?void 0:`Local embedding runtime is unavailable: ${c instanceof Error?c.message:String(c)}`)}}function A(){let a=l().join(r(),"node_modules","@huggingface","transformers"),b=l().join(a,"package.json");if(!h().existsSync(b))return null;try{let c=JSON.parse(h().readFileSync(b,"utf-8")),d=c.exports?.node?.import?.default,e="string"==typeof d?d:"string"==typeof c.module?c.module:c.main;if("string"!=typeof e)return null;let f=l().resolve(a,e);return h().existsSync(f)?f:null}catch{return null}}async function B(a,b){let c=await y(a);if(!c)return[];let d=[];for(let a=0;a<b.length;a+=32)for(let e of b.slice(a,a+32)){let a=(await c(e,{pooling:"mean",normalize:!0})).data;d.push(new Float32Array(a))}return d}async function C(a,b){let c=[];for(let d=0;d<b.length;d+=100){let e=b.slice(d,d+100),f=await D(a,e);if(0===f.length)return[];c.push(...f)}return c}async function D(a,b){let c=`${a.baseUrl}/embeddings`,d=JSON.stringify({model:a.model,input:b}),e={"Content-Type":"application/json"};a.apiKey&&(e.Authorization=`Bearer ${a.apiKey}`);for(let a=0;a<=2;a++)try{let b=new AbortController,f=setTimeout(()=>b.abort(),3e4),g=await fetch(c,{method:"POST",headers:e,body:d,signal:b.signal});if(clearTimeout(f),!g.ok){let b=g.status;if((429===b||b>=500)&&a<2){let a=parseInt(g.headers.get("retry-after")||"1",10);await E(Math.min(1e3*a,5e3));continue}let c=await g.text().catch(()=>"");return console.error(`[embedding] API error ${b}: ${c.slice(0,200)}`),[]}let h=await g.json();if(!h.data||!Array.isArray(h.data))return console.error("[embedding] Unexpected response shape"),[];return h.data.sort((a,b)=>a.index-b.index),h.data.map(a=>new Float32Array(a.embedding))}catch(b){if(a<2){await E(1e3*(a+1));continue}console.error("[embedding] Request failed:",b instanceof Error?b.message:b);break}return[]}function E(a){return new Promise(b=>setTimeout(b,a))}d()}catch(a){d(a)}})},46262:(a,b,c)=>{c.d(b,{b:()=>g});var d=c(79646),e=c(73400),f=c(24116);function g(a){try{let b=(0,f.o)("extract-pdf.cjs");if(!b)return"";let c=(0,d.execFileSync)((0,e.i)(),[b,a],{encoding:"utf-8",timeout:15e3,maxBuffer:5242880});return JSON.parse(c).text||""}catch{return""}}},52076:(a,b,c)=>{c.d(b,{H:()=>e,y:()=>d});let d=/[\u4e00-\u9fff\u3040-\u309f\u30a0-\u30ff\uac00-\ud7af]/;function e(a){let b=a.match(/[\u4e00-\u9fff\u3040-\u309f\u30a0-\u30ff\uac00-\ud7af]/g);return b?b.length:0}},55421:(a,b,c)=>{c.d(b,{d:()=>q});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(11552),i=c(65902),j=c(96727),k=c(46262),l=c(52076),m=c(70647);let n="u">typeof Intl&&Intl.Segmenter?new Intl.Segmenter("zh",{granularity:"word"}):null;function o(a){let b=new Set,c=a.toLowerCase(),d=c.match(/[a-z0-9_$@#]+/g);if(d)for(let a of d)a.length>=2&&b.add(a);if(l.y.test(c))if(n)for(let{segment:a,isWordLike:d}of n.segment(c)){if(!d)continue;let c=a.trim();if(c)for(let a of(b.add(c),c))l.y.test(a)&&b.add(a)}else{let a=[];for(let d of c)l.y.test(d)?a.push(d):a.length>0&&(p(a,b),a.length=0);a.length>0&&p(a,b)}return b}function p(a,b){for(let c=0;c<a.length;c++)b.add(a[c]),c+1<a.length&&b.add(a[c]+a[c+1])}class q{async rebuildAsync(a){let b=m.Y.startTimer("search.index.rebuild.async");try{let d,{Worker:e}=await Promise.resolve().then(c.t.bind(c,73566,23)),{existsSync:f}=await Promise.resolve().then(c.t.bind(c,29021,23));try{if(d=14361,!f(d))throw Error("Worker file not found")}catch{this.rebuild(a),b({fileCount:this.fileCount,tokenCount:this.invertedIndex?.size??0,method:"sync_no_worker"});return}let g=await new Promise((b,c)=>{let f=new e(d,{workerData:{mindRoot:a},execArgv:process.execArgv.filter(a=>a.startsWith("--require")||a.startsWith("--loader"))}),g=setTimeout(()=>{f.terminate(),c(Error("Search rebuild worker timed out"))},3e4);f.on("message",a=>{clearTimeout(g),f.terminate(),a.ok&&a.data?b(a.data):c(Error(a.error||"Worker failed"))}),f.on("error",a=>{clearTimeout(g),f.terminate(),c(a)})});this.restoreFromPersisted(g),b({fileCount:this.fileCount,tokenCount:this.invertedIndex?.size??0,method:"worker"})}catch{this.rebuild(a),b({fileCount:this.fileCount,tokenCount:this.invertedIndex?.size??0,method:"sync_fallback"})}}restoreFromPersisted(a){this.builtForRoot=a.builtForRoot,this.fileCount=a.fileCount,this.totalChars=a.totalChars,this.docLengths=new Map(Object.entries(a.docLengths).map(([a,b])=>[a,b]));let b=new Map,c=new Map;for(let[d,e]of Object.entries(a.invertedIndex)){let a=new Set(e);for(let e of(b.set(d,a),a)){let a=c.get(e);a||(a=new Set,c.set(e,a)),a.add(d)}}this.invertedIndex=b,this.fileTokens=c}rebuild(a){let b=m.Y.startTimer("search.index.rebuild"),c=(0,h.f)(a),d=new Map,e=new Map,f=new Map,l=0,n=0;for(let b of c){let c;if(".pdf"===g().extname(b).toLowerCase())try{let d=(0,j.n2)(a,b);if(!(c=(0,k.b)(d)))continue}catch{continue}else try{c=(0,i.TA)(a,b)}catch{continue}e.set(b,c.length),l+=c.length,c.length>5e4&&(c=c.slice(0,5e4));let h=o(b+"\n"+c);for(let a of(n+=h.size,f.set(b,h),h)){let c=d.get(a);c||(c=new Set,d.set(a,c)),c.add(b)}}this.invertedIndex=d,this.builtForRoot=a,this.fileCount=c.length,this.docLengths=e,this.totalChars=l,this.fileTokens=f,b({fileCount:c.length,tokenCount:n})}invalidate(){this.invertedIndex=null,this.builtForRoot=null,this.fileCount=0,this.docLengths.clear(),this.totalChars=0,this.fileTokens.clear()}removeFile(a){if(!this.invertedIndex)return;let b=this.fileTokens.get(a);if(b){for(let c of b)this.invertedIndex.get(c)?.delete(a);this.fileTokens.delete(a)}let c=this.docLengths.get(a)??0;this.totalChars-=c,this.docLengths.delete(a),this.fileCount=Math.max(0,this.fileCount-1)}addFile(a,b){let c;if(!this.invertedIndex)return;if(".pdf"===g().extname(b).toLowerCase())try{let d=(0,j.n2)(a,b);if(!(c=(0,k.b)(d)))return}catch{return}else try{c=(0,i.TA)(a,b)}catch{return}this.docLengths.set(b,c.length),this.totalChars+=c.length,this.fileCount++,c.length>5e4&&(c=c.slice(0,5e4));let d=o(b+"\n"+c);for(let a of(this.fileTokens.set(b,d),d)){let c=this.invertedIndex.get(a);c||(c=new Set,this.invertedIndex.set(a,c)),c.add(b)}}updateFile(a,b){this.invertedIndex&&(this.removeFile(b),this.addFile(a,b))}isBuiltFor(a){return null!==this.invertedIndex&&this.builtForRoot===a}isBuilt(){return null!==this.invertedIndex}getFileCount(){return this.fileCount}getAvgDocLength(){return this.fileCount>0?this.totalChars/this.fileCount:0}getDocLength(a){return this.docLengths.get(a)??0}getDocFrequency(a){return this.invertedIndex?this.invertedIndex.get(a)?.size??0:0}getCandidatesUnion(a){if(!a.trim()||!this.invertedIndex)return null;let b=o(a.toLowerCase().trim());if(0===b.size)return null;let c=new Map;for(let a of b){let b=this.invertedIndex.get(a);if(b)for(let a of b)c.set(a,(c.get(a)??0)+1)}if(0===c.size)return[];let d=b.size;if(d>=3){let a=Math.max(1,Math.floor(d/2)),b=[...c.entries()].filter(([,b])=>b>=a).map(([a])=>a);if(b.length>0)return b}return[...c.keys()]}getCandidates(a){if(!a.trim()||!this.invertedIndex)return null;let b=o(a.toLowerCase().trim());if(0===b.size)return null;let c=null;for(let a of b){let b=this.invertedIndex.get(a);if(!b)return[];if(null===c)c=new Set(b);else{for(let a of c)b.has(a)||c.delete(a);if(0===c.size)return[]}}return c?Array.from(c):[]}persist(a){if(!this.invertedIndex)return;let b={version:1,builtForRoot:this.builtForRoot??"",fileCount:this.fileCount,totalChars:this.totalChars,docLengths:Object.fromEntries(this.docLengths),invertedIndex:{},timestamp:Date.now()};for(let[a,c]of this.invertedIndex)b.invertedIndex[a]=[...c];let c=g().join(a,"search-index.json");try{e().mkdirSync(a,{recursive:!0}),e().writeFileSync(c,JSON.stringify(b),"utf-8")}catch{}}load(a,b){let c,d,f=g().join(a,"search-index.json");try{c=e().readFileSync(f,"utf-8")}catch{return!1}try{d=JSON.parse(c)}catch{return!1}if(1!==d.version||d.builtForRoot!==b||(0,h.f)(b).length!==d.fileCount)return!1;let i=Object.keys(d.docLengths);if(Math.min(50,i.length)===i.length)for(let a of i)try{if(e().statSync((0,j.n2)(b,a)).mtimeMs>d.timestamp)return!1}catch{return!1}else{let a=Math.max(1,Math.floor(i.length/40)),c=new Set;for(let b=0;b<i.length;b+=a)c.add(b);for(let a=Math.max(0,i.length-10);a<i.length;a++)c.add(a);for(let a of c)try{if(e().statSync((0,j.n2)(b,i[a])).mtimeMs>d.timestamp)return!1}catch{return!1}}return this.restoreFromPersisted(d),!0}constructor(){this.invertedIndex=null,this.builtForRoot=null,this.fileCount=0,this.docLengths=new Map,this.totalChars=0,this.fileTokens=new Map}}},65902:(a,b,c)=>{c.d(b,{H5:()=>o,OV:()=>p,TA:()=>k,_h:()=>l,mV:()=>q,rt:()=>n,x3:()=>m});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(96727),i=c(88309),j=c(11463);function k(a,b){let c=(0,h.n2)(a,b);return e().readFileSync(c,"utf-8")}function l(a,b,c){let d=(0,h.n2)(a,b),f=g().dirname(d),i=g().join(f,`.tmp-${Date.now()}-${g().basename(d)}`);try{e().mkdirSync(f,{recursive:!0}),e().writeFileSync(i,c,"utf-8"),e().renameSync(i,d)}catch(a){try{e().unlinkSync(i)}catch{}throw a}}function m(a,b,c=""){let d=(0,h.n2)(a,b);e().mkdirSync(g().dirname(d),{recursive:!0});try{e().writeFileSync(d,c,{encoding:"utf-8",flag:"wx"})}catch(a){if(a instanceof Error&&"code"in a&&"EEXIST"===a.code)throw new i.Vt(i.tG.FILE_ALREADY_EXISTS,`File already exists: ${b}`,{filePath:b});throw a}}function n(a,b){let c=(0,h.n2)(a,b);if(!e().existsSync(c))throw new i.Vt(i.tG.FILE_NOT_FOUND,`Directory not found: ${b}`,{dirPath:b});if(!e().statSync(c).isDirectory())throw new i.Vt(i.tG.INVALID_PATH,`Not a directory: ${b}`,{dirPath:b});let d=g().basename(c),f=(0,j.e1)(d);try{let a=g().join(c,"INSTRUCTION.md");e().existsSync(a)||e().writeFileSync(a,(0,j.GL)(f),"utf-8");let b=g().join(c,"README.md");e().existsSync(b)||e().writeFileSync(b,(0,j._l)(f),"utf-8")}catch(c){let a=c instanceof Error?c.message:String(c);throw new i.Vt(i.tG.INTERNAL_ERROR,`Failed to create space files in ${b}: ${a}`,{dirPath:b})}}function o(a,b,c){if(c.includes("/")||c.includes("\\"))throw new i.Vt(i.tG.INVALID_PATH,"Invalid filename: must not contain path separators",{newName:c});let d=g().resolve(a),f=(0,h.n2)(a,b),j=g().dirname(f),k=g().join(j,c);if((0,h.cP)(k,d),e().existsSync(k))throw new i.Vt(i.tG.FILE_ALREADY_EXISTS,"A file with that name already exists",{newName:c});return e().renameSync(f,k),g().relative(d,k).replace(/\\/g,"/")}function p(a,b,c){let d=c.trim();if(!d||d.includes("/")||d.includes("\\"))throw new i.Vt(i.tG.INVALID_PATH,"Invalid space name: must not contain path separators",{newName:c});let f=b.replace(/\/+$/g,"").trim();if(!f)throw new i.Vt(i.tG.INVALID_PATH,"Space path is required",{spacePath:b});let j=g().resolve(a),k=(0,h.n2)(a,f);if(!e().existsSync(k))throw new i.Vt(i.tG.FILE_NOT_FOUND,`Space not found: ${f}`,{spacePath:f});if(!e().statSync(k).isDirectory())throw new i.Vt(i.tG.INVALID_PATH,`Not a directory: ${f}`,{spacePath:f});let l=g().dirname(k),m=g().join(l,d);if((0,h.cP)(m,j),e().existsSync(m))throw new i.Vt(i.tG.FILE_ALREADY_EXISTS,"A space with that name already exists",{newName:d});return e().renameSync(k,m),g().relative(j,m).replace(/\\/g,"/")}function q(a,b,c,d){let f=(0,h.n2)(a,b),j=(0,h.n2)(a,c);if(!e().existsSync(f))throw new i.Vt(i.tG.FILE_NOT_FOUND,`Source not found: ${b}`,{fromPath:b});if(e().existsSync(j))throw new i.Vt(i.tG.FILE_ALREADY_EXISTS,`Destination already exists: ${c}`,{toPath:c});return e().mkdirSync(g().dirname(j),{recursive:!0}),e().renameSync(f,j),{newPath:c,affectedFiles:d(a,b).map(a=>a.source)}}},67666:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{O:()=>o});var e=c(29021),f=c.n(e),g=c(33873),h=c.n(g),i=c(21820),j=c.n(i),k=c(11552),l=c(65902),m=c(36345),n=a([m]);m=(n.then?(await n)():n)[0];class o{isReady(){return this._ready}isBuilding(){return this._building}getDocCount(){return this.vectors.size}getDimensions(){return this.dimensions}async rebuild(a){if(!this._building){this._building=!0;try{if(!(0,m.II)()){this._building=!1;return}let b=(0,k.f)(a),c=[],d=[];for(let e of b){let b,f=h().extname(e).toLowerCase();if(".md"!==f&&".csv"!==f)continue;try{b=(0,l.TA)(a,e)}catch{continue}let g=`${e}
|
|
37
37
|
${b}`.slice(0,8e3);c.push(g),d.push(e)}if(0===c.length){this._building=!1,this._ready=!0,this.builtForRoot=a;return}let e=await (0,m.Bk)(c);if(e.length!==c.length){console.error(`[embedding-index] Expected ${c.length} vectors, got ${e.length}`),this._building=!1;return}this.vectors.clear(),this.dimensions=e[0].length;for(let a=0;a<d.length;a++)this.vectors.set(d[a],e[a]);this.builtForRoot=a,this._ready=!0;try{this.persist()}catch{}}catch(a){console.error("[embedding-index] Rebuild failed:",a instanceof Error?a.message:a)}finally{this._building=!1}}}async updateFile(a,b){let c;if(!this._ready)return;let d=h().extname(b).toLowerCase();if(".md"!==d&&".csv"!==d)return;try{c=(0,l.TA)(a,b)}catch{return}let e=`${b}
|
|
38
|
-
${c}`.slice(0,8e3),f=await (0,m.s7)(e);f&&(this.vectors.set(b,f),0===this.dimensions&&(this.dimensions=f.length))}removeFile(a){this.vectors.delete(a)}searchByVector(a,b=20){if(!this._ready||0===this.vectors.size)return[];if(this.dimensions>0&&a.length!==this.dimensions)return console.warn(`[embedding-index] Dimension mismatch: query has ${a.length} dimensions, index has ${this.dimensions}. Returning empty results.`),[];let c=[];for(let[b,d]of this.vectors){let e=function(a,b){if(a.length!==b.length||0===a.length)return 0;let c=0,d=0,e=0;for(let f=0;f<a.length;f++)c+=a[f]*b[f],d+=a[f]*a[f],e+=b[f]*b[f];let f=Math.sqrt(d)*Math.sqrt(e);return 0===f?0:Math.max(0,Math.min(1,c/f))}(a,d);c.push({path:b,similarity:e})}return c.sort((a,b)=>b.similarity-a.similarity),c.slice(0,b)}async search(a,b=20){if(!this._ready)return[];let c=await (0,m.s7)(a);return c?this.searchByVector(c,b):[]}get persistPath(){return h().join(j().homedir(),".mindos","embedding-index.json")}persist(){if(0===this.vectors.size)return;let a={version:1,builtForRoot:this.builtForRoot??"",dimensions:this.dimensions,docCount:this.vectors.size,timestamp:Date.now(),vectors:{}};for(let[b,c]of this.vectors)a.vectors[b]=Array.from(c);let b=h().dirname(this.persistPath);try{f().mkdirSync(b,{recursive:!0}),f().writeFileSync(this.persistPath,JSON.stringify(a),"utf-8")}catch{}}load(a){try{let b=f().readFileSync(this.persistPath,"utf-8"),c=JSON.parse(b);if(1!==c.version||c.builtForRoot!==a)return!1;let d=(0,k.f)(a).filter(a=>{let b=h().extname(a).toLowerCase();return".md"===b||".csv"===b}).length;if(Math.abs(d-c.docCount)>Math.max(5,.1*d))return!1;for(let[a,b]of(this.vectors.clear(),this.dimensions=c.dimensions,Object.entries(c.vectors)))this.vectors.set(a,new Float32Array(b));return this.builtForRoot=c.builtForRoot,this._ready=!0,!0}catch{return!1}}invalidate(){this.vectors.clear(),this.dimensions=0,this.builtForRoot=null,this._ready=!1}isBuiltFor(a){return this._ready&&this.builtForRoot===a}constructor(){this.vectors=new Map,this.dimensions=0,this.builtForRoot=null,this._ready=!1,this._building=!1}}d()}catch(a){d(a)}})},70647:(a,b,c)=>{c.d(b,{Y:()=>e});class d{track(a,b){this.record({name:a,ts:Date.now(),props:b})}startTimer(a,b){let c=Date.now();return d=>{this.record({name:a,ts:c,durationMs:Date.now()-c,props:{...b??{},...d??{}}})}}getEvents(){return this.history.map(a=>({...a,props:a.props?{...a.props}:void 0}))}reset(){this.history=[],this.pending=[]}async flush(){if(0===this.pending.length)return 0;let a=this.pending.splice(0),b=process.env.MINDOS_TELEMETRY_ENDPOINT?.trim();if(!b)return a.length;try{return await fetch(b,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}),a.length}catch{return this.pending.unshift(...a),0}}record(a){this.history.push(a),this.history.length>200&&this.history.splice(0,this.history.length-200),this.pending.push(a),this.log(a)}log(a){}constructor(){this.history=[],this.pending=[]}}let e=new d},73400:(a,b,c)=>{c.d(b,{i:()=>d});function d(a=process.env){return a.MINDOS_NODE_BIN?.trim()||process.execPath}},88309:(a,b,c)=>{c.d(b,{Vt:()=>e,ik:()=>i,pb:()=>h,tG:()=>f});var d=c(72212);class e extends Error{constructor(a,b,c,d){super(b),this.code=a,this.context=c,this.userMessage=d,this.name="MindOSError"}}let f={FILE_NOT_FOUND:"FILE_NOT_FOUND",FILE_ALREADY_EXISTS:"FILE_ALREADY_EXISTS",PATH_OUTSIDE_ROOT:"PATH_OUTSIDE_ROOT",PROTECTED_FILE:"PROTECTED_FILE",INVALID_PATH:"INVALID_PATH",INVALID_RANGE:"INVALID_RANGE",HEADING_NOT_FOUND:"HEADING_NOT_FOUND",INVALID_FILE_TYPE:"INVALID_FILE_TYPE",INVALID_REQUEST:"INVALID_REQUEST",MODEL_INIT_FAILED:"MODEL_INIT_FAILED",INTERNAL_ERROR:"INTERNAL_ERROR",PERMISSION_DENIED:"PERMISSION_DENIED"};function g(a){switch(a){case f.FILE_NOT_FOUND:case f.HEADING_NOT_FOUND:return 404;case f.FILE_ALREADY_EXISTS:return 409;case f.PATH_OUTSIDE_ROOT:case f.PROTECTED_FILE:case f.PERMISSION_DENIED:return 403;case f.INVALID_PATH:case f.INVALID_RANGE:case f.INVALID_FILE_TYPE:case f.INVALID_REQUEST:return 400;case f.MODEL_INIT_FAILED:case f.INTERNAL_ERROR:default:return 500}}function h(a,b,c){let e=c??g(a);return d.NextResponse.json({ok:!1,error:{code:a,message:b}},{status:e})}function i(a,b=500){if(a instanceof e)return d.NextResponse.json({error:a.message},{status:g(a.code)});if(b<500){var c;let e=((c=a)instanceof Error?c.message:"string"==typeof c?c:String(c)).slice(0,256);return d.NextResponse.json({error:e},{status:b})}return d.NextResponse.json({error:"Internal server error"},{status:b})}},96727:(a,b,c)=>{c.d(b,{cP:()=>k,n2:()=>m,eX:()=>l}),c(66451),c(17409);var d=c(96081);c(
|
|
38
|
+
${c}`.slice(0,8e3),f=await (0,m.s7)(e);f&&(this.vectors.set(b,f),0===this.dimensions&&(this.dimensions=f.length))}removeFile(a){this.vectors.delete(a)}searchByVector(a,b=20){if(!this._ready||0===this.vectors.size)return[];if(this.dimensions>0&&a.length!==this.dimensions)return console.warn(`[embedding-index] Dimension mismatch: query has ${a.length} dimensions, index has ${this.dimensions}. Returning empty results.`),[];let c=[];for(let[b,d]of this.vectors){let e=function(a,b){if(a.length!==b.length||0===a.length)return 0;let c=0,d=0,e=0;for(let f=0;f<a.length;f++)c+=a[f]*b[f],d+=a[f]*a[f],e+=b[f]*b[f];let f=Math.sqrt(d)*Math.sqrt(e);return 0===f?0:Math.max(0,Math.min(1,c/f))}(a,d);c.push({path:b,similarity:e})}return c.sort((a,b)=>b.similarity-a.similarity),c.slice(0,b)}async search(a,b=20){if(!this._ready)return[];let c=await (0,m.s7)(a);return c?this.searchByVector(c,b):[]}get persistPath(){return h().join(j().homedir(),".mindos","embedding-index.json")}persist(){if(0===this.vectors.size)return;let a={version:1,builtForRoot:this.builtForRoot??"",dimensions:this.dimensions,docCount:this.vectors.size,timestamp:Date.now(),vectors:{}};for(let[b,c]of this.vectors)a.vectors[b]=Array.from(c);let b=h().dirname(this.persistPath);try{f().mkdirSync(b,{recursive:!0}),f().writeFileSync(this.persistPath,JSON.stringify(a),"utf-8")}catch{}}load(a){try{let b=f().readFileSync(this.persistPath,"utf-8"),c=JSON.parse(b);if(1!==c.version||c.builtForRoot!==a)return!1;let d=(0,k.f)(a).filter(a=>{let b=h().extname(a).toLowerCase();return".md"===b||".csv"===b}).length;if(Math.abs(d-c.docCount)>Math.max(5,.1*d))return!1;for(let[a,b]of(this.vectors.clear(),this.dimensions=c.dimensions,Object.entries(c.vectors)))this.vectors.set(a,new Float32Array(b));return this.builtForRoot=c.builtForRoot,this._ready=!0,!0}catch{return!1}}invalidate(){this.vectors.clear(),this.dimensions=0,this.builtForRoot=null,this._ready=!1}isBuiltFor(a){return this._ready&&this.builtForRoot===a}constructor(){this.vectors=new Map,this.dimensions=0,this.builtForRoot=null,this._ready=!1,this._building=!1}}d()}catch(a){d(a)}})},70647:(a,b,c)=>{c.d(b,{Y:()=>e});class d{track(a,b){this.record({name:a,ts:Date.now(),props:b})}startTimer(a,b){let c=Date.now();return d=>{this.record({name:a,ts:c,durationMs:Date.now()-c,props:{...b??{},...d??{}}})}}getEvents(){return this.history.map(a=>({...a,props:a.props?{...a.props}:void 0}))}reset(){this.history=[],this.pending=[]}async flush(){if(0===this.pending.length)return 0;let a=this.pending.splice(0),b=process.env.MINDOS_TELEMETRY_ENDPOINT?.trim();if(!b)return a.length;try{return await fetch(b,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}),a.length}catch{return this.pending.unshift(...a),0}}record(a){this.history.push(a),this.history.length>200&&this.history.splice(0,this.history.length-200),this.pending.push(a),this.log(a)}log(a){}constructor(){this.history=[],this.pending=[]}}let e=new d},73400:(a,b,c)=>{c.d(b,{i:()=>d});function d(a=process.env){return a.MINDOS_NODE_BIN?.trim()||process.execPath}},88309:(a,b,c)=>{c.d(b,{Vt:()=>e,ik:()=>i,pb:()=>h,tG:()=>f});var d=c(72212);class e extends Error{constructor(a,b,c,d){super(b),this.code=a,this.context=c,this.userMessage=d,this.name="MindOSError"}}let f={FILE_NOT_FOUND:"FILE_NOT_FOUND",FILE_ALREADY_EXISTS:"FILE_ALREADY_EXISTS",PATH_OUTSIDE_ROOT:"PATH_OUTSIDE_ROOT",PROTECTED_FILE:"PROTECTED_FILE",INVALID_PATH:"INVALID_PATH",INVALID_RANGE:"INVALID_RANGE",HEADING_NOT_FOUND:"HEADING_NOT_FOUND",INVALID_FILE_TYPE:"INVALID_FILE_TYPE",INVALID_REQUEST:"INVALID_REQUEST",MODEL_INIT_FAILED:"MODEL_INIT_FAILED",INTERNAL_ERROR:"INTERNAL_ERROR",PERMISSION_DENIED:"PERMISSION_DENIED"};function g(a){switch(a){case f.FILE_NOT_FOUND:case f.HEADING_NOT_FOUND:return 404;case f.FILE_ALREADY_EXISTS:return 409;case f.PATH_OUTSIDE_ROOT:case f.PROTECTED_FILE:case f.PERMISSION_DENIED:return 403;case f.INVALID_PATH:case f.INVALID_RANGE:case f.INVALID_FILE_TYPE:case f.INVALID_REQUEST:return 400;case f.MODEL_INIT_FAILED:case f.INTERNAL_ERROR:default:return 500}}function h(a,b,c){let e=c??g(a);return d.NextResponse.json({ok:!1,error:{code:a,message:b}},{status:e})}function i(a,b=500){if(a instanceof e)return d.NextResponse.json({error:a.message},{status:g(a.code)});if(b<500){var c;let e=((c=a)instanceof Error?c.message:"string"==typeof c?c:String(c)).slice(0,256);return d.NextResponse.json({error:e},{status:b})}return d.NextResponse.json({error:"Internal server error"},{status:b})}},96727:(a,b,c)=>{c.d(b,{cP:()=>k,n2:()=>m,eX:()=>l}),c(66451),c(17409);var d=c(96081);c(39741),c(75190);var e=c(29021),f=c.n(e),g=c(33873),h=c.n(g),i=c(88309);function j(a,b){return a instanceof i.Vt?a:new i.Vt(i.tG.PATH_OUTSIDE_ROOT,a?.message||"Access denied: path outside MIND_ROOT",a?.context??b)}function k(a,b){try{(0,d.cP)(a,b)}catch(c){throw j(c,{resolved:a,root:b})}}function l(a,b){try{return(0,d.eX)(a,b)}catch(c){throw j(c,{mindRoot:a,filePath:b})}}function m(a,b){var c,d;let e,g,k,m,n,o=l(a,b),p=function(a){let b=a;for(;!f().existsSync(b);){let a=h().dirname(b);if(a===b)break;b=a}return b}(o);try{e=f().realpathSync(h().resolve(a)),g=f().realpathSync(p)}catch(c){throw j(c,{mindRoot:a,filePath:b,resolved:o,existing:p})}if(c=g,d=e,k=h().resolve(d),m=h().resolve(c),""!==(n=h().relative(k,m))&&(".."===n||n.startsWith(`..${h().sep}`)||h().isAbsolute(n)))throw new i.Vt(i.tG.PATH_OUTSIDE_ROOT,"Access denied: symlink resolves outside MIND_ROOT",{mindRoot:a,filePath:b,resolved:o,existing:p,targetReal:g});return o}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=7765,exports.ids=[7765],exports.modules={2484:(a,b,c)=>{c.d(b,{S:()=>d,y:()=>e});class d extends Error{constructor(a,b){super(a),this.field=b,this.name="ManifestError"}}function e(a){var b,c;if(!a||"object"!=typeof a)throw new d("Manifest must be an object");if(!a.id||"string"!=typeof a.id)throw new d('Missing or invalid "id" field',"id");if(b=a.id,!/^[a-zA-Z0-9_-]+$/.test(b)||!(b.length>0)||!(b.length<=64))throw new d(`Invalid plugin id: "${a.id}". Must be alphanumeric with hyphens/underscores.`,"id");if(!a.name||"string"!=typeof a.name)throw new d('Missing or invalid "name" field',"name");if(!a.version||"string"!=typeof a.version)throw new d('Missing or invalid "version" field',"version");if(c=a.version,!/^\d+\.\d+\.\d+$/.test(c))throw new d(`Invalid semver: "${a.version}"`,"version");let e={id:a.id,name:a.name,version:a.version};return a.minMindOsVersion&&"string"==typeof a.minMindOsVersion&&(e.minMindOsVersion=a.minMindOsVersion),a.description&&"string"==typeof a.description&&(e.description=a.description),a.author&&"string"==typeof a.author&&(e.author=a.author),a.authorUrl&&"string"==typeof a.authorUrl&&(e.authorUrl=a.authorUrl),a.fundingUrl&&"string"==typeof a.fundingUrl&&(e.fundingUrl=a.fundingUrl),!0===a.isDesktopOnly&&(e.isDesktopOnly=!0),e}},28133:(a,b,c)=>{a.exports=c(44870)},66832:(a,b,c)=>{c.d(b,{l:()=>i,o:()=>h});let d=new Set(["Plugin","Component","Events","Notice","Modal","PluginSettingTab","Setting","TFile","TFolder","TAbstractFile","loadData","saveData","addCommand","MetadataCache.getCache","MetadataCache.getFileCache"]),e=new Set(["registerView","registerMarkdownPostProcessor","registerMarkdownCodeBlockProcessor","registerEditorExtension","ItemView","WorkspaceLeaf"]),f=new Set(["fs","path","child_process","electron","os","net","tls","worker_threads"]);function g(a){return Array.from(new Set(a)).sort()}function h(a){let b=function(a){let b=[];for(let c of a.matchAll(/require\('obsidian'\)\s*;?|const\s*\{([^}]+)\}\s*=\s*require\('obsidian'\)|import\s*\{([^}]+)\}\s*from\s*['"]obsidian['"]/g)){let a=(c[1]??c[2])?.split(",").map(a=>a.trim()).filter(Boolean)??[];b.push(...a)}for(let[c,d]of[[/\.addCommand\s*\(/,"addCommand"],[/\.loadData\s*\(/,"loadData"],[/\.saveData\s*\(/,"saveData"],[/\.registerView\s*\(/,"registerView"],[/\.registerMarkdownPostProcessor\s*\(/,"registerMarkdownPostProcessor"],[/\.registerMarkdownCodeBlockProcessor\s*\(/,"registerMarkdownCodeBlockProcessor"],[/\.registerEditorExtension\s*\(/,"registerEditorExtension"],[/metadataCache\.getCache\s*\(/,"MetadataCache.getCache"],[/metadataCache\.getFileCache\s*\(/,"MetadataCache.getFileCache"]])c.test(a)&&b.push(d);return g(b)}(a),c=function(a){let b=[];for(let c of a.matchAll(/require\('([^']+)'\)/g)){let a=c[1];a&&"obsidian"!==a&&f.has(a)&&b.push(a)}return g(b)}(a),h=b.filter(a=>d.has(a)),i=b.filter(a=>e.has(a)),j=[...c.map(a=>`Requires unsupported runtime module: ${a}`)];return{obsidianApis:b,nodeModules:c,supportedApis:g(h),partialApis:g(i),blockers:g(j)}}function i(a){return a.blockers.length>0?"blocked":a.partialApis.length>0?"partial":"compatible"}},70268:(a,b,c)=>{c.d(b,{k:()=>l,n:()=>k});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(66832),i=c(2484),j=c(96727);async function k(a){let b;try{b=(0,j.n2)(a,".obsidian/plugins")}catch{return{plugins:[],skipped:[]}}if(!e().existsSync(b))return{plugins:[],skipped:[]};let c=e().readdirSync(b),d=[],f=[];for(let a of c){let c=g().resolve(g().join(b,a));if(e().existsSync(c)&&e().lstatSync(c).isDirectory())try{let a=function(a){let b=g().join(a,"manifest.json"),c=e().readFileSync(b,"utf-8");return(0,i.y)(JSON.parse(c))}(c),b=e().readFileSync(g().join(c,"main.js"),"utf-8"),f=(0,h.o)(b);d.push({id:a.id,manifest:a,sourceDir:c,compatibility:f,compatibilityLevel:(0,h.l)(f),hasStyles:e().existsSync(g().join(c,"styles.css")),hasData:e().existsSync(g().join(c,"data.json"))})}catch(b){f.push({dirName:a,reason:b instanceof Error?b.message:String(b)})}}return{plugins:d.sort((a,b)=>a.id.localeCompare(b.id,"en")),skipped:f}}async function l(a){let b,c=function(a,b,c){if(!c||c.includes("..")||c.includes("/")||c.includes("\\"))throw Error(`Plugin path escapes plugins directory: ${c}`);try{return(0,j.n2)(a,`${b}/${c}`)}catch{throw Error(`Plugin path escapes plugins directory: ${c}`)}}(a.vaultRoot,".obsidian/plugins",a.pluginId);if(!e().existsSync(c)||!e().statSync(c).isDirectory())throw Error(`Obsidian plugin not found: ${a.pluginId}`);try{(0,j.n2)(a.targetMindRoot,".plugins"),b=(0,j.n2)(a.targetMindRoot,`.plugins/${a.pluginId}`)}catch{throw Error(`Plugin target path escapes .plugins directory: ${a.pluginId}`)}for(let a of(e().mkdirSync(b,{recursive:!0}),["manifest.json","main.js","styles.css","data.json"])){let d=g().join(c,a),f=g().join(b,a);e().existsSync(d)&&e().statSync(d).isFile()&&e().copyFileSync(d,f)}return{pluginId:a.pluginId,targetDir:b}}},88309:(a,b,c)=>{c.d(b,{Vt:()=>e,ik:()=>i,pb:()=>h,tG:()=>f});var d=c(72212);class e extends Error{constructor(a,b,c,d){super(b),this.code=a,this.context=c,this.userMessage=d,this.name="MindOSError"}}let f={FILE_NOT_FOUND:"FILE_NOT_FOUND",FILE_ALREADY_EXISTS:"FILE_ALREADY_EXISTS",PATH_OUTSIDE_ROOT:"PATH_OUTSIDE_ROOT",PROTECTED_FILE:"PROTECTED_FILE",INVALID_PATH:"INVALID_PATH",INVALID_RANGE:"INVALID_RANGE",HEADING_NOT_FOUND:"HEADING_NOT_FOUND",INVALID_FILE_TYPE:"INVALID_FILE_TYPE",INVALID_REQUEST:"INVALID_REQUEST",MODEL_INIT_FAILED:"MODEL_INIT_FAILED",INTERNAL_ERROR:"INTERNAL_ERROR",PERMISSION_DENIED:"PERMISSION_DENIED"};function g(a){switch(a){case f.FILE_NOT_FOUND:case f.HEADING_NOT_FOUND:return 404;case f.FILE_ALREADY_EXISTS:return 409;case f.PATH_OUTSIDE_ROOT:case f.PROTECTED_FILE:case f.PERMISSION_DENIED:return 403;case f.INVALID_PATH:case f.INVALID_RANGE:case f.INVALID_FILE_TYPE:case f.INVALID_REQUEST:return 400;case f.MODEL_INIT_FAILED:case f.INTERNAL_ERROR:default:return 500}}function h(a,b,c){let e=c??g(a);return d.NextResponse.json({ok:!1,error:{code:a,message:b}},{status:e})}function i(a,b=500){if(a instanceof e)return d.NextResponse.json({error:a.message},{status:g(a.code)});if(b<500){var c;let e=((c=a)instanceof Error?c.message:"string"==typeof c?c:String(c)).slice(0,256);return d.NextResponse.json({error:e},{status:b})}return d.NextResponse.json({error:"Internal server error"},{status:b})}},96727:(a,b,c)=>{c.d(b,{cP:()=>k,n2:()=>m,eX:()=>l}),c(66451),c(17409);var d=c(96081);c(
|
|
1
|
+
"use strict";exports.id=7765,exports.ids=[7765],exports.modules={2484:(a,b,c)=>{c.d(b,{S:()=>d,y:()=>e});class d extends Error{constructor(a,b){super(a),this.field=b,this.name="ManifestError"}}function e(a){var b,c;if(!a||"object"!=typeof a)throw new d("Manifest must be an object");if(!a.id||"string"!=typeof a.id)throw new d('Missing or invalid "id" field',"id");if(b=a.id,!/^[a-zA-Z0-9_-]+$/.test(b)||!(b.length>0)||!(b.length<=64))throw new d(`Invalid plugin id: "${a.id}". Must be alphanumeric with hyphens/underscores.`,"id");if(!a.name||"string"!=typeof a.name)throw new d('Missing or invalid "name" field',"name");if(!a.version||"string"!=typeof a.version)throw new d('Missing or invalid "version" field',"version");if(c=a.version,!/^\d+\.\d+\.\d+$/.test(c))throw new d(`Invalid semver: "${a.version}"`,"version");let e={id:a.id,name:a.name,version:a.version};return a.minMindOsVersion&&"string"==typeof a.minMindOsVersion&&(e.minMindOsVersion=a.minMindOsVersion),a.description&&"string"==typeof a.description&&(e.description=a.description),a.author&&"string"==typeof a.author&&(e.author=a.author),a.authorUrl&&"string"==typeof a.authorUrl&&(e.authorUrl=a.authorUrl),a.fundingUrl&&"string"==typeof a.fundingUrl&&(e.fundingUrl=a.fundingUrl),!0===a.isDesktopOnly&&(e.isDesktopOnly=!0),e}},28133:(a,b,c)=>{a.exports=c(44870)},66832:(a,b,c)=>{c.d(b,{l:()=>i,o:()=>h});let d=new Set(["Plugin","Component","Events","Notice","Modal","PluginSettingTab","Setting","TFile","TFolder","TAbstractFile","loadData","saveData","addCommand","MetadataCache.getCache","MetadataCache.getFileCache"]),e=new Set(["registerView","registerMarkdownPostProcessor","registerMarkdownCodeBlockProcessor","registerEditorExtension","ItemView","WorkspaceLeaf"]),f=new Set(["fs","path","child_process","electron","os","net","tls","worker_threads"]);function g(a){return Array.from(new Set(a)).sort()}function h(a){let b=function(a){let b=[];for(let c of a.matchAll(/require\('obsidian'\)\s*;?|const\s*\{([^}]+)\}\s*=\s*require\('obsidian'\)|import\s*\{([^}]+)\}\s*from\s*['"]obsidian['"]/g)){let a=(c[1]??c[2])?.split(",").map(a=>a.trim()).filter(Boolean)??[];b.push(...a)}for(let[c,d]of[[/\.addCommand\s*\(/,"addCommand"],[/\.loadData\s*\(/,"loadData"],[/\.saveData\s*\(/,"saveData"],[/\.registerView\s*\(/,"registerView"],[/\.registerMarkdownPostProcessor\s*\(/,"registerMarkdownPostProcessor"],[/\.registerMarkdownCodeBlockProcessor\s*\(/,"registerMarkdownCodeBlockProcessor"],[/\.registerEditorExtension\s*\(/,"registerEditorExtension"],[/metadataCache\.getCache\s*\(/,"MetadataCache.getCache"],[/metadataCache\.getFileCache\s*\(/,"MetadataCache.getFileCache"]])c.test(a)&&b.push(d);return g(b)}(a),c=function(a){let b=[];for(let c of a.matchAll(/require\('([^']+)'\)/g)){let a=c[1];a&&"obsidian"!==a&&f.has(a)&&b.push(a)}return g(b)}(a),h=b.filter(a=>d.has(a)),i=b.filter(a=>e.has(a)),j=[...c.map(a=>`Requires unsupported runtime module: ${a}`)];return{obsidianApis:b,nodeModules:c,supportedApis:g(h),partialApis:g(i),blockers:g(j)}}function i(a){return a.blockers.length>0?"blocked":a.partialApis.length>0?"partial":"compatible"}},70268:(a,b,c)=>{c.d(b,{k:()=>l,n:()=>k});var d=c(29021),e=c.n(d),f=c(33873),g=c.n(f),h=c(66832),i=c(2484),j=c(96727);async function k(a){let b;try{b=(0,j.n2)(a,".obsidian/plugins")}catch{return{plugins:[],skipped:[]}}if(!e().existsSync(b))return{plugins:[],skipped:[]};let c=e().readdirSync(b),d=[],f=[];for(let a of c){let c=g().resolve(g().join(b,a));if(e().existsSync(c)&&e().lstatSync(c).isDirectory())try{let a=function(a){let b=g().join(a,"manifest.json"),c=e().readFileSync(b,"utf-8");return(0,i.y)(JSON.parse(c))}(c),b=e().readFileSync(g().join(c,"main.js"),"utf-8"),f=(0,h.o)(b);d.push({id:a.id,manifest:a,sourceDir:c,compatibility:f,compatibilityLevel:(0,h.l)(f),hasStyles:e().existsSync(g().join(c,"styles.css")),hasData:e().existsSync(g().join(c,"data.json"))})}catch(b){f.push({dirName:a,reason:b instanceof Error?b.message:String(b)})}}return{plugins:d.sort((a,b)=>a.id.localeCompare(b.id,"en")),skipped:f}}async function l(a){let b,c=function(a,b,c){if(!c||c.includes("..")||c.includes("/")||c.includes("\\"))throw Error(`Plugin path escapes plugins directory: ${c}`);try{return(0,j.n2)(a,`${b}/${c}`)}catch{throw Error(`Plugin path escapes plugins directory: ${c}`)}}(a.vaultRoot,".obsidian/plugins",a.pluginId);if(!e().existsSync(c)||!e().statSync(c).isDirectory())throw Error(`Obsidian plugin not found: ${a.pluginId}`);try{(0,j.n2)(a.targetMindRoot,".plugins"),b=(0,j.n2)(a.targetMindRoot,`.plugins/${a.pluginId}`)}catch{throw Error(`Plugin target path escapes .plugins directory: ${a.pluginId}`)}for(let a of(e().mkdirSync(b,{recursive:!0}),["manifest.json","main.js","styles.css","data.json"])){let d=g().join(c,a),f=g().join(b,a);e().existsSync(d)&&e().statSync(d).isFile()&&e().copyFileSync(d,f)}return{pluginId:a.pluginId,targetDir:b}}},88309:(a,b,c)=>{c.d(b,{Vt:()=>e,ik:()=>i,pb:()=>h,tG:()=>f});var d=c(72212);class e extends Error{constructor(a,b,c,d){super(b),this.code=a,this.context=c,this.userMessage=d,this.name="MindOSError"}}let f={FILE_NOT_FOUND:"FILE_NOT_FOUND",FILE_ALREADY_EXISTS:"FILE_ALREADY_EXISTS",PATH_OUTSIDE_ROOT:"PATH_OUTSIDE_ROOT",PROTECTED_FILE:"PROTECTED_FILE",INVALID_PATH:"INVALID_PATH",INVALID_RANGE:"INVALID_RANGE",HEADING_NOT_FOUND:"HEADING_NOT_FOUND",INVALID_FILE_TYPE:"INVALID_FILE_TYPE",INVALID_REQUEST:"INVALID_REQUEST",MODEL_INIT_FAILED:"MODEL_INIT_FAILED",INTERNAL_ERROR:"INTERNAL_ERROR",PERMISSION_DENIED:"PERMISSION_DENIED"};function g(a){switch(a){case f.FILE_NOT_FOUND:case f.HEADING_NOT_FOUND:return 404;case f.FILE_ALREADY_EXISTS:return 409;case f.PATH_OUTSIDE_ROOT:case f.PROTECTED_FILE:case f.PERMISSION_DENIED:return 403;case f.INVALID_PATH:case f.INVALID_RANGE:case f.INVALID_FILE_TYPE:case f.INVALID_REQUEST:return 400;case f.MODEL_INIT_FAILED:case f.INTERNAL_ERROR:default:return 500}}function h(a,b,c){let e=c??g(a);return d.NextResponse.json({ok:!1,error:{code:a,message:b}},{status:e})}function i(a,b=500){if(a instanceof e)return d.NextResponse.json({error:a.message},{status:g(a.code)});if(b<500){var c;let e=((c=a)instanceof Error?c.message:"string"==typeof c?c:String(c)).slice(0,256);return d.NextResponse.json({error:e},{status:b})}return d.NextResponse.json({error:"Internal server error"},{status:b})}},96727:(a,b,c)=>{c.d(b,{cP:()=>k,n2:()=>m,eX:()=>l}),c(66451),c(17409);var d=c(96081);c(39741),c(75190);var e=c(29021),f=c.n(e),g=c(33873),h=c.n(g),i=c(88309);function j(a,b){return a instanceof i.Vt?a:new i.Vt(i.tG.PATH_OUTSIDE_ROOT,a?.message||"Access denied: path outside MIND_ROOT",a?.context??b)}function k(a,b){try{(0,d.cP)(a,b)}catch(c){throw j(c,{resolved:a,root:b})}}function l(a,b){try{return(0,d.eX)(a,b)}catch(c){throw j(c,{mindRoot:a,filePath:b})}}function m(a,b){var c,d;let e,g,k,m,n,o=l(a,b),p=function(a){let b=a;for(;!f().existsSync(b);){let a=h().dirname(b);if(a===b)break;b=a}return b}(o);try{e=f().realpathSync(h().resolve(a)),g=f().realpathSync(p)}catch(c){throw j(c,{mindRoot:a,filePath:b,resolved:o,existing:p})}if(c=g,d=e,k=h().resolve(d),m=h().resolve(c),""!==(n=h().relative(k,m))&&(".."===n||n.startsWith(`..${h().sep}`)||h().isAbsolute(n)))throw new i.Vt(i.tG.PATH_OUTSIDE_ROOT,"Access denied: symlink resolves outside MIND_ROOT",{mindRoot:a,filePath:b,resolved:o,existing:p,targetReal:g});return o}},98132:(a,b,c)=>{Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(52300),e=c(24301),f=c(86798);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}}};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";exports.id=8028,exports.ids=[8028],exports.modules={98028:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{compileSpaceOverview:()=>r,isCompileError:()=>s});var e=c(29021),f=c.n(e),g=c(33873),h=c.n(g),i=c(14270),j=c(20626),k=c(23414),l=c(11976),m=c(
|
|
1
|
+
"use strict";exports.id=8028,exports.ids=[8028],exports.modules={98028:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{compileSpaceOverview:()=>r,isCompileError:()=>s});var e=c(29021),f=c.n(e),g=c(33873),h=c.n(g),i=c(14270),j=c(20626),k=c(23414),l=c(11976),m=c(13308),n=a([i,j,k,l]);function o(a){let b=a.join(" ").slice(0,2e3);return(b.match(/[\u4e00-\u9fff\u3400-\u4dbf]/g)||[]).length>.05*b.length?"zh":"en"}[i,j,k,l]=n.then?(await n)():n;let t=/<!-- mindos:compiled (\S+) files:(\d+) -->/;function p(a){return a.replace(/\n?<!-- mindos:compiled \S+ files:\d+ -->\s*$/,"")}function q(a,b){let c=p(a).trimEnd();return`${c}
|
|
2
2
|
|
|
3
3
|
<!-- mindos:compiled ${b.timestamp} files:${b.fileCount} -->
|
|
4
4
|
`}async function r(a,b){var c;let d;if(!(0,k.Sf)().apiKey)return{code:"no_api_key",message:"No AI API key configured. Go to Settings to add one."};let e=(0,l.JX)();(0,m.n2)(e,a);let g=h().basename(a)||a,n=(0,m.n2)(e,h().posix.join(a,"README.md")),r="",s=null;try{let a;s=(a=(r=f().readFileSync(n,"utf-8")).match(t))?{timestamp:a[1],fileCount:parseInt(a[2],10)}:null}catch{}if(s){let{changed:d,total:k}=function(a,b,c){let d=(0,l.f)(),e=b.endsWith("/")?b:b+"/",g=d.filter(a=>a.startsWith(e)).filter(a=>/\.(md|csv|txt)$/i.test(a)).filter(a=>{let b=h().basename(a);return"INSTRUCTION.md"!==b&&"CONFIG.json"!==b&&"README.md"!==b}),i=new Date(c).getTime(),j=[],k=0;for(let b of g){if(j.length>=80||k>=4e4)break;try{let c=(0,m.n2)(a,b);if(f().statSync(c).mtimeMs<=i)continue;let d=f().readFileSync(c,"utf-8"),g=d.slice(0,800),h=g.length<d.length?g+"\n...(truncated)":g;k+=h.length;let l=b.slice(e.length);j.push({name:l,preview:h})}catch{}}return{changed:j,total:g.length}}(e,a,s.timestamp);if(0===d.length)return{content:r,unchanged:!0,stats:{fileCount:k,totalChars:0,spaceName:g,scannedFiles:0,mode:"unchanged"}};if(d.length/k<=.5){let a,e=o(d.map(a=>a.preview)),h=(c=r,a=d.map(a=>`### ${a.name}
|