Files
oh-my-openagent/dist/shared/external-plugin-detector.d.ts
2026-03-14 04:56:50 +00:00

19 lines
681 B
TypeScript

/**
* Detects external plugins that may conflict with oh-my-opencode features.
* Used to prevent crashes from concurrent notification plugins.
*/
export interface ExternalNotifierResult {
detected: boolean;
pluginName: string | null;
allPlugins: string[];
}
/**
* Detect if any external notification plugin is configured.
* Returns information about detected plugins for logging/warning.
*/
export declare function detectExternalNotificationPlugin(directory: string): ExternalNotifierResult;
/**
* Generate a warning message for users with conflicting notification plugins.
*/
export declare function getNotificationConflictWarning(pluginName: string): string;