tzero-mcp 12.2.1 → 12.2.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.
Files changed (43) hide show
  1. package/package.json +1 -1
  2. package/src/addmcp.py +10 -5
  3. package/src/app.py +3 -9
  4. package/src/tzero/__init__.py +1 -1
  5. package/src/tzero/anti_rea/asar_shield.py +3 -1
  6. package/src/tzero/anti_rea/auditor.py +42 -12
  7. package/src/tzero/anti_rea/canary_beacon.py +27 -19
  8. package/src/tzero/anti_rea/cli.py +7 -1
  9. package/src/tzero/anti_rea/confusables.py +62 -18
  10. package/src/tzero/anti_rea/engine.py +79 -10
  11. package/src/tzero/anti_rea/extractor_shield.py +52 -9
  12. package/src/tzero/anti_rea/gui.py +1 -4
  13. package/src/tzero/anti_rea/integrity_guard.py +17 -5
  14. package/src/tzero/anti_rea/rdtsc_guard.py +21 -8
  15. package/src/tzero/anti_rea/string_vault.py +10 -7
  16. package/src/tzero/siber_akademi.ico +0 -0
  17. package/src/tzero/siber_akademi_icon.py +14 -8
  18. package/src/tzero/tzero_armor.py +27 -5
  19. package/src/tzero/tzero_benchmark.py +4 -2
  20. package/src/tzero/tzero_budget.py +14 -5
  21. package/src/tzero/tzero_ci.py +1 -1
  22. package/src/tzero/tzero_contracts.py +7 -5
  23. package/src/tzero/tzero_dashboard.py +28 -9
  24. package/src/tzero/tzero_debt.py +19 -4
  25. package/src/tzero/tzero_explain.py +1 -1
  26. package/src/tzero/tzero_features.py +43 -29
  27. package/src/tzero/tzero_federation.py +9 -2
  28. package/src/tzero/tzero_fixer/mcp_server.py +10 -0
  29. package/src/tzero/tzero_golden.py +37 -9
  30. package/src/tzero/tzero_growth.py +166 -8
  31. package/src/tzero/tzero_guard.py +147 -46
  32. package/src/tzero/tzero_lsp.py +1 -1
  33. package/src/tzero/tzero_mcp.py +64 -16
  34. package/src/tzero/tzero_mutation.py +88 -15
  35. package/src/tzero/tzero_promo.py +1 -1
  36. package/src/tzero/tzero_proxy.py +105 -12
  37. package/src/tzero/tzero_scip.py +12 -6
  38. package/src/tzero/tzero_security.py +375 -60
  39. package/src/tzero/tzero_task_benchmark.py +2 -2
  40. package/src/tzero/tzero_traffic.py +35 -10
  41. package/src/tzero/tzero_tui.py +17 -8
  42. package/src/tzero/tzero_v3.py +268 -88
  43. package/src/tzero/tzero_welcome.py +12 -4
@@ -38,7 +38,7 @@ except ImportError:
38
38
  return False
39
39
 
40
40
  REPO_URL = "https://github.com/toprakahmetaydogmus/TZeroAlgorithm"
41
- VERSION = "12.2.1"
41
+ VERSION = "12.2.2"
42
42
  _BANNER_PRINTED = False
43
43
 
44
44
 
@@ -53,18 +53,26 @@ def find_git_root(start_dir: Optional[Path] = None) -> Optional[Path]:
53
53
 
54
54
  def get_welcome_banner(version: str = VERSION) -> str:
55
55
  """Returns the ANSI styled welcome banner asking developers to star the project."""
56
+ try:
57
+ from tzero.tzero_growth import get_cached_community_stats
58
+ stats = get_cached_community_stats()
59
+ except Exception:
60
+ stats = {"stars": 111, "target_stars": 250, "downloads_label": "22,900+"}
61
+ stars = stats["stars"]
62
+ target = stats["target_stars"]
63
+ dl_label = stats["downloads_label"]
56
64
  raw_banner = f"""\033[1;36m
57
65
  ┌──────────────────────────────────────────────────────────────────────────────┐
58
66
  │ ★ WELCOME TO T-ZERO CONTEXT ARCHITECT & MCP SUITE (v{version}) │
59
67
  ├──────────────────────────────────────────────────────────────────────────────┤
60
68
  │ │
61
69
  │ Hi! I'm Toprak Ahmet Aydoğmuş (independent engineer at Siber Akademi). │
62
- │ T-Zero has reached \033[1;32m20,880+ downloads\033[1;36m across PyPI & npm! │
70
+ │ T-Zero has reached \033[1;32m{dl_label} downloads\033[1;36m across PyPI & npm! │
63
71
  │ │
64
72
  │ T-Zero slashes AI coding prompt tokens by 85–95% using deterministic AST │
65
- │ signature extraction with 100% Zero-Leak security and 20 MCP tools. │
73
+ │ signature extraction with 100% Zero-Leak security and 21 MCP tools. │
66
74
  │ │
67
- │ ★ \033[1;33mHELP US REACH OUR 100 STARS GOAL (Current: 45/100):\033[1;36m │
75
+ │ ★ \033[1;33mHELP US REACH OUR {target} STARS GOAL (Current: {stars}/{target}):\033[1;36m │
68
76
  │ \033[1;32m► Run 'tzero star' or visit: {REPO_URL}\033[1;36m │
69
77
  │ │
70
78
  │ 💖 \033[1;35mSPONSOR & KEEP T-ZERO 100% FREE:\033[1;36m │