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-provider-kiro

v0.3.2

Published

pi extension for Kiro API (AWS CodeWhisperer/Q) — 17 models across 7 families with OAuth authentication

Readme

pi-provider-kiro

A pi provider extension that connects pi to the Kiro API (AWS CodeWhisperer/Q), giving you access to 17 models through a single provider.

Models

| Family | Models | Context | Reasoning | |--------|--------|---------|-----------| | Claude Opus 4.6 | opus-4-6, opus-4-6-1m | 200K / 1M | ✓ | | Claude Sonnet 4.6 | sonnet-4-6, sonnet-4-6-1m | 200K / 1M | ✓ | | Claude Opus 4.5 | opus-4-5 | 200K | ✓ | | Claude Sonnet 4.5 | sonnet-4-5, sonnet-4-5-1m | 200K / 1M | ✓ | | Claude Sonnet 4 | sonnet-4 | 200K | ✓ | | Claude Haiku 4.5 | haiku-4-5 | 200K | ✗ | | DeepSeek 3.2 | deepseek-3-2 | 128K | ✓ | | Kimi K2.5 | kimi-k2-5 | 200K | ✓ | | MiniMax M2.1 | minimax-m2-1 | 128K | ✗ | | GLM 4.7 | glm-4-7, glm-4-7-flash | 128K | ✓ / ✗ | | Qwen3 Coder | qwen3-coder-next, qwen3-coder-480b | 128K | ✓ | | AGI Nova | agi-nova-beta-1m | 1M | ✓ |

All models are free to use through Kiro.

Setup

Install the provider:

pi install npm:pi-provider-kiro

Or install via npm directly:

npm install -g pi-provider-kiro

Then log in:

/login kiro

This opens a browser for AWS Builder ID authentication. If you have kiro-cli installed and already logged in, credentials are picked up automatically.

Usage

Once logged in, select any Kiro model in pi:

/model claude-sonnet-4-6

Reasoning is automatically enabled for supported models. Use /reasoning to adjust the thinking budget.

Development

npm run build       # Compile TypeScript
npm run check       # Type check (no emit)
npm test            # Run all 108 tests
npm run test:watch  # Watch mode

Architecture

The extension is organized as one feature per file:

src/
├── index.ts            # Extension registration
├── models.ts           # 17 model definitions + ID resolution
├── oauth.ts            # AWS Builder ID OAuth flow
├── kiro-cli.ts         # kiro-cli credential fallback
├── transform.ts        # Message format conversion
├── history.ts          # Conversation history management
├── thinking-parser.ts  # Streaming <thinking> tag parser
├── event-parser.ts     # Kiro stream event parser
└── stream.ts           # Main streaming orchestrator

See AGENTS.md for detailed development guidance and .agents/summary/ for full architecture documentation.

License

MIT