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

@lwelliott/cortex-spm

v1.7.0

Published

CLI-driven software project manager with a React dashboard and AI chat integration

Readme

@lwelliott/cortex-spm

CLI-driven software project manager — run a daemon, manage projects through a React dashboard, and chat with AI agents — all from one binary.

npm version License Node Tests GitHub last commit


Overview

Cortex-SPM is a service management and project dashboard tool. It runs as a background daemon, exposes a REST + WebSocket API, and serves a React-based frontend for managing software projects, tasks, reviews, test reports, and documents.

It depends on cortex-cli for project metadata management and auditing.

Quick Start

# Install globally
npm install -g @lwelliot/cortex-spm

# Build and start the daemon
cortex-spm start

# Open the dashboard
open http://localhost:16888

Features

CLI Daemon

  • Lifecycle managementstart, stop, restart, status commands with PID-based process control
  • Token authentication — generate, list, and revoke API tokens
  • i18n — full English and Chinese localization for all CLI messages
  • Single-binary build — esbuild bundles the entire application into one file with embedded web assets

Dashboard

  • Project Dashboard — system status cards, recent activity feed, WebSocket live updates
  • Kanban Board — 5-column status-based task management with detail panel
  • Task List — sortable/filterable table with status, owner, priority columns
  • Review Reports — card grid with verdict badges and findings detail view
  • Test Reports — card grid with pass/fail badges and test case results
  • Documents View — type-filtered document browser, sortable table, detail modal with markdown rendering
  • Document Relation Graph — SVG visualization of document relationships with color-coded hierarchy
  • SRC Source Code Display — load source files from the filesystem with syntax highlighting
  • Theme Switching — light/dark themes via CSS custom properties, persisted to localStorage
  • i18n — English/Chinese with locale-aware date/number formatting
  • Project Switcher — create, switch, and remove projects with context propagation

AI Chat

  • ACP Bridge Provider — WebSocket-based chat via backend ACP proxy
  • Chat UI — streaming rendering, connection status, keyboard shortcuts, error retry
  • Configuration — agent command presets, session label, working directory, test connection
  • Chat History — per-agent + per-project history with dual-source persistence

API

  • REST API — CRUD for documents, tasks, reviews, test reports, and graph queries
  • WebSocket API — real-time events with heartbeat, reconnection, and message routing
  • Event Broadcasting — server-sent events for live UI updates

Architecture

Cortex-SPM is a single-file binary (esbuild bundle with embedded web assets). No external runtime dependencies beyond Node.js 18+.

cortex-spm/
├── src/
│   ├── bin/            CLI entry point
│   ├── lib/
│   │   ├── cli/        Parser, lifecycle, token commands
│   │   ├── config.js   Configuration defaults
│   │   ├── daemon/     PID file, daemon process
│   │   ├── auth/       Token store
│   │   ├── logging/    Structured logger
│   │   └── server/     HTTP + WebSocket servers
│   └── frontend/       React SPA + chat components
├── dist/               Build output
├── locales/            i18n translation files
├── prototype/          UI mockups and screenshots
├── pmp/                Project management database
├── releases/           Release notes
└── tests/              Automated test suites

Dependencies

  • cortex-cli — required for project metadata management and database auditing. Install it alongside cortex-spm for full functionality.

Testing

The project includes 2006 automated tests across 101 test files, all passing:

npm test

Test categories:

  • CLI and lifecycle tests
  • HTTP API and WebSocket tests
  • Frontend component and integration tests
  • ACP proxy and bridge provider tests
  • i18n and localization tests
  • Build and fixture tests

Changelog

See CHANGELOG.md for release history.

License

MIT — see LICENSE for details.