Metadata-Version: 2.5
Name: cindra-ia
Version: 0.1.0
Summary: CLI de chat com IA usando prompt_toolkit: menu interativo, editor inline e salvamento automático de arquivos.
Project-URL: Homepage, https://github.com/Loonie-json/cindra_Ia
Project-URL: Repository, https://github.com/Loonie-json/cindra_Ia
Author-email: Loonie <alyson.matheus06@gmail.com>
License: MIT
License-File: LICENSE
Keywords: chat,cli,ia,prompt-toolkit,terminal
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Requires-Dist: prompt-toolkit>=3.0
Provides-Extra: dev
Requires-Dist: build>=1.0; extra == 'dev'
Requires-Dist: pytest>=7.0; extra == 'dev'
Requires-Dist: twine>=5.0; extra == 'dev'
Description-Content-Type: text/markdown

# cindra-cli

CLI de chat com IA no terminal, com menu interativo de modo, editor inline multilinha e salvamento automático de arquivos retornados pela IA.

## Instalação

```bash
pip install cindra-cli
```

## Uso

```bash
cindra
```

Ou direto pelo módulo:

```bash
python -m cindra_cli.main
```

## Variáveis de ambiente

| Variável | Padrão | Descrição |
| --- | --- | --- |
| `CINDRA_API_URL` | `https://cindra-ai.com.br/dev/api` | Endpoint da API |
| `CINDRA_SESSAO` | `criar` | Nome da sessão enviada na query string |
| `CINDRA_PASTA_SAIDA` | `./saida_ia` | Pasta onde os arquivos extraídos serão salvos |

## Atalhos

- No menu: `↑/↓` ou `j/k` navegam, `1..9` selecionam direto, `Enter` confirma, `Esc` cancela.
- No editor: `Enter` envia, `Alt+Enter` insere nova linha, `Ctrl+C` cancela, `Ctrl+D` envia o buffer atual.

## Desenvolvimento

```bash
pip install -e ".[dev]"
pytest
```

## Publicação no PyPI

```bash
python -m build
python -m twine upload dist/*
```

Use `__token__` como usuário e um API token do PyPI como senha.

## Licença

MIT