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

@cocoframe/agent

v0.1.0

Published

Provider-independent MCP discovery and approval-bound Agent Bridge contracts for CocoFrame.

Readme

@cocoframe/agent

Provider-independent, approval-aware Agent Bridge contracts for CocoFrame.

Start local MCP stdio with cocoframe agent <project>. The tool surface is:

  • Discovery: project.inspect, including a project Design Profile capability, docs.search, component.find, api.lookup, and workflow.status.
  • Read-only lifecycle preparation: cocospecs.next, cocoux.inspect, cocoref.audit, and cocoqa.trace.
  • Controlled mutation: mutation.plan and mutation.execute.

Protocol v2 requires every mutation plan to include a workflow binding. A user-facing binding is accepted only after project inspection, an approved CocoSpec, an explicit reference, no-reference, or not-applicable decision, and a ready CocoRef when a reference is used. Visual work also binds the current component inventory and Design Profile and requires post-write CocoQA evidence. Protocol v1 remains available for read-only tools but cannot mutate.

mutation.plan declares at most twenty workspace-relative file writes, validates confinement and secret rules, verifies changed static links and actions against the existing or proposed route graph, records current and proposed SHA-256 hashes, and keeps proposal content only in active process memory. It never changes a declared target. mutation.execute succeeds only after an unexpired human or host approval is bound to the same operation, workflow, session, reviewed hashes, role, and selected target subset. Its result explicitly reports whether CocoQA is still required before release readiness.

Modern MCP clients receive a native elicitation form whose retry state is HMAC-protected. Editor hosts may call the non-MCP decideOperation method. A user may also decide through the separate CLI channel:

cocoframe agent approve <operation-id> --project . --role application-developer
cocoframe agent deny <operation-id> --project . --role application-developer

Framework repositories require framework-maintainer approval. Decisions are immutable, approvals are single-use and expire after fifteen minutes, target changes invalidate execution, and multi-file failures are rolled back. Hash-only session, plan, decision, execution, and audit records live under .cocoframe/agent/, which is ignored by Git.

Agent Bridge never exposes delete, shell, install, Git, commit, publish, deploy, database, external-service, or outside-workspace mutation capabilities. Responses remain schema-discoverable and capped at 1 MiB.

Verify with tests/agent.test.ts, tests/agent-lifecycle.test.ts, tests/agent-mutation.test.ts, npm run check, npm test, and npm run inspect.