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

@lyrashield/agent-plugin

v0.1.33

Published

LyraShield Agent Plugin package

Readme

@lyrashield/agent-plugin

Agent Plugins 1.0.0 package @lyrashield/[email protected] for LyraShield AI. It bundles LyraShield's MCP connection and skills into one portable plugin. Conforming clients can load the canonical manifest; generated client shims cover the launch clients listed below.

What's in the box

The canonical plugin lives in the plugin/ directory:

  • plugin/plugin.json — the manifest (name, version, description, author, homepage, repository, license, keywords).
  • plugin/mcp.json — OAuth-first Streamable HTTP MCP server config. The hosted service performs authorization discovery and keeps write scope bound to the connection grant.
  • plugin/skills/lyrashield/SKILL.md — the skill body, generated from the @lyrashield/agent-rules policy. It now includes a mode/cost guide, example user prompts and matching tool calls and a minute-awareness note so the agent picks the cheapest depth that fits the request.

Client manifest shims

buildPlugin() generates client-specific descriptors. Their presence in the package does not create a discovery path; each client still controls activation:

  • .claude-plugin/ — Claude Code
  • .cursor-plugin/ — Cursor
  • .codex-plugin/ — Codex
  • .kiro-plugin/ — Kiro

The Codex marketplace export uses the native streamable-http transport. Generated descriptors are package artifacts; their presence does not establish a public vendor listing, supported install path or authenticated client acceptance.

Current customer setup

Use the matching release versions @lyrashield/[email protected], @lyrashield/[email protected] and [email protected]. Run npx -y [email protected] login --oauth for local stdio authentication in the same OS account. Node.js 24 or newer is required. The CLI provides supported config writers and shared-skill installation; review npx -y [email protected] install <agent> --dry-run or npx -y [email protected] skills install <agent> --dry-run before writing files. Preserve existing servers and keep credentials out of shared configuration.

Client-owned marketplace publication and authenticated runtime acceptance remain separate from npm package availability. Until a client has a supported, verified plugin install path, use its direct-MCP setup below. Do not install from a mutable marketplace preparation branch.

| Client | Current guided fallback | Client config | | ------------------ | ----------------------------------------------------------------------- | -------------------------------------------------- | | Claude Code | Direct MCP | .mcp.json, mcpServers | | OpenAI Codex | Direct MCP | ~/.codex/config.toml, [mcp_servers.lyrashield] | | GitHub Copilot CLI | Direct MCP | ~/.copilot/mcp-config.json, type: "local" | | VS Code | Direct MCP | .vscode/mcp.json, servers, type: "stdio" | | Kiro | MCP settings | .kiro/settings/mcp.json, mcpServers | | Cursor | Direct MCP | .cursor/mcp.json, mcpServers |

Package conformance checks describe packaged artifacts only. Restart the client, confirm server and tool discovery, then make an authenticated read-only workspace call. Those checks and vendor marketplace publication require separate receipts; a staging export cannot establish them.

API

  • getPluginDir() — returns the absolute path to the canonical plugin/ directory.
  • validatePlugin(root) — validates plugin.json and mcp.json against their AJV schemas; throws on any violation.
  • buildPlugin() — generates plugin/skills/lyrashield/SKILL.md from the @lyrashield/agent-rules policy and emits the client manifest shims (.claude-plugin/, .cursor-plugin/, .codex-plugin/, .kiro-plugin/).

Build

pnpm --filter @lyrashield/agent-plugin build:plugin   # regenerate SKILL.md + client shims
pnpm --filter @lyrashield/agent-plugin test

Authentication and approvals

The canonical, Claude, Cursor and Codex artifacts connect to the hosted Streamable HTTP endpoint without embedding a secret. The client follows hosted OAuth discovery, selects one workspace and receives read scope by default. Write scope is optional. Consent can delegate named workflows for selected targets and scan profiles so matching calls need no additional LyraShield review; mutating calls from API-key callers receive a connect_required response pointing at OAuth connect and the legacy exact-input approval path remains only for nondelegated hosted credentials.

For local stdio fallback, run npx -y [email protected] login --oauth first, then use npx -y @lyrashield/[email protected]; the server reads the user-only ~/.lyrashield/credentials.json file. Environment variables remain an explicit CI/headless fallback, with LYRASHIELD_API_KEY taking precedence. Headless writes without an approval channel fail closed on the local stdio server; API-key writes against the remote endpoint receive connect_required instead.

Note: per the Agent Plugins v1.0.0 spec, the mcp.json env block must not contain PLUGIN_ROOT or PLUGIN_DATA. Those keys are reserved for the host and are injected at load time.

Version and release receipts

  • Package: @lyrashield/[email protected]; runtime: Node.js 24 or newer.
  • Standard schema: Agent Plugins 1.0.0.
  • pnpm --filter @lyrashield/agent-plugin test validates generated shims, schemas, OAuth-first manifests, mutation exclusions, artifact versions and the public export boundary.
  • pnpm --filter @lyrashield/agent-plugin export:marketplace <directory> creates the reviewable marketplace payload and provenance manifest.

An exported or validated artifact is not proof that a vendor marketplace accepted, published or live-tested it. Public listings remain separate vendor-controlled submissions.

See also