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

settld

v0.2.8

Published

Settld kernel CLI and local control-plane tooling

Downloads

1,409

Readme

Settld

Settld is verify-before-release receipts for delegated autonomous work: verify what happened, retain audit-ready evidence, and settle outcomes deterministically.

Wedge (current): an x402-style gateway that turns HTTP 402 into hold -> verify -> release/refund, with deterministic receipts. Default posture is strict: hold 100% until PASS; refund on FAIL. Optionally require an Ed25519 provider signature over the upstream response hash.

What you get in this repo:

  • settld CLI for bundle verification + a conformance pack (CI / audit evidence)
  • Runnable Node.js prototype (API + agent simulator)
  • Protocol + product docs (schemas/specs, trust anchors, warning codes, etc.)
  • Positioning and go-to-market narrative: docs/marketing/agent-commerce-substrate.md

10-minute Demo: Verified Receipt (x402 Verify-Before-Release)

Prereqs: Node.js 20+.

npm ci && npm run quickstart:x402

By default the script keeps services running until you press Ctrl+C.

If you already ran npm ci in this repo, you can skip it:

npm run quickstart:x402

To run once and exit (CI-friendly):

npm ci && SETTLD_QUICKSTART_KEEP_ALIVE=0 npm run quickstart:x402

Success: prints OK, a gateId=..., and a gateStateUrl=....

Next: docs/QUICKSTART_X402_GATEWAY.md

If you tried and failed:

  • Run ./scripts/collect-debug.sh and open a GitHub issue using the "Quickstart failure" template: https://github.com/aidenlippert/settld/issues/new?template=quickstart-failure.yml

The core mental model in this repo:

  • Jobs are state machines: a job moves through explicit states (booked → executing → completed/aborted → settled).
  • Everything else is events: every transition and operational action emits an event that can be replayed.
  • Trust is a black box: telemetry/evidence are append-only, hash-chained, and (optionally) signed.
  • Money is a ledger: every settlement is double-entry and must always balance.

Bundle verification (CI / audit evidence)

  • Overview: docs/OVERVIEW.md
  • Quickstart: docs/QUICKSTART_VERIFY.md
  • Kernel v0 quickstart (local dev stack + conformance + explorer): docs/QUICKSTART_KERNEL_V0.md
  • Kernel v0 product surface (enforced vs not enforced): docs/KERNEL_V0.md
  • Kernel Compatible policy + listing format: docs/KERNEL_COMPATIBLE.md
  • Producer bootstrap: docs/QUICKSTART_PRODUCE.md (trust → produce → strict verify)
  • SDK quickstart (first verified run): docs/QUICKSTART_SDK.md
  • SDK quickstart (Python): docs/QUICKSTART_SDK_PYTHON.md
  • x402 gateway quickstart (verify-before-release wedge): docs/QUICKSTART_X402_GATEWAY.md
  • Integrations (GitHub Actions templates): docs/integrations/README.md
  • Protocol contract (schemas/specs): docs/spec/README.md
  • Conformance pack (portable oracle): conformance/v1/README.md
  • Audit packet generator: npm run audit:packet (see docs/RELEASE_CHECKLIST.md)
  • Support / filing bugs: docs/SUPPORT.md

Quick start

Agent host onboarding (Codex / Claude / Cursor / OpenClaw), with guided wallet + policy setup:

npx -y settld setup

Default interactive flow is now login-first:

  1. pick host + wallet mode
  2. choose quick setup (recommended)
  3. login with OTP (creates tenant if needed)
  4. setup mints runtime API key automatically
  5. guided wallet fund + first paid call check runs

Advanced mode is still available in setup when you need explicit base URL/bootstrap/API-key control.

Preflight-only check (no host config write), with JSON report:

npx -y settld setup --preflight-only --report-path ./.tmp/setup-preflight.json

If you prefer global install:

npm install -g settld
settld setup

Check wallet wiring and funding path:

settld login
settld wallet status
settld wallet fund --open
settld wallet fund --method transfer
settld wallet balance --watch --min-usdc 1

Hosted top-up (recommended): configure Coinbase Hosted Onramp on the backend so settld wallet fund --open launches funding directly:

export MAGIC_LINK_WALLET_FUND_PROVIDER='coinbase'
export MAGIC_LINK_COINBASE_API_KEY_VALUE='organizations/<org_id>/apiKeys/<key_id>'
export MAGIC_LINK_COINBASE_API_SECRET_KEY='-----BEGIN EC PRIVATE KEY-----\n...\n-----END EC PRIVATE KEY-----'
export MAGIC_LINK_COINBASE_PROJECT_ID='<project_id>'
export MAGIC_LINK_COINBASE_DESTINATION_NETWORK='base'
export MAGIC_LINK_COINBASE_ASSET='USDC'
export MAGIC_LINK_COINBASE_FIAT_CURRENCY='USD'

