dsh-code

August 17, 2026 · View on GitHub

Run DeepSeek Harness tasks from VS Code: send a prompt to the official headless profile (dsh --profile headless "<task>") and read the answer.

Commands

  • DSH: Run task (headless) — prompt for a task, run it, show the answer.
  • DSH: Open panel — a sidebar webview for one-off tasks.

Settings

KeyDefaultDescription
dshCode.commanddshdsh CLI command or path
dshCode.profileheadlessProfile to run

What's verified

  • src/client.ts (headless runner) is unit-tested with a fake subprocess.
  • pnpm typecheck · pnpm test.

Honest limits

  • This wraps the official dsh --profile headless "<task>" one-shot mode; it does not stream agent internals or tool calls (the headless profile prints the final answer).
  • The VS Code UI surface is written but not exercised in this repo's CI (no VS Code runtime here). Community project, not an official DeepSeek product.

Publish to VS Code Marketplace (not done here)

Requires a publisher token: npx @vscode/vsce package then npx @vscode/vsce publish -p <token>.