tzero-mcp 12.2.2 → 12.3.2
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/README.md +6 -30
- package/bin/tzero-mcp.js +2 -2
- package/bin/tzero.js +11 -6
- package/package.json +1 -2
- package/src/addmcp.py +2 -2
- package/src/app.py +1 -1
- package/src/tzero/__init__.py +1 -1
- package/src/tzero/anti_rea/__init__.py +16 -2
- package/src/tzero/anti_rea/algebraic_mutator.py +65 -44
- package/src/tzero/anti_rea/anti_debugger.py +51 -18
- package/src/tzero/anti_rea/asar_shield.py +21 -0
- package/src/tzero/anti_rea/auditor.py +20 -0
- package/src/tzero/anti_rea/canary_beacon.py +33 -61
- package/src/tzero/anti_rea/cli.py +30 -4
- package/src/tzero/anti_rea/crypto_loader.py +132 -0
- package/src/tzero/anti_rea/engine.py +51 -20
- package/src/tzero/anti_rea/extractor_shield.py +60 -25
- package/src/tzero/anti_rea/tier_catalog.py +388 -0
- package/src/tzero/tzero_armor.py +3 -3
- package/src/tzero/tzero_benchmark.py +1 -1
- package/src/tzero/tzero_budget.py +1 -1
- package/src/tzero/tzero_ci.py +2 -2
- package/src/tzero/tzero_contracts.py +2 -2
- package/src/tzero/tzero_dashboard.py +3 -3
- package/src/tzero/tzero_debt.py +1 -1
- package/src/tzero/tzero_deps.py +109 -87
- package/src/tzero/tzero_explain.py +1 -1
- package/src/tzero/tzero_golden.py +2 -2
- package/src/tzero/tzero_growth.py +1 -1
- package/src/tzero/tzero_jarvis/workspace_orchestrator.py +1 -1
- package/src/tzero/tzero_jarvis/zero_key_router.py +10 -78
- package/src/tzero/tzero_lsp.py +1 -1
- package/src/tzero/tzero_mcp.py +8 -8
- package/src/tzero/tzero_mutation.py +6 -2
- package/src/tzero/tzero_promo.py +1 -1
- package/src/tzero/tzero_security.py +40 -11
- package/src/tzero/tzero_task_benchmark.py +2 -2
- package/src/tzero/tzero_traffic.py +1 -1
- package/src/tzero/tzero_tui.py +5 -5
- package/src/tzero/tzero_v3.py +44 -73
- package/src/tzero/tzero_welcome.py +1 -1
- package/bin/postinstall.js +0 -30
package/src/tzero/tzero_tui.py
CHANGED
|
@@ -135,7 +135,7 @@ class TZeroTerminalCockpit:
|
|
|
135
135
|
("9", "Run AST Mutation Test Suite", "🧬 Run AST Mutation Test Suite (`tzero --mutate <file>`)"),
|
|
136
136
|
("10", "Code Health & Technical Debt Index", "🏥 Code Health & Technical Debt Index (`tzero --debt`)"),
|
|
137
137
|
("11", "Context Budget Optimizer & Certificate", "📜 Context Budget Optimizer & Certificate (`tzero --budget`)"),
|
|
138
|
-
("12", "Anti-REA
|
|
138
|
+
("12", "Anti-REA 180-Tier Armor & Audit", "🛡️ Anti-REA 180-Tier Armor & Audit (`tzero --audit-rea`)"),
|
|
139
139
|
("13", "Offline Telemetry & ROI Tracker", "📊 Offline Telemetry & ROI Tracker (`tzero --telemetry`)"),
|
|
140
140
|
("0", "Exit TUI", "🚪 Exit TUI"),
|
|
141
141
|
]
|
|
@@ -180,8 +180,8 @@ class TZeroTerminalCockpit:
|
|
|
180
180
|
box_bottom = f"{c.CYAN}╚{'═' * 78}╝{c.RESET}"
|
|
181
181
|
|
|
182
182
|
lines.append(box_top)
|
|
183
|
-
lines.append(cls._box_line(f" {c.BOLD}{c.BRIGHT_CYAN}⚡ SİBER AKADEMİ — T-ZERO CONTEXT ARCHITECT & LIVE COCKPIT v12.
|
|
184
|
-
lines.append(cls._box_line(f" {c.DIM}
|
|
183
|
+
lines.append(cls._box_line(f" {c.BOLD}{c.BRIGHT_CYAN}⚡ SİBER AKADEMİ — T-ZERO CONTEXT ARCHITECT & LIVE COCKPIT v12.3.2{c.RESET}"))
|
|
184
|
+
lines.append(cls._box_line(f" {c.DIM}Local AST Analysis | Optional Network Services{c.RESET}"))
|
|
185
185
|
lines.append(box_mid)
|
|
186
186
|
|
|
187
187
|
# Workspace summary line
|
|
@@ -325,7 +325,7 @@ class TZeroTerminalCockpit:
|
|
|
325
325
|
elif choice == "4":
|
|
326
326
|
from tzero.tzero_commit import LocalSemanticCommitSynthesizer
|
|
327
327
|
print(f"\n{cls.YELLOW}[Synthesizing Release CHANGELOG]...{cls.RESET}")
|
|
328
|
-
entry = LocalSemanticCommitSynthesizer.generate_changelog_entry(version="v12.
|
|
328
|
+
entry = LocalSemanticCommitSynthesizer.generate_changelog_entry(version="v12.3.2", repo_dir=workspace_dir)
|
|
329
329
|
print(f"\n{cls.BRIGHT_CYAN}{entry}{cls.RESET}\n")
|
|
330
330
|
input("Press Enter to return to cockpit...")
|
|
331
331
|
elif choice == "5":
|
|
@@ -402,7 +402,7 @@ class TZeroTerminalCockpit:
|
|
|
402
402
|
input("Press Enter to return to cockpit...")
|
|
403
403
|
elif choice == "12":
|
|
404
404
|
from tzero.tzero_armor import audit_path_rea_resistance, protect_path_with_armor
|
|
405
|
-
print(f"\n{cls.YELLOW}[Auditing
|
|
405
|
+
print(f"\n{cls.YELLOW}[Auditing 180-Tier Anti-REA Resistance for {workspace_dir}]...{cls.RESET}")
|
|
406
406
|
audit = audit_path_rea_resistance(workspace_dir)
|
|
407
407
|
print(f"{cls.BRIGHT_CYAN}AI Resistance Score: {audit.get('score', 0)}/100 ({audit.get('rating', 'UNKNOWN')}){cls.RESET}")
|
|
408
408
|
apply_ans = input("Apply Anti-REA armor to target file/dir now? [y/N]: ").strip().lower()
|
package/src/tzero/tzero_v3.py
CHANGED
|
@@ -493,7 +493,7 @@ def calculate_token_cost(token_count: int, provider_name: str) -> float:
|
|
|
493
493
|
# i18n Translations
|
|
494
494
|
TRANSLATIONS: Dict[str, Dict[str, str]] = {
|
|
495
495
|
"en": {
|
|
496
|
-
"title": "T-Zero Developer Console & Context Architect v12.
|
|
496
|
+
"title": "T-Zero Developer Console & Context Architect v12.3.2",
|
|
497
497
|
"subtitle": f"Developer: {DEV_NAME} | {DEV_URL_MAIN} | {DEV_URL_BIO}",
|
|
498
498
|
"overview_tab": "🏠 Overview Dashboard",
|
|
499
499
|
"setup_tab": "⚡ Setup & AI Models",
|
|
@@ -530,7 +530,7 @@ TRANSLATIONS: Dict[str, Dict[str, str]] = {
|
|
|
530
530
|
"audit_btn": "🛡️ SECURITY AUDIT"
|
|
531
531
|
},
|
|
532
532
|
"tr": {
|
|
533
|
-
"title": "T-Zero Geliştirici Konsolu & Bağlam Mimarı v12.
|
|
533
|
+
"title": "T-Zero Geliştirici Konsolu & Bağlam Mimarı v12.3.2",
|
|
534
534
|
"subtitle": f"Geliştirici: {DEV_NAME} | {DEV_URL_MAIN} | {DEV_URL_BIO}",
|
|
535
535
|
"overview_tab": "🏠 Genel Bakış",
|
|
536
536
|
"setup_tab": "⚡ Kurulum & Model",
|
|
@@ -1094,23 +1094,7 @@ class LocalOllamaProvider(BaseProvider):
|
|
|
1094
1094
|
}
|
|
1095
1095
|
|
|
1096
1096
|
|
|
1097
|
-
class FreePollinationsProvider(BaseProvider):
|
|
1098
|
-
def __init__(self):
|
|
1099
|
-
super().__init__(
|
|
1100
|
-
"Free AI Cloud (No Key Required)",
|
|
1101
|
-
"https://text.pollinations.ai/openai",
|
|
1102
|
-
["openai", "mistral", "qwen-coder", "deepseek"]
|
|
1103
|
-
)
|
|
1104
|
-
|
|
1105
|
-
def get_headers(self, api_key: str = "") -> Dict[str, str]:
|
|
1106
|
-
return {
|
|
1107
|
-
"Content-Type": "application/json",
|
|
1108
|
-
"User-Agent": f"TZeroAlgorithmV4/4.1 (Toprak Ahmet Aydogmus; {DEV_URL_GITHUB})"
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
1097
|
PROVIDERS: Dict[str, BaseProvider] = {
|
|
1113
|
-
"Free AI Cloud (No Key Required)": FreePollinationsProvider(),
|
|
1114
1098
|
"NVIDIA NIM": NvidiaProvider(),
|
|
1115
1099
|
"OpenAI": OpenAIProvider(),
|
|
1116
1100
|
"Google Gemini": GeminiProvider(),
|
|
@@ -2459,7 +2443,8 @@ class ContextExportManager:
|
|
|
2459
2443
|
"""Generates ARCHITECTURE.md with Mermaid diagrams and module specs.
|
|
2460
2444
|
|
|
2461
2445
|
Supports live 3rd-party AI synthesis (NVIDIA NIM, OpenAI, Gemini, Anthropic, OpenRouter,
|
|
2462
|
-
Local Ollama
|
|
2446
|
+
or Local Ollama) and falls back locally to the AST architecture engine on missing
|
|
2447
|
+
credentials or provider errors without silent cloud retries.
|
|
2463
2448
|
"""
|
|
2464
2449
|
if use_ai:
|
|
2465
2450
|
try:
|
|
@@ -2478,11 +2463,22 @@ class ContextExportManager:
|
|
|
2478
2463
|
if not active_model and active_prov:
|
|
2479
2464
|
active_model = prof.get("model") or active_prov.get_models()[0]
|
|
2480
2465
|
|
|
2481
|
-
if not
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2466
|
+
if not active_prov:
|
|
2467
|
+
if progress_cb:
|
|
2468
|
+
progress_cb(50, "No remote provider configured. Using Local AST Architecture Engine...")
|
|
2469
|
+
return ContextExportManager.generate_offline_architecture_blueprint(
|
|
2470
|
+
project_name, files, deps, snippets
|
|
2471
|
+
)
|
|
2472
|
+
|
|
2473
|
+
if not active_key and active_prov.name != "Local Ollama":
|
|
2474
|
+
if progress_cb:
|
|
2475
|
+
progress_cb(
|
|
2476
|
+
50,
|
|
2477
|
+
f"No API credential configured for {active_prov.name}. Using Local AST Architecture Engine...",
|
|
2478
|
+
)
|
|
2479
|
+
return ContextExportManager.generate_offline_architecture_blueprint(
|
|
2480
|
+
project_name, files, deps, snippets
|
|
2481
|
+
)
|
|
2486
2482
|
|
|
2487
2483
|
if progress_cb:
|
|
2488
2484
|
progress_cb(30, f"Synthesizing architecture with {active_prov.name} ({active_model})...")
|
|
@@ -3611,7 +3607,7 @@ class SecurityHubCard(LuxuryCard):
|
|
|
3611
3607
|
def __init__(self, parent, action_cmd=None, armor_cmd=None, **kwargs):
|
|
3612
3608
|
super().__init__(parent, radius=18, padding=12, **kwargs)
|
|
3613
3609
|
tk.Label(self.inner, text="🛡 SİBER AKADEMİ GÜVENLİK", font=("Segoe UI", 9, "bold"), fg=PALETTE.get("accent_cyan", "#3843a0"), bg=self.card_bg).pack(anchor=tk.W)
|
|
3614
|
-
tk.Label(self.inner, text="100% Zero-Leak +
|
|
3610
|
+
tk.Label(self.inner, text="100% Zero-Leak + 180-Tier Anti-REA Armor", font=("Segoe UI", 7), fg=PALETTE.get("accent_green", "#10b981"), bg=self.card_bg).pack(anchor=tk.W, pady=(1, 6))
|
|
3615
3611
|
btn_row = tk.Frame(self.inner, bg=self.card_bg)
|
|
3616
3612
|
btn_row.pack(fill=tk.X)
|
|
3617
3613
|
self.btn = CanvasPillButton(btn_row, text="RAPORU İNCELE", command=action_cmd, height=28, radius=14, font=("Segoe UI", 7, "bold"), bg_color=PALETTE.get("card_hover", "#e0e7ff"), text_color=PALETTE.get("accent_cyan", "#3843a0"))
|
|
@@ -5008,7 +5004,7 @@ class AutoReadmeGUI:
|
|
|
5008
5004
|
self.open_security_audit_dialog()
|
|
5009
5005
|
|
|
5010
5006
|
def run_quick_anti_rea_armor(self):
|
|
5011
|
-
"""Executes
|
|
5007
|
+
"""Executes 180-Tier Anti-REA Resistance audit & protection from GUI Security Hub."""
|
|
5012
5008
|
target = (self.dir_entry.get().strip() if hasattr(self, "dir_entry") else "") or os.getcwd()
|
|
5013
5009
|
try:
|
|
5014
5010
|
from tzero.tzero_armor import audit_path_rea_resistance
|
|
@@ -5017,9 +5013,9 @@ class AutoReadmeGUI:
|
|
|
5017
5013
|
rating = audit.get("rating", "UNKNOWN")
|
|
5018
5014
|
self.log(f"[ANTI-REA AUDIT] Target: {target} | Score: {score}/100 ({rating})")
|
|
5019
5015
|
messagebox.showinfo(
|
|
5020
|
-
"T-Zero
|
|
5016
|
+
"T-Zero 180-Tier Anti-REA Armor",
|
|
5021
5017
|
f"Target: {target}\nAI Resistance Score: {score}/100 ({rating})\n"
|
|
5022
|
-
f"Active
|
|
5018
|
+
f"Active Defense Matrix: 12 Domains x 15 Sub-Tiers (Crypto Capsule, Opaque CFF, PolyVM, Anti-Debug, Anti-VM, RDTSC).",
|
|
5023
5019
|
)
|
|
5024
5020
|
except Exception as exc:
|
|
5025
5021
|
self.log(f"[ANTI-REA ERROR] {exc}")
|
|
@@ -7748,32 +7744,21 @@ Custom Requirements:
|
|
|
7748
7744
|
generator = ContextGenerator(self.cancel_event)
|
|
7749
7745
|
target_dir = self.dir_entry.get().strip() or os.getcwd()
|
|
7750
7746
|
|
|
7751
|
-
# If commercial provider has no key at all,
|
|
7752
|
-
if not key and p.name
|
|
7753
|
-
self.log(
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
free_headers = free_p.get_headers("")
|
|
7747
|
+
# If commercial provider has no key at all, stay strictly local via the AST engine (no cloud fallback)
|
|
7748
|
+
if not key and p.name != "Local Ollama":
|
|
7749
|
+
self.log(
|
|
7750
|
+
f"Harici API anahtarı girilmedi ({provider_name}). Veriler dışarı gönderilmeden Yerel Çevrimdışı AST Motoru çalıştırılıyor..."
|
|
7751
|
+
)
|
|
7757
7752
|
try:
|
|
7758
|
-
content = generator.generate_readme(
|
|
7759
|
-
free_url, "", free_headers, "openai", messages, update_prog, provider=free_p, timeout=12
|
|
7760
|
-
)
|
|
7761
|
-
self.log("Canlı AI mimari analizi Ücretsiz Siber AI Cloud ile başarıyla üretildi.")
|
|
7762
|
-
self.safe_after(0, lambda: self.on_gen_success(content))
|
|
7763
|
-
self.safe_after(0, lambda: self.show_toast(
|
|
7764
|
-
"⚡ API anahtarı gerekmeden Ücretsiz Siber AI Cloud ile canlı bağlam üretildi!",
|
|
7765
|
-
"info"
|
|
7766
|
-
))
|
|
7767
|
-
return
|
|
7768
|
-
except Exception as free_err:
|
|
7769
|
-
self.log(f"Ücretsiz Bulut yanıt vermedi ({free_err}). Yerel Çevrimdışı AST Motoru (%100 Ücretsiz & Sıfır Sızıntı) çalıştırılıyor...")
|
|
7770
7753
|
offline_content = generate_offline_context(target_dir, selected_files, self.file_snippets)
|
|
7771
7754
|
self.safe_after(0, lambda: self.on_gen_success(offline_content))
|
|
7772
7755
|
self.safe_after(0, lambda: self.show_toast(
|
|
7773
|
-
"⚡ Yerel Çevrimdışı AST Motoru
|
|
7756
|
+
"⚡ API anahtarı olmadan Yerel Çevrimdışı AST Motoru ile eksiksiz bağlam derlendi!",
|
|
7774
7757
|
"success"
|
|
7775
7758
|
))
|
|
7776
|
-
|
|
7759
|
+
except Exception as offline_err:
|
|
7760
|
+
self.safe_after(0, lambda msg=f"Offline Error: {offline_err}": self.on_gen_fail(msg))
|
|
7761
|
+
return
|
|
7777
7762
|
|
|
7778
7763
|
headers = p.get_headers(key)
|
|
7779
7764
|
try:
|
|
@@ -7788,24 +7773,7 @@ Custom Requirements:
|
|
|
7788
7773
|
raw_err = str(e)
|
|
7789
7774
|
clean_err = re.sub(r'(Bearer\s+|key[:=]\s*)[A-Za-z0-9_\-\.]{8,}', r'\1[PROTECTED]', raw_err)
|
|
7790
7775
|
self.log(f"Uzak API yanıtı: {clean_err}")
|
|
7791
|
-
self.log("
|
|
7792
|
-
try:
|
|
7793
|
-
free_p = FreePollinationsProvider()
|
|
7794
|
-
free_url = f"{free_p.get_base_url().rstrip('/')}/chat/completions"
|
|
7795
|
-
free_headers = free_p.get_headers("")
|
|
7796
|
-
content = generator.generate_readme(
|
|
7797
|
-
free_url, "", free_headers, "openai", messages, update_prog, provider=free_p, timeout=12
|
|
7798
|
-
)
|
|
7799
|
-
self.log("Canlı AI mimari analizi Ücretsiz Siber AI Cloud ile başarıyla tamamlandı.")
|
|
7800
|
-
self.safe_after(0, lambda: self.on_gen_success(content))
|
|
7801
|
-
self.safe_after(0, lambda: self.show_toast(
|
|
7802
|
-
"⚡ Harici API bağlantısı yerine Ücretsiz Siber AI Cloud ile canlı bağlam üretildi!",
|
|
7803
|
-
"info"
|
|
7804
|
-
))
|
|
7805
|
-
return
|
|
7806
|
-
except Exception as free_err:
|
|
7807
|
-
clean_free_err = re.sub(r'(Bearer\s+|key[:=]\s*)[A-Za-z0-9_\-\.]{8,}', r'\1[PROTECTED]', str(free_err))
|
|
7808
|
-
self.log(f"Ücretsiz Bulut yanıt vermedi ({clean_free_err}). Yerel Çevrimdışı AST Motoru devrede (%100 Free & Sıfır Sızıntı)...")
|
|
7776
|
+
self.log("Başka bir bulut sağlayıcıya yönlendirilmeden Yerel Çevrimdışı AST Motoru devrede...")
|
|
7809
7777
|
|
|
7810
7778
|
try:
|
|
7811
7779
|
offline_content = generate_offline_context(target_dir, selected_files, self.file_snippets)
|
|
@@ -9434,7 +9402,7 @@ def main():
|
|
|
9434
9402
|
extra_args = sys.argv[2:]
|
|
9435
9403
|
if any(flag in ("-h", "--help") for flag in extra_args):
|
|
9436
9404
|
print("Usage: tzero armor [TARGET_PATH] [--audit]")
|
|
9437
|
-
print(" Protect source files against AI reverse engineering (
|
|
9405
|
+
print(" Protect source files against AI reverse engineering (180-Tier TDQS-REA Armor).")
|
|
9438
9406
|
print(" --audit, -a Audit AI decompilation resistance without modifying files.")
|
|
9439
9407
|
sys.exit(0)
|
|
9440
9408
|
target_path = next((a for a in extra_args if not a.startswith("-")), ".")
|
|
@@ -9453,7 +9421,8 @@ def main():
|
|
|
9453
9421
|
if res.get("success"):
|
|
9454
9422
|
print(f"[OK] Applied Anti-REA Armor to: {target_path}")
|
|
9455
9423
|
if "score_after" in res:
|
|
9456
|
-
print(f" AI Resistance Score: {res.get('score_before')}/100 -> {res.get('score_after')}/100 [{res.get('rating')}]")
|
|
9424
|
+
print(f" AI Resistance Score: {res.get('score_before')}/100 -> {res.get('score_after')}/100 [{res.get('tier_rating', res.get('rating'))}]")
|
|
9425
|
+
print(f" Verified Tiers Active: {res.get('tiers_active', 0)}/{res.get('tiers_total', 180)} ({res.get('domains_active', 0)}/{res.get('domains_total', 12)} domains)")
|
|
9457
9426
|
elif "files_protected" in res:
|
|
9458
9427
|
print(f" Protected {res['files_protected']} files in directory.")
|
|
9459
9428
|
else:
|
|
@@ -9472,7 +9441,9 @@ def main():
|
|
|
9472
9441
|
print(" SHIELD AUDIT REPORT: AI REVERSE-ENGINEERING RESISTANCE (TDQS-REA)")
|
|
9473
9442
|
print("================================================================================")
|
|
9474
9443
|
print(f"Target: {target_path}")
|
|
9475
|
-
print(f"AI Score: {audit.get('score', 0)} / 100 [{audit.get('rating', 'UNVERIFIED')}]")
|
|
9444
|
+
print(f"AI Score: {audit.get('score', 0)} / 100 [{audit.get('tier_rating', audit.get('rating', 'UNVERIFIED'))}]")
|
|
9445
|
+
if "tiers_total" in audit:
|
|
9446
|
+
print(f"Tier Matrix: {audit.get('tiers_active', 0)} / {audit.get('tiers_total', 180)} Tiers ({audit.get('domains_active', 0)}/{audit.get('domains_total', 12)} Domains)")
|
|
9476
9447
|
print(f"Score Basis: {audit.get('score_kind', 'static_textual_indicator')}")
|
|
9477
9448
|
print(f"Status: {audit.get('status', 'N/A')}")
|
|
9478
9449
|
if audit.get("defenses_active"):
|
|
@@ -9621,7 +9592,7 @@ def main():
|
|
|
9621
9592
|
default="o200k_base", help="BPE encoding for --symbol-context")
|
|
9622
9593
|
parser.add_argument("--cache-aligned", action="store_true", help="Order context for KV-cache prefix stability (immutable static prefix before dynamic query suffix)")
|
|
9623
9594
|
parser.add_argument("--commit-msg", action="store_true", help="Generate Conventional Commit message from local AST git diff ($0 local engine)")
|
|
9624
|
-
parser.add_argument("--changelog", nargs="?", const="v12.
|
|
9595
|
+
parser.add_argument("--changelog", nargs="?", const="v12.3.2", default=None, metavar="VERSION", help="Generate release CHANGELOG markdown from git history")
|
|
9625
9596
|
parser.add_argument("--ci", choices=["github", "gitlab", "pre-commit", "local", "all"], default=None, help="Install CI/CD workflow or run local verification suite")
|
|
9626
9597
|
parser.add_argument("--local-ci", action="store_true", help="Run comprehensive Local CI & Pre-Push verification battery ($0 quota burn)")
|
|
9627
9598
|
parser.add_argument("--quick-ci", action="store_true", help="Run fast Local CI smoke checks in seconds")
|
|
@@ -9685,7 +9656,7 @@ def main():
|
|
|
9685
9656
|
parser.add_argument("--card", "--badge", nargs="?", const="assets/tzero_badge_card.svg", default=None, metavar="FILE", help="Generate viral dark-mode SVG banner card and GitHub README badges")
|
|
9686
9657
|
parser.add_argument("--showcase", nargs="?", const="tzero_showcase.html", default=None, metavar="FILE", help="Generate interactive split-screen HTML5 comparison showcase slider")
|
|
9687
9658
|
parser.add_argument("--marketing", "--growth", action="store_true", help="Launch $0-budget viral growth engine and export campaign materials for Reddit, HN, X, and Product Hunt")
|
|
9688
|
-
parser.add_argument("--version", "-v", action="version", version="T-Zero Context Architect v12.
|
|
9659
|
+
parser.add_argument("--version", "-v", action="version", version="T-Zero Context Architect v12.3.2 Master Edition (engine v4.1.0)")
|
|
9689
9660
|
|
|
9690
9661
|
|
|
9691
9662
|
def print_master_tutorial():
|
|
@@ -9794,7 +9765,7 @@ If this open-source tool helped you, please consider giving us a ⭐ on GitHub:
|
|
|
9794
9765
|
def print_quickstart_guide():
|
|
9795
9766
|
print("""
|
|
9796
9767
|
================================================================================
|
|
9797
|
-
⚡ SİBER AKADEMİ — T-ZERO CONTEXT ARCHITECT & MCP v12.
|
|
9768
|
+
⚡ SİBER AKADEMİ — T-ZERO CONTEXT ARCHITECT & MCP v12.3.2 MASTER (engine v4.1.0)
|
|
9798
9769
|
================================================================================
|
|
9799
9770
|
🎯 %95'e Varan Token Tasarrufu & Otonom Yapay Zeka Mimari Bağlam Motoru
|
|
9800
9771
|
|
|
@@ -10773,7 +10744,7 @@ If this open-source tool helped you, please consider giving us a ⭐ on GitHub:
|
|
|
10773
10744
|
if not os.path.exists(app_path):
|
|
10774
10745
|
app_path = os.path.join(os.getcwd(), "huggingface-space", "app.py")
|
|
10775
10746
|
print("\033[36m" + "=" * 80)
|
|
10776
|
-
print("🤗 SİBER AKADEMİ — T-ZERO HUGGING FACE SPACE & GRADIO COCKPIT (v12.
|
|
10747
|
+
print("🤗 SİBER AKADEMİ — T-ZERO HUGGING FACE SPACE & GRADIO COCKPIT (v12.3.2)")
|
|
10777
10748
|
print("=" * 80 + "\033[0m")
|
|
10778
10749
|
print("🌐 Official Live Space : https://huggingface.co/spaces/toprakke4/tzero-token-reducer")
|
|
10779
10750
|
print(f"📁 Local Application : {app_path}")
|
package/bin/postinstall.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* T-Zero npm postinstall welcome & GitHub star prompt
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
const pkg = require("../package.json");
|
|
8
|
-
const isTest = process.env.TEST_POSTINSTALL === "1" || process.env.TZERO_FORCE_BANNER === "1";
|
|
9
|
-
const noBanner = !isTest && (process.env.TZERO_NO_BANNER === "1" || process.env.CI === "true" || process.env.npm_config_loglevel === "silent");
|
|
10
|
-
|
|
11
|
-
if (!noBanner) {
|
|
12
|
-
console.log(`\x1b[36m
|
|
13
|
-
┌──────────────────────────────────────────────────────────────────────────────┐
|
|
14
|
-
│ ⚡ T-ZERO MCP INSTALLED SUCCESSFULLY! (v${pkg.version}) │
|
|
15
|
-
├──────────────────────────────────────────────────────────────────────────────┤
|
|
16
|
-
│ ⭐ \x1b[1;33mHELP US REACH OUR 100 STARS GOAL (Current: 45 / 100):\x1b[0m\x1b[36m │
|
|
17
|
-
│ \x1b[1;32m► Run: npx tzero star OR visit: https://github.com/toprakahmetaydogmus/TZeroAlgorithm\x1b[0m\x1b[36m │
|
|
18
|
-
│ │
|
|
19
|
-
│ 💖 \x1b[1;35mSPONSOR & KEEP T-ZERO 100% FREE:\x1b[0m\x1b[36m │
|
|
20
|
-
│ \x1b[1;32m► https://github.com/sponsors/toprakahmetaydogmus\x1b[0m\x1b[36m │
|
|
21
|
-
│ │
|
|
22
|
-
│ 🎉 20,880+ Downloads across PyPI & npm! 100% Free & Open Source (AGPL-3.0) │
|
|
23
|
-
│ │
|
|
24
|
-
│ 💡 1-Click Setup: │
|
|
25
|
-
│ \x1b[37mnpx tzero-mcp --install\x1b[36m Configure Cursor, Claude, Windsurf, VS Code │
|
|
26
|
-
│ \x1b[37mnpx tzero roi\x1b[36m View live token & dollar ($) savings │
|
|
27
|
-
│ \x1b[37mnpx tzero --help\x1b[36m View all CLI AST reduction commands │
|
|
28
|
-
└──────────────────────────────────────────────────────────────────────────────┘
|
|
29
|
-
\x1b[0m`);
|
|
30
|
-
}
|