Metadata-Version: 2.4
Name: smart-cli-ai
Version: 0.1.0
Summary: A lightweight, zero-dependency AI terminal assistant
Home-page: https://github.com/jiu99203/smart-cli-ai
Author: jiu99203
Project-URL: Bug Tracker, https://github.com/jiu99203/smart-cli-ai/issues
Project-URL: Source Code, https://github.com/jiu99203/smart-cli-ai
Keywords: cli ai terminal openai shell git assistant productivity
Classifier: Development Status :: 4 - Beta
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
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license-file
Dynamic: project-url
Dynamic: requires-python
Dynamic: summary

﻿<div align="center">

# 🤖 Smart CLI AI

**Lightweight, Zero-Dependency AI Terminal Assistant**

*Convert Natural Language to Shell Commands · Diagnose Terminal Errors · Auto-Generate Git Commits*

[![Python Version](https://img.shields.io/badge/python-3.8%2B-blue.svg)](https://www.python.org/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Dependencies](https://img.shields.io/badge/dependencies-0%20third--party-brightgreen.svg)](#features)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/jiu99203/smart-cli-ai/pulls)

[English](./README.md) | [简体中文](#-简体中文)

</div>

---

## 🔥 Key Features

- **⚡ Zero Third-Party Dependencies**: Built 100% with standard Python libraries (`urllib`, `argparse`, `json`). Lightweight and instant startup.
- **💡 Natural Language to Shell (`smart-cli do`)**: Turn descriptions into executable bash/zsh/powershell commands instantly.
- **🔍 Intelligent Error Diagnosis (`smart-cli fix`)**: Feed terminal errors directly into AI to get root-cause analysis and step-by-step solutions.
- **📝 Automated Git Commits (`smart-cli commit`)**: Analyzes your `git diff --cached` and auto-generates Conventional Commit messages.
- **🌐 Provider Agnostic**: Native support for OpenAI, DeepSeek, Ollama, Moonshot, SiliconFlow, or any OpenAI-compatible API endpoint.

---

## 🚀 Quick Start

### Installation

Install locally in editable mode or directly via pip:

```bash
pip install smart-cli-ai

