mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-24 08:21:39 +00:00
33 lines
800 B
TypeScript
33 lines
800 B
TypeScript
export type BundledPluginPathPair = {
|
|
source: string;
|
|
built: string;
|
|
};
|
|
|
|
export type BundledPluginMetadataEntry = {
|
|
dirName: string;
|
|
idHint: string;
|
|
source: BundledPluginPathPair;
|
|
setupSource?: BundledPluginPathPair;
|
|
packageName?: string;
|
|
packageVersion?: string;
|
|
packageDescription?: string;
|
|
packageManifest?: Record<string, unknown>;
|
|
manifest: Record<string, unknown>;
|
|
};
|
|
|
|
export function collectBundledPluginMetadata(params?: {
|
|
repoRoot?: string;
|
|
}): BundledPluginMetadataEntry[];
|
|
|
|
export function renderBundledPluginMetadataModule(entries: BundledPluginMetadataEntry[]): string;
|
|
|
|
export function writeBundledPluginMetadataModule(params?: {
|
|
repoRoot?: string;
|
|
outputPath?: string;
|
|
check?: boolean;
|
|
}): {
|
|
changed: boolean;
|
|
wrote: boolean;
|
|
outputPath: string;
|
|
};
|