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-cline

v0.1.2

Published

Cline provider extension for pi

Readme

pi-cline

npm cline

Cline provider extension for pi.

Use Cline's models directly from pi through Cline's authenticated API flow. pi-cline works as a compatibility layer between pi and Cline:

  • Builds Cline-style prompts and requests
  • Parses Cline XML tool calls
  • Maps them back into pi's runtime
  • Currently exposes free models only

Installation

pi install npm:pi-cline

Authentication

  1. Open pi and enter /login.
  2. Select Cline from the provider list.
  3. A browser window will open to the Cline login page — sign in with your Cline account.

Prompt construction

Pi messages are repackaged into the structure Cline models expect.

  • Injects Cline-style operating rules and runtime/system information
  • Wraps user input into task or resumption form
  • Appends environment details such as cwd, workspace snapshot, time, CLI tools, and context usage
  • Feeds tool results back as the next-turn context
  • Preserves turn state so later turns can continue with consistent tool semantics

Tool mapping

| Cline tool | Pi runtime | Handling | | --- | --- | --- | | read_file | read | Direct mapping | | write_to_file | write | Direct mapping | | replace_in_file | edit, write | Single SEARCH/REPLACE block → edit, Otherwise apply diff and write | | execute_command | bash | Direct mapping | | list_files | bash | Converted into a find command | | search_files | bash | Converted into an rg command | | list_code_definition_names | bash | Converted into an rg-based definition scan | | attempt_completion | final assistant text | Completion-only; no local tool call | | act_mode_respond, plan_mode_respond, ask_followup_question | display-only | Preserved as prompt/display semantics |

Optional tools

| Cline tool | If pi provides the same runtime tool | If pi does not provide it | | --- | --- | --- | | use_mcp_tool | Forward to runtime tool | Synthetic, no-op compatibility handling | | access_mcp_resource | Forward to runtime tool | Synthetic, no-op compatibility handling | | browser_action | Forward to runtime tool | Synthetic, no-op compatibility handling | | web_fetch, web_search | Forward to runtime tool | Synthetic, no-op compatibility handling | | new_task, load_mcp_documentation | Forward if available | Synthetic, no-op compatibility handling |

Requirements

  • pi >= 0.49.0
  • A Cline account
  • Network access to https://api.cline.bot

License

MIT