Files
oh-my-opencode/dist/cli/doctor/checks/system-plugin.d.ts
T
2026-03-14 04:56:50 +00:00

16 lines
456 B
TypeScript

export interface PluginInfo {
registered: boolean;
configPath: string | null;
entry: string | null;
isPinned: boolean;
pinnedVersion: string | null;
isLocalDev: boolean;
}
declare function detectConfigPath(): string | null;
declare function findPluginEntry(entries: string[]): {
entry: string;
isLocalDev: boolean;
} | null;
export declare function getPluginInfo(): PluginInfo;
export { detectConfigPath, findPluginEntry };