Interface: AgentBundleMeta
The build-time project identity constant (issue #237). This package
subpath is replaced by the compiler in every compiled plugin surface —
Node script, CLI, MCP entry, hook, and package bundles, plus browser MCP
App bundles — with the exact identity the artifact manifests, inspect,
and dev status report. Plugin source imports it instead of maintaining a
hand-written src/lib/version.ts. Under agentBundleRstest() and
agentBundleBrowserRstest() the specifier is aliased to a generated module
carrying the same identity, so unit and route-unit tests load such source
without a build (issue #386).
Properties
name
readonlyname:string
The host-native plugin slug from plugin.name; never the npm package name.
packageName
readonlypackageName:string|undefined
The validated npm package name, absent for unpackaged development projects.
packageVersion
readonlypackageVersion:string|undefined
The validated semantic release version, absent for unpackaged development projects.
version
readonlyversion:string
The resolved plugin version: the authored plugin.version when declared,
otherwise the package.json version. A release build refuses to package a
project that has neither (AB4013), so a compiled artifact never carries
the development fallback.