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

@tjalve/qube-adapter-cursor

v0.1.3

Published

Cursor CLI adapter for QUBE isolated review and model routing.

Readme

QUBE Cursor adapter

This package routes QUBE isolated review lanes through the official Cursor CLI. It uses the CLI's existing browser login or CURSOR_API_KEY authentication and does not read or transfer credentials.

Each lane starts a fresh Cursor Ask-mode process and accepts one successful JSON result. QUBE owns evidence validation, checkout protection, and provider publication. Linux and macOS use the Cursor sandbox. Native Windows uses QUBE's permission-denying ACP client because the Cursor sandbox is not available there. The ACP client isolates Cursor configuration, disables sandbox network access, permits bounded repository reads except protected metadata and common secret files, cancels every permission request, and exposes no terminal, write, MCP, or web capability. Native Windows does not require WSL2.

On native Windows, QUBE inspects the ACP model options without sending a review prompt. It compares the selected Cursor model ID with the ACP base model, reasoning effort, and speed. Setup and diagnostics list only exact compatible choices. A missing, ambiguous, or different match blocks the route with model-route-model-unsupported.

The readiness probe records both the selected Cursor model ID and the exact ACP value. The review runner uses that recorded value. If the ACP catalog changes before execution, QUBE stops before it sends the review prompt. When a configured fallback host runs, provider-visible provenance keeps the original compatibility reason.

The adapter also supports current-session Umpire continuation through Cursor's project Stop hook. Umpire merges one stop entry with a finite loop limit into .cursor/hooks.json, preserves unrelated hook configuration, and returns one followup_message only when trusted QUBE state permits continuation. Cursor must trust the repository before it runs the hook. QUBE does not pass the Cursor trust flag or change that trust state. Verify the integration with an explicit model:

aiu verify --tool cursor --model <model-id> --json

The verifier requires an interactive terminal with standard input and standard error attached to TTYs. It tests the Cursor CLI project Stop reprompt. It does not assert continuation support in Cursor desktop, cloud, or headless mode.

The verifier does not pass --trust. When Cursor requires approval, it preserves the disposable project and returns its exact trustApprovalPath. Approve that project through Cursor, then rerun verification.

On Windows, verification uses interactive Cursor Agent mode in the disposable project because Cursor sandbox mode is not available and Ask mode does not run project Stop hooks. Verification does not request tools or add force, approval, or sandbox-disable flags. On macOS and Linux, verification enables Cursor sandbox mode.