The honest, technical picture: two pieces, one loopback pipe, your DSH as the runtime. Nothing below requires modifying DeepSeek Harness.
TARGET ARCHITECTURE
WHY IT’S THIS SHAPE
llm.models, session.create/list/history, session.selectModel, session.cancel) over loopback /api.session.interrupt is retired in favour of stock session.cancel (Stop)./api directly (see the trust fence), so the native host is the pipe, and we already ship it.DSH has a hardcoded defense (not config) that refuses browser-originated requests on its API. Understanding it is why the pipe exists.
Host must be loopback (127/8, ::1) or a declared trusted authority, applied to every request.
sec-fetch-site: cross-site is refused. Browsers attach this metadata; a Node process never does.
If an Origin is present, its host must equal the Host’s. chrome-extension://<id> never equals 127.0.0.1:3080 → refused.
| Piece | What it does | Status |
|---|---|---|
| @deepseek-ai/dsh-augmentor | Registers the browser_* tools, hosts the /api/augmentor WebSocket, runs the session-lifecycle service and a GUI settings card. | new |
| bridge.mjs → protocol pipe | Repurposed native host: reframes port traffic as unary /api POSTs + downlink sockets. No more runtime spawn. | repurpose |
| MV3 extension | Side panel, browser executor, frost veil + status pill, model/session UI, approvals. | reuse |
| session / interrupt | Retired. Replaced by stock session.cancel for Stop. | removed |
| dsh-browser CLI + HTTP relay | Deleted. The tools call the extension in-process, no bash round-trip. | removed |
Augmentor is a plugin for DeepSeek Harness (DSH), so DSH is the runtime you need first. Get it from github.com/deepseek-ai/deepseek-harness.
npx @deepseek-ai/dsh webhttp://127.0.0.1:3080 and opens it in your browser.git clone https://github.com/deepseek-ai/deepseek-harness.git && cd deepseek-harness && pnpm install && pnpm run build && pnpm dsh webchrome://extensions → Developer mode → Load unpacked → select augmentor/extension/../install-native-host.sh <extension-id> (launch Chromium from a shell where node resolves).~/.dsh/cordis.patch.yml.~/Augmentor).OR · AUTOMATIC INSTALL
Not in the mood to click around? Copy this prompt into the AI you already use — your DSH agent or any coding assistant. It installs DSH and Augmentor end-to-end and reports exactly what it did.
http://127.0.0.1:3080) selects it; the handshake tells the pipe which deployment it reached.