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-llm-dumate

v1.0.0

Published

为 DeepSeek Harness (DSH) 接入 DuMate 模型,自动发现本地 DuMate 桌面版,无需 API Key

Readme

dsh-llm-dumate

为 DeepSeek Harness(DSH)接入 DuMate(百度搭子) 模型。支持 3 个模型档位,自动发现本地 DuMate 桌面版,无需手动配置 API Key。

本项目是第三方适配器,并非 DuMate 或 DSH 官方插件。

功能

  • WebUI 中直接添加 DuMate Provider
  • 自动发现本地 DuMate 桌面版(无需填写 API Key)
  • 3 个模型:dumate-lite / dumate-turbo / dumate-ultra
  • 自动发现 opencode 服务地址和鉴权 key
  • DuMate 重启后自动重建会话,不中断服务
  • 独立安装,不修改 DSH 全局安装目录

环境要求

  • Windows(依赖 Windows API 读取进程环境变量)
  • Node.js >= 22.0.0
  • 已安装 DSH(已验证 0.1.0-rc.7
  • 已安装 DuMate 桌面版并已登录

安装

npx --yes dsh-llm-dumate@latest install

完成后重启 DSH。

WebUI 配置

  1. 打开"设置 → 模型"
  2. 点击"添加提供方"
  3. 选择 DuMate
  4. 保存(无需填写 API Key)
  5. 点击该 Provider 的"编辑",点击"获取可用模型"
  6. 选择需要的模型并导入

模型

| 模型 ID | 名称 | 上下文 | 最大输出 | 说明 | |---------|------|--------|---------|------| | dumate-lite | DuMate Lite | 128K | 8K | 快速轻量 | | dumate-turbo | DuMate Turbo | 128K | 16K | 均衡模式 | | dumate-ultra | DuMate Ultra | 256K | 32K | 最强模式,支持思考 |

更新

npx --yes dsh-llm-dumate@latest install

卸载

npx --yes dsh-llm-dumate@latest uninstall

完成后重启 DSH。

工作原理

DSH Agent → dsh-llm-dumate 插件 → DuMate opencode 服务 (127.0.0.1:随机端口)
                                    ├─ 自动发现地址(读进程环境变量)
                                    ├─ 自动发现鉴权 key(读进程环境变量)
                                    └─ 会话惰性创建 + 404 自动恢复

插件通过 Windows API(OpenProcess + ReadProcessMemory)读取 DuMate 桌面版进程的环境变量,自动发现 opencode 服务地址和鉴权 key,无需用户手动配置。

免责声明

  • 仅供个人学习研究使用
  • 需要自备已登录的 DuMate 桌面版
  • 遵守百度服务条款
  • 不保证持续可用

License

MIT