Releases: MikeSquared-Agency/Xbot
Releases · MikeSquared-Agency/Xbot
v0.2.0
What's New
Snapshot Diff
browser_snapshot_diff — returns only added/removed lines since the last snapshot, drastically reducing token usage after actions.
Depth Limiting & Selector Scoping
browser_snapshot({ depth: N }) limits ARIA tree depth for large pages. browser_snapshot({ selector: "#main" }) scopes to a specific DOM element.
Content Boundary Markers
All page-derived content wrapped in --- PAGE CONTENT START/END --- markers to prevent prompt injection.
Auto-Save Session Persistence
Browser cookies and localStorage auto-saved after navigations and actions with debounced writes (3s default).
Configurable Output Limits
XBOT_MAX_OUTPUT env var (default 40000 chars) and per-call maxLength parameter with line-boundary-aware truncation.
Testing
- 211 unit tests across 9 suites
- 32 Playwright integration tests
- Expanded coverage for diff, depth limiting, boundary markers, auto-save, and output truncation
Full Changelog: v0.1.0...v0.2.0
v0.1.0
What's New
Observability Tools (Phase 1A)
browser_console— direct console message access with type filteringbrowser_network— network request capture withjsonOnlyfilter for API databrowser_screenshot— visual screenshot capture
Compact Snapshots (Phase 1B)
browser_snapshotnow acceptsmode:full,compact(~90% smaller), orinteractive(compact + context)
Automatic Selector Learning (Phase 2)
- Fallback selectors auto-promoted to primary on success
- Alternative selectors auto-generated when saving tools
Workflow Conditionals (Phase 3)
assertVisible— check element visibility, store booleanif— branch on variables withthen/elseblocksretry— retry steps with configurable attempts and delay
Enhanced Anti-Detection (Phase 4)
- Fingerprint masking (webdriver, plugins, chrome.runtime)
- Human-like Bezier curve mouse movement (
humanLike: true) - User-agent rotation pool
Testing
- 131 new unit tests across 5 test suites
- Integration tests for all new MCP tools
- All tests passing
Full Changelog: v0.0.68...v0.1.0