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

composio-x-pi

v0.0.5

Published

Pi extension that exposes Composio-backed runtime and authoring tools.

Readme

Composio x Pi Extension

Pi package that installs a Pi extension for Composio-backed runtime and authoring tools.

Install

Install the published npm package with Pi:

pi install npm:composio-x-pi

For a pinned version:

pi install npm:[email protected]

During development, install from a local checkout:

cd /path/to/composio-x-pi
bun install
pi install /path/to/composio-x-pi

Try the extension for one Pi run without adding it to settings:

pi -e /path/to/composio-x-pi/src/index.ts

After editing an installed local checkout, use /reload inside Pi.

Publishing

This package is intended to be installed through Pi's npm package source, so releases should be published to npm under the composio-x-pi package name:

bun run test
bun run typecheck
bun run build
npm publish

Configuration

This extension is explicitly API-key based. Running composio login in a shell is not used by the Pi extension; the extension only reads a Composio API key that you provide directly.

Recommended setup inside Pi:

/composio-init

The command prompts for your key and stores it in ~/.pi/agent/extensions/composio-x-pi.json with file mode 0600. You can also pass the key as an argument (/composio-init <key>), but the interactive prompt avoids leaving the key in chat history.

Environment override:

  • COMPOSIO_API_KEY — if set, this takes precedence over the stored key.

Optional environment variables:

  • COMPOSIO_PI_MODE=authoring|worktree — defaults to worktree; authoring enables trigger-authoring tools.
  • COMPOSIO_PI_IPC_SOCK — override the local Unix socket path used by save_automation_local.
  • COMPOSIO_PI_WEBHOOK_TEST_URL — endpoint used by test_webhook_delivery to fire a local test webhook.
  • COMPOSIO_PI_EVENT_POLL_URL — endpoint used by test_webhook_delivery to poll for received events.

Commands

  • /composio-init — securely prompt for and store the Composio API key used by this extension.

Tools

Always registered:

  • composio_debug_info
  • composio_search_tools
  • composio_get_tool_schemas
  • composio_execute_tool
  • composio_manage_connections

Authoring-only:

  • composio_list_trigger_types
  • composio_get_trigger_type_schema
  • composio_create_trigger
  • composio_list_triggers
  • composio_toggle_trigger
  • composio_delete_trigger
  • test_webhook_delivery
  • save_automation_local

Local scripts

  • bun test
  • bun run typecheck
  • bun run build
  • bun run test:integration
  • bun run dev:pi
  • bun run dev:ipc-stub

bun run dev:pi loads the extension from src/index.ts through Pi's embedding API. bun run dev:ipc-stub starts a JSON-line Unix socket server that accepts saveAutomationLocal requests for local testing.