FutureHai/dsh-chat-plugin ↗★ 0

dsh-chat-plugin

DeepSeek Chat panel for DeepSeek Harness Desktop 适合想在DSH桌面端侧边栏一键切换并使用官方网页版聊天的用户。

パッケージ
dsh-chat-plugin
互換性
未検証
Cordis ピア範囲
^4.0.5
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/10/22

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:FutureHai/dsh-chat-plugin

ドキュメント

README 全文を読む ↗

dsh-chat-plugin

简体中文 | English

An independent plugin that opens the official DeepSeek Chat website in the main panel of DeepSeek Harness Desktop. The sidebar entry switches between Chat and Agent without reloading the Chat page.

This project is community maintained and is not an official DeepSeek release.

Requirements

  • DeepSeek Harness Desktop 0.2.1-rc.2 or later in the 0.2.x series, with the dshDesktop.browser bridge.
  • Node.js 22.19 or later to build from source. The committed lib/ files let a local directory or Git install load without a build step.

Install

Fully quit DeepSeek Harness Desktop, then install the plugin from GitHub:

dsh plugin --profile desktop add github:FutureHai/dsh-chat-plugin

Reopen Desktop and select DeepSeek Chat in the sidebar. For a local checkout, select the repository root (containing package.json and cordis.patch.yml) in Desktop's plugin manager, or run dsh plugin --profile desktop add /absolute/path/to/dsh-chat-plugin. If an earlier local build of this plugin is installed, remove it before installing from GitHub.

The committed lib/index.js and lib/client.js make installation possible without an install-time build. Pin a Git commit when you need a reproducible installation.

Behavior and limits

  • The embedded page is the official Chat website. SMS login happens on that page; the plugin does not handle passwords, codes, cookies, or chat text.
  • The same operating-system user's Harness workspaces share the Chat browser partition while the Desktop process is running. The retained view preserves login and unsent drafts when switching Chat ↔ Agent.
  • The official Desktop Browser bridge uses an in-memory partition. After all Desktop processes exit, website storage is cleared and Chat requires a new login. Clear local login data explains that exit procedure; it does not revoke server-side sessions.
  • When a new Chat browser partition first opens, the plugin initializes the website language from the active Harness language (which follows the OS when no preference was selected). An explicit language choice inside Chat lasts until Desktop fully exits. Changing the Harness language while Chat is open does not reload Chat or discard a draft.
  • You can still change the website language under Settings → General → Language. The plugin reads and writes only the website's language preference; if DeepSeek changes that internal storage format, this initialization may need an update.
  • Other website login methods and update transitions have not been verified.

Develop

npm ci --legacy-peer-deps
npm run check

npm run check type-checks the plugin, runs focused behavior tests, builds lib/, and checks the installable bundle. Rebuild and commit the two lib/ files after changing src/. Use npm pack --dry-run to inspect the npm release contents. The build is self-contained and does not need a Harness source checkout.

License

MIT, copyright 2026 haihui. DeepSeek Harness and DeepSeek Chat are separate projects with their own licenses and trademarks.