vite-hub 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -8
- package/dist/_internal/runtime/browser-errors.d.ts +0 -2
- package/dist/_internal/runtime/browser-errors.js +3 -4
- package/dist/_internal/runtime/redirects.d.ts +1 -2
- package/dist/_internal/runtime/redirects.js +2 -3
- package/dist/_internal/runtime/request-policy.d.ts +1 -2
- package/dist/_internal/runtime/request-policy.js +2 -3
- package/dist/_internal/runtime/security.d.ts +1 -2
- package/dist/_internal/runtime/security.js +1 -2
- package/dist/{access-BC9HtX_M.js → access-CUFHPi8T.js} +13 -140
- package/dist/{access-policy-DhsEACna.d.ts → access-DkBck8Vu.d.ts} +17 -21
- package/dist/{access-policy-CVZg9LPR.js → access-policy-BM48XstY.js} +5 -6
- package/dist/{account-Cjj-tYzo.d.ts → account-DNr8fHcQ.d.ts} +5 -7
- package/dist/{console/runtime/server → agent/console}/agents.get.d.ts +2 -3
- package/dist/{console/runtime/server → agent/console}/agents.get.js +3 -4
- package/dist/{console/runtime/server → agent/console}/channel-replay.d.ts +3 -5
- package/dist/{console/runtime/server → agent/console}/channel-replay.js +6 -7
- package/dist/{console/runtime/server → agent/console}/invocation-capabilities.get.d.ts +1 -3
- package/dist/{console/runtime/server → agent/console}/invocation-capabilities.get.js +4 -5
- package/dist/agent/console/invocation-workspace.get.d.ts +6 -0
- package/dist/{console/runtime/server → agent/console}/invocation-workspace.get.js +6 -7
- package/dist/{console/runtime/server → agent/console}/invocation.get.d.ts +4 -6
- package/dist/{console/runtime/server → agent/console}/invocation.get.js +8 -9
- package/dist/{console/runtime/server → agent/console}/invocations.get.d.ts +1 -2
- package/dist/{console/runtime/server → agent/console}/invocations.get.js +5 -6
- package/dist/agent/console/invocations.usage.d.ts +6 -0
- package/dist/agent/console/invocations.usage.js +51 -0
- package/dist/agent/console/operations.d.ts +6 -0
- package/dist/agent/console/operations.js +247 -0
- package/dist/{console/runtime/server → agent/console}/status.get.d.ts +2 -4
- package/dist/{console/runtime/server → agent/console}/status.get.js +6 -7
- package/dist/{server-W0c79AYZ.js → agent-console-CHsLxKk_.js} +4 -4
- package/dist/agent-console-FmaYpVv-.d.ts +14 -0
- package/dist/{agent-invocations.post-C3Onl2yH.js → agent-invocations.post-CF5anHY6.js} +14 -17
- package/dist/agents-DBm_PJie.js +1 -0
- package/dist/{agents-B76RICcy.js → agents-DXLHsE7x.js} +5 -6
- package/dist/{agents-C94A4N9u.d.ts → agents-Gyw4VKPt.d.ts} +0 -2
- package/dist/auth/console/auth.d.ts +25 -0
- package/dist/{console/runtime/server → auth/console}/auth.js +11 -13
- package/dist/auth/console/operations.d.ts +3 -0
- package/dist/auth/console/operations.js +135 -0
- package/dist/auth/server.js +1 -2
- package/dist/{auth-operations-GcQk0O0X.js → auth-operations-BKqoX8Ua.js} +4 -5
- package/dist/{auth-types-D3ugQ8xM.d.ts → auth-types-Cotn7406.d.ts} +4 -21
- package/dist/bin.js +8 -11
- package/dist/blob/console/operations.d.ts +3 -0
- package/dist/blob/console/operations.js +44 -0
- package/dist/blob/nuxt-image.js +1 -2
- package/dist/{blob-BcgsZtqM.js → blob-iw8pWQ6o.js} +5 -6
- package/dist/{blob-iVewd7KQ.d.ts → blob-uNin0_TV.d.ts} +1 -3
- package/dist/{browser-error-limits-CToqAD-O.js → browser-error-limits-B0yS95zt.js} +2 -4
- package/dist/cache/operations.d.ts +2 -4
- package/dist/cache/operations.js +3 -4
- package/dist/cache.d.ts +1 -3
- package/dist/cache.js +2 -3
- package/dist/{cli-config-FPHk1nbC.js → cli-config-BX8H4ZCo.js} +2 -3
- package/dist/cli-config-DgpmE_7z.js +1 -0
- package/dist/cms.js +1 -2
- package/dist/console/auth-types.d.ts +2 -2
- package/dist/console/auth.d.ts +2 -4
- package/dist/console/auth.js +2 -3
- package/dist/console/runtime/auth-operations.d.ts +4 -6
- package/dist/console/runtime/auth-operations.js +1 -2
- package/dist/console/runtime/client/account-views.d.ts +1 -3
- package/dist/console/runtime/client/account-views.js +1 -2
- package/dist/console/runtime/client/account.d.ts +1 -1
- package/dist/console/runtime/client/account.js +29 -45
- package/dist/console/runtime/client/appearance.d.ts +1 -2
- package/dist/console/runtime/client/appearance.js +1 -2
- package/dist/console/runtime/client/auth-management.ts +6 -6
- package/dist/console/runtime/client/blob-media.d.ts +2 -4
- package/dist/console/runtime/client/blob-media.js +5 -6
- package/dist/console/runtime/client/comment-thread.d.ts +1 -3
- package/dist/console/runtime/client/comment-thread.js +3 -4
- package/dist/console/runtime/client/content-heads.d.ts +1 -2
- package/dist/console/runtime/client/content-heads.js +2 -3
- package/dist/console/runtime/client/documents.d.ts +2 -2
- package/dist/console/runtime/client/documents.js +1 -2
- package/dist/console/runtime/client/editor.d.ts +3 -5
- package/dist/console/runtime/client/editor.js +1 -2
- package/dist/console/runtime/client/env-groups.d.ts +1 -3
- package/dist/console/runtime/client/env-groups.js +1 -2
- package/dist/console/runtime/client/env-status.d.ts +1 -3
- package/dist/console/runtime/client/env-status.js +1 -2
- package/dist/console/runtime/client/format.d.ts +1 -3
- package/dist/console/runtime/client/format.js +1 -2
- package/dist/console/runtime/client/invocation-deletion.d.ts +1 -2
- package/dist/console/runtime/client/invocation-deletion.js +1 -2
- package/dist/console/runtime/client/invocation.d.ts +1 -2
- package/dist/console/runtime/client/invocation.js +4 -5
- package/dist/console/runtime/client/live.d.ts +2 -4
- package/dist/console/runtime/client/live.js +1 -2
- package/dist/console/runtime/client/mcp-client.d.ts +7 -5
- package/dist/console/runtime/client/mcp-client.js +10 -5
- package/dist/console/runtime/client/media-library.d.ts +1 -1
- package/dist/console/runtime/client/media-library.js +1 -2
- package/dist/console/runtime/client/media-uploads.d.ts +2 -4
- package/dist/console/runtime/client/media-uploads.js +2 -3
- package/dist/console/runtime/client/media.d.ts +1 -1
- package/dist/console/runtime/client/media.js +1 -2
- package/dist/console/runtime/client/operation-view.d.ts +2 -4
- package/dist/console/runtime/client/operation-view.js +4 -5
- package/dist/console/runtime/client/presence.d.ts +2 -4
- package/dist/console/runtime/client/presence.js +1 -2
- package/dist/console/runtime/client/preview.d.ts +1 -3
- package/dist/console/runtime/client/preview.js +1 -2
- package/dist/console/runtime/client/problem.d.ts +2 -4
- package/dist/console/runtime/client/problem.js +3 -4
- package/dist/console/runtime/client/project-link.d.ts +1 -1
- package/dist/console/runtime/client/project-link.js +1 -2
- package/dist/console/runtime/client/project-session.d.ts +19 -10
- package/dist/console/runtime/client/project-session.js +1 -723
- package/dist/console/runtime/client/project.d.ts +1 -3
- package/dist/console/runtime/client/project.js +1 -2
- package/dist/console/runtime/client/projects.d.ts +1 -1
- package/dist/console/runtime/client/projects.js +1 -2
- package/dist/console/runtime/client/publish.d.ts +2 -4
- package/dist/console/runtime/client/publish.js +1 -2
- package/dist/console/runtime/client/rate-limit.d.ts +1 -3
- package/dist/console/runtime/client/rate-limit.js +3 -4
- package/dist/console/runtime/client/read-only.d.ts +2 -4
- package/dist/console/runtime/client/read-only.js +2 -3
- package/dist/console/runtime/client/request.d.ts +2 -2
- package/dist/console/runtime/client/request.js +1 -2
- package/dist/console/runtime/client/route-query.d.ts +4 -5
- package/dist/console/runtime/client/route-query.js +1 -2
- package/dist/console/runtime/client/schedule-run.d.ts +1 -3
- package/dist/console/runtime/client/schedule-run.js +3 -4
- package/dist/console/runtime/client/schema-form.d.ts +1 -1
- package/dist/console/runtime/client/schema-form.js +1 -2
- package/dist/console/runtime/client/sections.d.ts +1 -1
- package/dist/console/runtime/client/sections.js +1 -2
- package/dist/console/runtime/client/site-access.d.ts +83 -16
- package/dist/console/runtime/client/site-access.js +159 -32
- package/dist/console/runtime/client/site-link.d.ts +2 -0
- package/dist/console/runtime/client/site-link.js +1 -0
- package/dist/console/runtime/client/stored.d.ts +1 -3
- package/dist/console/runtime/client/stored.js +1 -2
- package/dist/console/runtime/client/toast.d.ts +1 -3
- package/dist/console/runtime/client/toast.js +1 -2
- package/dist/console/runtime/client/workflow.d.ts +1 -3
- package/dist/console/runtime/client/workflow.js +3 -4
- package/dist/console/runtime/components/console-account-home.vue +9 -7
- package/dist/console/runtime/components/console-account-link.vue +8 -5
- package/dist/console/runtime/components/console-account-setup.vue +10 -7
- package/dist/console/runtime/components/console-account-shell.vue +7 -2
- package/dist/console/runtime/components/console-account-unlink.vue +2 -3
- package/dist/console/runtime/components/console-app-settings.vue +8 -2
- package/dist/console/runtime/components/console-auth-detail.vue +1 -1
- package/dist/console/runtime/components/console-auth-event-list.vue +1 -0
- package/dist/console/runtime/components/console-document-editor.vue +3 -4
- package/dist/console/runtime/components/console-hosted-comments-embed.vue +106 -0
- package/dist/console/runtime/components/console-mcp-callback.vue +6 -1
- package/dist/console/runtime/components/console-mcp-items.vue +3 -16
- package/dist/console/runtime/components/console-site.vue +10 -8
- package/dist/console/runtime/components/console-usage.vue +2 -2
- package/dist/console/runtime/console-route.d.ts +1 -3
- package/dist/console/runtime/console-route.js +1 -2
- package/dist/console/runtime/definitions.d.ts +1 -1
- package/dist/console/runtime/definitions.js +1 -2
- package/dist/console/runtime/diagnostics.ts +14 -49
- package/dist/console/runtime/mcp-client.d.ts +2 -2
- package/dist/console/runtime/mcp-client.js +1 -2
- package/dist/console/runtime/operation-loader.d.ts +1 -0
- package/dist/console/runtime/operation-loader.js +10 -0
- package/dist/console/runtime/page-tool/account.js +26 -0
- package/dist/console/runtime/page-tool/page-tool.js +2 -2
- package/dist/console/runtime/rpc.d.ts +1 -1
- package/dist/console/runtime/rpc.js +1 -2
- package/dist/console/runtime/sections.d.ts +2 -2
- package/dist/console/runtime/sections.js +1 -2
- package/dist/console/runtime/server/access-policy.d.ts +1 -1
- package/dist/console/runtime/server/access-policy.js +1 -2
- package/dist/console/runtime/server/agent-console.d.ts +2 -0
- package/dist/console/runtime/server/agent-console.js +1 -0
- package/dist/console/runtime/server/blob.d.ts +1 -1
- package/dist/console/runtime/server/blob.js +1 -2
- package/dist/console/runtime/server/database.d.ts +1 -1
- package/dist/console/runtime/server/database.js +1 -2
- package/dist/console/runtime/server/definitions.d.ts +1 -1
- package/dist/console/runtime/server/definitions.get.d.ts +4 -6
- package/dist/console/runtime/server/definitions.get.js +5 -6
- package/dist/console/runtime/server/definitions.js +1 -2
- package/dist/console/runtime/server/development.d.ts +1 -1
- package/dist/console/runtime/server/development.js +1 -2
- package/dist/console/runtime/server/documents.d.ts +2 -2
- package/dist/console/runtime/server/documents.js +3 -3
- package/dist/console/runtime/server/entry-site-access.d.ts +3 -0
- package/dist/console/runtime/server/entry-site-access.js +4 -0
- package/dist/console/runtime/server/entry.d.ts +3 -0
- package/dist/console/runtime/server/entry.js +4 -0
- package/dist/console/runtime/server/env.d.ts +1 -3
- package/dist/console/runtime/server/env.js +1 -2
- package/dist/console/runtime/server/operation-contributions.d.ts +1 -1
- package/dist/console/runtime/server/operation-contributions.js +1 -2
- package/dist/console/runtime/server/pill.d.ts +45 -0
- package/dist/console/runtime/server/pill.js +62 -0
- package/dist/console/runtime/server/rpc.d.ts +5 -10
- package/dist/console/runtime/server/rpc.js +19 -27
- package/dist/console/runtime/server/runtime.d.ts +1 -1
- package/dist/console/runtime/server/runtime.js +1 -2
- package/dist/console/runtime/server/sections.d.ts +5 -5
- package/dist/console/runtime/server/sections.get.d.ts +1 -1
- package/dist/console/runtime/server/sections.get.js +8 -9
- package/dist/console/runtime/server/sections.js +6 -6
- package/dist/console/runtime/server/setup.d.ts +5 -5
- package/dist/console/runtime/server/setup.js +5 -5
- package/dist/console/runtime/server/site-access-operation.d.ts +7 -0
- package/dist/console/runtime/server/site-access-operation.js +36 -0
- package/dist/console/runtime/server/site-actions.d.ts +73 -0
- package/dist/console/runtime/server/site-actions.js +105 -0
- package/dist/console/runtime/server/site-entry.d.ts +16 -9
- package/dist/console/runtime/server/site-entry.js +62 -46
- package/dist/console/runtime/server/site-visitor.d.ts +17 -0
- package/dist/console/runtime/server/site-visitor.js +1 -0
- package/dist/console/runtime/server/site.d.ts +27 -0
- package/dist/console/runtime/server/site.js +1 -0
- package/dist/console/runtime/skills.d.ts +1 -3
- package/dist/console/runtime/skills.js +1 -2
- package/dist/console/server.d.ts +9 -25
- package/dist/console/server.js +8 -8
- package/dist/console/ui.d.ts +0 -10
- package/dist/console/ui.js +14 -27
- package/dist/console-lazy-views-VEjcbL4Q.js +1 -0
- package/dist/{console-route-CM2G5hiC.js → console-route-DbdnLkkF.js} +2 -3
- package/dist/console-signature--55DIKf2.js +237 -0
- package/dist/console.d.ts +1 -3
- package/dist/console.js +1 -2
- package/dist/content/console/operations.d.ts +3 -0
- package/dist/content/console/operations.js +62 -0
- package/dist/{console/runtime/server → database/console}/database.get.d.ts +2 -3
- package/dist/{console/runtime/server → database/console}/database.get.js +4 -5
- package/dist/database/console/operations.d.ts +3 -0
- package/dist/database/console/operations.js +49 -0
- package/dist/{database-UMJgnU2z.js → database-CrgBUdIx.js} +3 -4
- package/dist/{database-DC67Ipm-.d.ts → database-yFezh5U1.d.ts} +1 -3
- package/dist/{definition-catalog-BUcclwSH.js → definition-catalog-1xPPtzOx.js} +3 -4
- package/dist/definition-catalog-M5ua7JRS.js +1 -0
- package/dist/{definitions-BW6SvmMM.js → definitions-BFYqXchw.js} +1 -2
- package/dist/{definitions-DB4LbZ7T.d.ts → definitions-ChvMnA1L.d.ts} +0 -2
- package/dist/{definitions-DTytrw42.js → definitions-DGo2rNQ9.js} +5 -6
- package/dist/{definitions-Dbgxfz3I.d.ts → definitions-DRkgHKmk.d.ts} +1 -3
- package/dist/{deployment-BUshgN5Q.js → deployment-CURATxjG.js} +2 -3
- package/dist/deployment-l7RuKdEp.js +1 -0
- package/dist/{dev-peer-CHjyHYG6.js → dev-peer-CRYp01PE.js} +2 -222
- package/dist/dev-peer-CX5C9243.js +1 -0
- package/dist/{development-zLxOp-AO.js → development-DD567hhJ.js} +2 -3
- package/dist/{development-RnopiRwK.d.ts → development-I40mfD7B.d.ts} +1 -3
- package/dist/{diagnostics-DtR0TAmq.js → diagnostics-DLHqjKGe.js} +3 -9
- package/dist/diagnostics-DgGKvWzF.d.ts +7 -0
- package/dist/docs/nuxt.js +1 -2
- package/dist/doctor.d.ts +0 -6
- package/dist/doctor.js +11492 -12152
- package/dist/{documents-BDR0AkYR.d.ts → documents-A-7Ho0g0.d.ts} +12 -16
- package/dist/{documents-B4R4JSfH.js → documents-BduuZjm3.js} +6 -6
- package/dist/{documents-BASIRZ91.d.ts → documents-CApMRd4o.d.ts} +4 -7
- package/dist/{documents-BewAPY61.js → documents-D6ueeoUR.js} +17 -21
- package/dist/durability/operations.d.ts +2 -4
- package/dist/durability/operations.js +3 -4
- package/dist/{entries-DbyNPLC9.js → entries-UFs9n1MB.js} +2 -3
- package/dist/{console/runtime/server → env/console}/env.get.d.ts +2 -4
- package/dist/env/console/env.get.js +15 -0
- package/dist/env/console/operations.d.ts +3 -0
- package/dist/env/console/operations.js +12 -0
- package/dist/env/vite.d.ts +1 -0
- package/dist/env/vite.js +2 -0
- package/dist/{env-Dg1I_DWr.js → env-D-wtSupz.js} +2 -3
- package/dist/{error-diagnostics-B1yAIaSn.js → error-diagnostics-CBtvqI30.js} +2 -7
- package/dist/{error-diagnostics-C0KyI408.js → error-diagnostics-kKXseq8d.js} +5 -2
- package/dist/error-diagnostics.ts +1 -7
- package/dist/{features-CC5OcZqJ.js → features-BXRKlmtN.js} +5 -6
- package/dist/features-CD5i5I8V.js +1 -0
- package/dist/{format-BOYlanIZ.js → format-Df-bS4Ly.js} +1 -2
- package/dist/{github-login-Bi3bfjRX.js → github-login-W-vaahWP.js} +1 -2
- package/dist/{host-CkL0jjBq.js → host-DeNPYIeV.js} +1 -2
- package/dist/{http-error-Bs6e8_-8.js → http-error-BorAxJYM.js} +1 -2
- package/dist/index.d.ts +1 -7
- package/dist/index.js +5 -7
- package/dist/{inspect-DbZuP_7b.js → inspect-CWwAuL-B.js} +2 -3
- package/dist/internal/agent-invocations-libsql.js +1 -2
- package/dist/internal/disabled-redis-driver.d.ts +1 -3
- package/dist/internal/disabled-redis-driver.js +2 -3
- package/dist/internal/disabled-upstash-driver.d.ts +1 -3
- package/dist/internal/disabled-upstash-driver.js +2 -3
- package/dist/internal/test-loader.d.ts +1 -3
- package/dist/internal/test-loader.js +2 -3
- package/dist/internal/test-server.js +2 -3
- package/dist/{internal-BreyUsQ6.js → internal-0C_CC601.js} +1 -2
- package/dist/{internal-Cc9N0shU.d.ts → internal-BRNf11h3.d.ts} +14 -8
- package/dist/{invariant-DolT9EEx.js → invariant-Dj2R1eMr.js} +1 -2
- package/dist/{invocation-page-undo-DqYcPlkQ.js → invocation-page-undo-DHbXczWY.js} +8 -7
- package/dist/invocations-B60XWNES.js +45 -0
- package/dist/{limits-BUlwWYQE.js → limits-BLo31qDR.js} +1 -2
- package/dist/logs/client.d.ts +1 -3
- package/dist/logs/client.js +1 -2
- package/dist/{console/runtime/server → logs/console}/logs.get.d.ts +3 -5
- package/dist/{console/runtime/server → logs/console}/logs.get.js +7 -8
- package/dist/logs/console/operations.d.ts +3 -0
- package/dist/logs/console/operations.js +23 -0
- package/dist/logs/host.d.ts +2 -4
- package/dist/logs/host.js +1 -2
- package/dist/logs/memory.d.ts +1 -1
- package/dist/logs/memory.js +1 -2
- package/dist/logs/source.d.ts +1 -1
- package/dist/logs/source.js +1 -2
- package/dist/logs.d.ts +2 -2
- package/dist/logs.js +2 -2
- package/dist/loopback-Bl9Cvj1k.js +139 -0
- package/dist/mcp/eval.d.ts +1 -0
- package/dist/mcp/eval.js +2 -0
- package/dist/{mcp-client-C_sEmyQw.d.ts → mcp-client-uXVvS7RL.d.ts} +5 -10
- package/dist/{media-uKX4Wy-c.d.ts → media-C79RB1oH.d.ts} +0 -2
- package/dist/{media-D3OfyKni.js → media-CNwnh6CG.js} +8 -9
- package/dist/{media-library-o8RRsnn_.js → media-library-DTC8TLsZ.js} +5 -6
- package/dist/{media-library-D9ThbXqs.d.ts → media-library-DxGu6w9z.d.ts} +0 -2
- package/dist/{memory-C54SDH_l.js → memory-D3EJS_Bp.js} +3 -4
- package/dist/{memory-2bbl4hcV.d.ts → memory-GK5ZGWrp.d.ts} +1 -3
- package/dist/{nuxt-server-auto-imports-cfTZYvgy.js → nuxt-server-auto-imports-4aT5BD4u.js} +1 -2
- package/dist/{nuxt-server-imports-75bWMeXc.js → nuxt-server-imports-BdJqiVhT.js} +1 -2
- package/dist/nuxt.d.ts +1 -3
- package/dist/nuxt.js +276 -182
- package/dist/{object-D8pRdprI.js → object-DRSmpe04.js} +1 -2
- package/dist/{operation-contributions-C3lwePQu.js → operation-contributions-BU10k2QS.js} +9 -9
- package/dist/{operation-contributions-CrdmqtJW.d.ts → operation-contributions-xwjDzj28.d.ts} +6 -7
- package/dist/{operation-definition-DxjKcCGm.js → operation-definition-D04Rdjbe.js} +7 -9
- package/dist/operation-modules-BUXlwjvd.js +1 -0
- package/dist/operation-modules-DHWkPcfS.js +139 -0
- package/dist/{operation-registry-BogGwk_I.js → operation-registry-DfQbL7vE.js} +1 -2
- package/dist/{operation-rpc-DI9txNxK.js → operation-rpc-BMdfapja.js} +3 -4
- package/dist/operations-D-7ljPqw.js +1 -0
- package/dist/{operations-TTjL_7Zc.d.ts → operations-DgFhA1WE.d.ts} +0 -4
- package/dist/{operations-CFYGXqLm.js → operations-DksTrRMb.js} +4 -5
- package/dist/operations-byxiZ2R2.js +113 -0
- package/dist/{optional-owners-O6sj4uoj.js → optional-owners-Cypch7V3.js} +4 -6
- package/dist/{out-fRNaVslw.js → out-Cw5Tvr92.js} +2933 -2301
- package/dist/{owned-paths-BnjT0FhU.js → owned-paths-MjjDftBn.js} +1 -2
- package/dist/page/pill.iife.js +2 -2
- package/dist/page-tools-BeZrtn4S.js +46 -0
- package/dist/page-tools-Chk8Gm9x.d.ts +23 -0
- package/dist/page-tools-shared-BLPidmCi.js +39 -0
- package/dist/{pathe.M-eThtNZ-J4gfe1m9.js → pathe.M-eThtNZ-D4EC7Wue.js} +1 -2
- package/dist/{plugins-DoXnU6-s.d.ts → plugins-BmkOoyIh.d.ts} +25 -110
- package/dist/{plugins-BTZQaFtZ.js → plugins-DfXcUnzN.js} +1779 -1384
- package/dist/presets/workspace.js +1 -2
- package/dist/{project-Dgyq1F1V.d.ts → project-B2qWt8on.d.ts} +3 -12
- package/dist/{project-DlWTGB7h.js → project-DRC67Uiu.js} +1 -2
- package/dist/{project-DXZRZEPX.js → project-_juMSuAS.js} +8 -11
- package/dist/{project-link-DT99MoyU.js → project-link-CJbCkOlC.js} +7 -8
- package/dist/{project-link-bNS-KROO.d.ts → project-link-Ck3vuq9w.d.ts} +2 -4
- package/dist/{project-root-v6ba4tn7.js → project-root-mAVQGZTX.js} +1 -2
- package/dist/project-session-8pN7pRo8.js +764 -0
- package/dist/{projects-CAcXztf4.js → projects-BRp0iseV.js} +1 -2
- package/dist/{projects-Ddvl9EJp.d.ts → projects-mgPxrKZr.d.ts} +0 -2
- package/dist/{registry-zw6aE2N9.js → registry-B8JE5NY-.js} +1 -2
- package/dist/{registry-CDKLACCZ.js → registry-CnPC-gNu.js} +1 -2
- package/dist/{request-CMA2UKKq.js → request-D769eiBL.js} +5 -6
- package/dist/{request-D7h3SQ92.d.ts → request-DYmjLTqP.d.ts} +2 -4
- package/dist/{request-SBLxvpyr.d.ts → request-DkoE0b2h.d.ts} +11 -4
- package/dist/{request-Cs0FqxEL.js → request-XFVx7CGC.js} +30 -9
- package/dist/{request-origin-COUkgHd6.js → request-origin-pzWr9UUu.js} +1 -2
- package/dist/{rolldown-runtime-CMFfr-1z.js → rolldown-runtime-DegdyBIC.js} +2 -3
- package/dist/{route-query-CRVWXIrc.js → route-query-BWVl6ZO6.js} +4 -5
- package/dist/routes-D02vxUSg.js +26 -0
- package/dist/{rpc-DIUA61pv.js → rpc-D3tsx5lZ.js} +1 -2
- package/dist/{rpc-7nlHSv3y.d.ts → rpc-oijgKQtD.d.ts} +0 -2
- package/dist/{runtime-YLWfdrtO.js → runtime-CAbuQGMP.js} +3 -4
- package/dist/{runtime-B-46Bawt.js → runtime-CRJsqVTa.js} +2 -3
- package/dist/{runtime-DxfJOfCd.js → runtime-DA7HJe10.js} +3 -4
- package/dist/runtime-DGvimtvc.d.ts +5 -0
- package/dist/{runtime-CX_l_78I.js → runtime-F0CTqBFx.js} +5 -6
- package/dist/{runtime-feature-guard-CuyPVGj9.js → runtime-feature-guard-BKAMRZzM.js} +6 -7
- package/dist/scan-module-B1A24jqP.js +1 -0
- package/dist/{scan-module-Df58L_6T.js → scan-module-BfZvDBxb.js} +2 -4
- package/dist/{schema-form-C-fy3xaU.d.ts → schema-form-Bl79Bdm-.d.ts} +0 -2
- package/dist/search-jgMrZJXR.js +84 -0
- package/dist/{sections-DumoLKQN.js → sections-AUGy9EkY.js} +2 -8
- package/dist/{sections-BogiCmtz.d.ts → sections-BMkFB3S-.d.ts} +4 -6
- package/dist/{sections-C83x0slv.js → sections-BNTdIEJw.js} +2 -3
- package/dist/{sections-Do7X4Nwt.d.ts → sections-DCoCa4nF.d.ts} +1 -8
- package/dist/sections-DjeAUX7o.d.ts +8 -0
- package/dist/{sections-BKUReack.js → sections-ZFAlI4JW.js} +14 -7
- package/dist/{sections.get-H46e2urg.d.ts → sections.get-BY5dClJY.d.ts} +2 -4
- package/dist/seo/runtime.d.ts +2 -5
- package/dist/seo/runtime.js +3 -5
- package/dist/{seo-CtLywyRx.d.ts → seo-CgW5uI9L.d.ts} +0 -2
- package/dist/seo.d.ts +1 -1
- package/dist/seo.js +1 -2
- package/dist/{setup-BC0P3eZy.d.ts → setup-BBnZPziq.d.ts} +5 -10
- package/dist/{setup-DNGzawFn.js → setup-yc3_WKNG.js} +4 -17
- package/dist/site-CZCIWsUQ.js +169 -0
- package/dist/site-link-Bvo2SxPo.js +58 -0
- package/dist/site-link-Dtw8MNVB.d.ts +18 -0
- package/dist/site-pages-B6J8U2Nq.js +66 -0
- package/dist/site-token-Wa7fhjwg.js +215 -0
- package/dist/site-visitor-BkhE2TA0.js +89 -0
- package/dist/skills/operations.d.ts +1 -5
- package/dist/skills/operations.js +4 -5
- package/dist/{skills-DdpSMiCI.js → skills-C1MaGEbO.js} +1 -2
- package/dist/skills.d.ts +1 -2
- package/dist/{skills.get-CRd06TTb.js → skills.get-CW8vc_Hf.js} +3 -4
- package/dist/skills.js +1 -2
- package/dist/{source-Cw3iYvJF.js → source-DYFndd0W.js} +2 -3
- package/dist/{source-S-LChQvw.d.ts → source-DemBtwla.d.ts} +0 -2
- package/dist/{stored-Dhv2qsQv.js → stored-J3TetMKf.js} +1 -2
- package/dist/task/operations.d.ts +1 -5
- package/dist/task/operations.js +3 -4
- package/dist/test/register.js +2 -3
- package/dist/test.d.ts +0 -4
- package/dist/test.js +1 -2
- package/dist/ui/vite.js +1 -2
- package/dist/usage-DBi7aOhx.js +33 -0
- package/dist/{version-dkga9imp.js → version-DUCd7Orc.js} +24 -21
- package/dist/{vite-stage-D7fe614I.js → vite-stage-Dmo4RgnK.js} +3 -5
- package/dist/{vue-router-C68IU1jM.d.ts → vue-router-plZJLlpm.d.ts} +120 -182
- package/dist/workspace/console/operations.d.ts +3 -0
- package/dist/workspace/console/operations.js +22 -0
- package/dist/{console/runtime/server → workspace/console}/workspace-files.get.d.ts +3 -5
- package/dist/{console/runtime/server → workspace/console}/workspace-files.get.js +4 -5
- package/dist/{workspace-history-B95Q-kGI.js → workspace-history-B52xib2J.js} +3 -4
- package/dist/{workspace-history-CeVwBB6Q.d.ts → workspace-history-WuxgLsi4.d.ts} +0 -2
- package/package.json +158 -149
- package/dist/agents-BhFggA26.js +0 -2
- package/dist/auth-GFIN6xSJ.d.ts +0 -120
- package/dist/cli-config-g_mbWdjT.js +0 -2
- package/dist/cloudflare-env-lookup-DKXdr4P_.js +0 -16
- package/dist/console/runtime/client/ticket.d.ts +0 -2
- package/dist/console/runtime/client/ticket.js +0 -2
- package/dist/console/runtime/page/loader.js +0 -134
- package/dist/console/runtime/server/auth.d.ts +0 -2
- package/dist/console/runtime/server/env.get.js +0 -16
- package/dist/console/runtime/server/invocation-workspace.get.d.ts +0 -8
- package/dist/console/runtime/server/mcp-client-operations.d.ts +0 -5
- package/dist/console/runtime/server/mcp-client-operations.js +0 -139
- package/dist/console/runtime/server/page-auth.d.ts +0 -18
- package/dist/console/runtime/server/page-auth.js +0 -44
- package/dist/console/runtime/server/page-tool.d.ts +0 -2
- package/dist/console/runtime/server/page-tool.js +0 -110
- package/dist/console/runtime/server/page-tools-route.d.ts +0 -2
- package/dist/console/runtime/server/page-tools-route.js +0 -5
- package/dist/console/runtime/server/search.get.d.ts +0 -4
- package/dist/console/runtime/server/search.get.js +0 -97
- package/dist/console/runtime/server/site-session.d.ts +0 -80
- package/dist/console/runtime/server/site-session.js +0 -2
- package/dist/console/runtime/server/tickets.d.ts +0 -2
- package/dist/console/runtime/server/tickets.js +0 -2
- package/dist/console/runtime/server/usage.get.d.ts +0 -10
- package/dist/console/runtime/server/usage.get.js +0 -92
- package/dist/console/runtime/site-access.d.ts +0 -2
- package/dist/console/runtime/site-access.js +0 -2
- package/dist/console-lazy-views-DXnIkdyd.js +0 -2
- package/dist/definition-catalog-og_1razf.js +0 -2
- package/dist/deployment-C2B0hBBj.js +0 -2
- package/dist/diagnostics-CjGiniKb.d.ts +0 -11
- package/dist/features-ujWsvlEH.js +0 -2
- package/dist/invocations-6jxqLkGY.js +0 -86
- package/dist/mcp-client-C91h8Taa.js +0 -1024
- package/dist/mcp-client-CTbTbn7d.js +0 -10
- package/dist/operations-5Lwd1xEI.js +0 -2
- package/dist/operations-ChEXk2ij.js +0 -853
- package/dist/page-tool-PmxH65gt.d.ts +0 -69
- package/dist/page-tools-ClgqElu-.js +0 -462
- package/dist/page-tools-DcCCtDKi.d.ts +0 -23
- package/dist/page-tools-shared-aNC9YtoI.js +0 -125
- package/dist/runtime-B_btezs1.d.ts +0 -7
- package/dist/scan-module-D_3X08mj.js +0 -2
- package/dist/secret-DELGKpCJ.js +0 -44
- package/dist/sections-CFiMNsqu.d.ts +0 -10
- package/dist/site-access-BycrwM2v.js +0 -18
- package/dist/site-access-CAiWyKOD.js +0 -2
- package/dist/site-access-DxfdOel1.d.ts +0 -55
- package/dist/site-access-L1qbvKt6.js +0 -293
- package/dist/site-session-CRwgKtTF.js +0 -300
- package/dist/skills/vitehub/SKILL.md +0 -142
- package/dist/skills/vitehub/agents/openai.yaml +0 -4
- package/dist/skills/vitehub/references/agent-definitions.md +0 -36
- package/dist/skills/vitehub/references/bundle.md +0 -57
- package/dist/skills/vitehub/references/capabilities-authority.md +0 -30
- package/dist/skills/vitehub/references/channels-triggers.md +0 -27
- package/dist/skills/vitehub/references/framework-composition.md +0 -29
- package/dist/skills/vitehub/references/preview-contract.md +0 -44
- package/dist/skills/vitehub/references/primitives/auth.md +0 -14
- package/dist/skills/vitehub/references/primitives/blob.md +0 -13
- package/dist/skills/vitehub/references/primitives/browser.md +0 -17
- package/dist/skills/vitehub/references/primitives/cache.md +0 -13
- package/dist/skills/vitehub/references/primitives/channels.md +0 -11
- package/dist/skills/vitehub/references/primitives/connections.md +0 -14
- package/dist/skills/vitehub/references/primitives/content.md +0 -13
- package/dist/skills/vitehub/references/primitives/database.md +0 -15
- package/dist/skills/vitehub/references/primitives/email.md +0 -11
- package/dist/skills/vitehub/references/primitives/env.md +0 -13
- package/dist/skills/vitehub/references/primitives/kv.md +0 -13
- package/dist/skills/vitehub/references/primitives/markdown-template.md +0 -13
- package/dist/skills/vitehub/references/primitives/queue.md +0 -14
- package/dist/skills/vitehub/references/primitives/rate-limit.md +0 -11
- package/dist/skills/vitehub/references/primitives/realtime.md +0 -19
- package/dist/skills/vitehub/references/primitives/sandbox-task.md +0 -11
- package/dist/skills/vitehub/references/primitives/sandbox.md +0 -13
- package/dist/skills/vitehub/references/primitives/schedule.md +0 -11
- package/dist/skills/vitehub/references/primitives/shell.md +0 -11
- package/dist/skills/vitehub/references/primitives/source.md +0 -11
- package/dist/skills/vitehub/references/primitives/workflow.md +0 -11
- package/dist/skills/vitehub/references/primitives/workspace.md +0 -11
- package/dist/skills/vitehub/references/project-patterns.md +0 -19
- package/dist/skills/vitehub/references/project-shapes.md +0 -81
- package/dist/skills/vitehub/references/proof-recovery.md +0 -31
- package/dist/skills/vitehub/references/sandboxes-hosts.md +0 -26
- package/dist/skills/vitehub/references/schedules-workflows-invocations.md +0 -28
- package/dist/skills/vitehub/references/server-primitives.md +0 -39
- package/dist/skills/vitehub/references/workspaces-sources-access.md +0 -26
- package/dist/ticket-DtBAstEU.js +0 -31
- package/dist/ticket-Pr_8ZtXW.d.ts +0 -14
- package/dist/tickets-DahBmKDT.js +0 -357
- package/dist/usage-CoQXs5nW.d.ts +0 -22
- package/dist/usage-index-VJAZ7a0p.js +0 -335
- package/dist/usage-jKtAgJZ0.js +0 -571
- /package/dist/{console/runtime/public/skills → console-skills}/index.json +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/SKILL.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/agents/openai.yaml +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/agent-definitions.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/bundle.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/capabilities-authority.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/channels-triggers.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/framework-composition.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/preview-contract.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/auth.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/blob.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/browser.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/cache.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/channels.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/connections.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/content.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/database.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/email.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/env.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/kv.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/markdown-template.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/queue.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/rate-limit.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/realtime.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/sandbox-task.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/sandbox.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/schedule.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/shell.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/source.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/workflow.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/primitives/workspace.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/project-patterns.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/project-shapes.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/proof-recovery.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/sandboxes-hosts.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/schedules-workflows-invocations.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/server-primitives.md +0 -0
- /package/dist/{console/runtime/public/skills → console-skills}/vitehub/references/workspaces-sources-access.md +0 -0
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { PluginOption } from "vite";
|
|
2
2
|
import { MaybePromise as MaybePromise$1, RuntimeDiagnosticError, TraceEventContentPolicy, TraceEventLogEntry } from "@vite-hub/runtime";
|
|
3
3
|
import { EnvOptions, EnvOptions as EnvOptions$1, EnvRuntimeConfigOptions, EnvVariableDeclaration } from "@vite-hub/env";
|
|
4
|
-
//#region ../internal/dist/deployment.d.ts
|
|
5
|
-
//#region src/deployment.d.ts
|
|
6
4
|
/** The host that ViteHub builds for: the `host` option of `vitehub()` and the value of `VITEHUB_HOST`. */
|
|
7
5
|
type ViteHubHost = "cloudflare" | "deno" | "netlify" | "node" | "vercel";
|
|
8
6
|
/**
|
|
@@ -12,8 +10,6 @@ type ViteHubHost = "cloudflare" | "deno" | "netlify" | "node" | "vercel";
|
|
|
12
10
|
* `vitehub()` uses this result when `host` is omitted, and `"node"` when it is `undefined`.
|
|
13
11
|
*/
|
|
14
12
|
declare function detectHost(env?: Record<string, string | undefined>): ViteHubHost | undefined;
|
|
15
|
-
//#endregion
|
|
16
|
-
//#region src/cache-storage.d.ts
|
|
17
13
|
/** Storage for Nitro's `cache` mount, used by `defineCachedFunction()` and `defineCachedEventHandler()`. */
|
|
18
14
|
type CacheOptions = {
|
|
19
15
|
driver: "cloudflare";
|
|
@@ -31,8 +27,6 @@ type CacheOptions = {
|
|
|
31
27
|
} | {
|
|
32
28
|
driver: "vercel";
|
|
33
29
|
};
|
|
34
|
-
//#endregion
|
|
35
|
-
//#region ../database/dist/types-COFKaC2i.d.ts
|
|
36
30
|
interface RuntimeEnvDeclarationLike {
|
|
37
31
|
default?: unknown;
|
|
38
32
|
kind: "env-variable";
|
|
@@ -132,14 +126,11 @@ type DatabaseNuxtIntegrationOptions = false | DatabaseIntegrationOptions & Parti
|
|
|
132
126
|
type DatabaseOptions = false | DatabaseIntegrationOptions & Partial<DatabaseRuntimeD1Options> & {
|
|
133
127
|
connection?: DatabaseConnectionConfig;
|
|
134
128
|
};
|
|
135
|
-
//#endregion
|
|
136
|
-
//#region ../comments/dist/vite.d.ts
|
|
137
|
-
//#endregion
|
|
138
|
-
//#region src/live-vite.d.ts
|
|
139
129
|
/** Module paths that generated files import. The `vite-hub` distribution passes its own subpaths. */
|
|
140
130
|
interface CommentsImports {
|
|
141
131
|
/** Exports `defineCommentsPlugin`, `createCommentsHandler`, and `viteHubPageSessionHandler`. */
|
|
142
132
|
runtime: string;
|
|
133
|
+
siteVisitor?: string;
|
|
143
134
|
/** Exports `commentsRealtime`. */
|
|
144
135
|
realtime: string;
|
|
145
136
|
/** Exports `commentsAuthSession`. */
|
|
@@ -207,17 +198,28 @@ interface CommentsVitePluginOptions {
|
|
|
207
198
|
* `defineComments({ rateLimit })` there too. Default `false`: each process counts in its memory.
|
|
208
199
|
*/
|
|
209
200
|
rateLimit?: boolean;
|
|
201
|
+
/**
|
|
202
|
+
* More segments of the Comments pill, such as the **Console** segment of `vite-hub`. The generated Nitro plugin
|
|
203
|
+
* imports `export` from `module` and calls it with the Nitro app and `{ base, development, ...options }`, before it
|
|
204
|
+
* installs the pill. With `overlay: false`, the app has no pill and calls none of them.
|
|
205
|
+
*/
|
|
206
|
+
pillSegments?: readonly CommentsPillSegment[];
|
|
207
|
+
}
|
|
208
|
+
/** A segment of the Comments pill that another package adds. See `CommentsVitePluginOptions.pillSegments`. */
|
|
209
|
+
interface CommentsPillSegment {
|
|
210
|
+
/** The file or package path of the module that exports the install function. */
|
|
211
|
+
module: string;
|
|
212
|
+
/** The name of the install function. */
|
|
213
|
+
export: string;
|
|
214
|
+
/** JSON options that the install function gets with `base` and `development`. */
|
|
215
|
+
options?: Readonly<Record<string, string | number | boolean>>;
|
|
210
216
|
}
|
|
211
|
-
//#endregion
|
|
212
|
-
//#region src/vite.d.ts
|
|
213
217
|
type HubCommentsOptions = CommentsVitePluginOptions & {
|
|
214
218
|
/** Import paths of the comment operations. `vite-hub` passes its own subpaths. */
|
|
215
219
|
operationsImports?: {
|
|
216
220
|
operations?: string;
|
|
217
221
|
};
|
|
218
222
|
};
|
|
219
|
-
//#endregion
|
|
220
|
-
//#region src/health-vite.d.ts
|
|
221
223
|
/** A primitive that the health route can check. */
|
|
222
224
|
type HealthCheck = "database" | "kv" | "blob";
|
|
223
225
|
interface HealthOptions {
|
|
@@ -229,8 +231,6 @@ interface HealthOptions {
|
|
|
229
231
|
*/
|
|
230
232
|
checks?: readonly HealthCheck[];
|
|
231
233
|
}
|
|
232
|
-
//#endregion
|
|
233
|
-
//#region src/deploy-options.d.ts
|
|
234
234
|
interface DeployOptions {
|
|
235
235
|
/**
|
|
236
236
|
* Paths that `vitehub deploy` requests on the deployed URL after each deploy, such as `["/", "/api/products"]`. Each
|
|
@@ -245,8 +245,6 @@ interface DeployOptions {
|
|
|
245
245
|
*/
|
|
246
246
|
indexNow?: boolean;
|
|
247
247
|
}
|
|
248
|
-
//#endregion
|
|
249
|
-
//#region src/seo/vite.d.ts
|
|
250
248
|
/** `vitehub({ seo })`. */
|
|
251
249
|
interface SeoOptions {
|
|
252
250
|
/**
|
|
@@ -268,8 +266,6 @@ interface SeoOptions {
|
|
|
268
266
|
disallow?: readonly string[];
|
|
269
267
|
};
|
|
270
268
|
}
|
|
271
|
-
//#endregion
|
|
272
|
-
//#region src/security-vite.d.ts
|
|
273
269
|
/** The headers that built output sends by default. */
|
|
274
270
|
declare const defaultSecurityHeaders: {
|
|
275
271
|
readonly "Strict-Transport-Security": "max-age=31536000";
|
|
@@ -299,8 +295,6 @@ interface SecurityOptions {
|
|
|
299
295
|
*/
|
|
300
296
|
maxBodySize?: number | `${number}${ByteUnit}`;
|
|
301
297
|
}
|
|
302
|
-
//#endregion
|
|
303
|
-
//#region src/request-policy-vite.d.ts
|
|
304
298
|
/** `sameOriginWrites` options of `vitehub()`. */
|
|
305
299
|
interface SameOriginWritesOptions {
|
|
306
300
|
/**
|
|
@@ -309,8 +303,6 @@ interface SameOriginWritesOptions {
|
|
|
309
303
|
*/
|
|
310
304
|
exclude?: string[];
|
|
311
305
|
}
|
|
312
|
-
//#endregion
|
|
313
|
-
//#region src/redirects-vite.d.ts
|
|
314
306
|
/** `redirects` options of `vitehub()`. */
|
|
315
307
|
interface RedirectsOptions {
|
|
316
308
|
/**
|
|
@@ -332,9 +324,6 @@ interface RedirectsOptions {
|
|
|
332
324
|
*/
|
|
333
325
|
previewHosts?: string[];
|
|
334
326
|
}
|
|
335
|
-
//#endregion
|
|
336
|
-
//#region ../workspace/dist/types-9DMtFjaa.d.ts
|
|
337
|
-
//#region src/core/types.d.ts
|
|
338
327
|
type WorkspaceContent = string | Uint8Array;
|
|
339
328
|
type WorkspaceContentStream = ReadableStream<Uint8Array> | AsyncIterable<Uint8Array>;
|
|
340
329
|
interface ReadFileOptions {
|
|
@@ -744,9 +733,6 @@ interface WorkspaceOptions {
|
|
|
744
733
|
assets?: boolean | string[];
|
|
745
734
|
store?: WorkspaceStoreOptions;
|
|
746
735
|
}
|
|
747
|
-
//#endregion
|
|
748
|
-
//#region ../sandbox/dist/index-DHl0T43e.d.ts
|
|
749
|
-
//#region src/internal/network-policy.d.ts
|
|
750
736
|
/**
|
|
751
737
|
* The outbound network of a Sandbox. The `vercel` and `cloudflare` runtimes take this form.
|
|
752
738
|
* - `"allow-all"`: no limit. This is the default.
|
|
@@ -757,8 +743,6 @@ interface WorkspaceOptions {
|
|
|
757
743
|
type SandboxNetworkPolicy = "allow-all" | "deny-all" | {
|
|
758
744
|
allow: readonly string[];
|
|
759
745
|
};
|
|
760
|
-
//#endregion
|
|
761
|
-
//#region src/vercel.d.ts
|
|
762
746
|
type VercelSandboxSource = {
|
|
763
747
|
depth?: number;
|
|
764
748
|
revision?: string;
|
|
@@ -785,10 +769,6 @@ type VercelSandboxNetworkPolicy = "allow-all" | "deny-all" | {
|
|
|
785
769
|
deny?: readonly string[];
|
|
786
770
|
};
|
|
787
771
|
};
|
|
788
|
-
//#endregion
|
|
789
|
-
//#region ../agent/dist/types-BS24uH6X.d.ts
|
|
790
|
-
//#endregion
|
|
791
|
-
//#region src/agent-invocation.d.ts
|
|
792
772
|
type AgentInvocationStatus = "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
793
773
|
type AgentInvocationAnnotationValue = boolean | number | string | null;
|
|
794
774
|
type AgentInvocationRecordStatus = AgentInvocationStatus;
|
|
@@ -801,6 +781,7 @@ interface AgentInvocationWorkflowBinding {
|
|
|
801
781
|
interface AgentInvocationRecord {
|
|
802
782
|
/** Durable provider dispatch intent and acknowledged physical identity. */
|
|
803
783
|
workflow?: AgentInvocationWorkflowBinding;
|
|
784
|
+
executionMode?: "inline" | "workflow";
|
|
804
785
|
agentName?: string;
|
|
805
786
|
annotations?: Record<string, AgentInvocationAnnotationValue>;
|
|
806
787
|
/** Capability IDs observed during this Invocation, including uses omitted from a truncated trace. */
|
|
@@ -1001,8 +982,6 @@ interface AgentInvocationsOptions {
|
|
|
1001
982
|
/** Time to wait for one store operation before the journal treats it as unconfirmed. Default 1000 ms; maximum 60000 ms. Raise it for a store in a distant region. */
|
|
1002
983
|
storeTimeoutMs?: number;
|
|
1003
984
|
}
|
|
1004
|
-
//#endregion
|
|
1005
|
-
//#region src/retention.d.ts
|
|
1006
985
|
/** Units of a retention duration string: milliseconds, seconds, minutes, hours, days, and weeks. */
|
|
1007
986
|
type AgentRetentionDurationUnit = "ms" | "s" | "m" | "h" | "d" | "w";
|
|
1008
987
|
/** A duration such as `"14d"`, `"12h"`, `"30m"`, or `"1.5h"`. */
|
|
@@ -1030,8 +1009,6 @@ interface AgentRetentionPolicy {
|
|
|
1030
1009
|
*/
|
|
1031
1010
|
maxSize?: false | number | AgentRetentionSize;
|
|
1032
1011
|
}
|
|
1033
|
-
//#endregion
|
|
1034
|
-
//#region src/invocations/app.d.ts
|
|
1035
1012
|
/** Built-in Invocation journal stores. `database` uses the app's ViteHub Database. `memory` keeps records in the server process. */
|
|
1036
1013
|
type AgentInvocationsStoreName = "database" | "memory";
|
|
1037
1014
|
type AgentInvocationsJournalOptions = Omit<AgentInvocationsOptions, "store">;
|
|
@@ -1067,8 +1044,6 @@ type AgentInvocationsDefault = AgentInvocationsStoreName | false | AgentInvocati
|
|
|
1067
1044
|
store: "memory";
|
|
1068
1045
|
database?: never;
|
|
1069
1046
|
});
|
|
1070
|
-
//#endregion
|
|
1071
|
-
//#region src/types.d.ts
|
|
1072
1047
|
type AgentRuntimeName = "cloudflare-agents" | "deno" | "unknown" | "vercel" | "vite";
|
|
1073
1048
|
type AgentRuntime = "auto" | AgentRuntimeName;
|
|
1074
1049
|
type AgentExecution = "inline" | "sandbox" | "workflow";
|
|
@@ -1188,8 +1163,6 @@ interface AgentOptions$1 {
|
|
|
1188
1163
|
*/
|
|
1189
1164
|
shutdown?: false | AgentShutdownOptions;
|
|
1190
1165
|
}
|
|
1191
|
-
//#endregion
|
|
1192
|
-
//#region src/console/vite.d.ts
|
|
1193
1166
|
/**
|
|
1194
1167
|
* The Console options. `console: true` is the same as `console: {}`.
|
|
1195
1168
|
* The app serves one Console route, `POST /_vitehub/rpc`. It takes only requests that the ViteHub Console or the CLI
|
|
@@ -1219,18 +1192,13 @@ interface ConsoleOptions {
|
|
|
1219
1192
|
*/
|
|
1220
1193
|
sections?: Readonly<Record<string, false>>;
|
|
1221
1194
|
/**
|
|
1222
|
-
*
|
|
1223
|
-
*
|
|
1195
|
+
* The origin of the ViteHub Console that opens this app, such as `https://console.example.com` for a self-hosted
|
|
1196
|
+
* Console. `/_vitehub` and the links to the Console go there, Site access signs people in there, and the Comments
|
|
1197
|
+
* pill loads the Console segment from there. It must be an `https://` origin without a path, or `http://localhost`
|
|
1198
|
+
* for a Console on this computer. Defaults to `https://console.vitehub.dev`.
|
|
1224
1199
|
*/
|
|
1225
|
-
|
|
1226
|
-
/**
|
|
1227
|
-
* Show the MCP client section: it connects to MCP servers as the person who signed in to the Console, with OAuth or a
|
|
1228
|
-
* token. It lists the servers that the app announces in its RFC 9728 metadata, such as its own `/mcp`.
|
|
1229
|
-
*/
|
|
1230
|
-
mcpClient?: boolean;
|
|
1200
|
+
url?: string;
|
|
1231
1201
|
}
|
|
1232
|
-
//#endregion
|
|
1233
|
-
//#region src/systemd.d.ts
|
|
1234
1202
|
/** `systemd` options of `vitehub()`. */
|
|
1235
1203
|
interface SystemdOptions {
|
|
1236
1204
|
/** The unit name without `.service`. Defaults to the deployment name: `vitehub({ name })`, else the package.json name. */
|
|
@@ -1249,8 +1217,6 @@ interface SystemdOptions {
|
|
|
1249
1217
|
/** `Environment=` variables, such as `{ PORT: "3000" }`. */
|
|
1250
1218
|
environment?: Record<string, string>;
|
|
1251
1219
|
}
|
|
1252
|
-
//#endregion
|
|
1253
|
-
//#region src/observability-vite.d.ts
|
|
1254
1220
|
/** Self-contained options for the evlog Nitro module. */
|
|
1255
1221
|
interface ObservabilityEvlogOptions {
|
|
1256
1222
|
enabled?: boolean;
|
|
@@ -1341,8 +1307,6 @@ interface ObservabilityOptions {
|
|
|
1341
1307
|
*/
|
|
1342
1308
|
browserErrors?: boolean;
|
|
1343
1309
|
}
|
|
1344
|
-
//#endregion
|
|
1345
|
-
//#region ../blob/dist/types-CcPFXhpt.d.ts
|
|
1346
1310
|
/**
|
|
1347
1311
|
* Built-in transformer names. `auto` picks the Cloudflare Images binding, then sharp, then passthrough. `photon` uses
|
|
1348
1312
|
* `@cf-wasm/photon` on every host and is never picked by `auto`.
|
|
@@ -1364,8 +1328,6 @@ interface BlobImagesOptions {
|
|
|
1364
1328
|
/** Defaults to `auto`. */
|
|
1365
1329
|
transformer?: BlobImageTransformerName;
|
|
1366
1330
|
}
|
|
1367
|
-
//#endregion
|
|
1368
|
-
//#region ../blob/dist/types-B00_GW70.d.ts
|
|
1369
1331
|
/**
|
|
1370
1332
|
* Cloudflare R2 jurisdiction that keeps bucket data in one region.
|
|
1371
1333
|
* @see https://developers.cloudflare.com/r2/reference/data-location/#jurisdictional-restrictions
|
|
@@ -1516,26 +1478,15 @@ type BlobOptions = false | BlobStoresConfig | (BlobModuleBaseOptions & HostedBlo
|
|
|
1516
1478
|
} & Partial<Pick<ResolvedCloudflareR2BlobStoreConfig, "binding" | "bucketName" | "jurisdiction">>) | (BlobModuleBaseOptions & HostedBlobStoreConfig & {
|
|
1517
1479
|
driver?: undefined;
|
|
1518
1480
|
} & Partial<Pick<NetlifyBlobsStoreConfig, "name">>) | (BlobModuleBaseOptions & BlobStoreConfig);
|
|
1519
|
-
//#endregion
|
|
1520
|
-
//#region ../browser/dist/types-lA5LsVzt.d.ts
|
|
1521
|
-
//#region src/types.d.ts
|
|
1522
1481
|
type BrowserEngine = "chromium" | "kitesurf";
|
|
1523
|
-
//#endregion
|
|
1524
|
-
//#region ../browser/dist/vite.d.ts
|
|
1525
|
-
//#endregion
|
|
1526
|
-
//#region src/vite.d.ts
|
|
1527
1482
|
interface BrowserOptions {
|
|
1528
1483
|
binding?: string;
|
|
1529
1484
|
engine?: BrowserEngine;
|
|
1530
1485
|
remote?: boolean;
|
|
1531
1486
|
}
|
|
1532
|
-
//#endregion
|
|
1533
|
-
//#region ../channels/dist/vite.d.ts
|
|
1534
1487
|
interface ChannelsOptions {
|
|
1535
1488
|
projectRoot?: string;
|
|
1536
1489
|
}
|
|
1537
|
-
//#endregion
|
|
1538
|
-
//#region ../connections/dist/types-De-rxF4U.d.ts
|
|
1539
1490
|
/**
|
|
1540
1491
|
* How long the database keeps Connection activity. Connections write one activity event per
|
|
1541
1492
|
* provider request. Each limit is a positive integer.
|
|
@@ -1546,8 +1497,6 @@ interface ConnectionActivityRetention {
|
|
|
1546
1497
|
/** Keep at most this many events, the newest first. Defaults to 10,000. */
|
|
1547
1498
|
maxRecords?: number;
|
|
1548
1499
|
}
|
|
1549
|
-
//#endregion
|
|
1550
|
-
//#region ../connections/dist/vite.d.ts
|
|
1551
1500
|
interface ConnectionsVitePluginOptions {
|
|
1552
1501
|
/** Agent name used to select a function-form `vitehub({ publicUrl })` origin. */
|
|
1553
1502
|
agentName?: string;
|
|
@@ -1583,8 +1532,6 @@ interface ConnectionsVitePluginOptions {
|
|
|
1583
1532
|
*/
|
|
1584
1533
|
projectRoot?: string;
|
|
1585
1534
|
}
|
|
1586
|
-
//#endregion
|
|
1587
|
-
//#region ../email/dist/vite.d.ts
|
|
1588
1535
|
type EmailDriverName = "cloudflare" | "log" | "resend" | "smtp";
|
|
1589
1536
|
/**
|
|
1590
1537
|
* The path of a module, relative to the project root, that default-exports a driver factory. The factory receives
|
|
@@ -1618,8 +1565,6 @@ interface EmailOptions {
|
|
|
1618
1565
|
*/
|
|
1619
1566
|
remote?: boolean;
|
|
1620
1567
|
}
|
|
1621
|
-
//#endregion
|
|
1622
|
-
//#region ../kv/dist/types-Cp6IBhSN.d.ts
|
|
1623
1568
|
interface CloudflareKVStoreConfig {
|
|
1624
1569
|
driver: "cloudflare";
|
|
1625
1570
|
binding?: string;
|
|
@@ -1667,7 +1612,7 @@ interface DatabaseKVStoreConfig {
|
|
|
1667
1612
|
driver: "database";
|
|
1668
1613
|
/**
|
|
1669
1614
|
* The Database that keeps the keys, in the table `vitehub_kv`. Default `"default"`. The store creates the table when
|
|
1670
|
-
* it is missing. Postgres
|
|
1615
|
+
* it is missing. Postgres and libSQL work. D1 does not.
|
|
1671
1616
|
*/
|
|
1672
1617
|
database?: string;
|
|
1673
1618
|
/** A Database store uses the Database of the app, in `vite dev` too. */
|
|
@@ -1700,8 +1645,6 @@ interface KVStoresConfig {
|
|
|
1700
1645
|
stores: Record<string, KVStoreConfig>;
|
|
1701
1646
|
}
|
|
1702
1647
|
type KVOptions = KVStoreConfig | InferredKVStoreConfig | KVStoresConfig | false;
|
|
1703
|
-
//#endregion
|
|
1704
|
-
//#region ../mcp/dist/index-BduG5Fth.d.ts
|
|
1705
1648
|
/** An icon that clients show for the server. `src` is an `https:` or `data:` URI. */
|
|
1706
1649
|
interface McpIcon {
|
|
1707
1650
|
src: string;
|
|
@@ -1710,8 +1653,6 @@ interface McpIcon {
|
|
|
1710
1653
|
sizes?: string[];
|
|
1711
1654
|
theme?: "light" | "dark";
|
|
1712
1655
|
}
|
|
1713
|
-
//#endregion
|
|
1714
|
-
//#region src/index.d.ts
|
|
1715
1656
|
declare global {
|
|
1716
1657
|
namespace ViteHub {
|
|
1717
1658
|
interface McpRegistry {}
|
|
@@ -1750,8 +1691,6 @@ interface McpOptions {
|
|
|
1750
1691
|
/** The name, title, version, description, website, and icons that MCP clients show. */
|
|
1751
1692
|
serverInfo?: McpServerInfoOptions;
|
|
1752
1693
|
}
|
|
1753
|
-
//#endregion
|
|
1754
|
-
//#region ../rate-limit/dist/types-OzukEqHf.d.ts
|
|
1755
1694
|
/**
|
|
1756
1695
|
* `kv` counts in the default KV store, shared by every server process when KV uses `redis`, `database`, or `upstash`.
|
|
1757
1696
|
* With another KV driver, it counts in process memory and prints a warning at boot.
|
|
@@ -1764,8 +1703,6 @@ interface RateLimitOptions {
|
|
|
1764
1703
|
projectRoot?: string;
|
|
1765
1704
|
scanDirs?: string[];
|
|
1766
1705
|
}
|
|
1767
|
-
//#endregion
|
|
1768
|
-
//#region ../realtime/dist/types-DdY7Vo1H.d.ts
|
|
1769
1706
|
interface RealtimeOptions {
|
|
1770
1707
|
/**
|
|
1771
1708
|
* The driver that runs the rooms. `auto` (default) picks Durable Objects on Cloudflare and memory on the dev server. A
|
|
@@ -1782,10 +1719,6 @@ interface RealtimeOptions {
|
|
|
1782
1719
|
namespace?: string;
|
|
1783
1720
|
projectRoot?: string;
|
|
1784
1721
|
}
|
|
1785
|
-
//#endregion
|
|
1786
|
-
//#region ../sandbox/dist/module-types-NYnG3NGz.d.ts
|
|
1787
|
-
//#endregion
|
|
1788
|
-
//#region src/task/size.d.ts
|
|
1789
1722
|
/** The size of the machine that runs every Sandbox Task. Both values are minimums. */
|
|
1790
1723
|
interface SandboxTaskSizeOptions {
|
|
1791
1724
|
/** Minimum vCPUs. ViteHub picks the smallest provider size that gives at least this many. */
|
|
@@ -1836,13 +1769,7 @@ type AgentSandboxTaskConfig = SandboxTaskDefinitionDriverOptions | ({
|
|
|
1836
1769
|
driver?: undefined;
|
|
1837
1770
|
name?: string;
|
|
1838
1771
|
} & SandboxTaskSizeOptions & SandboxTaskDevOptions);
|
|
1839
|
-
//#endregion
|
|
1840
|
-
//#region ../sandbox/dist/task/vite.d.ts
|
|
1841
|
-
//#endregion
|
|
1842
|
-
//#region src/task/vite.d.ts
|
|
1843
1772
|
type SandboxTaskOptions = AgentSandboxTaskConfig | false;
|
|
1844
|
-
//#endregion
|
|
1845
|
-
//#region ../schedule/dist/vite.d.ts
|
|
1846
1773
|
interface ScheduleProcessRuntimeOptions {
|
|
1847
1774
|
catchUpMs?: number;
|
|
1848
1775
|
concurrency?: number;
|
|
@@ -1862,9 +1789,6 @@ interface ScheduleOptions {
|
|
|
1862
1789
|
projectRoot?: string;
|
|
1863
1790
|
runtime?: ScheduleProcessRuntimeOptions;
|
|
1864
1791
|
}
|
|
1865
|
-
//#endregion
|
|
1866
|
-
//#region ../web-container/dist/vite.d.ts
|
|
1867
|
-
//#region src/vite.d.ts
|
|
1868
1792
|
/** `webContainer` options of `vitehub()`. */
|
|
1869
1793
|
interface WebContainerOptions {
|
|
1870
1794
|
/**
|
|
@@ -1873,8 +1797,6 @@ interface WebContainerOptions {
|
|
|
1873
1797
|
*/
|
|
1874
1798
|
routes: readonly string[];
|
|
1875
1799
|
}
|
|
1876
|
-
//#endregion
|
|
1877
|
-
//#region ../workflow/dist/types-BWPHeugk.d.ts
|
|
1878
1800
|
interface WorkflowSharedOptions {
|
|
1879
1801
|
binding?: string;
|
|
1880
1802
|
name?: string;
|
|
@@ -1937,9 +1859,6 @@ interface InferredWorkflowDriverOptions extends WorkflowSharedOptions {
|
|
|
1937
1859
|
type WorkflowDriverOptions = CloudflareWorkflowDriverOptions | OpenWorkflowDriverOptions | VercelWorkflowDriverOptions;
|
|
1938
1860
|
type WorkflowModuleDriverOptions = InferredWorkflowDriverOptions | WorkflowDriverOptions;
|
|
1939
1861
|
type WorkflowOptions = false | WorkflowModuleDriverOptions;
|
|
1940
|
-
//#endregion
|
|
1941
|
-
//#region ../i18n/dist/locales-DIWHfY3L.d.ts
|
|
1942
|
-
//#region src/locales.d.ts
|
|
1943
1862
|
/** The `i18n` option of `vitehub()` and `vite-hub/nuxt`. */
|
|
1944
1863
|
interface I18nOptions {
|
|
1945
1864
|
/**
|
|
@@ -1959,8 +1878,6 @@ interface I18nOptions {
|
|
|
1959
1878
|
*/
|
|
1960
1879
|
workspace?: string;
|
|
1961
1880
|
}
|
|
1962
|
-
//#endregion
|
|
1963
|
-
//#region ../queue/dist/types-klaR79hV.d.ts
|
|
1964
1881
|
interface QueueSharedOptions {
|
|
1965
1882
|
cache?: boolean;
|
|
1966
1883
|
}
|
|
@@ -1986,8 +1903,6 @@ type QueueOptions = false | (QueueSharedOptions & {
|
|
|
1986
1903
|
namePrefix?: string;
|
|
1987
1904
|
driver?: undefined;
|
|
1988
1905
|
}) | QueueModuleDriverOptions;
|
|
1989
|
-
//#endregion
|
|
1990
|
-
//#region src/plugins.d.ts
|
|
1991
1906
|
/** Agent options of `vitehub()`. */
|
|
1992
1907
|
interface AgentOptions extends AgentOptions$1 {
|
|
1993
1908
|
/**
|
|
@@ -2176,7 +2091,8 @@ interface ViteHubOptions {
|
|
|
2176
2091
|
* Messages in the source language, translated per request: `{ i18n: { locales: ["en", "es"] } }`. The first locale is
|
|
2177
2092
|
* the language of the code. Write ``t`Save` `` in templates, and import `t` from `vite-hub/i18n` in scripts and server
|
|
2178
2093
|
* code. Translations are records in `locales/<locale>/`, and `vitehub i18n status` shows what is missing. Needs
|
|
2179
|
-
* Nitro 3: Nuxt 5, or Vite with Nitro 3.
|
|
2094
|
+
* Nitro 3: Nuxt 4.7 or newer with the `nitro` package, Nuxt 5, or Vite with Nitro 3. On Nuxt 4, use i18n without
|
|
2095
|
+
* `i18n.workspace`.
|
|
2180
2096
|
*/
|
|
2181
2097
|
i18n?: I18nOptions;
|
|
2182
2098
|
/**
|
|
@@ -2227,5 +2143,4 @@ interface ViteHubOptions {
|
|
|
2227
2143
|
type ViteHubQueueOptions = QueueOptions;
|
|
2228
2144
|
/** Sandbox Task options accepted by the framework distribution: the options of `hubSandboxTask()`. */
|
|
2229
2145
|
type ViteHubSandboxTaskOptions = Exclude<SandboxTaskOptions, false>;
|
|
2230
|
-
//#endregion
|
|
2231
2146
|
export { RedirectsOptions as A, ViteHubHost as B, ObservabilityEvlogOptions as C, AgentInvocationsDefault as D, ConsoleOptions as E, DeployOptions as F, HealthOptions as I, DatabaseNuxtIntegrationOptions as L, SecurityHeaders as M, SecurityOptions as N, AgentInvocationsDefaultJournal as O, SeoOptions as P, DatabaseOptions as R, LogsOptions as S, SystemdOptions as T, detectHost as V, KVOptions as _, ViteHubDeviceOptions as a, BrowserOptions as b, ViteHubQueueOptions as c, WorkflowOptions as d, WebContainerOptions as f, RateLimitOptions as g, RealtimeOptions as h, EnvOptions$1 as i, SameOriginWritesOptions as j, WorkspaceOptions as k, QueueOptions as l, SandboxTaskOptions as m, CloudflareOptions as n, ViteHubNodeOptions as o, ScheduleOptions as p, ConnectionsOptions as r, ViteHubOptions as s, AgentOptions as t, I18nOptions as u, EmailOptions as v, ObservabilityOptions as w, BlobOptions as x, ChannelsOptions as y, CacheOptions as z };
|