vite-hub 0.5.0 → 0.6.0
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/README.md +9 -8
- package/dist/_internal/runtime/browser-errors.d.ts +0 -2
- package/dist/_internal/runtime/browser-errors.js +3 -4
- package/dist/_internal/runtime/redirects.d.ts +1 -2
- package/dist/_internal/runtime/redirects.js +2 -3
- package/dist/_internal/runtime/request-policy.d.ts +1 -2
- package/dist/_internal/runtime/request-policy.js +2 -3
- package/dist/_internal/runtime/security.d.ts +1 -2
- package/dist/_internal/runtime/security.js +1 -2
- package/dist/{access-BC9HtX_M.js → access-CUFHPi8T.js} +13 -140
- package/dist/{access-policy-DhsEACna.d.ts → access-DkBck8Vu.d.ts} +17 -21
- package/dist/{access-policy-CVZg9LPR.js → access-policy-BM48XstY.js} +5 -6
- package/dist/{account-Cjj-tYzo.d.ts → account-DNr8fHcQ.d.ts} +5 -7
- package/dist/{console/runtime/server → agent/console}/agents.get.d.ts +2 -3
- package/dist/{console/runtime/server → agent/console}/agents.get.js +3 -4
- package/dist/{console/runtime/server → agent/console}/channel-replay.d.ts +3 -5
- package/dist/{console/runtime/server → agent/console}/channel-replay.js +6 -7
- package/dist/{console/runtime/server → agent/console}/invocation-capabilities.get.d.ts +1 -3
- package/dist/{console/runtime/server → agent/console}/invocation-capabilities.get.js +4 -5
- package/dist/agent/console/invocation-workspace.get.d.ts +6 -0
- package/dist/{console/runtime/server → agent/console}/invocation-workspace.get.js +6 -7
- package/dist/{console/runtime/server → agent/console}/invocation.get.d.ts +4 -6
- package/dist/{console/runtime/server → agent/console}/invocation.get.js +8 -9
- package/dist/{console/runtime/server → agent/console}/invocations.get.d.ts +1 -2
- package/dist/{console/runtime/server → agent/console}/invocations.get.js +5 -6
- package/dist/agent/console/invocations.usage.d.ts +6 -0
- package/dist/agent/console/invocations.usage.js +51 -0
- package/dist/agent/console/operations.d.ts +6 -0
- package/dist/agent/console/operations.js +247 -0
- package/dist/{console/runtime/server → agent/console}/status.get.d.ts +2 -4
- package/dist/{console/runtime/server → agent/console}/status.get.js +6 -7
- package/dist/{server-W0c79AYZ.js → agent-console-CHsLxKk_.js} +4 -4
- package/dist/agent-console-FmaYpVv-.d.ts +14 -0
- package/dist/{agent-invocations.post-C3Onl2yH.js → agent-invocations.post-CF5anHY6.js} +14 -17
- package/dist/agents-DBm_PJie.js +1 -0
- package/dist/{agents-B76RICcy.js → agents-DXLHsE7x.js} +5 -6
- package/dist/{agents-C94A4N9u.d.ts → agents-Gyw4VKPt.d.ts} +0 -2
- package/dist/auth/console/auth.d.ts +25 -0
- package/dist/{console/runtime/server → auth/console}/auth.js +11 -13
- package/dist/auth/console/operations.d.ts +3 -0
- package/dist/auth/console/operations.js +135 -0
- package/dist/auth/server.js +1 -2
- package/dist/{auth-operations-GcQk0O0X.js → auth-operations-BKqoX8Ua.js} +4 -5
- package/dist/{auth-types-D3ugQ8xM.d.ts → auth-types-Cotn7406.d.ts} +4 -21
- package/dist/bin.js +8 -11
- package/dist/blob/console/operations.d.ts +3 -0
- package/dist/blob/console/operations.js +44 -0
- package/dist/blob/nuxt-image.js +1 -2
- package/dist/{blob-BcgsZtqM.js → blob-iw8pWQ6o.js} +5 -6
- package/dist/{blob-iVewd7KQ.d.ts → blob-uNin0_TV.d.ts} +1 -3
- package/dist/{browser-error-limits-CToqAD-O.js → browser-error-limits-B0yS95zt.js} +2 -4
- package/dist/cache/operations.d.ts +2 -4
- package/dist/cache/operations.js +3 -4
- package/dist/cache.d.ts +1 -3
- package/dist/cache.js +2 -3
- package/dist/{cli-config-FPHk1nbC.js → cli-config-BX8H4ZCo.js} +2 -3
- package/dist/cli-config-DgpmE_7z.js +1 -0
- package/dist/cms.js +1 -2
- package/dist/console/auth-types.d.ts +2 -2
- package/dist/console/auth.d.ts +2 -4
- package/dist/console/auth.js +2 -3
- package/dist/console/runtime/auth-operations.d.ts +4 -6
- package/dist/console/runtime/auth-operations.js +1 -2
- package/dist/console/runtime/client/account-views.d.ts +1 -3
- package/dist/console/runtime/client/account-views.js +1 -2
- package/dist/console/runtime/client/account.d.ts +1 -1
- package/dist/console/runtime/client/account.js +29 -45
- package/dist/console/runtime/client/appearance.d.ts +1 -2
- package/dist/console/runtime/client/appearance.js +1 -2
- package/dist/console/runtime/client/auth-management.ts +6 -6
- package/dist/console/runtime/client/blob-media.d.ts +2 -4
- package/dist/console/runtime/client/blob-media.js +5 -6
- package/dist/console/runtime/client/comment-thread.d.ts +1 -3
- package/dist/console/runtime/client/comment-thread.js +3 -4
- package/dist/console/runtime/client/content-heads.d.ts +1 -2
- package/dist/console/runtime/client/content-heads.js +2 -3
- package/dist/console/runtime/client/documents.d.ts +2 -2
- package/dist/console/runtime/client/documents.js +1 -2
- package/dist/console/runtime/client/editor.d.ts +3 -5
- package/dist/console/runtime/client/editor.js +1 -2
- package/dist/console/runtime/client/env-groups.d.ts +1 -3
- package/dist/console/runtime/client/env-groups.js +1 -2
- package/dist/console/runtime/client/env-status.d.ts +1 -3
- package/dist/console/runtime/client/env-status.js +1 -2
- package/dist/console/runtime/client/format.d.ts +1 -3
- package/dist/console/runtime/client/format.js +1 -2
- package/dist/console/runtime/client/invocation-deletion.d.ts +1 -2
- package/dist/console/runtime/client/invocation-deletion.js +1 -2
- package/dist/console/runtime/client/invocation.d.ts +1 -2
- package/dist/console/runtime/client/invocation.js +4 -5
- package/dist/console/runtime/client/live.d.ts +2 -4
- package/dist/console/runtime/client/live.js +1 -2
- package/dist/console/runtime/client/mcp-client.d.ts +7 -5
- package/dist/console/runtime/client/mcp-client.js +10 -5
- package/dist/console/runtime/client/media-library.d.ts +1 -1
- package/dist/console/runtime/client/media-library.js +1 -2
- package/dist/console/runtime/client/media-uploads.d.ts +2 -4
- package/dist/console/runtime/client/media-uploads.js +2 -3
- package/dist/console/runtime/client/media.d.ts +1 -1
- package/dist/console/runtime/client/media.js +1 -2
- package/dist/console/runtime/client/operation-view.d.ts +2 -4
- package/dist/console/runtime/client/operation-view.js +4 -5
- package/dist/console/runtime/client/presence.d.ts +2 -4
- package/dist/console/runtime/client/presence.js +1 -2
- package/dist/console/runtime/client/preview.d.ts +1 -3
- package/dist/console/runtime/client/preview.js +1 -2
- package/dist/console/runtime/client/problem.d.ts +2 -4
- package/dist/console/runtime/client/problem.js +3 -4
- package/dist/console/runtime/client/project-link.d.ts +1 -1
- package/dist/console/runtime/client/project-link.js +1 -2
- package/dist/console/runtime/client/project-session.d.ts +19 -10
- package/dist/console/runtime/client/project-session.js +1 -723
- package/dist/console/runtime/client/project.d.ts +1 -3
- package/dist/console/runtime/client/project.js +1 -2
- package/dist/console/runtime/client/projects.d.ts +1 -1
- package/dist/console/runtime/client/projects.js +1 -2
- package/dist/console/runtime/client/publish.d.ts +2 -4
- package/dist/console/runtime/client/publish.js +1 -2
- package/dist/console/runtime/client/rate-limit.d.ts +1 -3
- package/dist/console/runtime/client/rate-limit.js +3 -4
- package/dist/console/runtime/client/read-only.d.ts +2 -4
- package/dist/console/runtime/client/read-only.js +2 -3
- package/dist/console/runtime/client/request.d.ts +2 -2
- package/dist/console/runtime/client/request.js +1 -2
- package/dist/console/runtime/client/route-query.d.ts +4 -5
- package/dist/console/runtime/client/route-query.js +1 -2
- package/dist/console/runtime/client/schedule-run.d.ts +1 -3
- package/dist/console/runtime/client/schedule-run.js +3 -4
- package/dist/console/runtime/client/schema-form.d.ts +1 -1
- package/dist/console/runtime/client/schema-form.js +1 -2
- package/dist/console/runtime/client/sections.d.ts +1 -1
- package/dist/console/runtime/client/sections.js +1 -2
- package/dist/console/runtime/client/site-access.d.ts +83 -16
- package/dist/console/runtime/client/site-access.js +159 -32
- package/dist/console/runtime/client/site-link.d.ts +2 -0
- package/dist/console/runtime/client/site-link.js +1 -0
- package/dist/console/runtime/client/stored.d.ts +1 -3
- package/dist/console/runtime/client/stored.js +1 -2
- package/dist/console/runtime/client/toast.d.ts +1 -3
- package/dist/console/runtime/client/toast.js +1 -2
- package/dist/console/runtime/client/workflow.d.ts +1 -3
- package/dist/console/runtime/client/workflow.js +3 -4
- package/dist/console/runtime/components/console-account-home.vue +9 -7
- package/dist/console/runtime/components/console-account-link.vue +8 -5
- package/dist/console/runtime/components/console-account-setup.vue +10 -7
- package/dist/console/runtime/components/console-account-shell.vue +7 -2
- package/dist/console/runtime/components/console-account-unlink.vue +2 -3
- package/dist/console/runtime/components/console-app-settings.vue +8 -2
- package/dist/console/runtime/components/console-auth-detail.vue +1 -1
- package/dist/console/runtime/components/console-auth-event-list.vue +1 -0
- package/dist/console/runtime/components/console-document-editor.vue +3 -4
- package/dist/console/runtime/components/console-hosted-comments-embed.vue +106 -0
- package/dist/console/runtime/components/console-mcp-callback.vue +6 -1
- package/dist/console/runtime/components/console-mcp-items.vue +3 -16
- package/dist/console/runtime/components/console-site.vue +10 -8
- package/dist/console/runtime/components/console-usage.vue +2 -2
- package/dist/console/runtime/console-route.d.ts +1 -3
- package/dist/console/runtime/console-route.js +1 -2
- package/dist/console/runtime/definitions.d.ts +1 -1
- package/dist/console/runtime/definitions.js +1 -2
- package/dist/console/runtime/diagnostics.ts +14 -49
- package/dist/console/runtime/mcp-client.d.ts +2 -2
- package/dist/console/runtime/mcp-client.js +1 -2
- package/dist/console/runtime/operation-loader.d.ts +1 -0
- package/dist/console/runtime/operation-loader.js +10 -0
- package/dist/console/runtime/page-tool/account.js +26 -0
- package/dist/console/runtime/page-tool/page-tool.js +2 -2
- package/dist/console/runtime/rpc.d.ts +1 -1
- package/dist/console/runtime/rpc.js +1 -2
- package/dist/console/runtime/sections.d.ts +2 -2
- package/dist/console/runtime/sections.js +1 -2
- package/dist/console/runtime/server/access-policy.d.ts +1 -1
- package/dist/console/runtime/server/access-policy.js +1 -2
- package/dist/console/runtime/server/agent-console.d.ts +2 -0
- package/dist/console/runtime/server/agent-console.js +1 -0
- package/dist/console/runtime/server/blob.d.ts +1 -1
- package/dist/console/runtime/server/blob.js +1 -2
- package/dist/console/runtime/server/database.d.ts +1 -1
- package/dist/console/runtime/server/database.js +1 -2
- package/dist/console/runtime/server/definitions.d.ts +1 -1
- package/dist/console/runtime/server/definitions.get.d.ts +4 -6
- package/dist/console/runtime/server/definitions.get.js +5 -6
- package/dist/console/runtime/server/definitions.js +1 -2
- package/dist/console/runtime/server/development.d.ts +1 -1
- package/dist/console/runtime/server/development.js +1 -2
- package/dist/console/runtime/server/documents.d.ts +2 -2
- package/dist/console/runtime/server/documents.js +3 -3
- package/dist/console/runtime/server/entry-site-access.d.ts +3 -0
- package/dist/console/runtime/server/entry-site-access.js +4 -0
- package/dist/console/runtime/server/entry.d.ts +3 -0
- package/dist/console/runtime/server/entry.js +4 -0
- package/dist/console/runtime/server/env.d.ts +1 -3
- package/dist/console/runtime/server/env.js +1 -2
- package/dist/console/runtime/server/operation-contributions.d.ts +1 -1
- package/dist/console/runtime/server/operation-contributions.js +1 -2
- package/dist/console/runtime/server/pill.d.ts +45 -0
- package/dist/console/runtime/server/pill.js +62 -0
- package/dist/console/runtime/server/rpc.d.ts +5 -10
- package/dist/console/runtime/server/rpc.js +19 -27
- package/dist/console/runtime/server/runtime.d.ts +1 -1
- package/dist/console/runtime/server/runtime.js +1 -2
- package/dist/console/runtime/server/sections.d.ts +5 -5
- package/dist/console/runtime/server/sections.get.d.ts +1 -1
- package/dist/console/runtime/server/sections.get.js +8 -9
- package/dist/console/runtime/server/sections.js +6 -6
- package/dist/console/runtime/server/setup.d.ts +5 -5
- package/dist/console/runtime/server/setup.js +5 -5
- package/dist/console/runtime/server/site-access-operation.d.ts +7 -0
- package/dist/console/runtime/server/site-access-operation.js +36 -0
- package/dist/console/runtime/server/site-actions.d.ts +73 -0
- package/dist/console/runtime/server/site-actions.js +105 -0
- package/dist/console/runtime/server/site-entry.d.ts +16 -9
- package/dist/console/runtime/server/site-entry.js +62 -46
- package/dist/console/runtime/server/site-visitor.d.ts +17 -0
- package/dist/console/runtime/server/site-visitor.js +1 -0
- package/dist/console/runtime/server/site.d.ts +27 -0
- package/dist/console/runtime/server/site.js +1 -0
- package/dist/console/runtime/skills.d.ts +1 -3
- package/dist/console/runtime/skills.js +1 -2
- package/dist/console/server.d.ts +9 -25
- package/dist/console/server.js +8 -8
- package/dist/console/ui.d.ts +0 -10
- package/dist/console/ui.js +14 -27
- package/dist/console-lazy-views-VEjcbL4Q.js +1 -0
- package/dist/{console-route-CM2G5hiC.js → console-route-DbdnLkkF.js} +2 -3
- package/dist/console-signature--55DIKf2.js +237 -0
- package/dist/console.d.ts +1 -3
- package/dist/console.js +1 -2
- package/dist/content/console/operations.d.ts +3 -0
- package/dist/content/console/operations.js +62 -0
- package/dist/{console/runtime/server → database/console}/database.get.d.ts +2 -3
- package/dist/{console/runtime/server → database/console}/database.get.js +4 -5
- package/dist/database/console/operations.d.ts +3 -0
- package/dist/database/console/operations.js +49 -0
- package/dist/{database-UMJgnU2z.js → database-CrgBUdIx.js} +3 -4
- package/dist/{database-DC67Ipm-.d.ts → database-yFezh5U1.d.ts} +1 -3
- package/dist/{definition-catalog-BUcclwSH.js → definition-catalog-1xPPtzOx.js} +3 -4
- package/dist/definition-catalog-M5ua7JRS.js +1 -0
- package/dist/{definitions-BW6SvmMM.js → definitions-BFYqXchw.js} +1 -2
- package/dist/{definitions-DB4LbZ7T.d.ts → definitions-ChvMnA1L.d.ts} +0 -2
- package/dist/{definitions-DTytrw42.js → definitions-DGo2rNQ9.js} +5 -6
- package/dist/{definitions-Dbgxfz3I.d.ts → definitions-DRkgHKmk.d.ts} +1 -3
- package/dist/{deployment-BUshgN5Q.js → deployment-CURATxjG.js} +2 -3
- package/dist/deployment-l7RuKdEp.js +1 -0
- package/dist/{dev-peer-CHjyHYG6.js → dev-peer-CRYp01PE.js} +2 -222
- package/dist/dev-peer-CX5C9243.js +1 -0
- package/dist/{development-zLxOp-AO.js → development-DD567hhJ.js} +2 -3
- package/dist/{development-RnopiRwK.d.ts → development-I40mfD7B.d.ts} +1 -3
- package/dist/{diagnostics-DtR0TAmq.js → diagnostics-DLHqjKGe.js} +3 -9
- package/dist/diagnostics-DgGKvWzF.d.ts +7 -0
- package/dist/docs/nuxt.js +1 -2
- package/dist/doctor.d.ts +0 -6
- package/dist/doctor.js +11492 -12152
- package/dist/{documents-BDR0AkYR.d.ts → documents-A-7Ho0g0.d.ts} +12 -16
- package/dist/{documents-B4R4JSfH.js → documents-BduuZjm3.js} +6 -6
- package/dist/{documents-BASIRZ91.d.ts → documents-CApMRd4o.d.ts} +4 -7
- package/dist/{documents-BewAPY61.js → documents-D6ueeoUR.js} +17 -21
- package/dist/durability/operations.d.ts +2 -4
- package/dist/durability/operations.js +3 -4
- package/dist/{entries-DbyNPLC9.js → entries-UFs9n1MB.js} +2 -3
- package/dist/{console/runtime/server → env/console}/env.get.d.ts +2 -4
- package/dist/env/console/env.get.js +15 -0
- package/dist/env/console/operations.d.ts +3 -0
- package/dist/env/console/operations.js +12 -0
- package/dist/env/vite.d.ts +1 -0
- package/dist/env/vite.js +2 -0
- package/dist/{env-Dg1I_DWr.js → env-D-wtSupz.js} +2 -3
- package/dist/{error-diagnostics-B1yAIaSn.js → error-diagnostics-CBtvqI30.js} +2 -7
- package/dist/{error-diagnostics-C0KyI408.js → error-diagnostics-kKXseq8d.js} +5 -2
- package/dist/error-diagnostics.ts +1 -7
- package/dist/{features-CC5OcZqJ.js → features-BXRKlmtN.js} +5 -6
- package/dist/features-CD5i5I8V.js +1 -0
- package/dist/{format-BOYlanIZ.js → format-Df-bS4Ly.js} +1 -2
- package/dist/{github-login-Bi3bfjRX.js → github-login-W-vaahWP.js} +1 -2
- package/dist/{host-CkL0jjBq.js → host-DeNPYIeV.js} +1 -2
- package/dist/{http-error-Bs6e8_-8.js → http-error-BorAxJYM.js} +1 -2
- package/dist/index.d.ts +1 -7
- package/dist/index.js +5 -7
- package/dist/{inspect-DbZuP_7b.js → inspect-CWwAuL-B.js} +2 -3
- package/dist/internal/agent-invocations-libsql.js +1 -2
- package/dist/internal/disabled-redis-driver.d.ts +1 -3
- package/dist/internal/disabled-redis-driver.js +2 -3
- package/dist/internal/disabled-upstash-driver.d.ts +1 -3
- package/dist/internal/disabled-upstash-driver.js +2 -3
- package/dist/internal/test-loader.d.ts +1 -3
- package/dist/internal/test-loader.js +2 -3
- package/dist/internal/test-server.js +2 -3
- package/dist/{internal-BreyUsQ6.js → internal-0C_CC601.js} +1 -2
- package/dist/{internal-Cc9N0shU.d.ts → internal-BRNf11h3.d.ts} +14 -8
- package/dist/{invariant-DolT9EEx.js → invariant-Dj2R1eMr.js} +1 -2
- package/dist/{invocation-page-undo-DqYcPlkQ.js → invocation-page-undo-DHbXczWY.js} +8 -7
- package/dist/invocations-B60XWNES.js +45 -0
- package/dist/{limits-BUlwWYQE.js → limits-BLo31qDR.js} +1 -2
- package/dist/logs/client.d.ts +1 -3
- package/dist/logs/client.js +1 -2
- package/dist/{console/runtime/server → logs/console}/logs.get.d.ts +3 -5
- package/dist/{console/runtime/server → logs/console}/logs.get.js +7 -8
- package/dist/logs/console/operations.d.ts +3 -0
- package/dist/logs/console/operations.js +23 -0
- package/dist/logs/host.d.ts +2 -4
- package/dist/logs/host.js +1 -2
- package/dist/logs/memory.d.ts +1 -1
- package/dist/logs/memory.js +1 -2
- package/dist/logs/source.d.ts +1 -1
- package/dist/logs/source.js +1 -2
- package/dist/logs.d.ts +2 -2
- package/dist/logs.js +2 -2
- package/dist/loopback-Bl9Cvj1k.js +139 -0
- package/dist/mcp/eval.d.ts +1 -0
- package/dist/mcp/eval.js +2 -0
- package/dist/{mcp-client-C_sEmyQw.d.ts → mcp-client-uXVvS7RL.d.ts} +5 -10
- package/dist/{media-uKX4Wy-c.d.ts → media-C79RB1oH.d.ts} +0 -2
- package/dist/{media-D3OfyKni.js → media-CNwnh6CG.js} +8 -9
- package/dist/{media-library-o8RRsnn_.js → media-library-DTC8TLsZ.js} +5 -6
- package/dist/{media-library-D9ThbXqs.d.ts → media-library-DxGu6w9z.d.ts} +0 -2
- package/dist/{memory-C54SDH_l.js → memory-D3EJS_Bp.js} +3 -4
- package/dist/{memory-2bbl4hcV.d.ts → memory-GK5ZGWrp.d.ts} +1 -3
- package/dist/{nuxt-server-auto-imports-cfTZYvgy.js → nuxt-server-auto-imports-4aT5BD4u.js} +1 -2
- package/dist/{nuxt-server-imports-75bWMeXc.js → nuxt-server-imports-BdJqiVhT.js} +1 -2
- package/dist/nuxt.d.ts +1 -3
- package/dist/nuxt.js +276 -182
- package/dist/{object-D8pRdprI.js → object-DRSmpe04.js} +1 -2
- package/dist/{operation-contributions-C3lwePQu.js → operation-contributions-BU10k2QS.js} +9 -9
- package/dist/{operation-contributions-CrdmqtJW.d.ts → operation-contributions-xwjDzj28.d.ts} +6 -7
- package/dist/{operation-definition-DxjKcCGm.js → operation-definition-D04Rdjbe.js} +7 -9
- package/dist/operation-modules-BUXlwjvd.js +1 -0
- package/dist/operation-modules-DHWkPcfS.js +139 -0
- package/dist/{operation-registry-BogGwk_I.js → operation-registry-DfQbL7vE.js} +1 -2
- package/dist/{operation-rpc-DI9txNxK.js → operation-rpc-BMdfapja.js} +3 -4
- package/dist/operations-D-7ljPqw.js +1 -0
- package/dist/{operations-TTjL_7Zc.d.ts → operations-DgFhA1WE.d.ts} +0 -4
- package/dist/{operations-CFYGXqLm.js → operations-DksTrRMb.js} +4 -5
- package/dist/operations-byxiZ2R2.js +113 -0
- package/dist/{optional-owners-O6sj4uoj.js → optional-owners-Cypch7V3.js} +4 -6
- package/dist/{out-fRNaVslw.js → out-Cw5Tvr92.js} +2933 -2301
- package/dist/{owned-paths-BnjT0FhU.js → owned-paths-MjjDftBn.js} +1 -2
- package/dist/page/pill.iife.js +2 -2
- package/dist/page-tools-BeZrtn4S.js +46 -0
- package/dist/page-tools-Chk8Gm9x.d.ts +23 -0
- package/dist/page-tools-shared-BLPidmCi.js +39 -0
- package/dist/{pathe.M-eThtNZ-J4gfe1m9.js → pathe.M-eThtNZ-D4EC7Wue.js} +1 -2
- package/dist/{plugins-DoXnU6-s.d.ts → plugins-BmkOoyIh.d.ts} +25 -110
- package/dist/{plugins-BTZQaFtZ.js → plugins-DfXcUnzN.js} +1779 -1384
- package/dist/presets/workspace.js +1 -2
- package/dist/{project-Dgyq1F1V.d.ts → project-B2qWt8on.d.ts} +3 -12
- package/dist/{project-DlWTGB7h.js → project-DRC67Uiu.js} +1 -2
- package/dist/{project-DXZRZEPX.js → project-_juMSuAS.js} +8 -11
- package/dist/{project-link-DT99MoyU.js → project-link-CJbCkOlC.js} +7 -8
- package/dist/{project-link-bNS-KROO.d.ts → project-link-Ck3vuq9w.d.ts} +2 -4
- package/dist/{project-root-v6ba4tn7.js → project-root-mAVQGZTX.js} +1 -2
- package/dist/project-session-8pN7pRo8.js +764 -0
- package/dist/{projects-CAcXztf4.js → projects-BRp0iseV.js} +1 -2
- package/dist/{projects-Ddvl9EJp.d.ts → projects-mgPxrKZr.d.ts} +0 -2
- package/dist/{registry-zw6aE2N9.js → registry-B8JE5NY-.js} +1 -2
- package/dist/{registry-CDKLACCZ.js → registry-CnPC-gNu.js} +1 -2
- package/dist/{request-CMA2UKKq.js → request-D769eiBL.js} +5 -6
- package/dist/{request-D7h3SQ92.d.ts → request-DYmjLTqP.d.ts} +2 -4
- package/dist/{request-SBLxvpyr.d.ts → request-DkoE0b2h.d.ts} +11 -4
- package/dist/{request-Cs0FqxEL.js → request-XFVx7CGC.js} +30 -9
- package/dist/{request-origin-COUkgHd6.js → request-origin-pzWr9UUu.js} +1 -2
- package/dist/{rolldown-runtime-CMFfr-1z.js → rolldown-runtime-DegdyBIC.js} +2 -3
- package/dist/{route-query-CRVWXIrc.js → route-query-BWVl6ZO6.js} +4 -5
- package/dist/routes-D02vxUSg.js +26 -0
- package/dist/{rpc-DIUA61pv.js → rpc-D3tsx5lZ.js} +1 -2
- package/dist/{rpc-7nlHSv3y.d.ts → rpc-oijgKQtD.d.ts} +0 -2
- package/dist/{runtime-YLWfdrtO.js → runtime-CAbuQGMP.js} +3 -4
- package/dist/{runtime-B-46Bawt.js → runtime-CRJsqVTa.js} +2 -3
- package/dist/{runtime-DxfJOfCd.js → runtime-DA7HJe10.js} +3 -4
- package/dist/runtime-DGvimtvc.d.ts +5 -0
- package/dist/{runtime-CX_l_78I.js → runtime-F0CTqBFx.js} +5 -6
- package/dist/{runtime-feature-guard-CuyPVGj9.js → runtime-feature-guard-BKAMRZzM.js} +6 -7
- package/dist/scan-module-B1A24jqP.js +1 -0
- package/dist/{scan-module-Df58L_6T.js → scan-module-BfZvDBxb.js} +2 -4
- package/dist/{schema-form-C-fy3xaU.d.ts → schema-form-Bl79Bdm-.d.ts} +0 -2
- package/dist/search-jgMrZJXR.js +84 -0
- package/dist/{sections-DumoLKQN.js → sections-AUGy9EkY.js} +2 -8
- package/dist/{sections-BogiCmtz.d.ts → sections-BMkFB3S-.d.ts} +4 -6
- package/dist/{sections-C83x0slv.js → sections-BNTdIEJw.js} +2 -3
- package/dist/{sections-Do7X4Nwt.d.ts → sections-DCoCa4nF.d.ts} +1 -8
- package/dist/sections-DjeAUX7o.d.ts +8 -0
- package/dist/{sections-BKUReack.js → sections-ZFAlI4JW.js} +14 -7
- package/dist/{sections.get-H46e2urg.d.ts → sections.get-BY5dClJY.d.ts} +2 -4
- package/dist/seo/runtime.d.ts +2 -5
- package/dist/seo/runtime.js +3 -5
- package/dist/{seo-CtLywyRx.d.ts → seo-CgW5uI9L.d.ts} +0 -2
- package/dist/seo.d.ts +1 -1
- package/dist/seo.js +1 -2
- package/dist/{setup-BC0P3eZy.d.ts → setup-BBnZPziq.d.ts} +5 -10
- package/dist/{setup-DNGzawFn.js → setup-yc3_WKNG.js} +4 -17
- package/dist/site-CZCIWsUQ.js +169 -0
- package/dist/site-link-Bvo2SxPo.js +58 -0
- package/dist/site-link-Dtw8MNVB.d.ts +18 -0
- package/dist/site-pages-B6J8U2Nq.js +66 -0
- package/dist/site-token-Wa7fhjwg.js +215 -0
- package/dist/site-visitor-BkhE2TA0.js +89 -0
- package/dist/skills/operations.d.ts +1 -5
- package/dist/skills/operations.js +4 -5
- package/dist/{skills-DdpSMiCI.js → skills-C1MaGEbO.js} +1 -2
- package/dist/skills.d.ts +1 -2
- package/dist/{skills.get-CRd06TTb.js → skills.get-CW8vc_Hf.js} +3 -4
- package/dist/skills.js +1 -2
- package/dist/{source-Cw3iYvJF.js → source-DYFndd0W.js} +2 -3
- package/dist/{source-S-LChQvw.d.ts → source-DemBtwla.d.ts} +0 -2
- package/dist/{stored-Dhv2qsQv.js → stored-J3TetMKf.js} +1 -2
- package/dist/task/operations.d.ts +1 -5
- package/dist/task/operations.js +3 -4
- package/dist/test/register.js +2 -3
- package/dist/test.d.ts +0 -4
- package/dist/test.js +1 -2
- package/dist/ui/vite.js +1 -2
- package/dist/usage-DBi7aOhx.js +33 -0
- package/dist/{version-dkga9imp.js → version-DUCd7Orc.js} +24 -21
- package/dist/{vite-stage-D7fe614I.js → vite-stage-Dmo4RgnK.js} +3 -5
- package/dist/{vue-router-C68IU1jM.d.ts → vue-router-plZJLlpm.d.ts} +120 -182
- package/dist/workspace/console/operations.d.ts +3 -0
- package/dist/workspace/console/operations.js +22 -0
- package/dist/{console/runtime/server → workspace/console}/workspace-files.get.d.ts +3 -5
- package/dist/{console/runtime/server → workspace/console}/workspace-files.get.js +4 -5
- package/dist/{workspace-history-B95Q-kGI.js → workspace-history-B52xib2J.js} +3 -4
- package/dist/{workspace-history-CeVwBB6Q.d.ts → workspace-history-WuxgLsi4.d.ts} +0 -2
- package/package.json +158 -149
- package/dist/agents-BhFggA26.js +0 -2
- package/dist/auth-GFIN6xSJ.d.ts +0 -120
- package/dist/cli-config-g_mbWdjT.js +0 -2
- package/dist/cloudflare-env-lookup-DKXdr4P_.js +0 -16
- package/dist/console/runtime/client/ticket.d.ts +0 -2
- package/dist/console/runtime/client/ticket.js +0 -2
- package/dist/console/runtime/page/loader.js +0 -134
- package/dist/console/runtime/server/auth.d.ts +0 -2
- package/dist/console/runtime/server/env.get.js +0 -16
- package/dist/console/runtime/server/invocation-workspace.get.d.ts +0 -8
- package/dist/console/runtime/server/mcp-client-operations.d.ts +0 -5
- package/dist/console/runtime/server/mcp-client-operations.js +0 -139
- package/dist/console/runtime/server/page-auth.d.ts +0 -18
- package/dist/console/runtime/server/page-auth.js +0 -44
- package/dist/console/runtime/server/page-tool.d.ts +0 -2
- package/dist/console/runtime/server/page-tool.js +0 -110
- package/dist/console/runtime/server/page-tools-route.d.ts +0 -2
- package/dist/console/runtime/server/page-tools-route.js +0 -5
- package/dist/console/runtime/server/search.get.d.ts +0 -4
- package/dist/console/runtime/server/search.get.js +0 -97
- package/dist/console/runtime/server/site-session.d.ts +0 -80
- package/dist/console/runtime/server/site-session.js +0 -2
- package/dist/console/runtime/server/tickets.d.ts +0 -2
- package/dist/console/runtime/server/tickets.js +0 -2
- package/dist/console/runtime/server/usage.get.d.ts +0 -10
- package/dist/console/runtime/server/usage.get.js +0 -92
- package/dist/console/runtime/site-access.d.ts +0 -2
- package/dist/console/runtime/site-access.js +0 -2
- package/dist/console-lazy-views-DXnIkdyd.js +0 -2
- package/dist/definition-catalog-og_1razf.js +0 -2
- package/dist/deployment-C2B0hBBj.js +0 -2
- package/dist/diagnostics-CjGiniKb.d.ts +0 -11
- package/dist/features-ujWsvlEH.js +0 -2
- package/dist/invocations-6jxqLkGY.js +0 -86
- package/dist/mcp-client-C91h8Taa.js +0 -1024
- package/dist/mcp-client-CTbTbn7d.js +0 -10
- package/dist/operations-5Lwd1xEI.js +0 -2
- package/dist/operations-ChEXk2ij.js +0 -853
- package/dist/page-tool-PmxH65gt.d.ts +0 -69
- package/dist/page-tools-ClgqElu-.js +0 -462
- package/dist/page-tools-DcCCtDKi.d.ts +0 -23
- package/dist/page-tools-shared-aNC9YtoI.js +0 -125
- package/dist/runtime-B_btezs1.d.ts +0 -7
- package/dist/scan-module-D_3X08mj.js +0 -2
- package/dist/secret-DELGKpCJ.js +0 -44
- package/dist/sections-CFiMNsqu.d.ts +0 -10
- package/dist/site-access-BycrwM2v.js +0 -18
- package/dist/site-access-CAiWyKOD.js +0 -2
- package/dist/site-access-DxfdOel1.d.ts +0 -55
- package/dist/site-access-L1qbvKt6.js +0 -293
- package/dist/site-session-CRwgKtTF.js +0 -300
- package/dist/skills/vitehub/SKILL.md +0 -142
- package/dist/skills/vitehub/agents/openai.yaml +0 -4
- package/dist/skills/vitehub/references/agent-definitions.md +0 -36
- package/dist/skills/vitehub/references/bundle.md +0 -57
- package/dist/skills/vitehub/references/capabilities-authority.md +0 -30
- package/dist/skills/vitehub/references/channels-triggers.md +0 -27
- package/dist/skills/vitehub/references/framework-composition.md +0 -29
- package/dist/skills/vitehub/references/preview-contract.md +0 -44
- package/dist/skills/vitehub/references/primitives/auth.md +0 -14
- package/dist/skills/vitehub/references/primitives/blob.md +0 -13
- package/dist/skills/vitehub/references/primitives/browser.md +0 -17
- package/dist/skills/vitehub/references/primitives/cache.md +0 -13
- package/dist/skills/vitehub/references/primitives/channels.md +0 -11
- package/dist/skills/vitehub/references/primitives/connections.md +0 -14
- package/dist/skills/vitehub/references/primitives/content.md +0 -13
- package/dist/skills/vitehub/references/primitives/database.md +0 -15
- package/dist/skills/vitehub/references/primitives/email.md +0 -11
- package/dist/skills/vitehub/references/primitives/env.md +0 -13
- package/dist/skills/vitehub/references/primitives/kv.md +0 -13
- package/dist/skills/vitehub/references/primitives/markdown-template.md +0 -13
- package/dist/skills/vitehub/references/primitives/queue.md +0 -14
- package/dist/skills/vitehub/references/primitives/rate-limit.md +0 -11
- package/dist/skills/vitehub/references/primitives/realtime.md +0 -19
- package/dist/skills/vitehub/references/primitives/sandbox-task.md +0 -11
- package/dist/skills/vitehub/references/primitives/sandbox.md +0 -13
- package/dist/skills/vitehub/references/primitives/schedule.md +0 -11
- package/dist/skills/vitehub/references/primitives/shell.md +0 -11
- package/dist/skills/vitehub/references/primitives/source.md +0 -11
- package/dist/skills/vitehub/references/primitives/workflow.md +0 -11
- package/dist/skills/vitehub/references/primitives/workspace.md +0 -11
- package/dist/skills/vitehub/references/project-patterns.md +0 -19
- package/dist/skills/vitehub/references/project-shapes.md +0 -81
- package/dist/skills/vitehub/references/proof-recovery.md +0 -31
- package/dist/skills/vitehub/references/sandboxes-hosts.md +0 -26
- package/dist/skills/vitehub/references/schedules-workflows-invocations.md +0 -28
- package/dist/skills/vitehub/references/server-primitives.md +0 -39
- package/dist/skills/vitehub/references/workspaces-sources-access.md +0 -26
- package/dist/ticket-DtBAstEU.js +0 -31
- package/dist/ticket-Pr_8ZtXW.d.ts +0 -14
- package/dist/tickets-DahBmKDT.js +0 -357
- package/dist/usage-CoQXs5nW.d.ts +0 -22
- package/dist/usage-index-VJAZ7a0p.js +0 -335
- package/dist/usage-jKtAgJZ0.js +0 -571
- /package/dist/{console/runtime/public/skills → console-skills}/index.json +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/SKILL.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/agents/openai.yaml +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/agent-definitions.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/bundle.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/capabilities-authority.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/channels-triggers.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/framework-composition.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/preview-contract.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/auth.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/blob.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/browser.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/cache.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/channels.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/connections.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/content.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/database.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/email.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/env.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/kv.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/markdown-template.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/queue.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/rate-limit.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/realtime.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/sandbox-task.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/sandbox.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/schedule.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/shell.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/source.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/workflow.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/workspace.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/project-patterns.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/project-shapes.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/proof-recovery.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/sandboxes-hosts.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/schedules-workflows-invocations.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/server-primitives.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/workspaces-sources-access.md +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as viteHubErrorDiagnostics } from "./error-diagnostics-
|
|
1
|
+
import { t as viteHubErrorDiagnostics } from "./error-diagnostics-CBtvqI30.js";
|
|
2
2
|
import { readFileSync } from "node:fs";
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
|
-
|
|
4
|
+
// package.json
|
|
5
5
|
var exports = {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -468,6 +468,11 @@ var exports = {
|
|
|
468
468
|
"import": "./dist/env/server.js",
|
|
469
469
|
"default": "./dist/env/server.js"
|
|
470
470
|
},
|
|
471
|
+
"./env/vite": {
|
|
472
|
+
"types": "./dist/env/vite.d.ts",
|
|
473
|
+
"import": "./dist/env/vite.js",
|
|
474
|
+
"default": "./dist/env/vite.js"
|
|
475
|
+
},
|
|
471
476
|
"./forge": {
|
|
472
477
|
"types": "./dist/forge.d.ts",
|
|
473
478
|
"import": "./dist/forge.js",
|
|
@@ -563,6 +568,11 @@ var exports = {
|
|
|
563
568
|
"import": "./dist/mcp.js",
|
|
564
569
|
"default": "./dist/mcp.js"
|
|
565
570
|
},
|
|
571
|
+
"./mcp/eval": {
|
|
572
|
+
"types": "./dist/mcp/eval.d.ts",
|
|
573
|
+
"import": "./dist/mcp/eval.js",
|
|
574
|
+
"default": "./dist/mcp/eval.js"
|
|
575
|
+
},
|
|
566
576
|
"./nuxt": {
|
|
567
577
|
"types": "./dist/nuxt.d.ts",
|
|
568
578
|
"import": "./dist/nuxt.js",
|
|
@@ -909,11 +919,6 @@ var exports = {
|
|
|
909
919
|
"default": "./dist/workspace/server.js"
|
|
910
920
|
},
|
|
911
921
|
"./package.json": "./package.json",
|
|
912
|
-
"./console/mcp-client": {
|
|
913
|
-
"types": "./dist/console/runtime/server/mcp-client-operations.d.ts",
|
|
914
|
-
"import": "./dist/console/runtime/server/mcp-client-operations.js",
|
|
915
|
-
"default": "./dist/console/runtime/server/mcp-client-operations.js"
|
|
916
|
-
},
|
|
917
922
|
"./page/pill.js": { "default": "./dist/page/pill.iife.js" },
|
|
918
923
|
"./ui/styles.css": "./dist/ui/styles.css",
|
|
919
924
|
"./ui/theme.css": "./dist/ui/theme.css",
|
|
@@ -990,17 +995,18 @@ var dependencies = {
|
|
|
990
995
|
"@vite-hub/runtime": "workspace:*",
|
|
991
996
|
"@vite-hub/source": "workspace:*",
|
|
992
997
|
"birpc": "catalog:runtime",
|
|
993
|
-
"confbox": "^0.2
|
|
998
|
+
"confbox": "^0.3.2",
|
|
994
999
|
"h3": "catalog:unjs",
|
|
995
1000
|
"nostics": "catalog:runtime",
|
|
996
1001
|
"ocache": "catalog:runtime",
|
|
997
|
-
"pkg-types": "^2.
|
|
998
|
-
"semver": "^7.8.
|
|
1002
|
+
"pkg-types": "^2.4.0",
|
|
1003
|
+
"semver": "^7.8.6",
|
|
999
1004
|
"srvx": "catalog:unjs",
|
|
1000
|
-
"unimport": "
|
|
1005
|
+
"unimport": "catalog:unjs",
|
|
1001
1006
|
"valibot": "catalog:runtime"
|
|
1002
1007
|
};
|
|
1003
1008
|
var peerDependencies = {
|
|
1009
|
+
"@ai-sdk/mcp": "catalog:ai",
|
|
1004
1010
|
"@ai-sdk/provider": "^4.0.24",
|
|
1005
1011
|
"@aws-sdk/client-s3": "^3.700.0",
|
|
1006
1012
|
"@aws-sdk/lib-storage": "^3.700.0",
|
|
@@ -1012,8 +1018,8 @@ var peerDependencies = {
|
|
|
1012
1018
|
"@cloudflare/workers-types": ">=4",
|
|
1013
1019
|
"@formisch/vue": "^1.2.0",
|
|
1014
1020
|
"@google-cloud/storage": "catalog:storage",
|
|
1015
|
-
"@json-render/core": "0.
|
|
1016
|
-
"@json-render/vue": "0.
|
|
1021
|
+
"@json-render/core": "0.23.2",
|
|
1022
|
+
"@json-render/vue": "0.23.2",
|
|
1017
1023
|
"@libsql/client": "catalog:database",
|
|
1018
1024
|
"@modelcontextprotocol/sdk": "catalog:ai",
|
|
1019
1025
|
"@nuxt/ui": "^4.11.0",
|
|
@@ -1053,21 +1059,20 @@ var peerDependencies = {
|
|
|
1053
1059
|
"@vite-hub/webhooks": "workspace:*",
|
|
1054
1060
|
"@vite-hub/workflow": "workspace:*",
|
|
1055
1061
|
"@vite-hub/workspace": "workspace:*",
|
|
1056
|
-
"@vueuse/core": "
|
|
1062
|
+
"@vueuse/core": "^14.4.0 || ^15.0.0",
|
|
1057
1063
|
"ai": "catalog:ai-compat",
|
|
1058
1064
|
"better-auth": "catalog:auth",
|
|
1059
|
-
"drizzle-orm": "1.0.0-rc.5 || ^1.0.0",
|
|
1065
|
+
"drizzle-orm": "1.0.0-rc.5 || 1.0.0-rc.6 || ^1.0.0",
|
|
1060
1066
|
"evlog": "^2.28.1",
|
|
1061
1067
|
"nitro": "catalog:nitro-compat",
|
|
1062
1068
|
"openworkflow": "catalog:workflow",
|
|
1063
1069
|
"playwright-core": "catalog:browser",
|
|
1064
|
-
"posthog-node": "^
|
|
1070
|
+
"posthog-node": "^6.0.6",
|
|
1065
1071
|
"vite": "catalog:vite-compat",
|
|
1066
1072
|
"vite-doctor": "*",
|
|
1067
1073
|
"vue": "catalog:vue-compat"
|
|
1068
1074
|
};
|
|
1069
|
-
|
|
1070
|
-
//#region src/removed-options.ts
|
|
1075
|
+
// src/removed-options.ts
|
|
1071
1076
|
/**
|
|
1072
1077
|
* Top-level `vitehub()` options that ViteHub removed or renamed: why each one is gone and how to fix it. The build
|
|
1073
1078
|
* fails on them, and the `vitehub/valid-vitehub-options` Doctor rule reports them in the editor, from this one table.
|
|
@@ -1109,8 +1114,7 @@ function assertNoRemovedViteHubOptions(options, where) {
|
|
|
1109
1114
|
throw viteHubErrorDiagnostics.VITE_HUB_B0024({ message: `[vitehub] \`${key}\` in ${where} is no longer a ViteHub option. ${why} ${fix}` });
|
|
1110
1115
|
}
|
|
1111
1116
|
}
|
|
1112
|
-
|
|
1113
|
-
//#region src/version.ts
|
|
1117
|
+
// src/version.ts
|
|
1114
1118
|
let installed;
|
|
1115
1119
|
/**
|
|
1116
1120
|
* The version of the installed `vite-hub` package, read from its `package.json`. The pkg.pr.new workflow sets a preview
|
|
@@ -1120,5 +1124,4 @@ function readViteHubVersion() {
|
|
|
1120
1124
|
installed ??= JSON.parse(readFileSync(fileURLToPath(import.meta.resolve("vite-hub/package.json")), "utf8")).version;
|
|
1121
1125
|
return installed;
|
|
1122
1126
|
}
|
|
1123
|
-
//#endregion
|
|
1124
1127
|
export { exports as a, dependencies as i, assertNoRemovedViteHubOptions as n, peerDependencies as o, removedViteHubOptions as r, readViteHubVersion as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as isRecord } from "./object-
|
|
1
|
+
import { n as isRecord } from "./object-DRSmpe04.js";
|
|
2
2
|
import { dirname, join, resolve } from "node:path";
|
|
3
3
|
import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
4
4
|
import "node:fs/promises";
|
|
5
|
-
|
|
5
|
+
// ../internal/src/cli.ts
|
|
6
6
|
/**
|
|
7
7
|
* A Vite plugin for CLI discovery that collects the Nitro instances that Vite's config hooks create, and `close()` to stop them.
|
|
8
8
|
* Nitro's Vite plugin starts its dev env runner (a worker thread, or Miniflare for Cloudflare) while Vite resolves a `serve`
|
|
@@ -73,8 +73,7 @@ function readViteHubDevServerFile(root) {
|
|
|
73
73
|
return;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
//#region ../internal/src/vite-stage.ts
|
|
76
|
+
// ../internal/src/vite-stage.ts
|
|
78
77
|
/**
|
|
79
78
|
* Vite's `loadEnv(mode, envDir, "")`: every `.env` value of the mode and the whole shell. With `DEBUG=vite:env`, Vite
|
|
80
79
|
* logs that result to stderr, secrets included. loadEnv is synchronous, so this drops only the writes of this call.
|
|
@@ -88,5 +87,4 @@ function loadAllEnv(loadEnv, mode, envDir) {
|
|
|
88
87
|
process.stderr.write = write;
|
|
89
88
|
}
|
|
90
89
|
}
|
|
91
|
-
//#endregion
|
|
92
90
|
export { viteCliProjectConfig as a, removeViteHubDevServerFile as i, createCliDiscoveryNitroCloser as n, writeViteHubDevServerFile as o, readViteHubDevServerFile as r, loadAllEnv as t };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { AllowedComponentProps, AnchorHTMLAttributes, App, Component
|
|
2
|
-
//#region ../../node_modules/.pnpm/vue-router@5.4.0_@voidzero-dev+vite-plus-core@0.3.3_@types+node@24.19.1_esbuild@0.28.2__771eab81e2fd06a479763e79bcb19884/node_modules/vue-router/dist/index-u4XkZVDG.d.ts
|
|
3
|
-
//#region src/experimental/data-loaders/symbols.d.ts
|
|
1
|
+
import { AllowedComponentProps, AnchorHTMLAttributes, App, Component, ComponentCustomProps, ComponentPublicInstance, ComputedRef, DefineComponent, EffectScope, InjectionKey, MaybeRef, Ref, ShallowRef, UnwrapRef, VNode, VNodeProps } from "vue";
|
|
4
2
|
/**
|
|
5
3
|
* Retrieves the internal version of loaders.
|
|
6
4
|
* @internal
|
|
@@ -47,8 +45,6 @@ declare const IS_SSR_KEY: unique symbol;
|
|
|
47
45
|
* @internal
|
|
48
46
|
*/
|
|
49
47
|
declare const DATA_LOADERS_EFFECT_SCOPE_KEY: unique symbol;
|
|
50
|
-
//#endregion
|
|
51
|
-
//#region src/config.d.ts
|
|
52
48
|
/**
|
|
53
49
|
* Allows customizing existing types of the router that are used globally like `$router`, `<RouterLink>`, etc. **ONLY FOR INTERNAL USAGE**.
|
|
54
50
|
*
|
|
@@ -64,8 +60,6 @@ declare const DATA_LOADERS_EFFECT_SCOPE_KEY: unique symbol;
|
|
|
64
60
|
* @internal
|
|
65
61
|
*/
|
|
66
62
|
interface TypesConfig {}
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region src/query.d.ts
|
|
69
63
|
/**
|
|
70
64
|
* Possible values in normalized {@link LocationQuery}. `null` renders the query
|
|
71
65
|
* param but without an `=`.
|
|
@@ -91,7 +85,7 @@ type LocationQueryValueRaw$1 = LocationQueryValue$1 | number | undefined;
|
|
|
91
85
|
*
|
|
92
86
|
* @public
|
|
93
87
|
*/
|
|
94
|
-
type LocationQuery
|
|
88
|
+
type LocationQuery = Record<string, LocationQueryValue$1 | LocationQueryValue$1[]>;
|
|
95
89
|
/**
|
|
96
90
|
* Loose {@link LocationQuery} object that can be passed to functions like
|
|
97
91
|
* {@link Router.push} and {@link Router.replace} or anywhere when creating a
|
|
@@ -100,6 +94,16 @@ type LocationQuery$1 = Record<string, LocationQueryValue$1 | LocationQueryValue$
|
|
|
100
94
|
* @public
|
|
101
95
|
*/
|
|
102
96
|
type LocationQueryRaw$1 = Record<string | number, LocationQueryValueRaw$1 | LocationQueryValueRaw$1[]>;
|
|
97
|
+
/**
|
|
98
|
+
* Transforms a queryString into a {@link LocationQuery} object. Accept both, a
|
|
99
|
+
* version with the leading `?` and without Should work as URLSearchParams
|
|
100
|
+
|
|
101
|
+
* @internal
|
|
102
|
+
*
|
|
103
|
+
* @param search - search string to parse
|
|
104
|
+
* @returns a query object
|
|
105
|
+
*/
|
|
106
|
+
declare function parseQuery(search: string): LocationQuery;
|
|
103
107
|
/**
|
|
104
108
|
* Stringifies a {@link LocationQueryRaw} object. Like `URLSearchParams`, it
|
|
105
109
|
* doesn't prepend a `?`
|
|
@@ -110,8 +114,6 @@ type LocationQueryRaw$1 = Record<string | number, LocationQueryValueRaw$1 | Loca
|
|
|
110
114
|
* @returns string version of the query without the leading `?`
|
|
111
115
|
*/
|
|
112
116
|
declare function stringifyQuery(query: LocationQueryRaw$1 | undefined): string;
|
|
113
|
-
//#endregion
|
|
114
|
-
//#region src/matcher/types.d.ts
|
|
115
117
|
/**
|
|
116
118
|
* Normalized version of a {@link RouteRecord | route record}.
|
|
117
119
|
*/
|
|
@@ -191,8 +193,6 @@ interface RouteRecordNormalized {
|
|
|
191
193
|
* {@inheritDoc RouteRecordNormalized}
|
|
192
194
|
*/
|
|
193
195
|
type RouteRecord = RouteRecordNormalized;
|
|
194
|
-
//#endregion
|
|
195
|
-
//#region src/matcher/pathParserRanker.d.ts
|
|
196
196
|
type PathParams = Record<string, string | string[]>;
|
|
197
197
|
/**
|
|
198
198
|
* A param in a url like `/users/:id`
|
|
@@ -266,16 +266,12 @@ interface _PathParserOptions {
|
|
|
266
266
|
end?: boolean;
|
|
267
267
|
}
|
|
268
268
|
type PathParserOptions = Pick<_PathParserOptions, 'end' | 'sensitive' | 'strict'>;
|
|
269
|
-
//#endregion
|
|
270
|
-
//#region src/matcher/pathMatcher.d.ts
|
|
271
269
|
interface RouteRecordMatcher extends PathParser {
|
|
272
270
|
record: RouteRecord;
|
|
273
271
|
parent: RouteRecordMatcher | undefined;
|
|
274
272
|
children: RouteRecordMatcher[];
|
|
275
273
|
alias: RouteRecordMatcher[];
|
|
276
274
|
}
|
|
277
|
-
//#endregion
|
|
278
|
-
//#region src/matcher/index.d.ts
|
|
279
275
|
/**
|
|
280
276
|
* Internal RouterMatcher
|
|
281
277
|
*
|
|
@@ -296,8 +292,6 @@ interface RouterMatcher {
|
|
|
296
292
|
*/
|
|
297
293
|
resolve: (location: MatcherLocationRaw, currentLocation: MatcherLocation) => MatcherLocation;
|
|
298
294
|
}
|
|
299
|
-
//#endregion
|
|
300
|
-
//#region src/history/common.d.ts
|
|
301
295
|
type HistoryLocation = string;
|
|
302
296
|
/**
|
|
303
297
|
* Allowed variables in HTML5 history state. Note that pushState clones the state
|
|
@@ -412,8 +406,6 @@ interface RouterHistory {
|
|
|
412
406
|
*/
|
|
413
407
|
destroy(): void;
|
|
414
408
|
}
|
|
415
|
-
//#endregion
|
|
416
|
-
//#region src/errors.d.ts
|
|
417
409
|
/**
|
|
418
410
|
* Flags so we can combine them when checking for multiple errors. This is the internal version of
|
|
419
411
|
* {@link NavigationFailureType}.
|
|
@@ -455,35 +447,6 @@ interface NavigationFailure extends Error {
|
|
|
455
447
|
interface _ErrorListener {
|
|
456
448
|
(error: any, to: RouteLocationNormalized, from: RouteLocationNormalizedLoaded): any;
|
|
457
449
|
}
|
|
458
|
-
//#endregion
|
|
459
|
-
//#region src/experimental/query.d.ts
|
|
460
|
-
/**
|
|
461
|
-
* Possible values in normalized {@link LocationQuery}. `null` renders the query
|
|
462
|
-
* param but without an `=`.
|
|
463
|
-
*
|
|
464
|
-
* @internal
|
|
465
|
-
*/
|
|
466
|
-
type LocationQueryValue = string | null;
|
|
467
|
-
/**
|
|
468
|
-
* Normalized query object that appears in {@link RouteLocationNormalized}.
|
|
469
|
-
* Every present key has an array value. `?a` gives `{ a: [null] }`.
|
|
470
|
-
*
|
|
471
|
-
* @public
|
|
472
|
-
*/
|
|
473
|
-
type LocationQuery = Record<string, LocationQueryValue[]>;
|
|
474
|
-
/**
|
|
475
|
-
* Transforms a queryString into a {@link LocationQuery} object. Accept both, a
|
|
476
|
-
* version with the leading `?` and without. Uses `Object.create(null)` so the
|
|
477
|
-
* returned object cannot be exploited via prototype pollution.
|
|
478
|
-
*
|
|
479
|
-
* @internal
|
|
480
|
-
*
|
|
481
|
-
* @param search - search string to parse
|
|
482
|
-
* @returns a query object
|
|
483
|
-
*/
|
|
484
|
-
declare function experimental_parseQuery(search: string): LocationQuery;
|
|
485
|
-
//#endregion
|
|
486
|
-
//#region src/scrollBehavior.d.ts
|
|
487
450
|
/**
|
|
488
451
|
* Scroll position similar to
|
|
489
452
|
* {@link https://developer.mozilla.org/en-US/docs/Web/API/ScrollToOptions | `ScrollToOptions`}.
|
|
@@ -533,8 +496,6 @@ interface ScrollPositionElement extends ScrollToOptions {
|
|
|
533
496
|
}
|
|
534
497
|
type ScrollPosition = ScrollPositionCoordinates | ScrollPositionElement;
|
|
535
498
|
type Awaitable<T> = T | PromiseLike<T>;
|
|
536
|
-
//#endregion
|
|
537
|
-
//#region src/types/utils.d.ts
|
|
538
499
|
/**
|
|
539
500
|
* Creates a union type that still allows autocompletion for strings.
|
|
540
501
|
* @internal
|
|
@@ -545,8 +506,6 @@ type _LiteralUnion<LiteralType, BaseType extends string = string> = LiteralType
|
|
|
545
506
|
* @internal
|
|
546
507
|
*/
|
|
547
508
|
type _Awaitable<T> = T | PromiseLike<T>;
|
|
548
|
-
//#endregion
|
|
549
|
-
//#region src/experimental/router.d.ts
|
|
550
509
|
/**
|
|
551
510
|
* Options to initialize a {@link Router} instance.
|
|
552
511
|
*/
|
|
@@ -607,7 +566,7 @@ interface EXPERIMENTAL_RouterOptions_Base extends PathParserOptions {
|
|
|
607
566
|
* that handles query parsing and adds a `$query` property to the params. See
|
|
608
567
|
* the [TODO: migration guide](https://router.vuejs.org/experimental/query-parsing.html#migrating-from-parsequery-and-stringifyquery).
|
|
609
568
|
*/
|
|
610
|
-
parseQuery?: typeof
|
|
569
|
+
parseQuery?: typeof parseQuery;
|
|
611
570
|
/**
|
|
612
571
|
* Custom implementation to stringify a query object. Should not prepend a leading `?`.
|
|
613
572
|
* {@link parseQuery} counterpart to handle query parsing.
|
|
@@ -766,8 +725,6 @@ interface EXPERIMENTAL_Router_Base<TRecord> extends DataLoaderExtensions {
|
|
|
766
725
|
*/
|
|
767
726
|
install(app: App): void;
|
|
768
727
|
}
|
|
769
|
-
//#endregion
|
|
770
|
-
//#region src/router.d.ts
|
|
771
728
|
/**
|
|
772
729
|
* Options to initialize a {@link Router} instance.
|
|
773
730
|
*/
|
|
@@ -835,14 +792,111 @@ interface RouterClassic extends EXPERIMENTAL_Router_Base<RouteRecordNormalized>
|
|
|
835
792
|
* ```
|
|
836
793
|
*/
|
|
837
794
|
type Router = TypesConfig extends Record<'Router', infer T> ? T : RouterClassic;
|
|
795
|
+
interface RouterLinkOptions {
|
|
796
|
+
/**
|
|
797
|
+
* Route Location the link should navigate to when clicked on.
|
|
798
|
+
*/
|
|
799
|
+
to: RouteLocationRaw;
|
|
800
|
+
/**
|
|
801
|
+
* Calls `router.replace` instead of `router.push`.
|
|
802
|
+
*/
|
|
803
|
+
replace?: boolean;
|
|
804
|
+
}
|
|
805
|
+
interface RouterLinkProps extends RouterLinkOptions {
|
|
806
|
+
/**
|
|
807
|
+
* Whether RouterLink should not wrap its content in an `a` tag. Useful when
|
|
808
|
+
* using `v-slot` to create a custom RouterLink
|
|
809
|
+
*/
|
|
810
|
+
custom?: boolean;
|
|
811
|
+
/**
|
|
812
|
+
* Class to apply when the link is active
|
|
813
|
+
*/
|
|
814
|
+
activeClass?: string;
|
|
815
|
+
/**
|
|
816
|
+
* Class to apply when the link is exact active
|
|
817
|
+
*/
|
|
818
|
+
exactActiveClass?: string;
|
|
819
|
+
/**
|
|
820
|
+
* Value passed to the attribute `aria-current` when the link is exact active.
|
|
821
|
+
*
|
|
822
|
+
* @defaultValue `'page'`
|
|
823
|
+
*/
|
|
824
|
+
ariaCurrentValue?: 'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false';
|
|
825
|
+
/**
|
|
826
|
+
* Pass the returned promise of `router.push()` to `document.startViewTransition()` if supported.
|
|
827
|
+
*/
|
|
828
|
+
viewTransition?: boolean;
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* Options passed to {@link useLink}.
|
|
832
|
+
*/
|
|
833
|
+
interface UseLinkOptions$1<Name extends keyof RouteMap = keyof RouteMap> {
|
|
834
|
+
to: MaybeRef<RouteLocationAsString | RouteLocationAsRelativeTyped<RouteMap, Name> | RouteLocationAsPath | RouteLocationRaw>;
|
|
835
|
+
replace?: MaybeRef<boolean | undefined>;
|
|
836
|
+
/**
|
|
837
|
+
* Pass the returned promise of `router.push()` to `document.startViewTransition()` if supported.
|
|
838
|
+
*/
|
|
839
|
+
viewTransition?: boolean;
|
|
840
|
+
}
|
|
841
|
+
/**
|
|
842
|
+
* Return type of {@link useLink}.
|
|
843
|
+
* @internal
|
|
844
|
+
*/
|
|
845
|
+
interface UseLinkReturn<Name extends keyof RouteMap = keyof RouteMap> {
|
|
846
|
+
route: ComputedRef<RouteLocationResolved<Name>>;
|
|
847
|
+
href: ComputedRef<string>;
|
|
848
|
+
isActive: ComputedRef<boolean>;
|
|
849
|
+
isExactActive: ComputedRef<boolean>;
|
|
850
|
+
navigate(e?: MouseEvent): Promise<void | NavigationFailure>;
|
|
851
|
+
}
|
|
852
|
+
/**
|
|
853
|
+
* Returns the internal behavior of a {@link RouterLink} without the rendering part.
|
|
854
|
+
*
|
|
855
|
+
* @param props - a `to` location and an optional `replace` flag
|
|
856
|
+
*/
|
|
857
|
+
declare function useLink$1<Name extends keyof RouteMap = keyof RouteMap>(props: UseLinkOptions$1<Name>): UseLinkReturn<Name>;
|
|
858
|
+
/**
|
|
859
|
+
* Component to render a link that triggers a navigation on click.
|
|
860
|
+
*/
|
|
861
|
+
declare const RouterLink$1: _RouterLinkI;
|
|
862
|
+
/**
|
|
863
|
+
* @internal
|
|
864
|
+
*/
|
|
865
|
+
type _RouterLinkPropsTypedBase = AllowedComponentProps & ComponentCustomProps & VNodeProps & RouterLinkProps;
|
|
866
|
+
/**
|
|
867
|
+
* @internal
|
|
868
|
+
*/
|
|
869
|
+
type RouterLinkPropsTyped<Custom extends boolean | undefined> = Custom extends true ? _RouterLinkPropsTypedBase & {
|
|
870
|
+
custom: true;
|
|
871
|
+
} : _RouterLinkPropsTypedBase & {
|
|
872
|
+
custom?: false | undefined;
|
|
873
|
+
} & Omit<AnchorHTMLAttributes, 'href'>;
|
|
874
|
+
/**
|
|
875
|
+
* Typed version of the `RouterLink` component. Its generic defaults to the typed router, so it can be inferred
|
|
876
|
+
* automatically for JSX.
|
|
877
|
+
*
|
|
878
|
+
* @internal
|
|
879
|
+
*/
|
|
880
|
+
interface _RouterLinkI {
|
|
881
|
+
new <Custom extends boolean | undefined = boolean | undefined>(): {
|
|
882
|
+
$props: RouterLinkPropsTyped<Custom>;
|
|
883
|
+
$slots: {
|
|
884
|
+
default?: ({ route, href, isActive, isExactActive, navigate }: UnwrapRef<UseLinkReturn>) => VNode[];
|
|
885
|
+
};
|
|
886
|
+
};
|
|
887
|
+
/**
|
|
888
|
+
* Access to `useLink()` without depending on using vue-router
|
|
889
|
+
*
|
|
890
|
+
* @internal
|
|
891
|
+
*/
|
|
892
|
+
useLink: typeof useLink$1;
|
|
893
|
+
}
|
|
838
894
|
/**
|
|
839
895
|
* TODO: native parsers ideas:
|
|
840
896
|
* - json -> just JSON.parse(value)
|
|
841
897
|
* - boolean -> 'true' | 'false' -> boolean
|
|
842
898
|
* - number -> Number(value) -> NaN if not a number
|
|
843
899
|
*/
|
|
844
|
-
//#endregion
|
|
845
|
-
//#region src/experimental/data-loaders/types-config.d.ts
|
|
846
900
|
/**
|
|
847
901
|
* The default error type used for data loaders. Can be customized via {@link TypesConfig}.
|
|
848
902
|
*
|
|
@@ -871,8 +925,6 @@ declare const SERVER_INITIAL_DATA_KEY: unique symbol;
|
|
|
871
925
|
* @internal
|
|
872
926
|
*/
|
|
873
927
|
declare const INITIAL_DATA_KEY: unique symbol;
|
|
874
|
-
//#endregion
|
|
875
|
-
//#region src/types/index.d.ts
|
|
876
928
|
type Lazy<T> = () => Promise<T>;
|
|
877
929
|
/**
|
|
878
930
|
* @internal
|
|
@@ -956,7 +1008,7 @@ interface _RouteLocationBase extends Pick<MatcherLocation, 'name' | 'path' | 'pa
|
|
|
956
1008
|
/**
|
|
957
1009
|
* Object representation of the `search` property of the current location.
|
|
958
1010
|
*/
|
|
959
|
-
query: LocationQuery
|
|
1011
|
+
query: LocationQuery;
|
|
960
1012
|
/**
|
|
961
1013
|
* Hash of the current location. If present, starts with a `#`.
|
|
962
1014
|
*/
|
|
@@ -970,7 +1022,7 @@ interface _RouteLocationBase extends Pick<MatcherLocation, 'name' | 'path' | 'pa
|
|
|
970
1022
|
/**
|
|
971
1023
|
* Allowed Component in {@link RouteLocationMatched}
|
|
972
1024
|
*/
|
|
973
|
-
type RouteComponent = Component
|
|
1025
|
+
type RouteComponent = Component | DefineComponent;
|
|
974
1026
|
/**
|
|
975
1027
|
* Allowed Component definitions in route records provided by the user
|
|
976
1028
|
*/
|
|
@@ -1174,8 +1226,6 @@ interface MatcherLocation {
|
|
|
1174
1226
|
*/
|
|
1175
1227
|
matched: RouteRecord[];
|
|
1176
1228
|
}
|
|
1177
|
-
//#endregion
|
|
1178
|
-
//#region src/typed-routes/route-map.d.ts
|
|
1179
1229
|
/**
|
|
1180
1230
|
* Helper type to define a Typed `RouteRecord`
|
|
1181
1231
|
* @see {@link RouteRecord}
|
|
@@ -1198,8 +1248,6 @@ type RouteMap = TypesConfig extends Record<'RouteNamedMap', infer RouteNamedMap>
|
|
|
1198
1248
|
* Generic version of the `RouteMap`.
|
|
1199
1249
|
*/
|
|
1200
1250
|
type RouteMapGeneric = Record<string | symbol, RouteRecordInfoGeneric>;
|
|
1201
|
-
//#endregion
|
|
1202
|
-
//#region src/typed-routes/route-records.d.ts
|
|
1203
1251
|
/**
|
|
1204
1252
|
* @internal
|
|
1205
1253
|
*/
|
|
@@ -1212,8 +1260,6 @@ type RouteRecordNameGeneric = string | symbol | undefined;
|
|
|
1212
1260
|
* @internal
|
|
1213
1261
|
*/
|
|
1214
1262
|
type _RouteRecordProps<Name extends keyof RouteMap = keyof RouteMap> = boolean | Record<string, any> | ((to: RouteLocationNormalized<Name>) => Record<string, any>);
|
|
1215
|
-
//#endregion
|
|
1216
|
-
//#region src/typed-routes/route-location.d.ts
|
|
1217
1263
|
/**
|
|
1218
1264
|
* Generic version of {@link RouteLocation}. It is used when no {@link RouteMap} is provided.
|
|
1219
1265
|
*/
|
|
@@ -1400,8 +1446,6 @@ type RouteLocationAsPath<Name extends keyof RouteMap = keyof RouteMap> = RouteMa
|
|
|
1400
1446
|
* Route location that can be passed to `router.push()` and other user-facing APIs.
|
|
1401
1447
|
*/
|
|
1402
1448
|
type RouteLocationRaw<Name extends keyof RouteMap = keyof RouteMap> = RouteMapGeneric extends RouteMap ? RouteLocationAsString | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric : _LiteralUnion<RouteLocationAsStringTypedList<RouteMap>[Name], string> | RouteLocationAsRelativeTypedList<RouteMap>[Name] | RouteLocationAsPathTypedList<RouteMap>[Name];
|
|
1403
|
-
//#endregion
|
|
1404
|
-
//#region src/typed-routes/navigation-guards.d.ts
|
|
1405
1449
|
/**
|
|
1406
1450
|
* Return types for a Navigation Guard. Based on `TypesConfig`
|
|
1407
1451
|
*
|
|
@@ -1468,8 +1512,6 @@ interface NavigationGuardNext {
|
|
|
1468
1512
|
* Callback that can be passed to `next()` in `beforeRouteEnter()` guards.
|
|
1469
1513
|
*/
|
|
1470
1514
|
type NavigationGuardNextCallback = (vm: ComponentPublicInstance) => unknown;
|
|
1471
|
-
//#endregion
|
|
1472
|
-
//#region src/experimental/data-loaders/meta-extensions.d.ts
|
|
1473
1515
|
/**
|
|
1474
1516
|
* Map type for the entries used by data loaders.
|
|
1475
1517
|
* @internal
|
|
@@ -1521,111 +1563,12 @@ interface DataLoaderExtensions {
|
|
|
1521
1563
|
*/
|
|
1522
1564
|
[INITIAL_DATA_KEY]?: Record<string, unknown> | false;
|
|
1523
1565
|
}
|
|
1524
|
-
//#endregion
|
|
1525
|
-
//#region src/RouterLink.d.ts
|
|
1526
|
-
interface RouterLinkOptions {
|
|
1527
|
-
/**
|
|
1528
|
-
* Route Location the link should navigate to when clicked on.
|
|
1529
|
-
*/
|
|
1530
|
-
to: RouteLocationRaw;
|
|
1531
|
-
/**
|
|
1532
|
-
* Calls `router.replace` instead of `router.push`.
|
|
1533
|
-
*/
|
|
1534
|
-
replace?: boolean;
|
|
1535
|
-
}
|
|
1536
|
-
interface RouterLinkProps extends RouterLinkOptions {
|
|
1537
|
-
/**
|
|
1538
|
-
* Whether RouterLink should not wrap its content in an `a` tag. Useful when
|
|
1539
|
-
* using `v-slot` to create a custom RouterLink
|
|
1540
|
-
*/
|
|
1541
|
-
custom?: boolean;
|
|
1542
|
-
/**
|
|
1543
|
-
* Class to apply when the link is active
|
|
1544
|
-
*/
|
|
1545
|
-
activeClass?: string;
|
|
1546
|
-
/**
|
|
1547
|
-
* Class to apply when the link is exact active
|
|
1548
|
-
*/
|
|
1549
|
-
exactActiveClass?: string;
|
|
1550
|
-
/**
|
|
1551
|
-
* Value passed to the attribute `aria-current` when the link is exact active.
|
|
1552
|
-
*
|
|
1553
|
-
* @defaultValue `'page'`
|
|
1554
|
-
*/
|
|
1555
|
-
ariaCurrentValue?: 'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false';
|
|
1556
|
-
/**
|
|
1557
|
-
* Pass the returned promise of `router.push()` to `document.startViewTransition()` if supported.
|
|
1558
|
-
*/
|
|
1559
|
-
viewTransition?: boolean;
|
|
1560
|
-
}
|
|
1561
|
-
/**
|
|
1562
|
-
* Options passed to {@link useLink}.
|
|
1563
|
-
*/
|
|
1564
|
-
interface UseLinkOptions<Name extends keyof RouteMap = keyof RouteMap> {
|
|
1565
|
-
to: MaybeRef<RouteLocationAsString | RouteLocationAsRelativeTyped<RouteMap, Name> | RouteLocationAsPath | RouteLocationRaw>;
|
|
1566
|
-
replace?: MaybeRef<boolean | undefined>;
|
|
1567
|
-
/**
|
|
1568
|
-
* Pass the returned promise of `router.push()` to `document.startViewTransition()` if supported.
|
|
1569
|
-
*/
|
|
1570
|
-
viewTransition?: boolean;
|
|
1571
|
-
}
|
|
1572
|
-
/**
|
|
1573
|
-
* Return type of {@link useLink}.
|
|
1574
|
-
* @internal
|
|
1575
|
-
*/
|
|
1576
|
-
interface UseLinkReturn<Name extends keyof RouteMap = keyof RouteMap> {
|
|
1577
|
-
route: ComputedRef<RouteLocationResolved<Name>>;
|
|
1578
|
-
href: ComputedRef<string>;
|
|
1579
|
-
isActive: ComputedRef<boolean>;
|
|
1580
|
-
isExactActive: ComputedRef<boolean>;
|
|
1581
|
-
navigate(e?: MouseEvent): Promise<void | NavigationFailure>;
|
|
1582
|
-
}
|
|
1583
|
-
/**
|
|
1584
|
-
* Returns the internal behavior of a {@link RouterLink} without the rendering part.
|
|
1585
|
-
*
|
|
1586
|
-
* @param props - a `to` location and an optional `replace` flag
|
|
1587
|
-
*/
|
|
1588
|
-
declare function useLink<Name extends keyof RouteMap = keyof RouteMap>(props: UseLinkOptions<Name>): UseLinkReturn<Name>;
|
|
1589
|
-
/**
|
|
1590
|
-
* Component to render a link that triggers a navigation on click.
|
|
1591
|
-
*/
|
|
1592
|
-
declare const RouterLink: _RouterLinkI;
|
|
1593
|
-
/**
|
|
1594
|
-
* @internal
|
|
1595
|
-
*/
|
|
1596
|
-
type _RouterLinkPropsTypedBase = AllowedComponentProps & ComponentCustomProps & VNodeProps & RouterLinkProps;
|
|
1597
|
-
/**
|
|
1598
|
-
* @internal
|
|
1599
|
-
*/
|
|
1600
|
-
type RouterLinkPropsTyped<Custom extends boolean | undefined> = Custom extends true ? _RouterLinkPropsTypedBase & {
|
|
1601
|
-
custom: true;
|
|
1602
|
-
} : _RouterLinkPropsTypedBase & {
|
|
1603
|
-
custom?: false | undefined;
|
|
1604
|
-
} & Omit<AnchorHTMLAttributes, 'href'>;
|
|
1605
|
-
/**
|
|
1606
|
-
* Typed version of the `RouterLink` component. Its generic defaults to the typed router, so it can be inferred
|
|
1607
|
-
* automatically for JSX.
|
|
1608
|
-
*
|
|
1609
|
-
* @internal
|
|
1610
|
-
*/
|
|
1611
|
-
interface _RouterLinkI {
|
|
1612
|
-
new <Custom extends boolean | undefined = boolean | undefined>(): {
|
|
1613
|
-
$props: RouterLinkPropsTyped<Custom>;
|
|
1614
|
-
$slots: {
|
|
1615
|
-
default?: ({ route, href, isActive, isExactActive, navigate }: UnwrapRef<UseLinkReturn>) => VNode[];
|
|
1616
|
-
};
|
|
1617
|
-
};
|
|
1618
|
-
/**
|
|
1619
|
-
* Access to `useLink()` without depending on using vue-router
|
|
1620
|
-
*
|
|
1621
|
-
* @internal
|
|
1622
|
-
*/
|
|
1623
|
-
useLink: typeof useLink;
|
|
1624
|
-
}
|
|
1625
|
-
//#endregion
|
|
1626
|
-
//#region src/RouterView.d.ts
|
|
1627
1566
|
interface RouterViewProps {
|
|
1628
1567
|
name?: string;
|
|
1568
|
+
/**
|
|
1569
|
+
* Route to display instead of the current one. Nested views and `useRoute()`
|
|
1570
|
+
* in descendants also use it.
|
|
1571
|
+
*/
|
|
1629
1572
|
route?: RouteLocationNormalized;
|
|
1630
1573
|
}
|
|
1631
1574
|
/**
|
|
@@ -1642,8 +1585,6 @@ declare const RouterView: {
|
|
|
1642
1585
|
};
|
|
1643
1586
|
};
|
|
1644
1587
|
};
|
|
1645
|
-
//#endregion
|
|
1646
|
-
//#region src/index.d.ts
|
|
1647
1588
|
declare module 'vue' {
|
|
1648
1589
|
interface ComponentCustomOptions {
|
|
1649
1590
|
/**
|
|
@@ -1693,7 +1634,7 @@ declare module 'vue' {
|
|
|
1693
1634
|
}
|
|
1694
1635
|
interface GlobalComponents {
|
|
1695
1636
|
RouterView: TypesConfig extends Record<'RouterView', infer T> ? T : typeof RouterView;
|
|
1696
|
-
RouterLink: TypesConfig extends Record<'RouterLink', infer T> ? T : typeof RouterLink;
|
|
1637
|
+
RouterLink: TypesConfig extends Record<'RouterLink', infer T> ? T : typeof RouterLink$1;
|
|
1697
1638
|
}
|
|
1698
1639
|
}
|
|
1699
1640
|
/**
|
|
@@ -1715,8 +1656,6 @@ declare class NavigationResult {
|
|
|
1715
1656
|
readonly value: _DataLoaderRedirectResult;
|
|
1716
1657
|
constructor(value: _DataLoaderRedirectResult);
|
|
1717
1658
|
}
|
|
1718
|
-
//#endregion
|
|
1719
|
-
//#region src/experimental/data-loaders/createDataLoader.d.ts
|
|
1720
1659
|
/**
|
|
1721
1660
|
* Base type for a data loader entry. Each Data Loader has its own entry in the `loaderEntries` (accessible via `[LOADER_ENTRIES_KEY]`) map.
|
|
1722
1661
|
*/
|
|
@@ -1910,5 +1849,4 @@ interface UseDataLoaderResult<TData = unknown, TError = ErrorDefault> {
|
|
|
1910
1849
|
*/
|
|
1911
1850
|
reload(route: RouteLocationNormalizedLoaded): Promise<void>;
|
|
1912
1851
|
}
|
|
1913
|
-
|
|
1914
|
-
export { RouteLocationRaw as a, RouteLocationNormalizedLoaded as i, LocationQueryRaw$1 as n, RouteRecordRaw as o, RouteLocationNormalized as r, Router as s, LocationQuery$1 as t };
|
|
1852
|
+
export { RouteLocationRaw as a, RouteLocationNormalizedLoaded as i, LocationQueryRaw$1 as n, RouteRecordRaw as o, RouteLocationNormalized as r, Router as s, LocationQuery as t };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { a as legacyEvent, i as defineConsoleOperation, l as text, s as optionalText } from "../../operations-byxiZ2R2.js";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
/** The Console operation of the Workspaces section. The Console registers it only when the app has Workspaces. */
|
|
4
|
+
const workspaceConsoleOperations = [defineConsoleOperation({
|
|
5
|
+
cli: {
|
|
6
|
+
namespace: "workspaces",
|
|
7
|
+
positional: ["name"]
|
|
8
|
+
},
|
|
9
|
+
description: "Read the files, refs, and revisions of one Workspace, and its changes since main.",
|
|
10
|
+
input: v.strictObject({
|
|
11
|
+
cursor: optionalText,
|
|
12
|
+
name: v.pipe(text, v.minLength(1)),
|
|
13
|
+
path: optionalText,
|
|
14
|
+
ref: optionalText,
|
|
15
|
+
revision: optionalText
|
|
16
|
+
}),
|
|
17
|
+
kind: "read",
|
|
18
|
+
name: "workspaces.files",
|
|
19
|
+
run: async (input, context) => (await import("./workspace-files.get.js")).default(legacyEvent("workspace-files", "GET", { query: input }, context)),
|
|
20
|
+
section: "workspaces"
|
|
21
|
+
})];
|
|
22
|
+
export { workspaceConsoleOperations };
|