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

@tensflare/cli

v0.1.0

Published

![Banner](banner.png)

Readme

Banner

@tensflare/cli

Truss CLI — the official command-line tool for the Truss trust infrastructure API. Modeled after gh (GitHub CLI).

npm version License CI


What is Truss?

Truss is an accountability layer for AI agents — it records every agent action as a cryptographically signed, tamper-evident audit trail. Learn more →

Installation

npm install -g @tensflare/cli

Or run directly via npx:

npx @tensflare/cli

Quick start

# 1. Authenticate
truss auth login

# 2. List agents
truss agent list

# 3. Create a mandate
truss mandate create --agent-id agt_001 --scope '{"permitted_actions":["read"]}'

# 4. Record an action
truss action record --mandate-id mnd_001 --action-type read

# 5. Generate evidence
truss evidence generate --mandate-id mnd_001

Command reference

| Command | Description | |---|---| | truss auth login | Authenticate with the Truss API | | truss org list | List organizations | | truss agent list | List registered agents | | truss agent create | Register a new agent | | truss mandate list | List mandates | | truss mandate create | Create a new mandate | | truss action record | Record an action | | truss action list | List action records | | truss delegation create | Create a delegation hop | | truss evidence generate | Generate evidence package | | truss verify package | Verify evidence integrity | | truss alert list | List alerts | | truss integration list | List integrations | | truss jurisdiction evaluate | Evaluate regulatory obligations | | truss template list | List mandate templates | | truss api <method> <path> | Raw API access (like gh api) | | truss config list | Show current configuration | | truss completion | Generate shell completion script |

Run truss --help for global options or truss <command> --help for per-command flags.

Configuration

Config is stored at ~/.config/truss/config.json. Environment variables override:

export TRUSS_API_URL="https://api.truss.tensflare.com"
export TRUSS_API_KEY="tr_abc123"

Features

  • 15 command groups covering the full Truss API
  • --json output for piping to jq and other tools
  • Pagination via --limit and --page
  • Shell completions for bash, zsh, and fish
  • Raw API access with truss api GET /agents
  • Auth via config file or environment variables

Related packages

| Package | Description | |---|---| | @tensflare/tap | Core Zod schemas for mandates, actions, and delegations | | @tensflare/truss-sdk | TypeScript SDK for programmatic access |

Development

npm install
npm run build
# Run locally:
node dist/index.js

Contributing

Pull requests are welcome. Please see the contribution guidelines.

License

Apache 2.0 — see LICENSE.