tzero-mcp 11.12.1 → 11.15.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 (45) hide show
  1. package/LICENSE +661 -21
  2. package/NOTICE +22 -0
  3. package/README.md +3 -3
  4. package/bin/postinstall.js +22 -0
  5. package/bin/tzero-mcp.js +2 -1
  6. package/bin/tzero.js +8 -1
  7. package/index.js +5 -0
  8. package/package.json +4 -2
  9. package/src/addmcp.py +3 -3
  10. package/src/app.py +1 -1
  11. package/src/tzero/__init__.py +5 -0
  12. package/src/tzero/addmcp.py +18 -0
  13. package/src/tzero/tzero_benchmark.py +2 -2
  14. package/src/tzero/tzero_blackboard.py +1 -1
  15. package/src/tzero/tzero_budget.py +1 -1
  16. package/src/tzero/tzero_card.py +1 -1
  17. package/src/tzero/tzero_ci.py +658 -10
  18. package/src/tzero/tzero_commit.py +1 -1
  19. package/src/tzero/tzero_contracts.py +2 -2
  20. package/src/tzero/tzero_cost.py +1 -1
  21. package/src/tzero/tzero_dashboard.py +3 -3
  22. package/src/tzero/tzero_debt.py +1 -1
  23. package/src/tzero/tzero_drift.py +1 -1
  24. package/src/tzero/tzero_explain.py +1 -1
  25. package/src/tzero/tzero_features.py +268 -37
  26. package/src/tzero/tzero_golden.py +2 -2
  27. package/src/tzero/tzero_hallucination_proof.py +901 -0
  28. package/src/tzero/tzero_infra.py +1 -1
  29. package/src/tzero/tzero_jarvis/__init__.py +15 -1
  30. package/src/tzero/tzero_jarvis/agent_guard.py +620 -0
  31. package/src/tzero/tzero_jarvis/creative_director.py +1 -1
  32. package/src/tzero/tzero_jarvis/orchestrator.py +36 -34
  33. package/src/tzero/tzero_jarvis/self_healing.py +325 -250
  34. package/src/tzero/tzero_lsp.py +1 -1
  35. package/src/tzero/tzero_mcp.py +184 -53
  36. package/src/tzero/tzero_promo.py +504 -0
  37. package/src/tzero/tzero_replay.py +1 -1
  38. package/src/tzero/tzero_semantic_merge.py +1 -1
  39. package/src/tzero/tzero_stubs.py +1 -1
  40. package/src/tzero/tzero_task_benchmark.py +2 -2
  41. package/src/tzero/tzero_tui.py +2 -2
  42. package/src/tzero/tzero_turbo.py +1 -1
  43. package/src/tzero/tzero_v3.py +124 -13
  44. package/src/tzero/tzero_welcome.py +135 -0
  45. package/test/package.test.js +1 -1
