Description
Added a comprehensive TypeScript workflow example that tests the Terminator browser script bridge functionality across various scenarios including basic execution, error handling, and retry logic.
What it covers
- Chrome extension bridge initialization and connection
- Inline scripts, function execution, and file-based scripts
- Promise rejections and structured failure handling
- Environment variable injection and retry/reset capabilities
Usage
cargo run --bin terminator -- mcp run examples/browser_script_bridge_workflow
This serves as both documentation and integration testing for the browser script bridge, ensuring reliable Chrome extension functionality.
Type of Change
- Bug fix
- New feature
- Breaking change
- Documentation update
- Other:
Video Demo (Recommended)
https://github.com/user-attachments/assets/0b3650ad-d2f2-4b17-bb42-23153edf91a0
AI Review & Code Quality
- I asked AI to critique my PR and incorporated feedback
- I formatted my code properly
- I tested my changes locally
Checklist
- Code follows project style guidelines
- Added video demo (recommended)
- Updated documentation if needed
Additional Notes
/fixes #353
/claim #353