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

@pome-sh/checks

v0.4.0

Published

Pome's grading vocabulary — the check declarations, seed schemas and default seeds of all five digital twins, plus the check DSL they are written in. Declarations only: no twin server, no database, no routes, no tools.

Readme

@pome-sh/checks

The grading vocabulary of Pome's five digital twins: the check declarations, the seed schemas and the default seeds, plus the check DSL they are written in.

Declarations only. No twin server, no database, no HTTP routes, no tool dispatch. If you want to run a twin, install @pome-sh/cli (npx @pome-sh/cli twin start github) or pull the twin's container image — this package cannot start one and does not try to.

npm install @pome-sh/checks zod

zod is a peer dependency, and installing your own copy is the point: the seed schemas are zod values, and two copies of zod in one process means two schema identities — instanceof fails and parsed results stop being interchangeable. One zod, one identity.

What it is for

A Pome task scores an agent with criteria. A [code] criterion is graded by a check: a declared, templated assertion over the twin's final state, its seed compared against its final state, or the recorded tape of tool calls. This package is where those declarations live, so the thing that grades a run and the twin that produced it agree on the vocabulary rather than each keeping its own copy of it.

Use

Everything under one specifier, with the seed helpers prefixed by twin:

import { GITHUB_CHECKS, TWIN_CHECKS, parseGitHubSeed, renderCheck } from "@pome-sh/checks";

const check = GITHUB_CHECKS.find((c) => c.id === "github.issue-closed");

Or one twin at a time, keeping that twin's own names:

import { GITHUB_CHECKS, parseSeed, seedSchema } from "@pome-sh/checks/github";

Subpaths: ./github, ./slack, ./stripe, ./gmail, ./linear, and ./dsl for the DSL alone.

| Export | What | | --- | --- | | GITHUB_CHECKS, SLACK_CHECKS, STRIPE_CHECKS, GMAIL_CHECKS, LINEAR_CHECKS | Each twin's declarations, in authoring order | | TWIN_CHECKS | The five arrays keyed by twin id | | CHECKS_TWIN_NAMES, ChecksTwinName | The five twin ids, and the type derived from them | | parse<Twin>Seed, <twin>SeedSchema, default<Twin>Seed | Seed contract per twin | | defineCheck, parseCheck, renderCheck, checkPattern, checksDigest, templateSlots, statePath, childStatePath | The DSL | | GitHubCheck, GmailCheck, LinearCheck, SlackCheck, StripeCheck | Each twin's check element type. Every twin declares its own Check<TArgs> over its own state, so the barrel prefixes them; the per-twin subpaths keep the plain name Check | | CheckDefinition, Check…State types | The generic declaration type, and each twin's state shape — what you want when the twin is a parameter rather than known | | VACUITY_SENTINEL, VACUITY_SENTINEL_NUMBER, VACUITY_SENTINEL_SNAKE | The values that mark an assertion no state can satisfy |

applySeed and loadSeedFromEnv are not exported. The first writes rows into a live SQLite database and the second reads process.env; both are twin runtime behaviour, not declarations.

Versioning

Pre-1.0, so ^0.x caret semantics apply and minor plays the major role:

  • Minor (0.N+1.0) — anything a consumer must act on: a check id renamed or removed, a template changed, a polarity flipped, a seed schema tightened, an engines floor bump.
  • Patch (0.N.x) — additive checks or exports, wording that does not change a pattern, internal implementation swaps behind an unchanged surface.

A grading vocabulary is a contract in a stricter sense than a normal library: a renamed check id does not break a build, it silently stops binding, and a criterion that stops binding scores nothing. Treat every id as public.

Where the source lives

Nowhere in this package. Every declaration is re-exported from the twin that owns it (packages/twin-*/src/check-*.ts) and the DSL from packages/sdk/src/checks.ts, all in pome-sh/digital-twins. Their compiled output is inlined here at build time, so this package declares no @pome-sh/* dependency and there is no second copy to drift.

Licence: Apache-2.0.