Metadata-Version: 2.4
Name: yncli
Version: 1.0.1
Summary: Autonomous Polyglot AI Coding Agent & TUI
Author: Yanzyuyu
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: rich>=13.7.0
Requires-Dist: prompt_toolkit>=3.0.40
Requires-Dist: requests>=2.31.0
Requires-Dist: pygments>=2.17.0
Requires-Dist: beautifulsoup4>=4.12.0
Dynamic: author
Dynamic: requires-python

# ⚡ YNCLI: World-Class Autonomous Polyglot AI Coding Agent & TUI

YNCLI adalah AI Coding Agent berbasis CLI/TUI mandiri yang mendukung:
- **Polyglot Coding Engine**: Menguasai Python, TypeScript/JavaScript, Rust, Go, C/C++, Java/Kotlin, C#/.NET, PHP, Ruby, Dart/Flutter, Swift, SQL, Shell, dan Web stack.
- **Deep Workspace Intelligence**: Otomatis memindai dan memuat file proyek ke dalam memori aktif AI dari awal.
- **Ultrabrain Plan Mode**: Otomatis menyusun PRD lengkap dengan ASCII Mockup ke dalam `plan.md`.
- **Autonomous ReAct Loop**: AI dapat membaca file, menulis file, melakukan surgical patch, memvalidasi sintaks via compiler/linter, dan menjalankan perintah di terminal.
- **Antigravity CLI Aesthetic**: Tampilan TUI modern dengan status in-place satu baris dan pop-up model interaktif yang dapat diklik mouse.

---

## 🚀 Cara Install & Penggunaan Publik

### 1. Lewat NPM (Node.js / npx)
```bash
# Langsung jalankan tanpa install:
npx @yanzyuyu/yncli

# Atau install secara global:
npm install -g @yanzyuyu/yncli
yncli
```

---

### 2. Lewat PyPI (Python / pip)
```bash
# Install via pip:
pip install yncli
yncli

# Atau jalankan langsung via pipx:
pipx run yncli
```

---

### 3. One-Line Installer Otomatis

**Windows (PowerShell)**:
```powershell
irm https://raw.githubusercontent.com/yanzyuyu/yncli/main/install.ps1 | iex
```

**macOS / Linux**:
```bash
curl -fsSL https://raw.githubusercontent.com/yanzyuyu/yncli/main/install.sh | bash
```

---

## 💻 Panduan Perintah

### 1. Masuk ke Mode Interaktif TUI:
```powershell
yncli
```

### 2. Mode Direct Execution (Quick Query):
```powershell
yncli "buatkan script rest api fastapi lengkap dengan jwt auth"
```

### 3. Opsi Tambahan:
```powershell
# Ganti model awal
yncli -m ag/claude-sonnet-4-6

# Buka dalam Plan Mode
yncli --mode plan

# Aktifkan skill tertentu
yncli -s architect

# Lihat daftar model yang tersedia
yncli --list-models
```

### Slash Commands di dalam TUI:
- `/model`: Buka pop-up interaktif untuk memilih model AI (bisa diklik mouse)
- `/plan`: Masuk ke Plan Mode (Riset arsitektur & susun PRD `plan.md`)
- `/build`: Masuk ke Build Mode (Eksekusi autonomous pembuatan & editing kode)
- `/ask`: Masuk ke Ask Mode (Konsultasi murni tanpa modifikasi file)
- `/cd <folder>`: Pindah direktori kerja aktif
- `/approval on|off`: Atur konfirmasi tool (otomatis vs tanya dulu)
- `/thinking on|off`: Tampilkan atau sembunyikan live reasoning
- `/skill <nama>`: Aktifkan skill (ultrabrain, architect, debugger, dll)
- `/clear`: Bersihkan riwayat percakapan & refresh memori proyek
- `/exit`: Keluar
