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

@bytexbyte/nxtlinq-attest

v1.0.0

Published

Agent signing and verification for nxtlinq attest; runs entirely locally

Downloads

121

Readme

@bytexbyte/nxtlinq-attest

Agent signing and verification for nxtlinq attest; runs entirely locally (no blockchain, no external service).

Install

From npm (after publish)

npm install -g @bytexbyte/nxtlinq-attest

Then run: nxtlinq-attest init, nxtlinq-attest sign, nxtlinq-attest verify.

From source (repo)

cd nxtlinq-attest
npm install
npm run build

Option A — run via node (no global install):

node bin/nxtlinq-attest.mjs <command>
# e.g. node bin/nxtlinq-attest.mjs init

Option B — install globally from this repo:

npm link

Then from any directory: nxtlinq-attest init, nxtlinq-attest sign, nxtlinq-attest verify.

Requirements: Node 22+

Runtime API (for Agent apps)

Install as a dependency in your Agent project to read attested scope at runtime (no need to implement file read yourself):

npm install @bytexbyte/nxtlinq-attest
# or before publish: npm install file:../nxtlinq-attest
import { getAttestScope, isToolInAttestScope } from '@bytexbyte/nxtlinq-attest';

const scope = getAttestScope();           // from nxtlinq/agent.manifest.json (cached by cwd)
if (!isToolInAttestScope(toolName)) {
  // deny: tool not in attested scope
}
  • getAttestScope(cwd?) — returns scope array; [] if no manifest. Cached per cwd.
  • isToolInAttestScope(toolName, cwd?) — true if tool is in scope or scope is empty (backward compatible).

Node only. For Python or any language, use the CLI instead: run nxtlinq-attest scope from the agent project root; it prints the scope array as JSON to stdout (exit 0). Parse stdout once at startup and cache; use it to allow/deny tools. Same CLI works for Node if you prefer not to depend on the package.

For more detail, see the product spec (view via README-SPEC.md).

Commands

| Command | Description | |---------|-------------| | nxtlinq-attest init | Create nxtlinq/ with keys and agent.manifest.json | | nxtlinq-attest sign | Compute contentHash + artifactHash, sign manifest, write nxtlinq/agent.manifest.sig | | nxtlinq-attest verify | Verify manifest and artifact integrity (exit 1 on failure) | | nxtlinq-attest scope | Print manifest scope as JSON to stdout (for any runtime to call) |

Quick start

cd your-agent-project
nxtlinq-attest init
# Edit nxtlinq/agent.manifest.json (name, version, scope)
nxtlinq-attest sign
nxtlinq-attest verify

After init: what to edit in nxtlinq/agent.manifest.json

| Field | You edit? | Description | |-------|-----------|-------------| | name | Yes | Agent identifier (e.g. "my-agent", "nxtlinq-ai-agent"). | | version | Yes | Semantic version of this agent (e.g. "1.0.0"). | | scope | Yes | List of tools/permissions this agent is allowed to use. Each item is a string like "tool:ToolName". Example: ["tool:ExampleTool", "tool:Search"]. | | issuedAt | Optional | Unix timestamp when the manifest was created. Init sets this; you can leave it or update it. | | publicKey | No | Filled by init. Do not edit. | | contentHash | No | Set by sign. Do not edit. | | artifactHash | No | Set by sign. Do not edit. |

Summary: Before running sign, edit name, version, and scope to match your agent. Do not change contentHash, artifactHash, or publicKey. All attest files live under nxtlinq/.

Requirements

  • Node 22+
  • Works offline; no wallet. Verification fails (exit 1) on tampered manifest or artifact.

Files (all under nxtlinq/)

  • nxtlinq/agent.manifest.json — Agent declaration (name, version, scope, hashes). Do not edit contentHash / artifactHash; they are set by sign.
  • nxtlinq/agent.manifest.sig — Signature (hex). Created by sign.
  • nxtlinq/private.keyDo not commit. Used by sign.
  • nxtlinq/public.key — Public key for verification.

Spec and docs

  • Product spec (with diagrams): run cd docs && npx serve . then open http://localhost:3000/ (see README-SPEC.md). Single entry with 中文 / English switch. Source: docs/spec/nxtlinq-attest-product-spec.md, docs/spec/nxtlinq-attest-product-spec.en.md.
  • README-SPEC.md — How to view the spec.