/**
 * Extension point for custom compile targets.
 *
 * Extensions and packs register their compile targets here.
 * The compile command and MCP tool look up targets from this registry.
 */
class CompileTargetRegistry {
    targets = new Map();
    register(target) {
        this.targets.set(target.name, target);
    }
    get(name) {
        return this.targets.get(name);
    }
    getNames() {
        return [...this.targets.keys()];
    }
}
export const compileTargetRegistry = new CompileTargetRegistry();
//# sourceMappingURL=compile-target-registry.js.map