You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: adapt to new AI Studio login flow
- Update target URL to new AI Studio app endpoint
- Add "Continue to the app" button handler
- Remove manual script injection (app has built-in WebSocket client)
- Simplify initialization flow for faster startup
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: add robust WebSocket initialization monitoring and error recovery
- Add _checkPageErrors() to detect common initialization errors
- Add _waitForWebSocketInit() to monitor browser console logs
- Detect "System initialization complete" for success
- Detect "System initialization failed" for failure
- Check for page errors every second during 60s timeout
- Auto-refresh page on errors (applet failed, concurrent updates, snapshot failed)
- Implement 3-retry mechanism with page refresh between attempts
- Apply to both launchOrSwitchContext and attemptLightweightReconnect
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: add health monitor initialization and restart logic
* refactor: simplify WebSocket initialization monitoring and improve flag handling
* refactor: improve WebSocket initialization flow and flag handling
* refactor: enhance WebSocket flag initialization, reuse console listener, and ensure consistent flag resets
* refactor: deprecate WS_PORT env variable, enforce fixed WebSocket port 9998, and update documentation
* chore: remove WS_PORT customization, enforce fixed WebSocket endpoint at 127.0.0.1:9998
* refactor: replace local logger import with class-level logger in ConfigLoader
* fix: correct target URL and simplify app ID validation
* fix: reorder initialization flow with URL validation after popup handling
* fix: skip redundant WebSocket initialization if already completed
* fix: reset WebSocket flags before re-navigation to prevent stale state
* fix: adjust popup handling order to ensure correct URL validation before interactions
* chore: filter out expected WebGL not supported warning in logs
* fix: replace page reload with navigation to target URL for improved popup handling
* fix: add random mouse movement simulation during wait to enhance human-like interaction
* refactor: implement navigation verification and retry mechanism for correct page loading
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README_EN.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -254,6 +254,7 @@ This endpoint forwards requests to the official Gemini API format endpoint.
254
254
|`FORCE_WEB_SEARCH`| Force enable web search for all requests. |`false`|
255
255
|`FORCE_URL_CONTEXT`| Force enable URL context for all requests. |`false`|
256
256
|`CAMOUFOX_EXECUTABLE_PATH`| Path to the Camoufox browser executable (supports both absolute and relative paths). Only required if manually downloaded. | Auto-detected |
257
+
|~~`WS_PORT`~~|~~WebSocket server port.~~**⚠️ Deprecated: This environment variable is no longer supported. Port is fixed at 9998.**|~~`9998`~~|
0 commit comments