Appearance
This page lists the public plugin entry points exposed by Vibenv packages.
Vite plugins
viteVibeServer()
From @vibenv/vite-plugins/vite-vibe-server.js.
- Mounts the Vibe server router at
/_vibe-agenton the Vite dev server. - Registers
express.json()before the router.
relativeAgentPlugin(src?: string)
From @vibenv/vite-plugins/relative-agent-plugin.js.
- Injects
<script async type="module" src="/vibeagent.js">into the HTML head. srcdefaults to"/vibeagent.js".
devAgentPlugin()
From @vibenv/vite-plugins/dev-agent-plugin.js.
- Injects
<script async type="module" src="http://localhost:5173/src/main.ts">into the HTML head.
agentEnvProviderVitePlugin()
From @vibenv/vite-plugins/agent-env-provider-vite-plugin.js.
- Defines the global
__PROJECT_ROOT__constant via Vitedefine.
Webpack plugins
new WebpackVibeServerPlugin()
From @vibenv/webpack-plugins/webpack-vibe-server.js.
- Attaches the Vibe server router to
devServer.setupMiddlewares. - Registers
express.json()before the router.
new RelativeAgentWebpackPlugin(src?: string)
From @vibenv/webpack-plugins/relative-agent-webpack-plugin.js.
- Injects
<script async type="module" src="/vibeagent.js">into all HTML assets. srcdefaults to"/vibeagent.js".
new WebpackVibeAgentHandlerPlugin(route?: string)
From @vibenv/webpack-plugins/webpack-vibe-agent-handler-plugin.js.
- Registers an Express route on
webpack-dev-serverthat serves the built agent bundle. routedefaults to"/vibeagent.js"and should match the injected script URL.- Resolves the bundle via the
@vibenv/vibe-agent/vibeagent.jspackage export usingimport.meta.resolvewith arequire.resolvefallback.
new DevAgentWebpackPlugin({ scriptUrl }?)
From @vibenv/webpack-plugins/dev-agent-webpack-plugin.js.
- Injects
<script async type="module" src="http://localhost:5173/src/main.ts">intoindex.html. scriptUrloverrides the default.
new AgentEnvProviderWebpackPlugin()
From @vibenv/webpack-plugins/agent-env-provider-webpack-plugin.js.
- Defines the global
__PROJECT_ROOT__constant usingDefinePlugin.
Framework plugins
VuePluginExtractFiles
From @vibenv/framework-plugins/vue-plugin-extract-files.js.
- Adds
data-component-fileanddata-component-nameattributes to component root elements. - Can be disabled with
enabled: falsein the plugin options.
nuxt4VibenvModule({ src }?)
From @vibenv/framework-plugins/nuxt4-vibenv-module.js.
- Injects a module script into Nuxt's head config.
srcdefaults to"/src/main.ts".