yncli 1.1.3__tar.gz → 1.1.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.
- {yncli-1.1.3 → yncli-1.1.4}/PKG-INFO +1 -1
- {yncli-1.1.3 → yncli-1.1.4}/pyproject.toml +1 -1
- {yncli-1.1.3 → yncli-1.1.4}/setup.py +1 -1
- {yncli-1.1.3 → yncli-1.1.4}/yncli/tui.py +28 -9
- yncli-1.1.4/yncli/version.py +1 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli.egg-info/PKG-INFO +1 -1
- yncli-1.1.3/yncli/version.py +0 -1
- {yncli-1.1.3 → yncli-1.1.4}/README.md +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/setup.cfg +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/__init__.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/agent.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/built_in_skills/architect.md +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/built_in_skills/code_review.md +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/built_in_skills/debug_oracle.md +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/built_in_skills/debugger.md +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/built_in_skills/polyglot.md +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/built_in_skills/refactor_master.md +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/built_in_skills/security_auditor.md +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/built_in_skills/system_architect.md +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/built_in_skills/test_runner.md +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/built_in_skills/ultrabrain.md +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/clean_text.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/client.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/config.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/language_detector.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/main.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/mention_resolver.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/skills_manager.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/system_prompt.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/tools/__init__.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/tools/file_tools.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/tools/polyglot_tools.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/tools/search_tools.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/tools/system_tools.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/update_checker.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/workspace_memory.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli/workspace_scanner.py +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli.egg-info/SOURCES.txt +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli.egg-info/dependency_links.txt +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli.egg-info/entry_points.txt +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli.egg-info/requires.txt +0 -0
- {yncli-1.1.3 → yncli-1.1.4}/yncli.egg-info/top_level.txt +0 -0
|
@@ -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.1.
|
|
9
|
+
version="1.1.4",
|
|
10
10
|
description="Autonomous Polyglot AI Coding Agent & TUI",
|
|
11
11
|
long_description=long_description,
|
|
12
12
|
long_description_content_type="text/markdown",
|
|
@@ -204,17 +204,36 @@ class TerminalUI:
|
|
|
204
204
|
self.console.print("[red]Gagal mengambil daftar model dari server.[/red]")
|
|
205
205
|
return
|
|
206
206
|
|
|
207
|
+
# Filter out dead / zero-quota prefixes from provider (e.g. 'guts/' which returns 402 Payment Required)
|
|
208
|
+
# Prioritize top working models: 'ag/', 'cx/'
|
|
209
|
+
def model_sort_key(m_dict):
|
|
210
|
+
mid = m_dict.get("id", "")
|
|
211
|
+
if mid.startswith("ag/"):
|
|
212
|
+
return (0, mid)
|
|
213
|
+
elif mid.startswith("cx/"):
|
|
214
|
+
return (1, mid)
|
|
215
|
+
elif mid.startswith("cbcn/"):
|
|
216
|
+
return (3, mid)
|
|
217
|
+
elif mid.startswith("guts/"):
|
|
218
|
+
return (4, mid)
|
|
219
|
+
return (2, mid)
|
|
220
|
+
|
|
221
|
+
sorted_models = sorted(models, key=model_sort_key)
|
|
222
|
+
|
|
207
223
|
values = []
|
|
208
|
-
for m in
|
|
224
|
+
for m in sorted_models:
|
|
209
225
|
mid = m.get("id", "")
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
226
|
+
# Skip completely unpayable/broken models
|
|
227
|
+
if mid.startswith("guts/"):
|
|
228
|
+
continue
|
|
229
|
+
|
|
230
|
+
badge = ""
|
|
231
|
+
if mid.startswith("ag/"):
|
|
232
|
+
badge = " ⭐ (Ultra Fast & Stable)"
|
|
233
|
+
elif mid.startswith("cx/"):
|
|
234
|
+
badge = " ⚡ (Active)"
|
|
235
|
+
|
|
236
|
+
label = f"{mid}{badge}"
|
|
218
237
|
values.append((mid, label))
|
|
219
238
|
|
|
220
239
|
try:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.1.4"
|
yncli-1.1.3/yncli/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.1.3"
|
|
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
|
|
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
|