pi-hebrew-rtl

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

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

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

Or install manually:

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

# 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