💬 Commit message: Update 2026-02-11 04:13:54, 13 files, 595 lines

📁 Files changed: 13
📝 Lines changed: 595

  • PLAN.md
  • TODO.md
  • browser.d.ts
  • browser.d.ts.map
  • browser.js
  • browser.js.map
  • mcp.js
  • mcp.js.map
  • types.d.ts
  • types.d.ts.map
  • browser.ts
  • mcp.ts
  • types.ts
This commit is contained in:
Adam Ladachowski
2026-02-11 04:13:54 +01:00
parent dd26376833
commit 5a7466b67d
13 changed files with 421 additions and 218 deletions
+17 -1
View File
@@ -124,6 +124,19 @@ export interface ThumbnailCommand {
size?: 'small' | 'medium' | 'large';
}
export interface ConsoleCommand {
cmd: 'console';
clear?: boolean;
level?: 'log' | 'info' | 'warn' | 'error' | 'debug' | 'all';
}
export interface ConsoleMessage {
level: string;
text: string;
timestamp: number;
location?: string;
}
export type BrowserCommand =
| GotoCommand
| ClickCommand
@@ -144,7 +157,8 @@ export type BrowserCommand =
| ResizeCommand
| CropCommand
| CompressCommand
| ThumbnailCommand;
| ThumbnailCommand
| ConsoleCommand;
// Response types
export interface SuccessResponse {
@@ -163,6 +177,8 @@ export interface SuccessResponse {
height?: number;
format?: string;
size?: number;
// Console fields
messages?: ConsoleMessage[];
}
export interface ErrorResponse {