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

@authoritas-ace/ace-cli

v2.0.0

Published

CLI for the ACE (Agentic Commerce Engine) v1 API: contextual enrichment, durable jobs, projects, experiments, webhooks

Readme

ace-cli

ace-cli is the command-line interface for ACE (Agentic Commerce Engine). Use it to run the Contextual Enrichment Engine, track durable jobs, score a feed, and manage projects, experiments and webhooks without writing any code.

It is a thin wrapper over the ACE SDK, so every command maps to one documented endpoint. The long-form guide lives at ace.authoritas.com/docs/cli.

Install

npm install -g @authoritas-ace/ace-cli

Or run it without installing:

npx @authoritas-ace/ace-cli health

Node 18 or newer.

Configure

Set your base URL and key once, and every command picks them up:

export ACE_BASE_URL=https://ace.authoritas.com
export ACE_API_KEY=ace_live_your_key_here

Both can also be passed per command with --base-url and --api-key. If ACE_BASE_URL is unset the CLI falls back to http://localhost:3001, which is only useful when running ACE locally, so set it explicitly against production.

Create a key under Settings, Developer console, Keys. Everything except ace health needs one.

Check the connection

ace health
ace usage

usage shows your credit balance, rate limit, job count, and (for ace_test_ keys) the free monthly quota.

Contextual Enrichment Engine

Every enrichment command reads its JSON body from stdin, or from a file with --file.

# Generate contextual rules for a product set
ace rules --file products.json

# Generate content grounded in those rules
ace enrich-content --file content-request.json

# Run both steps in one call
echo '{"source":{"type":"inline","products":[{"id":"1","title":"Merino base layer"}]},
       "contentTypes":["product-description"]}' | ace pipeline

A product needs only id and title. Any extra keys become grounding signal.

Jobs

Large requests run asynchronously and return a job. Track it:

ace jobs list --status running
ace jobs get <id>
ace jobs wait <id> --timeout-ms 300000
ace jobs results <id> --page 1 --page-size 50
ace jobs cancel <id>

Projects

ace projects list
ace projects get <id>
ace projects create --name "Autumn catalogue"
ace projects update <id> --name "Autumn catalogue 2026"
ace projects delete <id>

Experiments

Every experiments command is project-scoped, so --project-id is required.

ace experiments list --project-id <projectId>
ace experiments get <id> --project-id <projectId>
ace experiments create --project-id <projectId> --file experiment.json
ace experiments update <id> --project-id <projectId> --file changes.json
ace experiments delete <id> --project-id <projectId>

Webhooks

ace webhooks create \
  --url https://example.com/hooks/ace \
  --events enrichment.job.succeeded,enrichment.job.failed

ace webhooks list
ace webhooks get <id>
ace webhooks update <id> --file changes.json
ace webhooks delete <id>
ace webhooks deliveries <id> --status failed --page-size 50

The URL must be https. Each subscription carries a signing secret: verify the signature header on your endpoint against it before trusting a payload.

Utilities and feeds

None of these consume credits.

ace utils language --file products.json
ace utils agentic-readiness --file products.json
ace utils review-quality --file items.json

ace feeds --project-id <projectId>

Output

Commands print the response payload as formatted JSON on stdout, so they pipe into jq cleanly. On an API error the message goes to stderr and the process exits non-zero, which makes the CLI safe to use in a build step.

ace jobs list --status failed | jq '.[].id'

License

MIT