bc1f3d9d73
- Add .claude-plugin/plugin.json manifest (name: browse) - Add 11 slash commands: start, end, goto, screenshot, scrape, analyze, extract, fill, compare, save, restore - Add MCP resources: browser://state, browser://html, browser://screenshot - Add MCP prompts: analyze_page, extract_data, navigate_to, fill_form, compare_screenshots - Add session management tools: close, session_save, session_restore - Include dist/ for plugin installation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
41 lines
1.3 KiB
TypeScript
41 lines
1.3 KiB
TypeScript
export declare const icons: Record<string, string>;
|
|
export declare const cmdColor: Record<string, (s: string) => string>;
|
|
export declare function ts(): string;
|
|
export declare function truncate(str: string, max: number): string;
|
|
export interface CommandLike {
|
|
cmd: string;
|
|
url?: string;
|
|
selector?: string;
|
|
text?: string;
|
|
path?: string;
|
|
full?: boolean;
|
|
ms?: number;
|
|
script?: string;
|
|
}
|
|
export declare function getCommandDetail(cmd: CommandLike): string | undefined;
|
|
export declare function formatCommand(cmd: CommandLike): string;
|
|
export interface ResultLike {
|
|
ok: boolean;
|
|
error?: string;
|
|
title?: string;
|
|
url?: string;
|
|
count?: number;
|
|
path?: string;
|
|
html?: string;
|
|
result?: unknown;
|
|
}
|
|
export declare function formatResult(cmd: CommandLike, result: ResultLike): string;
|
|
export type LogFn = (msg: string) => void;
|
|
export declare function createLogger(logFn?: LogFn): {
|
|
command(cmd: CommandLike): void;
|
|
result(cmd: CommandLike, result: ResultLike): void;
|
|
};
|
|
export declare const logger: {
|
|
command(cmd: CommandLike): void;
|
|
result(cmd: CommandLike, result: ResultLike): void;
|
|
};
|
|
export declare const stderrLogger: {
|
|
command(cmd: CommandLike): void;
|
|
result(cmd: CommandLike, result: ResultLike): void;
|
|
};
|
|
//# sourceMappingURL=logger.d.ts.map
|