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

@silvermoon-work/task-engine-server

v0.2.0

Published

Generic authenticated Node HTTP/SSE task server.

Readme

Task Engine Server

Generic Node HTTP/SSE programmatic assembly. Requests carry fixed Bundle references; there is no type registry or discovery. It reuses generic artifact primitives, without Checker/Objective business hosts or a production Task SDK dependency. See Engine guide.

import { startTaskServer } from "@silvermoon-work/task-engine-server";
const server = await startTaskServer(trustedOptions);
console.log(server.url); // listening, Store claimed, recovery complete
await server.close(); // rejects when physical cleanup cannot be confirmed

This package exposes a programmatic API only; no pguide command is included. The caller owns SIGINT/SIGTERM handlers; this API preserves injected ipfsStore, authorize, resolveCaller, and resource ownership. SQLite is the default; programmatic Store injection is supported. Injection does not transfer Store ownership unless ownStore: true. The default shutdown budget is 15,000ms and must cover the configured stopGraceMs + forceExitWaitMs (both default to 5,000ms). Shorter compositions must explicitly configure all three budgets; startup rejects inconsistent limits. The 30,000ms request timeout is not an SSE response lifetime.

Inject a caller-owned IpfsStore as ipfsStore. It can be shared with Builder; Server/Engine close does not close it. Deprecated raw ipfsClient injection remains an explicit block-port adapter. IpfsStore.fromClient adapts caller-owned block sources, including the read-only createIpfsGatewayClient from @silvermoon-work/task-engine. Gateway needs no Kubo RPC; publishing/pinning remains separate. Engine shutdown never stops the source, closes the client, or removes shared pins. Configure optional bundleLimits/bundleConcurrency, explicit gateway host policy allowGateway, and the existing authorization/HTTP/Engine limits. types, currentVersions, and allocationLimits are rejected legacy configuration. bindService(engine) remains a trusted composition hook, not registration. SQLite v5 refuses old databases before mutation; explicitly select a new path. Check/Probe Task Bundles use root CID references; their business artifact formats and business URL/Digest inputs are unchanged. Diagnostic logging is configured independently with ServerOptions.logs. Authenticated Run history and SSE are available at /runs/:id/logs and /runs/:id/logs/events; they use Run read scope authorization, not lifecycle history. See Run Logs for the sole v1 diagnostic contract, bounded retention, receipts, and local tarball/standalone UI instructions.