feat: dashboard provider support and session creation improvements (#1092)
Add provider icons and session creation from the dashboard UI. Sessions can now be created with cloud providers (Browserbase, Browserless, Browser Use, Kernel) in addition to local engines. CLI changes: - Track provider via .provider files alongside .engine files - Add WaitUntil::None variant to skip lifecycle event waits for providers - Auto-set waitUntil=none when --provider is used with navigate - Fix Browser Use: use direct WSS connection (wss://connect.browser-use.com) - Add connect_cdp_direct for providers with page-level CDP proxies - Fix resolve_cdp_url to convert https:// provider URLs to wss:// - Treat empty CDP session_id as None (omit from protocol messages) - Fix Browserbase: send explicit JSON body + Content-Type header - Increase CDP connect timeout to 25s for remote providers - Clean up .provider files on session close Dashboard changes: - Show provider or engine icon per session in sidebar - New session dialog with unified engine/provider selector grid - Async session creation with loading state and error display - Kill zombie daemons on provider connection failure - Parse CLI JSON error output for user-friendly messages - Default new session URL to https://agent-browser.dev
This commit is contained in:
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 32 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-0.111 0 100 100" fill="none"><rect x="-0.111" y="0" width="100" height="100" fill="#F03603"/><path fill-rule="evenodd" clip-rule="evenodd" d="M35.9167 27.7778H51.1548C57.504 27.7778 62.5833 32.8571 62.5833 39.2063V41.746C62.5833 44.6667 61.5039 47.3968 59.6627 49.3651C62.2023 51.4603 63.8531 54.6349 63.8531 58.254V60.7937C63.8531 67.1429 58.7738 72.2222 52.4246 72.2222H35.9167V27.7778ZM42.2659 46.8254H51.1548C54.0119 46.8254 56.2342 44.6032 56.2342 41.746V39.2063C56.2342 36.3492 54.0119 34.127 51.1548 34.127H42.2659V46.8254ZM42.2659 53.1746V65.873H52.4246C55.2818 65.873 57.504 63.6508 57.504 60.7937V58.254C57.504 55.3968 55.2818 53.1746 52.4246 53.1746H42.2659Z" fill="white"/></svg>
|
||||
|
After Width: | Height: | Size: 742 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-8.352 0.04 34.863 34.863" fill="CurrentColor" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_270_330)" fill="#E2E8F0"><path d="M11.6737 15.6821 V 6.95583 L 7.76842 4.65057 V 24.04 L 14.2421 21.0085 L 14.2526 25.2506 L 3.92632 30.3874 V 2.32425 L 0.0421053 0.0400391 L 0 32.3874 L 3.74737 34.9032 L 18.1579 27.7453 L 18.1368 19.4927 L 11.6737 15.6821 Z" fill="#E2E8F0"/></g><defs><clipPath id="clip0_270_330"><rect width="155.789" height="40" fill="white" transform="translate(0 0.0400391)"/></clipPath></defs></svg>
|
||||
|
After Width: | Height: | Size: 586 B |
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 5.7 KiB |
Reference in New Issue
Block a user