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

@hrevn/genkit-plugin

v0.2.0

Published

HREVN Genkit integration (Developer Alpha): thin wrapper around the HREVN managed integrity service.

Readme

HREVN Genkit Integration (Developer Alpha)

This repo is a Google / Genkit-facing wrapper surface for the live HREVN managed runtime.

Why HREVN

AI agents and multi-step workflows fail in ambiguous ways. When a sequence is interrupted, neither the user nor the system can always determine with certainty what completed, what failed mid-execution, and where work can safely resume. Without a verifiable record, context is reconstructed from memory or chat history, wasting tokens, repeating work, and leaving no reliable trail.

HREVN adds a structured evidence layer: baseline checks before consequential steps, tamper-evident receipts after execution, and manifests that allow workflows to continue from the last verified point rather than restarting from scratch.

For teams operating in regulated or high-stakes environments, HREVN also supports evidentiary discipline: structured records of what ran, under what authority, and when it stopped. This is particularly relevant for AI systems that may fall within EU regulatory timelines in 2026 and beyond. HREVN does not make a system legally compliant, but it provides structured, verifiable evidence that compliance, audit, and governance processes can use.

In Google / Genkit workflows, HREVN acts as a thin evidence layer over flows: baseline before consequential steps, tamper-evident receipt after execution, and structured records for audit and regulatory readiness without moving the core runtime into the wrapper.

What it is

  • a thin Google-facing wrapper
  • a reusable managed API client
  • a middleware path for baseline-before-flow and bundle-after-flow patterns
  • a public bridge to https://api.hrevn.com

Current supported alpha path:

  • client-first
  • flow-second
  • managed runtime behind https://api.hrevn.com

What it is not yet

  • not the private HREVN runtime
  • not a final production npm package
  • not a full Vertex SDK implementation
  • not a replacement for hrevn-core

Quick Start

npm install
npx hrevn-cli setup --key <issued-alpha-key>

For the supported technical alpha path, see:

  • docs/GOOGLE_ALPHA_TESTING.md
  • docs/ALPHA_EXECUTION_TRACE.md

The bootstrapper validates the live runtime connection, updates .env without deleting other variables, prints a real baseline result, and writes a hrevn_test_flow.ts example if it does not already exist.

Recommended test sequence

Run the tests in this order:

  1. npx hrevn-cli setup --key <issued-alpha-key>
  2. npx tsx examples/managed_api_client.ts
  3. npx tsx examples/treasury_transfer_flow.ts
  4. npx tsx examples/governance_gap_example.ts

First test: client

npx tsx examples/managed_api_client.ts

Second test: flow path

npx tsx examples/treasury_transfer_flow.ts

Optional third test: governance gap

npx tsx examples/governance_gap_example.ts

This intentionally sends an incomplete governance-oriented record so the live runtime returns:

  • missing_required_blocks
  • risk_flags
  • recommended_next_step
  • remedy_payload

The first test validates direct connectivity to the live managed API. The second test validates the middleware path around a simulated treasury flow. The optional third test shows why the remedy path matters when governance evidence is still incomplete.

What is already proven in this repo

  • the TypeScript client can call the live managed API
  • the middleware path can wrap a simulated treasury flow
  • the runtime stays behind https://api.hrevn.com

Included

  • src/client.ts
  • src/middleware.ts
  • src/adapters/vertex_metadata.ts
  • examples/managed_api_client.ts
  • examples/treasury_transfer_flow.ts
  • examples/governance_gap_example.ts
  • docs/integration/GENKIT_INTEGRATION.md
  • docs/bundle/GOOGLE_BUNDLE_DECISIONS.md
  • docs/references/AER_STANDARD_V1.md

Core rule

Google-specific metadata is extension only. It must not change canonical HREVN semantics.

Managed Runtime Bridge

The live managed endpoint is:

  • https://api.hrevn.com

Canonical semantics stay in the managed runtime and in the private HREVN core.

Current status

This is a technical alpha with a real developer test path. The supported first path is client-first and flow-second against the live managed runtime. It is not presented as a finished production package or a final Google-native distribution.

npm publication note

The package is intended to be published as a public developer alpha:

  • thin wrapper
  • real runtime behind https://api.hrevn.com
  • not a final Google-native SDK