@geminilight/mindos-windows-arm64 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_standalone/.mindos-build-version +1 -1
- package/_standalone/__next/BUILD_ID +1 -1
- package/_standalone/__next/app-path-routes-manifest.json +34 -34
- 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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/inbox/route.js +1 -1
- package/_standalone/__next/server/app/api/inbox/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/init/route.js +1 -1
- package/_standalone/__next/server/app/api/init/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/lint/route.js +1 -1
- package/_standalone/__next/server/app/api/lint/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/mcp/agents/route.js +1 -1
- package/_standalone/__next/server/app/api/mcp/agents/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/mcp/direct-tools/route.js +1 -1
- package/_standalone/__next/server/app/api/mcp/direct-tools/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/mcp/install/route.js +1 -1
- package/_standalone/__next/server/app/api/mcp/install/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/mcp/install-skill/route.js +1 -1
- package/_standalone/__next/server/app/api/mcp/install-skill/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/mcp/restart/route.js +1 -1
- package/_standalone/__next/server/app/api/mcp/restart/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/mcp/status/route.js +1 -1
- package/_standalone/__next/server/app/api/mcp/status/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/mcp/tools/route.js +1 -1
- package/_standalone/__next/server/app/api/mcp/tools/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/mcp/uninstall/route.js +1 -1
- package/_standalone/__next/server/app/api/mcp/uninstall/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/monitoring/route.js +1 -1
- package/_standalone/__next/server/app/api/monitoring/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/obsidian/compat-report/route.js +1 -1
- package/_standalone/__next/server/app/api/obsidian/compat-report/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/obsidian/import/route.js +1 -1
- package/_standalone/__next/server/app/api/obsidian/import/route_client-reference-manifest.js +1 -1
- package/_standalone/__next/server/app/api/obsidian-plugins/settings/route.js +2 -2
- 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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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 +34 -34
- package/_standalone/__next/server/chunks/{6602.js → 1834.js} +21 -21
- package/_standalone/__next/server/chunks/3466.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/9350.js +2 -2
- package/_standalone/__next/server/chunks/{3219.js → 9773.js} +3 -3
- 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/{2461-a1073a0bd04c228a.js → 1957-723ac4eb5200214c.js} +3 -3
- package/_standalone/__next/static/chunks/{47-41e1a06e6d389b69.js → 2737-f4970f0684c334d6.js} +1 -1
- package/_standalone/__next/static/chunks/{9216.d3339c27169b21bf.js → 6728.e1841cddb63308b0.js} +1 -1
- package/_standalone/__next/static/chunks/{6947.7e50e18da7dc4aef.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/_standalone/__next/static/chunks/app/help/{page-3f0a1a8e51249cb2.js → page-6efb8aa3a3c169fa.js} +1 -1
- package/_standalone/__next/static/chunks/app/inbox/history/page-913645bbd6161116.js +1 -0
- package/{static-web/_next/static/chunks/app/layout-5966cd317bbed698.js → _standalone/__next/static/chunks/app/layout-24a31ea28c556e82.js} +7 -7
- 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-c9f44b3447a41431.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/_standalone/__next/static/chunks/app/view/[...path]/page-b10d3819827da1c2.js +12 -0
- 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/package.json +1 -1
- package/runtime-manifest.json +1 -1
- package/scripts/prepare-standalone.mjs +0 -1
- package/scripts/verify-standalone.mjs +12 -0
- package/static-web/.mindos-build-version +1 -1
- package/static-web/_next/static/chunks/{2461-a1073a0bd04c228a.js → 1957-723ac4eb5200214c.js} +3 -3
- package/static-web/_next/static/chunks/{47-41e1a06e6d389b69.js → 2737-f4970f0684c334d6.js} +1 -1
- package/static-web/_next/static/chunks/{9216.d3339c27169b21bf.js → 6728.e1841cddb63308b0.js} +1 -1
- package/static-web/_next/static/chunks/{6947.7e50e18da7dc4aef.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/static-web/_next/static/chunks/app/help/{page-3f0a1a8e51249cb2.js → page-6efb8aa3a3c169fa.js} +1 -1
- package/static-web/_next/static/chunks/app/inbox/history/page-913645bbd6161116.js +1 -0
- package/{_standalone/__next/static/chunks/app/layout-5966cd317bbed698.js → static-web/_next/static/chunks/app/layout-24a31ea28c556e82.js} +7 -7
- 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-c9f44b3447a41431.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/static-web/_next/static/chunks/app/view/[...path]/page-b10d3819827da1c2.js +12 -0
- 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-d87207a63591ee16.js +0 -1
- package/_standalone/__next/static/chunks/app/view/[...path]/page-1898f4ae4ab28db0.js +0 -12
- package/_standalone/__next/static/chunks/webpack-75abef9cbb1ea912.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-d87207a63591ee16.js +0 -1
- package/static-web/_next/static/chunks/app/view/[...path]/page-1898f4ae4ab28db0.js +0 -12
- package/static-web/_next/static/chunks/webpack-75abef9cbb1ea912.js +0 -1
- /package/_standalone/__next/static/{J9M4pgRyRHH7Ofbxuuklh → 3FkuJxcda957EywJ5ZWWG}/_buildManifest.js +0 -0
- /package/_standalone/__next/static/{J9M4pgRyRHH7Ofbxuuklh → 3FkuJxcda957EywJ5ZWWG}/_ssgManifest.js +0 -0
- /package/static-web/_next/static/{J9M4pgRyRHH7Ofbxuuklh → 3FkuJxcda957EywJ5ZWWG}/_buildManifest.js +0 -0
- /package/static-web/_next/static/{J9M4pgRyRHH7Ofbxuuklh → 3FkuJxcda957EywJ5ZWWG}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var Alias = require('../nodes/Alias.js');
|
|
4
|
+
var Collection = require('../nodes/Collection.js');
|
|
5
|
+
var identity = require('../nodes/identity.js');
|
|
6
|
+
var Pair = require('../nodes/Pair.js');
|
|
7
|
+
var toJS = require('../nodes/toJS.js');
|
|
8
|
+
var Schema = require('../schema/Schema.js');
|
|
9
|
+
var stringifyDocument = require('../stringify/stringifyDocument.js');
|
|
10
|
+
var anchors = require('./anchors.js');
|
|
11
|
+
var applyReviver = require('./applyReviver.js');
|
|
12
|
+
var createNode = require('./createNode.js');
|
|
13
|
+
var directives = require('./directives.js');
|
|
14
|
+
|
|
15
|
+
class Document {
|
|
16
|
+
constructor(value, replacer, options) {
|
|
17
|
+
/** A comment before this Document */
|
|
18
|
+
this.commentBefore = null;
|
|
19
|
+
/** A comment immediately after this Document */
|
|
20
|
+
this.comment = null;
|
|
21
|
+
/** Errors encountered during parsing. */
|
|
22
|
+
this.errors = [];
|
|
23
|
+
/** Warnings encountered during parsing. */
|
|
24
|
+
this.warnings = [];
|
|
25
|
+
Object.defineProperty(this, identity.NODE_TYPE, { value: identity.DOC });
|
|
26
|
+
let _replacer = null;
|
|
27
|
+
if (typeof replacer === 'function' || Array.isArray(replacer)) {
|
|
28
|
+
_replacer = replacer;
|
|
29
|
+
}
|
|
30
|
+
else if (options === undefined && replacer) {
|
|
31
|
+
options = replacer;
|
|
32
|
+
replacer = undefined;
|
|
33
|
+
}
|
|
34
|
+
const opt = Object.assign({
|
|
35
|
+
intAsBigInt: false,
|
|
36
|
+
keepSourceTokens: false,
|
|
37
|
+
logLevel: 'warn',
|
|
38
|
+
prettyErrors: true,
|
|
39
|
+
strict: true,
|
|
40
|
+
stringKeys: false,
|
|
41
|
+
uniqueKeys: true,
|
|
42
|
+
version: '1.2'
|
|
43
|
+
}, options);
|
|
44
|
+
this.options = opt;
|
|
45
|
+
let { version } = opt;
|
|
46
|
+
if (options?._directives) {
|
|
47
|
+
this.directives = options._directives.atDocument();
|
|
48
|
+
if (this.directives.yaml.explicit)
|
|
49
|
+
version = this.directives.yaml.version;
|
|
50
|
+
}
|
|
51
|
+
else
|
|
52
|
+
this.directives = new directives.Directives({ version });
|
|
53
|
+
this.setSchema(version, options);
|
|
54
|
+
// @ts-expect-error We can't really know that this matches Contents.
|
|
55
|
+
this.contents =
|
|
56
|
+
value === undefined ? null : this.createNode(value, _replacer, options);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a deep copy of this Document and its contents.
|
|
60
|
+
*
|
|
61
|
+
* Custom Node values that inherit from `Object` still refer to their original instances.
|
|
62
|
+
*/
|
|
63
|
+
clone() {
|
|
64
|
+
const copy = Object.create(Document.prototype, {
|
|
65
|
+
[identity.NODE_TYPE]: { value: identity.DOC }
|
|
66
|
+
});
|
|
67
|
+
copy.commentBefore = this.commentBefore;
|
|
68
|
+
copy.comment = this.comment;
|
|
69
|
+
copy.errors = this.errors.slice();
|
|
70
|
+
copy.warnings = this.warnings.slice();
|
|
71
|
+
copy.options = Object.assign({}, this.options);
|
|
72
|
+
if (this.directives)
|
|
73
|
+
copy.directives = this.directives.clone();
|
|
74
|
+
copy.schema = this.schema.clone();
|
|
75
|
+
// @ts-expect-error We can't really know that this matches Contents.
|
|
76
|
+
copy.contents = identity.isNode(this.contents)
|
|
77
|
+
? this.contents.clone(copy.schema)
|
|
78
|
+
: this.contents;
|
|
79
|
+
if (this.range)
|
|
80
|
+
copy.range = this.range.slice();
|
|
81
|
+
return copy;
|
|
82
|
+
}
|
|
83
|
+
/** Adds a value to the document. */
|
|
84
|
+
add(value) {
|
|
85
|
+
if (assertCollection(this.contents))
|
|
86
|
+
this.contents.add(value);
|
|
87
|
+
}
|
|
88
|
+
/** Adds a value to the document. */
|
|
89
|
+
addIn(path, value) {
|
|
90
|
+
if (assertCollection(this.contents))
|
|
91
|
+
this.contents.addIn(path, value);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Create a new `Alias` node, ensuring that the target `node` has the required anchor.
|
|
95
|
+
*
|
|
96
|
+
* If `node` already has an anchor, `name` is ignored.
|
|
97
|
+
* Otherwise, the `node.anchor` value will be set to `name`,
|
|
98
|
+
* or if an anchor with that name is already present in the document,
|
|
99
|
+
* `name` will be used as a prefix for a new unique anchor.
|
|
100
|
+
* If `name` is undefined, the generated anchor will use 'a' as a prefix.
|
|
101
|
+
*/
|
|
102
|
+
createAlias(node, name) {
|
|
103
|
+
if (!node.anchor) {
|
|
104
|
+
const prev = anchors.anchorNames(this);
|
|
105
|
+
node.anchor =
|
|
106
|
+
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
|
107
|
+
!name || prev.has(name) ? anchors.findNewAnchor(name || 'a', prev) : name;
|
|
108
|
+
}
|
|
109
|
+
return new Alias.Alias(node.anchor);
|
|
110
|
+
}
|
|
111
|
+
createNode(value, replacer, options) {
|
|
112
|
+
let _replacer = undefined;
|
|
113
|
+
if (typeof replacer === 'function') {
|
|
114
|
+
value = replacer.call({ '': value }, '', value);
|
|
115
|
+
_replacer = replacer;
|
|
116
|
+
}
|
|
117
|
+
else if (Array.isArray(replacer)) {
|
|
118
|
+
const keyToStr = (v) => typeof v === 'number' || v instanceof String || v instanceof Number;
|
|
119
|
+
const asStr = replacer.filter(keyToStr).map(String);
|
|
120
|
+
if (asStr.length > 0)
|
|
121
|
+
replacer = replacer.concat(asStr);
|
|
122
|
+
_replacer = replacer;
|
|
123
|
+
}
|
|
124
|
+
else if (options === undefined && replacer) {
|
|
125
|
+
options = replacer;
|
|
126
|
+
replacer = undefined;
|
|
127
|
+
}
|
|
128
|
+
const { aliasDuplicateObjects, anchorPrefix, flow, keepUndefined, onTagObj, tag } = options ?? {};
|
|
129
|
+
const { onAnchor, setAnchors, sourceObjects } = anchors.createNodeAnchors(this,
|
|
130
|
+
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
|
131
|
+
anchorPrefix || 'a');
|
|
132
|
+
const ctx = {
|
|
133
|
+
aliasDuplicateObjects: aliasDuplicateObjects ?? true,
|
|
134
|
+
keepUndefined: keepUndefined ?? false,
|
|
135
|
+
onAnchor,
|
|
136
|
+
onTagObj,
|
|
137
|
+
replacer: _replacer,
|
|
138
|
+
schema: this.schema,
|
|
139
|
+
sourceObjects
|
|
140
|
+
};
|
|
141
|
+
const node = createNode.createNode(value, tag, ctx);
|
|
142
|
+
if (flow && identity.isCollection(node))
|
|
143
|
+
node.flow = true;
|
|
144
|
+
setAnchors();
|
|
145
|
+
return node;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Convert a key and a value into a `Pair` using the current schema,
|
|
149
|
+
* recursively wrapping all values as `Scalar` or `Collection` nodes.
|
|
150
|
+
*/
|
|
151
|
+
createPair(key, value, options = {}) {
|
|
152
|
+
const k = this.createNode(key, null, options);
|
|
153
|
+
const v = this.createNode(value, null, options);
|
|
154
|
+
return new Pair.Pair(k, v);
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Removes a value from the document.
|
|
158
|
+
* @returns `true` if the item was found and removed.
|
|
159
|
+
*/
|
|
160
|
+
delete(key) {
|
|
161
|
+
return assertCollection(this.contents) ? this.contents.delete(key) : false;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Removes a value from the document.
|
|
165
|
+
* @returns `true` if the item was found and removed.
|
|
166
|
+
*/
|
|
167
|
+
deleteIn(path) {
|
|
168
|
+
if (Collection.isEmptyPath(path)) {
|
|
169
|
+
if (this.contents == null)
|
|
170
|
+
return false;
|
|
171
|
+
// @ts-expect-error Presumed impossible if Strict extends false
|
|
172
|
+
this.contents = null;
|
|
173
|
+
return true;
|
|
174
|
+
}
|
|
175
|
+
return assertCollection(this.contents)
|
|
176
|
+
? this.contents.deleteIn(path)
|
|
177
|
+
: false;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Returns item at `key`, or `undefined` if not found. By default unwraps
|
|
181
|
+
* scalar values from their surrounding node; to disable set `keepScalar` to
|
|
182
|
+
* `true` (collections are always returned intact).
|
|
183
|
+
*/
|
|
184
|
+
get(key, keepScalar) {
|
|
185
|
+
return identity.isCollection(this.contents)
|
|
186
|
+
? this.contents.get(key, keepScalar)
|
|
187
|
+
: undefined;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Returns item at `path`, or `undefined` if not found. By default unwraps
|
|
191
|
+
* scalar values from their surrounding node; to disable set `keepScalar` to
|
|
192
|
+
* `true` (collections are always returned intact).
|
|
193
|
+
*/
|
|
194
|
+
getIn(path, keepScalar) {
|
|
195
|
+
if (Collection.isEmptyPath(path))
|
|
196
|
+
return !keepScalar && identity.isScalar(this.contents)
|
|
197
|
+
? this.contents.value
|
|
198
|
+
: this.contents;
|
|
199
|
+
return identity.isCollection(this.contents)
|
|
200
|
+
? this.contents.getIn(path, keepScalar)
|
|
201
|
+
: undefined;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Checks if the document includes a value with the key `key`.
|
|
205
|
+
*/
|
|
206
|
+
has(key) {
|
|
207
|
+
return identity.isCollection(this.contents) ? this.contents.has(key) : false;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Checks if the document includes a value at `path`.
|
|
211
|
+
*/
|
|
212
|
+
hasIn(path) {
|
|
213
|
+
if (Collection.isEmptyPath(path))
|
|
214
|
+
return this.contents !== undefined;
|
|
215
|
+
return identity.isCollection(this.contents) ? this.contents.hasIn(path) : false;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Sets a value in this document. For `!!set`, `value` needs to be a
|
|
219
|
+
* boolean to add/remove the item from the set.
|
|
220
|
+
*/
|
|
221
|
+
set(key, value) {
|
|
222
|
+
if (this.contents == null) {
|
|
223
|
+
// @ts-expect-error We can't really know that this matches Contents.
|
|
224
|
+
this.contents = Collection.collectionFromPath(this.schema, [key], value);
|
|
225
|
+
}
|
|
226
|
+
else if (assertCollection(this.contents)) {
|
|
227
|
+
this.contents.set(key, value);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Sets a value in this document. For `!!set`, `value` needs to be a
|
|
232
|
+
* boolean to add/remove the item from the set.
|
|
233
|
+
*/
|
|
234
|
+
setIn(path, value) {
|
|
235
|
+
if (Collection.isEmptyPath(path)) {
|
|
236
|
+
// @ts-expect-error We can't really know that this matches Contents.
|
|
237
|
+
this.contents = value;
|
|
238
|
+
}
|
|
239
|
+
else if (this.contents == null) {
|
|
240
|
+
// @ts-expect-error We can't really know that this matches Contents.
|
|
241
|
+
this.contents = Collection.collectionFromPath(this.schema, Array.from(path), value);
|
|
242
|
+
}
|
|
243
|
+
else if (assertCollection(this.contents)) {
|
|
244
|
+
this.contents.setIn(path, value);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Change the YAML version and schema used by the document.
|
|
249
|
+
* A `null` version disables support for directives, explicit tags, anchors, and aliases.
|
|
250
|
+
* It also requires the `schema` option to be given as a `Schema` instance value.
|
|
251
|
+
*
|
|
252
|
+
* Overrides all previously set schema options.
|
|
253
|
+
*/
|
|
254
|
+
setSchema(version, options = {}) {
|
|
255
|
+
if (typeof version === 'number')
|
|
256
|
+
version = String(version);
|
|
257
|
+
let opt;
|
|
258
|
+
switch (version) {
|
|
259
|
+
case '1.1':
|
|
260
|
+
if (this.directives)
|
|
261
|
+
this.directives.yaml.version = '1.1';
|
|
262
|
+
else
|
|
263
|
+
this.directives = new directives.Directives({ version: '1.1' });
|
|
264
|
+
opt = { resolveKnownTags: false, schema: 'yaml-1.1' };
|
|
265
|
+
break;
|
|
266
|
+
case '1.2':
|
|
267
|
+
case 'next':
|
|
268
|
+
if (this.directives)
|
|
269
|
+
this.directives.yaml.version = version;
|
|
270
|
+
else
|
|
271
|
+
this.directives = new directives.Directives({ version });
|
|
272
|
+
opt = { resolveKnownTags: true, schema: 'core' };
|
|
273
|
+
break;
|
|
274
|
+
case null:
|
|
275
|
+
if (this.directives)
|
|
276
|
+
delete this.directives;
|
|
277
|
+
opt = null;
|
|
278
|
+
break;
|
|
279
|
+
default: {
|
|
280
|
+
const sv = JSON.stringify(version);
|
|
281
|
+
throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${sv}`);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
// Not using `instanceof Schema` to allow for duck typing
|
|
285
|
+
if (options.schema instanceof Object)
|
|
286
|
+
this.schema = options.schema;
|
|
287
|
+
else if (opt)
|
|
288
|
+
this.schema = new Schema.Schema(Object.assign(opt, options));
|
|
289
|
+
else
|
|
290
|
+
throw new Error(`With a null YAML version, the { schema: Schema } option is required`);
|
|
291
|
+
}
|
|
292
|
+
// json & jsonArg are only used from toJSON()
|
|
293
|
+
toJS({ json, jsonArg, mapAsMap, maxAliasCount, onAnchor, reviver } = {}) {
|
|
294
|
+
const ctx = {
|
|
295
|
+
anchors: new Map(),
|
|
296
|
+
doc: this,
|
|
297
|
+
keep: !json,
|
|
298
|
+
mapAsMap: mapAsMap === true,
|
|
299
|
+
mapKeyWarned: false,
|
|
300
|
+
maxAliasCount: typeof maxAliasCount === 'number' ? maxAliasCount : 100
|
|
301
|
+
};
|
|
302
|
+
const res = toJS.toJS(this.contents, jsonArg ?? '', ctx);
|
|
303
|
+
if (typeof onAnchor === 'function')
|
|
304
|
+
for (const { count, res } of ctx.anchors.values())
|
|
305
|
+
onAnchor(res, count);
|
|
306
|
+
return typeof reviver === 'function'
|
|
307
|
+
? applyReviver.applyReviver(reviver, { '': res }, '', res)
|
|
308
|
+
: res;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* A JSON representation of the document `contents`.
|
|
312
|
+
*
|
|
313
|
+
* @param jsonArg Used by `JSON.stringify` to indicate the array index or
|
|
314
|
+
* property name.
|
|
315
|
+
*/
|
|
316
|
+
toJSON(jsonArg, onAnchor) {
|
|
317
|
+
return this.toJS({ json: true, jsonArg, mapAsMap: false, onAnchor });
|
|
318
|
+
}
|
|
319
|
+
/** A YAML representation of the document. */
|
|
320
|
+
toString(options = {}) {
|
|
321
|
+
if (this.errors.length > 0)
|
|
322
|
+
throw new Error('Document with errors cannot be stringified');
|
|
323
|
+
if ('indent' in options &&
|
|
324
|
+
(!Number.isInteger(options.indent) || Number(options.indent) <= 0)) {
|
|
325
|
+
const s = JSON.stringify(options.indent);
|
|
326
|
+
throw new Error(`"indent" option must be a positive integer, not ${s}`);
|
|
327
|
+
}
|
|
328
|
+
return stringifyDocument.stringifyDocument(this, options);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
function assertCollection(contents) {
|
|
332
|
+
if (identity.isCollection(contents))
|
|
333
|
+
return true;
|
|
334
|
+
throw new Error('Expected a YAML collection as document contents');
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
exports.Document = Document;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var identity = require('../nodes/identity.js');
|
|
4
|
+
var visit = require('../visit.js');
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Verify that the input string is a valid anchor.
|
|
8
|
+
*
|
|
9
|
+
* Will throw on errors.
|
|
10
|
+
*/
|
|
11
|
+
function anchorIsValid(anchor) {
|
|
12
|
+
if (/[\x00-\x19\s,[\]{}]/.test(anchor)) {
|
|
13
|
+
const sa = JSON.stringify(anchor);
|
|
14
|
+
const msg = `Anchor must not contain whitespace or control characters: ${sa}`;
|
|
15
|
+
throw new Error(msg);
|
|
16
|
+
}
|
|
17
|
+
return true;
|
|
18
|
+
}
|
|
19
|
+
function anchorNames(root) {
|
|
20
|
+
const anchors = new Set();
|
|
21
|
+
visit.visit(root, {
|
|
22
|
+
Value(_key, node) {
|
|
23
|
+
if (node.anchor)
|
|
24
|
+
anchors.add(node.anchor);
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
return anchors;
|
|
28
|
+
}
|
|
29
|
+
/** Find a new anchor name with the given `prefix` and a one-indexed suffix. */
|
|
30
|
+
function findNewAnchor(prefix, exclude) {
|
|
31
|
+
for (let i = 1; true; ++i) {
|
|
32
|
+
const name = `${prefix}${i}`;
|
|
33
|
+
if (!exclude.has(name))
|
|
34
|
+
return name;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function createNodeAnchors(doc, prefix) {
|
|
38
|
+
const aliasObjects = [];
|
|
39
|
+
const sourceObjects = new Map();
|
|
40
|
+
let prevAnchors = null;
|
|
41
|
+
return {
|
|
42
|
+
onAnchor: (source) => {
|
|
43
|
+
aliasObjects.push(source);
|
|
44
|
+
prevAnchors ?? (prevAnchors = anchorNames(doc));
|
|
45
|
+
const anchor = findNewAnchor(prefix, prevAnchors);
|
|
46
|
+
prevAnchors.add(anchor);
|
|
47
|
+
return anchor;
|
|
48
|
+
},
|
|
49
|
+
/**
|
|
50
|
+
* With circular references, the source node is only resolved after all
|
|
51
|
+
* of its child nodes are. This is why anchors are set only after all of
|
|
52
|
+
* the nodes have been created.
|
|
53
|
+
*/
|
|
54
|
+
setAnchors: () => {
|
|
55
|
+
for (const source of aliasObjects) {
|
|
56
|
+
const ref = sourceObjects.get(source);
|
|
57
|
+
if (typeof ref === 'object' &&
|
|
58
|
+
ref.anchor &&
|
|
59
|
+
(identity.isScalar(ref.node) || identity.isCollection(ref.node))) {
|
|
60
|
+
ref.node.anchor = ref.anchor;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
const error = new Error('Failed to resolve repeated object (this should not happen)');
|
|
64
|
+
error.source = source;
|
|
65
|
+
throw error;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
sourceObjects
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
exports.anchorIsValid = anchorIsValid;
|
|
74
|
+
exports.anchorNames = anchorNames;
|
|
75
|
+
exports.createNodeAnchors = createNodeAnchors;
|
|
76
|
+
exports.findNewAnchor = findNewAnchor;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec,
|
|
5
|
+
* in section 24.5.1.1 "Runtime Semantics: InternalizeJSONProperty" of the
|
|
6
|
+
* 2021 edition: https://tc39.es/ecma262/#sec-json.parse
|
|
7
|
+
*
|
|
8
|
+
* Includes extensions for handling Map and Set objects.
|
|
9
|
+
*/
|
|
10
|
+
function applyReviver(reviver, obj, key, val) {
|
|
11
|
+
if (val && typeof val === 'object') {
|
|
12
|
+
if (Array.isArray(val)) {
|
|
13
|
+
for (let i = 0, len = val.length; i < len; ++i) {
|
|
14
|
+
const v0 = val[i];
|
|
15
|
+
const v1 = applyReviver(reviver, val, String(i), v0);
|
|
16
|
+
// eslint-disable-next-line @typescript-eslint/no-array-delete
|
|
17
|
+
if (v1 === undefined)
|
|
18
|
+
delete val[i];
|
|
19
|
+
else if (v1 !== v0)
|
|
20
|
+
val[i] = v1;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
else if (val instanceof Map) {
|
|
24
|
+
for (const k of Array.from(val.keys())) {
|
|
25
|
+
const v0 = val.get(k);
|
|
26
|
+
const v1 = applyReviver(reviver, val, k, v0);
|
|
27
|
+
if (v1 === undefined)
|
|
28
|
+
val.delete(k);
|
|
29
|
+
else if (v1 !== v0)
|
|
30
|
+
val.set(k, v1);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
else if (val instanceof Set) {
|
|
34
|
+
for (const v0 of Array.from(val)) {
|
|
35
|
+
const v1 = applyReviver(reviver, val, v0, v0);
|
|
36
|
+
if (v1 === undefined)
|
|
37
|
+
val.delete(v0);
|
|
38
|
+
else if (v1 !== v0) {
|
|
39
|
+
val.delete(v0);
|
|
40
|
+
val.add(v1);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
for (const [k, v0] of Object.entries(val)) {
|
|
46
|
+
const v1 = applyReviver(reviver, val, k, v0);
|
|
47
|
+
if (v1 === undefined)
|
|
48
|
+
delete val[k];
|
|
49
|
+
else if (v1 !== v0)
|
|
50
|
+
val[k] = v1;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return reviver.call(obj, key, val);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
exports.applyReviver = applyReviver;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var Alias = require('../nodes/Alias.js');
|
|
4
|
+
var identity = require('../nodes/identity.js');
|
|
5
|
+
var Scalar = require('../nodes/Scalar.js');
|
|
6
|
+
|
|
7
|
+
const defaultTagPrefix = 'tag:yaml.org,2002:';
|
|
8
|
+
function findTagObject(value, tagName, tags) {
|
|
9
|
+
if (tagName) {
|
|
10
|
+
const match = tags.filter(t => t.tag === tagName);
|
|
11
|
+
const tagObj = match.find(t => !t.format) ?? match[0];
|
|
12
|
+
if (!tagObj)
|
|
13
|
+
throw new Error(`Tag ${tagName} not found`);
|
|
14
|
+
return tagObj;
|
|
15
|
+
}
|
|
16
|
+
return tags.find(t => t.identify?.(value) && !t.format);
|
|
17
|
+
}
|
|
18
|
+
function createNode(value, tagName, ctx) {
|
|
19
|
+
if (identity.isDocument(value))
|
|
20
|
+
value = value.contents;
|
|
21
|
+
if (identity.isNode(value))
|
|
22
|
+
return value;
|
|
23
|
+
if (identity.isPair(value)) {
|
|
24
|
+
const map = ctx.schema[identity.MAP].createNode?.(ctx.schema, null, ctx);
|
|
25
|
+
map.items.push(value);
|
|
26
|
+
return map;
|
|
27
|
+
}
|
|
28
|
+
if (value instanceof String ||
|
|
29
|
+
value instanceof Number ||
|
|
30
|
+
value instanceof Boolean ||
|
|
31
|
+
(typeof BigInt !== 'undefined' && value instanceof BigInt) // not supported everywhere
|
|
32
|
+
) {
|
|
33
|
+
// https://tc39.es/ecma262/#sec-serializejsonproperty
|
|
34
|
+
value = value.valueOf();
|
|
35
|
+
}
|
|
36
|
+
const { aliasDuplicateObjects, onAnchor, onTagObj, schema, sourceObjects } = ctx;
|
|
37
|
+
// Detect duplicate references to the same object & use Alias nodes for all
|
|
38
|
+
// after first. The `ref` wrapper allows for circular references to resolve.
|
|
39
|
+
let ref = undefined;
|
|
40
|
+
if (aliasDuplicateObjects && value && typeof value === 'object') {
|
|
41
|
+
ref = sourceObjects.get(value);
|
|
42
|
+
if (ref) {
|
|
43
|
+
ref.anchor ?? (ref.anchor = onAnchor(value));
|
|
44
|
+
return new Alias.Alias(ref.anchor);
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
ref = { anchor: null, node: null };
|
|
48
|
+
sourceObjects.set(value, ref);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
if (tagName?.startsWith('!!'))
|
|
52
|
+
tagName = defaultTagPrefix + tagName.slice(2);
|
|
53
|
+
let tagObj = findTagObject(value, tagName, schema.tags);
|
|
54
|
+
if (!tagObj) {
|
|
55
|
+
if (value && typeof value.toJSON === 'function') {
|
|
56
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
|
57
|
+
value = value.toJSON();
|
|
58
|
+
}
|
|
59
|
+
if (!value || typeof value !== 'object') {
|
|
60
|
+
const node = new Scalar.Scalar(value);
|
|
61
|
+
if (ref)
|
|
62
|
+
ref.node = node;
|
|
63
|
+
return node;
|
|
64
|
+
}
|
|
65
|
+
tagObj =
|
|
66
|
+
value instanceof Map
|
|
67
|
+
? schema[identity.MAP]
|
|
68
|
+
: Symbol.iterator in Object(value)
|
|
69
|
+
? schema[identity.SEQ]
|
|
70
|
+
: schema[identity.MAP];
|
|
71
|
+
}
|
|
72
|
+
if (onTagObj) {
|
|
73
|
+
onTagObj(tagObj);
|
|
74
|
+
delete ctx.onTagObj;
|
|
75
|
+
}
|
|
76
|
+
const node = tagObj?.createNode
|
|
77
|
+
? tagObj.createNode(ctx.schema, value, ctx)
|
|
78
|
+
: typeof tagObj?.nodeClass?.from === 'function'
|
|
79
|
+
? tagObj.nodeClass.from(ctx.schema, value, ctx)
|
|
80
|
+
: new Scalar.Scalar(value);
|
|
81
|
+
if (tagName)
|
|
82
|
+
node.tag = tagName;
|
|
83
|
+
else if (!tagObj.default)
|
|
84
|
+
node.tag = tagObj.tag;
|
|
85
|
+
if (ref)
|
|
86
|
+
ref.node = node;
|
|
87
|
+
return node;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
exports.createNode = createNode;
|