EdgeTypE/dsh-better-deepseek

Bridge plugin for the Better DeepSeek Chrome extension: exposes HTTP handshake and session-filtered SSE event streams over the web server, enabling browser-extension UI integrations with DeepSeek Harness.

dsh-better-deepseek is a bridge plugin that lets the Better DeepSeek Chrome extension drive DeepSeek Harness: it exposes an HTTP handshake endpoint and session-filtered SSE event streams over the harness webServer, so the browser extension can ping the harness, subscribe to live session events, create an agent session with a working directory, submit prompts, fetch the final Markdown report and status, and cancel running tasks. In effect it turns the extension's UI into a remote control surface for DSH sessions while the harness remains the execution engine.

Tools & Capabilities ★ 20 updated 2026-08-14
View on GitHub ↗

Install

dsh plugin --profile web add -w dsh-better-deepseek

npm package dsh-better-deepseek 0.1.0 (registry-verified 2026-08-24). Install via DSH: dsh plugin --profile web add -w dsh-better-deepseek, or npx @deepseek-ai/dsh --profile web add -w dsh-better-deepseek. The -w flag installs into the web profile's workspace. Bridges the Better DeepSeek Chrome extension to DeepSeek Harness over the built-in webServer.

Compatibility

DeepSeek Harness web profile. Registers /api/better-deepseek/* endpoints on ctx.webServer: GET /api/better-deepseek/ping (handshake/health), GET /api/better-deepseek/events (Server-Sent Events live stream), POST /api/better-deepseek/session.create (initialize an agent session with cwd), POST /api/better-deepseek/session.prompt (submit a task), GET /api/better-deepseek/session.result (fetch final Markdown report and status), POST /api/better-deepseek/session.cancel. Config: enableCors (default true) adds Access-Control-Allow-Origin headers for cross-origin browser-extension requests.

Details

Recent updates

The current English README documents: installation (dsh plugin --profile web add -w dsh-better-deepseek or the npx form), the BetterDeepSeekBridgeService endpoints table (ping/events/session.create/session.prompt/session.result/session.cancel), and the enableCors config option.

FAQ

What does the bridge expose?
HTTP endpoints on ctx.webServer under /api/better-deepseek/*: a ping handshake, an SSE live event stream, and session create/prompt/result/cancel operations.
Do I need to configure CORS?
The default enableCors=true already adds Access-Control-Allow-Origin headers so cross-origin browser-extension requests work out of the box.
What does session.prompt return?
You submit a task to a session and then fetch session.result for the final Markdown report and status; session.cancel aborts a running task.

Alternatives

mengyun233/dsh-codex-pet · franksong2702/dsh-codex-connect · suntianc/dsh-codex-auth

More plugins in Tools & Capabilities

Browse more in Tools & Capabilities

Guides for Tools & Capabilities plugins