dsh-intellij-integration
Discovered★ 3DeepSeek Harness (DSH) for JetBrains IDEs — AI coding with native diffs, tool approvals, sessions, Trace analysis, and balance tracking. | IntelliJ IDEA / PyCharm AI coding assistant: native Diff, tool approvals, sessions, and Trace analysis.
DeepSeek Harness for JetBrains IDEs
Bring DeepSeek Harness into JetBrains IDEs — chat with your code, review native diffs, and inspect every run.
English | 简体中文
Install plugin · Releases · Feedback · VS Code edition
An independent community plugin for IntelliJ IDEA, PyCharm, and other IntelliJ Platform IDEs. Explain unfamiliar code, investigate a bug, or review a change from the same place you write it.
Quick start
- Install — in Settings → Plugins → Marketplace, search for DeepSeek Harness Integration, or open the Marketplace page. Restart the IDE if prompted.
- Connect — open a project and the DSH tool window. For local startup, have Node.js and
pnpmornpm/npxavailable. The plugin starts the Runtime automatically by default. Configure the launch command or an existing Runtime's Server URL in Settings → Tools → DeepSeek Harness. - Configure credentials — find DSH: Configure API Key via Find Action. Restart the local Runtime after changing the key so it receives the new value. An existing external Runtime uses its own credentials.
- Try it — select a function, right-click DSH → Explain Selection, or ask a question in the chat. Inspect tool cards and proposed diffs when an approval is requested.
Requires: IntelliJ Platform 2024.3+ with JCEF (the embedded browser). The build targets IntelliJ IDEA Community and PyCharm Community 2024.3.6 for compatibility verification. Other IntelliJ Platform IDEs need the same platform APIs and JCEF support.
From question to reviewed change
| What you want to do | What DSH brings into your IDE |
|---|---|
| Understand or improve code | Explain, fix, review, and document selected code from the editor's context menu. |
| Inspect an agent's edits | Open supported tool diff cards in JetBrains' native side-by-side viewer, including proposed changes awaiting approval. |
| Keep track of a task | Chat history, session switching, tool cards, and runtime status in the DSH tool window. |
| Understand a run | Built-in Trace analysis for inspecting session events and tool activity. |
| Watch usage | A status-bar balance indicator with DeepSeek pricing information when available. |
| Resume across editors | Reuse a compatible local Harness Runtime across IDE windows and the companion VS Code extension. |
Native diffs, even without Git
Review file edits in the IDE's own diff viewer. For supported tool diff cards, DSH reconstructs before/after content from session history, so the preview does not depend on a Git repository. Proposed edits can be previewed before approval. If later file changes make reconstruction unreliable, the plugin reports that instead of showing a misleading comparison.
Put the right context into the conversation
Use DSH: Ask About Selection for an open-ended question, or the DSH context menu for explain / fix / review / documentation tasks. The context picker also supports attaching the current unstaged Git diff. Editor context is bounded by the configurable byte limit.
Plan before implementing
Use the composer's Plan toggle or /plan to enter plan mode; /plan off leaves it.
The toggle changes the session mode without sending a task or consuming attached IDE context.
When the agent submits a plan for review, approve it or provide feedback with Continue planning.
The subagent tree and preview show active and completed execution time when the Runtime supplies it.
Keep the Runtime close to your tools
The plugin manages local Runtime startup, shutdown, and restart, with pnpm, an installed dsh, and npx launch options. Package-manager launches use the configured Runtime version. You can also connect to an existing Runtime or open its Web UI in a browser.
API keys are stored in IntelliJ Password Safe and passed to a newly started local Runtime. The UI includes English and Simplified Chinese resources.
Configuration
Open Settings | Tools | DeepSeek Harness.
| Setting | Default | What it does |
|---|---|---|
| Command / Args | pnpm dlx @deepseek-ai/dsh@0.1.2-rc.1 web --no-open | How the Runtime is launched; point it at an installed dsh or a local checkout instead. |
| Server URL / Port | "" / 0 | Prefer an already running DSH Runtime; port 0 selects an available port for local startup. |
| Auto start | true | Start or connect to the Runtime when the project opens. |
| Runtime version | 0.1.2-rc.1 | Locked version of the managed Remote protocol. |
| npm registry | https://registry.npmmirror.com | Registry mirror used as a download fallback. |
| Timeouts | 30s startup, 600s request | How long to wait for startup and individual RPC calls. |
| Context bytes | 120000 | Maximum UTF-8 bytes of <ide_context> included per prompt. |
| API key env | DEEPSEEK_API_KEY | Environment variable the stored key is injected as. |
Troubleshooting
| Symptom | Where to start |
|---|---|
| Runtime does not start | Run DSH: Diagnose Environment and DSH: Open Runtime Logs via Find Action; check the command and package manager in settings. |
| Chat reports JCEF is unavailable | Use an IDE runtime with JCEF. The fallback panel provides a browser entry point. |
| A changed API key is not taking effect | Restart the local Runtime. For an external Runtime, update its credentials directly. |
Install from a release or build locally
Download the plugin .zip from GitHub Releases, then choose Settings → Plugins → ⚙ → Install Plugin from Disk…. Select the archive without unpacking it.
To build from source, use JDK 21 and the included Gradle wrapper:
./gradlew format # apply the repository's Java formatting rules
./gradlew lint # verify formatting and run Checkstyle
./gradlew verifyPlugin # structure and compatibility checks
./gradlew buildPlugin # produce the installable zip
On Windows, use gradlew.bat. The first build downloads Gradle and the IntelliJ Platform dependencies.
Data use and privacy
The plugin does not collect telemetry. Prompts and attached context are sent through the DSH Runtime to your configured model provider; that provider's terms and privacy policy apply. API keys stored by the plugin remain in IntelliJ Password Safe and are passed to newly started local Runtime processes.
Feedback and contributing
Report a bug or suggest a feature. For bugs, include your IDE and plugin versions, OS, Runtime version, and reproduction steps. Remove API keys and private code from any logs you share. Documentation improvements and focused pull requests are welcome; see repository rules before contributing.
If DSH helps your workflow, a GitHub star helps others discover it. For release history and attribution, see Releases and Third-party notices.
This community project is not endorsed or maintained by DeepSeek or JetBrains. Licensed under MIT.
Comments
Loading…
Similar plugins
by JoukoPuro
一个 DeepSeek Harness(DSH)插件: 在 Web 输入框的工具行中添加一个 ✨ 图标按钮。点击后选择打磨风格,已接入的大模型 会把你草稿中的提示词改写得更专业、更易被 AI 理解 。A DeepSeek Harness plugin: icon-only composer button that rewrites your prompt via the connected LLM
★ 6
↓ 107/wk
MIT
JavaScript
Aug 14, 2026
dsh plugin --profile web add dsh-prompt-polishby CC19990113
Structural code intelligence for DeepSeek Harness (dsh) — gives the agent codegraph and codegraph_index tools to find where a symbol is declared, what calls it, and what a change reaches, from a tre
★ 13
MIT
TypeScript
Aug 24, 2026
dsh plugin --profile agent add dsh-plugin-codegraph-rootby jasen215
DeepSeek Harness (DSH) plugin for self-improving AI agents: continual learning, persistent memory, cross-session knowledge, review-and-refine workflows, and automatic rollback.
★ 9
↓ 444/wk
MIT
TypeScript
Oct 8, 2026
dsh plugin --profile agent add dsh-continual-harnessby jingzhao-l
DeepSeek Harness (dsh) plugin that turns the iterate skill into an autonomous closed-loop code iteration — parallel reviews, deterministic dedup convergence, atomic fix + verify auto-stop, meta-review
★ 2
↓ 233/wk
MIT
TypeScript
Sep 12, 2026
dsh plugin --profile web add iterate-pluginby beijingwahw
DeepSeek Companion — DeepSeek Harness 官方伴侣插件:对话导出/交接摘要/成本优化/全局检索 + 执行轨迹分析、Prompt 工程工作台、多模型竞技场、任务编排、安全与审计(E–J 九大模块,Cordis 插件化)。
★ 4
↓ 122/wk
MIT
TypeScript
Sep 19, 2026
dsh plugin --profile web add dsh-companionby february2015
TaskSwarm (蜂群) — DeepSeek Harness 上的多智能体任务编排插件:waves/lanes 并行执行、git worktree 隔离、任务包与跨模型评审、崩溃可恢复 | Multi-agent task orchestration for DeepSeek Harness: waves/lanes parallel execution, git worktree isol
★ 3
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-taskswarm