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

pi-gstack-bridge

v0.1.1

Published

Pi-native agent bridge for gstack review and specialist workflows.

Readme

pi-gstack-bridge

CI Publish npm npm downloads License Pi package Trusted Publishing

Pi-native agent bridge for gstack. Routes review, challenge, design, and second-opinion work through child Pi sessions instead of directly launching Codex, Claude, or Gemini CLIs.

What this is

pi-gstack-bridge is the routing and safety boundary for pi-gstack. It embeds pi-gstack's skills, safety hooks, compatibility helpers, and commands while filtering its legacy Agent/Task registrations. The bridge then supplies Pi-routed replacements for those tools. Codex can remain the selected provider/model (openai-codex/...), while Pi owns the child launch, authentication, timeout, cancellation, tool allowlist, and Windows executable resolution.

Features

  • Pi-routed Agent and Task compatibility tools
  • gstack_pi_agent for specialist work
  • gstack_pi_review for independent read-only review
  • gstack skills, safety hooks, compatibility helpers, and commands without a second gstack extension
  • Direct codex, claude, and gemini CLI blocking
  • Windows npm-shim-safe Pi CLI resolution
  • Local run artifacts and diagnostics

Install

pi install npm:pi-gstack-bridge

Do not load npm:pi-gstack separately in the same settings file. The bridge loads its gstack surface internally and removes the duplicate Agent/Task registrations before Pi validates extension tools. This avoids the startup error Tool "Agent" conflicts with ....

Quick start

/gstack-bridge:status
/gstack-bridge:doctor

The tools are available to gstack workflows automatically:

{
  "task": "Review this branch for production regressions and security issues.",
  "mode": "review",
  "readOnly": true
}

Configuration

| Variable | Purpose | | --- | --- | | PI_GSTACK_BRIDGE_CLI | Explicit pi-coding-agent/dist/cli.js path | | PI_GSTACK_BRIDGE_PI_BIN | Explicit Pi executable or npm shim | | GSTACK_PI_BRIDGE_MODEL | Default child model when the parent has none | | GSTACK_PI_BRIDGE_RUN_DIR | Override local run-artifact directory |

Package contents

  • extensions/index.ts — Pi tools, routing prompt, guardrails, commands
  • pi-gstack dependency — gstack skills, safety hooks, compatibility helpers, and commands, loaded through the bridge
  • lib/pi-launcher.ts — cross-platform Pi launch-plan resolver
  • lib/runner.ts — child Pi runner and artifacts
  • lib/policy.ts — direct-model-CLI and read-only shell policy
  • skills/gstack-pi-bridge/SKILL.md — gstack routing instructions

Development

npm ci
npm run ci
pi -e .

Release

See docs/release.md. Publishing uses npm Trusted Publishing; long-lived npm tokens are not supported.

Security

This package executes Pi child processes with local-user permissions. Read SECURITY.md before installing it in an untrusted repository.

Links

License

MIT