# cline-pi

Cline provider extension for [pi](https://pi.dev) with dynamic model fetching and dual auth.

## Install

```bash
pi install npm:cline-pi                  # from npm
pi install git:github.com/jh0nz/cline-pi # from GitHub
pi -e npm:cline-pi                       # one-shot from npm
pi -e git:github.com/jh0nz/cline-pi      # one-shot from GitHub
```

## Auth

- Set `$CLINE_API_KEY` env var → auto-authenticated, no login prompt
- Run `/login` → choose **Cline** → pick **API key** or **Sign in with an account** (WorkOS OAuth)

## Models

Fetched live from Cline's model catalog at startup (1h disk cache). 346+ models including free, usage-billing, and ClinePass models in one unified list.

## Development

```bash
git clone git@github.com:jh0nz/cline-pi.git
cd cline-pi
pi install .
```
