yncli 1.2.2__tar.gz → 1.2.4__tar.gz

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.
Files changed (46) hide show
  1. yncli-1.2.4/LICENSE +21 -0
  2. yncli-1.2.4/PKG-INFO +115 -0
  3. yncli-1.2.4/README.md +98 -0
  4. {yncli-1.2.2 → yncli-1.2.4}/pyproject.toml +1 -1
  5. {yncli-1.2.2 → yncli-1.2.4}/setup.py +1 -1
  6. {yncli-1.2.2 → yncli-1.2.4}/yncli/tui.py +29 -1
  7. yncli-1.2.4/yncli/version.py +1 -0
  8. yncli-1.2.4/yncli.egg-info/PKG-INFO +115 -0
  9. {yncli-1.2.2 → yncli-1.2.4}/yncli.egg-info/SOURCES.txt +1 -0
  10. yncli-1.2.2/PKG-INFO +0 -118
  11. yncli-1.2.2/README.md +0 -103
  12. yncli-1.2.2/yncli/version.py +0 -1
  13. yncli-1.2.2/yncli.egg-info/PKG-INFO +0 -118
  14. {yncli-1.2.2 → yncli-1.2.4}/setup.cfg +0 -0
  15. {yncli-1.2.2 → yncli-1.2.4}/yncli/__init__.py +0 -0
  16. {yncli-1.2.2 → yncli-1.2.4}/yncli/agent.py +0 -0
  17. {yncli-1.2.2 → yncli-1.2.4}/yncli/built_in_skills/architect.md +0 -0
  18. {yncli-1.2.2 → yncli-1.2.4}/yncli/built_in_skills/code_review.md +0 -0
  19. {yncli-1.2.2 → yncli-1.2.4}/yncli/built_in_skills/debug_oracle.md +0 -0
  20. {yncli-1.2.2 → yncli-1.2.4}/yncli/built_in_skills/debugger.md +0 -0
  21. {yncli-1.2.2 → yncli-1.2.4}/yncli/built_in_skills/polyglot.md +0 -0
  22. {yncli-1.2.2 → yncli-1.2.4}/yncli/built_in_skills/refactor_master.md +0 -0
  23. {yncli-1.2.2 → yncli-1.2.4}/yncli/built_in_skills/security_auditor.md +0 -0
  24. {yncli-1.2.2 → yncli-1.2.4}/yncli/built_in_skills/system_architect.md +0 -0
  25. {yncli-1.2.2 → yncli-1.2.4}/yncli/built_in_skills/test_runner.md +0 -0
  26. {yncli-1.2.2 → yncli-1.2.4}/yncli/built_in_skills/ultrabrain.md +0 -0
  27. {yncli-1.2.2 → yncli-1.2.4}/yncli/clean_text.py +0 -0
  28. {yncli-1.2.2 → yncli-1.2.4}/yncli/client.py +0 -0
  29. {yncli-1.2.2 → yncli-1.2.4}/yncli/config.py +0 -0
  30. {yncli-1.2.2 → yncli-1.2.4}/yncli/language_detector.py +0 -0
  31. {yncli-1.2.2 → yncli-1.2.4}/yncli/main.py +0 -0
  32. {yncli-1.2.2 → yncli-1.2.4}/yncli/mention_resolver.py +0 -0
  33. {yncli-1.2.2 → yncli-1.2.4}/yncli/skills_manager.py +0 -0
  34. {yncli-1.2.2 → yncli-1.2.4}/yncli/system_prompt.py +0 -0
  35. {yncli-1.2.2 → yncli-1.2.4}/yncli/tools/__init__.py +0 -0
  36. {yncli-1.2.2 → yncli-1.2.4}/yncli/tools/file_tools.py +0 -0
  37. {yncli-1.2.2 → yncli-1.2.4}/yncli/tools/polyglot_tools.py +0 -0
  38. {yncli-1.2.2 → yncli-1.2.4}/yncli/tools/search_tools.py +0 -0
  39. {yncli-1.2.2 → yncli-1.2.4}/yncli/tools/system_tools.py +0 -0
  40. {yncli-1.2.2 → yncli-1.2.4}/yncli/update_checker.py +0 -0
  41. {yncli-1.2.2 → yncli-1.2.4}/yncli/workspace_memory.py +0 -0
  42. {yncli-1.2.2 → yncli-1.2.4}/yncli/workspace_scanner.py +0 -0
  43. {yncli-1.2.2 → yncli-1.2.4}/yncli.egg-info/dependency_links.txt +0 -0
  44. {yncli-1.2.2 → yncli-1.2.4}/yncli.egg-info/entry_points.txt +0 -0
  45. {yncli-1.2.2 → yncli-1.2.4}/yncli.egg-info/requires.txt +0 -0
  46. {yncli-1.2.2 → yncli-1.2.4}/yncli.egg-info/top_level.txt +0 -0
