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

@cortexmemory/templates

v1.4.1

Published

Independently versioned Cortex application template catalog and payloads

Readme

Cortex template catalog

@cortexmemory/templates is a data-only package. Catalog releases and application payload versions are independent of CLI/SDK releases. Consumers read catalog.json and payloads/<template-id>/<template-version>/; no application, SDK, provider, framework, graph or CLI dependency executes when reading this package.

The release script deliberately selects the three reviewed canonical sources. For the current runtime candidate, run node scripts/assemble-canonical.mjs --append to add application version 1.4.0 to catalog 1.3.0, preserving the existing 1.2.0 and 1.3.0 application payloads. Adding changed bytes to an existing application version is refused. Use node scripts/assemble-canonical.mjs --append /absolute/new-output to stage the combined package. The explicit npm run assemble replacement mode is reserved for intentionally replacing all owned catalog/payload outputs. Neither CLI build nor any package lifecycle runs assembly. The lower-level assembler also accepts an explicit JSON configuration and a new output directory:

node scripts/assemble.mjs /absolute/release-inputs.json /absolute/new-output

Configuration is { "catalogVersion": "1.3.0", "templates": [...] }. Each selection declares id (basic, vercel-ai-quickstart or chat-sdk), version, absolute source, portable provenance, manager (npm or pnpm), envNames, optional envExamples, and boolean backend/graph. The manifest version must match the selection. SDK/provider dependencies become release-default ^0.39.0; other manifest fields and source files retain their values. Proof candidate overrides belong to the CLI installer, never this catalog.

Assembly sorts paths, templates and declared environment names, normalizes the root manifest, records SHA256 of actual output bytes, and uses the CLI's payload hash rule. assembly.json additionally records selected original file hashes and transformations; it is not a published package member. There are no timestamps or absolute source paths in catalog/provenance receipts. Payload execution modes are normalized to 0644/0755.

Dependencies, locks, generated code, builds/caches, logs and local state are excluded. All .env* files are omitted unless explicitly listed credential-free .env.example, .env.sample, .env.local.example or .env.local.sample documentation. The release owner must review those opt-in examples as credential-free; assembly never reads real environment files or discovers host credentials. Included symlinks/hardlinks, portable path collisions and nonregular files are refused. Every source is fully validated before creating the output; existing output directories are refused.

Canonical Basic/Vercel/Chat assembly follows the accepted Task13 source handoff. The emitted directory includes a lifecycle-free package manifest and can be packed independently with ordinary npm pack. CLI builds do not invoke either assembler. Version 1.4.0 applications compose the SDK's complete versioned runtime backend with their private app schema and registrations. Retained 1.2.0 payloads use the separate reviewed legacy composer; a changed SDK closure must pass that composer's existing source checks before legacy integration can proceed.

Development checks: npm test, npm run typecheck, npm run lint. These use Node built-ins and existing workspace development tools; the package has no runtime dependencies. Complete CLI installation, graph setup, updates and current app/native coverage belong to Task12 integration and subsequent packaged validation.

For npm-sensitive .gitignore, .npmignore and next-env.d.ts members, optional storagePath names __catalog_files/<content-sha256>.bin inside that template's payload directory. The catalog retains the original canonical path, exact bytes, hash and mode. The CLI validates this fixed mapping before rendering the original file; ordinary path entries remain compatible. This keeps npm's ignore rules from silently removing required source files from a normal catalog pack.