vite-hub 0.5.0 → 0.5.1
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/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-BBHk9b5P.js} +12 -15
- package/dist/{access-policy-CVZg9LPR.js → access-policy-BM48XstY.js} +5 -6
- package/dist/{access-policy-DhsEACna.d.ts → access-policy-CUbJLvlR.d.ts} +4 -8
- package/dist/{account-Cjj-tYzo.d.ts → account-CoAO1F8G.d.ts} +5 -7
- package/dist/{agent-invocations.post-C3Onl2yH.js → agent-invocations.post-BAC1aHnG.js} +14 -17
- package/dist/agents-BClUWOj7.js +1 -0
- package/dist/{agents-B76RICcy.js → agents-Cz_uhhov.js} +4 -5
- package/dist/{agents-C94A4N9u.d.ts → agents-Gyw4VKPt.d.ts} +0 -2
- package/dist/auth/server.js +1 -2
- package/dist/{auth-GFIN6xSJ.d.ts → auth-CeKxL2xp.d.ts} +4 -8
- package/dist/{auth-operations-GcQk0O0X.js → auth-operations-arLIY2_2.js} +1 -2
- package/dist/{auth-types-D3ugQ8xM.d.ts → auth-types-B4mq4YhK.d.ts} +0 -4
- package/dist/bin.js +8 -11
- package/dist/blob/nuxt-image.js +1 -2
- package/dist/{blob-iVewd7KQ.d.ts → blob-_TtxDb-t.d.ts} +1 -3
- package/dist/{blob-BcgsZtqM.js → blob-eH6j0AQj.js} +5 -6
- 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/{cloudflare-env-lookup-DKXdr4P_.js → cloudflare-env-lookup-DcN7pGlv.js} +1 -2
- package/dist/cms.js +1 -2
- package/dist/console/auth-types.d.ts +1 -1
- package/dist/console/auth.d.ts +1 -3
- package/dist/console/auth.js +2 -3
- package/dist/console/runtime/auth-operations.d.ts +1 -3
- 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/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 +6 -4
- package/dist/console/runtime/client/mcp-client.js +12 -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 +1 -1
- 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 +40 -12
- package/dist/console/runtime/client/site-access.js +152 -32
- package/dist/console/runtime/client/stored.d.ts +1 -3
- package/dist/console/runtime/client/stored.js +1 -2
- package/dist/console/runtime/client/ticket.d.ts +1 -1
- package/dist/console/runtime/client/ticket.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-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/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 +7 -0
- package/dist/console/runtime/mcp-client.d.ts +1 -1
- package/dist/console/runtime/mcp-client.js +1 -2
- package/dist/console/runtime/page/loader.js +22 -21
- 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 +1 -1
- 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/agents.get.d.ts +2 -3
- package/dist/console/runtime/server/agents.get.js +3 -4
- package/dist/console/runtime/server/auth.d.ts +1 -1
- package/dist/console/runtime/server/auth.js +4 -5
- package/dist/console/runtime/server/blob.d.ts +1 -1
- package/dist/console/runtime/server/blob.js +1 -2
- package/dist/console/runtime/server/channel-replay.d.ts +3 -5
- package/dist/console/runtime/server/channel-replay.js +5 -6
- package/dist/console/runtime/server/database.d.ts +1 -1
- package/dist/console/runtime/server/database.get.d.ts +2 -3
- package/dist/console/runtime/server/database.get.js +4 -5
- 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 +1 -1
- package/dist/console/runtime/server/documents.js +2 -2
- package/dist/console/runtime/server/env.d.ts +1 -3
- package/dist/console/runtime/server/env.get.d.ts +2 -4
- package/dist/console/runtime/server/env.get.js +7 -8
- package/dist/console/runtime/server/env.js +1 -2
- package/dist/console/runtime/server/invocation-capabilities.get.d.ts +1 -3
- package/dist/console/runtime/server/invocation-capabilities.get.js +4 -5
- package/dist/console/runtime/server/invocation-workspace.get.d.ts +3 -5
- package/dist/console/runtime/server/invocation-workspace.get.js +6 -7
- package/dist/console/runtime/server/invocation.get.d.ts +3 -5
- package/dist/console/runtime/server/invocation.get.js +8 -9
- package/dist/console/runtime/server/invocations.get.d.ts +1 -2
- package/dist/console/runtime/server/invocations.get.js +5 -6
- package/dist/console/runtime/server/logs.get.d.ts +3 -5
- package/dist/console/runtime/server/logs.get.js +7 -8
- package/dist/console/runtime/server/mcp-client-operations.d.ts +2 -4
- package/dist/console/runtime/server/mcp-client-operations.js +5 -7
- 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/page-auth.d.ts +2 -4
- package/dist/console/runtime/server/page-auth.js +1 -2
- package/dist/console/runtime/server/page-tool.d.ts +1 -1
- package/dist/console/runtime/server/page-tool.js +5 -5
- package/dist/console/runtime/server/page-tools-route.d.ts +1 -1
- package/dist/console/runtime/server/page-tools-route.js +2 -3
- package/dist/console/runtime/server/rpc.d.ts +3 -5
- package/dist/console/runtime/server/rpc.js +12 -13
- package/dist/console/runtime/server/runtime.d.ts +1 -1
- package/dist/console/runtime/server/runtime.js +1 -2
- package/dist/console/runtime/server/search.get.d.ts +1 -3
- package/dist/console/runtime/server/search.get.js +3 -5
- 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 +4 -4
- package/dist/console/runtime/server/setup.js +4 -4
- package/dist/console/runtime/server/site-entry.d.ts +1 -3
- package/dist/console/runtime/server/site-entry.js +9 -10
- package/dist/console/runtime/server/site-session.d.ts +3 -4
- package/dist/console/runtime/server/site-session.js +1 -2
- package/dist/console/runtime/server/status.get.d.ts +2 -4
- package/dist/console/runtime/server/status.get.js +6 -7
- package/dist/console/runtime/server/tickets.d.ts +1 -1
- package/dist/console/runtime/server/tickets.js +1 -2
- package/dist/console/runtime/server/usage.get.d.ts +2 -4
- package/dist/console/runtime/server/usage.get.js +8 -9
- package/dist/console/runtime/server/workspace-files.get.d.ts +3 -5
- package/dist/console/runtime/server/workspace-files.get.js +4 -5
- package/dist/console/runtime/site-access.d.ts +1 -1
- package/dist/console/runtime/site-access.js +1 -2
- package/dist/console/runtime/skills.d.ts +1 -3
- package/dist/console/runtime/skills.js +1 -2
- package/dist/console/server.d.ts +7 -11
- 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.d.ts +1 -3
- package/dist/console.js +1 -2
- package/dist/{database-DC67Ipm-.d.ts → database-CPjZ3L0g.d.ts} +1 -3
- package/dist/{database-UMJgnU2z.js → database-CrgBUdIx.js} +3 -4
- 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-Dbgxfz3I.d.ts → definitions-DRkgHKmk.d.ts} +1 -3
- package/dist/{definitions-DTytrw42.js → definitions-M7i2p8SR.js} +5 -6
- 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-DBq-isgi.js} +3 -5
- 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-B2cqlCSz.js} +2 -2
- package/dist/{diagnostics-CjGiniKb.d.ts → diagnostics-BXxPggRw.d.ts} +1 -3
- package/dist/docs/nuxt.js +1 -2
- package/dist/doctor.d.ts +0 -6
- package/dist/doctor.js +11492 -12152
- package/dist/{documents-BewAPY61.js → documents-BOYwZ5g4.js} +7 -8
- package/dist/{documents-B4R4JSfH.js → documents-Ck_iub9w.js} +4 -5
- package/dist/{documents-BASIRZ91.d.ts → documents-DxK0tdjA.d.ts} +3 -5
- package/dist/{documents-BDR0AkYR.d.ts → documents-LtkKCxtu.d.ts} +4 -8
- 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/{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-CKocv79I.d.ts} +3 -7
- package/dist/{invariant-DolT9EEx.js → invariant-Dj2R1eMr.js} +1 -2
- package/dist/{invocation-page-undo-DqYcPlkQ.js → invocation-page-undo-BEi-rO0Q.js} +4 -5
- package/dist/{invocations-6jxqLkGY.js → invocations-8NThe8Bx.js} +5 -6
- 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/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/{mcp-client-CTbTbn7d.js → mcp-client-Bkh-khvr.js} +1 -2
- package/dist/{mcp-client-C91h8Taa.js → mcp-client-DiObFpDS.js} +35 -22
- package/dist/{mcp-client-C_sEmyQw.d.ts → mcp-client-Q2XbUXuP.d.ts} +1 -4
- package/dist/{media-uKX4Wy-c.d.ts → media-C79RB1oH.d.ts} +0 -2
- package/dist/{media-D3OfyKni.js → media-CAKz9yrp.js} +8 -9
- package/dist/{media-library-o8RRsnn_.js → media-library-BDX89xXA.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 +184 -130
- package/dist/{object-D8pRdprI.js → object-DRSmpe04.js} +1 -2
- package/dist/{operation-contributions-CrdmqtJW.d.ts → operation-contributions-BCcQVlGb.d.ts} +1 -3
- package/dist/{operation-contributions-C3lwePQu.js → operation-contributions-D10pjkJF.js} +4 -5
- package/dist/{operation-definition-DxjKcCGm.js → operation-definition-DTpNvLd8.js} +5 -8
- 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-CFYGXqLm.js → operations-CD_mu_Ww.js} +4 -5
- package/dist/operations-D7ENc68Y.js +1 -0
- package/dist/{operations-TTjL_7Zc.d.ts → operations-DgFhA1WE.d.ts} +0 -4
- package/dist/{operations-ChEXk2ij.js → operations-vRLiH7dh.js} +15 -16
- package/dist/{optional-owners-O6sj4uoj.js → optional-owners-DAfShdgV.js} +4 -5
- 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-tool-PmxH65gt.d.ts → page-tool-BUnUbuSy.d.ts} +4 -6
- package/dist/{page-tools-ClgqElu-.js → page-tools-BQzwuAHD.js} +5 -7
- package/dist/{page-tools-DcCCtDKi.d.ts → page-tools-UwsfvH-B.d.ts} +0 -2
- package/dist/{page-tools-shared-aNC9YtoI.js → page-tools-shared-hJcG_xk8.js} +2 -2
- package/dist/{pathe.M-eThtNZ-J4gfe1m9.js → pathe.M-eThtNZ-D4EC7Wue.js} +1 -2
- package/dist/{plugins-DoXnU6-s.d.ts → plugins-BpiTVULl.d.ts} +3 -101
- package/dist/{plugins-BTZQaFtZ.js → plugins-H6-MQrsn.js} +1544 -1087
- package/dist/presets/workspace.js +1 -2
- package/dist/{project-DXZRZEPX.js → project-BxyyclTE.js} +8 -9
- package/dist/{project-Dgyq1F1V.d.ts → project-DKBIHOf4.d.ts} +3 -7
- package/dist/{project-DlWTGB7h.js → project-DRC67Uiu.js} +1 -2
- package/dist/{project-link-DT99MoyU.js → project-link-CeS0T8Pr.js} +7 -8
- package/dist/{project-link-bNS-KROO.d.ts → project-link-isfdRO3Q.d.ts} +2 -4
- package/dist/{project-root-v6ba4tn7.js → project-root-mAVQGZTX.js} +1 -2
- package/dist/project-session--GN7MduT.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-D7h3SQ92.d.ts → request-BC_krbEr.d.ts} +2 -4
- package/dist/{request-SBLxvpyr.d.ts → request-CJCPyu2B.d.ts} +2 -3
- package/dist/{request-CMA2UKKq.js → request-CQ8TkHLh.js} +4 -5
- package/dist/{request-Cs0FqxEL.js → request-Cl68STwT.js} +7 -8
- 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/{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-B_btezs1.d.ts → runtime-Cf8R1Ztr.d.ts} +0 -2
- package/dist/{runtime-DxfJOfCd.js → runtime-CyPZMiyK.js} +2 -3
- package/dist/{runtime-CX_l_78I.js → runtime-F0CTqBFx.js} +5 -6
- package/dist/{runtime-feature-guard-CuyPVGj9.js → runtime-feature-guard-DpUn4Oxc.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/{secret-DELGKpCJ.js → secret-D2KL_o2h.js} +2 -3
- package/dist/{sections-Do7X4Nwt.d.ts → sections-0qrBvGbf.d.ts} +0 -4
- package/dist/{sections-C83x0slv.js → sections-BNTdIEJw.js} +2 -3
- package/dist/{sections-BogiCmtz.d.ts → sections-BTfWK14a.d.ts} +4 -6
- package/dist/{sections-DumoLKQN.js → sections-BiCOk9qP.js} +1 -2
- package/dist/sections-DAtgYMVz.d.ts +8 -0
- package/dist/{sections-BKUReack.js → sections-HLxb9MrG.js} +14 -7
- package/dist/{sections.get-H46e2urg.d.ts → sections.get-CGmtYmfu.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/{server-W0c79AYZ.js → server-DsOEa4_A.js} +3 -4
- package/dist/{setup-BC0P3eZy.d.ts → setup-Ca7jtBLS.d.ts} +4 -6
- package/dist/{setup-DNGzawFn.js → setup-DQz_i-ee.js} +3 -4
- package/dist/{site-access-L1qbvKt6.js → site-access-1JIQjY11.js} +8 -9
- package/dist/{site-access-DxfdOel1.d.ts → site-access-CUXIbbbR.d.ts} +0 -2
- package/dist/{site-access-BycrwM2v.js → site-access-CmaZ-oaL.js} +1 -2
- package/dist/site-access-Cvmjb6aw.js +1 -0
- package/dist/{site-session-CRwgKtTF.js → site-session-D36fr7Wf.js} +8 -11
- 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-DAooGWy5.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/{ticket-Pr_8ZtXW.d.ts → ticket-BFWwevWN.d.ts} +0 -2
- package/dist/{ticket-DtBAstEU.js → ticket-BwsnryuU.js} +2 -3
- package/dist/{tickets-DahBmKDT.js → tickets-Cj9_y3gw.js} +10 -11
- package/dist/ui/vite.js +1 -2
- package/dist/{usage-CoQXs5nW.d.ts → usage-BduF04ks.d.ts} +0 -2
- package/dist/{usage-jKtAgJZ0.js → usage-ZV3TBMzE.js} +3 -4
- package/dist/{usage-index-VJAZ7a0p.js → usage-index-CR_xTrXO.js} +3 -4
- package/dist/{version-dkga9imp.js → version-CAhBr673.js} +13 -16
- 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-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 +144 -144
- package/dist/agents-BhFggA26.js +0 -2
- package/dist/cli-config-g_mbWdjT.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/features-ujWsvlEH.js +0 -2
- package/dist/operations-5Lwd1xEI.js +0 -2
- package/dist/scan-module-D_3X08mj.js +0 -2
- package/dist/sections-CFiMNsqu.d.ts +0 -10
- package/dist/site-access-CAiWyKOD.js +0 -2
package/dist/seo.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SitemapEntry, r as defineSitemap, t as SitemapEntries } from "./seo-
|
|
1
|
+
import { n as SitemapEntry, r as defineSitemap, t as SitemapEntries } from "./seo-CgW5uI9L.js";
|
|
2
2
|
export { SitemapEntries, SitemapEntry, defineSitemap };
|
package/dist/seo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/seo.ts
|
|
2
2
|
/**
|
|
3
3
|
* The default export of `server/sitemap.ts`: pages that ViteHub cannot find by itself, such as one page for each
|
|
4
4
|
* product in the Database. `vitehub({ seo: { sitemap: true } })` adds them to `/sitemap.xml`.
|
|
@@ -13,5 +13,4 @@
|
|
|
13
13
|
function defineSitemap(entries) {
|
|
14
14
|
return entries;
|
|
15
15
|
}
|
|
16
|
-
//#endregion
|
|
17
16
|
export { defineSitemap };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { o as encodeAgentRouteParam } from "./console-route-DbdnLkkF.js";
|
|
2
|
+
import { t as viteHubErrorDiagnostics } from "./error-diagnostics-CBtvqI30.js";
|
|
3
3
|
import { resolvePublicUrl } from "@vite-hub/runtime";
|
|
4
4
|
import { consoleInvocationUrl } from "@vite-hub/runtime/internal/console";
|
|
5
|
-
|
|
5
|
+
// src/console/server.ts
|
|
6
6
|
const agentConsole = { resolve(context) {
|
|
7
7
|
return { invocationUrl(invocation) {
|
|
8
8
|
if (typeof invocation.agentName !== "string" || typeof invocation.id !== "string") throw viteHubErrorDiagnostics.VITE_HUB_R0074({ message: "[vitehub] Console invocation URLs require an invocation with agentName and id." });
|
|
@@ -15,5 +15,4 @@ const agentConsole = { resolve(context) {
|
|
|
15
15
|
return consoleInvocationUrl(origin, invocation.agentName, invocation.id);
|
|
16
16
|
} };
|
|
17
17
|
} };
|
|
18
|
-
//#endregion
|
|
19
18
|
export { agentConsole as t };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { t as ConsoleProjectBuild } from "./project-
|
|
2
|
-
import { a as ConsoleSectionId } from "./sections-
|
|
3
|
-
import "./access-policy-
|
|
4
|
-
import "./development-
|
|
5
|
-
//#region src/console/runtime/server/setup.d.ts
|
|
1
|
+
import { t as ConsoleProjectBuild } from "./project-DKBIHOf4.js";
|
|
2
|
+
import { a as ConsoleSectionId } from "./sections-0qrBvGbf.js";
|
|
3
|
+
import "./access-policy-CUbJLvlR.js";
|
|
4
|
+
import "./development-I40mfD7B.js";
|
|
6
5
|
declare function installConsoleSiteDatabase(load: () => Promise<Record<string, {
|
|
7
6
|
db: object;
|
|
8
7
|
}>>, preferredName?: string): void;
|
|
@@ -12,5 +11,4 @@ declare function installConsoleBuild(build: ConsoleProjectBuild): ConsoleProject
|
|
|
12
11
|
/** Generated output installs the `vite-hub` version that the app built with, for `project.get`. */
|
|
13
12
|
declare function installConsoleVersion(version: string): string;
|
|
14
13
|
declare function installConsoleProjectName(projectRoot: string, projectName: string): string;
|
|
15
|
-
//#endregion
|
|
16
14
|
export { installConsoleVersion as a, installConsoleSiteDatabase as i, installConsoleProjectName as n, installConsoleSections as r, installConsoleBuild as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { t as installConsoleProjectRoot } from "./project-root-mAVQGZTX.js";
|
|
2
|
+
import { n as consoleState } from "./internal-0C_CC601.js";
|
|
3
|
+
// src/console/runtime/server/setup.ts
|
|
4
4
|
function installConsoleSiteDatabase(load, preferredName) {
|
|
5
5
|
consoleState().siteDatabase = async () => {
|
|
6
6
|
const databases = await load();
|
|
@@ -30,5 +30,4 @@ function installConsoleProjectName(projectRoot, projectName) {
|
|
|
30
30
|
installConsoleProjectRoot(projectRoot);
|
|
31
31
|
return consoleState().projectName = projectName;
|
|
32
32
|
}
|
|
33
|
-
//#endregion
|
|
34
33
|
export { installConsoleVersion as a, installConsoleSiteDatabase as i, installConsoleProjectName as n, installConsoleSections as r, installConsoleBuild as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "./
|
|
5
|
-
import { a as
|
|
6
|
-
import { a as
|
|
7
|
-
import
|
|
8
|
-
|
|
1
|
+
import { a as viteHubPageGrants } from "./page-tools-BQzwuAHD.js";
|
|
2
|
+
import { d as viteHubPageToolsResetCookie, p as viteHubSessionMarkerCookie, u as viteHubPageToolsQuery } from "./page-tools-shared-hJcG_xk8.js";
|
|
3
|
+
import { f as readConsoleAccessGrants, m as readConsoleOperationUser } from "./access-BBHk9b5P.js";
|
|
4
|
+
import { i as consoleRequestError } from "./request-CQ8TkHLh.js";
|
|
5
|
+
import { a as listConsoleSiteSessions, c as requireConsoleSiteKey, l as revokeConsoleSiteSession, o as openConsoleSiteSession, r as consoleSiteKV } from "./site-session-D36fr7Wf.js";
|
|
6
|
+
import { a as base64url, f as seeOther, i as authFailure, m as ticketProblem, n as appOrigin, o as consoleInvitePrefix, r as authConsole, s as consoleRecordStore, t as appBase, u as issueConsoleTicket } from "./tickets-Cj9_y3gw.js";
|
|
7
|
+
import "./site-access-CmaZ-oaL.js";
|
|
8
|
+
// src/console/runtime/server/site-access.ts
|
|
9
9
|
/**
|
|
10
10
|
* Site access: the Console signs browsers in to the app, so the page tools work there without a password.
|
|
11
11
|
*
|
|
@@ -289,5 +289,4 @@ function listGrants() {
|
|
|
289
289
|
membersOnly: true
|
|
290
290
|
}, ...viteHubPageGrants()] };
|
|
291
291
|
}
|
|
292
|
-
//#endregion
|
|
293
292
|
export { listSessions as a, revokeSession as c, listInvites as i, withPageTools as l, linkSite as n, openSiteSession as o, listGrants as r, revokeInvite as s, inviteGuest as t };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/console/runtime/site-access.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Site access: the browsers that the Console signed in to the app, so the page tools work there, and the guest invites
|
|
4
3
|
* that sign them in. The server answers these operations in `server/site-access.ts`; the Console section reads them.
|
|
@@ -51,5 +50,4 @@ interface SiteGrant {
|
|
|
51
50
|
description?: string;
|
|
52
51
|
membersOnly?: true;
|
|
53
52
|
}
|
|
54
|
-
//#endregion
|
|
55
53
|
export { siteStateCookie as a, siteAccessOperations as i, SiteInvite as n, SiteSession as r, SiteGrant as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/console/runtime/site-access.ts
|
|
2
2
|
/**
|
|
3
3
|
* Site access: the browsers that the Console signed in to the app, so the page tools work there, and the guest invites
|
|
4
4
|
* that sign them in. The server answers these operations in `server/site-access.ts`; the Console section reads them.
|
|
@@ -14,5 +14,4 @@ const siteAccessOperations = {
|
|
|
14
14
|
};
|
|
15
15
|
/** The cookie of `GET /_vitehub` that binds a Site access link to the browser that opened that route. */
|
|
16
16
|
const siteStateCookie = "__Host-vitehub-site-state";
|
|
17
|
-
//#endregion
|
|
18
17
|
export { siteStateCookie as n, siteAccessOperations as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as inviteGuest, n as linkSite, r as listGrants, i as listInvites, a as listSessions, o as openSiteSession, s as revokeInvite, c as revokeSession, l as withPageTools } from "./site-access-1JIQjY11.js";
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { n as getActiveCloudflareEnv, t as activeEnvStorageKey } from "./cloudflare-env-lookup-DcN7pGlv.js";
|
|
2
|
+
import { r as readViteHubSecret, t as deriveViteHubSecret } from "./secret-D2KL_o2h.js";
|
|
3
|
+
import { n as consoleState } from "./internal-0C_CC601.js";
|
|
4
|
+
import { c as isConsoleDevelopmentRuntime, i as consoleRequestError } from "./request-CQ8TkHLh.js";
|
|
5
|
+
import { r as getConsoleSections } from "./sections-BNTdIEJw.js";
|
|
6
6
|
import { importSealKey, sealWithKey, unsealWithKey } from "@vite-hub/env/seal";
|
|
7
7
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8
|
-
|
|
8
|
+
// ../internal/src/runtime/cloudflare-env.ts
|
|
9
9
|
const runtimeGlobal = globalThis;
|
|
10
10
|
runtimeGlobal[activeEnvStorageKey] ||= new AsyncLocalStorage();
|
|
11
11
|
function getActiveCloudflareBinding(name) {
|
|
12
12
|
const env = getActiveCloudflareEnv();
|
|
13
13
|
return env && Object.hasOwn(env, name) ? env[name] : void 0;
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
//#region ../internal/src/runtime/user-agent.ts
|
|
15
|
+
// ../internal/src/runtime/user-agent.ts
|
|
17
16
|
/** A short device label of a browser, such as `Chrome · macOS`, for lists of sessions. It never shows the user agent itself. */
|
|
18
17
|
function userAgentDevice(userAgent) {
|
|
19
18
|
return `${/Edg\//.test(userAgent) ? "Edge" : /Firefox\//.test(userAgent) ? "Firefox" : /Chrome\//.test(userAgent) ? "Chrome" : /Safari\//.test(userAgent) ? "Safari" : "Unknown browser"} · ${/iPhone|iPad/.test(userAgent) ? "iOS" : /Android/.test(userAgent) ? "Android" : /Windows/.test(userAgent) ? "Windows" : /Macintosh/.test(userAgent) ? "macOS" : /Linux/.test(userAgent) ? "Linux" : "Unknown device"}`;
|
|
20
19
|
}
|
|
21
|
-
|
|
22
|
-
//#region src/console/runtime/server/site-session.ts
|
|
20
|
+
// src/console/runtime/server/site-session.ts
|
|
23
21
|
/** The cookie of a browser that Site access signed in, in an app without Auth. */
|
|
24
22
|
const consoleSiteCookie = "vitehub_site";
|
|
25
23
|
/** Seconds that the browser stays signed in, as Better Auth's default session. */
|
|
@@ -296,5 +294,4 @@ async function revokeConsoleSiteSession(id) {
|
|
|
296
294
|
unwrap(await kv.delete(key));
|
|
297
295
|
return { guest: record.kind === "guest" };
|
|
298
296
|
}
|
|
299
|
-
//#endregion
|
|
300
297
|
export { listConsoleSiteSessions as a, requireConsoleSiteKey as c, consoleSiteLifetime as i, revokeConsoleSiteSession as l, consoleSiteEntries as n, openConsoleSiteSession as o, consoleSiteKV as r, readConsoleSiteVisitor as s, consoleSiteCookie as t, setConsoleSiteKV as u };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { n as AnyOperation } from "../operations-
|
|
2
|
-
//#region src/skills/runtime.d.ts
|
|
1
|
+
import { n as AnyOperation } from "../operations-DgFhA1WE.js";
|
|
3
2
|
/** One skill that the app serves, as the Console and `vitehub served-skills` show it. */
|
|
4
3
|
interface ServedSkillSummary {
|
|
5
4
|
/** The skill name. The Console lists rows by `id`. */
|
|
@@ -9,9 +8,6 @@ interface ServedSkillSummary {
|
|
|
9
8
|
enabled: boolean;
|
|
10
9
|
files: number;
|
|
11
10
|
}
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region src/skills/operations.d.ts
|
|
14
11
|
/** The `served-skills.*` operations: list and set. The Console, `vitehub served-skills`, and agents run them. */
|
|
15
12
|
export declare const servedSkillsOperations: readonly AnyOperation[];
|
|
16
|
-
//#endregion
|
|
17
13
|
export type { ServedSkillSummary };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as defineOperation } from "../operation-definition-
|
|
2
|
-
import { _ as table } from "../operations-
|
|
1
|
+
import { t as defineOperation } from "../operation-definition-DTpNvLd8.js";
|
|
2
|
+
import { _ as table } from "../operations-CD_mu_Ww.js";
|
|
3
3
|
import * as v from "valibot";
|
|
4
|
-
|
|
5
|
-
const runtime = () => import("../runtime-
|
|
4
|
+
// src/skills/operations.ts
|
|
5
|
+
const runtime = () => import("../runtime-CAbuQGMP.js");
|
|
6
6
|
function defineServedSkillsOperation(definition) {
|
|
7
7
|
return defineOperation({
|
|
8
8
|
...definition,
|
|
@@ -47,5 +47,4 @@ const servedSkillsOperations = [defineServedSkillsOperation({
|
|
|
47
47
|
name: "served-skills.set",
|
|
48
48
|
run: async ({ name, enabled }) => (await runtime()).setServedSkill(name, enabled)
|
|
49
49
|
})];
|
|
50
|
-
//#endregion
|
|
51
50
|
export { servedSkillsOperations };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineErrors } from "@vite-hub/runtime";
|
|
2
2
|
import { parseYAML } from "confbox/yaml";
|
|
3
|
-
|
|
3
|
+
// src/skills.ts
|
|
4
4
|
/**
|
|
5
5
|
* Agent Skills that an app gives to coding agents. One list feeds every surface:
|
|
6
6
|
*
|
|
@@ -496,5 +496,4 @@ function skillSettings(skills, options) {
|
|
|
496
496
|
skills
|
|
497
497
|
};
|
|
498
498
|
}
|
|
499
|
-
//#endregion
|
|
500
499
|
export { skillArchive as a, skillsMcp as c, serveSkills as i, defineSkills as n, skillDigest as o, isSkillSettings as r, skillSettings as s, defineSkill as t };
|
package/dist/skills.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Result } from "@vite-hub/runtime";
|
|
2
|
-
//#region src/skills.d.ts
|
|
3
2
|
/** The codes of `vite-hub/skills`. Each has a row in the Errors table of https://vitehub.dev/docs/console/skills. */
|
|
4
3
|
export type SkillErrorCode = "SKILL_DUPLICATE_NAME" | "SKILL_FILE_MISSING" | "SKILL_INVALID_FRONTMATTER" | "SKILL_INVALID_PATH" | "SKILL_NOT_FOUND" | "SKILL_SETTINGS_UNAVAILABLE";
|
|
5
4
|
/** One file of a skill. */
|
|
@@ -194,4 +193,4 @@ export declare function isSkillSettings(value: unknown): value is SkillSettings;
|
|
|
194
193
|
* Console section **Served skills** and `vitehub served-skills` show and change the switches.
|
|
195
194
|
*/
|
|
196
195
|
export declare function skillSettings<TSkill extends Skill>(skills: SkillList<TSkill>, options: SkillSettingsOptions): SkillSettings<TSkill>;
|
|
197
|
-
|
|
196
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { c as getConsoleAgents, s as getConsoleAgentDefinition } from "./agents-Cz_uhhov.js";
|
|
2
|
+
import { i as consoleRequestError } from "./request-CQ8TkHLh.js";
|
|
3
3
|
import { inspectAgentSkillFiles } from "@vite-hub/agent/server/internal";
|
|
4
|
-
|
|
4
|
+
// src/console/runtime/server/skills.get.ts
|
|
5
5
|
const maxFileBytes = 524288;
|
|
6
6
|
function skillFiles(agent) {
|
|
7
7
|
const definition = getConsoleAgentDefinition(agent, "inspect");
|
|
@@ -44,5 +44,4 @@ async function inspectConsoleSkills(input) {
|
|
|
44
44
|
}))
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
//#endregion
|
|
48
47
|
export { inspectConsoleSkills };
|
package/dist/skills.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { defineSkill, defineSkills, isSkillSettings, serveSkills, skillArchive, skillDigest, skillSettings, skillsMcp };
|
|
1
|
+
export { t as defineSkill, n as defineSkills, r as isSkillSettings, i as serveSkills, a as skillArchive, o as skillDigest, s as skillSettings, c as skillsMcp } from "./skills-C1MaGEbO.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as viteHubErrorDiagnostics } from "./error-diagnostics-
|
|
1
|
+
import { t as viteHubErrorDiagnostics } from "./error-diagnostics-CBtvqI30.js";
|
|
2
2
|
import * as v from "valibot";
|
|
3
|
-
|
|
3
|
+
// src/logs/source.ts
|
|
4
4
|
const logLevelSchema = v.picklist([
|
|
5
5
|
"debug",
|
|
6
6
|
"info",
|
|
@@ -56,5 +56,4 @@ function isLogCursorExpiredError(error) {
|
|
|
56
56
|
function parseLogQuery(input) {
|
|
57
57
|
return v.parse(logQuerySchema, input);
|
|
58
58
|
}
|
|
59
|
-
//#endregion
|
|
60
59
|
export { logPageSchema as a, parseLogQuery as c, logLevelSchema as i, logCursorExpiredError as n, logQuerySchema as o, logEntrySchema as r, logSourceInfoSchema as s, isLogCursorExpiredError as t };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Diagnostic } from "nostics";
|
|
2
2
|
import * as v from "valibot";
|
|
3
|
-
//#region src/logs/source.d.ts
|
|
4
3
|
type LogLevel = "debug" | "info" | "warn" | "error";
|
|
5
4
|
interface LogEntry {
|
|
6
5
|
id: string;
|
|
@@ -55,5 +54,4 @@ declare function logCursorExpiredError(): Diagnostic;
|
|
|
55
54
|
declare function isLogCursorExpiredError(error: unknown): boolean;
|
|
56
55
|
/** Validate once at the transport boundary. Adapters must reject filters they cannot apply. */
|
|
57
56
|
declare function parseLogQuery(input: unknown): v.InferOutput<typeof logQuerySchema>;
|
|
58
|
-
//#endregion
|
|
59
57
|
export { LogSource as a, logCursorExpiredError as c, logPageSchema as d, logQuerySchema as f, LogQuery as i, logEntrySchema as l, parseLogQuery as m, LogLevel as n, LogSourceInfo as o, logSourceInfoSchema as p, LogPage as r, isLogCursorExpiredError as s, LogEntry as t, logLevelSchema as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { effectScope, watch } from "vue";
|
|
2
2
|
import { useStoredData } from "@vite-hub/device/vue";
|
|
3
|
-
|
|
3
|
+
// src/console/runtime/client/stored.ts
|
|
4
4
|
/**
|
|
5
5
|
* The version of the answers that the Console keeps on the device. Change it when the shape of a stored answer changes,
|
|
6
6
|
* so the next visit does not show an answer of the old shape.
|
|
@@ -36,5 +36,4 @@ function readStored(key, loader, options = {}) {
|
|
|
36
36
|
stop: () => scope.stop()
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
//#endregion
|
|
40
39
|
export { readStored as a, consoleProjectKey as i, consoleAppCheckKey as n, consoleDeviceVersion as r, consoleAccountKey as t };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { n as AnyOperation } from "../operations-
|
|
2
|
-
//#region src/task/runtime.d.ts
|
|
1
|
+
import { n as AnyOperation } from "../operations-DgFhA1WE.js";
|
|
3
2
|
/** One task that the Nitro runtime registers. */
|
|
4
3
|
interface TaskSummary {
|
|
5
4
|
description?: string;
|
|
@@ -14,9 +13,6 @@ interface TaskRunResult {
|
|
|
14
13
|
/** The `result` field that the task returns. */
|
|
15
14
|
result?: unknown;
|
|
16
15
|
}
|
|
17
|
-
//#endregion
|
|
18
|
-
//#region src/task/operations.d.ts
|
|
19
16
|
/** The `task.*` operations: list and run. The Console, `vitehub task`, and agents run them. */
|
|
20
17
|
export declare const taskOperations: readonly AnyOperation[];
|
|
21
|
-
//#endregion
|
|
22
18
|
export type { TaskListResult, TaskRunResult };
|
package/dist/task/operations.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as defineOperation } from "../operation-definition-
|
|
1
|
+
import { t as defineOperation } from "../operation-definition-DTpNvLd8.js";
|
|
2
2
|
import * as v from "valibot";
|
|
3
|
-
|
|
4
|
-
const runtime = () => import("../runtime-
|
|
3
|
+
// src/task/operations.ts
|
|
4
|
+
const runtime = () => import("../runtime-F0CTqBFx.js");
|
|
5
5
|
function defineTaskOperation(definition) {
|
|
6
6
|
return defineOperation({
|
|
7
7
|
...definition,
|
|
@@ -32,5 +32,4 @@ const taskOperations = [defineTaskOperation({
|
|
|
32
32
|
name: "task.run",
|
|
33
33
|
run: async ({ name, payload }) => (await runtime()).runNamedTask(name, payload)
|
|
34
34
|
})];
|
|
35
|
-
//#endregion
|
|
36
35
|
export { taskOperations };
|
package/dist/test/register.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as viteHubErrorDiagnostics } from "../error-diagnostics-
|
|
1
|
+
import { t as viteHubErrorDiagnostics } from "../error-diagnostics-CBtvqI30.js";
|
|
2
2
|
import { register } from "node:module";
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
import { mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
@@ -6,7 +6,7 @@ import { fileURLToPath } from "node:url";
|
|
|
6
6
|
import { spawn } from "node:child_process";
|
|
7
7
|
import { setTimeout } from "node:timers/promises";
|
|
8
8
|
import { Worker, isMainThread } from "node:worker_threads";
|
|
9
|
-
|
|
9
|
+
// src/test/register.ts
|
|
10
10
|
/**
|
|
11
11
|
* `node --import vite-hub/test/register --test` gives app tests the modules that `vitehub()` generates, as Vitest does.
|
|
12
12
|
* One Vite server of the app answers the module hooks. `node --test` runs each test file in its own process, and only
|
|
@@ -64,5 +64,4 @@ if (isMainThread) {
|
|
|
64
64
|
await import("vitehub-test:setup");
|
|
65
65
|
started?.worker.unref();
|
|
66
66
|
}
|
|
67
|
-
//#endregion
|
|
68
67
|
export {};
|
package/dist/test.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SerializedResponse } from "@vite-hub/runtime";
|
|
2
|
-
//#region src/internal/test-types.d.ts
|
|
3
2
|
interface DeliverChannelOptions {
|
|
4
3
|
/** The Agent name in the webhook URL and in each run. Defaults to `agent`. */
|
|
5
4
|
agentName?: string;
|
|
@@ -109,8 +108,6 @@ interface TestSignIn {
|
|
|
109
108
|
[field: string]: unknown;
|
|
110
109
|
};
|
|
111
110
|
}
|
|
112
|
-
//#endregion
|
|
113
|
-
//#region src/test.d.ts
|
|
114
111
|
export interface ViteHubTestOptions {
|
|
115
112
|
/** The app folder that has `server/`. Database reads its migrations from there. Defaults to the current folder. */
|
|
116
113
|
root?: string;
|
|
@@ -171,5 +168,4 @@ export interface ViteHubTest {
|
|
|
171
168
|
* `reset()` empties, so a test runs the app's own server code with no mocks and no provider account.
|
|
172
169
|
*/
|
|
173
170
|
export declare function setupViteHubTest(options?: ViteHubTestOptions): ViteHubTest;
|
|
174
|
-
//#endregion
|
|
175
171
|
export type { DeliverChannelOptions, SignInTestUser, TestSignIn };
|
package/dist/test.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { enableViteHubTestMode } from "@vite-hub/runtime/internal/test-mode-setup";
|
|
2
|
-
|
|
2
|
+
// src/test.ts
|
|
3
3
|
/**
|
|
4
4
|
* Turns on test mode for this test file. KV, Blob, Database, Queue, Workflow, Email, Rate Limit, and Auth then use local backends that
|
|
5
5
|
* `reset()` empties, so a test runs the app's own server code with no mocks and no provider account.
|
|
@@ -45,5 +45,4 @@ function setupViteHubTest(options = {}) {
|
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
//#endregion
|
|
49
48
|
export { setupViteHubTest };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/console/runtime/client/ticket.d.ts
|
|
2
1
|
/** The answer of an operation that returns a one-time link. Mirrors `ConsoleTicket` of the server. */
|
|
3
2
|
interface ConsoleTicketLink {
|
|
4
3
|
url: string;
|
|
@@ -10,5 +9,4 @@ interface ConsoleTicketLink {
|
|
|
10
9
|
* Console through `opener`. When the browser blocks the tab, this tab goes to the link.
|
|
11
10
|
*/
|
|
12
11
|
declare function openConsoleTicket(request: () => Promise<unknown>): Promise<void>;
|
|
13
|
-
//#endregion
|
|
14
12
|
export { openConsoleTicket as n, ConsoleTicketLink as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ConsoleRequestError } from "./request-
|
|
2
|
-
|
|
1
|
+
import { t as ConsoleRequestError } from "./request-Cl68STwT.js";
|
|
2
|
+
// src/console/runtime/client/ticket.ts
|
|
3
3
|
function isTab(value) {
|
|
4
4
|
return typeof value === "object" && value !== null && "close" in value && "location" in value;
|
|
5
5
|
}
|
|
@@ -27,5 +27,4 @@ async function openConsoleTicket(request) {
|
|
|
27
27
|
throw error;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
//#endregion
|
|
31
30
|
export { openConsoleTicket as t };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as operationRpcPath } from "./operation-rpc-
|
|
2
|
-
import { r as consoleDiagnosticBody } from "./diagnostics-
|
|
3
|
-
import { a as installedConsoleAccessPolicy } from "./access-policy-
|
|
4
|
-
import { g as isConsoleLoopbackRequest, m as readConsoleOperationUser, o as consoleImpersonation, p as readConsoleAccessUser } from "./access-
|
|
5
|
-
import { i as consoleRequestError, n as consoleErrorResult } from "./request-
|
|
6
|
-
import { n as loadConsoleRuntime } from "./runtime-
|
|
7
|
-
import { r as getConsoleSections } from "./sections-
|
|
8
|
-
import { n as consoleSiteEntries, r as consoleSiteKV } from "./site-session-
|
|
1
|
+
import { r as operationRpcPath } from "./operation-rpc-BMdfapja.js";
|
|
2
|
+
import { r as consoleDiagnosticBody } from "./diagnostics-B2cqlCSz.js";
|
|
3
|
+
import { a as installedConsoleAccessPolicy } from "./access-policy-BM48XstY.js";
|
|
4
|
+
import { g as isConsoleLoopbackRequest, m as readConsoleOperationUser, o as consoleImpersonation, p as readConsoleAccessUser } from "./access-BBHk9b5P.js";
|
|
5
|
+
import { i as consoleRequestError, n as consoleErrorResult } from "./request-CQ8TkHLh.js";
|
|
6
|
+
import { n as loadConsoleRuntime } from "./runtime-CyPZMiyK.js";
|
|
7
|
+
import { r as getConsoleSections } from "./sections-BNTdIEJw.js";
|
|
8
|
+
import { n as consoleSiteEntries, r as consoleSiteKV } from "./site-session-D36fr7Wf.js";
|
|
9
9
|
import { getStandardContext } from "@vite-hub/runtime/internal/h3";
|
|
10
10
|
import { resolvePublicUrl } from "@vite-hub/runtime";
|
|
11
|
-
|
|
11
|
+
// src/console/runtime/server/tickets.ts
|
|
12
12
|
/** Seconds that a ticket works. The browser opens it right after the call that made it. */
|
|
13
13
|
const consoleTicketLifetime = 60;
|
|
14
14
|
/** The search parameter of a ticket on `GET /_vitehub/rpc`. */
|
|
@@ -347,11 +347,10 @@ async function redeemConsoleTicket(event) {
|
|
|
347
347
|
if (record.origin !== appOrigin(request) || record.base !== appBase(request)) return ticketProblem(403, "CONSOLE_TICKET_MISMATCH", "This one-time link was made for another app.");
|
|
348
348
|
await loadConsoleRuntime();
|
|
349
349
|
if (record.purpose === "content.preview") return await openPreview(record);
|
|
350
|
-
if (record.purpose === "page.member" || record.purpose === "page.guest") return await (await import("./site-access-
|
|
350
|
+
if (record.purpose === "page.member" || record.purpose === "page.guest") return await (await import("./site-access-Cvmjb6aw.js")).openSiteSession(record, request, event);
|
|
351
351
|
return await impersonate(record, request, event, `${record.origin}${record.base}/`);
|
|
352
352
|
} catch (error) {
|
|
353
353
|
return failurePage(error);
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
|
-
//#endregion
|
|
357
356
|
export { base64url as a, consoleTicketLifetime as c, redeemConsoleTicket as d, seeOther as f, authFailure as i, consoleTicketParameter as l, ticketProblem as m, appOrigin as n, consoleInvitePrefix as o, setConsoleTicketStore as p, authConsole as r, consoleRecordStore as s, appBase as t, issueConsoleTicket as u };
|
package/dist/ui/vite.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AgentInvocationRecord, AgentInvocationSummary, AgentInvocations } from "@vite-hub/agent";
|
|
2
|
-
//#region src/console/runtime/server/usage.d.ts
|
|
3
2
|
interface ConsoleUsageCost {
|
|
4
3
|
display: string;
|
|
5
4
|
estimated: boolean;
|
|
@@ -18,5 +17,4 @@ interface ConsoleInvocationUsage {
|
|
|
18
17
|
totalTokens?: number;
|
|
19
18
|
}
|
|
20
19
|
declare function invocationUsage(record: AgentInvocationRecord): ConsoleInvocationUsage | undefined;
|
|
21
|
-
//#endregion
|
|
22
20
|
export { invocationUsage as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as viteHubErrorDiagnostics } from "./error-diagnostics-
|
|
2
|
-
import { t as consoleHttpError } from "./http-error-
|
|
1
|
+
import { t as viteHubErrorDiagnostics } from "./error-diagnostics-CBtvqI30.js";
|
|
2
|
+
import { t as consoleHttpError } from "./http-error-BorAxJYM.js";
|
|
3
3
|
import * as v from "valibot";
|
|
4
|
-
|
|
4
|
+
// src/console/runtime/server/usage.ts
|
|
5
5
|
function parseConsoleUsageStatus(value) {
|
|
6
6
|
if (value === "completed" || value === "failed" || value === "cancelled") return value;
|
|
7
7
|
}
|
|
@@ -567,5 +567,4 @@ async function createUsageSummary(invocations, options = {}) {
|
|
|
567
567
|
function compareUsageModels(left, right) {
|
|
568
568
|
return right.totalTokens - left.totalTokens || left.model.localeCompare(right.model);
|
|
569
569
|
}
|
|
570
|
-
//#endregion
|
|
571
570
|
export { withRecordedCost as _, decimalString as a, invocationUsage as c, parseConsoleUsageWindow as d, publicTotals as f, usageSession as g, usageQueryWindow as h, decimal as i, modelUsage as l, usageCursor as m, compareUsageModels as n, emptyTotals as o, stringValue as p, createUsageSummary as r, finishUsage as s, addDecimal as t, parseConsoleUsageStatus as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { _ as withRecordedCost, a as decimalString, f as publicTotals, g as usageSession, h as usageQueryWindow, i as decimal, l as modelUsage, m as usageCursor, n as compareUsageModels, o as emptyTotals, p as stringValue, s as finishUsage, t as addDecimal } from "./usage-ZV3TBMzE.js";
|
|
2
|
+
import { n as invariantError } from "./invariant-Dj2R1eMr.js";
|
|
3
|
+
// src/console/runtime/server/usage-index.ts
|
|
4
4
|
const metrics = [
|
|
5
5
|
"inputTokens",
|
|
6
6
|
"outputTokens",
|
|
@@ -331,5 +331,4 @@ function createConsoleUsageIndex(client, settings = {}) {
|
|
|
331
331
|
function isObservation(value) {
|
|
332
332
|
return value instanceof Object && !Array.isArray(value);
|
|
333
333
|
}
|
|
334
|
-
//#endregion
|
|
335
334
|
export { createConsoleUsageIndex };
|
|
@@ -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",
|
|
@@ -990,14 +990,14 @@ var dependencies = {
|
|
|
990
990
|
"@vite-hub/runtime": "workspace:*",
|
|
991
991
|
"@vite-hub/source": "workspace:*",
|
|
992
992
|
"birpc": "catalog:runtime",
|
|
993
|
-
"confbox": "^0.2
|
|
993
|
+
"confbox": "^0.3.2",
|
|
994
994
|
"h3": "catalog:unjs",
|
|
995
995
|
"nostics": "catalog:runtime",
|
|
996
996
|
"ocache": "catalog:runtime",
|
|
997
|
-
"pkg-types": "^2.
|
|
998
|
-
"semver": "^7.8.
|
|
997
|
+
"pkg-types": "^2.4.0",
|
|
998
|
+
"semver": "^7.8.6",
|
|
999
999
|
"srvx": "catalog:unjs",
|
|
1000
|
-
"unimport": "
|
|
1000
|
+
"unimport": "catalog:unjs",
|
|
1001
1001
|
"valibot": "catalog:runtime"
|
|
1002
1002
|
};
|
|
1003
1003
|
var peerDependencies = {
|
|
@@ -1012,8 +1012,8 @@ var peerDependencies = {
|
|
|
1012
1012
|
"@cloudflare/workers-types": ">=4",
|
|
1013
1013
|
"@formisch/vue": "^1.2.0",
|
|
1014
1014
|
"@google-cloud/storage": "catalog:storage",
|
|
1015
|
-
"@json-render/core": "0.
|
|
1016
|
-
"@json-render/vue": "0.
|
|
1015
|
+
"@json-render/core": "0.23.2",
|
|
1016
|
+
"@json-render/vue": "0.23.2",
|
|
1017
1017
|
"@libsql/client": "catalog:database",
|
|
1018
1018
|
"@modelcontextprotocol/sdk": "catalog:ai",
|
|
1019
1019
|
"@nuxt/ui": "^4.11.0",
|
|
@@ -1053,21 +1053,20 @@ var peerDependencies = {
|
|
|
1053
1053
|
"@vite-hub/webhooks": "workspace:*",
|
|
1054
1054
|
"@vite-hub/workflow": "workspace:*",
|
|
1055
1055
|
"@vite-hub/workspace": "workspace:*",
|
|
1056
|
-
"@vueuse/core": "
|
|
1056
|
+
"@vueuse/core": "^14.4.0 || ^15.0.0",
|
|
1057
1057
|
"ai": "catalog:ai-compat",
|
|
1058
1058
|
"better-auth": "catalog:auth",
|
|
1059
|
-
"drizzle-orm": "1.0.0-rc.5 || ^1.0.0",
|
|
1059
|
+
"drizzle-orm": "1.0.0-rc.5 || 1.0.0-rc.6 || ^1.0.0",
|
|
1060
1060
|
"evlog": "^2.28.1",
|
|
1061
1061
|
"nitro": "catalog:nitro-compat",
|
|
1062
1062
|
"openworkflow": "catalog:workflow",
|
|
1063
1063
|
"playwright-core": "catalog:browser",
|
|
1064
|
-
"posthog-node": "^
|
|
1064
|
+
"posthog-node": "^6.0.6",
|
|
1065
1065
|
"vite": "catalog:vite-compat",
|
|
1066
1066
|
"vite-doctor": "*",
|
|
1067
1067
|
"vue": "catalog:vue-compat"
|
|
1068
1068
|
};
|
|
1069
|
-
|
|
1070
|
-
//#region src/removed-options.ts
|
|
1069
|
+
// src/removed-options.ts
|
|
1071
1070
|
/**
|
|
1072
1071
|
* Top-level `vitehub()` options that ViteHub removed or renamed: why each one is gone and how to fix it. The build
|
|
1073
1072
|
* fails on them, and the `vitehub/valid-vitehub-options` Doctor rule reports them in the editor, from this one table.
|
|
@@ -1109,8 +1108,7 @@ function assertNoRemovedViteHubOptions(options, where) {
|
|
|
1109
1108
|
throw viteHubErrorDiagnostics.VITE_HUB_B0024({ message: `[vitehub] \`${key}\` in ${where} is no longer a ViteHub option. ${why} ${fix}` });
|
|
1110
1109
|
}
|
|
1111
1110
|
}
|
|
1112
|
-
|
|
1113
|
-
//#region src/version.ts
|
|
1111
|
+
// src/version.ts
|
|
1114
1112
|
let installed;
|
|
1115
1113
|
/**
|
|
1116
1114
|
* The version of the installed `vite-hub` package, read from its `package.json`. The pkg.pr.new workflow sets a preview
|
|
@@ -1120,5 +1118,4 @@ function readViteHubVersion() {
|
|
|
1120
1118
|
installed ??= JSON.parse(readFileSync(fileURLToPath(import.meta.resolve("vite-hub/package.json")), "utf8")).version;
|
|
1121
1119
|
return installed;
|
|
1122
1120
|
}
|
|
1123
|
-
//#endregion
|
|
1124
1121
|
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 };
|