@llui/compiler-devtools
Opt-in compiler module for development-mode tooling. Emits __componentMeta (file path + line number) alongside every compiled component so @llui/mcp and other LLM tools can navigate from a running component back to its source.
Dev-mode only. Production builds drop these symbols.
Depends on @llui/compiler-introspection.
Constants
devtoolsFactory
Builds the devtools module set for a single source file.
Activation gates mirror what transformLlui did inline before
decomp-27:
componentMetaModulewhendevModeis true Future devtools modules (trace instrumentation) would gate on a separateenableTraceInstrumentationflag the host passes via the factory input.
const devtoolsFactory: DevtoolsFactory