Legacy setup wizard (advanced / old flags):

settld setup legacy

Start the API:

PROXY_OPS_TOKEN=tok_ops npm run dev:api

Or start the full local dev stack (Postgres + MinIO + API + receiver + finance sink):

./bin/settld.js dev up

Developer helper flow (recommended for local Neon/PG usage):

npm run dev:env:init
# edit .env.dev once (DATABASE_URL, etc.)
npm run dev:start

Optional: start local Postgres + MinIO (for STORE=pg and S3-style evidence storage):

docker compose up -d

Run the full stack (API + maintenance + receiver + finance sink) via compose profile:

docker compose --profile app up --build

Initialize MinIO buckets (optional; required for S3/MinIO-backed evidence/artifact demos):

docker compose --profile init run --rm minio-init

Run the API backed by Postgres:

export STORE=pg
export DATABASE_URL=postgres://proxy:proxy@localhost:5432/proxy
npm run dev:api

Use MinIO for evidence objects (S3-compatible, via presigned URLs):

export PROXY_EVIDENCE_STORE=minio
export PROXY_EVIDENCE_S3_ENDPOINT=http://localhost:9000
export PROXY_EVIDENCE_S3_REGION=us-east-1
export PROXY_EVIDENCE_S3_BUCKET=proxy-evidence
export PROXY_EVIDENCE_S3_ACCESS_KEY_ID=proxy
export PROXY_EVIDENCE_S3_SECRET_ACCESS_KEY=proxysecret
export PROXY_EVIDENCE_S3_FORCE_PATH_STYLE=1

Create a job:

curl -sS -X POST http://localhost:3000/jobs \
  -H 'content-type: application/json' \
  -d '{"templateId":"reset_lite","constraints":{"roomsAllowed":["kitchen","living_room"],"privacyMode":"minimal"}}' | jq

Run the agent simulator (registers an executor and runs a sample job lifecycle):

npm run agent:sim

Run tests:

npm test

Run conformance (bundle verification oracle):

./bin/settld.js conformance test

Run conformance (kernel control plane, disputes + holdback):

./bin/settld.js conformance kernel --ops-token tok_ops

Run local MCP host compatibility checks:

./bin/settld.js doctor

No-clone registry flow:

npx settld conformance kernel --ops-token tok_ops

No-clone release artifact flow (download settld-<version>.tgz from GitHub Releases):

npx --yes --package ./settld-<version>.tgz settld conformance kernel --ops-token tok_ops

Ops workspaces (HTML):

  • Kernel Explorer: GET /ops/kernel/workspace (requires ops token)

Docs

  • docs/PRD.md
  • docs/ARCHITECTURE.md
  • docs/DOMAIN_MODEL.md
  • docs/JOB_STATE_MACHINE.md
  • docs/EVENT_ENVELOPE.md
  • docs/ACCESS.md
  • docs/SKILLS.md
  • docs/TRUST.md
  • docs/LEDGER.md
  • docs/SKILL_BUNDLE_FORMAT.md
  • docs/CERTIFICATION_CHECKLIST.md
  • docs/THREAT_MODEL.md
  • docs/INCIDENT_TAXONOMY.md
  • docs/ONCALL_PLAYBOOK.md
  • docs/MVP_BUILD_ORDER.md
  • docs/QUICKSTART_VERIFY.md
  • docs/QUICKSTART_PRODUCE.md
  • docs/QUICKSTART_SDK.md
  • docs/QUICKSTART_SDK_PYTHON.md
  • docs/QUICKSTART_POLICY_PACKS.md
  • docs/QUICKSTART_MCP.md
  • docs/QUICKSTART_MCP_HOSTS.md
  • docs/ADOPTION_CHECKLIST.md
  • docs/SUPPORT.md
  • docs/OPERATIONS_SIGNING.md
  • docs/KERNEL_V0.md
  • docs/KERNEL_COMPATIBLE.md
  • docs/ops/PAYMENTS_ALPHA_R5.md
  • docs/ops/X402_PILOT_WEEKLY_METRICS.md
  • docs/ops/ARTIFACT_VERIFICATION_STATUS.md
  • docs/ops/TRUST_CONFIG_WIZARD.md
  • docs/integrations/README.md