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

@veyrahq/sdk-node

v0.1.4

Published

Commit mode for production AI agent actions. Free verification. Free trust discovery.

Downloads

660

Readme

@veyrahq/sdk-node

Commit Mode for AI Agent Actions. Free verification. Free trust checks. No registration needed.

The Problem

AI agents execute actions on your tool. Without Veyra, you don't know if the action was authorized, budgeted, or delegated. It's just... an API call.

The Solution: Trusted Production Mode

With Veyra, every productive write is:

  • Delegated (someone authorized this agent)
  • Budgeted (the action is within spend limits)
  • Verified (the token is cryptographically signed)
  • Settled (the action is attributed and billed)

Quick Start - Pre-Flight Check (1 line)

import { checkTrustStatus } from '@veyrahq/sdk-node'

const status = await checkTrustStatus('salesforce.com')
// -> { production_mode: "trusted", commit_mode: true }

Quick Start - Verify Token (1 line)

import { verifyVeyraToken } from '@veyrahq/sdk-node'

const result = await verifyVeyraToken(token)
if (!result.valid) throw new Error('Unauthorized agent action')

Enforce Commit Mode (2 lines)

import { requireTrustedWrite } from '@veyra/adapter-http'

app.use(requireTrustedWrite())

Full Client

import { VeyraClient } from '@veyrahq/sdk-node'

const veyra = new VeyraClient({ apiKey: 'tr_...' })

// Public - no key needed
const trust = await veyra.checkTrustStatus('salesforce.com')
const verify = await veyra.verifyToken(token)

// Authenticated
const auth = await veyra.authorizeAction(agentId, 'create_contact', 'crm')
const receipt = await veyra.submitReceipt(token, 'http', { ok: true })

One-call commit automation

Use commitAwareFetch() instead of fetch() when writing to endpoints that may require Veyra commit mode. It works exactly like fetch(), but if the target returns VeyraCommitRequired, it automatically authorizes the action and retries with a settlement token.

import { commitAwareFetch } from '@veyrahq/sdk-node'

const res = await commitAwareFetch('https://tool.com/api/write', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ name: 'Jane' }),
}, { apiKey: 'tr_...', agentId: '...', actionType: 'create_contact', target: 'crm' })

MCP Server Card

Declare your tool as Trusted Production Mode:

{
  "security": {
    "productionMode": "trusted",
    "trustedWriteRequired": true,
    "commitModeProvider": "veyra",
    "verifyEndpoint": "https://api.veyra.dev/v1/verify-token"
  }
}

When an AI reads this Server Card, it knows: "To write to this tool, I need a Veyra token." The AI tells the developer. The developer integrates Veyra. You didn't sell anything. The AI sold it for you.

Pricing

  • Trust status checks: FREE. Always. Unlimited.
  • Token verification: FREE. Always. Unlimited.
  • Settlement tokens: Issued by Veyra to authorized agents.

Billing model

  • Discovery (checkTrustStatus, fetchCapability): free, unlimited
  • Verification (verifyVeyraToken): free, unlimited, non-billable
  • Settlement: billed per finalized productive action
  • Classes: A (0.005 EUR), B (0.02 EUR), C (0.10 EUR), D (0.25 EUR)
  • Usage export: GET /v1/billing/usage with API key

Requirements

  • Node.js 18+ (native fetch)
  • Zero runtime dependencies