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

@aaplugin/platform-cursor

v1.0.0-beta.4

Published

Cursor Platform integration for AAPlugin.

Readme

@aaplugin/platform-cursor

Cursor Platform package for aaplugin.

pnpm add -D @aaplugin/kit @aaplugin/platform-cursor
import { defineConfig } from '@aaplugin/kit';
import cursor from '@aaplugin/platform-cursor';

export default defineConfig({
  name: 'my-plugin',
  version: '1.0.0',
  description: 'Reusable AI workflows.',
  platforms: [cursor()],
});

The package also exports the named cursor factory, its option types, CursorPackageComponent, CursorNativeAgentComponent, PLATFORM_ID, and PLATFORM_API_VERSION.

CursorPackageComponent is for trusted Extension contributors that need Cursor-native private delivery. Cursor validates and renders it during Package finalization; it does not permit raw Plugin Manifest patches.

Runtime and installation

The complete Plugin root is dist/cursor/plugin/, including .cursor-plugin/plugin.json. For local use, place the complete directory contents in ~/.cursor/plugins/local/<plugin-name>/, then restart Cursor or run Developer: Reload Window and inspect Customize. Local plugin imports must be enabled by the host's policy.

A release branch can contain the Plugin root directly. For a first local installation:

git clone --single-branch --branch release-cursor https://github.com/OWNER/REPO.git "$HOME/.cursor/plugins/local/my-plugin"

Use a real directory: the documented local importer skips symlinks pointing outside its local plugin directory. Marketplace repository/branch tracking is another supported distribution route; this package does not assume a universal CLI URL@ref installation syntax.

Runtime entries are at runtime/<id>/main.mjs. Cursor's Skill documentation defines script references relative to the Skill root. Use the loaded Skill's source directory to resolve ../../runtime/<id>/main.mjs; for the local installation above, the Plugin root is also known explicitly. Invoke node with the quoted absolute file path while keeping cwd at the business repository. Do not rely on Hook/MCP configuration variable expansion in arbitrary Skill text or shell commands.

Node must be on PATH, with Node 20 ESM as the framework target and any higher product requirement documented by the author. Install the whole Plugin: publishing or copying an individual Skill alone does not preserve its sibling Runtime. Candidate validation and Node subprocess tests do not replace a Cursor discovery/session check.

Sources: Skills, Plugins and local installation, Plugin reference.

License

MIT