build: sync config

This commit is contained in:
jialin
2026-04-24 14:28:30 +08:00
committed by jialin
parent 48b357b1c6
commit 6c161c6ae7
55 changed files with 731 additions and 90 deletions
+23
View File
@@ -0,0 +1,23 @@
import { GPUStackPluginManager } from './manager';
import { AppPlugin } from './types';
/**
* Hook to access the enterprise plugin instance
*/
export const getGPUStackPlugin = (): AppPlugin | undefined => {
return GPUStackPluginManager.get('enterprise');
};
/**
* Hook to access a plugin by its name
*/
export const getPlugin = (name: string): AppPlugin | undefined => {
return GPUStackPluginManager.get(name);
};
/**
* Hook to check if a plugin is registered
*/
export const hasPlugin = (name: string): boolean => {
return GPUStackPluginManager.has(name);
};