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

@teqfw/github-flows

v0.1.1

Published

Event-driven workflows for repository-based agent execution.

Downloads

156

Readme

github-flows

@teqfw/github-flows is a TeqFW library that exposes a fixed GitHub webhook ingress and starts at most one isolated execution for each admitted event.

It is not a standalone application. The host application owns process lifecycle, runtime infrastructure, and startup orchestration.

If you want a ready-to-run web server application built on top of this package, see github-flows-app. That application provides the runtime wrapper around this package and may add extra services or host-level behavior.

This package is the base functionality. Wrappers can extend it with additional runtime services, deployment behavior, or other host-specific features without changing the package boundary.

Public Surface

  • Github_Flows_Config_Runtime for package runtime configuration.
  • Github_Flows_Event_Attribute_Provider_Holder for one optional host-provided event-attribute provider.
  • Github_Flows_Web_Server for starting the HTTP ingress surface.
  • Github_Flows_Web_Handler_Webhook for the public webhook handler surface.

Package Scope

The package:

  • accepts GitHub webhook requests only on /webhooks/github;
  • derives package-owned event attributes;
  • may ask the host for additional event attributes for the current admitted event;
  • resolves candidate profiles from workspaceRoot/cfg/;
  • selects zero or one effective execution profile;
  • delegates the permitted execution to the host runtime boundary.

The package does not:

  • own deployment or container infrastructure;
  • own process lifecycle;
  • interpret task meaning;
  • orchestrate multiple executions;
  • maintain cross-event decision state.

Host Startup

The host should initialize the package in this order:

  1. create the runtime configuration DTO;
  2. configure Github_Flows_Config_Runtime;
  3. optionally register one Github_Flows_Event_Attribute_Provider;
  4. resolve Github_Flows_Web_Server;
  5. start the web server.

Runtime Configuration

The runtime configuration is flat and uses these fields:

  • httpHost - optional, defaults to 127.0.0.1;
  • httpPort - optional, defaults to 3000;
  • workspaceRoot - required;
  • runtimeImage - required;
  • webhookSecret - required.

Event Attribute Provider

The optional host-provided provider must implement:

async getAttributes({ headers, loggingContext, payload })

The provider returns additional attributes for the current admitted event only. It does not return execution permission.

Release Contents

The npm package publishes:

  • src/
  • ai/
  • README.md
  • CHANGELOG.md
  • LICENSE
  • types.d.ts