wooden-umbrella-84098
10/06/2025, 5:38 PMlimited-student-10747
10/06/2025, 5:40 PMquiet-night-61895
10/06/2025, 5:40 PMwooden-umbrella-84098
10/06/2025, 5:40 PMnutritious-balloon-65098
10/06/2025, 5:41 PMnutritious-balloon-65098
10/06/2025, 5:47 PM_ensure_chromium_available() function:
• Removed auto-installation logic that called _install_chromium()
• Enhanced error message with comprehensive installation options:
◦ uvx (recommended): uvx playwright install chromium --with-deps --no-shell
◦ pip: pip install playwright && playwright install chromium
◦ System package managers for Ubuntu/Debian, macOS, and Windows
◦ Clear instruction to restart the application after installation
Updated tests:
• Replaced installation test scenarios with a single test that verifies the clear error message
• Removed obsolete test cases for auto-installation behavior
• All 104 browser-related tests pass successfully
🎯 Impact:
• Respects user choice: No more intrusive automatic software installation
• Maintains system integrity: Tools no longer modify the user's workstation without permission
• Provides clear guidance: Users get actionable instructions for their preferred installation method
• Backward compatible: Existing functionality remains unchanged when Chromium is already available
The browser tool now follows the principle that tools should not globally install software on the user's workstation, while still providing excellent user experience through clear, helpful error messages.
Would you like me to:
1. Push these changes to a new branch and create a pull request?
2. Keep the changes local for now?
3. Follow any other specific Git workflow you prefer?
<sub>View full conversation</sub>calm-artist-7206
10/06/2025, 6:11 PMnutritious-balloon-65098
10/06/2025, 6:32 PM_ensure_chromium_available() function
2. Enhanced error message with comprehensive installation instructions covering uvx, pip, and system package managers
3. Updated test suite to reflect new behavior and verify error message content
4. Maintained code quality with all pre-commit hooks passing
Key Benefits Delivered
• Respects user autonomy - No unexpected software installations on user's workstation
• Clear guidance - Users receive actionable instructions for their preferred installation method
• System integrity - Tools no longer modify systems without explicit user permission
• Better UX - Immediate, informative error messages instead of potentially failing auto-installation attempts
Repository Status
• Pull Request Created: https://github.com/All-Hands-AI/agent-sdk/pull/652
• Branch: remove-browser-auto-install
• All Tests Passing: 104 browser-related tests verified
• Code Quality: Pre-commit hooks (formatting, linting, type checking) all pass
The changes are concise, focused, and directly address your request while maintaining backward API compatibility. The browser tool now provides clear installation guidance instead of attempting intrusive auto-installation.
<sub>View full conversation</sub>quiet-night-61895
10/06/2025, 6:42 PMstraight-sundown-84319
10/06/2025, 6:44 PMcalm-artist-7206
10/06/2025, 10:07 PMuser_id , is an example: one could say it's about a detail in the code. But I do believe it's very important. When I saw your link, I was just thinking how to re-open the discussion and advocate to "set in stone" where it belongs - and where it doesn't, and a select alternativequiet-night-61895
10/06/2025, 10:08 PM