English | 中文
Run DeepSeek Harness in your own Cloudflare account and use it from any browser. dsh-edge packages the upstream Web UI, agent loop, session protocol, DeepSeek Web Search, and a persistent workspace into one guided Cloudflare Workers installation.
No server or GitHub repository is required. The installer can deploy a free single-owner instance, collect the required secrets without echoing them, and print the URL and owner access key when it finishes.
Independent project:
dsh-edgeis maintained by pawaca. It is not affiliated with or endorsed by DeepSeek. DeepSeek Harness remains the upstream project.
- The upstream DeepSeek Harness Web UI and typed HTTP/WebSocket protocol.
- Persistent conversations and a
/workspacevirtual filesystem backed by Durable Object SQLite. - DeepSeek chat and native Web Search using your own API key.
- A
bashtool over the persistent workspace, with a free direct runtime or an optional isolated runtime. - One owner access key exchanged for a signed browser cookie; the installer can generate a high-entropy value.
- Guided install and upgrade commands that upload directly through Wrangler without creating a source-build pipeline.
You need Node.js 22.14 or newer and a DeepSeek API key. A Cloudflare account is optional for the free temporary-account path; the installer can also use an existing account or open Cloudflare sign-in and registration.
npx dsh-edge@latest installThe installer asks you to:
- Choose Free — Direct Shell or Isolated — Dynamic Worker.
- Select or create a Cloudflare account and choose a Worker name.
- Generate a high-entropy owner access key or enter your own randomly generated value, then enter your DeepSeek API key through hidden input.
- Confirm the cost summary and upload.
Open the printed Worker URL and sign in with the owner access key. Save the key: rotating it invalidates existing browser sessions, and Cloudflare does not expose the current secret to a later upgrade.
A temporary Cloudflare account must be claimed through the printed claim URL within 60 minutes to retain the Worker and its data.
| Mode | Cloudflare plan | Command runtime | Use it when |
|---|---|---|---|
| Free — Direct Shell | Workers Free | Hardened just-bash in the owner Durable Object | You want the lowest-friction personal deployment and trust the single owner. |
| Isolated — Dynamic Worker | Workers Paid | Cloudflare Computer Worker Shell through a Worker Loader binding | You want command execution in a separate Worker and accept the paid-plan requirement. |
Both modes use the same Web UI, DSH protocol, tools, Durable Object storage, and installer. The selected deployment configuration includes only its command runtime, so isolated deployments do not also load the direct shell implementation.
Direct mode is not a Linux container. It does not provide native binaries, background processes, PTYs, arbitrary Linux behavior, or shell networking. Do not expose a direct-mode instance to untrusted users.
Run the upgrade command, choose the same runtime, and enter the existing Worker name:
npx dsh-edge@latest upgradeDurable Object data is retained. The installer asks for the owner access key and DeepSeek API key again because Cloudflare secrets can be replaced but not read back.
dsh-edge is a developer preview. The first public version focuses on a complete personal-use path: upstream conversations and workspaces, persistent sessions, model selection, Web Search, workspace file operations, command execution, and the upstream browser experience.
The deployment is deliberately single-owner. It does not provide registration, multiple users, roles, or tenant routing. Attachments and images, remote MCP, Skills, Workflows, Jobs, and Subagents are not yet adapted to the Edge runtime. web_fetch remains disabled until the runtime has an explicit policy for SSRF, private addresses, and redirects.
See the dsh-edge runtime reference for the full compatibility matrix, limits, security behavior, API reference, local development commands, and current implementation status.
- Conversations, workspace metadata, and
/workspacefiles live in the deployment's Durable Object storage. DEEPSEEK_API_KEYandDSH_EDGE_ACCESS_KEYare Cloudflare Worker secrets. Their literal values are not written to session events, Durable Object state, the virtual filesystem, or browser responses.- The installer passes secrets to Wrangler through a temporary mode-
0600file, removes it after the command, and does not bind the deployment to GitHub or Cloudflare Builds. - The owner cookie is HttpOnly,
SameSite=Strict, and valid for 30 days. Changing the owner access key invalidates it.
This repository is a standalone wrapper around exact published DeepSeek Harness packages. The upstream plugin composition, Web UI, agent loop, protocol, and persistence contracts remain the source of truth, but their monorepo source is not copied here. Edge runtime code lives under apps/dsh-edge, while the Edge-owned packages/client/ui-edge plugin contributes deployment status, upgrade guidance, and owner-session controls through upstream client slots.
The isolated assembly under apps/dsh-edge/standalone pins one upstream version and records every unavoidable package patch. An upstream-defined schema or service contract remains unchanged unless the Edge environment makes that impossible.
For upstream architecture and plugin development, use the DeepSeek Harness repository and reference documentation.
Use a source checkout only for dsh-edge development. These commands are not required for the guided Cloudflare installation. The repository toolchain requires Node.js ^22.19.0 or >=24.0.0, which is stricter than the packaged installer's Node.js requirement.
Install the repository checks and the isolated release assembly separately:
git clone https://github.com/pawaca/dsh-edge.git
cd dsh-edge
pnpm install
pnpm --dir apps/dsh-edge/standalone install --frozen-lockfile
pnpm run checkComplete the local Edge setup, including its ignored .dev.vars file with an owner access key and DeepSeek API key. Then start the Cloudflare Worker development server:
pnpm --filter dsh-edge dev- Report dsh-edge bugs and installation problems in this repository's Issues.
- Follow CONTRIBUTING.md for repository changes.
- Agents working in the repository must follow AGENTS.md.
MIT. Third-party components and their licenses are listed in THIRD_PARTY_NOTICES.md.