npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-webchat

v0.2.0

Published

Codex-ChatGPT-mode style web chat for DeepSeek Harness: chat through chat.deepseek.com (deepseek-chat) using your DeepSeek web session instead of API billing, then transfer the conversation into a harness session as development context — or let the harnes

Readme

dsh-webchat

为 DeepSeek Harness 提供的「Codex ChatGPT 模式」插件:通过真实浏览器驱动 chat.deepseek.com,用你的 DeepSeek 网页登录会话与 deepseek-chat(及 deepseek-reasoner)对话,无需 API 额度。对话可随时「转移到 Harness」——蒸馏成可执行任务简报并新建一个 harness 会话作为开发上下文,也可把网页对话导入为 markdown 上下文,或让 harness agent 直接通过同一个网页会话继续提问。

特性

  • 网页聊天:复用 DeepSeek 网页端登录,流式获取回复,支持「深度思考(R1)」与「智能搜索」开关。
  • 转移到 Harness:一键把当前网页对话蒸馏成任务简报(首条消息即简报)并创建新 harness 会话继续开发,或「延续到已有会话」——把简报作为新消息追加进指定会话(多轮续入);转移时可选择目标工作区(未选则归入「未分组」)。
  • 从网页恢复会话:把网页端已存在但本地未收录的会话拉回本地存储(面板「从网页恢复」按钮 / webchat_recover)。
  • 导入为上下文:把存储的网页对话导出为 markdown 上下文。
  • Agent 工具:webchat_status / webchat_send / webchat_recover / webchat_import / webchat_transfer,harness agent 可直接调用;webchat_status 列出工作区与网页会话,webchat_transfer 可指定目标工作区或目标会话(延续)。
  • 无感登录:首次使用弹出可见浏览器窗口完成登录,登录后窗口自动关闭,后续聊天在无头浏览器中进行。

安装

从 npm(发布后)

dsh plugin --profile web add dsh-webchat

从 GitHub

dsh plugin --profile web add github:xmuwenxiang/dsh-web-chat

仓库已提交编译产物 lib/,从 git 安装无需额外构建。

首次使用

  1. 打开 Web GUI 侧边栏「网页聊天」入口。
  2. 点击「打开登录窗口」,在弹出的浏览器中完成 DeepSeek 网页登录。
  3. 登录成功后窗口会自动关闭,之后即可正常聊天 / 转移。

配置

插件设置中可调整:browserChannel(浏览器渠道,默认 auto)、browserExecutablePath(显式浏览器路径)、browserProxy(代理)、browserHeadless(聊天是否无头,默认 true——登录窗口始终可见且登录后自动关闭)、replyTimeoutMs(回复等待上限)、transferDistill / transferProvider / transferModel(转移时的蒸馏模型)、transferMaxTokens(最终简报输出上限,默认 4096)、transferChunkTokens(长对话分块摘要每段上限,默认 1024)。

环境要求

  • Node.js >= 22
  • 已安装 Google Chrome 或 Microsoft Edge
  • 首次登录需要可交互的图形环境(弹出登录窗口)

限制

  • 网页端受 DeepSeek 官方风控;页面改版或操作失败时返回错误而非崩溃。
  • 密码/会话凭据保存在本地私有目录(profile),请勿外泄。

开发

pnpm install
pnpm typecheck   # 类型检查 src/ 与 test/
pnpm test        # 运行单元测试(Node 内置测试运行器)
pnpm build       # 产出 lib/(宿主半区)与 lib/client.js(浏览器 bundle)

仓库已提交编译产物 lib/,从 git 安装无需额外构建。

License

Apache-2.0