2 Commits

Author SHA1 Message Date
17d99f6ff2 feat: implement comprehensive MCP response pagination system
- Add universal pagination guard with session-isolated cursor management
- Implement withPagination() decorator for any tool returning large datasets
- Update browser_console_messages with pagination and advanced filtering
- Update browser_get_requests with pagination while preserving all filters
- Add adaptive chunk sizing for optimal performance (target 500ms responses)
- Include query consistency validation to handle parameter changes
- Provide smart response size detection with user recommendations
- Add automatic cursor cleanup and 24-hour expiration
- Create comprehensive documentation and usage examples

Resolves: Large MCP response token overflow warnings
Benefits: Predictable response sizes, resumable data exploration, universal UX
2025-09-14 10:11:01 -06:00
9257404ba3 feat: fix video recording session persistence and add HTTP request monitoring
Video Recording Fixes:
- Fix session persistence issues where recording state was lost between tool calls
- Improve page video object handling by triggering navigation when needed
- Add browser_reveal_artifact_paths tool to show exact file locations
- Enhance browser_recording_status with detailed debugging info and file listings
- Add clearVideoRecordingState() method for proper state management
- Keep recording config available for debugging until new session starts

Request Monitoring System:
- Add comprehensive RequestInterceptor class for HTTP traffic capture
- Implement 5 new MCP tools for request monitoring and analysis
- Support multiple export formats: JSON, HAR, CSV, and summary reports
- Add filtering by domain, method, status codes, and response timing
- Integrate with artifact storage for organized session-based file management
- Enhance browser_network_requests with rich intercepted data

Additional Improvements:
- Add getBaseDirectory/getSessionDirectory methods to ArtifactManager
- Fix floating promise in tab.ts extension console message polling
- Add debug script for comprehensive video recording workflow testing
- Update README with new tool documentation

Resolves video recording workflow issues and adds powerful HTTP traffic
analysis capabilities for web application debugging and security testing.
2025-09-05 07:17:11 -06:00