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

@skelm/gateway

v0.4.3

Published

skelm gateway — long-running orchestrator owning config, registries, permissions, audit, agent lifecycle, and the HTTP surface

Readme

@skelm/gateway

The long-running orchestrator at the heart of skelm — owns config, registries, permission enforcement, audit, agent lifecycle, and the HTTP surface.

npm

Part of skelm.

The gateway is the canonical trust boundary and the home of every persistent concern:

  • Config — loads skelm.config.ts, watches for changes, hot-reloads on edit or SIGHUP.
  • Registries — workflows, skills, MCP servers, agents (ACP + coding agents), triggers.
  • Enforcement — permission resolution, secret resolution, hash-chained audit log, approval gating.
  • Process & session lifecycle — supervises resident coding agents (e.g. opencode serve), spawns ephemeral agents per step, persists ACP sessions across restarts.
  • HTTP surface — sync / async runs, SSE event streams, idempotency, approvals, sessions.
  • Scheduler — fires cron / interval / webhook / poll / queue triggers into registered workflows.

Install

npm install @skelm/gateway

The gateway is normally driven through the skelm CLI:

skelm gateway start                # Run the gateway (foreground; Ctrl-C drains and exits)
skelm gateway status               # Inspect a running gateway
skelm gateway stop                 # Stop it (sends SIGTERM, waits for drain)
skelm gateway install --systemd    # Install a user-level systemd unit

There is no separate skelm-gateway executable — the gateway always runs from the single skelm bin.

Programmatic use

import { createGateway } from '@skelm/gateway'

const gateway = await createGateway({
  configPath: './skelm.config.ts',
  http: { host: '127.0.0.1', port: 4711 },
})

await gateway.start()
// ...
await gateway.stop()

HTTP surface

The HTTP API speaks JSON over h3, with SSE for run event streams.

| Method | Path | Purpose | | ------ | ----------------------------------- | ------------------------------------ | | GET | /health | Liveness | | GET | /registry/workflows | List registered workflows | | POST | /runs | Start a run (sync or async) | | GET | /runs/:id | Fetch a run by id | | GET | /runs/:id/events | SSE stream of run events | | POST | /runs/:id/cancel | Cancel an in-flight run | | POST | /approvals/:id/{approve,deny} | Resolve a pending approval | | GET | /audit | Tamper-evident, hash-chained audit | | GET | /v1/dashboard/* | Read-only aggregations for dashboards (demo) | | GET | /v1/workflows | List explicitly registered workflows | | POST | /v1/workflows/{validate,register} | Compile-check or register a workflow — JSON { source: { type: "path", path } } or a multipart/form-data .zip upload | | PUT/DELETE | /v1/workflows/:id | Replace / unregister a registered workflow | | POST | /v1/batch/{runs,cancel} | Fan-out start / cancel; per-item outcome with stable description category; default 50-item cap (configurable via GatewayOptions.batch.maxItemsPerRequest) | | GET/PATCH | /v1/config | Sanitized config + hot-update whitelist |

See docs/reference/ for the full schema, and docs/guides/production-hardening.md for the production deployment checklist (reverse proxy, Postgres, secrets).

Why a separate package?

The runtime + builders (@skelm/core) are small and dependency-light by design. Spinning up an HTTP server, a SQLite/Postgres run store, an audit chain, an approval queue, and a scheduler costs more — both in install size and in setup complexity. Pulling those into a separate package keeps the meta skelm package small for users who only want to author and run workflows from the CLI.

Stability

0.x — APIs may change between minor versions until v1.

Contributing

See the contributing guide.

License

MIT