package/NOTICE ADDED
@@ -0,0 +1,22 @@
1
+ T-Zero
2
+ Copyright (c) 2026 Toprak Ahmet Aydoğmuş
3
+ Original author: Toprak Ahmet Aydoğmuş
4
+
5
+ T-Zero is licensed under the GNU Affero General Public License, version 3 only
6
+ (AGPL-3.0-only). See LICENSE for the full license text.
7
+
8
+ Additional terms under AGPL-3.0 section 7
9
+
10
+ These terms apply to T-Zero material for which Toprak Ahmet Aydoğmuş holds
11
+ the copyright.
12
+
13
+ 7(b): When conveying copies or modified versions containing T-Zero material
14
+ covered by these additional terms, preserve the copyright and original-author
15
+ notices specified above in that material or in the Appropriate Legal Notices
16
+ displayed by the work containing it.
17
+
18
+ 7(c): Do not misrepresent the origin of that material. Modified versions must
19
+ be marked in a reasonable way as different from the original version.
20
+
21
+ Earlier releases remain available under the license supplied with those
22
+ releases. Third-party material remains subject to its own license notices.
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  > **Deterministic AST Context Compressor, 95% Token Reducer & 20-Tool MCP Server for Cursor, Claude Desktop, Antigravity & Copilot.**
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/tzero-mcp.svg?color=cb3837&logo=npm)](https://www.npmjs.com/package/tzero-mcp)
6
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
+ [![License: AGPL-3.0-only](https://img.shields.io/badge/License-AGPL--3.0--only-yellow.svg)](./LICENSE)
7
7
  [![Socket Badge](https://socket.dev/api/badge/npm/package/tzero-mcp)](https://socket.dev/npm/package/tzero-mcp)
8
8
  [![GitHub Stars](https://img.shields.io/github/stars/toprakahmetaydogmus/TZeroAlgorithm?style=social)](https://github.com/toprakahmetaydogmus/TZeroAlgorithm)
9
9
 
@@ -16,7 +16,7 @@ Hi! I'm **Toprak Ahmet Aydoğmuş** from **Siber Akademi**. I created T-Zero fro
16
16
  If this package helps your engineering team or AI workflows:
17
17
  ⭐ **Please give our repository a STAR on GitHub:**
18
18
  👉 **[https://github.com/toprakahmetaydogmus/TZeroAlgorithm](https://github.com/toprakahmetaydogmus/TZeroAlgorithm)**
19
- *100% Free & Open-Source under MIT License. Thank you! 🚀*
19
+ *100% Free & Open-Source under AGPL-3.0-only. Thank you! 🚀*
20
20
 
21
21
  ---
22
22
 
@@ -61,4 +61,4 @@ tzero-add-mcp
61
61
 
62
62
  ## 📄 License
63
63
 
64
- MIT © [Toprak Ahmet Aydoğmuş](https://github.com/toprakahmetaydogmus)
64
+ AGPL-3.0-only © [Toprak Ahmet Aydoğmuş](https://github.com/toprakahmetaydogmus)
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * T-Zero npm postinstall welcome & GitHub star prompt
5
+ */
6
+
7
+ const isTest = process.env.TEST_POSTINSTALL === "1" || process.env.TZERO_FORCE_BANNER === "1";
8
+ const noBanner = !isTest && (process.env.TZERO_NO_BANNER === "1" || process.env.CI === "true" || process.env.npm_config_loglevel === "silent");
9
+
10
+ if (!noBanner) {
11
+ console.log(`\x1b[36m
12
+ ┌──────────────────────────────────────────────────────────────────────────────┐
13
+ │ ⚡ T-ZERO MCP INSTALLED SUCCESSFULLY! │
14
+ ├──────────────────────────────────────────────────────────────────────────────┤
15
+ │ ⭐ Star on GitHub: \x1b[33mhttps://github.com/toprakahmetaydogmus/TZeroAlgorithm\x1b[36m │
16
+ │ │
17
+ │ 💡 1-Click Setup: │
18
+ │ \x1b[37mnpx tzero-mcp --install\x1b[36m Configure Cursor, Claude, Windsurf, VS Code │
19
+ │ \x1b[37mnpx tzero --help\x1b[36m View all CLI AST reduction commands │
20
+ └──────────────────────────────────────────────────────────────────────────────┘
21
+ \x1b[0m`);
22
+ }
package/bin/tzero-mcp.js CHANGED
@@ -22,7 +22,8 @@ const banner = `\x1b[36m
22
22
  └──────────────────────────────────────────────────────────────────────────────┘
23
23
  \x1b[0m`;
24
24
 
25
- if (process.stderr.isTTY) {
25
+ const isQuietStderr = process.env.TZERO_NO_BANNER === "1" || process.env.CI === "true";
26
+ if (!isQuietStderr) {
26
27
  process.stderr.write(banner + "\n");
27
28
  }
28
29
 
package/bin/tzero.js CHANGED
@@ -21,7 +21,14 @@ const banner = `\x1b[36m
21
21
  └──────────────────────────────────────────────────────────────────────────────┘
22
22
  \x1b[0m`;
23
23
 
24
- if (process.stdout.isTTY && !process.argv.includes("--json") && !process.argv.includes("--pipe")) {
24
+ const isQuiet = process.env.TZERO_NO_BANNER === "1" ||
25
+ process.env.CI === "true" ||
26
+ process.argv.includes("--json") ||
27
+ process.argv.includes("--pipe") ||
28
+ process.argv.includes("--silent") ||
29
+ process.argv.includes("-q");
30
+
31
+ if (!isQuiet) {
25
32
  console.log(banner);
26
33
  }
27
34
 
package/index.js CHANGED
@@ -1,3 +1,8 @@
1
+ // SPDX-License-Identifier: AGPL-3.0-only
2
+ // Copyright (c) 2026 Toprak Ahmet Aydoğmuş
3
+ // Additional terms under AGPL-3.0 section 7: see NOTICE in the distribution
4
+ // or https://github.com/toprakahmetaydogmus/TZeroAlgorithm/blob/main/NOTICE.
5
+
1
6
  const path = require("path");
2
7
 
3
8
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tzero-mcp",
3
- "version": "11.12.1",
3
+ "version": "11.15.2",
4
4
  "description": "Deterministic AST Context Compressor, 95% Token Reducer & 20-Tool MCP Server for Cursor, Claude Desktop & Copilot",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -28,6 +28,7 @@
28
28
  "CHANGELOG.md",
29
29
  "CONTRIBUTING.md",
30
30
  "LICENSE",
31
+ "NOTICE",
31
32
  "package.json"
32
33
  ],
33
34
  "bin": {
@@ -35,6 +36,7 @@
35
36
  "tzero-mcp": "bin/tzero-mcp.js"
36
37
  },
37
38
  "scripts": {
39
+ "postinstall": "node bin/postinstall.js",
38
40
  "test": "node --test test/package.test.js"
39
41
  },
40
42
  "repository": {
@@ -77,7 +79,7 @@
77
79
  "url": "https://github.com/toprakahmetaydogmus"
78
80
  }
79
81
  ],
80
- "license": "MIT",
82
+ "license": "AGPL-3.0-only",
81
83
  "bugs": {
82
84
  "url": "https://github.com/toprakahmetaydogmus/TZeroAlgorithm/issues"
83
85
  },
package/src/addmcp.py CHANGED
@@ -22,7 +22,7 @@ from pathlib import Path
22
22
  from typing import Callable, Dict, List, Optional, Tuple
23
23
 
24
24
 
25
- APP_VERSION = "11.11.0"
25
+ APP_VERSION = "11.15.0"
26
26
  SERVER_NAME = "tzero"
27
27
  SERVER_FILENAME = "TZeroMCP.exe"
28
28
 
@@ -1120,7 +1120,7 @@ def run_init(argv: Optional[List[str]] = None) -> int:
1120
1120
  # Print banner
1121
1121
  print("""
1122
1122
  \033[1;36m================================================================================
1123
- ⚡ SİBER AKADEMİ — T-ZERO 1-CLICK MCP INITIALIZATION (v11.11.0)
1123
+ ⚡ SİBER AKADEMİ — T-ZERO 1-CLICK MCP INITIALIZATION (v11.15.0)
1124
1124
  ================================================================================\033[0m
1125
1125
  \033[32m🎯 Zero-Config AST Codebase Context & 100% Zero-Leak Security Guard\033[0m
1126
1126
  """)
@@ -1181,7 +1181,7 @@ def run_init(argv: Optional[List[str]] = None) -> int:
1181
1181
  \033[1;36m┌──────────────────────────────────────────────────────────────────────────────┐
1182
1182
  │ ⚡ SIBER AKADEMI T-ZERO CONTEXT ARCHITECT & MCP ENGINE │
1183
1183
  │ │
1184
- │ Engineered by Toprak Ahmet Aydoğmuş (15-year-old solo dev) & Siber Akademi │
1184
+ │ Engineered by Toprak Ahmet Aydoğmuş & Siber Akademi │
1185
1185
  │ to eliminate token bloat, costs, and AI hallucinations worldwide. │
1186
1186
  │ Search "Toprak Ahmet Aydoğmuş" on Google to learn more! │
1187
1187
  │ │
package/src/app.py CHANGED
@@ -45,7 +45,7 @@ import gradio as gr
45
45
  # ==================================================================================================
46
46
  # CONSTANTS, PALETTES & MULTI-MODEL PRICING TIERS
47
47
  # ==================================================================================================
48
- APP_VERSION = "4.1.0"
48
+ APP_VERSION = "11.15.1"
49
49
  REPO_URL = "https://github.com/toprakahmetaydogmus/TZeroAlgorithm"
50
50
  VERCEL_URL = "https://tzero-indol.vercel.app"
51
51
  SPACE_URL = "https://huggingface.co/spaces/toprakke4/tzero-token-reducer"
@@ -1,3 +1,8 @@
1
+ # SPDX-License-Identifier: AGPL-3.0-only
2
+ # Copyright (c) 2026 Toprak Ahmet Aydoğmuş
3
+ # Additional terms under AGPL-3.0 section 7: see NOTICE in the distribution
4
+ # or https://github.com/toprakahmetaydogmus/TZeroAlgorithm/blob/main/NOTICE.
5
+
1
6
  """T-Zero's public Python API and package namespace."""
2
7
 
3
8
  from importlib import import_module
@@ -0,0 +1,18 @@
1
+ # -*- coding: utf-8 -*-
2
+ """T-Zero MCP Installer Bridge Module.
3
+
4
+ Exposes addmcp functionality within the tzero package namespace.
5
+ """
6
+
7
+ import sys
8
+ from pathlib import Path
9
+
10
+ try:
11
+ from addmcp import *
12
+ from addmcp import run_cli, run_init, build_client_targets, install_targets
13
+ except ImportError:
14
+ root = Path(__file__).resolve().parent.parent
15
+ if str(root) not in sys.path:
16
+ sys.path.insert(0, str(root))
17
+ from addmcp import *
18
+ from addmcp import run_cli, run_init, build_client_targets, install_targets
@@ -2,7 +2,7 @@
2
2
  """
3
3
  Siber Akademi — T-Zero Autonomous Benchmark & Performance Optimization Engine.
4
4
  Developer: Toprak Ahmet Aydoğmuş (Siber Akademi)
5
- Version: 10.7.0
5
+ Version: 11.15.1
6
6
  License: MIT
7
7
 
8
8
  Performs quantitative multi-model benchmarks comparing raw codebase context
@@ -156,7 +156,7 @@ class TZeroBenchmarkEngine:
156
156
 
157
157
  return BenchmarkReport(
158
158
  workspace_dir=abs_root,
159
- version="10.7.0",
159
+ version="11.15.1",
160
160
  total_files=total_files,
161
161
  total_loc=total_loc,
162
162
  raw_tokens=raw_tokens,
@@ -2,7 +2,7 @@
2
2
  """
3
3
  Siber Akademi — T-Zero Multi-Agent Swarm Blackboard & In-Memory Working Memory.
4
4
  Developer: Toprak Ahmet Aydoğmuş (Siber Akademi)
5
- License: MIT
5
+ License: AGPL-3.0-only
6
6
 
7
7
  Provides thread-safe inter-agent blackboard communication, symbol-level reservation locks,
8
8
  shared architectural invariants, and zero-token AST context caching for multi-agent swarms.
@@ -12,7 +12,7 @@ Capabilities:
12
12
  - 100% Offline, $0 cost, zero cloud dependencies (Python standard library only).
13
13
 
14
14
  Author: Toprak Ahmet Aydoğmuş (Siber Akademi)
15
- Part of T-Zero Context Architect v11.11.0 Master Edition.
15
+ Part of T-Zero Context Architect v11.15.0 Master Edition.
16
16
  """
17
17
 
18
18
  import hashlib
@@ -150,7 +150,7 @@ class TZeroShowcaseGenerator:
150
150
  <!-- Bottom Footer Strip -->
151
151
  <g transform="translate(32, 212)">
152
152
  <text x="0" y="8" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif" font-size="10" font-weight="500" fill="#475569">
153
- 🚀 Run <tspan fill="#38bdf8" font-family="monospace">npx -y tzero-mcp@latest</tspan> or <tspan fill="#38bdf8" font-family="monospace">pip install tzero-mcp</tspan> &bull; By Toprak Ahmet Aydoğmuş (15 y/o dev) &bull; MIT
153
+ 🚀 Run <tspan fill="#38bdf8" font-family="monospace">npx -y tzero-mcp@latest</tspan> or <tspan fill="#38bdf8" font-family="monospace">pip install tzero-mcp</tspan> • By Toprak Ahmet Aydoğmuş • MIT
154
154
  </text>
155
155
  <text x="736" y="8" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif" font-size="10" font-weight="600" fill="#64748b" text-anchor="end">
156
156
  Siber Akademi Engine v5.1.0