# pi-thinking

[![npm version](https://img.shields.io/npm/v/pi-thinking.svg)](https://www.npmjs.com/package/pi-thinking)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

> [!NOTE]
> Muted, themed rendering for thinking blocks in [pi](https://github.com/badlogic/pi-mono) — calmer colors, dim syntax highlighting inside fenced code, and a themed `"Thinking"` label.

## Visuals

![Thinking block rendering 1](docs/screenshots/screenshot1.png)
![Thinking block rendering 2](docs/screenshots/screenshot2.png)
![Thinking block rendering 3](docs/screenshots/screenshot3.png)

## Installation

### Using npm (Recommended)

```bash
pi install npm:pi-thinking
```

### Using Git

```bash
pi install git:github.com/danielcherubini/pi-thinking
```

### Local development

Symlink or copy this folder into pi's global extensions directory:

```bash
ln -s /path/to/pi-thinking ~/.pi/agent/extensions/pi-thinking
```

Or add the entry path to `~/.pi/agent/settings.json`:

```json
{ "extensions": ["/path/to/pi-thinking/src/index.ts"] }
```

## Requirements

- [pi agent](https://github.com/badlogic/pi-mono)

## License

MIT
