dsh-web-chat
连接与集成xmuwenxiang/dsh-web-chat
使用真实浏览器驱动 chat.deepseek.com,通过 DeepSeek 网页会话聊天(无 API 计费),并将对话迁移到 harness 会话中。
- deepseek-harness
- dsh
- dsh-plugin
验证与兼容性
这里展示目录实际采集到的证据;未声明的信息会明确标为未知。
- 当前版本兼容性
- 已在当前目录版本验证
- 声明的 Harness 范围
- 未声明
- 声明的平台
- 未声明
- 适用 Profile
- web
- 构建授权
- 未检测到需要
- 权限声明
- 未声明
- 外部服务
- 未声明
- 遥测声明
- 未知
这不是安全背书;安装前仍应查看源码、权限和配置。
查看证据与判定范围
验证仅覆盖标出的来源、版本和 Harness 环境,不代表未来版本仍然兼容。
dsh-webchat@0.2.0- 插件已在隔离环境完成加载检查。
README
dsh-webchat
A "Codex ChatGPT mode" plugin for DeepSeek Harness: drive chat.deepseek.com with a real browser, chat with deepseek-chat (and deepseek-reasoner) using your DeepSeek web session — no API billing. Transfer a conversation into a harness session as development context (distilled into an executable task brief), import stored web conversations as markdown context, or let the harness agent keep chatting through the same web session.
Features
- Web chat over your DeepSeek web login, with streaming replies and "Deep Think (R1)" / "Web Search" toggles.
- Transfer to Harness: distill the current conversation into a task brief and open it as a new harness session to continue development, or "continue into" an existing session (append the brief as a new message); pick a target workspace (or leave it ungrouped).
- Recover web conversations: pull web-side conversations not yet stored locally into the local store (panel "Recover from web" /
webchat_recover). - Import as context: export a stored web conversation to markdown.
- Agent tools:
webchat_status,webchat_send,webchat_recover,webchat_import,webchat_transfer— the harness agent can chat via the web, inspect transcripts, list workspaces and web conversations, and transfer a conversation into a new or existing session (optionally into a target workspace). - Hands-free login: first use opens a visible browser window for login, which auto-closes afterward; chat then runs headless.
Install
From npm (once published)
dsh plugin --profile web add dsh-webchat
From GitHub
dsh plugin --profile web add github:xmuwenxiang/dsh-web-chat
lib/is committed, so git installs need no build step.
First use
- Open the "网页聊天" (Web Chat) sidebar entry in the Web GUI.
- Click "打开登录窗口" and sign in to DeepSeek in the browser window that appears.
- The window auto-closes after login; you can then chat and transfer normally.
Config
Settings expose: browserChannel (default auto), browserExecutablePath, browserProxy, browserHeadless (chat headless; default true — the login window is always visible and auto-closes), replyTimeoutMs, transferDistill / transferProvider / transferModel (distillation model for transfer), transferMaxTokens (final brief cap, default 4096), and transferChunkTokens (per-chunk cap for long-conversation map-reduce, default 1024).
Requirements
- Node.js >= 22
- Google Chrome or Microsoft Edge installed
- A graphical session for the one-time login window
Limitations
- The web app is subject to DeepSeek's own risk controls; failures or page changes return errors rather than crashing.
- Session credentials live in a local private profile directory.
Development
pnpm install
pnpm typecheck # type-check src/ and test/
pnpm test # run unit tests (Node built-in test runner)
pnpm build # emit lib/ (host half) and lib/client.js (browser bundle)
lib/ is committed, so git installs need no build step.