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

@cogitator-ai/deploy

v0.1.3

Published

One-command deployment for Cogitator agents

Readme

@cogitator-ai/deploy

One-command deployment engine for Cogitator agents. Supports Docker and Fly.io targets with auto-detection of project configuration.

Installation

pnpm add @cogitator-ai/deploy

Quick Start

Via CLI

# Deploy to Docker (default)
cogitator deploy

# Deploy to Fly.io
cogitator deploy --target fly

# Dry run — see what would happen
cogitator deploy --dry-run

# Check status
cogitator deploy status

# Tear down
cogitator deploy destroy

Programmatic API

import { Deployer } from '@cogitator-ai/deploy';

const deployer = new Deployer();

// Plan deployment (preflight checks, no execution)
const plan = await deployer.plan({
  projectDir: process.cwd(),
  target: 'docker',
  noPush: true,
});

// Execute deployment
const result = await deployer.deploy({
  projectDir: process.cwd(),
  target: 'fly',
});

console.log(result.url); // https://my-app.fly.dev

Configuration

Add a deploy section to cogitator.yml:

deploy:
  target: fly
  port: 3000
  region: iad
  instances: 2
  registry: ghcr.io/myorg/myapp
  services:
    redis: true
    postgres: true
  secrets:
    - OPENAI_API_KEY
    - DATABASE_URL

Auto-Detection

The deploy engine automatically detects:

| What | Source | Example | | ---------------- | ----------------------------- | ---------------------------------- | | Server adapter | package.json dependencies | @cogitator-ai/express → Express | | Services | cogitator.yml memory config | adapter: redis → Redis service | | Required secrets | LLM provider configs | openaiOPENAI_API_KEY | | Ollama Cloud | Model suffix or API key | :cloud suffix → OLLAMA_API_KEY |

Deploy Targets

Docker

Generates a multi-stage Dockerfile and optional docker-compose.prod.yml:

cogitator deploy --target docker           # Build only
cogitator deploy --target docker --push    # Build + push to registry

Fly.io

Generates fly.toml and deploys via flyctl:

cogitator deploy --target fly --region iad

Requires flyctl installed and authenticated.

Architecture

ProjectAnalyzer  →  ArtifactGenerator  →  DeployProvider  →  Result
(detect config)     (Dockerfile, etc.)     (docker/fly)       (url, status)
  • ProjectAnalyzer — reads package.json and cogitator.yml to detect server, services, secrets
  • ArtifactGenerator — generates Dockerfile, docker-compose, fly.toml from templates
  • DeployProvider — executes preflight checks, builds, deploys (Docker or Fly.io)
  • Deployer — orchestrator that ties it all together

See Also