deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
@lexmount/dsh-browserLexmount cloud browser tools for DeepSeek Harness. This package is a lightweight DSH Bundle: it registers native model tools and invokes the Rust browser-cli, but it does not contain a native executable, run an MCP server, or depend on the Lexmount Node.js SDK.
Status: preview releases are published on npm under the
nexttag. Windows x64 and macOS Apple Silicon validation is complete; usenextfor preview installations.
Current platform support: Windows x64 and macOS Apple Silicon only. macOS Intel is not supported by this pre-release.
DSH Web / Headless
→ @lexmount/dsh-browser (Bundle and Node adapter only)
→ pinned browser-cli download and user cache
→ browser-cli child process
→ Lexmount API / CDP / cloud browser
The Bundle registers tools without accessing the network. On the first tool call it selects the current OS/CPU asset, downloads the pinned browser-cli release and SHA256SUMS from Lexmount's versioned Tencent COS path, verifies the digest, executable format/architecture, and CLI version, then installs it atomically in a user cache. Later calls and restarts reuse the verified cache, so an already populated cache works offline.
The npm tarball contains no browser-cli or browser-cli.exe file. End users do not need Rust, Python, a browser driver, or an npm lifecycle script.
| Host | Release asset target | Current status |
|---|---|---|
| Windows x64 | x86_64-pc-windows-msvc |
Supported |
| macOS Apple Silicon | aarch64-apple-darwin |
Supported |
| macOS Intel | x86_64-apple-darwin |
Not currently supported; asset missing |
native-source.json pins browser-cli v1.1.13 at commit 3af544780365309feae97d51b631070e7ca73762. The Windows asset in this release statically links the C runtime. This pre-release intentionally uses the two assets published by that immutable release. Adding macOS Intel requires a new browser-cli version and a new npm package version with fresh validation; it will not mutate this release in place.
The current pre-release requires Node.js >=22.14.0, DSH 0.1.0-rc.6, and a
pnpm executable on PATH. The commands below use npx, so a global DSH
installation is not required. Keep @next in preview installations; do not
rely on npm's implicit latest tag until this release line is formally
promoted.
Open a normal, non-administrator PowerShell in the directory that should become the DSH workspace, then run:
node --version
corepack --version
corepack install --global pnpm@11.22.0
corepack enable pnpm
pnpm --version
npx --yes @deepseek-ai/dsh@0.1.0-rc.6 plugin --profile web add @lexmount/dsh-browser@next
npx --yes @deepseek-ai/dsh@0.1.0-rc.6 web
If corepack enable pnpm reports an access error under
C:\Program Files\nodejs, run only the Corepack setup commands once from an
administrator PowerShell, close it, and run DSH itself as the normal user. If
port 3080 is already occupied, start DSH on an OS-assigned free port and open
the URL it prints:
npx --yes @deepseek-ai/dsh@0.1.0-rc.6 web --port 0
This pre-release supports Apple Silicon only. Confirm that the machine reports
arm64; x86_64 means an Intel Mac and is not currently supported. In
Terminal, change to the directory that should become the DSH workspace, then
run:
uname -m
node --version
corepack --version
corepack install --global pnpm@11.22.0
corepack enable pnpm
pnpm --version
npx --yes @deepseek-ai/dsh@0.1.0-rc.6 plugin --profile web add @lexmount/dsh-browser@next
npx --yes @deepseek-ai/dsh@0.1.0-rc.6 web
If port 3080 is already occupied, use an OS-assigned free port and open the
printed URL:
npx --yes @deepseek-ai/dsh@0.1.0-rc.6 web --port 0
DSH RC.6 delegates plugin installation to a pnpm executable on PATH; it does
not bundle that executable. If Corepack cannot create the shim, install pnpm
through the normal Node package-manager setup and verify pnpm --version
first.
If DSH was already running while the Bundle was installed or updated, stop and restart it before testing. Package installation does not hot-load a new Bundle into an existing Web process.
For unattended use, install the same Bundle into the Headless profile:
npx --yes @deepseek-ai/dsh@0.1.0-rc.6 plugin --profile headless add @lexmount/dsh-browser@next
The supported Harness range is >=0.1.0-rc.6 <0.2.0. DSH remains a release
candidate, so each DSH upgrade requires installation and tool-registration
regression testing.
lexmount_doctor. The first call may download the current platform executable.lexmount_auth_login from the interactive Web profile and approve access in the system browser.lexmount_browser_snapshot, then use typed wait/click/fill tools.Default cache locations are:
| Platform | Cache root |
|---|---|
| Windows | %LOCALAPPDATA%\Lexmount\dsh-browser |
| macOS | ~/Library/Caches/Lexmount/dsh-browser |
Set LEXMOUNT_BROWSER_CLI_CACHE_DIR to choose another cache root. LEXMOUNT_BROWSER_CLI_PATH is an explicit administrator/developer override for a preinstalled CLI; that path is still checked for format and version, but its trust is controlled by whoever sets the environment variable.
The login flow stores credentials at the existing browser-cli location and never asks the user to paste an API key into chat. Headless runs must authenticate beforehand because the PKCE flow requires an interactive system browser.
The Bundle registers 31 native tools:
Screenshot results are persisted through the DSH image attachment service. PDF and download tools write to the requested host path and return that path because DSH 0.1.0-rc.6 has no generic binary attachment content block.
SHA256SUMS entry, executable format, platform architecture, expected CLI version, and cache metadata are verified before execution.shell: false; it is never concatenated into a shell command.ws, and Chrome DevTools WebSocket URLs are removed from returned data and diagnostics.DSH RC.6 does not expose MCP-style side-effect annotations on native tools. UI presentation categories are not permission enforcement.
The first release intentionally retains behavior already shipped through WorkBuddy:
npm install
npm run check
npm run package:verify
On a currently supported host, test a locally built v1.1.13 CLI without changing the package:
LEXMOUNT_BROWSER_CLI_PATH=/absolute/path/to/browser-cli npm run test:native
Verify the pinned remote assets, then run the real current-platform integration test on Windows x64 or macOS Apple Silicon:
npm run native:assets
npm run test:native
The browser-cli-rs repository owns native builds, macOS signing/notarization, checksums, and COS publication. This repository verifies those immutable inputs and publishes only the lightweight npm wrapper.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。