ディレクトリに戻る

webdsh

メンテナンス: 活発

futrime/webdsh

DeepSeek Harness のブラウザ専用ビルド

GitHub で見るホームページ
$ dsh plugin add webdsh

インストール方法

dsh には中央のインストールコマンドはありません。このプラグインのエントリ(README に記載)をプロファイルまたはパッチ設定に追加し、再起動します。

インストールの仕組み

35

スター

3

フォーク

TypeScript

言語

Apache-2.0

ライセンス

2026-08-16

作成日

2026-08-29

最終プッシュ

README

webdsh

webdsh — DeepSeek Harness in a browser tab, with no server and no install

DeepSeek Harness in a browser tab — the real agent, real Node, no server to run.

Live Deploy License

DeepSeek Harness (dsh) is an agent harness where everything is a plugin. dsh web runs a Node host and serves a browser client to it. webdsh is that, as static files — the host runs inside the page, and the agent's commands run in WebContainers: Node itself, in the tab.

  • ⚡ Nothing to run. No server, no install, no local Node — the harness boots in the page.
  • 🌍 The container is online too. The page's CORS policy is preloaded into every Node process it starts, so fetch inside the container retries a refused host through the proxy on its own — http://example.com answers there now, and it did not before.
  • 🖥️ Real Node, real Python. npm install and pip install both work, and the terminal and the agent share one container.
  • 💾 Or a whole PC. Settings → Machine swaps the container for v86 and offers 128 machines — the whole of v86's catalog, from a 512-byte bootsector game to Windows 2000, 127 of them booting with nothing to set up — emulated x86, on its own screen, with the tool set that machine actually has.
  • 🧭 Or a browser. The third machine is real tabs of the real web, and the assistant drives them three ways: the page structure (a labelled tree with a handle on everything clickable), the pixels, or JavaScript in the page itself. Multi-tab, with its own cookies and per-site storage that persist — and each tab is sandboxed into an opaque origin, so a page cannot reach this harness, its storage, or your keys. That is the browser's own rule, not a promise this build makes: every escape route comes back SecurityError, and npm run test:browser checks it.
  • 🤖 And it can be programmed. One action per turn is the wrong shape for a table with twenty rows in it, so the browser machine also takes programs: browser_task runs getByRole('button', {name: 'Save'}).click(), retrying expect, frames, popups, dialogs, downloads and uploads in a named task space that keeps its pages, its variables and its login state between calls — with receipts, so a run that was interrupted halfway through a form can be asked what happened instead of repeated. The model's own code runs in an opaque origin of its own, holding nothing of this page: the same boundary that keeps a browsed site out keeps the script the model wrote out too.
  • 🌐 The PC is online. A WISP relay by default, so the guest gets real TCP — https://, package managers, ssh — and without one the page itself is the router: it answers the guest's DHCP, DNS and pings and carries HTTP as browser fetch, through the same CORS policy the rest of the app uses. wget http://example.com works on an emulated Buildroot either way; the same URL from the container answers fetch failed.
  • 👁️ It can see. Attach an image and the model reads it: oriented, capped and re-encoded to the route's budget by the browser's own decoder, with the source's EXIF and colour profile stripped on the way. A model you add yourself is asked what it accepts, so a vision model on your own gateway arrives with its eyes open rather than registered as text-only.
  • 🧩 Real plugins. Install from npm, a tarball, GitHub, or a path — from the browser.
  • 📦 Real dsh. The published @deepseek-ai/* packages, unmodified: 120 of 135 rows compose exactly as dsh web composes them.
  • 🔒 Yours. Files, sessions and keys live in your browser's storage. Nothing is uploaded.

Table of Contents

Background

Nothing here is a fork of dsh. The agent loop, tool registry, model adapters and the entire web client come from npm at install time; the only modification is a cordis.patch.yml layer — the mechanism dsh documents for exactly this.

What this repository adds is the platform underneath: a synchronous POSIX filesystem mirrored to IndexedDB (src/vfs), node:* implemented over it (src/node), the runtimes a session can run on — WebContainers and an emulated x86 PC (src/runtime), and a browser built out of sandboxed frames (src/browser) — an in-page virtual server for /api, the CORS policy every outbound request goes through and the network the emulated machine is given (src/net), and the plugins this build ships (packages/).

Six composition rows are swapped, each because the shipped one names something a page cannot have — or, in the shell's case, cannot honestly describe. Four more are reconfigured rather than replaced, including the one that decides whether this deployment can open a path at all. npx tsx scripts/alignment.ts prints the whole difference.

Install

Nothing to install — open the page. To run it yourself:

npm ci
npm run build        # → dist/
node scripts/serve.mjs 4173

Node 22 or newer. dist/ is plain static files with relative URLs, so it works at a domain root, a project path, or a local directory.

Usage

GitHub で README 全文を読む →

DSH Plugins は DeepSeek Harness プラグインの独立したコミュニティ ディレクトリです。DeepSeek との提携・公認はありません。サードパーティ製プラグインはセキュリティ監査を受けていません。インストール前にソースコードをご確認ください。

DeepSeek Harnessの新着プラグインを毎週お届け。スパムはありません。