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

specrails-core

v6.6.3

Published

Agent workflow engine for specrails-desktop: provider-independent installer and programmatic agent runtime for Claude Code and Codex

Downloads

4,067

Readme

specrails-core

CI npm License: MIT

The agent workflow engine behind Specrails Desktop. Core does two things:

  1. Installs the specrails workflow into a project for Claude Code, Codex CLI, Gemini CLI or Kimi Code: the implement and retry entry points (implement runs one ticket or several tickets as one aggregate run), provider settings and the official OpenSpec skills. The architect, developer and reviewer roles are defined by the runtime itself; no role file is installed.
  2. Executes Desktop-owned workflow definitions through the programmatic agent runtime: independent agent and implementation operations, per-role providers, deterministic verification, durable recovery and OpenAI-compatible local models. Desktop owns workflow composition and editable loop agents; Core retains the old builtin for saved runs.

Desktop bundles a pinned Core package and owns everything around it: worktrees, commits, pull requests, backlog and the user interface. Core never ships code on its own; it prepares a reviewed candidate for the host.

Commands

specrails-core init                Install specrails into a repository
specrails-core install-framework   Materialize the versioned framework (offline)
specrails-core swap-current        Point framework/current at a version (offline)
specrails-core assemble            Link the framework into a project workspace (offline)
specrails-core pipeline            Inspect and verify durable implementation phases
specrails-core runtime             Run, inspect and resume programmatic agents

Desktop calls init and the offline framework lifecycle, then launches dist/agent-runtime/cli.js directly. The machine-readable contract between both lives in integration-contract.json; the runtime configuration schema is schemas/agent-runtime.schema.json.

Layout

bin/specrails-core.mjs     npm bin shim → dist/installer/cli.js
src/installer/             CLI, framework lifecycle, provider rendering
src/pipeline/              pipeline journal, gates and verification receipts
src/agent-runtime/         programmatic runtime: graph, executors, compact loop, recovery
templates/                 workflow commands, provider settings, Kimi runner
schemas/                   runtime configuration schema and fixtures
integration-contract.json  Desktop ⇄ Core contract

Develop

Requires Node.js 20.19.0+ and Git.

npm ci
npm test               # build + typecheck + vitest
npm run ci             # full local CI: typecheck, script tests, coverage, package check

See CONTRIBUTING.md and CI and publishing.

License

MIT