Metadata-Version: 2.4
Name: exoclaw-channel-cli
Version: 0.3.0
Summary: Interactive CLI channel for exoclaw
Requires-Python: >=3.11
Requires-Dist: exoclaw>=0.22.0
Requires-Dist: prompt-toolkit<4.0.0,>=3.0.50
Requires-Dist: rich<15.0.0,>=14.0.0
Requires-Dist: structlog>=25.0.0
Description-Content-Type: text/markdown

# exoclaw-channel-cli

Interactive CLI REPL channel implementing the exoclaw `Channel` protocol — rich markdown output, persistent input history, and clean terminal handling.

## Install

```
pip install exoclaw-channel-cli
```

## Usage

```python
from exoclaw_channel_cli.channel import CLIChannel

cli = CLIChannel(
    chat_id="direct",
    render_markdown=True,
)

await cli.start(bus)  # runs the interactive REPL until the user types exit or Ctrl+C
```

`CLIChannel` reads from stdin using `prompt_toolkit` (with file history at `~/.exoclaw/history/cli_history`), prints responses with `rich`, and publishes/consumes messages on the exoclaw `Bus`.
