rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:sezhiyanhua/dsh-dual-mode
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
一句话:在 DeepSeek Harness 里直接使用你自己的 chat.deepseek.com 网页账号聊天,并把网页对话一键变成 Harness 任务,反过来也能把 Harness 的消息一键丢给网页模型分析。
In one line: use your own chat.deepseek.com web account inside DeepSeek Harness — turn a web conversation into a Harness task with one click, and send any Harness message to the web model for a second opinion.
它不调用 DeepSeek API,不产生 API 费用:插件启动一个隐藏的 Chrome,通过 CDP 驱动真实的 chat.deepseek.com 网页界面,用的是你自己登录的网页账号。
It never calls the DeepSeek API and never bills you: the plugin drives the real chat.deepseek.com page in a hidden Chrome over CDP, with your own logged-in web account.
在插件商店(dshmarket)里搜索 DeepSeek Dual Mode 并安装。
Windows 上安装或更新前请先完全退出 DeepSeek Harness:正在运行的进程会占用插件的 文件,pnpm 无法替换目录会报「文件被占用」。退出后再装,装完重新打开即可。
打开后点左上角 HARNESS 标 → DeepSeek Chat。首次使用点右上角「登录 DeepSeek」,
在弹出来的浏览器窗口里登录一次,之后会一直保持静默后台运行。
Install from the plugin market (dshmarket).
On Windows, quit DeepSeek Harness completely before installing or updating — the running process keeps the plugin's files open, so pnpm cannot replace the directory ("file in use"). Install with the app closed, then reopen it.
Click the HARNESS badge at the top-left → DeepSeek Chat. On first use press
"登录 DeepSeek" and sign in once in the browser window that opens; afterwards it runs
silently in the background.
A ChatGPT-desktop-style product switcher that is opened from the badge next to the brand:
DeepSeek ▾). The Harness UI, running
tasks, scroll position and drafts are preserved because switching only changes the
active main panel.main panel with its own chat list, search,
rename, delete, streaming replies, Markdown/code rendering, copy, stop and regenerate.--user-data-dir).The plugin starts Chrome with remote debugging enabled and drives the real web UI over the Chrome DevTools Protocol: it types into the page's composer, clicks the send button, and reads the streamed Markdown reply from the DOM. Nothing is mocked and no DeepSeek API key is used.
By default Chrome runs headless (--headless=new), so no browser window appears and
nothing has to stay open on screen. The browser is launched detached and is kept alive
across plugin reloads and panel switches; a reply that is streaming when the plugin is
reloaded keeps running in the same tab.
静默模式 chip in the Chat panel header to switch to a visible window
(窗口模式) — use this for the one-time login or to watch the real page.<DSH_PROFILE_DIR>/dual-mode/settings.json.chat.deepseek.com/a/chat/s/<id> thread, so the conversation continues in
the same web chat.Because the web UI is virtualized and DOM-driven, response completion is detected by watching the reply text stabilise (about 2 s of no change), with a hard 3-minute timeout. If a previous reply left the page with an empty trailing answer, the adapter reloads the tab once before sending instead of hanging.
The adapter reuses one persistent Chrome profile. If that profile already has a
chat.deepseek.com login (for example a profile you logged into manually), copy it to
<DSH_PROFILE_DIR>/dual-mode/chrome-profile before enabling the plugin, or simply log in
once in the window the adapter opens.
<DSH_PROFILE_DIR>/dual-mode/webchats.json (atomic writes).<DSH_PROFILE_DIR>/dual-mode/chrome-profile.sessionController.prompt API with mode: 'queue',
so a running Harness task is never interrupted.The plugin serves its own endpoints under /dual-mode/ (chat store, browser control,
send/result bridge). Every request is admitted through the Harness connection service
(ctx.connection.requestRejection), so only same-origin requests from the authenticated
Harness web client are accepted:
127.0.0.1, localhost, [::1]);sec-fetch-site: cross-site is rejected;Origin must match Host;401.Cross-site or unauthenticated callers get 403 / 401 JSON instead of touching the chat
store or the automation browser. If the connection service is unavailable, the plugin falls
back to the same loopback + Origin fence.
contextmenu inside
[data-conversation-content] and shows its own small menu there (复制 + 在 Chat 模式询问);
native menus everywhere else are untouched.main panel opened from the brand menu. It is not a real session
folder: DSH has no folder in the session data model, so Web Chats are kept in the plugin's
own JSON store and never mixed with Harness sessions..ds-message, .ds-markdown, .ds-toggle-button). If the site changes its markup the
adapter reports a send/timeout error instead of faking a reply; the selectors live in one
place (READ_STATE, fillAndSend, setToggles in lib/index.js).CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。