6 Commits

Author SHA1 Message Date
aladac 1426ec9173 Add HTTP server mode with native node:http
Reintroduce server mode (removed in 3014cf9) using node:http instead of
Express — zero new dependencies. Accepts JSON commands via POST to /,
returns JSON responses with CORS support. Screenshot command returns
base64 data when no path is specified.

- Add src/server.ts with BrowserServer class using node:http
- Add -s/--server <port> CLI flag (default 13373)
- Export BrowserServer and startServer from index.ts

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-25 16:23:16 +02:00
Adam Ladachowski 3b6e915b47 Add fullscreen and preview modes
- Add --fullscreen flag for macOS native fullscreen (AppleScript)
- Add --preview flag to highlight elements before actions
- Add --preview-delay to configure highlight duration
- Update README with new options

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-11 17:42:44 +01:00
Adam Ladachowski 3014cf98e8 Remove HTTP server mode, keep MCP + CLI only
Drop express dependency and HTTP server in favor of MCP-only architecture.
CLI still works for quick screenshots and queries.

- Delete src/server.ts and src/server.test.ts
- Remove express, @types/express, supertest from dependencies
- Update CLI to show help when no URL provided
- Remove server exports from index.ts

-33 packages removed, 757 lines deleted.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-11 12:31:42 +01:00
Adam Ladachowski 09c34b804f 💬 Commit message: Update 2026-02-08 04:49:18, 8 files, 120 lines
📁 Files changed: 8
📝 Lines changed: 120

  • settings.json
  • .mcp.json
  • README.md
  • save.md
  • cli.js
  • cli.js.map
  • package.json
  • cli.ts
2026-02-08 04:49:18 +01:00
Adam Ladachowski df37c89e49 💬 Commit message: Update 2026-02-08 04:14:33, 6 files, 36 lines
📁 Files changed: 6
📝 Lines changed: 36

  • cli.js
  • cli.js.map
  • mcp.js
  • mcp.js.map
  • cli.ts
  • mcp.ts
2026-02-08 04:14:33 +01:00
Adam Ladachowski bc1f3d9d73 Add Claude Code plugin support with MCP prompts and resources
- 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>
2026-02-08 03:08:02 +01:00