donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
25 lines • 1.05 kB
TypeScript
export declare function getPluginName(): Promise<string>;
export declare function buildPlugin(): Promise<void>;
export declare function installPlugin(): Promise<void>;
type ReleaseSpec = {
/** Plugin name as it appears on the tarball asset and as the install dir. */
name: string;
/** Pinned version, or `undefined` to resolve the latest. */
version: string | undefined;
};
/**
* Parses `name`, `name@version`, `@scope/name`, or `@scope/name@version`.
* The last `@` after the first character (if any) separates name and version.
*/
export declare function parseReleaseSpec(spec: string): ReleaseSpec;
export declare function installFromRelease(spec: ReleaseSpec, apiKey: string, into: string | undefined): Promise<void>;
type ParsedArgs = {
fromRelease: string | undefined;
apiKey: string | undefined;
into: string | undefined;
};
export declare function parseArgs(argv: string[]): ParsedArgs;
export declare function main(): Promise<void>;
export {};
//# sourceMappingURL=install-donobu-plugin.d.ts.map