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

@sanmumu/dsh-qwenwork-models

v1.6.0

Published

Unofficial local integration that exposes a locally signed-in QwenWork desktop app's chat models as a DeepSeek Harness LLM provider. For your own account only.

Readme

dsh-qwenwork-models — QwenWork Models for DeepSeek Harness

把你本机已安装并已登录的「千问办公」(QwenWork) 桌面端对话模型,注册成 DeepSeek Harness 的一个模型 provider,于是模型选择器里会多出一个「千问办公」分组。


使用前提(请先读完)

  • 需要本机已安装并由你本人登录的千问办公桌面端(Windows)。
  • 它读取的是千问办公客户端自己生成的访问凭证,用于代替你在 Harness 里调用该账号的模型。
  • 这是非官方的本地集成,与千问办公/阿里无隶属关系,也未获其认可或授权。它可能因客户端更新而失效。
  • 账号风险自负:使用厂商客户端的凭证访问其服务,可能违反其服务条款,并可能导致账号被限制。请只在你自己的账号、自己能承担的范围内使用。
  • 插件不代为登录、不伪造身份、不分享或导出账号;凭证过期或授权失效时只提示你自己去恢复。

如果你在找一个官方支持、条款明确的模型接入方式,请使用厂商提供的正式 API,而不是本插件。


功能

  • 把千问办公的对话模型注册为 Harness provider qwenwork
  • 多账号池:账号启用/停用/删除、会话粘性、故障切换、当前使用账号固定
  • 凭证到期前自动续签(使用服务端 exchange 接口,不自动发聊天、不伪造登录)
  • 看护式保活:定时巡检,失效只标记并提示,不自动登录
  • 每个模型可单独开关、设置上下文窗口、设置输入类型
  • 账号状态与积分余额展示(余额需该账号有查询授权)
  • 图片输入:qwen3.8-max、qwen3.7-plus 实测可用;glm-5.2 实测不支持

可用模型

| 模型 | 说明 | 图片输入 | | --- | --- | --- | | qwen3.8-max | Qwen 3.8 Max | 实测支持 | | qwen3.7-plus | Qwen 3.7 Plus | 实测支持 | | glm-5.2 | GLM 5.2 | 不支持(上游 400) |

安装

plugin_manager install_bundle  target=<本包目录或已安装位置>

或通过插件市场安装(若已上架)。

怎么用

  1. 启动并登录千问办公桌面端。
  2. 打开任意对话 → 点右下角模型名 → 选「千问办公」→ 选模型。
  3. 设置 → 千问办公模型 里可管理账号池、保活看护与模型设置。

配置

- id: qwenwork-models
  name: '@qwenwork-tools/dsh-qwenwork-models'
  config:
    contextWindow: 200000    # 默认上下文窗口兜底
    maxOutputTokens: 8192

凭证与隐私

  • 客户端模式:凭证仅在进程内存中使用。
  • 加入账号池后:凭证与续签结果使用 Windows CurrentUser DPAPI 加密落盘,位于 %LOCALAPPDATA%/dsh-qwenwork-models/,原子写入。
  • 不打印、不导出密钥;管理接口限制本机、同源、JSON 与自定义管理头。
  • 卸载插件不会自动删除账号池文件。

边界

  • 不 import @deepseek-ai/dsh-llm(link: 安装解析不到 app.asar 内包),实现同构适配器对象。
  • 不代为伪造登录态;授权失效时提示用户恢复。
  • 流式转换覆盖文本、推理、工具调用,并回传 usage。
  • 若厂商改变协议或增加原生安全校验,插件会明确报错而不是绕过。

已知限制

  • 凭证有效期由服务端决定(约 2 小时),插件靠持续续签维持可用; 关闭 Harness 超过有效期后需重新登录/导入。
  • 网页登录链路通过模拟流程与安全回归测试,尚未覆盖所有真实环境。
  • glm-5.2 输入类型若误勾「图片」,上游会报错,请保持只勾文本。

许可

MIT