HarcoChen / dsh-vsc-integration

已收录

Deepseek-Harness Vscode Integration

main其他 查看源代码

安装

npx -y @deepseek-ai/dsh plugin --profile web add github:HarcoChen/dsh-vsc-integration

此安装命令根据 GitHub 仓库地址生成,是未经验证的安装起点。

README

维护者编写的文档快照。

在 GitHub 查看 ↗
提交版本 41ec2af同步于 2026年8月18日

Deepseek-Harness VSCode Integration Community Edition

DSH

Please note that this README is maintained and translated by chatgpt models,it's better to refer to README.zh-CN.md for human-friendly descripitons.

Feel free to leave issues!

A full-featured community VS Code Extension for DeepSeek Harness, supporting four-mode switching, in-editor Trace viewing, and automatic Runtime download for npm-free environments.

English | 简体中文

[!WARNING] This project is an independent community project. It is not an official DeepSeek project and is not maintained by DeepSeek. For any information, help or feature suggestions, feel free to leave an issue!

[!NOTE]

  • Quickly view your API Key balance
  • Built-in Trace support
  • Automatically download Runtime (distributed via CNB) when DSH is not present
  • i18n support

More comprehensive features: session state, IDE context, Runtime activity, approvals, Trace and file changes are all integrated into the extension. Easier to use: there is no need to understand npm at all!

Feature Architecture

The chat interface is a React Webview backed by a typed, full-state bridge. The Extension Host is responsible for VS Code APIs, Runtime RPC, credentials, secure Markdown rendering and action validation.

Installation

From the Extension Marketplace

🔗 Install from the Marketplace

From GitHub Releases

Download the .vsix package from GitHub Releases, then run Extensions: Install from VSIX....

Build from source

npm install
npm run check
npm run package

Install the generated .vsix via Extensions: Install from VSIX....

Detailed Description

If dsh reports a missing or invalid API Key, click Key in the chat header or run DSH: Configure API Key. The key is passed to dsh's credential service, and an encrypted copy is stored in VS Code SecretStorage for the balance indicator. It is never written to prompts, extension state or logs.

DSH: Manage Providers from the chat menu or Command Palette lets you inspect whether a Provider is enabled, its configuration and credential source, set or remove API Keys, and open the official Harness configuration file for advanced editing. DSH: Manage Agent Presets lists system and user Presets, reports broken compositions, opens a read-only composition snapshot, and lets you copy, edit, delete or make a Preset the default through Harness-owned operations. DSH Workspaces are discovered from their directories; DSH: Manage Workspaces can rename or remove groups and reorder Workspaces or their Sessions. Removing a group never deletes its directory or Session logs.

Multiple VS Code windows preferentially share one local Harness Runtime. A Runtime started by the extension publishes its random loopback port through a process lock; later windows validate it with host.describe before connecting, preventing competing writers from touching the same Session storage.

Development

npm install
npm run check      # TypeScript check
npm run compile    # Build to dist/
npm run package    # Compile + vsce package

VS Code is recommended.

More Information

Acknowledgments

Thanks to dsh-reasoning-effort for the chibi runner sprite reference and asset used by the reasoning-effort control. The conversation outline also takes inspiration from the dsh-milestone project; its Hub-style milestone idea led to the native VS Code TreeView implementation here.

License

MIT

项目文件与信号

以下项目是目录快照中检测到的公开仓库信号。

测试已检测

仓库信息

开发语言
TypeScript
许可证
MIT
最新发布
v0.5.1
最后更新
2026年8月18日 13:11

谨慎安装

请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。