yncli-1.2.4/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Yanzyuyu
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
yncli-1.2.4/PKG-INFO ADDED
@@ -0,0 +1,115 @@
1
+ Metadata-Version: 2.4
2
+ Name: yncli
3
+ Version: 1.2.4
4
+ Summary: Autonomous Polyglot AI Coding Agent & TUI
5
+ Author: Yanzyuyu
6
+ Requires-Python: >=3.8
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE
9
+ Requires-Dist: rich>=13.7.0
10
+ Requires-Dist: prompt_toolkit>=3.0.40
11
+ Requires-Dist: requests>=2.31.0
12
+ Requires-Dist: pygments>=2.17.0
13
+ Requires-Dist: beautifulsoup4>=4.12.0
14
+ Dynamic: author
15
+ Dynamic: license-file
16
+ Dynamic: requires-python
17
+
18
+ # yncli
19
+
20
+ A simple, fast AI coding assistant that lives in your terminal. It reads your project files, helps you plan features, and writes code directly to your disk so you don't have to copy-paste.
21
+
22
+ [![PyPI](https://img.shields.io/pypi/v/yncli?style=flat-square&color=blue)](https://pypi.org/project/yncli/)
23
+ [![npm](https://img.shields.io/npm/v/@yanzyuyu/yncli?style=flat-square&color=red)](https://www.npmjs.com/package/@yanzyuyu/yncli)
24
+ [![GitHub Stars](https://img.shields.io/github/stars/yanzyuyu/yncli?style=flat-square&color=yellow)](https://github.com/yanzyuyu/yncli/stargazers)
25
+ [![License: MIT](https://img.shields.io/badge/license-MIT-green?style=flat-square)](LICENSE)
26
+
27
+ ```text
28
+ █ █ yncli 1.2.3
29
+ █ █ Autonomous AI Coding Agent
30
+ █ █ ag/claude-sonnet-4-6 (Build Mode)
31
+ █ ~/Projects/laravel-app
32
+
33
+ Project: PHP / Laravel (10/193 files in active memory)
34
+
35
+ build > @UserController.php add rate limiting to login endpoint
36
+ [ - ] Modifying app/Http/Controllers/UserController.php...
37
+ [OK] Applied changes & syntax check passed!
38
+ ```
39
+
40
+ ---
41
+
42
+ ## Quick Start
43
+
44
+ Run it instantly without installing anything:
45
+
46
+ ```bash
47
+ npx @yanzyuyu/yncli
48
+ ```
49
+
50
+ Or install it globally:
51
+
52
+ ```bash
53
+ # Python
54
+ pip install yncli
55
+
56
+ # Node.js
57
+ npm install -g @yanzyuyu/yncli
58
+ ```
59
+
60
+ Then just open any project folder and run:
61
+
62
+ ```bash
63
+ yncli
64
+ ```
65
+
66
+ ---
67
+
68
+ ## Why use this?
69
+
70
+ Most AI tools spit out markdown blocks and expect you to copy-paste every file by hand. `yncli` works directly with your codebase:
71
+
72
+ - **Zero-Setup Context**: Automatically indexes your project files into memory so you never have to explain your directory structure.
73
+ - **Plans Before It Codes (`/plan`)**: Writes clear architecture specs and task lists into `plan.md` before making changes.
74
+ - **Direct File Edits (`/build`)**: Modifies files directly on disk and runs syntax validation for PHP/Laravel, TypeScript, Python, Go, and more.
75
+ - **Bring Your Own Model**: Use your Google Gemini key (`/google <key>`), connect local Ollama (`/endpoint http://localhost:11434/v1`), or use OpenRouter/Groq.
76
+ - **Noise-Free Terminal**: Pasting long error logs (100+ lines) collapses into `[ pasted 100 lines ]` so your screen stays clean.
77
+
78
+ ---
79
+
80
+ ## Usage
81
+
82
+ ```bash
83
+ # Interactive coding session
84
+ yncli
85
+
86
+ # Quick one-liner fix
87
+ yncli "Fix broken migration in database/migrations"
88
+
89
+ # Start directly in planning mode
90
+ yncli --mode plan
91
+ ```
92
+
93
+ ---
94
+
95
+ ## Shortcuts
96
+
97
+ Inside the session:
98
+
99
+ | Command | Description |
100
+ | :--- | :--- |
101
+ | `@file` | Mention any file to inject its full content into context |
102
+ | `/model` | Open interactive model picker popup |
103
+ | `/google <key>` | Connect directly with your Google Gemini AI key |
104
+ | `/default` | Reset to default models (`ag/*`, `cx/*`) |
105
+ | `/endpoint <url>` | Connect to local Ollama, OpenRouter, or OpenAI |
106
+ | `/plan` | Plan architecture & save to `plan.md` |
107
+ | `/build` | Code & edit files autonomously |
108
+ | `/skills` | Switch persona (architect, debugger, ultrabrain) |
109
+ | `/update` | Auto-update yncli to latest release |
110
+
111
+ ---
112
+
113
+ ## License
114
+
115
+ [MIT](LICENSE) © 2026 Yanzyuyu
yncli-1.2.4/README.md ADDED
@@ -0,0 +1,98 @@
1
+ # yncli
2
+
3
+ A simple, fast AI coding assistant that lives in your terminal. It reads your project files, helps you plan features, and writes code directly to your disk so you don't have to copy-paste.
4
+
5
+ [![PyPI](https://img.shields.io/pypi/v/yncli?style=flat-square&color=blue)](https://pypi.org/project/yncli/)
6
+ [![npm](https://img.shields.io/npm/v/@yanzyuyu/yncli?style=flat-square&color=red)](https://www.npmjs.com/package/@yanzyuyu/yncli)
7
+ [![GitHub Stars](https://img.shields.io/github/stars/yanzyuyu/yncli?style=flat-square&color=yellow)](https://github.com/yanzyuyu/yncli/stargazers)
8
+ [![License: MIT](https://img.shields.io/badge/license-MIT-green?style=flat-square)](LICENSE)
9
+
10
+ ```text
11
+ █ █ yncli 1.2.3
12
+ █ █ Autonomous AI Coding Agent
13
+ █ █ ag/claude-sonnet-4-6 (Build Mode)
14
+ █ ~/Projects/laravel-app
15
+
16
+ Project: PHP / Laravel (10/193 files in active memory)
17
+
18
+ build > @UserController.php add rate limiting to login endpoint
19
+ [ - ] Modifying app/Http/Controllers/UserController.php...
20
+ [OK] Applied changes & syntax check passed!
21
+ ```
22
+
23
+ ---
24
+
25
+ ## Quick Start
26
+
27
+ Run it instantly without installing anything:
28
+
29
+ ```bash
30
+ npx @yanzyuyu/yncli
31
+ ```
32
+
33
+ Or install it globally:
34
+
35
+ ```bash
36
+ # Python
37
+ pip install yncli
38
+
39
+ # Node.js
40
+ npm install -g @yanzyuyu/yncli
41
+ ```
42
+
43
+ Then just open any project folder and run:
44
+
45
+ ```bash
46
+ yncli
47
+ ```
48
+
49
+ ---
50
+
51
+ ## Why use this?
52
+
53
+ Most AI tools spit out markdown blocks and expect you to copy-paste every file by hand. `yncli` works directly with your codebase:
54
+
55
+ - **Zero-Setup Context**: Automatically indexes your project files into memory so you never have to explain your directory structure.
56
+ - **Plans Before It Codes (`/plan`)**: Writes clear architecture specs and task lists into `plan.md` before making changes.
57
+ - **Direct File Edits (`/build`)**: Modifies files directly on disk and runs syntax validation for PHP/Laravel, TypeScript, Python, Go, and more.
58
+ - **Bring Your Own Model**: Use your Google Gemini key (`/google <key>`), connect local Ollama (`/endpoint http://localhost:11434/v1`), or use OpenRouter/Groq.
59
+ - **Noise-Free Terminal**: Pasting long error logs (100+ lines) collapses into `[ pasted 100 lines ]` so your screen stays clean.
60
+
61
+ ---
62
+
63
+ ## Usage
64
+
65
+ ```bash
66
+ # Interactive coding session
67
+ yncli
68
+
69
+ # Quick one-liner fix
70
+ yncli "Fix broken migration in database/migrations"
71
+
72
+ # Start directly in planning mode
73
+ yncli --mode plan
74
+ ```
75
+
76
+ ---
77
+
78
+ ## Shortcuts
79
+
80
+ Inside the session:
81
+
82
+ | Command | Description |
83
+ | :--- | :--- |
84
+ | `@file` | Mention any file to inject its full content into context |
85
+ | `/model` | Open interactive model picker popup |
86
+ | `/google <key>` | Connect directly with your Google Gemini AI key |
87
+ | `/default` | Reset to default models (`ag/*`, `cx/*`) |
88
+ | `/endpoint <url>` | Connect to local Ollama, OpenRouter, or OpenAI |
89
+ | `/plan` | Plan architecture & save to `plan.md` |
90
+ | `/build` | Code & edit files autonomously |
91
+ | `/skills` | Switch persona (architect, debugger, ultrabrain) |
92
+ | `/update` | Auto-update yncli to latest release |
93
+
94
+ ---
95
+
96
+ ## License
97
+
98
+ [MIT](LICENSE) © 2026 Yanzyuyu
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "yncli"
7
- version = "1.2.2"
7
+ version = "1.2.4"
8
8
  description = "Autonomous Polyglot AI Coding Agent & TUI"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -6,7 +6,7 @@ long_description = (this_directory / "README.md").read_text(encoding="utf-8") if
6
6
 
7
7
  setup(
8
8
  name="yncli",
9
- version="1.2.2",
9
+ version="1.2.4",
10
10
  description="Autonomous Polyglot AI Coding Agent & TUI",
11
11
  long_description=long_description,
12
12
  long_description_content_type="text/markdown",
@@ -179,7 +179,8 @@ class TerminalUI:
179
179
  table.add_column("Keterangan", style="white")
180
180
 
181
181
  table.add_row("/model, /models", "Buka popup interaktif untuk memilih model AI (klik mouse / panah)")
182
- table.add_row("/google <api_key>", "Hubungkan langsung ke Google AI Studio Gemini API Key Anda!")
182
+ table.add_row("/default, /reset", "Kembalikan provider & model ke bawaan (Model ag/*, cx/*)")
183
+ table.add_row("/google <api_key>", "Hubungkan langsung ke Google AI Studio Gemini API Key Anda")
183
184
  table.add_row("/key <api_key>", "Ganti API Key kustom Anda")
184
185
  table.add_row("/endpoint <url>", "Ganti Endpoint API kustom (OpenAI, Ollama, OpenRouter, Groq, dll)")
185
186
  table.add_row("/plan", "Masuk ke Plan Mode (Riset & susun PRD plan.md otomatis)")
@@ -329,6 +330,33 @@ class TerminalUI:
329
330
  self.console.print(f"[green]Endpoint API berhasil diganti ke: [cyan]{new_url}[/cyan][/green]")
330
331
  return True
331
332
 
333
+ elif cmd in ("/default", "/reset", "/reset-api"):
334
+ from yncli.config import DEFAULT_BASE_URL, DEFAULT_API_KEY, DEFAULT_MODEL
335
+ self.agent.client.base_url = DEFAULT_BASE_URL
336
+ self.agent.client.api_key = DEFAULT_API_KEY
337
+ self.agent.set_model(DEFAULT_MODEL)
338
+ save_config({
339
+ "base_url": DEFAULT_BASE_URL,
340
+ "api_key": DEFAULT_API_KEY,
341
+ "model": DEFAULT_MODEL
342
+ })
343
+ self.console.print("[bold green]Berhasil reset ke konfigurasi bawaan (Default Provider)![/bold green]")
344
+ self.console.print(f"Endpoint: [cyan]{DEFAULT_BASE_URL}[/cyan]")
345
+ self.console.print(f"Model aktif: [cyan]{DEFAULT_MODEL}[/cyan] (Daftar model ag/*, cx/* kembali tersedia via [yellow]/model[/yellow])")
346
+ return True
347
+
348
+ elif cmd in ("/key", "/apikey"):
349
+ if not args:
350
+ masked = self.agent.client.api_key[:6] + "..." + self.agent.client.api_key[-4:] if len(self.agent.client.api_key) > 10 else "***"
351
+ self.console.print(f"API Key saat ini: [cyan]{masked}[/cyan]")
352
+ self.console.print("Gunakan: [yellow]/key <api_key_anda>[/yellow]")
353
+ return True
354
+ new_key = args[0].strip()
355
+ self.agent.client.api_key = new_key
356
+ save_config({"api_key": new_key})
357
+ self.console.print("[green]API Key berhasil disimpan dan diperbarui.[/green]")
358
+ return True
359
+
332
360
  elif cmd in ("/google", "/gemini"):
333
361
  if not args:
334
362
  self.console.print("Gunakan: [yellow]/google <google_api_key>[/yellow]")
@@ -0,0 +1 @@
1
+ __version__ = "1.2.4"
@@ -0,0 +1,115 @@
1
+ Metadata-Version: 2.4
2
+ Name: yncli
3
+ Version: 1.2.4
4
+ Summary: Autonomous Polyglot AI Coding Agent & TUI
5
+ Author: Yanzyuyu
6
+ Requires-Python: >=3.8
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE
9
+ Requires-Dist: rich>=13.7.0
10
+ Requires-Dist: prompt_toolkit>=3.0.40
11
+ Requires-Dist: requests>=2.31.0
12
+ Requires-Dist: pygments>=2.17.0
13
+ Requires-Dist: beautifulsoup4>=4.12.0
14
+ Dynamic: author
15
+ Dynamic: license-file
16
+ Dynamic: requires-python
17
+
18
+ # yncli
19
+
20
+ A simple, fast AI coding assistant that lives in your terminal. It reads your project files, helps you plan features, and writes code directly to your disk so you don't have to copy-paste.
21
+
22
+ [![PyPI](https://img.shields.io/pypi/v/yncli?style=flat-square&color=blue)](https://pypi.org/project/yncli/)
23
+ [![npm](https://img.shields.io/npm/v/@yanzyuyu/yncli?style=flat-square&color=red)](https://www.npmjs.com/package/@yanzyuyu/yncli)
24
+ [![GitHub Stars](https://img.shields.io/github/stars/yanzyuyu/yncli?style=flat-square&color=yellow)](https://github.com/yanzyuyu/yncli/stargazers)
25
+ [![License: MIT](https://img.shields.io/badge/license-MIT-green?style=flat-square)](LICENSE)
26
+
27
+ ```text
28
+ █ █ yncli 1.2.3
29
+ █ █ Autonomous AI Coding Agent
30
+ █ █ ag/claude-sonnet-4-6 (Build Mode)
31
+ █ ~/Projects/laravel-app
32
+
33
+ Project: PHP / Laravel (10/193 files in active memory)
34
+
35
+ build > @UserController.php add rate limiting to login endpoint
36
+ [ - ] Modifying app/Http/Controllers/UserController.php...
37
+ [OK] Applied changes & syntax check passed!
38
+ ```
39
+
40
+ ---
41
+
42
+ ## Quick Start
43
+
44
+ Run it instantly without installing anything:
45
+
46
+ ```bash
47
+ npx @yanzyuyu/yncli
48
+ ```
49
+
50
+ Or install it globally:
51
+
52
+ ```bash
53
+ # Python
54
+ pip install yncli
55
+
56
+ # Node.js
57
+ npm install -g @yanzyuyu/yncli
58
+ ```
59
+
60
+ Then just open any project folder and run:
61
+
62
+ ```bash
63
+ yncli
64
+ ```
65
+
66
+ ---
67
+
68
+ ## Why use this?
69
+
70
+ Most AI tools spit out markdown blocks and expect you to copy-paste every file by hand. `yncli` works directly with your codebase:
71
+
72
+ - **Zero-Setup Context**: Automatically indexes your project files into memory so you never have to explain your directory structure.
73
+ - **Plans Before It Codes (`/plan`)**: Writes clear architecture specs and task lists into `plan.md` before making changes.
74
+ - **Direct File Edits (`/build`)**: Modifies files directly on disk and runs syntax validation for PHP/Laravel, TypeScript, Python, Go, and more.
75
+ - **Bring Your Own Model**: Use your Google Gemini key (`/google <key>`), connect local Ollama (`/endpoint http://localhost:11434/v1`), or use OpenRouter/Groq.
76
+ - **Noise-Free Terminal**: Pasting long error logs (100+ lines) collapses into `[ pasted 100 lines ]` so your screen stays clean.
77
+
78
+ ---
79
+
80
+ ## Usage
81
+
82
+ ```bash
83
+ # Interactive coding session
84
+ yncli
85
+
86
+ # Quick one-liner fix
87
+ yncli "Fix broken migration in database/migrations"
88
+
89
+ # Start directly in planning mode
90
+ yncli --mode plan
91
+ ```
92
+
93
+ ---
94
+
95
+ ## Shortcuts
96
+
97
+ Inside the session:
98
+
99
+ | Command | Description |
100
+ | :--- | :--- |
101
+ | `@file` | Mention any file to inject its full content into context |
102
+ | `/model` | Open interactive model picker popup |
103
+ | `/google <key>` | Connect directly with your Google Gemini AI key |
104
+ | `/default` | Reset to default models (`ag/*`, `cx/*`) |
105
+ | `/endpoint <url>` | Connect to local Ollama, OpenRouter, or OpenAI |
106
+ | `/plan` | Plan architecture & save to `plan.md` |
107
+ | `/build` | Code & edit files autonomously |
108
+ | `/skills` | Switch persona (architect, debugger, ultrabrain) |
109
+ | `/update` | Auto-update yncli to latest release |
110
+
111
+ ---
112
+
113
+ ## License
114
+
115
+ [MIT](LICENSE) © 2026 Yanzyuyu
@@ -1,3 +1,4 @@
1
+ LICENSE
1
2
  README.md
2
3
  pyproject.toml
3
4
  setup.py
yncli-1.2.2/PKG-INFO DELETED
@@ -1,118 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: yncli
3
- Version: 1.2.2
4
- Summary: Autonomous Polyglot AI Coding Agent & TUI
5
- Author: Yanzyuyu
6
- Requires-Python: >=3.8
7
- Description-Content-Type: text/markdown
8
- Requires-Dist: rich>=13.7.0
9
- Requires-Dist: prompt_toolkit>=3.0.40
10
- Requires-Dist: requests>=2.31.0
11
- Requires-Dist: pygments>=2.17.0
12
- Requires-Dist: beautifulsoup4>=4.12.0
13
- Dynamic: author
14
- Dynamic: requires-python
15
-
16
- # yncli
17
-
18
- > AI coding agent untuk terminal. Langsung paham struktur workspace Anda, merancang rencana di `plan.md`, dan mengeksekusi kode tanpa basa-basi.
19
-
20
- ---
21
-
22
- ## ⚡ Cara Pasang & Jalankan
23
-
24
- ### Lewat NPX / NPM (Node.js)
25
- ```bash
26
- # Langsung jalankan tanpa instalasi:
27
- npx @yanzyuyu/yncli
28
-
29
- # Atau pasang secara global:
30
- npm install -g @yanzyuyu/yncli
31
- yncli
32
- ```
33
-
34
- ### Lewat Pip / Pipx (Python)
35
- ```bash
36
- # Pasang via pip:
37
- pip install yncli
38
- yncli
39
-
40
- # Atau jalankan via pipx:
41
- pipx run yncli
42
- ```
43
-
44
- ### Script Pasang Otomatis (PowerShell / Shell)
45
- - **Windows (PowerShell)**:
46
- ```powershell
47
- irm https://raw.githubusercontent.com/yanzyuyu/yncli/main/install.ps1 | iex
48
- ```
49
- - **macOS / Linux**:
50
- ```bash
51
- curl -fsSL https://raw.githubusercontent.com/yanzyuyu/yncli/main/install.sh | bash
52
- ```
53
-
54
- ---
55
-
56
- ## 💡 Kenapa Pakai yncli?
57
-
58
- 1. **Langsung Paham Isi Folder**
59
- Begitu dibuka di direktori proyek, `yncli` otomatis membaca file kode ke memori aktif. Anda tidak perlu repot copy-paste isi file manual.
60
-
61
- 2. **Perencanaan Jelas (`plan.md`)**
62
- Di **Plan Mode**, AI menganalisis sistem, menggambar rancangan ASCII, dan menulis dokumen PRD ke `plan.md` sebelum menyentuh kode produksi.
63
-
64
- 3. **Eksekusi Mandiri di Build Mode**
65
- Di **Build Mode**, AI langsung memodifikasi file, membuat komponen baru, dan memvalidasi sintaks (JS/TS, Python, Rust, Go, PHP, dll.) secara mandiri.
66
-
67
- 4. **Tampilan Bersih Satu Baris**
68
- Status eksekusi diperbarui di baris yang sama tanpa membanjiri layar terminal Anda dengan ratusan baris log yang tidak perlu.
69
-
70
- ---
71
-
72
- ## 🛠️ Contoh Penggunaan
73
-
74
- ### 1. Buka Konsol Interaktif
75
- Cukup buka terminal di folder proyek Anda:
76
- ```bash
77
- yncli
78
- ```
79
-
80
- ### 2. Kirim Instruksi Cepat Sekali Ketik
81
- ```bash
82
- yncli "buatkan REST API FastAPI dengan autentikasi JWT dan SQLite"
83
- ```
84
-
85
- ### 3. Opsi Tambahan
86
- ```bash
87
- # Ganti model AI:
88
- yncli -m ag/claude-sonnet-4-6
89
-
90
- # Mulai langsung di Plan Mode:
91
- yncli --mode plan
92
-
93
- # Aktifkan spesialisasi tertentu:
94
- yncli -s architect
95
- ```
96
-
97
- ---
98
-
99
- ## ⌨️ Perintah di Dalam Konsol (Slash Commands)
100
-
101
- | Perintah | Deskripsi |
102
- | :--- | :--- |
103
- | `/model` | Buka menu pop-up interaktif untuk memilih model AI (bisa diklik) |
104
- | `/plan` | Masuk ke Plan Mode (Riset arsitektur & susun `plan.md`) |
105
- | `/build` | Masuk ke Build Mode (Eksekusi pembuatan & modifikasi kode) |
106
- | `/ask` | Masuk ke Ask Mode (Konsultasi murni tanpa edit file) |
107
- | `/cd <folder>` | Pindah folder kerja aktif & muat ulang memori file |
108
- | `/approval` | Atur apakah tool dijalankan otomatis atau konfirmasi manual |
109
- | `/thinking` | Tampilkan atau sembunyikan proses penalaran AI |
110
- | `/skill <nama>` | Ganti persona (ultrabrain, architect, debugger, dll) |
111
- | `/clear` | Bersihkan riwayat chat dan segarkan memori proyek |
112
- | `/save` | Simpan riwayat percakapan ke file Markdown |
113
- | `/exit` | Keluar dari yncli |
114
-
115
- ---
116
-
117
- ## 📄 Lisensi
118
- [MIT License](LICENSE) © 2026 Yanzyuyu.
yncli-1.2.2/README.md DELETED
@@ -1,103 +0,0 @@
1
- # yncli
2
-
3
- > AI coding agent untuk terminal. Langsung paham struktur workspace Anda, merancang rencana di `plan.md`, dan mengeksekusi kode tanpa basa-basi.
4
-
5
- ---
6
-
7
- ## ⚡ Cara Pasang & Jalankan
8
-
9
- ### Lewat NPX / NPM (Node.js)
10
- ```bash
11
- # Langsung jalankan tanpa instalasi:
12
- npx @yanzyuyu/yncli
13
-
14
- # Atau pasang secara global:
15
- npm install -g @yanzyuyu/yncli
16
- yncli
17
- ```
18
-
19
- ### Lewat Pip / Pipx (Python)
20
- ```bash
21
- # Pasang via pip:
22
- pip install yncli
23
- yncli
24
-
25
- # Atau jalankan via pipx:
26
- pipx run yncli
27
- ```
28
-
29
- ### Script Pasang Otomatis (PowerShell / Shell)
30
- - **Windows (PowerShell)**:
31
- ```powershell
32
- irm https://raw.githubusercontent.com/yanzyuyu/yncli/main/install.ps1 | iex
33
- ```
34
- - **macOS / Linux**:
35
- ```bash
36
- curl -fsSL https://raw.githubusercontent.com/yanzyuyu/yncli/main/install.sh | bash
37
- ```
38
-
39
- ---
40
-
41
- ## 💡 Kenapa Pakai yncli?
42
-
43
- 1. **Langsung Paham Isi Folder**
44
- Begitu dibuka di direktori proyek, `yncli` otomatis membaca file kode ke memori aktif. Anda tidak perlu repot copy-paste isi file manual.
45
-
46
- 2. **Perencanaan Jelas (`plan.md`)**
47
- Di **Plan Mode**, AI menganalisis sistem, menggambar rancangan ASCII, dan menulis dokumen PRD ke `plan.md` sebelum menyentuh kode produksi.
48
-
49
- 3. **Eksekusi Mandiri di Build Mode**
50
- Di **Build Mode**, AI langsung memodifikasi file, membuat komponen baru, dan memvalidasi sintaks (JS/TS, Python, Rust, Go, PHP, dll.) secara mandiri.
51
-
52
- 4. **Tampilan Bersih Satu Baris**
53
- Status eksekusi diperbarui di baris yang sama tanpa membanjiri layar terminal Anda dengan ratusan baris log yang tidak perlu.
54
-
55
- ---
56
-
57
- ## 🛠️ Contoh Penggunaan
58
-
59
- ### 1. Buka Konsol Interaktif
60
- Cukup buka terminal di folder proyek Anda:
61
- ```bash
62
- yncli
63
- ```
64
-
65
- ### 2. Kirim Instruksi Cepat Sekali Ketik
66
- ```bash
67
- yncli "buatkan REST API FastAPI dengan autentikasi JWT dan SQLite"
68
- ```
69
-
70
- ### 3. Opsi Tambahan
71
- ```bash
72
- # Ganti model AI:
73
- yncli -m ag/claude-sonnet-4-6
74
-
75
- # Mulai langsung di Plan Mode:
76
- yncli --mode plan
77
-
78
- # Aktifkan spesialisasi tertentu:
79
- yncli -s architect
80
- ```
81
-
82
- ---
83
-
84
- ## ⌨️ Perintah di Dalam Konsol (Slash Commands)
85
-
86
- | Perintah | Deskripsi |
87
- | :--- | :--- |
88
- | `/model` | Buka menu pop-up interaktif untuk memilih model AI (bisa diklik) |
89
- | `/plan` | Masuk ke Plan Mode (Riset arsitektur & susun `plan.md`) |
90
- | `/build` | Masuk ke Build Mode (Eksekusi pembuatan & modifikasi kode) |
91
- | `/ask` | Masuk ke Ask Mode (Konsultasi murni tanpa edit file) |
92
- | `/cd <folder>` | Pindah folder kerja aktif & muat ulang memori file |
93
- | `/approval` | Atur apakah tool dijalankan otomatis atau konfirmasi manual |
94
- | `/thinking` | Tampilkan atau sembunyikan proses penalaran AI |
95
- | `/skill <nama>` | Ganti persona (ultrabrain, architect, debugger, dll) |
96
- | `/clear` | Bersihkan riwayat chat dan segarkan memori proyek |
97
- | `/save` | Simpan riwayat percakapan ke file Markdown |
98
- | `/exit` | Keluar dari yncli |
99
-
100
- ---
101
-
102
- ## 📄 Lisensi
103
- [MIT License](LICENSE) © 2026 Yanzyuyu.
@@ -1 +0,0 @@
1
- __version__ = "1.2.2"
@@ -1,118 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: yncli
3
- Version: 1.2.2
4
- Summary: Autonomous Polyglot AI Coding Agent & TUI
5
- Author: Yanzyuyu
6
- Requires-Python: >=3.8
7
- Description-Content-Type: text/markdown
8
- Requires-Dist: rich>=13.7.0
9
- Requires-Dist: prompt_toolkit>=3.0.40
10
- Requires-Dist: requests>=2.31.0
11
- Requires-Dist: pygments>=2.17.0
12
- Requires-Dist: beautifulsoup4>=4.12.0
13
- Dynamic: author
14
- Dynamic: requires-python
15
-
16
- # yncli
17
-
18
- > AI coding agent untuk terminal. Langsung paham struktur workspace Anda, merancang rencana di `plan.md`, dan mengeksekusi kode tanpa basa-basi.
19
-
20
- ---
21
-
22
- ## ⚡ Cara Pasang & Jalankan
23
-
24
- ### Lewat NPX / NPM (Node.js)
25
- ```bash
26
- # Langsung jalankan tanpa instalasi:
27
- npx @yanzyuyu/yncli
28
-
29
- # Atau pasang secara global:
30
- npm install -g @yanzyuyu/yncli
31
- yncli
32
- ```
33
-
34
- ### Lewat Pip / Pipx (Python)
35
- ```bash
36
- # Pasang via pip:
37
- pip install yncli
38
- yncli
39
-
40
- # Atau jalankan via pipx:
41
- pipx run yncli
42
- ```
43
-
44
- ### Script Pasang Otomatis (PowerShell / Shell)
45
- - **Windows (PowerShell)**:
46
- ```powershell
47
- irm https://raw.githubusercontent.com/yanzyuyu/yncli/main/install.ps1 | iex
48
- ```
49
- - **macOS / Linux**:
50
- ```bash
51
- curl -fsSL https://raw.githubusercontent.com/yanzyuyu/yncli/main/install.sh | bash
52
- ```
53
-
54
- ---
55
-
56
- ## 💡 Kenapa Pakai yncli?
57
-
58
- 1. **Langsung Paham Isi Folder**
59
- Begitu dibuka di direktori proyek, `yncli` otomatis membaca file kode ke memori aktif. Anda tidak perlu repot copy-paste isi file manual.
60
-
61
- 2. **Perencanaan Jelas (`plan.md`)**
62
- Di **Plan Mode**, AI menganalisis sistem, menggambar rancangan ASCII, dan menulis dokumen PRD ke `plan.md` sebelum menyentuh kode produksi.
63
-
64
- 3. **Eksekusi Mandiri di Build Mode**
65
- Di **Build Mode**, AI langsung memodifikasi file, membuat komponen baru, dan memvalidasi sintaks (JS/TS, Python, Rust, Go, PHP, dll.) secara mandiri.
66
-
67
- 4. **Tampilan Bersih Satu Baris**
68
- Status eksekusi diperbarui di baris yang sama tanpa membanjiri layar terminal Anda dengan ratusan baris log yang tidak perlu.
69
-
70
- ---
71
-
72
- ## 🛠️ Contoh Penggunaan
73
-
74
- ### 1. Buka Konsol Interaktif
75
- Cukup buka terminal di folder proyek Anda:
76
- ```bash
77
- yncli
78
- ```
79
-
80
- ### 2. Kirim Instruksi Cepat Sekali Ketik
81
- ```bash
82
- yncli "buatkan REST API FastAPI dengan autentikasi JWT dan SQLite"
83
- ```
84
-
85
- ### 3. Opsi Tambahan
86
- ```bash
87
- # Ganti model AI:
88
- yncli -m ag/claude-sonnet-4-6
89
-
90
- # Mulai langsung di Plan Mode:
91
- yncli --mode plan
92
-
93
- # Aktifkan spesialisasi tertentu:
94
- yncli -s architect
95
- ```
96
-
97
- ---
98
-
99
- ## ⌨️ Perintah di Dalam Konsol (Slash Commands)
100
-
101
- | Perintah | Deskripsi |
102
- | :--- | :--- |
103
- | `/model` | Buka menu pop-up interaktif untuk memilih model AI (bisa diklik) |
104
- | `/plan` | Masuk ke Plan Mode (Riset arsitektur & susun `plan.md`) |
105
- | `/build` | Masuk ke Build Mode (Eksekusi pembuatan & modifikasi kode) |
106
- | `/ask` | Masuk ke Ask Mode (Konsultasi murni tanpa edit file) |
107
- | `/cd <folder>` | Pindah folder kerja aktif & muat ulang memori file |
108
- | `/approval` | Atur apakah tool dijalankan otomatis atau konfirmasi manual |
109
- | `/thinking` | Tampilkan atau sembunyikan proses penalaran AI |
110
- | `/skill <nama>` | Ganti persona (ultrabrain, architect, debugger, dll) |
111
- | `/clear` | Bersihkan riwayat chat dan segarkan memori proyek |
112
- | `/save` | Simpan riwayat percakapan ke file Markdown |
113
- | `/exit` | Keluar dari yncli |
114
-
115
- ---
116
-
117
- ## 📄 Lisensi
118
- [MIT License](LICENSE) © 2026 Yanzyuyu.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes