Metadata-Version: 2.4
Name: codenova
Version: 0.1.1
Summary: Terminal companion for Codenova — ingest repos, chat with your codebase, and run the autonomous code-edit agent from the CLI.
Project-URL: Homepage, https://codenova-umber.vercel.app/
Project-URL: Repository, https://github.com/Rahulv1130/Codenova
Requires-Python: >=3.9
Requires-Dist: httpx>=0.28
Requires-Dist: prompt-toolkit>=3.0.43
Requires-Dist: pydantic>=2.9
Requires-Dist: pyfiglet>=1.0
Requires-Dist: rich>=13.9
Requires-Dist: tomli-w>=1.0
Requires-Dist: tomli>=2.0; python_version < '3.11'
Requires-Dist: typer>=0.15
Description-Content-Type: text/markdown

# codenova

Terminal companion for [Codenova](https://codenova-umber.vercel.app/) — ingest GitHub repos, chat with your codebase (RAG), and run the autonomous code-edit agent, all from the command line.

## Install

```bash
pipx install codenova
# or
pip install codenova
```

## Quick start

```bash
codenova login              # opens your browser to sign in (GitHub OAuth or password)
codenova repo add <github_url> --watch
codenova ask "How does auth work in this repo?"
codenova chat                # interactive RAG chat REPL
codenova edit start <repo> "Add input validation to the signup form"
```

Run `codenova` with no arguments to drop into an interactive shell — type commands without the `codenova` prefix, with live suggestions as you type:

```
$ codenova
codenova> repo list
codenova> chat
```

## Commands

| Command | Description |
|---|---|
| `login` / `logout` / `whoami` | Authenticate |
| `repo add / list / status / refresh / rm / use` | Manage indexed repositories |
| `ask` / `chat` | One-shot or interactive RAG chat over a repo |
| `edit start / status / diff / approve / reject / refine / list` | Autonomous code-edit agent with a live activity feed |
| `config get / set / list` | Local CLI configuration (`~/.codenova/config.toml`) |

## Configuration

The CLI talks to the hosted Codenova backend by default. To point it elsewhere (e.g. a local dev server):

```bash
codenova config set core.api_url http://localhost:8000/api/v1
codenova config set core.frontend_url http://localhost:3000
```

or via environment variables: `CODENOVA_API_URL`, `CODENOVA_FRONTEND_URL`, `CODENOVA_TOKEN`.

## Links

- [Codenova app](https://codenova-umber.vercel.app/)
- [Source & issues](https://github.com/Rahulv1130/Codenova)
