DeepSeek Harness plugin

dsh-web-split

DeepSeek 免费网页版分屏插件:本地反向代理 chat.deepseek.com(剥 CSP/frame-ancestors、改写 cookie 与资源路径、main.js 环境补丁),在 DSH 内以右侧 iframe 面板分屏打开网页版,不打断当前任务。

Jump to install

Source facts

Repository
XPQHyue/dsh-web-split
Latest update
Aug 17, 2026
Category
Workflow & Automation
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/XPQHyue/dsh-web-split
Plugin: dsh-web-split
Author: XPQHyue

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-web-split

DeepSeek 免费网页版分屏插件:在 DSH 界面右侧以 iframe 面板打开 chat.deepseek.com 网页版,不打断当前任务。

安装

dsh plugin --profile web add /path/to/dsh-web-split

使用

  • 侧边栏底部 / 会话头部的鲸鱼按钮:开/关右侧分屏面板;
  • Ctrl / 中键点击按钮:在新标签页打开网页版;
  • 面板头部:✕ 关闭、「新标签页 ↗」备用入口。

原理

chat.deepseek.com 发送 content-security-policy: frame-ancestors 'none',浏览器拒绝 iframe 嵌入。 本插件在本地启动一个 Node 反向代理(经 shell 服务,heredoc 传脚本):

  • 剥掉 content-security-policy / x-frame-options / HSTS;
  • 改写 cookie(Domain/Secure/SameSite)适配本机同域;
  • fe-static.deepseek.com 资源改走 /festatic 同源路径,并剥掉 SRI/crossorigin

(CDN 的 CORS 只放行 *.deepseek.com,否则脚本跨域加载失败);

  • main.js 打环境补丁:让 127.0.0.1 命中 production 分支

(原 switch(location.hostname) 对未知主机名直接 throw,导致"页面资源加载异常");

  • SSE 流式透传,聊天流式输出不受影响。

代理端口固定为 127.0.0.1:8799(冲突时回退 8800-8810 并自动回收孤儿代理), 经 webServer 路由 /dsw-proxy-port 暴露给客户端。 固定端口保证 iframe origin 稳定,因此 DeepSeek 网页版的登录态(localStorage) 在 DSH 重启后仍然保留,无需重复登录。

已知限制

  • 依赖 DeepSeek 网页版的页面结构,官方改版或收紧风控后可能需要更新;
  • 登录验证码需在面板内正常操作;聊天接口若被 WAF 限流(Rate Limit Reached)

是 IP 级风控,稍后重试或直接用官方网页版确认。