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

@cmls/create

v0.1.2

Published

Create CMLS/Cumulus apps with Auth, DB, Knowledge, and MCP wiring.

Readme

@cmls/create

Create a Cumulus app with Agent Auth, Cumulus DB, Cumulus Knowledge, SDK, API, CLI, TUI, and MCP wiring in one generated project.

npm create @cmls@latest my-acme

# Equivalent npm create shorthand
npm create @cmls@latest my-acme

# Non-interactive
npm create @cmls@latest my-acme -- --template full --agent-auth hosted --company "Acme Inc"
npm create @cmls@latest my-acme -- --template outer --agent-auth hosted
npm create @cmls@latest my-acme -- --template inner --agent-auth hosted
npm create @cmls@latest my-acme -- --template full --agent-auth self-hosted --with auth,db,knowledge --install-runtimes
npm create @cmls@latest my-acme -- --template agent-auth --cumulus-db cloud

npm create @cmls@latest is npm shorthand for @cmls/create@latest. Both commands download the same package from npm and run its create binary. They work only after @cmls/create has been published to npm.

For local development before publishing:

npm run create-cumulus:build
node packages/create-cumulus/dist/index.js my-acme --template full --agent-auth hosted

Templates

| Template | Includes | | --- | --- | | full | Relay public site, /me, /dev, dashboards, API/MCP, docs, auth, signup, and actions. | | outer | Relay public marketing/docs site plus discovery, signup, and action bootstrap. | | inner | Relay /me and /dev dashboards, settings, API/MCP, auth, and actions. | | agent-auth | Smallest Relay-branded discovery, attestation login, signup, and actions starter. |

Legacy aliases still work: marketing maps to outer, and inside maps to inner.

Agent Auth Modes

| Mode | Use when | | --- | --- | | hosted | You want Relay hosted auth, signup, and action dispatch. | | self-hosted | You want the generated app to own a local Relay-style API/MCP surface. |

Hosted mode emits /.well-known/relay.json, /api/relay-login, /api/agent-signup, /api/actions, and env examples for connecting to Relay.

Self-hosted mode additionally emits the local Relay control plane: /v1/*, /mcp, /.well-known/jwks.json, /openapi.json, workflows, Drizzle schema, and migrations.

full and inner include the local Relay app/server surfaces because the real Relay dashboards depend on the Relay database/session/server modules. In hosted mode, their agent-facing bootstrap endpoints default to hosted Cumulus Cloud.

Cumulus DB

Generated full, inner, and agent-auth projects include Cumulus DB workspace support. Cumulus DB is separate from Relay Postgres:

  • Relay Postgres uses DATABASE_URL for users, sessions, tenants, signup jobs, and API-key bookkeeping.
  • Cumulus DB stores agent workspace records, key-value data, secrets, and search data through a separate HTTP service.

Generated full and inner projects include the local Relay database/session stack even when --agent-auth hosted and --cumulus-db cloud are selected. They are Apache-2.0 because that broader Relay stack is included. Small hosted agent-auth --cumulus-db cloud projects stay MIT.

Relay Postgres supports hosted Neon HTTP and normal local Postgres. Leave DATABASE_DRIVER blank for auto-detection. Localhost URLs use the postgres driver; hosted URLs use Neon HTTP. Set DATABASE_DRIVER=postgres or DATABASE_DRIVER=neon-http when you need to force one.

Modes:

| Mode | Meaning | | --- | --- | | cloud | Use hosted Cumulus DB through hosted Relay/Cumulus Cloud. | | local | Include apps/cumulus-db and run the Apache-2.0 Cumulus DB service locally. | | both | Include the local service and keep the hosted path documented. |

Defaults:

  • full, inner, and agent-auth default to both.
  • outer defaults to cloud and does not get local DB files or DB UI unless you explicitly choose a local DB mode.

The local Cumulus DB service is Apache-2.0. Generated projects that include it default to Apache-2.0. Small hosted agent-auth --cumulus-db cloud projects stay MIT.

Local DB projects include these scripts:

npm run cumulus-db:build
npm run cumulus-db:start
npm run cumulus-db:test
npm run cumulus-db:smoke
npm run cumulus-db:workspace

The generated .env.example includes these Cumulus DB settings when the local service is present:

CUMULUS_DB_PUBLIC_URL=http://localhost:4317
CUMULUS_DB_INTERNAL_URL=http://localhost:4317
CUMULUS_DB_MASTER_KEY=replace-with-32-byte-base64-key
CUMULUS_DB_RELAY_WEBHOOK_SECRET=replace-with-relay-tenant-webhook-secret
CUMULUS_DB_DATA_DIR=.cumulus-db-data
CUMULUS_DB_PORT=4317

Use a persistent disk for CUMULUS_DB_DATA_DIR in production. The local service is useful for self-hosting, demos, and private development. Hosted Cumulus DB needs cloud credentials from hosted Relay/Cumulus Cloud.

Flags

create <project-name>
  --template full|outer|inner|agent-auth
  --agent-auth hosted|self-hosted
  --cumulus-db cloud|local|both
  --with auth,db,knowledge
  --install-runtimes | --no-install-runtimes
  --company "Acme Inc"
  --package-manager npm|pnpm|yarn|bun
  --install | --no-install
  --git | --no-git
  --dry-run

--with auth,db,knowledge is the default. It makes the generated project ready for the core Cumulus Create flow: user intent, agent signup, project bootstrap, Knowledge second brain, and Cumulus DB progress writes.

--install-runtimes runs dependency install and then installs the optional Rust and Python Knowledge runtimes through cmls-knowledge-setup --all.

If flags are missing in a TTY, the CLI asks for them. In non-interactive mode it defaults to full, hosted, npm, no install, and no git init.

my-acme and my-cumulus-app are treated as placeholder names. If you pass one of those and provide --company "Acme Inc", the generated folder and package name are derived from the company name. Pass any other first argument when you need an exact folder name.

Licenses

The @cmls/create package is MIT-licensed.

Generated full, inner, and self-hosted templates include the Relay app and server and default to Apache-2.0. Small hosted outer and agent-auth templates default to MIT unless they include local Cumulus DB.

Cloud-only does not always mean MIT. full and inner still include the Relay dashboard/server pieces, so they remain Apache-2.0 even when they point at hosted Cumulus DB.

Generated public app code talks to Cumulus DB over HTTP/token APIs. It does not import source from apps/cumulus-db.