[BUG] Windows 11 Eigent executable won't login after Chrome successfully logs in
What version of eigent are you using?
1.0.2
System information
Windows 11
Problem description
Stuck in login. Chrome logs in, but Eigent never picks that up
Bug Title
[Bug]: Windows executable fails Chrome login due to uninitialized Storage Partition on file:// scheme
Description
On Windows desktop builds (v1.0.2), completing authentication via the Chrome DevTools Protocol (CDP) window fails to persist session state into the main application.
Local endpoint diagnostics confirm:
- The local Python backend process is up and healthy on
http://127.0.0.1:5001/healthreturning{"status":"ok","service":"eigent"}. - CDP debugging on
http://localhost:9222shows the main window loadsfile:///.../app.asar/dist/index.html#/login. - Under
DevTools > Application > Storage, no storage origins exist (localStorage,sessionStorage, andCookiesare completely empty/unbound). main.logthrows[COOKIE SYNC] No tool_controller partition found, WebView will start freshand fails to read a non-existent SQLiteDefault/Network/Cookiesdisk file forfile://routes.
Environment
- App Version: 1.0.2
- OS: Windows 10 / 11 (x86_64)
- Backend Runtime: Local Python / Uvicorn on port 5001
Reproduction Steps
- Launch
Eigent.exeon Windows. - Complete OAuth/Chrome login in the spawned popup window.
- Observe that the main application resets to an unauthenticated login screen upon window close.
Root Cause
Chromium disables storage APIs for file:// schemes when an Electron BrowserWindow or WebView partition (persist:user_login) is mounted without initializing the tool_controller handle or registering custom scheme storage privileges (privileges: { secure: true, standard: true, corsEnabled: true }).
Expected Fix
Initialize and bind the tool_controller storage partition before triggering cookie sync, or retrieve authentication tokens in memory via WebSocket CDP Runtime.evaluate / IPC instead of attempting SQLite cookie database disk copies.
log
[2026-08-09 11:09:07.257] [info] [PROXY] No proxy configured [info] [MAIN] Waiting for profile initialization... [info] [CDP BROWSER] Created CDP profile directory at C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [CDP BROWSER] Chrome DevTools Protocol enabled on port 9222 [info] [CDP BROWSER] CDP profile directory: C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [STORAGE] Main app userData: C:\Users\Ethan\AppData\Roaming\eigent [info] [MAIN] Profile initialization completed [info] [ANTI-FINGERPRINT] User Agent set for all sessions [info] [PROTOCOL] Registered localfile protocol on both default and main_window sessions [info] Creating directory: C:\Users\Ethan.eigent\bin [info] Creating directory: C:\Users\Ethan.eigent\cache [info] Creating directory: C:\Users\Ethan.eigent\venvs [info] Creating directory: C:\Users\Ethan.eigent\runtime [info] Creating directory: C:\Users\Ethan.eigent\skills [info] .eigent directory structure ensured [info] Synced default skill(s) to ~/.eigent/skills: copied=6 updated=0 from C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\example-skills [info] [PROJECT BROWSER WINDOW] Creating BrowserWindow which will start Chrome with CDP on port 9222 [info] [PROJECT BROWSER WINDOW] Current user data path: C:\Users\Ethan\AppData\Roaming\eigent [info] [PROJECT BROWSER WINDOW] Command line switch user-data-dir: C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [COOKIE SYNC] No tool_controller partition found, WebView will start fresh [info] [PROJECT BROWSER] Creating WebViews with partition: persist:user_login [info] [PROJECT BROWSER] WebViewManager initialized with webviews [info] [CDP POOL] Starting health check (interval=3s) [info] Pre-checking if dependencies need to be installed... [info] [PRE-CHECK] Prebuilt dependencies found, skipping installation check [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\bun.exe [info] Installation check result: { needsInstallation: false, versionExists: false, versionMatch: false, uvExists: true, bunExists: true, installationCompleted: false, venvExists: true, venvPath: 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\venv' } [info] Installation already complete - letting useInstallationSetup handle state transitions [info] Window content loaded, starting dependency check immediately... [info] Window shown after content loaded [info] Window is ready, processing queued protocol URLs... [info] [DEPS INSTALL] Prebuilt dependencies found, skipping installation [info] [DEPS INSTALL] Using prebuilt dependencies, creating version file [info] [DEPS INSTALL] version file updated { currentVersion: '1.0.2' } [info] [VENV] Using prebuilt Python: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python [info] [VENV] pyvenv.cfg home path set to: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python\cpython-3.10-windows-x86_64-none [info] [VENV] home path verified successfully [info] [VENV] Fixed pyvenv.cfg placeholder with: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python [info] [VENV] Skipping shebang fixes on Windows (not needed) [info] [DEPS INSTALL] Using prebuilt terminal venv: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\terminal_venv [info] [DEPS INSTALL] Dependency Success: Using prebuilt dependencies [info] [DEPS INSTALL] Sent install-dependencies-complete event to frontend [info] [DEPS INSTALL] Starting backend... [info] Checking and starting backend service... [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\bun.exe [info] Tool installed, starting backend service... [info] [CODEX RESOLVER] Local resolver started { port: 55326 } [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [warn] [VENV] Failed to create uv_python symlink: Error: EPERM: operation not permitted, symlink 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python' -> 'C:\Users\Ethan.eigent\uv_python' [info] [VENV] Copying prebuilt backend venv to C:\Users\Ethan.eigent\venvs\backend-1.0.2... [info] [VENV] Using prebuilt Python: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python [info] [VENV] pyvenv.cfg home path set to: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python\cpython-3.11.11-windows-x86_64-none [info] [VENV] home path verified successfully [info] [VENV] Fixed pyvenv.cfg placeholder with: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python [info] [VENV] Skipping shebang fixes on Windows (not needed) [info] [VENV] Backend venv copied successfully [info] [VENV] Using prebuilt Python: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python [info] [VENV] Starting background uv sync to install optional deps (e.g. yt_dlp); app will not wait. [info] Found available port: 5001 [info] Backend service started successfully { port: 5001 } [info] [VENV] Using prebuilt Python: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python [warn] [VENV] Failed to create uv_python symlink: Error: EPERM: operation not permitted, symlink 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python' -> 'C:\Users\Ethan.eigent\uv_python' [info] [VENV] Backend venv already at C:\Users\Ethan.eigent\venvs\backend-1.0.2 (v1.0.2) [info] Backend SERVER_URL resolved to: https://dev.eigent.ai (source: default) [warn] [VENV] Failed to create uv_python symlink: Error: EPERM: operation not permitted, symlink 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python' -> 'C:\Users\Ethan.eigent\uv_python' [info] [VENV] Copying prebuilt terminal venv to C:\Users\Ethan.eigent\venvs\terminal_base-1.0.2... [info] [VENV] Skipping shebang fixes on Windows (not needed) [info] [VENV] Terminal venv copied successfully [info] [VENV] Created npm/npx wrappers at C:\Users\Ethan.eigent\bin [info] Spawning backend process: C:\Users\Ethan.eigent\venvs\backend-1.0.2\Scripts\python.exe -m uvicorn main:api --port 5001 --loop asyncio [info] Backend working directory: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\backend [info] [VENV] Background uv sync completed [info] Python test output: Python OK [info] Backend process spawned with PID: 4856 [info] Backend process still running after 1s with PID 4856 [info] Starting backend health check polling... [info] BACKEND: 2026-08-09 11:10:04,167 - main - INFO - System trust store enabled [info] BACKEND: 2026-08-09 11:10:32,600 - main - INFO - Starting Eigent Multi-Agent System API 2026-08-09 11:10:32,600 - main - INFO - Python encoding: utf-8 2026-08-09 11:10:32,600 - main - INFO - Environment: development [info] BACKEND: 2026-08-09 11:10:32,600 - main - INFO - Loading routers with prefix: '' 2026-08-09 11:10:32,600 - main - INFO - MCP will be at: /mcp/list, health at: /health [info] BACKEND: 2026-08-09 11:10:32,600 - router - INFO - Registered Health router at root level for Docker health checks 2026-08-09 11:10:32,600 - router - INFO - Registered Health router: 1 routes - Health check endpoint for service readiness [info] BACKEND: 2026-08-09 11:10:32,611 - router - INFO - Registered Files router: 4 routes - File upload for Web/Channel clients [info] BACKEND: 2026-08-09 11:10:32,613 - router - INFO - Registered MCP router: 4 routes - MCP config (list, install, remove, update) [info] BACKEND: 2026-08-09 11:10:32,623 - router - INFO - Registered Skills router: 12 routes - Skills scan, write, read, delete [info] BACKEND: 2026-08-09 11:10:32,634 - router - INFO - Registered chat router: 10 routes - Chat session management, improvements, and human interactions [info] BACKEND: 2026-08-09 11:10:32,634 - router - INFO - Registered Message Router router: 1 routes - Phase 2 Message Router - /messages endpoint (prefix-aware) [info] BACKEND: 2026-08-09 11:10:32,634 - router - INFO - Registered model router: 1 routes - Model validation and configuration [info] BACKEND: 2026-08-09 11:10:32,636 - router - INFO - Registered remote-sub-agent router: 1 routes - Remote sub-agent validation [info] BACKEND: 2026-08-09 11:10:32,640 - router - INFO - Registered task router: 7 routes - Task lifecycle management (start, stop, update, control) [info] BACKEND: 2026-08-09 11:10:32,645 - router - INFO - Registered tool router: 17 routes - Tool installation and management [info] BACKEND: 2026-08-09 11:10:32,652 - router - INFO - Registered workspace router: 8 routes - Space-level local workspace binding 2026-08-09 11:10:32,652 - router - INFO - Total routers registered: 11 [info] BACKEND: 2026-08-09 11:10:32,652 - main - INFO - All routers loaded successfully 2026-08-09 11:10:32,653 - main - INFO - Application initialization completed successfully [32mINFO[0m: Started server process [[36m21188[0m] [32mINFO[0m: Waiting for application startup. 2026-08-09 11:10:32,654 - main - INFO - PID write task created [info] BACKEND: 2026-08-09 11:10:32,700 - hands.capabilities - INFO - BrainCapabilities detected 2026-08-09 11:10:32,700 - main - INFO - EnvironmentHands initialized: mode=full [info] BACKEND: 2026-08-09 11:10:32,700 - app.utils.telemetry.workforce_metrics - INFO - Langfuse credentials not found, telemetry disabled 2026-08-09 11:10:32,700 - main - INFO - Telemetry tracer provider initialized [info] BACKEND: [32mINFO[0m: Application startup complete. [info] BACKEND: [32mINFO[0m: Uvicorn running on [1mhttp://127.0.0.1:5001[0m (Press CTRL+C to quit) [info] BACKEND: 2026-08-09 11:10:32,805 - main - INFO - PID file written: 21188 [info] Backend health check passed after 35 attempts [info] Backend is ready, notifying frontend... [info] before-quit [info] quit python_process.pid: 4856 [info] window-all-closed [info] before-quit [info] quit python_process.pid: 4856 [info] Cleaning up Python process and all children { pid: 4856 } [info] Cleaning up Python process and all children { pid: 4856 } [error] Failed to clean up process tree with SIGTERM: Error: Command failed: taskkill /pid 4856 /T /F ERROR: The process with PID 22116 (child process of PID 4856) could not be terminated. Reason: There is no running instance of the task. ERROR: The process with PID 21188 (child process of PID 4856) could not be terminated. Reason: There is no running instance of the task. ERROR: The process with PID 4856 (child process of PID 17512) could not be terminated. Reason: The operation attempted is not supported.
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[info] Successfully sent SIGTERM to process tree [error] Failed to force kill process tree: Error: Command failed: taskkill /pid 4856 /T /F ERROR: The process "4856" not found.
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[info] Attempting to kill process on port: 5001 [error] Failed to kill process on port 5001: Error: Command failed: netstat -ano | findstr LISTENING | findstr :5001
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[info] All cleanup completed, exiting... [2026-08-09 11:12:43.014] [info] [PROXY] No proxy configured [info] [MAIN] Waiting for profile initialization... [info] [CDP BROWSER] Created CDP profile directory at C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [CDP BROWSER] Chrome DevTools Protocol enabled on port 9222 [info] [CDP BROWSER] CDP profile directory: C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [STORAGE] Main app userData: C:\Users\Ethan\AppData\Roaming\eigent [info] [MAIN] Profile initialization completed [info] [ANTI-FINGERPRINT] User Agent set for all sessions [info] [PROTOCOL] Registered localfile protocol on both default and main_window sessions [info] .eigent directory structure ensured [info] [PROJECT BROWSER WINDOW] Creating BrowserWindow which will start Chrome with CDP on port 9222 [info] [PROJECT BROWSER WINDOW] Current user data path: C:\Users\Ethan\AppData\Roaming\eigent [info] [PROJECT BROWSER WINDOW] Command line switch user-data-dir: C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [COOKIE SYNC] No tool_controller partition found, WebView will start fresh [info] [PROJECT BROWSER] Creating WebViews with partition: persist:user_login [info] [PROJECT BROWSER] WebViewManager initialized with webviews [info] [CDP POOL] Starting health check (interval=3s) [info] Pre-checking if dependencies need to be installed... [info] [PRE-CHECK] Prebuilt dependencies found, skipping installation check [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\bun.exe [info] Installation check result: { needsInstallation: false, versionExists: true, versionMatch: true, uvExists: true, bunExists: true, installationCompleted: false, venvExists: true, venvPath: 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\venv' } [info] Installation already complete - letting useInstallationSetup handle state transitions [info] Window content loaded, starting dependency check immediately... [info] Window shown after content loaded [info] Window is ready, processing queued protocol URLs... [info] [DEPS INSTALL] Prebuilt dependencies found, skipping installation [info] [DEPS INSTALL] Using prebuilt dependencies, creating version file [info] [DEPS INSTALL] version file updated { currentVersion: '1.0.2' } [info] [DEPS INSTALL] Using prebuilt terminal venv: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\terminal_venv [info] [DEPS INSTALL] Dependency Success: Using prebuilt dependencies [info] [DEPS INSTALL] Sent install-dependencies-complete event to frontend [info] [DEPS INSTALL] Starting backend... [info] Checking and starting backend service... [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\bun.exe [info] Tool installed, starting backend service... [info] [CODEX RESOLVER] Local resolver started { port: 60226 } [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [warn] [VENV] Failed to create uv_python symlink: Error: EPERM: operation not permitted, symlink 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python' -> 'C:\Users\Ethan.eigent\uv_python' [info] [VENV] Backend venv already at C:\Users\Ethan.eigent\venvs\backend-1.0.2 (v1.0.2) [info] [VENV] Using prebuilt Python: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python [info] [VENV] Starting background uv sync to install optional deps (e.g. yt_dlp); app will not wait. [info] Found available port: 5001 [info] Backend service started successfully { port: 5001 } [info] [VENV] Using prebuilt Python: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python [warn] [VENV] Failed to create uv_python symlink: Error: EPERM: operation not permitted, symlink 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python' -> 'C:\Users\Ethan.eigent\uv_python' [info] [VENV] Backend venv already at C:\Users\Ethan.eigent\venvs\backend-1.0.2 (v1.0.2) [info] Backend SERVER_URL resolved to: https://dev.eigent.ai (source: default) [warn] [VENV] Failed to create uv_python symlink: Error: EPERM: operation not permitted, symlink 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python' -> 'C:\Users\Ethan.eigent\uv_python' [info] [VENV] Terminal venv already at C:\Users\Ethan.eigent\venvs\terminal_base-1.0.2 (v1.0.2) [info] Spawning backend process: C:\Users\Ethan.eigent\venvs\backend-1.0.2\Scripts\python.exe -m uvicorn main:api --port 5001 --loop asyncio [info] Backend working directory: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\backend [info] [VENV] Background uv sync completed [info] Python test output: Python OK [info] Backend process spawned with PID: 19660 [info] BACKEND: 2026-08-09 11:12:47,630 - main - INFO - System trust store enabled [info] Backend process still running after 1s with PID 19660 [info] Starting backend health check polling... [info] BACKEND: 2026-08-09 11:12:49,598 - main - INFO - Starting Eigent Multi-Agent System API 2026-08-09 11:12:49,598 - main - INFO - Python encoding: utf-8 2026-08-09 11:12:49,598 - main - INFO - Environment: development [info] BACKEND: 2026-08-09 11:12:49,599 - main - INFO - Loading routers with prefix: '' 2026-08-09 11:12:49,599 - main - INFO - MCP will be at: /mcp/list, health at: /health [info] BACKEND: 2026-08-09 11:12:49,599 - router - INFO - Registered Health router at root level for Docker health checks [info] BACKEND: 2026-08-09 11:12:49,600 - router - INFO - Registered Health router: 1 routes - Health check endpoint for service readiness [info] BACKEND: 2026-08-09 11:12:49,606 - router - INFO - Registered Files router: 4 routes - File upload for Web/Channel clients [info] BACKEND: 2026-08-09 11:12:49,608 - router - INFO - Registered MCP router: 4 routes - MCP config (list, install, remove, update) [info] BACKEND: 2026-08-09 11:12:49,618 - router - INFO - Registered Skills router: 12 routes - Skills scan, write, read, delete [info] BACKEND: 2026-08-09 11:12:49,625 - router - INFO - Registered chat router: 10 routes - Chat session management, improvements, and human interactions [info] BACKEND: 2026-08-09 11:12:49,625 - router - INFO - Registered Message Router router: 1 routes - Phase 2 Message Router - /messages endpoint (prefix-aware) [info] BACKEND: 2026-08-09 11:12:49,625 - router - INFO - Registered model router: 1 routes - Model validation and configuration [info] BACKEND: 2026-08-09 11:12:49,627 - router - INFO - Registered remote-sub-agent router: 1 routes - Remote sub-agent validation [info] BACKEND: 2026-08-09 11:12:49,631 - router - INFO - Registered task router: 7 routes - Task lifecycle management (start, stop, update, control) [info] BACKEND: 2026-08-09 11:12:49,635 - router - INFO - Registered tool router: 17 routes - Tool installation and management [info] BACKEND: 2026-08-09 11:12:49,641 - router - INFO - Registered workspace router: 8 routes - Space-level local workspace binding 2026-08-09 11:12:49,641 - router - INFO - Total routers registered: 11 2026-08-09 11:12:49,641 - main - INFO - All routers loaded successfully [info] BACKEND: 2026-08-09 11:12:49,642 - main - INFO - Application initialization completed successfully [32mINFO[0m: Started server process [[36m19172[0m] [32mINFO[0m: Waiting for application startup. [info] BACKEND: 2026-08-09 11:12:49,642 - main - INFO - PID write task created [info] BACKEND: 2026-08-09 11:12:49,669 - hands.capabilities - INFO - BrainCapabilities detected 2026-08-09 11:12:49,669 - main - INFO - EnvironmentHands initialized: mode=full [info] BACKEND: 2026-08-09 11:12:49,669 - app.utils.telemetry.workforce_metrics - INFO - Langfuse credentials not found, telemetry disabled 2026-08-09 11:12:49,669 - main - INFO - Telemetry tracer provider initialized [info] BACKEND: [32mINFO[0m: Application startup complete. [32mINFO[0m: Uvicorn running on [1mhttp://127.0.0.1:5001[0m (Press CTRL+C to quit) [info] BACKEND: 2026-08-09 11:12:49,678 - main - INFO - PID file written: 19172 [info] Backend health check passed after 1 attempts [info] Backend is ready, notifying frontend... [info] before-quit [info] quit python_process.pid: 19660 [info] window-all-closed [info] before-quit [info] quit python_process.pid: 19660 [info] Cleaning up Python process and all children { pid: 19660 } [info] Cleaning up Python process and all children { pid: 19660 } [info] Successfully sent SIGTERM to process tree [error] Failed to clean up process tree with SIGTERM: Error: Command failed: taskkill /pid 19660 /T /F ERROR: The process with PID 2696 (child process of PID 19660) could not be terminated. Reason: There is no running instance of the task. ERROR: The process with PID 19172 (child process of PID 19660) could not be terminated. Reason: There is no running instance of the task. ERROR: The process with PID 19660 (child process of PID 6248) could not be terminated. Reason: There is no running instance of the task.
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[error] Failed to force kill process tree: Error: Command failed: taskkill /pid 19660 /T /F ERROR: The process "19660" not found.
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[info] Attempting to kill process on port: 5001 [error] Failed to kill process on port 5001: Error: Command failed: netstat -ano | findstr LISTENING | findstr :5001
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[info] All cleanup completed, exiting... [2026-08-09 11:17:33.520] [info] [PROXY] No proxy configured [info] [MAIN] Waiting for profile initialization... [info] [CDP BROWSER] Created CDP profile directory at C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [CDP BROWSER] Chrome DevTools Protocol enabled on port 9222 [info] [CDP BROWSER] CDP profile directory: C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [STORAGE] Main app userData: C:\Users\Ethan\AppData\Roaming\eigent [info] [MAIN] Profile initialization completed [info] [ANTI-FINGERPRINT] User Agent set for all sessions [info] [PROTOCOL] Registered localfile protocol on both default and main_window sessions [info] .eigent directory structure ensured [info] [PROJECT BROWSER WINDOW] Creating BrowserWindow which will start Chrome with CDP on port 9222 [info] [PROJECT BROWSER WINDOW] Current user data path: C:\Users\Ethan\AppData\Roaming\eigent [info] [PROJECT BROWSER WINDOW] Command line switch user-data-dir: C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [COOKIE SYNC] No tool_controller partition found, WebView will start fresh [info] [PROJECT BROWSER] Creating WebViews with partition: persist:user_login [info] [PROJECT BROWSER] WebViewManager initialized with webviews [info] [CDP POOL] Starting health check (interval=3s) [info] Pre-checking if dependencies need to be installed... [info] [PRE-CHECK] Prebuilt dependencies found, skipping installation check [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\bun.exe [info] Installation check result: { needsInstallation: false, versionExists: true, versionMatch: true, uvExists: true, bunExists: true, installationCompleted: false, venvExists: true, venvPath: 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\venv' } [info] Installation already complete - letting useInstallationSetup handle state transitions [info] Window content loaded, starting dependency check immediately... [info] Window shown after content loaded [info] Window is ready, processing queued protocol URLs... [info] [DEPS INSTALL] Prebuilt dependencies found, skipping installation [info] [DEPS INSTALL] Using prebuilt dependencies, creating version file [info] [DEPS INSTALL] version file updated { currentVersion: '1.0.2' } [info] [DEPS INSTALL] Using prebuilt terminal venv: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\terminal_venv [info] [DEPS INSTALL] Dependency Success: Using prebuilt dependencies [info] [DEPS INSTALL] Sent install-dependencies-complete event to frontend [info] [DEPS INSTALL] Starting backend... [info] Checking and starting backend service... [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\bun.exe [info] Tool installed, starting backend service... [info] [CODEX RESOLVER] Local resolver started { port: 53360 } [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [warn] [VENV] Failed to create uv_python symlink: Error: EPERM: operation not permitted, symlink 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python' -> 'C:\Users\Ethan.eigent\uv_python' [info] [VENV] Backend venv already at C:\Users\Ethan.eigent\venvs\backend-1.0.2 (v1.0.2) [info] [VENV] Using prebuilt Python: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python [info] [VENV] Starting background uv sync to install optional deps (e.g. yt_dlp); app will not wait. [info] Found available port: 5001 [info] Backend service started successfully { port: 5001 } [info] [VENV] Using prebuilt Python: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python [warn] [VENV] Failed to create uv_python symlink: Error: EPERM: operation not permitted, symlink 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python' -> 'C:\Users\Ethan.eigent\uv_python' [info] [VENV] Backend venv already at C:\Users\Ethan.eigent\venvs\backend-1.0.2 (v1.0.2) [info] Backend SERVER_URL resolved to: https://dev.eigent.ai (source: default) [warn] [VENV] Failed to create uv_python symlink: Error: EPERM: operation not permitted, symlink 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python' -> 'C:\Users\Ethan.eigent\uv_python' [info] [VENV] Terminal venv already at C:\Users\Ethan.eigent\venvs\terminal_base-1.0.2 (v1.0.2) [info] Spawning backend process: C:\Users\Ethan.eigent\venvs\backend-1.0.2\Scripts\python.exe -m uvicorn main:api --port 5001 --loop asyncio [info] Backend working directory: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\backend [info] [VENV] Background uv sync completed [info] Python test output: Python OK [info] Backend process spawned with PID: 18828 [info] BACKEND: 2026-08-09 11:17:36,916 - main - INFO - System trust store enabled [info] Backend process still running after 1s with PID 18828 [info] Starting backend health check polling... [info] BACKEND: 2026-08-09 11:17:38,828 - main - INFO - Starting Eigent Multi-Agent System API 2026-08-09 11:17:38,828 - main - INFO - Python encoding: utf-8 2026-08-09 11:17:38,828 - main - INFO - Environment: development [info] BACKEND: 2026-08-09 11:17:38,830 - main - INFO - Loading routers with prefix: '' 2026-08-09 11:17:38,830 - main - INFO - MCP will be at: /mcp/list, health at: /health 2026-08-09 11:17:38,830 - router - INFO - Registered Health router at root level for Docker health checks 2026-08-09 11:17:38,832 - router - INFO - Registered Health router: 1 routes - Health check endpoint for service readiness [info] BACKEND: 2026-08-09 11:17:38,838 - router - INFO - Registered Files router: 4 routes - File upload for Web/Channel clients [info] BACKEND: 2026-08-09 11:17:38,840 - router - INFO - Registered MCP router: 4 routes - MCP config (list, install, remove, update) [info] BACKEND: 2026-08-09 11:17:38,851 - router - INFO - Registered Skills router: 12 routes - Skills scan, write, read, delete [info] BACKEND: 2026-08-09 11:17:38,860 - router - INFO - Registered chat router: 10 routes - Chat session management, improvements, and human interactions [info] BACKEND: 2026-08-09 11:17:38,860 - router - INFO - Registered Message Router router: 1 routes - Phase 2 Message Router - /messages endpoint (prefix-aware) [info] BACKEND: 2026-08-09 11:17:38,861 - router - INFO - Registered model router: 1 routes - Model validation and configuration [info] BACKEND: 2026-08-09 11:17:38,863 - router - INFO - Registered remote-sub-agent router: 1 routes - Remote sub-agent validation [info] BACKEND: 2026-08-09 11:17:38,866 - router - INFO - Registered task router: 7 routes - Task lifecycle management (start, stop, update, control) [info] BACKEND: 2026-08-09 11:17:38,866 - router - INFO - Registered tool router: 17 routes - Tool installation and management [info] BACKEND: 2026-08-09 11:17:38,875 - router - INFO - Registered workspace router: 8 routes - Space-level local workspace binding 2026-08-09 11:17:38,875 - router - INFO - Total routers registered: 11 2026-08-09 11:17:38,875 - main - INFO - All routers loaded successfully [info] BACKEND: 2026-08-09 11:17:38,875 - main - INFO - Application initialization completed successfully [32mINFO[0m: Started server process [[36m10180[0m] [32mINFO[0m: Waiting for application startup. [info] BACKEND: 2026-08-09 11:17:38,875 - main - INFO - PID write task created [info] BACKEND: 2026-08-09 11:17:38,898 - hands.capabilities - INFO - BrainCapabilities detected 2026-08-09 11:17:38,898 - main - INFO - EnvironmentHands initialized: mode=full 2026-08-09 11:17:38,898 - app.utils.telemetry.workforce_metrics - INFO - Langfuse credentials not found, telemetry disabled 2026-08-09 11:17:38,898 - main - INFO - Telemetry tracer provider initialized [info] BACKEND: [32mINFO[0m: Application startup complete. [info] BACKEND: [32mINFO[0m: Uvicorn running on [1mhttp://127.0.0.1:5001[0m (Press CTRL+C to quit) [info] BACKEND: 2026-08-09 11:17:38,898 - main - INFO - PID file written: 10180 [info] Backend health check passed after 1 attempts [info] Backend is ready, notifying frontend... [2026-08-09 11:23:11.486] [info] [PROXY] No proxy configured [info] second-instance [ 'C:\Users\Ethan\AppData\Local\Programs\Eigent\Eigent.exe', '--allow-file-access-from-files', '--js-flags=--max-old-space-size=4096', '--force-gpu-mem-available-mb=512', '--max_old_space_size=4096', '--enable-features=MemoryPressureReduction', '--renderer-process-limit=8', '--disable-features=Fontations', '--disable-blink-features=AutomationControlled', '--secure-schemes=localfile', '--fetch-schemes=localfile', '--standard-schemes=localfile' ] [info] before-quit [info] quit python_process.pid: 18828 [info] window-all-closed [info] before-quit [info] quit python_process.pid: 18828 [info] Cleaning up Python process and all children { pid: 18828 } [info] Cleaning up Python process and all children { pid: 18828 } [error] Failed to clean up process tree with SIGTERM: Error: Command failed: taskkill /pid 18828 /T /F ERROR: The process with PID 15088 (child process of PID 18828) could not be terminated. Reason: There is no running instance of the task. ERROR: The process with PID 10180 (child process of PID 18828) could not be terminated. Reason: Access is denied. ERROR: The process with PID 18828 (child process of PID 20884) could not be terminated. Reason: Access is denied.
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[info] Successfully sent SIGTERM to process tree [error] Failed to force kill process tree: Error: Command failed: taskkill /pid 18828 /T /F ERROR: The process "18828" not found.
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[info] Attempting to kill process on port: 5001 [error] Failed to kill process on port 5001: Error: Command failed: netstat -ano | findstr LISTENING | findstr :5001
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[info] All cleanup completed, exiting... [2026-08-09 11:23:21.825] [info] [PROXY] No proxy configured [info] [MAIN] Waiting for profile initialization... [info] [CDP BROWSER] Created CDP profile directory at C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [CDP BROWSER] Chrome DevTools Protocol enabled on port 9222 [info] [CDP BROWSER] CDP profile directory: C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [STORAGE] Main app userData: C:\Users\Ethan\AppData\Roaming\eigent [info] [MAIN] Profile initialization completed [info] [ANTI-FINGERPRINT] User Agent set for all sessions [info] [PROTOCOL] Registered localfile protocol on both default and main_window sessions [info] .eigent directory structure ensured [info] [PROJECT BROWSER WINDOW] Creating BrowserWindow which will start Chrome with CDP on port 9222 [info] [PROJECT BROWSER WINDOW] Current user data path: C:\Users\Ethan\AppData\Roaming\eigent [info] [PROJECT BROWSER WINDOW] Command line switch user-data-dir: C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [COOKIE SYNC] No tool_controller partition found, WebView will start fresh [info] [PROJECT BROWSER] Creating WebViews with partition: persist:user_login [info] [PROJECT BROWSER] WebViewManager initialized with webviews [info] [CDP POOL] Starting health check (interval=3s) [info] Pre-checking if dependencies need to be installed... [info] [PRE-CHECK] Prebuilt dependencies found, skipping installation check [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\bun.exe [info] Installation check result: { needsInstallation: false, versionExists: true, versionMatch: true, uvExists: true, bunExists: true, installationCompleted: false, venvExists: true, venvPath: 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\venv' } [info] Installation already complete - letting useInstallationSetup handle state transitions [info] Window content loaded, starting dependency check immediately... [info] Window shown after content loaded [info] Window is ready, processing queued protocol URLs... [info] [DEPS INSTALL] Prebuilt dependencies found, skipping installation [info] [DEPS INSTALL] Using prebuilt dependencies, creating version file [info] [DEPS INSTALL] version file updated { currentVersion: '1.0.2' } [info] [DEPS INSTALL] Using prebuilt terminal venv: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\terminal_venv [info] [DEPS INSTALL] Dependency Success: Using prebuilt dependencies [info] [DEPS INSTALL] Sent install-dependencies-complete event to frontend [info] [DEPS INSTALL] Starting backend... [info] Checking and starting backend service... [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\bun.exe [info] Tool installed, starting backend service... [info] [CODEX RESOLVER] Local resolver started { port: 65512 } [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [warn] [VENV] Failed to create uv_python symlink: Error: EPERM: operation not permitted, symlink 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python' -> 'C:\Users\Ethan.eigent\uv_python' [info] [VENV] Backend venv already at C:\Users\Ethan.eigent\venvs\backend-1.0.2 (v1.0.2) [info] [VENV] Using prebuilt Python: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python [info] [VENV] Starting background uv sync to install optional deps (e.g. yt_dlp); app will not wait. [info] Found available port: 5001 [info] Backend service started successfully { port: 5001 } [info] [VENV] Using prebuilt Python: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python [warn] [VENV] Failed to create uv_python symlink: Error: EPERM: operation not permitted, symlink 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python' -> 'C:\Users\Ethan.eigent\uv_python' [info] [VENV] Backend venv already at C:\Users\Ethan.eigent\venvs\backend-1.0.2 (v1.0.2) [info] Backend SERVER_URL resolved to: https://dev.eigent.ai (source: default) [warn] [VENV] Failed to create uv_python symlink: Error: EPERM: operation not permitted, symlink 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python' -> 'C:\Users\Ethan.eigent\uv_python' [info] [VENV] Terminal venv already at C:\Users\Ethan.eigent\venvs\terminal_base-1.0.2 (v1.0.2) [info] Spawning backend process: C:\Users\Ethan.eigent\venvs\backend-1.0.2\Scripts\python.exe -m uvicorn main:api --port 5001 --loop asyncio [info] Backend working directory: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\backend [info] [VENV] Background uv sync completed [info] Python test output: Python OK [info] Backend process spawned with PID: 18248 [info] BACKEND: 2026-08-09 11:23:25,084 - main - INFO - System trust store enabled [info] Backend process still running after 1s with PID 18248 [info] Starting backend health check polling... [info] BACKEND: 2026-08-09 11:23:26,924 - main - INFO - Starting Eigent Multi-Agent System API [info] BACKEND: 2026-08-09 11:23:26,925 - main - INFO - Python encoding: utf-8 2026-08-09 11:23:26,925 - main - INFO - Environment: development [info] BACKEND: 2026-08-09 11:23:26,926 - main - INFO - Loading routers with prefix: '' 2026-08-09 11:23:26,926 - main - INFO - MCP will be at: /mcp/list, health at: /health [info] BACKEND: 2026-08-09 11:23:26,927 - router - INFO - Registered Health router at root level for Docker health checks [info] BACKEND: 2026-08-09 11:23:26,927 - router - INFO - Registered Health router: 1 routes - Health check endpoint for service readiness [info] BACKEND: 2026-08-09 11:23:26,933 - router - INFO - Registered Files router: 4 routes - File upload for Web/Channel clients [info] BACKEND: 2026-08-09 11:23:26,935 - router - INFO - Registered MCP router: 4 routes - MCP config (list, install, remove, update) [info] BACKEND: 2026-08-09 11:23:26,943 - router - INFO - Registered Skills router: 12 routes - Skills scan, write, read, delete [info] BACKEND: 2026-08-09 11:23:26,951 - router - INFO - Registered chat router: 10 routes - Chat session management, improvements, and human interactions [info] BACKEND: 2026-08-09 11:23:26,951 - router - INFO - Registered Message Router router: 1 routes - Phase 2 Message Router - /messages endpoint (prefix-aware) 2026-08-09 11:23:26,951 - router - INFO - Registered model router: 1 routes - Model validation and configuration [info] BACKEND: 2026-08-09 11:23:26,952 - router - INFO - Registered remote-sub-agent router: 1 routes - Remote sub-agent validation [info] BACKEND: 2026-08-09 11:23:26,955 - router - INFO - Registered task router: 7 routes - Task lifecycle management (start, stop, update, control) [info] BACKEND: 2026-08-09 11:23:26,960 - router - INFO - Registered tool router: 17 routes - Tool installation and management [info] BACKEND: 2026-08-09 11:23:26,966 - router - INFO - Registered workspace router: 8 routes - Space-level local workspace binding 2026-08-09 11:23:26,966 - router - INFO - Total routers registered: 11 2026-08-09 11:23:26,966 - main - INFO - All routers loaded successfully [info] BACKEND: 2026-08-09 11:23:26,966 - main - INFO - Application initialization completed successfully [32mINFO[0m: Started server process [[36m20944[0m] [32mINFO[0m: Waiting for application startup. [info] BACKEND: 2026-08-09 11:23:26,967 - main - INFO - PID write task created [info] BACKEND: 2026-08-09 11:23:26,993 - hands.capabilities - INFO - BrainCapabilities detected 2026-08-09 11:23:26,993 - main - INFO - EnvironmentHands initialized: mode=full [info] BACKEND: 2026-08-09 11:23:26,993 - app.utils.telemetry.workforce_metrics - INFO - Langfuse credentials not found, telemetry disabled 2026-08-09 11:23:26,993 - main - INFO - Telemetry tracer provider initialized [info] BACKEND: [32mINFO[0m: Application startup complete. [info] BACKEND: [32mINFO[0m: Uvicorn running on [1mhttp://127.0.0.1:5001[0m (Press CTRL+C to quit) [info] BACKEND: 2026-08-09 11:23:27,003 - main - INFO - PID file written: 20944 [info] Backend health check passed after 1 attempts [info] Backend is ready, notifying frontend... [info] before-quit [info] quit python_process.pid: 18248 [info] window-all-closed [info] before-quit [info] quit python_process.pid: 18248 [info] Cleaning up Python process and all children { pid: 18248 } [info] Cleaning up Python process and all children { pid: 18248 } [info] Successfully sent SIGTERM to process tree [error] Failed to clean up process tree with SIGTERM: Error: Command failed: taskkill /pid 18248 /T /F ERROR: The process with PID 5604 (child process of PID 18248) could not be terminated. Reason: There is no running instance of the task. ERROR: The process with PID 20944 (child process of PID 18248) could not be terminated. Reason: There is no running instance of the task. ERROR: The process with PID 18248 (child process of PID 15036) could not be terminated. Reason: The operation attempted is not supported.
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[error] Failed to force kill process tree: Error: Command failed: taskkill /pid 18248 /T /F ERROR: The process "18248" not found.
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[info] Attempting to kill process on port: 5001 [error] Failed to kill process on port 5001: Error: Command failed: netstat -ano | findstr LISTENING | findstr :5001
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[info] All cleanup completed, exiting... [2026-08-09 12:44:07.046] [info] [PROXY] No proxy configured [info] [MAIN] Waiting for profile initialization... [info] [CDP BROWSER] Created CDP profile directory at C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [CDP BROWSER] Chrome DevTools Protocol enabled on port 9222 [info] [CDP BROWSER] CDP profile directory: C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [STORAGE] Main app userData: C:\Users\Ethan\AppData\Roaming\eigent [info] [MAIN] Profile initialization completed [info] [ANTI-FINGERPRINT] User Agent set for all sessions [info] [PROTOCOL] Registered localfile protocol on both default and main_window sessions [info] .eigent directory structure ensured [info] [PROJECT BROWSER WINDOW] Creating BrowserWindow which will start Chrome with CDP on port 9222 [info] [PROJECT BROWSER WINDOW] Current user data path: C:\Users\Ethan\AppData\Roaming\eigent [info] [PROJECT BROWSER WINDOW] Command line switch user-data-dir: C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [COOKIE SYNC] No tool_controller partition found, WebView will start fresh [info] [PROJECT BROWSER] Creating WebViews with partition: persist:user_login [info] [PROJECT BROWSER] WebViewManager initialized with webviews [info] [CDP POOL] Starting health check (interval=3s) [info] Pre-checking if dependencies need to be installed... [info] [PRE-CHECK] Prebuilt dependencies found, skipping installation check [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\bun.exe [info] Installation check result: { needsInstallation: false, versionExists: true, versionMatch: true, uvExists: true, bunExists: true, installationCompleted: false, venvExists: true, venvPath: 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\venv' } [info] Installation already complete - letting useInstallationSetup handle state transitions [info] Window content loaded, starting dependency check immediately... [info] Window shown after content loaded [info] Window is ready, processing queued protocol URLs... [info] [DEPS INSTALL] Prebuilt dependencies found, skipping installation [info] [DEPS INSTALL] Using prebuilt dependencies, creating version file [info] [DEPS INSTALL] version file updated { currentVersion: '1.0.2' } [info] [DEPS INSTALL] Using prebuilt terminal venv: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\terminal_venv [info] [DEPS INSTALL] Dependency Success: Using prebuilt dependencies [info] [DEPS INSTALL] Sent install-dependencies-complete event to frontend [info] [DEPS INSTALL] Starting backend... [info] Checking and starting backend service... [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\bun.exe [info] Tool installed, starting backend service... [info] [CODEX RESOLVER] Local resolver started { port: 59891 } [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [info] [VENV] Created uv_python symlink: C:\Users\Ethan.eigent\uv_python [info] [VENV] Backend venv already at C:\Users\Ethan.eigent\venvs\backend-1.0.2 (v1.0.2) [info] [VENV] Using prebuilt Python: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python [info] [VENV] Starting background uv sync to install optional deps (e.g. yt_dlp); app will not wait. [info] Found available port: 5001 [info] Backend service started successfully { port: 5001 } [info] [VENV] Using prebuilt Python: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python [info] [VENV] Backend venv already at C:\Users\Ethan.eigent\venvs\backend-1.0.2 (v1.0.2) [info] Backend SERVER_URL resolved to: https://dev.eigent.ai (source: default) [info] [VENV] Terminal venv already at C:\Users\Ethan.eigent\venvs\terminal_base-1.0.2 (v1.0.2) [info] Spawning backend process: C:\Users\Ethan.eigent\venvs\backend-1.0.2\Scripts\python.exe -m uvicorn main:api --port 5001 --loop asyncio [info] Backend working directory: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\backend [info] Python test output: Python OK [info] Backend process spawned with PID: 14240 [info] [VENV] Background uv sync completed [info] BACKEND: 2026-08-09 12:44:11,865 - main - INFO - System trust store enabled [info] Backend process still running after 1s with PID 14240 [info] Starting backend health check polling... [info] BACKEND: 2026-08-09 12:44:14,393 - main - INFO - Starting Eigent Multi-Agent System API 2026-08-09 12:44:14,393 - main - INFO - Python encoding: utf-8 2026-08-09 12:44:14,393 - main - INFO - Environment: development [info] BACKEND: 2026-08-09 12:44:14,397 - main - INFO - Loading routers with prefix: '' 2026-08-09 12:44:14,397 - main - INFO - MCP will be at: /mcp/list, health at: /health [info] BACKEND: 2026-08-09 12:44:14,397 - router - INFO - Registered Health router at root level for Docker health checks 2026-08-09 12:44:14,397 - router - INFO - Registered Health router: 1 routes - Health check endpoint for service readiness [info] BACKEND: 2026-08-09 12:44:14,403 - router - INFO - Registered Files router: 4 routes - File upload for Web/Channel clients [info] BACKEND: 2026-08-09 12:44:14,403 - router - INFO - Registered MCP router: 4 routes - MCP config (list, install, remove, update) [info] BACKEND: 2026-08-09 12:44:14,419 - router - INFO - Registered Skills router: 12 routes - Skills scan, write, read, delete [info] BACKEND: 2026-08-09 12:44:14,419 - router - INFO - Registered chat router: 10 routes - Chat session management, improvements, and human interactions 2026-08-09 12:44:14,419 - router - INFO - Registered Message Router router: 1 routes - Phase 2 Message Router - /messages endpoint (prefix-aware) 2026-08-09 12:44:14,419 - router - INFO - Registered model router: 1 routes - Model validation and configuration [info] BACKEND: 2026-08-09 12:44:14,419 - router - INFO - Registered remote-sub-agent router: 1 routes - Remote sub-agent validation [info] BACKEND: 2026-08-09 12:44:14,435 - router - INFO - Registered task router: 7 routes - Task lifecycle management (start, stop, update, control) [info] BACKEND: 2026-08-09 12:44:14,440 - router - INFO - Registered tool router: 17 routes - Tool installation and management [info] BACKEND: 2026-08-09 12:44:14,450 - router - INFO - Registered workspace router: 8 routes - Space-level local workspace binding 2026-08-09 12:44:14,450 - router - INFO - Total routers registered: 11 2026-08-09 12:44:14,450 - main - INFO - All routers loaded successfully [info] BACKEND: 2026-08-09 12:44:14,450 - main - INFO - Application initialization completed successfully [32mINFO[0m: Started server process [[36m17880[0m] [32mINFO[0m: Waiting for application startup. 2026-08-09 12:44:14,450 - main - INFO - PID write task created [info] BACKEND: 2026-08-09 12:44:14,521 - hands.capabilities - INFO - BrainCapabilities detected 2026-08-09 12:44:14,521 - main - INFO - EnvironmentHands initialized: mode=full 2026-08-09 12:44:14,521 - app.utils.telemetry.workforce_metrics - INFO - Langfuse credentials not found, telemetry disabled 2026-08-09 12:44:14,521 - main - INFO - Telemetry tracer provider initialized [info] BACKEND: [32mINFO[0m: Application startup complete. [info] BACKEND: [32mINFO[0m: Uvicorn running on [1mhttp://127.0.0.1:5001[0m (Press CTRL+C to quit) [info] BACKEND: 2026-08-09 12:44:14,535 - main - INFO - PID file written: 17880 [info] Backend health check passed after 2 attempts [info] Backend is ready, notifying frontend... [info] before-quit [info] quit python_process.pid: 14240 [info] window-all-closed [info] before-quit [info] quit python_process.pid: 14240 [info] Cleaning up Python process and all children { pid: 14240 } [info] Cleaning up Python process and all children { pid: 14240 } [info] Successfully sent SIGTERM to process tree [error] Failed to clean up process tree with SIGTERM: Error: Command failed: taskkill /pid 14240 /T /F ERROR: The process with PID 6700 (child process of PID 14240) could not be terminated. Reason: The operation attempted is not supported. ERROR: The process with PID 17880 (child process of PID 14240) could not be terminated. Reason: There is no running instance of the task. ERROR: The process with PID 14240 (child process of PID 19376) could not be terminated. Reason: The operation attempted is not supported.
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[error] Failed to force kill process tree: Error: Command failed: taskkill /pid 14240 /T /F ERROR: The process "14240" not found.
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[info] Attempting to kill process on port: 5001 [error] Failed to kill process on port 5001: Error: Command failed: netstat -ano | findstr LISTENING | findstr :5001
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[info] All cleanup completed, exiting... [2026-08-09 12:47:16.861] [info] [PROXY] No proxy configured [info] [CDP BROWSER] Created CDP profile directory at C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [CDP BROWSER] Chrome DevTools Protocol enabled on port 9222 [info] [CDP BROWSER] CDP profile directory: C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [STORAGE] Main app userData: C:\Users\Ethan\AppData\Roaming\eigent [info] [MAIN] Waiting for profile initialization... [info] [MAIN] Profile initialization completed [info] [ANTI-FINGERPRINT] User Agent set for all sessions [info] [PROTOCOL] Registered localfile protocol on both default and main_window sessions [info] .eigent directory structure ensured [info] [PROJECT BROWSER WINDOW] Creating BrowserWindow which will start Chrome with CDP on port 9222 [info] [PROJECT BROWSER WINDOW] Current user data path: C:\Users\Ethan\AppData\Roaming\eigent [info] [PROJECT BROWSER WINDOW] Command line switch user-data-dir: C:\Users\Ethan.eigent\browser_profiles\cdp_profile_9222 [info] [COOKIE SYNC] No tool_controller partition found, WebView will start fresh [info] [PROJECT BROWSER] Creating WebViews with partition: persist:user_login [info] [PROJECT BROWSER] WebViewManager initialized with webviews [info] [CDP POOL] Starting health check (interval=3s) [info] Pre-checking if dependencies need to be installed... [info] [PRE-CHECK] Prebuilt dependencies found, skipping installation check [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\bun.exe [info] Installation check result: { needsInstallation: false, versionExists: true, versionMatch: true, uvExists: true, bunExists: true, installationCompleted: false, venvExists: true, venvPath: 'C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\venv' } [info] Installation already complete - letting useInstallationSetup handle state transitions [info] Window content loaded, starting dependency check immediately... [info] Window shown after content loaded [info] Window is ready, processing queued protocol URLs... [info] [DEPS INSTALL] Prebuilt dependencies found, skipping installation [info] [DEPS INSTALL] Using prebuilt dependencies, creating version file [info] [DEPS INSTALL] version file updated { currentVersion: '1.0.2' } [info] [DEPS INSTALL] Using prebuilt terminal venv: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\terminal_venv [info] [DEPS INSTALL] Dependency Success: Using prebuilt dependencies [info] [DEPS INSTALL] Sent install-dependencies-complete event to frontend [info] [DEPS INSTALL] Starting backend... [info] Checking and starting backend service... [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\bun.exe [info] Tool installed, starting backend service... [info] [CODEX RESOLVER] Local resolver started { port: 63962 } [info] Using prebuilt binary: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\bin\uv.exe [info] [VENV] Backend venv already at C:\Users\Ethan.eigent\venvs\backend-1.0.2 (v1.0.2) [info] [VENV] Using prebuilt Python: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python [info] [VENV] Starting background uv sync to install optional deps (e.g. yt_dlp); app will not wait. [info] Found available port: 5001 [info] Backend service started successfully { port: 5001 } [info] [VENV] Using prebuilt Python: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\prebuilt\uv_python [info] [VENV] Backend venv already at C:\Users\Ethan.eigent\venvs\backend-1.0.2 (v1.0.2) [info] Backend SERVER_URL resolved to: https://dev.eigent.ai (source: default) [info] [VENV] Terminal venv already at C:\Users\Ethan.eigent\venvs\terminal_base-1.0.2 (v1.0.2) [info] Spawning backend process: C:\Users\Ethan.eigent\venvs\backend-1.0.2\Scripts\python.exe -m uvicorn main:api --port 5001 --loop asyncio [info] Backend working directory: C:\Users\Ethan\AppData\Local\Programs\Eigent\resources\backend [info] [VENV] Background uv sync completed [info] Python test output: Python OK [info] Backend process spawned with PID: 23128 [info] BACKEND: 2026-08-09 12:47:20,274 - main - INFO - System trust store enabled [info] Backend process still running after 1s with PID 23128 [info] Starting backend health check polling... [info] BACKEND: 2026-08-09 12:47:22,492 - main - INFO - Starting Eigent Multi-Agent System API 2026-08-09 12:47:22,492 - main - INFO - Python encoding: utf-8 2026-08-09 12:47:22,492 - main - INFO - Environment: development [info] BACKEND: 2026-08-09 12:47:22,493 - main - INFO - Loading routers with prefix: '' 2026-08-09 12:47:22,493 - main - INFO - MCP will be at: /mcp/list, health at: /health [info] BACKEND: 2026-08-09 12:47:22,494 - router - INFO - Registered Health router at root level for Docker health checks [info] BACKEND: 2026-08-09 12:47:22,494 - router - INFO - Registered Health router: 1 routes - Health check endpoint for service readiness [info] BACKEND: 2026-08-09 12:47:22,501 - router - INFO - Registered Files router: 4 routes - File upload for Web/Channel clients [info] BACKEND: 2026-08-09 12:47:22,503 - router - INFO - Registered MCP router: 4 routes - MCP config (list, install, remove, update) [info] BACKEND: 2026-08-09 12:47:22,511 - router - INFO - Registered Skills router: 12 routes - Skills scan, write, read, delete [info] BACKEND: 2026-08-09 12:47:22,519 - router - INFO - Registered chat router: 10 routes - Chat session management, improvements, and human interactions 2026-08-09 12:47:22,519 - router - INFO - Registered Message Router router: 1 routes - Phase 2 Message Router - /messages endpoint (prefix-aware) [info] BACKEND: 2026-08-09 12:47:22,520 - router - INFO - Registered model router: 1 routes - Model validation and configuration 2026-08-09 12:47:22,520 - router - INFO - Registered remote-sub-agent router: 1 routes - Remote sub-agent validation [info] BACKEND: 2026-08-09 12:47:22,524 - router - INFO - Registered task router: 7 routes - Task lifecycle management (start, stop, update, control) [info] BACKEND: 2026-08-09 12:47:22,528 - router - INFO - Registered tool router: 17 routes - Tool installation and management [info] BACKEND: 2026-08-09 12:47:22,534 - router - INFO - Registered workspace router: 8 routes - Space-level local workspace binding 2026-08-09 12:47:22,534 - router - INFO - Total routers registered: 11 2026-08-09 12:47:22,534 - main - INFO - All routers loaded successfully 2026-08-09 12:47:22,535 - main - INFO - Application initialization completed successfully [32mINFO[0m: Started server process [[36m9808[0m] [32mINFO[0m: Waiting for application startup. [info] BACKEND: 2026-08-09 12:47:22,535 - main - INFO - PID write task created [info] BACKEND: 2026-08-09 12:47:22,553 - hands.capabilities - INFO - BrainCapabilities detected 2026-08-09 12:47:22,553 - main - INFO - EnvironmentHands initialized: mode=full [info] BACKEND: 2026-08-09 12:47:22,553 - app.utils.telemetry.workforce_metrics - INFO - Langfuse credentials not found, telemetry disabled 2026-08-09 12:47:22,553 - main - INFO - Telemetry tracer provider initialized [info] BACKEND: [32mINFO[0m: Application startup complete. [info] BACKEND: [32mINFO[0m: Uvicorn running on [1mhttp://127.0.0.1:5001[0m (Press CTRL+C to quit) [info] BACKEND: 2026-08-09 12:47:22,568 - main - INFO - PID file written: 9808 [info] Backend health check passed after 1 attempts [info] Backend is ready, notifying frontend...
Additional context
No response