mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 15:41:33 +00:00
31 lines
917 B
TypeScript
31 lines
917 B
TypeScript
#!/usr/bin/env node
|
|
/**
|
|
* Reads bundled plugin asset hook commands for a build or copy phase.
|
|
*/
|
|
export function readBundledPluginAssetHooks(options?: Record<string, unknown>): Promise<
|
|
{
|
|
aliases: string[];
|
|
command: string;
|
|
packageName: unknown;
|
|
phase: unknown;
|
|
pluginDir: string;
|
|
pluginId: string;
|
|
}[]
|
|
>;
|
|
/**
|
|
* Runs bundled plugin asset hook commands for the selected phase/plugins.
|
|
*/
|
|
export function runBundledPluginAssetHooks(options?: Record<string, unknown>): Promise<void>;
|
|
/**
|
|
* Lists declared generated source-tree outputs that differ from the committed bytes.
|
|
*/
|
|
export function listStaleGeneratedPluginAssets(options?: Record<string, unknown>): string[];
|
|
/**
|
|
* Parses `--phase`, repeated `--plugin`, and `--check` flags for asset hook scripts.
|
|
*/
|
|
export function parseBundledPluginAssetArgs(argv: unknown): {
|
|
check: boolean;
|
|
phase: unknown;
|
|
plugins: unknown[];
|
|
};
|