McpScriptResolutionConfigurator
internal class McpScriptResolutionConfigurator(session: FirSession) : FirScriptResolutionConfigurationExtension
Puts DEFAULT_IMPORTS in a scope below the snippet's own imports, so an explicit import of the same name shadows them instead of conflicting. Imports are added at the FIR level, never by prepending text: a source rewrite would shift every diagnostic's line number off what the user typed.