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

@xytoki/dsh-cursor-agent

v0.6.0

Published

Cursor Agent for DeepSeek Harness: browser login, token refresh, model discovery, and Cursor's server-side agent loop

Readme

DSH Cursor Agent

在 DeepSeek Harness 中获得和 Cursor 一致的速度与体验。

直接登录 Cursor 账户或绑定 API Key / Auth Token, 在使用 Cursor 原生 Agent Loop(agent.v1.AgentService/Run)、标准工具、上下文压缩、自动标题等功能时, 保留 DSH 的会话、执行器和沙箱功能,

⚠️ 本插件接入的是 Cursor 未公开的 Agent 协议(agent.v1.AgentService/Run), 属于社区逆向工程成果,可能随 Cursor 服务端变化而失效。本项目与 Anysphere / Cursor 无任何关系,请遵守 Cursor 的服务条款。

能做什么

  • 在 DSH 中直接使用 Cursor 原生 Agent Loop
  • 自动发现并允许选择 Cursor 的可用模型以及思考强度、上下文等配置
  • 保留 Cursor 原生工具,支持如下功能:
    • 文件读写
    • 网络请求与搜索
    • Question交互
    • 前后台Shell
    • 其他DSH工具自动被映射为mcp
  • 暂未支持的:
    • PlanMode切换
    • Subagent/Task
  • 使用 Cursor 原生的自动标题和上下文压缩能力,会在 Cursor Preset 里自动禁用DSH自带的自动标题、压缩,以及billion-context-dsh ACP
  • 设置页可查看登录状态与订阅用量
  • 支持修改BaseURL来使用部分中转站(不建议)

安装

dsh plugin --profile web add @xytoki/dsh-cursor-agent

调试

使用CURSOR_AGENT_DEBUG=1 开启debug log

致谢

修改自 dsh-cursor-subscription

MIT