Metadata-Version: 2.4
Name: centicodehelp
Version: 0.2.0
Summary: Dein Code. Besser. Sauber. Cross-platform static and AI-assisted code & binary analysis and auto-fixing tool
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: click>=8.1.0
Requires-Dist: rich>=13.0.0
Requires-Dist: litellm>=1.40.0
Requires-Dist: tree-sitter>=0.23.0
Requires-Dist: tree-sitter-python>=0.23.0
Requires-Dist: pyyaml>=6.0.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: fastmcp>=0.1.0

# CentiCodeHelp – Mach deinen Code besser.

> **Dein Code. Besser. Sauber.**  
> Automatische Sicherheitsanalyse, Qualitätsprüfung und KI-gestützte Code-Reparatur.  
> *Version v0.2.0 • centi09.de*

---

## ⚡ Schnellstart

CentiCodeHelp bietet kinderleichte Befehle:

- **Hauptbefehl**: `centicodehelp`
- **Kurz-Aliase**: `cch` und `ct`

```bash
# 1. Schnelle statische Analyse (ohne KI)
cch scan

# 2. Vollautomatische Reparatur mit KI & automatischem .bak-Backup
cch fix samples/vulnerable_code.py

# 3. Schnellcheck einer einzelnen Datei
cch check samples/vulnerable_code.py

# 4. Reine KI-Analyse
cch ai samples/vulnerable_code.py

# 5. Interaktiver Einrichtungs-Assistent
cch setup
```

---

## 📂 Neue Projekt- und Workspace-Struktur

```
C:\CentiTools\
├── centicodehelp\      # Code-Analyse, KI-Audit, Auto-Fixing und CLI
├── config\             # Gemeinsame Konfigurationen (centicodehelp.yaml)
└── samples\            # Gemeinsame Testdateien (Python, JS, Java, C++)
```

---

## 🤖 MCP-Server & Antigravity-Integration

CentiCodeHelp beinhaltet einen nativen FastMCP-Server unter:
`C:\CentiTools\centicodehelp\centicodehelp_mcp.py`

### Verfügbare Tools:
- `centicodehelp_scan(pfad: str)`: Statische Analyse, liefert JSON-Findings.
- `centicodehelp_fix(pfad: str, provider: str, model: str)`: Automatische Reparatur mit Backup.
- `centicodehelp_providers()`: Listet alle KI-Anbieter & Modelle auf.
*(Aliase `centitool_scan`, `centitool_fix`, `centitool_providers` bleiben abwärtskompatibel erhalten).*

---

## 🔧 Installation

```bash
cd C:\CentiTools\centicodehelp
pip install -e .
```
