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

@intentic/gate

v1.338.0

Published

Run an intentic release gate from a CI pipeline, POST what the pipeline knows, wait for the run, exit on the verdict

Readme

gate

A small CLI, intentic-gate, that lets any CI pipeline wait on a sandbox release gate's verdict or run an agent turn, and exit on the result.

flowchart LR
    ci["CI job"] --> gate(["intentic-gate"])
    action["gate-action"] --> gate
    gate -->|"POST …/workflows/id/gate"| verdict["Release gate<br/>pass · fail · blocked"]
    gate -->|"run: POST /agent<br/>poll /agents/id"| turn["Agent turn<br/>own branch"]
    verdict --> exit["Exit code"]
    turn --> exit
  • Runs in CI, usually cold under npx, so it carries no schema library: readVerdict and readCard check the daemon's answers by hand, and the tests pin them to the contract's schemas.
  • The default command POSTs what the pipeline knows (arguments, or stdin) to a gate URL copied from the sandbox, which holds the connection until the gated workflow judges it. pass exits 0, fail exits 1, and blocked exits 0 unless --blocked says otherwise, because a gate that could not judge is not a broken build.
  • intentic-gate run starts a turn with a control token in its own conversation and branch, polls until it settles, and with --land merges it. A stopped turn or a refused land is failed; a land the owner's rules hold stays completed, not landed.
  • Exit 2 is never a verdict. It means the exchange failed (bad token, no such gate, the daily ceiling, the network, a card status this gate does not know), or a run's deadline passed while the agent keeps working in the sandbox.
  • The package also exports these functions to gate-action, which wraps them for GitHub: both doors run the same gateExchange and runExchange as the CLI, so a failure reads the same in a log and on a step.

Usage

git log -1 | intentic-gate --url "$INTENTIC_GATE_URL"
intentic-gate run --url "$INTENTIC_URL" --token "$INTENTIC_TOKEN" "Review this change"

Key files

  • src/cli.ts — the process: read stdin, one exchange, print the verdict, exit.
  • src/gate.ts — gate door: argument parsing, gateExchange (the request dial and the verdict read), exitOf.
  • src/run.ts — runExchange: start a turn, poll its card, land it, map the ending to an exit code.
  • src/gate.test.ts — the verdict reader held against GateVerdictSchema.

Commands

pnpm --filter @intentic/gate test