Configuring dsh-ego-browser
DeepSeek Harness loads dsh-ego-browser in a profile and provides the browser runtime from the package’s runtime/ directory. The package includes a --no-sandbox wrapper for root, Docker and display-less environments. The optional “常驻执行进程” setting keeps one ego-browser --serve process alive; it is off by default, and its idle timeout defaults to 30 minutes. egoCliArgs and chromeArgs are available as gateway settings for extra runtime and Chrome arguments.
Commands provided by dsh-ego-browser
DeepSeek Harness registers 35 structured ego_* tools. They cover navigation, semantic page snapshots, clicks, form input, JavaScript and CDP operations, screenshots, downloads and tab management. Named tools documented by the README include ego_login_import, ego_download, ego_captcha, ego_page_info, ego_auth_flush and ego_doctor. The first browser-tool call can open the Agent Browser tab in the native DeepSeek Harness sidebar, or in dsh-better-sidebar when the native sidebar is unavailable.
ego_login_import accepts a cookie source and domain selection. With source: "extension", the companion extension pairs through a six-digit code and exports cookies from the current site through a local bridge. The file is distributed in extension/ and as extension.zip. The fallback reads Local State and the Cookies database into a temporary directory without opening or modifying the real profile.
Requirements for dsh-ego-browser
DeepSeek Harness must be version 0.1.2-rc.1 or newer; the README reports verification through 0.1.7, including the relevant 0.2.0-rc.x and 0.2.1-rc.2 desktop paths. Node.js 22 or newer is required. Chrome, Edge and Brave are detected automatically. dsh-better-sidebar is optional, with 0.12.2 as the minimum for its documented external-link handling and 0.17.1 recommended.
Known limits
On Windows, Chrome or Edge 127+ uses application-bound encryption, so profile-copy login import is rejected or returns zero cookies. Use the extension bridge instead. EGO_LINUX_LOGIN_IMPORT_FORCE=1 is only a debugging switch for older browsers. Imported cookies are a one-time snapshot, although they remain available when the browser profile is persisted. A browser path change takes effect after a cold start. Without either supported sidebar, the browser still operates but no sidebar panel is shown.
Written from the project's own documentation and kept in sync with it. Where the two disagree, the source is authoritative — read the README on GitHub