Metadata-Version: 2.4
Name: breey
Version: 0.3.0
Summary: Breey - 你的智能命令行助手
Author-email: Your Name <your.email@example.com>
License: MIT
Project-URL: Homepage, https://github.com/yourusername/breey
Project-URL: Repository, https://github.com/yourusername/breey.git
Project-URL: Documentation, https://github.com/yourusername/breey#readme
Keywords: cli,ai,assistant,terminal,chatbot
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: click>=8.0.0
Requires-Dist: rich>=13.0.0
Requires-Dist: httpx>=0.24.0
Requires-Dist: langgraph>=0.0.1
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: black>=23.0.0; extra == "dev"
Requires-Dist: ruff>=0.1.0; extra == "dev"

# Breey - 你的智能命令行助手

[![PyPI version](https://badge.fury.io/py/breey.svg)](https://pypi.org/project/breey/)
[![Python Support](https://img.shields.io/pypi/pyversions/breey.svg)](https://pypi.org/project/breey/)

Breey 是一个智能命令行助手，支持 AI 对话、天气查询、传感器数据等功能。

## ✨ 功能特性

- 🤖 **AI 对话** - 支持 Ollama、OpenAI、Anthropic、Minimax 等多种 AI 服务
- 🌤️ **天气查询** - 实时查询全国城市天气信息
- 📊 **传感器数据** - 支持树莓派传感器数据查询（可选）
- 📁 **文件读取** - 支持文件读取与语法高亮
- 🛠️ **工具扩展** - 支持网页搜索等工具调用
- 🎯 **智能路由** - 基于 LangGraph 的多 Agent 路由系统

## 🚀 快速开始

### 安装

```bash
pip install breey
```

### 使用

进入交互模式：

```bash
breey
```

或者使用子命令：

```bash
breey hello
breey read myfile.py
breey logs -n 50
breey config --show
```

## 📖 指令说明

### 交互模式指令

- `/help` - 查看所有可用指令
- `/model` - 配置 AI 服务
- `/model show` - 查看当前 AI 配置
- `/model reset` - 重置 AI 配置
- `/read <文件>` - 读取文件
- `/config name <名字>` - 设置称呼
- `/logs` - 查看日志
- `/logs -n 50` - 查看最近 50 条日志
- `/clear` - 清空屏幕
- `/exit` - 退出

### 命令行子命令

```bash
breey hello                    # 打招呼
breey read <文件>              # 读取文件
breey logs [-n 数量]           # 查看日志
breey config [选项]            # 配置管理
breey chat                     # 进入交互模式
```

## 🔧 配置

首次运行会自动引导配置 AI 服务：

1. 选择 AI 提供商（Ollama / OpenAI / Anthropic / Minimax）
2. 输入 API Key（如需要）
3. 选择模型

## 📦 开发安装

```bash
git clone https://github.com/yourusername/breey.git
cd breey
pip install -e ".[dev]"
```

## 🤝 贡献

欢迎提交 Issue 和 Pull Request！

## 📄 许可证

MIT License

## 📬 联系方式

- GitHub: [@yourusername](https://github.com/yourusername)
- Email: your.email@example.com
