ViteHub is still experimental. Expect bugs and breaking changes.

Import paths

Distinguish stable ViteHub imports from generated files, provider modules, and internal package paths.

Stable ViteHub Import Paths are ViteHub-owned app-facing import specifiers. They may resolve to Runtime Registries, generated files, virtual modules, or package runtime code, but application code should not depend on that implementation detail.

Stable app imports

Import pathOwnerUse
@vite-hub/agentAgent PackageAgent Definition helpers, invocation helpers, trigger helpers, Agent Actor types, and legacy Agent Invoker compatibility types.
@vite-hub/agent/capabilitiesAgent PackageOfficial Capability factories such as access(), workspaceShell(), inputCommands(), and subagents().
@vite-hub/agent/channelsAgent PackageOfficial Channel Kind helpers such as github(), stream(), teams(), telegram(), webChat(), and defineChannel().
@vite-hub/agent/evalAgent PackageAgent Eval authoring helpers.
@vite-hub/vite/agentVite PresetAgent Definition helpers forwarded by the preset package.
@vite-hub/vite/agent/capabilitiesVite PresetOfficial Capability factories forwarded by the preset package.
@vite-hub/vite/agent/channelsVite PresetOfficial Channel Kind helpers forwarded by the preset package.
@vite-hub/authAuth PackageAuth Definition helpers.
@vite-hub/blobBlob PackageBlob Runtime Helpers and Blob Store access.
@vite-hub/database/drizzleDatabase PackageGenerated Drizzle db and schema access.
@vite-hub/envEnv PackageEnv Declaration helpers.
#vitehub/env/publicEnv PackageGenerated Public Env access.
#vitehub/env/serverEnv PackageGenerated Server Env access.
@vite-hub/kvKV PackageKV Runtime Helper.
@vite-hub/queueQueue PackageQueue Definition and enqueue Runtime Helper.
@vite-hub/sandboxSandbox PackageSandbox Definition and Sandbox Run helpers.
@vite-hub/schedule/runtimeSchedule PackageRuntime schedule helpers.
#vitehub/schedule/registrySchedule PackageGenerated static schedule registry for host bridges.
@vite-hub/workflowWorkflow PackageWorkflow Definition and run helpers.
@vite-hub/workspaceWorkspace PackageWorkspace Definition, Source helpers, and Workspace Runtime Surface.

Integration imports

Import pathUse
@vite-hub/viteRegister the preset Vite Integration with vitehub(). It currently composes Agent, Database, DevTools, Env, Workflow, and Workspace integrations.
@vite-hub/agent/viteRegister the Agent Vite Integration.
@vite-hub/auth/viteRegister the Auth Vite Integration.
@vite-hub/blob/viteRegister the Blob Vite Integration.
@vite-hub/database/viteRegister the Database Vite Integration.
@vite-hub/env/viteRegister the Env Vite Integration and env() declaration helper.
@vite-hub/kv/viteRegister the KV Vite Integration.
@vite-hub/queue/viteRegister the Queue Vite Integration.
@vite-hub/sandbox/viteRegister the Sandbox Vite Integration.
@vite-hub/schedule/viteRegister the Schedule Vite Integration.
@vite-hub/workflow/viteRegister the Workflow Vite Integration.
@vite-hub/workspace/viteRegister the Workspace Vite Integration.

Generated and internal paths

Path familyStatusGuidance
.vitehub/**GeneratedInspect during development; do not author imports against these files.
.vercel/output/**Generated Provider OutputDeploy or inspect as Vercel Build Output.
dist/**/wrangler.jsonGenerated Provider OutputDeploy or inspect as Cloudflare output.
Vite virtual module ids with \0 prefixesInternalNever import directly.
@vite-hub/internal/*InternalPackage implementation only.
Copyright © 2026