# Pi Hebrew RTL Extension

Adds right-to-left (RTL) support for Hebrew text in Pi conversations.

## Features

- Automatically detects Hebrew text in user input and assistant responses
- Wraps Hebrew-containing text blocks with Unicode RTL control characters
- Improves display of mixed Hebrew/English text in terminal applications

## Installation

```bash
pi install git:github.com/urizafrir/pi-hebrew-rtl.git
```

Or install manually:

```bash
mkdir -p ~/.pi/agent/extensions/pi-hebrew-rtl
cd ~/.pi/agent/extensions/pi-hebrew-rtl
git clone https://github.com/urizafrir/pi-hebrew-rtl.git .
```

## Usage

The extension works automatically once installed. Hebrew text will be properly displayed in:

- User messages (input)
- Assistant responses

No configuration or commands needed.

## Development

```bash
# Clone the repository
git clone https://github.com/urizafrir/pi-hebrew-rtl.git
cd pi-hebrew-rtl

# Test the extension
echo "Test the extension with:"
echo "pi -e ./index.ts"
```

## License

MIT
