aladac
a80224df36
feat: add preview tool — navigate + screenshot in one call with optional POST
...
New MCP tool `preview` combines goto + screenshot with viewport control.
Optionally POSTs result to any HTTP endpoint (e.g. HUD/visor) via previewUrl.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-14 12:44:52 +02:00
aladac
c3eb4a0a92
Fix networkidle timeouts and Firefox cookie domain normalization
...
- Replace networkidle with domcontentloaded + 5s race in goto, click,
and session_restore — SPAs with persistent connections (LinkedIn,
Gmail) never reach networkidle
- Normalize .www. cookie domains in Firefox importer — Playwright
silently drops cookies with .www.example.com domains
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-13 13:26:53 +02:00
aladac
aac616a37c
Fix Firefox cookie expiry conversion for Playwright
...
Some Firefox cookies store expiry in milliseconds instead of seconds.
Detect values beyond year 2100 and convert to seconds. Also map
zero/negative expiry to -1 for Playwright session cookies.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-13 13:09:15 +02:00
aladac
1d3192cffd
Add Firefox cookie import and stealth mode
...
- Firefox cookie importer: reads cookies.sqlite with WAL-safe copy,
profile detection via profiles.ini, cross-platform paths, domain filtering
- Stealth mode: opt-in via launch(stealth: true), patches navigator.webdriver,
plugins/mimeTypes, permissions API, WebGL renderer, iframe isolation,
languages, plus realistic Safari UA and context hardening
- Import tool now accepts 'safari' | 'firefox' source
- STEALTH.md reference documentation
- Upgraded @types/node to v25 for node:sqlite support
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-12 23:03:15 +02:00
Adam Ladachowski
1c4a7b5ef9
💬 Commit message: Update 2026-02-14 07:26:55, 21 files, 749 lines
...
📁 Files changed: 21
📝 Lines changed: 749
• browser.d.ts
• browser.d.ts.map
• browser.js
• browser.js.map
• mcp.js
• mcp.js.map
• safari.d.ts
• safari.d.ts.map
• safari.js
• safari.js.map
• safari.test.d.ts
• safari.test.d.ts.map
• safari.test.js
• safari.test.js.map
• types.d.ts
• types.d.ts.map
• browser.ts
• mcp.ts
• safari.test.ts
• safari.ts
• types.ts
2026-02-14 07:26:55 +01:00
Adam Ladachowski
ca08aa4dfc
💬 Commit message: Update 2026-02-11 19:19:18, 1 files, 6 lines
...
📁 Files changed: 1
📝 Lines changed: 6
• mcp.ts
2026-02-11 19:19:18 +01:00
Adam Ladachowski
d9f88a37c9
💬 Commit message: Update 2026-02-11 18:40:23, 20 files, 434 lines
...
📁 Files changed: 20
📝 Lines changed: 434
• .mcp.json
• plugin.json
• settings.json
• CLAUDE.md
• analyze.md
• compare.md
• end.md
• extract.md
• fill.md
• goto.md
• restore.md
• save.md
• scrape.md
• screenshot.md
• start.md
• mcp.js
• mcp.js.map
• package-lock.json
• package.json
• mcp.ts
2026-02-11 18:40:23 +01: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
f5df8c67f3
💬 Commit message: Update 2026-02-11 12:18:05, 14 files, 1838 lines
...
📁 Files changed: 14
📝 Lines changed: 1838
• CLAUDE.md
• README.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
2026-02-11 12:18:06 +01:00
Adam Ladachowski
f7df5d8f54
💬 Commit message: Update 2026-02-11 04:16:38, 12 files, 588 lines
...
📁 Files changed: 12
📝 Lines changed: 588
• 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
2026-02-11 04:16:38 +01:00
Adam Ladachowski
5a7466b67d
💬 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
2026-02-11 04:13:54 +01:00
Adam Ladachowski
fd7ae5818d
Fix MCP server name to browse
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-08 04:53:34 +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
afe2c0bca2
💬 Commit message: Update 2026-02-08 04:30:24, 1 files, 2 lines
...
📁 Files changed: 1
📝 Lines changed: 2
• mcp.ts
2026-02-08 04:30:24 +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
fe3817c00f
Fix formatting in mcp.ts
2026-02-08 03:55:17 +01:00
Adam Ladachowski
ab03140803
💬 Commit message: Update 2026-02-08 03:05:28, 17 files, 662 lines
...
📁 Files changed: 17
📝 Lines changed: 662
• plugin.json
• .mcp.json
• README.md
• analyze.md
• compare.md
• end.md
• extract.md
• fill.md
• goto.md
• restore.md
• save.md
• scrape.md
• screenshot.md
• start.md
• package.json
• browser.ts
• mcp.ts
2026-02-08 03:05:28 +01:00
Adam Ladachowski
67b6dc3a79
💬 Commit message: Update 2026-02-07 14:20:25, 8 files, 1060 lines
...
📁 Files changed: 8
📝 Lines changed: 1060
• package-lock.json
• package.json
• browser.ts
• cli.ts
• image.ts
• index.ts
• mcp.ts
• types.ts
2026-02-07 14:20:25 +01:00
Adam Ladachowski
4a85e0087c
💬 Commit message: Update 2026-02-06 21:50:58, 15 files, 983 lines
...
📁 Files changed: 15
📝 Lines changed: 983
• .gitignore
• browser.ts.html
• clover.xml
• coverage-final.json
• index.html
• logger.ts.html
• server.ts.html
• types.ts.html
• package.json
• browser.integration.test.ts
• logger.test.ts
• server.test.ts
• vitest.all.config.ts
• vitest.config.ts
• vitest.integration.config.ts
2026-02-06 21:50:58 +01:00
Adam Ladachowski
880e24877d
💬 Commit message: Update 2026-02-06 21:43:28, 20 files, 5493 lines
...
📁 Files changed: 20
📝 Lines changed: 5493
• base.css
• block-navigation.js
• browser.ts.html
• clover.xml
• coverage-final.json
• favicon.png
• index.html
• logger.ts.html
• prettify.css
• prettify.js
• server.ts.html
• sort-arrow-sprite.png
• sorter.js
• types.ts.html
• package-lock.json
• package.json
• browser.test.ts
• logger.test.ts
• server.test.ts
• vitest.config.ts
2026-02-06 21:43:28 +01:00
Adam Ladachowski
2736a4b467
💬 Commit message: Update 2026-02-06 21:32:05, 5 files, 447 lines
...
📁 Files changed: 5
📝 Lines changed: 447
• settings.local.json
• cli.ts
• logger.ts
• mcp.ts
• server.ts
2026-02-06 21:32:05 +01:00
Adam Ladachowski
1512878bfd
💬 Commit message: Update 2026-02-06 20:46:59, 3 files, 460 lines
...
📁 Files changed: 3
📝 Lines changed: 460
• package-lock.json
• package.json
• mcp.ts
2026-02-06 20:46:59 +01:00
Adam Ladachowski
e418774f3e
💬 Commit message: Update 2026-02-06 20:42:32, 3 files, 3 lines
...
📁 Files changed: 3
📝 Lines changed: 3
• gh.png
• server.ts
• test.png
2026-02-06 20:42:32 +01:00
Adam Ladachowski
86cc13075f
💬 Commit message: Update 2026-02-06 20:40:01, 3 files, 285 lines
...
📁 Files changed: 3
📝 Lines changed: 285
• package-lock.json
• package.json
• server.ts
2026-02-06 20:40:01 +01:00
Adam Ladachowski
9ff23808be
💬 Commit message: Update 2026-02-06 20:36:48, 3 files, 965 lines
...
📁 Files changed: 3
📝 Lines changed: 965
• package-lock.json
• package.json
• server.ts
2026-02-06 20:36:48 +01:00
Adam Ladachowski
3ece3bd3b8
💬 Commit message: Update 2026-02-06 20:32:18, 7 files, 781 lines
...
📁 Files changed: 7
📝 Lines changed: 781
• CLAUDE.md
• biome.json
• package-lock.json
• package.json
• browser.ts
• cli.ts
• server.ts
2026-02-06 20:32:19 +01:00
Adam Ladachowski
eccc03ee7a
💬 Commit message: Update 2026-02-06 20:28:30, 13 files, 1401 lines
...
📁 Files changed: 13
📝 Lines changed: 1401
• .gitignore
• CLAUDE.md
• PLAN.md
• README.md
• TODO.md
• package-lock.json
• package.json
• browser.ts
• cli.ts
• index.ts
• server.ts
• types.ts
• tsconfig.json
2026-02-06 20:28:30 +01:00