# llm-rovodev

[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](./LICENSE)

Plugin for [LLM](https://llm.datasette.io/) adding a model called `rovodev` that shells out to `acli rovodev run` and returns the parsed response.

## Installation

Install this plugin in the same environment as LLM:

```bash
llm install llm-rovodev
```

To learn more about installing and using the Rovo Dev CLI itself, see:
[Introducing Rovo Dev CLI – AI-Powered Development in your terminal](https://community.atlassian.com/forums/Rovo-for-Software-Teams-Beta/Introducing-Rovo-Dev-CLI-AI-Powered-Development-in-your-terminal/ba-p/3043623).

## Usage

This plugin adds a model called `rovodev`. You can execute it like this:

```bash
llm -m rovodev "What is 2+2?"
```

By default it parses the box-drawn "Response" section from the external `acli rovodev run` output and prints just that content.

Return raw stdout (including banners and box drawing) using `-o raw`:

```bash
llm -m rovodev -o raw true "What is 2+2?"
```

Notes:
- The plugin executes an external CLI: `acli rovodev run`. Override the binary path via `ACLI_BIN` if needed (e.g. `ACLI_BIN=/path/to/acli`).
- Advanced features are intentionally not supported: no API keys, no schemas, no tools, no attachments, no token usage tracking, etc.

## Development

To set up this plugin locally:

```bash
python3 -m venv venv
source venv/bin/activate
pip install -e .
pip install pytest
pytest
```
