natureco-cli 5.20.4 → 5.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +779 -750
- package/README.md +608 -610
- package/bin/natureco.js +1099 -1095
- package/package.json +95 -94
- package/scripts/generate-qr.js +21 -0
- package/scripts/import-curated-skills-log.json +5 -0
- package/scripts/import-curated-skills.js +262 -0
- package/scripts/import-skills-log.json +167 -0
- package/scripts/import-skills.js +261 -0
- package/scripts/postinstall.js +125 -0
- package/src/commands/agent.js +280 -280
- package/src/commands/ask.js +4 -2
- package/src/commands/chat.js +0 -1
- package/src/commands/help.js +0 -2
- package/src/commands/naturehub.js +206 -373
- package/src/commands/repl.js +56 -63
- package/src/providers/mem0-memory.js +121 -121
- package/src/providers/supermemory-memory.js +117 -117
- package/src/tools/llm_task.js +150 -163
- package/src/tools/mac_alarm.js +199 -199
- package/src/tools/workflow.js +438 -439
- package/src/utils/api.js +1211 -1188
- package/src/utils/cost-tracker.js +361 -360
- package/src/utils/inquirer-wrapper.js +43 -31
- package/src/utils/paste-safe-input.js +346 -334
- package/src/utils/process-errors.js +129 -115
- package/src/utils/provider-detect.js +76 -72
- package/src/utils/skills.js +1 -1
- package/src/utils/system-prompt.js +141 -136
- package/src/utils/tools.js +324 -324
- package/README.md.bak +0 -565
- package/src/tools/http.js.bak +0 -78
package/README.md
CHANGED
|
@@ -1,611 +1,609 @@
|
|
|
1
|
-
# NatureCo CLI
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/natureco-cli)
|
|
4
|
-
[](https://opensource.org/licenses/MIT)
|
|
5
|
-
[]()
|
|
6
|
-
[]()
|
|
7
|
-
[](https://www.npmjs.com/package/natureco-cli)
|
|
8
|
-
[](https://github.com/natureco-official/natureco-cli)
|
|
9
|
-
|
|
10
|
-
> **Yapay Zekânın Gücü artık parmaklarının ucunda.**
|
|
11
|
-
> *Terminalin hızını NatureCo ile keşfet.*
|
|
12
|
-
|
|
13
|
-
Terminal-native AI agent CLI — sohbet et, kod yaz, workflow'ları otomatikleştir, **Telegram / Discord / Slack / WhatsApp / iMessage** bağla.
|
|
14
|
-
|
|
15
|
-
**Claude Code alternatifi** · Multi-agent orkestrasyon · Slash-prefix sistemi · Dangerous Command Approval · 12 provider, 200+ model · 57 tool · 10 mesajlaşma kanalı · 3-dosya kişilik sistemi
|
|
16
|
-
|
|
17
|
-
```
|
|
18
|
-
███╗ ██╗ █████╗ ████████╗██╗ ██╗██████╗ ███████╗ ██████╗ ██████╗
|
|
19
|
-
████╗ ██║██╔══██╗╚══██╔══╝██║ ██║██╔══██╗██╔════╝██╔════╝ ██╔═══██╗
|
|
20
|
-
██╔██╗ ██║███████║ ██║ ██║ ██║██████╔╝█████╗ ██║ ██║ ██║
|
|
21
|
-
██║╚██╗██║██╔══██║ ██║ ██║ ██║██╔══██╗██╔══╝ ██║ ██║ ██║
|
|
22
|
-
██║ ╚████║██║ ██║ ██║ ╚██████╔╝██║ ██║███████╗╚██████╗ ╚██████╔╝
|
|
23
|
-
╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═════╝
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
## 🚀 Hızlı Başlangıç
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
# 1. Kur
|
|
32
|
-
npm install -g natureco-cli
|
|
33
|
-
|
|
34
|
-
# 2. İlk kurulum sihirbazı (provider, model, bot adı)
|
|
35
|
-
natureco setup
|
|
36
|
-
|
|
37
|
-
# 3. Sohbet başlat
|
|
38
|
-
natureco chat
|
|
39
|
-
|
|
40
|
-
# 4. Veya kod ajanı
|
|
41
|
-
natureco code
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
**30 saniyede hazır.** İlk açılışta sihirbaz seni karşılar: provider seç → API key gir → model seç → bot adı belirle. Hepsi bu.
|
|
45
|
-
|
|
46
|
-
---
|
|
47
|
-
|
|
48
|
-
## 🆕 v5.6.x Yenilikler
|
|
49
|
-
|
|
50
|
-
### v5.6.47 — Sharded Memory Sistemi
|
|
51
|
-
|
|
52
|
-
Ajanın kişiliği & çalışma notları artık **6 dosyaya sharded** — sonsuz ölçeklenebilir:
|
|
53
|
-
|
|
54
|
-
```
|
|
55
|
-
soul/
|
|
56
|
-
├── SOUL.md ← index + kritik referanslar
|
|
57
|
-
└── notes/
|
|
58
|
-
├── INDEX.md ← dosya haritası, navigasyon
|
|
59
|
-
├── note1.md ← Patron & persona
|
|
60
|
-
├── note2.md ← proje yapısı, 120+ komut
|
|
61
|
-
├── note3.md ← tokens, kırmızı çizgiler, masking çözümleri
|
|
62
|
-
├── note4.md ← 7-adım release workflow
|
|
63
|
-
└── note5.md ← skills, tools, channels, MCP
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
- **Sonsuz ölçeklenebilir** — `note6.md`, `note7.md`... ihtiyaç oldukça
|
|
67
|
-
- **Cross-project pattern** — mirrors a global sharded memory system (e.g. `~/.notes/{1-5}.md`)
|
|
68
|
-
- **Hafıza kaybı yok** — detay 6 sharded dosyada, SOUL.md'de sadece referanslar
|
|
69
|
-
- **Patch-cascade safe** — release workflow `note4.md`'de belgelenmiş, gelecekte tutarlı
|
|
70
|
-
|
|
71
|
-
### Slash-Prefix Komut Sistemi
|
|
72
|
-
|
|
73
|
-
**İMessage ve WhatsApp'ta** artık `/` ile başlayan mesajlar komut olarak işlenir:
|
|
74
|
-
|
|
75
|
-
```
|
|
76
|
-
You > /selam nasılsın
|
|
77
|
-
AI Selam selam! 🙌 Nasıl gidiyor?
|
|
78
|
-
|
|
79
|
-
You > /bana bir fıkra anlat
|
|
80
|
-
AI Tabii! Bilgisayar fıkrası...
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
Normal mesajlar **skip edilir** (döngü önleme). Bu sayede:
|
|
84
|
-
- ✅ Bot kendi mesajına cevap vermez
|
|
85
|
-
- ✅ Echo loop oluşmaz
|
|
86
|
-
- ✅ Sadece `/` ile başlayanlar AI'a gider
|
|
87
|
-
|
|
88
|
-
### Dangerous Command Approval
|
|
89
|
-
|
|
90
|
-
Akıllı onay sistemi. **Sadece riskli işlemlerde** onay ister:
|
|
91
|
-
|
|
92
|
-
```bash
|
|
93
|
-
# Otomatik onay (güvenli)
|
|
94
|
-
natureco memory write "favori renk kırmızı"
|
|
95
|
-
✓ Memory eklendi
|
|
96
|
-
|
|
97
|
-
# Onay gerekli (riskli)
|
|
98
|
-
natureco rm -rf node_modules
|
|
99
|
-
🔴 YÜKSEK RISK: Dosya silme komutu
|
|
100
|
-
Devam edilsin mi? (Y/n)
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
**Risk tespiti:**
|
|
104
|
-
- `rm -rf`, `sudo`, `dd if=` → 🔴 YÜKSEK
|
|
105
|
-
- `chmod 777`, `mv` → 🟡 ORTA
|
|
106
|
-
- `mv .env` → 🔴 (hassas dosya)
|
|
107
|
-
|
|
108
|
-
### v5.6.0 — v5.6.43 Diğer
|
|
109
|
-
|
|
110
|
-
| Versiyon | Yenilik |
|
|
111
|
-
|----------|---------|
|
|
112
|
-
| **v5.6.0** | Postinstall + API key validation + reset komutu |
|
|
113
|
-
| **v5.6.1** | Groq tool filter (9 temel tool) |
|
|
114
|
-
| **v5.6.3** | Provider tier wizard |
|
|
115
|
-
| **v5.6.4** | Tam model kataloğu (12 provider, 200+ model) |
|
|
116
|
-
| **v5.6.5** | Token limit fix + SOUL injection optimizasyonu |
|
|
117
|
-
| **v5.6.6** | Inline tool filter (BLOCKED_TOOL_NAMES) |
|
|
118
|
-
| **v5.6.7** | Memory auto-create in setup |
|
|
119
|
-
| **v5.6.8** | Hard-coded prefix dinamik (botName) |
|
|
120
|
-
| **v5.6.21** | Akıllı onay sistemi + tool result yol gizleme |
|
|
121
|
-
| **v5.6.22** | 8 bug fix (read_file priority, ~expansion, memory search, grep fix, git auto-find, vb.) |
|
|
122
|
-
| **v5.6.27** | imsg send `--to` flag fix |
|
|
123
|
-
| **v5.6.31** | `imsg watch --json` streaming |
|
|
124
|
-
| **v5.6.39** | iMessage is_from_me filtresi |
|
|
125
|
-
| **v5.6.40** | Echo loop prevention (30sn) |
|
|
126
|
-
| **v5.6.41-42** | Slash-prefix sistemi (iMessage/WhatsApp) |
|
|
127
|
-
| **v5.6.43** | WhatsApp slash + cron endpoint fix |
|
|
128
|
-
| **v5.6.46** | README overhaul (hero slogan, ASCII banner, badges) |
|
|
129
|
-
| **v5.6.47** | **SOUL SHARDED** — Sharded memory sistemi (`soul/notes/{INDEX,note1-5}.md`) |
|
|
130
|
-
|
|
131
|
-
---
|
|
132
|
-
|
|
133
|
-
## ✨ Özellikler
|
|
134
|
-
|
|
135
|
-
### 🤖 AI & Sohbet
|
|
136
|
-
- **57 Tool** — file ops, web search, image generation, code execution, memory
|
|
137
|
-
- **İnteraktif REPL** — read_file, edit_file, bash, multi-turn
|
|
138
|
-
- **Slash Komutlar** — `/memory`, `/help`, `/skills`, `/clear`
|
|
139
|
-
- **Agentic Mod** (`--agent`) — autonomous task completion
|
|
140
|
-
- **Persistent Memory** — fact-based, cross-session
|
|
141
|
-
|
|
142
|
-
### 💻 Kod Ajanı (Claude Code Alternatifi)
|
|
143
|
-
- **Read/Write/Edit** multi-file operations
|
|
144
|
-
- **Bash execution** — sandboxed shell
|
|
145
|
-
- **Streaming syntax highlighting** — gerçek zamanlı
|
|
146
|
-
- **Slash komutlar** — `/summary`, `/done`
|
|
147
|
-
- **Approval prompt** — yazma/silme onayı
|
|
148
|
-
|
|
149
|
-
### 📡 10 Mesajlaşma Kanalı
|
|
150
|
-
|
|
151
|
-
| Platform | Bağlantı | Test |
|
|
152
|
-
|----------|----------|------|
|
|
153
|
-
| **Telegram** | `natureco telegram connect` | ✅ |
|
|
154
|
-
| **WhatsApp** | `natureco whatsapp connect` | ✅ (Baileys) |
|
|
155
|
-
| **iMessage** | `natureco imessage connect` | ✅ (imsg CLI) |
|
|
156
|
-
| **Discord** | `natureco discord connect` | Token |
|
|
157
|
-
| **Slack** | `natureco slack connect` | Token |
|
|
158
|
-
| **Mattermost** | `natureco mattermost connect` | URL |
|
|
159
|
-
| **IRC** | `natureco irc connect` | Server |
|
|
160
|
-
| **Signal** | `natureco signal connect` | signal-cli |
|
|
161
|
-
| **SMS** | `natureco sms connect` | Twilio |
|
|
162
|
-
| **Webhooks** | `natureco webhooks list` | ✅ |
|
|
163
|
-
|
|
164
|
-
**Gateway:** `natureco gateway start` — tüm kanalları tek process'te yönet.
|
|
165
|
-
|
|
166
|
-
### 🌿 NatureCo Native
|
|
167
|
-
- **NatureHub** paylaşımı (sosyal akış)
|
|
168
|
-
- **Medium** makale taslağı/yayını
|
|
169
|
-
- **SEO** analizi (skor 0-100)
|
|
170
|
-
- **XP & Seviye** sistemi (gamification)
|
|
171
|
-
|
|
172
|
-
### 🛡️ Güvenlik & Gözlem
|
|
173
|
-
- **Dangerous Command Approval** — risk tespiti
|
|
174
|
-
- **Audit logs** — tüm işlemler kayıt
|
|
175
|
-
- **Cost tracking** — AI maliyet takibi (today/week/month/budget)
|
|
176
|
-
- **Security audit** — hassas dosya taraması
|
|
177
|
-
- **Path anonymization** — tool output'ta `~/` ile gizleme
|
|
178
|
-
|
|
179
|
-
### ⚙️ Otomasyon & Zamanlama
|
|
180
|
-
- **Cron jobs** — `natureco cron add`
|
|
181
|
-
- **Hooks** — event-driven automation
|
|
182
|
-
- **Webhooks** — HTTP callback
|
|
183
|
-
- **Tasks (Kanban)** — `natureco tasks`
|
|
184
|
-
|
|
185
|
-
---
|
|
186
|
-
|
|
187
|
-
## 📋 Komutlar (A'dan Z'ye, 120+ Komut)
|
|
188
|
-
|
|
189
|
-
### 🤖 AI & Sohbet
|
|
190
|
-
|
|
191
|
-
| Komut | Açıklama |
|
|
192
|
-
|-------|----------|
|
|
193
|
-
| `natureco chat` | İnteraktif REPL sohbet (57 tool aktif) |
|
|
194
|
-
| `natureco chat --resume` | Önceki oturumu devam ettir |
|
|
195
|
-
| `natureco code` | Kod ajanı (uygulama/script yazma) |
|
|
196
|
-
| `natureco code <file>` | Belirli dosyada kod ajanı |
|
|
197
|
-
| `natureco run <script>` | Markdown script çalıştır |
|
|
198
|
-
| `natureco ask "<soru>"` | Tek soru AI'a sor |
|
|
199
|
-
| `natureco bots` | Mevcut botları listele |
|
|
200
|
-
| `natureco models` | Provider modellerini yönet |
|
|
201
|
-
| `natureco ultrareview <file>` | Derin kod incelemesi |
|
|
202
|
-
|
|
203
|
-
**REPL içi slash komutları:**
|
|
204
|
-
```
|
|
205
|
-
/clear Ekranı temizle
|
|
206
|
-
/bot Bot değiştir
|
|
207
|
-
/skills Aktif skill'leri göster
|
|
208
|
-
/memory Memory durumu
|
|
209
|
-
/memory clear Memory temizle
|
|
210
|
-
/commands Tüm komutlar
|
|
211
|
-
/help Yardım
|
|
212
|
-
exit / quit Çıkış
|
|
213
|
-
```
|
|
214
|
-
|
|
215
|
-
### ⚙️ Setup & Konfig
|
|
216
|
-
|
|
217
|
-
```bash
|
|
218
|
-
natureco setup # İlk kurulum sihirbazı
|
|
219
|
-
natureco login # API key girişi
|
|
220
|
-
natureco logout # Çıkış
|
|
221
|
-
natureco init # Proje başlat (SOUL.md oluştur)
|
|
222
|
-
natureco doctor # Sistem sağlık kontrolü
|
|
223
|
-
natureco doctor --fix # Otomatik düzeltme
|
|
224
|
-
natureco config list # Konfigürasyonu göster
|
|
225
|
-
natureco config set <key> <value>
|
|
226
|
-
natureco configure # İnteraktif konfig
|
|
227
|
-
natureco update # CLI güncelle
|
|
228
|
-
natureco completion bash|powershell
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
### 📡 Kanallar (10 Mesajlaşma Platformu)
|
|
232
|
-
|
|
233
|
-
```bash
|
|
234
|
-
# Tüm kanallar
|
|
235
|
-
natureco channels # Bağlı kanallar listele
|
|
236
|
-
natureco channels add <type> # Yeni kanal
|
|
237
|
-
natureco channels remove <type>
|
|
238
|
-
|
|
239
|
-
# Telegram
|
|
240
|
-
natureco telegram connect # Token kaydet
|
|
241
|
-
natureco telegram chatid # Chat ID otomatik bul
|
|
242
|
-
natureco telegram allow <id> # Chat'e izin ver
|
|
243
|
-
natureco telegram status
|
|
244
|
-
|
|
245
|
-
# WhatsApp (Baileys)
|
|
246
|
-
natureco whatsapp connect
|
|
247
|
-
natureco whatsapp status
|
|
248
|
-
|
|
249
|
-
# iMessage (imsg CLI)
|
|
250
|
-
natureco imessage connect
|
|
251
|
-
natureco imessage status
|
|
252
|
-
natureco imessage allow <numara>
|
|
253
|
-
natureco imessage send <numara> <mesaj>
|
|
254
|
-
|
|
255
|
-
# Discord, Slack, Mattermost, IRC, Signal, SMS, Webhooks
|
|
256
|
-
natureco discord connect
|
|
257
|
-
natureco slack connect
|
|
258
|
-
natureco mattermost connect
|
|
259
|
-
natureco irc connect
|
|
260
|
-
natureco signal connect
|
|
261
|
-
natureco sms connect
|
|
262
|
-
natureco webhooks list
|
|
263
|
-
|
|
264
|
-
# Gateway — tüm kanalları başlat
|
|
265
|
-
natureco gateway start
|
|
266
|
-
natureco gateway stop
|
|
267
|
-
natureco gateway status
|
|
268
|
-
```
|
|
269
|
-
|
|
270
|
-
### 🧠 Memory & Sessions
|
|
271
|
-
|
|
272
|
-
```bash
|
|
273
|
-
natureco memory write "favori renk kırmızı"
|
|
274
|
-
natureco memory write "user_name=patron"
|
|
275
|
-
natureco memory search "renk"
|
|
276
|
-
natureco memory status
|
|
277
|
-
natureco memory list
|
|
278
|
-
natureco memory clear
|
|
279
|
-
natureco memory export
|
|
280
|
-
natureco memory import <dosya>
|
|
281
|
-
|
|
282
|
-
natureco sessions list # Tüm oturumlar
|
|
283
|
-
natureco sessions show <id> # Oturum detayı
|
|
284
|
-
```
|
|
285
|
-
|
|
286
|
-
### 🔌 Skill, MCP, Plugin
|
|
287
|
-
|
|
288
|
-
```bash
|
|
289
|
-
natureco skills list # Aktif skill'ler
|
|
290
|
-
natureco skills install <name>
|
|
291
|
-
natureco skills remove <name>
|
|
292
|
-
|
|
293
|
-
natureco mcp list # MCP server'ları
|
|
294
|
-
natureco mcp add <name> <url>
|
|
295
|
-
|
|
296
|
-
natureco plugins list
|
|
297
|
-
natureco plugins install <name>
|
|
298
|
-
```
|
|
299
|
-
|
|
300
|
-
### ⏰ Otomasyon
|
|
301
|
-
|
|
302
|
-
```bash
|
|
303
|
-
natureco cron add # Zamanlı görev
|
|
304
|
-
natureco cron list
|
|
305
|
-
natureco cron remove <id>
|
|
306
|
-
|
|
307
|
-
natureco hooks list # Event hook'ları
|
|
308
|
-
natureco hooks create
|
|
309
|
-
|
|
310
|
-
natureco tasks list # Kanban (Todo)
|
|
311
|
-
natureco tasks add
|
|
312
|
-
natureco tasks done <id>
|
|
313
|
-
|
|
314
|
-
natureco webhooks list # Webhook URL'leri
|
|
315
|
-
natureco webhooks add <url>
|
|
316
|
-
|
|
317
|
-
natureco dashboard # Web dashboard (port 7421)
|
|
318
|
-
```
|
|
319
|
-
|
|
320
|
-
### 🔍 Geliştirici Araçları
|
|
321
|
-
|
|
322
|
-
```bash
|
|
323
|
-
natureco git status # Git durumu
|
|
324
|
-
natureco git diff # Diff
|
|
325
|
-
natureco git log # Commit log
|
|
326
|
-
natureco git branches # Branch listesi
|
|
327
|
-
|
|
328
|
-
natureco audit today # Bugünkü işlemler
|
|
329
|
-
natureco audit stats # İstatistikler
|
|
330
|
-
natureco audit files # Dosya değişiklikleri
|
|
331
|
-
|
|
332
|
-
natureco cost today # Bugünkü AI maliyeti
|
|
333
|
-
natureco cost week
|
|
334
|
-
natureco cost month
|
|
335
|
-
natureco cost budget 50 # $50 limit
|
|
336
|
-
|
|
337
|
-
natureco security audit # Hassas dosya taraması
|
|
338
|
-
|
|
339
|
-
natureco logs # Log dosyaları
|
|
340
|
-
```
|
|
341
|
-
|
|
342
|
-
### 🌿 NatureCo Native
|
|
343
|
-
|
|
344
|
-
```bash
|
|
345
|
-
natureco naturehub post <text> # NatureHub paylaşımı
|
|
346
|
-
natureco naturehub
|
|
347
|
-
|
|
348
|
-
natureco
|
|
349
|
-
|
|
350
|
-
natureco
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
natureco
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
natureco reset --scope
|
|
363
|
-
natureco reset --scope
|
|
364
|
-
|
|
365
|
-
natureco
|
|
366
|
-
|
|
367
|
-
natureco
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
|
378
|
-
|
|
379
|
-
| **
|
|
380
|
-
| **
|
|
381
|
-
| **
|
|
382
|
-
| **
|
|
383
|
-
| **
|
|
384
|
-
| **
|
|
385
|
-
| **
|
|
386
|
-
| **
|
|
387
|
-
| **
|
|
388
|
-
| **
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
# Provider
|
|
394
|
-
|
|
395
|
-
#
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
|
407
|
-
|
|
408
|
-
|
|
|
409
|
-
|
|
|
410
|
-
|
|
|
411
|
-
|
|
|
412
|
-
|
|
|
413
|
-
|
|
|
414
|
-
|
|
|
415
|
-
|
|
|
416
|
-
|
|
|
417
|
-
|
|
|
418
|
-
|
|
|
419
|
-
|
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
|
428
|
-
|
|
429
|
-
| **
|
|
430
|
-
| **
|
|
431
|
-
| **
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
[
|
|
472
|
-
[telegram]
|
|
473
|
-
[telegram]
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
[
|
|
489
|
-
|
|
490
|
-
[
|
|
491
|
-
[
|
|
492
|
-
[imessage]
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
✅ Not eklendi:
|
|
507
|
-
✅
|
|
508
|
-
✅
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
--
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
-
|
|
553
|
-
-
|
|
554
|
-
-
|
|
555
|
-
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
- [
|
|
596
|
-
- [
|
|
597
|
-
- [
|
|
598
|
-
- [
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
<
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
<p align="center">
|
|
610
|
-
Made with 🌿 in Turkey
|
|
1
|
+
# NatureCo CLI
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/natureco-cli)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
[]()
|
|
6
|
+
[]()
|
|
7
|
+
[](https://www.npmjs.com/package/natureco-cli)
|
|
8
|
+
[](https://github.com/natureco-official/natureco-cli)
|
|
9
|
+
|
|
10
|
+
> **Yapay Zekânın Gücü artık parmaklarının ucunda.**
|
|
11
|
+
> *Terminalin hızını NatureCo ile keşfet.*
|
|
12
|
+
|
|
13
|
+
Terminal-native AI agent CLI — sohbet et, kod yaz, workflow'ları otomatikleştir, **Telegram / Discord / Slack / WhatsApp / iMessage** bağla.
|
|
14
|
+
|
|
15
|
+
**Claude Code alternatifi** · Multi-agent orkestrasyon · Slash-prefix sistemi · Dangerous Command Approval · 12 provider, 200+ model · 57 tool · 10 mesajlaşma kanalı · 3-dosya kişilik sistemi
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
███╗ ██╗ █████╗ ████████╗██╗ ██╗██████╗ ███████╗ ██████╗ ██████╗
|
|
19
|
+
████╗ ██║██╔══██╗╚══██╔══╝██║ ██║██╔══██╗██╔════╝██╔════╝ ██╔═══██╗
|
|
20
|
+
██╔██╗ ██║███████║ ██║ ██║ ██║██████╔╝█████╗ ██║ ██║ ██║
|
|
21
|
+
██║╚██╗██║██╔══██║ ██║ ██║ ██║██╔══██╗██╔══╝ ██║ ██║ ██║
|
|
22
|
+
██║ ╚████║██║ ██║ ██║ ╚██████╔╝██║ ██║███████╗╚██████╗ ╚██████╔╝
|
|
23
|
+
╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═════╝
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## 🚀 Hızlı Başlangıç
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
# 1. Kur
|
|
32
|
+
npm install -g natureco-cli
|
|
33
|
+
|
|
34
|
+
# 2. İlk kurulum sihirbazı (provider, model, bot adı)
|
|
35
|
+
natureco setup
|
|
36
|
+
|
|
37
|
+
# 3. Sohbet başlat
|
|
38
|
+
natureco chat
|
|
39
|
+
|
|
40
|
+
# 4. Veya kod ajanı
|
|
41
|
+
natureco code
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
**30 saniyede hazır.** İlk açılışta sihirbaz seni karşılar: provider seç → API key gir → model seç → bot adı belirle. Hepsi bu.
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## 🆕 v5.6.x Yenilikler
|
|
49
|
+
|
|
50
|
+
### v5.6.47 — Sharded Memory Sistemi
|
|
51
|
+
|
|
52
|
+
Ajanın kişiliği & çalışma notları artık **6 dosyaya sharded** — sonsuz ölçeklenebilir:
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
soul/
|
|
56
|
+
├── SOUL.md ← index + kritik referanslar
|
|
57
|
+
└── notes/
|
|
58
|
+
├── INDEX.md ← dosya haritası, navigasyon
|
|
59
|
+
├── note1.md ← Patron & persona
|
|
60
|
+
├── note2.md ← proje yapısı, 120+ komut
|
|
61
|
+
├── note3.md ← tokens, kırmızı çizgiler, masking çözümleri
|
|
62
|
+
├── note4.md ← 7-adım release workflow
|
|
63
|
+
└── note5.md ← skills, tools, channels, MCP
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
- **Sonsuz ölçeklenebilir** — `note6.md`, `note7.md`... ihtiyaç oldukça
|
|
67
|
+
- **Cross-project pattern** — mirrors a global sharded memory system (e.g. `~/.notes/{1-5}.md`)
|
|
68
|
+
- **Hafıza kaybı yok** — detay 6 sharded dosyada, SOUL.md'de sadece referanslar
|
|
69
|
+
- **Patch-cascade safe** — release workflow `note4.md`'de belgelenmiş, gelecekte tutarlı
|
|
70
|
+
|
|
71
|
+
### Slash-Prefix Komut Sistemi
|
|
72
|
+
|
|
73
|
+
**İMessage ve WhatsApp'ta** artık `/` ile başlayan mesajlar komut olarak işlenir:
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
You > /selam nasılsın
|
|
77
|
+
AI Selam selam! 🙌 Nasıl gidiyor?
|
|
78
|
+
|
|
79
|
+
You > /bana bir fıkra anlat
|
|
80
|
+
AI Tabii! Bilgisayar fıkrası...
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Normal mesajlar **skip edilir** (döngü önleme). Bu sayede:
|
|
84
|
+
- ✅ Bot kendi mesajına cevap vermez
|
|
85
|
+
- ✅ Echo loop oluşmaz
|
|
86
|
+
- ✅ Sadece `/` ile başlayanlar AI'a gider
|
|
87
|
+
|
|
88
|
+
### Dangerous Command Approval
|
|
89
|
+
|
|
90
|
+
Akıllı onay sistemi. **Sadece riskli işlemlerde** onay ister:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
# Otomatik onay (güvenli)
|
|
94
|
+
natureco memory write "favori renk kırmızı"
|
|
95
|
+
✓ Memory eklendi
|
|
96
|
+
|
|
97
|
+
# Onay gerekli (riskli)
|
|
98
|
+
natureco rm -rf node_modules
|
|
99
|
+
🔴 YÜKSEK RISK: Dosya silme komutu
|
|
100
|
+
Devam edilsin mi? (Y/n)
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
**Risk tespiti:**
|
|
104
|
+
- `rm -rf`, `sudo`, `dd if=` → 🔴 YÜKSEK
|
|
105
|
+
- `chmod 777`, `mv` → 🟡 ORTA
|
|
106
|
+
- `mv .env` → 🔴 (hassas dosya)
|
|
107
|
+
|
|
108
|
+
### v5.6.0 — v5.6.43 Diğer
|
|
109
|
+
|
|
110
|
+
| Versiyon | Yenilik |
|
|
111
|
+
|----------|---------|
|
|
112
|
+
| **v5.6.0** | Postinstall + API key validation + reset komutu |
|
|
113
|
+
| **v5.6.1** | Groq tool filter (9 temel tool) |
|
|
114
|
+
| **v5.6.3** | Provider tier wizard |
|
|
115
|
+
| **v5.6.4** | Tam model kataloğu (12 provider, 200+ model) |
|
|
116
|
+
| **v5.6.5** | Token limit fix + SOUL injection optimizasyonu |
|
|
117
|
+
| **v5.6.6** | Inline tool filter (BLOCKED_TOOL_NAMES) |
|
|
118
|
+
| **v5.6.7** | Memory auto-create in setup |
|
|
119
|
+
| **v5.6.8** | Hard-coded prefix dinamik (botName) |
|
|
120
|
+
| **v5.6.21** | Akıllı onay sistemi + tool result yol gizleme |
|
|
121
|
+
| **v5.6.22** | 8 bug fix (read_file priority, ~expansion, memory search, grep fix, git auto-find, vb.) |
|
|
122
|
+
| **v5.6.27** | imsg send `--to` flag fix |
|
|
123
|
+
| **v5.6.31** | `imsg watch --json` streaming |
|
|
124
|
+
| **v5.6.39** | iMessage is_from_me filtresi |
|
|
125
|
+
| **v5.6.40** | Echo loop prevention (30sn) |
|
|
126
|
+
| **v5.6.41-42** | Slash-prefix sistemi (iMessage/WhatsApp) |
|
|
127
|
+
| **v5.6.43** | WhatsApp slash + cron endpoint fix |
|
|
128
|
+
| **v5.6.46** | README overhaul (hero slogan, ASCII banner, badges) |
|
|
129
|
+
| **v5.6.47** | **SOUL SHARDED** — Sharded memory sistemi (`soul/notes/{INDEX,note1-5}.md`) |
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## ✨ Özellikler
|
|
134
|
+
|
|
135
|
+
### 🤖 AI & Sohbet
|
|
136
|
+
- **57 Tool** — file ops, web search, image generation, code execution, memory
|
|
137
|
+
- **İnteraktif REPL** — read_file, edit_file, bash, multi-turn
|
|
138
|
+
- **Slash Komutlar** — `/memory`, `/help`, `/skills`, `/clear`
|
|
139
|
+
- **Agentic Mod** (`--agent`) — autonomous task completion
|
|
140
|
+
- **Persistent Memory** — fact-based, cross-session
|
|
141
|
+
|
|
142
|
+
### 💻 Kod Ajanı (Claude Code Alternatifi)
|
|
143
|
+
- **Read/Write/Edit** multi-file operations
|
|
144
|
+
- **Bash execution** — sandboxed shell
|
|
145
|
+
- **Streaming syntax highlighting** — gerçek zamanlı
|
|
146
|
+
- **Slash komutlar** — `/summary`, `/done`
|
|
147
|
+
- **Approval prompt** — yazma/silme onayı
|
|
148
|
+
|
|
149
|
+
### 📡 10 Mesajlaşma Kanalı
|
|
150
|
+
|
|
151
|
+
| Platform | Bağlantı | Test |
|
|
152
|
+
|----------|----------|------|
|
|
153
|
+
| **Telegram** | `natureco telegram connect` | ✅ |
|
|
154
|
+
| **WhatsApp** | `natureco whatsapp connect` | ✅ (Baileys) |
|
|
155
|
+
| **iMessage** | `natureco imessage connect` | ✅ (imsg CLI) |
|
|
156
|
+
| **Discord** | `natureco discord connect` | Token |
|
|
157
|
+
| **Slack** | `natureco slack connect` | Token |
|
|
158
|
+
| **Mattermost** | `natureco mattermost connect` | URL |
|
|
159
|
+
| **IRC** | `natureco irc connect` | Server |
|
|
160
|
+
| **Signal** | `natureco signal connect` | signal-cli |
|
|
161
|
+
| **SMS** | `natureco sms connect` | Twilio |
|
|
162
|
+
| **Webhooks** | `natureco webhooks list` | ✅ |
|
|
163
|
+
|
|
164
|
+
**Gateway:** `natureco gateway start` — tüm kanalları tek process'te yönet.
|
|
165
|
+
|
|
166
|
+
### 🌿 NatureCo Native
|
|
167
|
+
- **NatureHub** paylaşımı (sosyal akış)
|
|
168
|
+
- **Medium** makale taslağı/yayını
|
|
169
|
+
- **SEO** analizi (skor 0-100)
|
|
170
|
+
- **XP & Seviye** sistemi (gamification)
|
|
171
|
+
|
|
172
|
+
### 🛡️ Güvenlik & Gözlem
|
|
173
|
+
- **Dangerous Command Approval** — risk tespiti
|
|
174
|
+
- **Audit logs** — tüm işlemler kayıt
|
|
175
|
+
- **Cost tracking** — AI maliyet takibi (today/week/month/budget)
|
|
176
|
+
- **Security audit** — hassas dosya taraması
|
|
177
|
+
- **Path anonymization** — tool output'ta `~/` ile gizleme
|
|
178
|
+
|
|
179
|
+
### ⚙️ Otomasyon & Zamanlama
|
|
180
|
+
- **Cron jobs** — `natureco cron add`
|
|
181
|
+
- **Hooks** — event-driven automation
|
|
182
|
+
- **Webhooks** — HTTP callback
|
|
183
|
+
- **Tasks (Kanban)** — `natureco tasks`
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
## 📋 Komutlar (A'dan Z'ye, 120+ Komut)
|
|
188
|
+
|
|
189
|
+
### 🤖 AI & Sohbet
|
|
190
|
+
|
|
191
|
+
| Komut | Açıklama |
|
|
192
|
+
|-------|----------|
|
|
193
|
+
| `natureco chat` | İnteraktif REPL sohbet (57 tool aktif) |
|
|
194
|
+
| `natureco chat --resume` | Önceki oturumu devam ettir |
|
|
195
|
+
| `natureco code` | Kod ajanı (uygulama/script yazma) |
|
|
196
|
+
| `natureco code <file>` | Belirli dosyada kod ajanı |
|
|
197
|
+
| `natureco run <script>` | Markdown script çalıştır |
|
|
198
|
+
| `natureco ask "<soru>"` | Tek soru AI'a sor |
|
|
199
|
+
| `natureco bots` | Mevcut botları listele |
|
|
200
|
+
| `natureco models` | Provider modellerini yönet |
|
|
201
|
+
| `natureco ultrareview <file>` | Derin kod incelemesi |
|
|
202
|
+
|
|
203
|
+
**REPL içi slash komutları:**
|
|
204
|
+
```
|
|
205
|
+
/clear Ekranı temizle
|
|
206
|
+
/bot Bot değiştir
|
|
207
|
+
/skills Aktif skill'leri göster
|
|
208
|
+
/memory Memory durumu
|
|
209
|
+
/memory clear Memory temizle
|
|
210
|
+
/commands Tüm komutlar
|
|
211
|
+
/help Yardım
|
|
212
|
+
exit / quit Çıkış
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
### ⚙️ Setup & Konfig
|
|
216
|
+
|
|
217
|
+
```bash
|
|
218
|
+
natureco setup # İlk kurulum sihirbazı
|
|
219
|
+
natureco login # API key girişi
|
|
220
|
+
natureco logout # Çıkış
|
|
221
|
+
natureco init # Proje başlat (SOUL.md oluştur)
|
|
222
|
+
natureco doctor # Sistem sağlık kontrolü
|
|
223
|
+
natureco doctor --fix # Otomatik düzeltme
|
|
224
|
+
natureco config list # Konfigürasyonu göster
|
|
225
|
+
natureco config set <key> <value>
|
|
226
|
+
natureco configure # İnteraktif konfig
|
|
227
|
+
natureco update # CLI güncelle
|
|
228
|
+
natureco completion bash|powershell
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### 📡 Kanallar (10 Mesajlaşma Platformu)
|
|
232
|
+
|
|
233
|
+
```bash
|
|
234
|
+
# Tüm kanallar
|
|
235
|
+
natureco channels # Bağlı kanallar listele
|
|
236
|
+
natureco channels add <type> # Yeni kanal
|
|
237
|
+
natureco channels remove <type>
|
|
238
|
+
|
|
239
|
+
# Telegram
|
|
240
|
+
natureco telegram connect # Token kaydet
|
|
241
|
+
natureco telegram chatid # Chat ID otomatik bul
|
|
242
|
+
natureco telegram allow <id> # Chat'e izin ver
|
|
243
|
+
natureco telegram status
|
|
244
|
+
|
|
245
|
+
# WhatsApp (Baileys)
|
|
246
|
+
natureco whatsapp connect
|
|
247
|
+
natureco whatsapp status
|
|
248
|
+
|
|
249
|
+
# iMessage (imsg CLI)
|
|
250
|
+
natureco imessage connect
|
|
251
|
+
natureco imessage status
|
|
252
|
+
natureco imessage allow <numara>
|
|
253
|
+
natureco imessage send <numara> <mesaj>
|
|
254
|
+
|
|
255
|
+
# Discord, Slack, Mattermost, IRC, Signal, SMS, Webhooks
|
|
256
|
+
natureco discord connect
|
|
257
|
+
natureco slack connect
|
|
258
|
+
natureco mattermost connect
|
|
259
|
+
natureco irc connect
|
|
260
|
+
natureco signal connect
|
|
261
|
+
natureco sms connect
|
|
262
|
+
natureco webhooks list
|
|
263
|
+
|
|
264
|
+
# Gateway — tüm kanalları başlat
|
|
265
|
+
natureco gateway start
|
|
266
|
+
natureco gateway stop
|
|
267
|
+
natureco gateway status
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
### 🧠 Memory & Sessions
|
|
271
|
+
|
|
272
|
+
```bash
|
|
273
|
+
natureco memory write "favori renk kırmızı"
|
|
274
|
+
natureco memory write "user_name=patron"
|
|
275
|
+
natureco memory search "renk"
|
|
276
|
+
natureco memory status
|
|
277
|
+
natureco memory list
|
|
278
|
+
natureco memory clear
|
|
279
|
+
natureco memory export
|
|
280
|
+
natureco memory import <dosya>
|
|
281
|
+
|
|
282
|
+
natureco sessions list # Tüm oturumlar
|
|
283
|
+
natureco sessions show <id> # Oturum detayı
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
### 🔌 Skill, MCP, Plugin
|
|
287
|
+
|
|
288
|
+
```bash
|
|
289
|
+
natureco skills list # Aktif skill'ler
|
|
290
|
+
natureco skills install <name>
|
|
291
|
+
natureco skills remove <name>
|
|
292
|
+
|
|
293
|
+
natureco mcp list # MCP server'ları
|
|
294
|
+
natureco mcp add <name> <url>
|
|
295
|
+
|
|
296
|
+
natureco plugins list
|
|
297
|
+
natureco plugins install <name>
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
### ⏰ Otomasyon
|
|
301
|
+
|
|
302
|
+
```bash
|
|
303
|
+
natureco cron add # Zamanlı görev
|
|
304
|
+
natureco cron list
|
|
305
|
+
natureco cron remove <id>
|
|
306
|
+
|
|
307
|
+
natureco hooks list # Event hook'ları
|
|
308
|
+
natureco hooks create
|
|
309
|
+
|
|
310
|
+
natureco tasks list # Kanban (Todo)
|
|
311
|
+
natureco tasks add
|
|
312
|
+
natureco tasks done <id>
|
|
313
|
+
|
|
314
|
+
natureco webhooks list # Webhook URL'leri
|
|
315
|
+
natureco webhooks add <url>
|
|
316
|
+
|
|
317
|
+
natureco dashboard # Web dashboard (port 7421)
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
### 🔍 Geliştirici Araçları
|
|
321
|
+
|
|
322
|
+
```bash
|
|
323
|
+
natureco git status # Git durumu
|
|
324
|
+
natureco git diff # Diff
|
|
325
|
+
natureco git log # Commit log
|
|
326
|
+
natureco git branches # Branch listesi
|
|
327
|
+
|
|
328
|
+
natureco audit today # Bugünkü işlemler
|
|
329
|
+
natureco audit stats # İstatistikler
|
|
330
|
+
natureco audit files # Dosya değişiklikleri
|
|
331
|
+
|
|
332
|
+
natureco cost today # Bugünkü AI maliyeti
|
|
333
|
+
natureco cost week
|
|
334
|
+
natureco cost month
|
|
335
|
+
natureco cost budget 50 # $50 limit
|
|
336
|
+
|
|
337
|
+
natureco security audit # Hassas dosya taraması
|
|
338
|
+
|
|
339
|
+
natureco logs # Log dosyaları
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
### 🌿 NatureCo Native
|
|
343
|
+
|
|
344
|
+
```bash
|
|
345
|
+
natureco naturehub post <text> # NatureHub paylaşımı
|
|
346
|
+
natureco naturehub feed # Akışı gör
|
|
347
|
+
|
|
348
|
+
natureco seo audit natureco.me # SEO analizi (skor)
|
|
349
|
+
|
|
350
|
+
natureco medium draft # Medium makale taslağı
|
|
351
|
+
natureco medium publish <file> # Yayınla
|
|
352
|
+
|
|
353
|
+
natureco xp rewards # XP & seviye
|
|
354
|
+
natureco xp leaderboard
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
### 🛡️ Yönetim
|
|
358
|
+
|
|
359
|
+
```bash
|
|
360
|
+
natureco reset --scope config # Sıfırla
|
|
361
|
+
natureco reset --scope memory
|
|
362
|
+
natureco reset --scope sessions
|
|
363
|
+
natureco reset --scope all --yes
|
|
364
|
+
|
|
365
|
+
natureco uninstall
|
|
366
|
+
|
|
367
|
+
natureco approvals # Onay yönetimi
|
|
368
|
+
natureco approvals allow <cmd>
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
---
|
|
372
|
+
|
|
373
|
+
## 🌐 Provider Desteği (12 Provider, 200+ Model)
|
|
374
|
+
|
|
375
|
+
| Provider | Modeller | API Key |
|
|
376
|
+
|----------|----------|---------|
|
|
377
|
+
| **OpenAI** | GPT-5, GPT-4.1, o3, GPT-4o | OpenAI |
|
|
378
|
+
| **Anthropic** | Claude Opus 4, Sonnet 4, Haiku | Anthropic |
|
|
379
|
+
| **Gemini** | 2.5 Pro, 2.0 Flash, Gemma | Google |
|
|
380
|
+
| **Groq** | Llama 3.3, Mixtral | Groq |
|
|
381
|
+
| **DeepSeek** | R1, Chat V3 | DeepSeek |
|
|
382
|
+
| **Ollama** | Llama, Qwen (local) | - |
|
|
383
|
+
| **MiniMax** | M2.5, M2 | MiniMax |
|
|
384
|
+
| **OpenRouter** | 15+ model (multi-provider) | OpenRouter |
|
|
385
|
+
| **Mistral** | Large, Small, Codestral | Mistral |
|
|
386
|
+
| **Cohere** | Command R+, Embed | Cohere |
|
|
387
|
+
| **xAI** | Grok 2, Grok Beta | xAI |
|
|
388
|
+
| **Together** | Llama, Mixtral, Qwen | Together |
|
|
389
|
+
|
|
390
|
+
```bash
|
|
391
|
+
# Provider seçimi sihirbazda
|
|
392
|
+
natureco setup
|
|
393
|
+
# Sihirbaz: Provider → API Key → Model → Bot adı
|
|
394
|
+
|
|
395
|
+
# Model listesi
|
|
396
|
+
natureco models list --provider openai
|
|
397
|
+
natureco models list --provider anthropic
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
---
|
|
401
|
+
|
|
402
|
+
## 🔄 vs Diğer CLI'lar
|
|
403
|
+
|
|
404
|
+
| Özellik | NatureCo | Claude Code | Hermes | OpenClaw |
|
|
405
|
+
|---------|----------|-------------|--------|----------|
|
|
406
|
+
| Multi-provider | ✅ 12 | ❌ Anthropic | ✅ 8 | ❌ |
|
|
407
|
+
| 200+ model | ✅ | ❌ | ✅ | ❌ |
|
|
408
|
+
| Slash-prefix | ✅ v5.6 | ❌ | ❌ | ❌ |
|
|
409
|
+
| Dangerous Command Approval | ✅ v5.6 | ❌ | ✅ | ❌ |
|
|
410
|
+
| Multi-channel (10 platform) | ✅ | ❌ | ✅ (Python) | ❌ |
|
|
411
|
+
| Persistent memory | ✅ | ✅ | ✅ | ❌ |
|
|
412
|
+
| Tool result anonimleştirme | ✅ v5.6 | ❌ | ❌ | ❌ |
|
|
413
|
+
| XP/Gamification | ✅ | ❌ | ❌ | ❌ |
|
|
414
|
+
| SEO/Medium/NatureHub native | ✅ | ❌ | ❌ | ❌ |
|
|
415
|
+
| Türkçe yerelleştirme | ✅ %100 | ❌ | Kısmi | ❌ |
|
|
416
|
+
| MIT lisanslı | ✅ | ✅ | ❌ | ❌ |
|
|
417
|
+
| npm paketi | ✅ v5.6 | ❌ | ❌ | ❌ |
|
|
418
|
+
| 57 tool | ✅ | ✅ ~30 | ✅ ~25 | ✅ ~40 |
|
|
419
|
+
| Cron + Hooks + Webhooks | ✅ | ❌ | ✅ | ❌ |
|
|
420
|
+
|
|
421
|
+
---
|
|
422
|
+
|
|
423
|
+
## 🛠️ Sistem Gereksinimleri
|
|
424
|
+
|
|
425
|
+
| Gereksinim | Minimum | Önerilen |
|
|
426
|
+
|------------|---------|----------|
|
|
427
|
+
| **Node.js** | 18.x | 20.x (LTS) |
|
|
428
|
+
| **RAM** | 256 MB | 512 MB |
|
|
429
|
+
| **Disk** | 100 MB | 500 MB (cache ile) |
|
|
430
|
+
| **OS** | macOS 12, Win 10, Ubuntu 20 | macOS 14+, Win 11, Ubuntu 22 |
|
|
431
|
+
| **İnternet** | Gereklidir | - |
|
|
432
|
+
|
|
433
|
+
**Bağımlılıklar:** sadece 18 npm paketi. Hafif.
|
|
434
|
+
|
|
435
|
+
---
|
|
436
|
+
|
|
437
|
+
## 🚀 Gerçek Örnekler
|
|
438
|
+
|
|
439
|
+
### 1. Basit Sohbet
|
|
440
|
+
```
|
|
441
|
+
$ natureco chat
|
|
442
|
+
Provider: api.minimax.io
|
|
443
|
+
Model: MiniMax-M2.5
|
|
444
|
+
Bot: naruto
|
|
445
|
+
|
|
446
|
+
👋 Merhaba! Ben naruto, patron.
|
|
447
|
+
|
|
448
|
+
You > sen kimsin?
|
|
449
|
+
AI Ben naruto, NatureCo CLI'nin Türkçe yapay zekâ asistanıyım. 57 tool aktif,
|
|
450
|
+
hafıza korunuyor, kanallar hazır.
|
|
451
|
+
|
|
452
|
+
You > bana bir fıkra anlat
|
|
453
|
+
AI Temel bir bilgisayar fıkrası: ...
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
### 2. Telegram Bot Bağlantısı
|
|
457
|
+
```
|
|
458
|
+
$ natureco telegram connect
|
|
459
|
+
? Telegram bot token: *** (BotFather'dan)
|
|
460
|
+
✓ Token zaten kayıtlı: 889****729:AAGJ9PX4j...
|
|
461
|
+
Bot ID: telegram_1782204289029
|
|
462
|
+
|
|
463
|
+
$ natureco telegram chatid
|
|
464
|
+
⏳ Bot çalıştırılıyor, ilk mesajı bekliyorum...
|
|
465
|
+
[Telegram'dan /start yaz]
|
|
466
|
+
✓ Chat ID algılandı: 6139455189
|
|
467
|
+
|
|
468
|
+
$ natureco gateway start
|
|
469
|
+
[gateway] Gateway running (PID 77765)
|
|
470
|
+
[telegram] watching for inbound
|
|
471
|
+
[telegram] Inbound from +90****44: "selam"
|
|
472
|
+
[telegram] Sending to AI provider...
|
|
473
|
+
[telegram] Reply sent (117 chars)
|
|
474
|
+
```
|
|
475
|
+
|
|
476
|
+
### 3. iMessage Slash Komutu
|
|
477
|
+
```
|
|
478
|
+
$ natureco imessage connect
|
|
479
|
+
? imsg CLI yolu: /opt/homebrew/bin/imsg
|
|
480
|
+
✓ Bağlantı kuruldu
|
|
481
|
+
|
|
482
|
+
$ natureco imessage allow +90****4449
|
|
483
|
+
✓ İzin verildi: +90****4449
|
|
484
|
+
|
|
485
|
+
$ natureco gateway start
|
|
486
|
+
[imessage] watching for new messages (streaming)
|
|
487
|
+
|
|
488
|
+
[Telegram'da /start yaz]
|
|
489
|
+
[iMessage'da /sen kimsin yaz]
|
|
490
|
+
[imessage] Inbound from +90****4449: "/sen kimsin"
|
|
491
|
+
[imessage] Slash command: /sen kimsin
|
|
492
|
+
[imessage] Reply sent (178 chars)
|
|
493
|
+
```
|
|
494
|
+
|
|
495
|
+
### 4. Kod Ajanı — Basit Uygulama
|
|
496
|
+
```
|
|
497
|
+
$ natureco code
|
|
498
|
+
NatureCo Code Agent v5
|
|
499
|
+
|
|
500
|
+
You > notes.py olustur, not ekleme/listeleme/silme, JSON dosyasi
|
|
501
|
+
|
|
502
|
+
Tool: write_file (2303 bytes)
|
|
503
|
+
Tool: bash (python3 notes.py)
|
|
504
|
+
✅ Not eklendi: Alışveriş
|
|
505
|
+
✅ Not eklendi: Toplantı
|
|
506
|
+
✅ Not eklendi: Kitap
|
|
507
|
+
✅ Toplam: 3 not
|
|
508
|
+
✅ Silme başarılı: ID 2
|
|
509
|
+
|
|
510
|
+
📂 `notes.py` (2303 bytes)
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
---
|
|
514
|
+
|
|
515
|
+
## 🔌 Entegrasyonlar
|
|
516
|
+
|
|
517
|
+
### Webhook
|
|
518
|
+
```bash
|
|
519
|
+
# HTTP callback URL'leri
|
|
520
|
+
natureco webhooks add https://example.com/hook
|
|
521
|
+
|
|
522
|
+
# incoming webhook (POST)
|
|
523
|
+
POST /webhook/<id>
|
|
524
|
+
Content-Type: application/json
|
|
525
|
+
{"event": "...", "data": {...}}
|
|
526
|
+
```
|
|
527
|
+
|
|
528
|
+
### Cron (Zamanlı Görev)
|
|
529
|
+
```bash
|
|
530
|
+
# Her 5 dakikada bir
|
|
531
|
+
natureco cron add \
|
|
532
|
+
--name "selam-gorevi" \
|
|
533
|
+
--schedule "*/5 * * * *" \
|
|
534
|
+
--command "echo 'Selam!'"
|
|
535
|
+
|
|
536
|
+
# Tek seferlik
|
|
537
|
+
natureco cron add --at "2026-12-31T23:59"
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
### MCP (Model Context Protocol)
|
|
541
|
+
```bash
|
|
542
|
+
natureco mcp add filesystem npx -y @modelcontextprotocol/server-filesystem
|
|
543
|
+
natureco mcp add github npx -y @modelcontextprotocol/server-github
|
|
544
|
+
```
|
|
545
|
+
|
|
546
|
+
---
|
|
547
|
+
|
|
548
|
+
## 📚 Dokümantasyon
|
|
549
|
+
|
|
550
|
+
- 🌐 **Ana sayfa:** [natureco.me/cli](https://natureco.me/cli)
|
|
551
|
+
- 📖 **Komut referansı:** [natureco.me/cli/commands](https://natureco.me/cli/commands)
|
|
552
|
+
- 🎓 **Tutorial:** [natureco.me/cli/getting-started](https://natureco.me/cli/getting-started)
|
|
553
|
+
- 🔧 **API:** [natureco.me/cli/api](https://natureco.me/cli/api)
|
|
554
|
+
- 💬 **Discord topluluğu:** [discord.gg/4FwumbWph](https://discord.gg/4FwumbWph)
|
|
555
|
+
- 🐦 **Twitter/X:** [@naturecoofficial](https://twitter.com/naturecoofficial)
|
|
556
|
+
|
|
557
|
+
---
|
|
558
|
+
|
|
559
|
+
## 🤝 Katkıda Bulunma
|
|
560
|
+
|
|
561
|
+
PR'ler ve issue'lar kabul edilir!
|
|
562
|
+
|
|
563
|
+
```bash
|
|
564
|
+
# Repo'yu klonla
|
|
565
|
+
git clone https://github.com/natureco-official/natureco-cli.git
|
|
566
|
+
cd cli
|
|
567
|
+
|
|
568
|
+
# Kur
|
|
569
|
+
npm install
|
|
570
|
+
|
|
571
|
+
# Test
|
|
572
|
+
npm test
|
|
573
|
+
|
|
574
|
+
# Lint
|
|
575
|
+
npm run lint
|
|
576
|
+
|
|
577
|
+
# Build
|
|
578
|
+
npm run build
|
|
579
|
+
```
|
|
580
|
+
|
|
581
|
+
**Katkıda bulunanlar:** [CONTRIBUTORS.md](https://github.com/natureco-official/natureco-cli/blob/main/CONTRIBUTORS.md)
|
|
582
|
+
|
|
583
|
+
---
|
|
584
|
+
|
|
585
|
+
## 📄 Lisans
|
|
586
|
+
|
|
587
|
+
MIT © [NatureCo](https://github.com/natureco)
|
|
588
|
+
|
|
589
|
+
---
|
|
590
|
+
|
|
591
|
+
## 🙏 Teşekkürler
|
|
592
|
+
|
|
593
|
+
- [OpenAI](https://openai.com) — GPT API
|
|
594
|
+
- [Anthropic](https://anthropic.com) — Claude API
|
|
595
|
+
- [MiniMax](https://api.minimax.io) — AI provider
|
|
596
|
+
- [Baileys](https://github.com/WhiskeySockets/Baileys) — WhatsApp Web
|
|
597
|
+
- [imsg](https://github.com/steipete/imsg) — iMessage CLI
|
|
598
|
+
- [ripgrep](https://github.com/BurntSushi/ripgrep) — fast search
|
|
599
|
+
|
|
600
|
+
---
|
|
601
|
+
|
|
602
|
+
<p align="center">
|
|
603
|
+
<b>Yapay Zekânın Gücü artık parmaklarının ucunda.</b><br>
|
|
604
|
+
<i>Terminalin hızını NatureCo ile keşfet.</i>
|
|
605
|
+
</p>
|
|
606
|
+
|
|
607
|
+
<p align="center">
|
|
608
|
+
Made with 🌿 in Turkey
|
|
611
609
|
</p>
|