vite-hub 0.4.1 → 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/README.md +38 -14
- package/dist/_internal/runtime/browser-errors.d.ts +12 -4
- package/dist/_internal/runtime/browser-errors.js +69 -27
- 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 +11 -2
- package/dist/_internal/runtime/request-policy.js +25 -6
- package/dist/_internal/runtime/security.d.ts +1 -2
- package/dist/_internal/runtime/security.js +16 -3
- package/dist/{access-BDST818p.js → access-BBHk9b5P.js} +30 -20
- package/dist/{access-policy-DjBKLo3c.js → access-policy-BM48XstY.js} +5 -6
- package/dist/{access-policy-CGXhO3Ee.d.ts → access-policy-CUbJLvlR.d.ts} +4 -8
- package/dist/{account-BnOAU055.d.ts → account-CoAO1F8G.d.ts} +9 -7
- package/dist/agent/invocations/postgres.d.ts +1 -0
- package/dist/agent/invocations/postgres.js +2 -0
- package/dist/{agent-invocations.post-CcPvfA0n.js → agent-invocations.post-BAC1aHnG.js} +16 -18
- package/dist/agents-BClUWOj7.js +1 -0
- package/dist/{agents-BDeazoAW.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-BZOy7obk.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-CyqhWvYF.d.ts → auth-types-B4mq4YhK.d.ts} +1 -4
- package/dist/bin.js +34 -23
- package/dist/blob/nuxt-image.js +1 -2
- package/dist/{blob-CFLwMsjH.d.ts → blob-_TtxDb-t.d.ts} +1 -3
- package/dist/{blob-CpvlM8jp.js → blob-eH6j0AQj.js} +5 -6
- package/dist/browser-error-limits-B0yS95zt.js +24 -0
- 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/choices/testing.d.ts +1 -0
- package/dist/choices/testing.js +2 -0
- package/dist/{cli-config-wxKjF2Y0.js → cli-config-BX8H4ZCo.js} +12 -5
- package/dist/cli-config-DgpmE_7z.js +1 -0
- package/dist/cloudflare-app-types.d.ts +18 -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 +36 -48
- package/dist/console/runtime/client/add-primitive.ts +2 -2
- 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 +11 -5
- 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 +2 -2
- 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 -70
- 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 +41 -10
- package/dist/console/runtime/client/site-access.js +157 -28
- 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-api-keys.vue +4 -4
- package/dist/console/runtime/components/console-account-home.vue +230 -51
- 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 +13 -19
- 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-app.vue +1 -10
- package/dist/console/runtime/components/console-auth-activity.vue +2 -2
- package/dist/console/runtime/components/console-auth-chart.vue +1 -1
- package/dist/console/runtime/components/console-auth-overview.vue +1 -1
- package/dist/console/runtime/components/console-auth.vue +4 -4
- package/dist/console/runtime/components/console-comment-thread.vue +1 -1
- package/dist/console/runtime/components/console-definitions.vue +4 -4
- package/dist/console/runtime/components/console-document-dashboard.vue +2 -2
- package/dist/console/runtime/components/console-document-list.vue +2 -2
- package/dist/console/runtime/components/console-document-settings.vue +1 -1
- package/dist/console/runtime/components/console-env.vue +3 -3
- package/dist/console/runtime/components/console-home.vue +220 -311
- package/dist/console/runtime/components/console-hosted-comments-embed.vue +106 -0
- package/dist/console/runtime/components/console-loading.vue +1 -1
- package/dist/console/runtime/components/console-mcp-callback.vue +6 -1
- package/dist/console/runtime/components/console-mcp-connection.vue +3 -3
- package/dist/console/runtime/components/console-mcp-items.vue +4 -17
- package/dist/console/runtime/components/console-media-browser.vue +20 -30
- package/dist/console/runtime/components/console-media-crops.vue +3 -2
- package/dist/console/runtime/components/console-media-uploads.vue +11 -7
- package/dist/console/runtime/components/console-page-toolbar.vue +5 -10
- package/dist/console/runtime/components/console-schema-list.vue +85 -31
- package/dist/console/runtime/components/console-search-palette.vue +14 -5
- package/dist/console/runtime/components/console-section.vue +2 -1
- package/dist/console/runtime/components/console-session-inspector.vue +5 -0
- package/dist/console/runtime/components/console-session.css +8 -2
- package/dist/console/runtime/components/console-settings-value.vue +4 -5
- package/dist/console/runtime/components/console-sidebar.vue +9 -8
- package/dist/console/runtime/components/console-site.vue +36 -15
- package/dist/console/runtime/components/console-stat-grid.vue +3 -2
- package/dist/console/runtime/components/console-toaster.vue +3 -2
- package/dist/console/runtime/components/console-usage-chart.vue +1 -1
- package/dist/console/runtime/components/console-usage.vue +36 -18
- package/dist/console/runtime/components/invocation/internal/brand-icons.ts +10 -0
- package/dist/console/runtime/components/invocation/internal/invocation-brand.ts +6 -2
- package/dist/console/runtime/components/invocation/invocation.css +4 -27
- 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 +8 -1
- 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 +45 -52
- package/dist/console/runtime/page-tool/account.js +26 -0
- package/dist/console/runtime/page-tool/page-tool.js +2 -3
- package/dist/console/runtime/public/skills/index.json +1 -1
- package/dist/console/runtime/public/skills/vitehub/SKILL.md +50 -7
- package/dist/console/runtime/public/skills/vitehub/agents/openai.yaml +1 -1
- package/dist/console/runtime/public/skills/vitehub/references/primitives/channels.md +1 -1
- package/dist/console/runtime/public/skills/vitehub/references/primitives/email.md +1 -1
- package/dist/console/runtime/public/skills/vitehub/references/project-shapes.md +1 -1
- 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 +7 -7
- 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 +12 -7
- package/dist/console/runtime/server/page-tools-route.d.ts +2 -0
- package/dist/console/runtime/server/page-tools-route.js +4 -0
- 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 +5 -5
- package/dist/console/runtime/server/setup.js +5 -5
- package/dist/console/runtime/server/site-entry.d.ts +1 -3
- package/dist/console/runtime/server/site-entry.js +15 -10
- package/dist/console/runtime/server/site-session.d.ts +12 -22
- 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 +32 -28
- package/dist/console-lazy-views-VEjcbL4Q.js +1 -0
- package/dist/{console-route-CBuqZ4wO.js → console-route-DbdnLkkF.js} +3 -4
- package/dist/console.d.ts +1 -3
- package/dist/console.js +1 -2
- package/dist/{database-DyPVMjp_.d.ts → database-CPjZ3L0g.d.ts} +1 -3
- package/dist/{database-BdOBjPkS.js → database-CrgBUdIx.js} +3 -4
- package/dist/definition-catalog-1xPPtzOx.js +137 -0
- 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-CNq_Shkh.js → definitions-M7i2p8SR.js} +5 -6
- package/dist/deployment-CURATxjG.js +229 -0
- package/dist/deployment-l7RuKdEp.js +1 -0
- package/dist/{dev-peer-am78OsHH.js → dev-peer-DBq-isgi.js} +7 -6
- package/dist/{development-zLxOp-AO.js → development-DD567hhJ.js} +2 -3
- package/dist/{development-W5EwONyL.d.ts → development-I40mfD7B.d.ts} +1 -3
- package/dist/{diagnostics-9U_fYxMy.js → diagnostics-B2cqlCSz.js} +3 -3
- 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 +15078 -2377
- package/dist/{documents-CjJTCrY8.js → documents-BOYwZ5g4.js} +7 -8
- package/dist/{documents-qrHHqlNU.js → documents-Ck_iub9w.js} +4 -5
- package/dist/{documents-BASIRZ91.d.ts → documents-DxK0tdjA.d.ts} +3 -5
- package/dist/{documents-CboVhYFz.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/email/vue.d.ts +1 -0
- package/dist/email/vue.js +2 -0
- package/dist/{entries-Bj-jPs_J.js → entries-UFs9n1MB.js} +2 -3
- package/dist/{env-Dg1I_DWr.js → env-D-wtSupz.js} +2 -3
- package/dist/{error-diagnostics-Bm3JKYjz.js → error-diagnostics-CBtvqI30.js} +33 -22
- package/dist/{operation-definition-a5keEpCd.js → error-diagnostics-kKXseq8d.js} +11 -169
- package/dist/error-diagnostics.ts +33 -23
- package/dist/{optional-owners-BNA2OX6z.js → features-BXRKlmtN.js} +57 -345
- package/dist/features-CD5i5I8V.js +1 -0
- package/dist/{format-BOYlanIZ.js → format-Df-bS4Ly.js} +1 -2
- package/dist/gateways/testing.d.ts +1 -0
- package/dist/gateways/testing.js +2 -0
- package/dist/github-login-W-vaahWP.js +6 -0
- 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 +2 -8
- package/dist/index.js +5 -6
- package/dist/inspect-CWwAuL-B.js +47 -0
- 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-CO4OqqaS.d.ts → internal-CKocv79I.d.ts} +3 -7
- package/dist/{invariant-DolT9EEx.js → invariant-Dj2R1eMr.js} +1 -2
- package/dist/{invocation-page-undo-DIZ-s3xT.js → invocation-page-undo-BEi-rO0Q.js} +5 -6
- package/dist/{invocations-CK_-G540.js → invocations-8NThe8Bx.js} +5 -6
- package/dist/{limits-BUlwWYQE.js → limits-BLo31qDR.js} +1 -2
- package/dist/logs/client.d.ts +19 -0
- package/dist/logs/client.js +11 -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/{mcp-client-CTbTbn7d.js → mcp-client-Bkh-khvr.js} +1 -2
- package/dist/{mcp-client-By4zk0vU.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-BHpQ-4jw.js → media-CAKz9yrp.js} +8 -9
- package/dist/{media-library-NaOMBKWS.js → media-library-BDX89xXA.js} +5 -6
- package/dist/{media-library-D9ThbXqs.d.ts → media-library-DxGu6w9z.d.ts} +0 -2
- package/dist/{memory-DTmq-Z6x.js → memory-D3EJS_Bp.js} +21 -10
- package/dist/{memory-2bbl4hcV.d.ts → memory-GK5ZGWrp.d.ts} +1 -3
- package/dist/nuxt-server-auto-imports-4aT5BD4u.js +74 -0
- package/dist/{nuxt-server-imports-DH60Z7LA.js → nuxt-server-imports-BdJqiVhT.js} +10 -18
- package/dist/nuxt.d.ts +1 -3
- package/dist/nuxt.js +339 -189
- package/dist/{object-D8pRdprI.js → object-DRSmpe04.js} +1 -2
- package/dist/{operation-contributions-DpkO_iSU.d.ts → operation-contributions-BCcQVlGb.d.ts} +1 -3
- package/dist/{operation-contributions-BdS0z3tx.js → operation-contributions-D10pjkJF.js} +4 -5
- package/dist/operation-definition-DTpNvLd8.js +164 -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-EOdyctDc.js → operations-CD_mu_Ww.js} +86 -9
- package/dist/operations-D7ENc68Y.js +1 -0
- package/dist/{operations-B0689BG1.d.ts → operations-DgFhA1WE.d.ts} +8 -6
- package/dist/{operations-CWP9dF3i.js → operations-vRLiH7dh.js} +35 -46
- package/dist/optional-owners-DAfShdgV.js +353 -0
- package/dist/out-Cw5Tvr92.js +20989 -0
- package/dist/{owned-paths-BnjT0FhU.js → owned-paths-MjjDftBn.js} +1 -2
- package/dist/page/pill.iife.js +25 -27
- package/dist/{page-tool-CRCK1RHV.d.ts → page-tool-BUnUbuSy.d.ts} +6 -7
- package/dist/{page-tools-BkSSBFoi.js → page-tools-BQzwuAHD.js} +28 -12
- package/dist/{page-tools-sw4I-Nqx.d.ts → page-tools-UwsfvH-B.d.ts} +2 -4
- package/dist/{page-tools-shared-D3fFoEV2.js → page-tools-shared-hJcG_xk8.js} +8 -5
- package/dist/{inspect-CDw7e0vK.js → pathe.M-eThtNZ-D4EC7Wue.js} +2 -31
- package/dist/{plugins-BqAtIEX2.d.ts → plugins-BpiTVULl.d.ts} +252 -262
- package/dist/{plugins-B-DpgDPB.js → plugins-H6-MQrsn.js} +3483 -797
- package/dist/presets/workspace.js +1 -2
- package/dist/project-BxyyclTE.js +58 -0
- package/dist/{project-CufkVP1u.d.ts → project-DKBIHOf4.d.ts} +16 -4
- package/dist/{project-DlWTGB7h.js → project-DRC67Uiu.js} +1 -2
- package/dist/{project-link-D-6UefhA.js → project-link-CeS0T8Pr.js} +57 -9
- package/dist/{project-link-BuOzBH9f.d.ts → project-link-isfdRO3Q.d.ts} +42 -6
- 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-CJCPyu2B.d.ts +70 -0
- package/dist/{request-DbFfYmCu.js → request-CQ8TkHLh.js} +4 -5
- package/dist/{request-DE8w_cSM.js → request-Cl68STwT.js} +7 -8
- package/dist/request-origin-pzWr9UUu.js +37 -0
- package/dist/rolldown-runtime-DegdyBIC.js +25 -0
- 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-DQuHg7OO.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-OsEDfbM9.js → runtime-F0CTqBFx.js} +5 -6
- package/dist/{runtime-feature-guard-B64MMW9I.js → runtime-feature-guard-DpUn4Oxc.js} +91 -10
- 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-Dy5uqvq9.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-et20h8w3.js → sections-HLxb9MrG.js} +14 -7
- package/dist/{sections.get-COiLcQ0P.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-BRJE4t-W.js → server-DsOEa4_A.js} +5 -5
- package/dist/{setup-ZbA1by7W.d.ts → setup-Ca7jtBLS.d.ts} +8 -7
- package/dist/{setup-C-5nB7aY.js → setup-DQz_i-ee.js} +16 -5
- package/dist/{site-access-BmE8HGxs.js → site-access-1JIQjY11.js} +16 -16
- 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-odJq1dYa.js → site-session-D36fr7Wf.js} +65 -40
- package/dist/skills/operations.d.ts +1 -5
- package/dist/skills/operations.js +4 -5
- package/dist/skills/vitehub/SKILL.md +142 -0
- package/dist/skills/vitehub/agents/openai.yaml +4 -0
- package/dist/skills/vitehub/references/agent-definitions.md +36 -0
- package/dist/skills/vitehub/references/bundle.md +57 -0
- package/dist/skills/vitehub/references/capabilities-authority.md +30 -0
- package/dist/skills/vitehub/references/channels-triggers.md +27 -0
- package/dist/skills/vitehub/references/framework-composition.md +29 -0
- package/dist/skills/vitehub/references/preview-contract.md +44 -0
- package/dist/skills/vitehub/references/primitives/auth.md +14 -0
- package/dist/skills/vitehub/references/primitives/blob.md +13 -0
- package/dist/skills/vitehub/references/primitives/browser.md +17 -0
- package/dist/skills/vitehub/references/primitives/cache.md +13 -0
- package/dist/skills/vitehub/references/primitives/channels.md +11 -0
- package/dist/skills/vitehub/references/primitives/connections.md +14 -0
- package/dist/skills/vitehub/references/primitives/content.md +13 -0
- package/dist/skills/vitehub/references/primitives/database.md +15 -0
- package/dist/skills/vitehub/references/primitives/email.md +11 -0
- package/dist/skills/vitehub/references/primitives/env.md +13 -0
- package/dist/skills/vitehub/references/primitives/kv.md +13 -0
- package/dist/skills/vitehub/references/primitives/markdown-template.md +13 -0
- package/dist/skills/vitehub/references/primitives/queue.md +14 -0
- package/dist/skills/vitehub/references/primitives/rate-limit.md +11 -0
- package/dist/skills/vitehub/references/primitives/realtime.md +19 -0
- package/dist/skills/vitehub/references/primitives/sandbox-task.md +11 -0
- package/dist/skills/vitehub/references/primitives/sandbox.md +13 -0
- package/dist/skills/vitehub/references/primitives/schedule.md +11 -0
- package/dist/skills/vitehub/references/primitives/shell.md +11 -0
- package/dist/skills/vitehub/references/primitives/source.md +11 -0
- package/dist/skills/vitehub/references/primitives/workflow.md +11 -0
- package/dist/skills/vitehub/references/primitives/workspace.md +11 -0
- package/dist/skills/vitehub/references/project-patterns.md +19 -0
- package/dist/skills/vitehub/references/project-shapes.md +81 -0
- package/dist/skills/vitehub/references/proof-recovery.md +31 -0
- package/dist/skills/vitehub/references/sandboxes-hosts.md +26 -0
- package/dist/skills/vitehub/references/schedules-workflows-invocations.md +28 -0
- package/dist/skills/vitehub/references/server-primitives.md +39 -0
- package/dist/skills/vitehub/references/workspaces-sources-access.md +26 -0
- package/dist/{skills-DdpSMiCI.js → skills-C1MaGEbO.js} +1 -2
- package/dist/skills.d.ts +1 -2
- package/dist/{skills.get-Bl8cBe8u.js → skills.get-DAooGWy5.js} +3 -4
- package/dist/skills.js +1 -2
- package/dist/{source-D4wWtoHh.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-Cudn1dq3.js → ticket-BwsnryuU.js} +2 -3
- package/dist/{tickets-C_0Fhc00.js → tickets-Cj9_y3gw.js} +14 -16
- package/dist/ui/motion/core.d.ts +1 -0
- package/dist/ui/motion/core.js +2 -0
- package/dist/ui/motion.d.ts +1 -0
- package/dist/ui/motion.js +2 -0
- package/dist/ui/vite.js +1 -2
- package/dist/{usage-CoQXs5nW.d.ts → usage-BduF04ks.d.ts} +0 -2
- package/dist/{usage-B4taNt4a.js → usage-ZV3TBMzE.js} +6 -5
- package/dist/{usage-index-BsGAFzyq.js → usage-index-CR_xTrXO.js} +3 -4
- package/dist/{version-DNmSsk5r.js → version-CAhBr673.js} +59 -21
- package/dist/{vite-stage-mmtwQIMA.js → vite-stage-Dmo4RgnK.js} +32 -8
- package/dist/{vue-router-C68IU1jM.d.ts → vue-router-plZJLlpm.d.ts} +120 -182
- package/dist/workspace/blob-database/postgres.d.ts +1 -0
- package/dist/workspace/blob-database/postgres.js +2 -0
- package/dist/{workspace-history-CraoERnc.js → workspace-history-B52xib2J.js} +3 -4
- package/dist/{workspace-history-CeVwBB6Q.d.ts → workspace-history-WuxgLsi4.d.ts} +0 -2
- package/package.json +190 -149
- package/dist/agents-BoWau_ei.js +0 -2
- package/dist/cli-config-UAGTmuFa.js +0 -2
- package/dist/console/runtime/server/page-session.d.ts +0 -2
- package/dist/console/runtime/server/page-session.js +0 -5
- package/dist/console-lazy-views-DXnIkdyd.js +0 -2
- package/dist/operations-CAQmIxGK.js +0 -2
- package/dist/project-C4N_Zcjl.js +0 -30
- package/dist/request-origin-Bq7mDQG9.js +0 -23
- package/dist/scan-module-D_3X08mj.js +0 -2
- package/dist/sections-CyrXbbkG.d.ts +0 -10
- package/dist/site-access-BbJUe5QI.js +0 -2
- /package/dist/{agent/channels.d.ts → channels/adapters.d.ts} +0 -0
- /package/dist/{agent/channels.js → channels/adapters.js} +0 -0
|
@@ -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
|
|
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`. */
|
|
@@ -52,11 +52,10 @@ function kvTicketStore(kv) {
|
|
|
52
52
|
return read(unwrap(await kv.getAndDelete(identifier, { type: "text" })))?.value ?? null;
|
|
53
53
|
},
|
|
54
54
|
async list(prefix) {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
})))).flatMap(({ identifier, entry }) => entry ? [{
|
|
55
|
+
return (await consoleSiteEntries(kv, prefix)).map(({ key, value }) => ({
|
|
56
|
+
identifier: key,
|
|
57
|
+
entry: read(value)
|
|
58
|
+
})).flatMap(({ identifier, entry }) => entry ? [{
|
|
60
59
|
identifier,
|
|
61
60
|
value: entry.value,
|
|
62
61
|
expiresAt: new Date(entry.expiresAt)
|
|
@@ -348,11 +347,10 @@ async function redeemConsoleTicket(event) {
|
|
|
348
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.");
|
|
349
348
|
await loadConsoleRuntime();
|
|
350
349
|
if (record.purpose === "content.preview") return await openPreview(record);
|
|
351
|
-
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);
|
|
352
351
|
return await impersonate(record, request, event, `${record.origin}${record.base}/`);
|
|
353
352
|
} catch (error) {
|
|
354
353
|
return failurePage(error);
|
|
355
354
|
}
|
|
356
355
|
}
|
|
357
|
-
//#endregion
|
|
358
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 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@vite-hub/ui/motion/core";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@vite-hub/ui/motion";
|
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
|
}
|
|
@@ -255,7 +255,9 @@ function modelUsage(usage) {
|
|
|
255
255
|
const groups = /* @__PURE__ */ new Map();
|
|
256
256
|
for (const call of usage.calls?.length ? usage.calls : [usage]) {
|
|
257
257
|
const model = call.model || usage.model || "Unknown model";
|
|
258
|
-
|
|
258
|
+
const calls = groups.get(model);
|
|
259
|
+
if (calls) calls.push(call);
|
|
260
|
+
else groups.set(model, [call]);
|
|
259
261
|
}
|
|
260
262
|
return new Map([...groups].map(([model, calls]) => [model, usageNode({
|
|
261
263
|
model,
|
|
@@ -565,5 +567,4 @@ async function createUsageSummary(invocations, options = {}) {
|
|
|
565
567
|
function compareUsageModels(left, right) {
|
|
566
568
|
return right.totalTokens - left.totalTokens || left.model.localeCompare(right.model);
|
|
567
569
|
}
|
|
568
|
-
//#endregion
|
|
569
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",
|
|
@@ -18,11 +18,6 @@ var exports = {
|
|
|
18
18
|
"import": "./dist/agent/capabilities.js",
|
|
19
19
|
"default": "./dist/agent/capabilities.js"
|
|
20
20
|
},
|
|
21
|
-
"./agent/channels": {
|
|
22
|
-
"types": "./dist/agent/channels.d.ts",
|
|
23
|
-
"import": "./dist/agent/channels.js",
|
|
24
|
-
"default": "./dist/agent/channels.js"
|
|
25
|
-
},
|
|
26
21
|
"./agent/cloudflare": {
|
|
27
22
|
"types": "./dist/agent/cloudflare.d.ts",
|
|
28
23
|
"import": "./dist/agent/cloudflare.js",
|
|
@@ -48,6 +43,11 @@ var exports = {
|
|
|
48
43
|
"import": "./dist/agent/invocations/drizzle.js",
|
|
49
44
|
"default": "./dist/agent/invocations/drizzle.js"
|
|
50
45
|
},
|
|
46
|
+
"./agent/invocations/postgres": {
|
|
47
|
+
"types": "./dist/agent/invocations/postgres.d.ts",
|
|
48
|
+
"import": "./dist/agent/invocations/postgres.js",
|
|
49
|
+
"default": "./dist/agent/invocations/postgres.js"
|
|
50
|
+
},
|
|
51
51
|
"./agent/mcp": {
|
|
52
52
|
"types": "./dist/agent/mcp.d.ts",
|
|
53
53
|
"import": "./dist/agent/mcp.js",
|
|
@@ -213,6 +213,11 @@ var exports = {
|
|
|
213
213
|
"import": "./dist/channels.js",
|
|
214
214
|
"default": "./dist/channels.js"
|
|
215
215
|
},
|
|
216
|
+
"./channels/adapters": {
|
|
217
|
+
"types": "./dist/channels/adapters.d.ts",
|
|
218
|
+
"import": "./dist/channels/adapters.js",
|
|
219
|
+
"default": "./dist/channels/adapters.js"
|
|
220
|
+
},
|
|
216
221
|
"./channels/server": {
|
|
217
222
|
"types": "./dist/channels/server.d.ts",
|
|
218
223
|
"import": "./dist/channels/server.js",
|
|
@@ -228,6 +233,11 @@ var exports = {
|
|
|
228
233
|
"import": "./dist/choices/vue.js",
|
|
229
234
|
"default": "./dist/choices/vue.js"
|
|
230
235
|
},
|
|
236
|
+
"./choices/testing": {
|
|
237
|
+
"types": "./dist/choices/testing.d.ts",
|
|
238
|
+
"import": "./dist/choices/testing.js",
|
|
239
|
+
"default": "./dist/choices/testing.js"
|
|
240
|
+
},
|
|
231
241
|
"./cms": {
|
|
232
242
|
"types": "./dist/cms.d.ts",
|
|
233
243
|
"import": "./dist/cms.js",
|
|
@@ -428,6 +438,11 @@ var exports = {
|
|
|
428
438
|
"import": "./dist/email/test.js",
|
|
429
439
|
"default": "./dist/email/test.js"
|
|
430
440
|
},
|
|
441
|
+
"./email/vue": {
|
|
442
|
+
"types": "./dist/email/vue.d.ts",
|
|
443
|
+
"import": "./dist/email/vue.js",
|
|
444
|
+
"default": "./dist/email/vue.js"
|
|
445
|
+
},
|
|
431
446
|
"./env": {
|
|
432
447
|
"types": "./dist/env.d.ts",
|
|
433
448
|
"import": "./dist/env.js",
|
|
@@ -503,6 +518,11 @@ var exports = {
|
|
|
503
518
|
"import": "./dist/gateways/ai-sdk.js",
|
|
504
519
|
"default": "./dist/gateways/ai-sdk.js"
|
|
505
520
|
},
|
|
521
|
+
"./gateways/testing": {
|
|
522
|
+
"types": "./dist/gateways/testing.d.ts",
|
|
523
|
+
"import": "./dist/gateways/testing.js",
|
|
524
|
+
"default": "./dist/gateways/testing.js"
|
|
525
|
+
},
|
|
506
526
|
"./i18n": {
|
|
507
527
|
"types": "./dist/i18n.d.ts",
|
|
508
528
|
"import": "./dist/i18n.js",
|
|
@@ -758,6 +778,16 @@ var exports = {
|
|
|
758
778
|
"import": "./dist/ui/markdown-editor.js",
|
|
759
779
|
"default": "./dist/ui/markdown-editor.js"
|
|
760
780
|
},
|
|
781
|
+
"./ui/motion": {
|
|
782
|
+
"types": "./dist/ui/motion.d.ts",
|
|
783
|
+
"import": "./dist/ui/motion.js",
|
|
784
|
+
"default": "./dist/ui/motion.js"
|
|
785
|
+
},
|
|
786
|
+
"./ui/motion/core": {
|
|
787
|
+
"types": "./dist/ui/motion/core.d.ts",
|
|
788
|
+
"import": "./dist/ui/motion/core.js",
|
|
789
|
+
"default": "./dist/ui/motion/core.js"
|
|
790
|
+
},
|
|
761
791
|
"./ui/vite": {
|
|
762
792
|
"types": "./dist/ui/vite.d.ts",
|
|
763
793
|
"import": "./dist/ui/vite.js",
|
|
@@ -838,6 +868,11 @@ var exports = {
|
|
|
838
868
|
"import": "./dist/workspace/blob-database.js",
|
|
839
869
|
"default": "./dist/workspace/blob-database.js"
|
|
840
870
|
},
|
|
871
|
+
"./workspace/blob-database/postgres": {
|
|
872
|
+
"types": "./dist/workspace/blob-database/postgres.d.ts",
|
|
873
|
+
"import": "./dist/workspace/blob-database/postgres.js",
|
|
874
|
+
"default": "./dist/workspace/blob-database/postgres.js"
|
|
875
|
+
},
|
|
841
876
|
"./workspace/checkout": {
|
|
842
877
|
"types": "./dist/workspace/checkout.d.ts",
|
|
843
878
|
"import": "./dist/workspace/checkout.js",
|
|
@@ -937,6 +972,11 @@ var exports = {
|
|
|
937
972
|
"types": "./dist/logs/host.d.ts",
|
|
938
973
|
"import": "./dist/logs/host.js",
|
|
939
974
|
"default": "./dist/logs/host.js"
|
|
975
|
+
},
|
|
976
|
+
"./logs/client": {
|
|
977
|
+
"types": "./dist/logs/client.d.ts",
|
|
978
|
+
"import": "./dist/logs/client.js",
|
|
979
|
+
"default": "./dist/logs/client.js"
|
|
940
980
|
}
|
|
941
981
|
};
|
|
942
982
|
var dependencies = {
|
|
@@ -950,17 +990,18 @@ var dependencies = {
|
|
|
950
990
|
"@vite-hub/runtime": "workspace:*",
|
|
951
991
|
"@vite-hub/source": "workspace:*",
|
|
952
992
|
"birpc": "catalog:runtime",
|
|
953
|
-
"confbox": "^0.2
|
|
993
|
+
"confbox": "^0.3.2",
|
|
954
994
|
"h3": "catalog:unjs",
|
|
955
995
|
"nostics": "catalog:runtime",
|
|
956
996
|
"ocache": "catalog:runtime",
|
|
957
|
-
"pkg-types": "^2.
|
|
958
|
-
"semver": "^7.8.
|
|
997
|
+
"pkg-types": "^2.4.0",
|
|
998
|
+
"semver": "^7.8.6",
|
|
959
999
|
"srvx": "catalog:unjs",
|
|
1000
|
+
"unimport": "catalog:unjs",
|
|
960
1001
|
"valibot": "catalog:runtime"
|
|
961
1002
|
};
|
|
962
1003
|
var peerDependencies = {
|
|
963
|
-
"@ai-sdk/provider": "
|
|
1004
|
+
"@ai-sdk/provider": "^4.0.24",
|
|
964
1005
|
"@aws-sdk/client-s3": "^3.700.0",
|
|
965
1006
|
"@aws-sdk/lib-storage": "^3.700.0",
|
|
966
1007
|
"@aws-sdk/s3-presigned-post": "^3.700.0",
|
|
@@ -971,8 +1012,8 @@ var peerDependencies = {
|
|
|
971
1012
|
"@cloudflare/workers-types": ">=4",
|
|
972
1013
|
"@formisch/vue": "^1.2.0",
|
|
973
1014
|
"@google-cloud/storage": "catalog:storage",
|
|
974
|
-
"@json-render/core": "0.
|
|
975
|
-
"@json-render/vue": "0.
|
|
1015
|
+
"@json-render/core": "0.23.2",
|
|
1016
|
+
"@json-render/vue": "0.23.2",
|
|
976
1017
|
"@libsql/client": "catalog:database",
|
|
977
1018
|
"@modelcontextprotocol/sdk": "catalog:ai",
|
|
978
1019
|
"@nuxt/ui": "^4.11.0",
|
|
@@ -1012,21 +1053,20 @@ var peerDependencies = {
|
|
|
1012
1053
|
"@vite-hub/webhooks": "workspace:*",
|
|
1013
1054
|
"@vite-hub/workflow": "workspace:*",
|
|
1014
1055
|
"@vite-hub/workspace": "workspace:*",
|
|
1015
|
-
"@vueuse/core": "
|
|
1056
|
+
"@vueuse/core": "^14.4.0 || ^15.0.0",
|
|
1016
1057
|
"ai": "catalog:ai-compat",
|
|
1017
1058
|
"better-auth": "catalog:auth",
|
|
1018
|
-
"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",
|
|
1019
1060
|
"evlog": "^2.28.1",
|
|
1020
1061
|
"nitro": "catalog:nitro-compat",
|
|
1021
1062
|
"openworkflow": "catalog:workflow",
|
|
1022
1063
|
"playwright-core": "catalog:browser",
|
|
1023
|
-
"posthog-node": "^
|
|
1064
|
+
"posthog-node": "^6.0.6",
|
|
1024
1065
|
"vite": "catalog:vite-compat",
|
|
1025
1066
|
"vite-doctor": "*",
|
|
1026
1067
|
"vue": "catalog:vue-compat"
|
|
1027
1068
|
};
|
|
1028
|
-
|
|
1029
|
-
//#region src/removed-options.ts
|
|
1069
|
+
// src/removed-options.ts
|
|
1030
1070
|
/**
|
|
1031
1071
|
* Top-level `vitehub()` options that ViteHub removed or renamed: why each one is gone and how to fix it. The build
|
|
1032
1072
|
* fails on them, and the `vitehub/valid-vitehub-options` Doctor rule reports them in the editor, from this one table.
|
|
@@ -1068,8 +1108,7 @@ function assertNoRemovedViteHubOptions(options, where) {
|
|
|
1068
1108
|
throw viteHubErrorDiagnostics.VITE_HUB_B0024({ message: `[vitehub] \`${key}\` in ${where} is no longer a ViteHub option. ${why} ${fix}` });
|
|
1069
1109
|
}
|
|
1070
1110
|
}
|
|
1071
|
-
|
|
1072
|
-
//#region src/version.ts
|
|
1111
|
+
// src/version.ts
|
|
1073
1112
|
let installed;
|
|
1074
1113
|
/**
|
|
1075
1114
|
* The version of the installed `vite-hub` package, read from its `package.json`. The pkg.pr.new workflow sets a preview
|
|
@@ -1079,5 +1118,4 @@ function readViteHubVersion() {
|
|
|
1079
1118
|
installed ??= JSON.parse(readFileSync(fileURLToPath(import.meta.resolve("vite-hub/package.json")), "utf8")).version;
|
|
1080
1119
|
return installed;
|
|
1081
1120
|
}
|
|
1082
|
-
//#endregion
|
|
1083
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-
|
|
2
|
-
import { dirname, join } from "node:path";
|
|
3
|
-
import { mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
1
|
+
import { n as isRecord } from "./object-DRSmpe04.js";
|
|
2
|
+
import { dirname, join, resolve } from "node:path";
|
|
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`
|
|
@@ -23,6 +23,32 @@ function createCliDiscoveryNitroCloser() {
|
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
|
+
/** Let Vite load its config normally, without overriding the root declared by the project. */
|
|
27
|
+
function viteCliProjectConfig(rootDir) {
|
|
28
|
+
const configFile = [
|
|
29
|
+
"js",
|
|
30
|
+
"mjs",
|
|
31
|
+
"ts",
|
|
32
|
+
"cjs",
|
|
33
|
+
"mts",
|
|
34
|
+
"cts"
|
|
35
|
+
].map((extension) => resolve(rootDir, `vite.config.${extension}`)).find((file) => existsSync(file));
|
|
36
|
+
if (!configFile) return {
|
|
37
|
+
root: rootDir,
|
|
38
|
+
plugins: []
|
|
39
|
+
};
|
|
40
|
+
return {
|
|
41
|
+
configFile,
|
|
42
|
+
plugins: [{
|
|
43
|
+
name: "vite-hub/cli-discovery-root",
|
|
44
|
+
enforce: "pre",
|
|
45
|
+
config: {
|
|
46
|
+
order: "pre",
|
|
47
|
+
handler: ({ root }) => ({ root: resolve(rootDir, root || ".") })
|
|
48
|
+
}
|
|
49
|
+
}]
|
|
50
|
+
};
|
|
51
|
+
}
|
|
26
52
|
/** File in the project root where the running dev server tells commands where it listens. */
|
|
27
53
|
const viteHubDevServerFile = ".vitehub/dev-server.json";
|
|
28
54
|
function writeViteHubDevServerFile(root, info) {
|
|
@@ -47,8 +73,7 @@ function readViteHubDevServerFile(root) {
|
|
|
47
73
|
return;
|
|
48
74
|
}
|
|
49
75
|
}
|
|
50
|
-
|
|
51
|
-
//#region ../internal/src/vite-stage.ts
|
|
76
|
+
// ../internal/src/vite-stage.ts
|
|
52
77
|
/**
|
|
53
78
|
* Vite's `loadEnv(mode, envDir, "")`: every `.env` value of the mode and the whole shell. With `DEBUG=vite:env`, Vite
|
|
54
79
|
* logs that result to stderr, secrets included. loadEnv is synchronous, so this drops only the writes of this call.
|
|
@@ -62,5 +87,4 @@ function loadAllEnv(loadEnv, mode, envDir) {
|
|
|
62
87
|
process.stderr.write = write;
|
|
63
88
|
}
|
|
64
89
|
}
|
|
65
|
-
|
|
66
|
-
export { writeViteHubDevServerFile as a, removeViteHubDevServerFile as i, createCliDiscoveryNitroCloser as n, readViteHubDevServerFile as r, loadAllEnv as t };
|
|
90
|
+
export { viteCliProjectConfig as a, removeViteHubDevServerFile as i, createCliDiscoveryNitroCloser as n, writeViteHubDevServerFile as o, readViteHubDevServerFile as r, loadAllEnv as t };
|