dshbase

Plugin directory / Developer / dsh-deepseek-chat

dsh-deepseek-chat

Unverified ColdCGH

✓ Actively maintained Builds on 1 official DSH packages

View on GitHub ↗ ← Back to plugin directory

1Stars
0Forks
0Open issues
Language
2026-08-19Last push
Cross-platformPlatform

What it does

A plugin in the Developer category for DeepSeek Harness.

Our take
Unverified — not yet verified

A plugin in the Developer category for DeepSeek Harness. Not yet verified — install and test it yourself.

“Unverified” means our automated CI has not yet installed this plugin. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

Plugin author? Get the “Verified” label — submit your own evidence (screenshots, logs, or a short demo) and we'll review and flip the badge.

Submit verification evidence ↗

README

@coldcgh/dsh-deepseek-chat

DeepSeek Harness 网页对话入口插件 —— 在侧边栏"新对话"按钮正下方显示一个"网页对话"按钮,点击打开 chat.deepseek.com

dsh version license

✨ 特性

  • 位置自然:按钮位于侧边栏新对话按钮正下方,宽度/高度/悬停动效与 harness 原生控件完全一致,展开态显示「网页对话」,收起态为 36px 图标(响应即时,无轮询延迟)
  • 桌面独立窗口:在 dsh-desktop(Wails v3 启动器)下运行时,点击按钮通过本地桥接 API(127.0.0.1 随机端口 + 每实例随机 token)让启动器打开独立聊天子窗口——主窗口(harness 页面)不再被导航霸占,可同时多任务
  • Web 环境降级:纯浏览器 / 第三方桌面壳(无 window.__DSH_DESKTOP_API__ 桥接)时自动降级为原行为(当前 webview 内跳转),插件功能永不失效
  • 持久化开关:设置页可开关入口(dsh-deepseek-chat.showEntry,默认开)

📦 安装

# 方式一:npm 官方安装(推荐)
dsh plugin --profile web add @coldcgh/dsh-deepseek-chat

# 方式二:Gitee Release tgz(无 npm registry 时)
# https://gitee.com/coldcgh/dsh-deepseek-chat/releases/download/0.3.0/coldcgh-dsh-deepseek-chat-0.3.0.tgz
curl -L -o dsh-deepseek-chat.tgz https://gitee.com/coldcgh/dsh-deepseek-chat/releases/download/0.3.0/coldcgh-dsh-deepseek-chat-0.3.0.tgz
dsh plugin --profile web add ./dsh-deepseek-chat.tgz

# 方式三:从源码构建安装(开发测试)
cd dsh-deepseek-chat && npm pack
dsh plugin --profile web add ./coldcgh-dsh-deepseek-chat-0.3.0.tgz

重启 harness 后,侧边栏"新对话"按钮正下方出现「网页对话」按钮。

🖥️ 桌面桥接协议(可选增强)

dsh-desktop 会在 harness 页面注入:

window.__DSH_DESKTOP_API__ = "http://127.0.0.1:<port>/<token>"

按钮点击时:

fetch(window.__DSH_DESKTOP_API__ + "/window/chat", { method: "POST" })
  • 无桥接(纯 web)→ 直接在当前 webview 导航(降级)
  • 桥接失败(启动器已退出)→ 回退导航

token 为每实例随机生成,仅本机 loopback 可用,带 CORS 校验与 token 鉴权。

📁 结构

lib/index.js     server 端:settings 注册(showEntry 开关,ctx 由宿主注入)
lib/client.js    client 端:侧边栏入口按钮 + 布局/降级逻辑(编译产物)
cordis.patch.yml bundle patch:把插件加入 web roster

当前分发编译产物;源文件(tsx)与构建脚本在后续版本补齐(tsdown 构建)。

🔧 开发

npm pack          # 构建本地 tgz
dsh plugin --profile web add ./coldcgh-dsh-deepseek-chat-0.3.0.tgz

📝 License

MIT © caoganghui

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-deepseek-chat for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:ColdCGH/dsh-deepseek-chat

Headless (CLI) profile:

dsh plugin --profile headless add github:ColdCGH/dsh-deepseek-chat

Test report

Not yet L3-verified — see failure note below if we already ran it.

Status: pending · last test 2026-08-26
Note: 验证: runtime-fail Browse all pending failures →
Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7795 plugins →