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

@concordia-protocol/sdk

v0.0.1-alpha.10

Published

TypeScript reference implementation of the Concordia Protocol -- signed agreement primitives for autonomous agents

Downloads

74

Readme

@concordia-protocol/sdk

TypeScript reference implementation of the Concordia Protocol -- signed agreement primitives for autonomous agents.

Status: alpha. Currently ships the canonical JSON serializer, the Ed25519 signing layer (key generation, sign, and verify over canonical JSON), the foundational types layer (session, message, term, and outcome enumerations plus the core data structures and their serialization), the v0.6 signed predicate primitive (sign, verify, write-validation, and the type-profile deterministic-semantics gate), the mandate credential models (the TemporalMode / MandateStatus enumerations, the DelegationLink, ValidityWindow, and Mandate data structures with their serialization, and the mandate JSON-schema constants), the mandate verification engine (mandate and delegation signing, schema and constraint validation, delegation-scope composition, temporal-validity checking, delegation-chain verification, and the full verifyMandate over all five checks), the session lifecycle (the six-state negotiation state machine PROPOSED -> ACTIVE -> AGREED / REJECTED / EXPIRED -> DORMANT with its strict transition table, signature-verified message application, behavioral-signal tracking, and the hash-chain transcript helpers), the reputation attestation (the signed behavioral record produced from a concluded session: generateAttestation, the 4-line receipt summary, the whole-transcript hash, and the three-mode temporal-validity checks, with the attestation carrying behavioral signals only and never the raw deal terms), and the JSON-schema validation layer (validateMessage for the message envelope, validateApprovalReceipt and validateFulfillmentAttestation for the standalone artifacts, each returning CPython-jsonschema-identical ordered error lists, plus the full verifyApprovalReceipt human-in-the-loop receipt verifier over schema, the negotiation-session reference, the Ed25519 signature, the expiry window, and the canonical offer-hash match), all with byte-level parity against the Python reference implementation. The mandate revocation-endpoint network fetch is deferred (an injectable hook covers the no-revocation outcome), and the reputation-attestation schema validator (validateAttestation, which needs $ref / oneOf schema support) ships in a subsequent alpha release.

Apache-2.0. Spec at https://github.com/eriknewton/concordia-protocol.