ViteHub is still experimental. Expect bugs and breaking changes.

Package reference

Find the ViteHub package and public import for each feature.

Most applications need only vite-hub. Install an individual @vite-hub/* package when you are building a library or configuring one integration directly.

Framework distribution

PackageOwnsPrimary imports
vite-hubFramework defaults, the vitehub() Vite Integration, the tested compatibility matrix, and intentional feature subpathsvite-hub, vite-hub/agent, vite-hub/env, vite-hub/workspace, vite-hub/workflow

The root export stays focused on framework composition. Runtime Helpers, Definitions, Capabilities, and other application APIs use feature subpaths instead of one root barrel.

Independent owner packages

PackageOwnsPrimary imports
@vite-hub/agentAgent Definitions, Agent Invocations, Agent Driver boundary, Capability composition, Agent Evals, Agent Trigger API@vite-hub/agent, @vite-hub/agent/capabilities, @vite-hub/agent/channels, @vite-hub/agent/eval, @vite-hub/agent/vite
@vite-hub/authAuth Definitions, Better Auth server wiring, generated Auth route behavior@vite-hub/auth, @vite-hub/auth/server, @vite-hub/auth/vite
@vite-hub/blobBlob Stores, Default Blob Store behavior, Blob Driver Modules, provider storage output@vite-hub/blob, @vite-hub/blob/vite, @vite-hub/blob/drivers/*
@vite-hub/browserBrowser Definitions, invocation-scoped sessions, controllers and providers, live handoff, and Browser Run output@vite-hub/browser, @vite-hub/browser/controllers/*, @vite-hub/browser/providers/*, @vite-hub/browser/vite
@vite-hub/boxBox Definitions and provider-neutral execution sessions@vite-hub/box
@vite-hub/channelsProvider-neutral Channel definitions, server access, and Vite discovery@vite-hub/channels, @vite-hub/channels/server, @vite-hub/channels/vite
@vite-hub/databaseDatabase Definitions, Drizzle schema generation, D1 and hosted database wiring@vite-hub/database, @vite-hub/database/drizzle, @vite-hub/database/vite
@vite-hub/emailDeclarative Unemail provider integration, runtime delivery, Dynamic Markdown composition, and test capture@vite-hub/email, @vite-hub/email/markdown, @vite-hub/email/server, @vite-hub/email/test, @vite-hub/email/vite
@vite-hub/envEnv Declarations, Public Env, Server Env, Secret Env, generated env access@vite-hub/env, @vite-hub/env/vite, @vite-hub/env/server, @vite-hub/env/secret
@vite-hub/historyShared history records, cursors, pages, and store contracts for stateful features@vite-hub/history
@vite-hub/kvKV Runtime Helper and configured KV Stores@vite-hub/kv, @vite-hub/kv/vite
@vite-hub/markdown-templateMarkdown templates with data bindings, conditions, fragments, and direct Vite imports@vite-hub/markdown-template, @vite-hub/markdown-template/vite
@vite-hub/queueQueue Definitions, queue dispatch Runtime Helpers, provider queue output@vite-hub/queue, @vite-hub/queue/vite
@vite-hub/rate-limitRate Limit declarations, runtime decisions, drivers, and provider output@vite-hub/rate-limit, @vite-hub/rate-limit/runtime, @vite-hub/rate-limit/drivers/*, @vite-hub/rate-limit/vite
@vite-hub/realtimeRealtime documents, server routes, history, and Vue bindings@vite-hub/realtime, @vite-hub/realtime/server, @vite-hub/realtime/vue, @vite-hub/realtime/vite
@vite-hub/runtimeRuntime Host Context, Runtime Capability handles, Policy Decisions, approvals, Trace Events, leases@vite-hub/runtime
@vite-hub/sandboxSandbox Definitions, Sandbox Runs, Sandbox Provider integration@vite-hub/sandbox, @vite-hub/sandbox/vite
@vite-hub/scheduleStatic schedules, runtime schedules, Schedule Targets, cron Provider Output@vite-hub/schedule, @vite-hub/schedule/runtime, @vite-hub/schedule/vite
@vite-hub/shellShell-shaped runtime execution providers and Workspace shell integration helpers@vite-hub/shell, @vite-hub/shell/workspace
@vite-hub/sourceSource Definitions and Source Loaders for file, glob, markdown, GitHub, custom, and MCP resource retrieval@vite-hub/source, @vite-hub/source/*
@vite-hub/uiAI SDK-native Vue and Nuxt components, headless message scrolling, Agent inspection, and Pierre code views@vite-hub/ui, @vite-hub/ui/headless, @vite-hub/ui/nuxt, @vite-hub/ui/vite
@vite-hub/workflowWorkflow Definitions, durable run state, step execution, provider workflow output@vite-hub/workflow, @vite-hub/workflow/vite
@vite-hub/workspaceWorkspace Definitions, Workspace Stores, Source Bindings, Workspace runtime facades, Workspace extensions@vite-hub/workspace, @vite-hub/workspace/vite, @vite-hub/workspace/runtime

Internal and support packages

PackageStatusPurpose
@vite-hub/cliPublic CLI packageLoads Vite config and runs package-owned CLI namespaces.
@vite-hub/internalInternal packageShared discovery, Provider Output, provisioning, runtime, and build helpers.

Package rules

Applications start with vite-hub and its documented feature imports. Libraries and focused integrations can depend on one @vite-hub/* package directly. Do not import @vite-hub/internal, generated files, or framework virtual modules unless a reference page documents that path.

Provider-specific behavior belongs to the package that owns the primitive. For example, Blob Provider SDK Adapters belong behind Blob Driver Modules, and Workspace Provider Adapters stay behind Workspace configuration and generated runtime wiring.