DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-work-chat-switch

M

dsh-work-chat-switch

Manifest valid

Sidebar "Chat | Work" toggle + embedded official web chat for DeepSeek Harness

UI (client)hasBundlePatchMachine translated

dsh-work-chat-switch · 聊天 / 工作

ChatGPT-style switch in the top-left corner of the DeepSeek Harness sidebar, plus an embedded official web chat in the main column.

ButtonTooltipWhat it does
聊天 / Chat无限制使用 / Unlimited useSwitches the central column to https://chat.deepseek.com/, embedded in a desktop <webview> guest
工作 / Work使用API额度 / Uses API quotaSwitches back to the Conversation and creates the next blank session with the API-key provider (deepseek-official)

Install

In the desktop app: open Plugins → Add, paste dsh-work-chat-switch, and confirm. The bundle inserts one Host row and loads its Client half immediately, so the Chat / Work pair appears without a restart.

From a terminal, if dsh is on your PATH:

dsh plugin add dsh-work-chat-switch

A checkout can also be installed as a local bundle (Plugins → Add → local path). No build step and no install-script approval is involved: the published tarball is plain JavaScript.

How it works

The switch

The shipped New Session button is drawn by @deepseek-ai/dsh-client-ui-sidebar and has no plugin slot. This bundle measures that button, hides it with visibility: hidden (its layout box stays, so nothing below moves), and draws the Chat / Work pair in the exact same rectangle from shell.overlay. If the button cannot be found — another build, a shell without it, or the collapsed sidebar rail — the original is restored untouched and the plugin draws nothing.

Switching covers the central column with a frosted layer, swaps the view underneath it, and clears the frost: 250 ms hold + 250 ms fade. Both buttons are disabled while the switch runs.

The Chat panel

chat.deepseek.com answers with Content-Security-Policy: frame-ancestors 'none', so it cannot be iframed. The Desktop app creates browser guests only through its own lease-gated bridge, and this panel uses that same bridge:

  1. dshDesktop.browser.acquire(partitionKey) reserves a guest and returns a lease plus the approved partition.
  2. A <webview name="<lease>" partition="<approved>" src="about:blank#<lease>"> is attached; the main process rejects any guest without a matching lease.
  3. After dom-ready the element navigates to the chat page.

The guest is sandboxed, permissionless, download-blocked, and confined to http(s) navigation. The partition is the app's process-lifetime browser storage: a login entered in the panel survives until the app quits and is shared by every Chat panel in that run, but it is not written to disk. That is a property of the desktop browser, not of this plugin.

Work

Work uses the regular Host session API: uiWorkspace.connectWorkspace, remote.session.selectModel, uiWorkspace.openSession. If no API-key model is routable, it falls back to the deployment default model and shows a short notice under the buttons.

Requirements and limitations

  • Verified against DSH desktop 0.2.2-rc.1; package.json declares engines.dsh >= 0.2.2-rc.1 so a market install can be gated by version.
  • Desktop app only for the embedded page: the web build has no lease bridge, and the page refuses iframes. Without it the panel shows a message.
  • Work needs an API Key (the deepseek-official provider). Without one it falls back to the deployment default model and shows a notice under the buttons — the session still opens.
  • The chat page itself must be reachable from your network, and the account must be usable in your region; a blocked or failed load is reported under the panel.
  • The Chat login is per app run (process-lifetime partition), as above.
  • The switch replaces shipped sidebar chrome; a DSH upgrade that renames or replaces that button can break the replacement (the fallback keeps the app usable but the pair may not appear).
  • The New Session keyboard shortcut still starts a session with the deployment default model; the switch only applies to the two buttons.

Files

FilePurpose
package.jsonBundle manifest: patch, Client half, locale and icon exports
cordis.patch.ymlInserts the Host row
index.jsHost half — no Host behavior
client.jsSidebar replacement, embedded Chat panel, Work session flow
locale/*.jsonPlugin Manager display metadata
icon.svgBundle icon

License

MIT. See LICENSE.

Comments

Loading…

Similar plugins

dsh-deepseek-workbench

by gulagala001

DeepSeek 网页聊天、临时侧栏聊天、API 开放平台与 DSH 会话迁移。

UI & ExperienceManifest valid

★ 3

MIT

JavaScript

Nov 15, 2026

dsh plugin --profile web add dsh-deepseek-workbench

by FrostLeafKEE

Switch between DeepSeek web chat and workspaces in DeepSeek Harness. Web history sidebar and one-click conversation import. / 网页聊天、历史侧栏与工作区一键导入。

Development & InfrastructureManifest valid

★ 10

MIT

TypeScript

Oct 12, 2026

dsh plugin --profile web add dsh-chat-bridge

by zneoxlab

DeepSeek 网页工作台 for DSH — 在侧栏列出 DeepSeek 网页版会话,点开即用完整网页对话,支持接力到当前或新任务。

Manifest valid

★ 0

MIT

JavaScript

Oct 20, 2026

dsh plugin --profile web add dsh-deepseek-webdesk

by yhfgyyf

Temporary side conversations for DeepSeek Harness Desktop and Web

Manifest valid

★ 0

Apache-2.0

JavaScript

Oct 30, 2026

dsh plugin --profile web add dsh-side-chat

by exoticknight

One-click native conversations with independent workspaces for DeepSeek Harness

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 1

Apache-2.0

JavaScript

Oct 6, 2026

dsh plugin --profile web add dsh-just-chat

by FutureHai

在 DeepSeek Harness Desktop 的主面板打开官方 DeepSeek Chat 网站。左侧入口可在 Chat 与 Agent 间切换,切换时不会重载 Chat 网页。

Manifest valid

★ 0

MIT

TypeScript

Oct 27, 2026

dsh plugin --profile web add dsh-chat-plugin