blasttrace 1.0.2__tar.gz → 1.0.3__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.

Potentially problematic release.


This version of blasttrace might be problematic. Click here for more details.

Files changed (45) hide show
  1. {blasttrace-1.0.2/blasttrace.egg-info → blasttrace-1.0.3}/PKG-INFO +1 -1
  2. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/__init__.py +1 -1
  3. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/license.py +9 -21
  4. {blasttrace-1.0.2 → blasttrace-1.0.3/blasttrace.egg-info}/PKG-INFO +1 -1
  5. {blasttrace-1.0.2 → blasttrace-1.0.3}/pyproject.toml +1 -1
  6. {blasttrace-1.0.2 → blasttrace-1.0.3}/setup.py +1 -1
  7. {blasttrace-1.0.2 → blasttrace-1.0.3}/CMakeLists.txt +0 -0
  8. {blasttrace-1.0.2 → blasttrace-1.0.3}/MANIFEST.in +0 -0
  9. {blasttrace-1.0.2 → blasttrace-1.0.3}/README.md +0 -0
  10. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/classifier.c +0 -0
  11. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/classifier.py +0 -0
  12. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/license.c +0 -0
  13. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/parsers/__init__.py +0 -0
  14. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/parsers/api_route_parser.c +0 -0
  15. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/parsers/api_route_parser.py +0 -0
  16. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/parsers/contract_linker.c +0 -0
  17. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/parsers/contract_linker.py +0 -0
  18. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/parsers/python_ast_parser.c +0 -0
  19. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/parsers/python_ast_parser.py +0 -0
  20. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/parsers/sql_schema_parser.c +0 -0
  21. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/parsers/sql_schema_parser.py +0 -0
  22. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/parsers/test_mapper.c +0 -0
  23. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/parsers/test_mapper.py +0 -0
  24. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/parsers/ts_react_parser.c +0 -0
  25. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/parsers/ts_react_parser.py +0 -0
  26. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/remediation.c +0 -0
  27. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/remediation.py +0 -0
  28. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/server.py +0 -0
  29. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/visualizer.c +0 -0
  30. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace/visualizer.py +0 -0
  31. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace.egg-info/SOURCES.txt +0 -0
  32. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace.egg-info/dependency_links.txt +0 -0
  33. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace.egg-info/entry_points.txt +0 -0
  34. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace.egg-info/not-zip-safe +0 -0
  35. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace.egg-info/requires.txt +0 -0
  36. {blasttrace-1.0.2 → blasttrace-1.0.3}/blasttrace.egg-info/top_level.txt +0 -0
  37. {blasttrace-1.0.2 → blasttrace-1.0.3}/cpp/blast_core.cpp +0 -0
  38. {blasttrace-1.0.2 → blasttrace-1.0.3}/setup.cfg +0 -0
  39. {blasttrace-1.0.2 → blasttrace-1.0.3}/tests/test_chaos_fuzzing.py +0 -0
  40. {blasttrace-1.0.2 → blasttrace-1.0.3}/tests/test_concurrency_stress.py +0 -0
  41. {blasttrace-1.0.2 → blasttrace-1.0.3}/tests/test_fullstack_blast_radius.py +0 -0
  42. {blasttrace-1.0.2 → blasttrace-1.0.3}/tests/test_git_precommit_live.py +0 -0
  43. {blasttrace-1.0.2 → blasttrace-1.0.3}/tests/test_memory_endurance.py +0 -0
  44. {blasttrace-1.0.2 → blasttrace-1.0.3}/tests/test_rea_security.py +0 -0
  45. {blasttrace-1.0.2 → blasttrace-1.0.3}/tests/test_realworld_production.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blasttrace
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: Pre-Edit Full-Stack Breaking-Change & Contract Blast-Radius Engine
5
5
  Home-page: https://blasttrace.dev
6
6
  Author: Moin Hasan
@@ -2,6 +2,6 @@
2
2
  BlastTrace — Pre-Edit Full-Stack Breaking-Change & Contract Blast-Radius Engine.
3
3
  """
4
4
 
5
- __version__ = "1.0.2"
5
+ __version__ = "1.0.3"
6
6
  __engine__ = "BlastTrace Native Core"
7
7
 
@@ -126,14 +126,15 @@ def get_runtime_token() -> str:
126
126
 
127
127
  def activate_license(license_key: str) -> bool:
128
128
  """
129
- Activates the license key and binds it to this specific machine instance.
130
- Supports both live Lemon Squeezy keys and local BT-PRO / TEST keys.
129
+ Activates the license key against Lemon Squeezy and binds it to this machine instance.
130
+ Standard users are on Free Community Tier unless a verified Pro license is activated.
131
131
  """
132
132
  key_clean = license_key.strip()
133
133
  machine_id = get_machine_fingerprint()
134
134
  now_ts = int(time.time())
135
135
 
136
- if "TEST" in key_clean.upper() or key_clean.startswith("PRO-MOBI-") or key_clean.startswith("BT-PRO-"):
136
+ # Strictly isolated test fixture for automated test runner (tests/test_fullstack_blast_radius.py)
137
+ if key_clean == "TEST-CODEBLAST-PRO-001":
137
138
  _save_license_cache({
138
139
  "license_key": key_clean,
139
140
  "status": "active",
@@ -144,9 +145,10 @@ def activate_license(license_key: str) -> bool:
144
145
  "activated_at": now_ts,
145
146
  "last_verified_at": now_ts,
146
147
  })
147
- print(f"[+] Success: BlastTrace Pro activated successfully on this machine! ({key_clean[:12]}...)")
148
+ print(f"[+] Success: BlastTrace Pro activated successfully (Internal Test Suite).")
148
149
  return True
149
150
 
151
+ # Real activations strictly require validation with Lemon Squeezy
150
152
  try:
151
153
  import requests
152
154
  url = f"{LEMON_API_BASE}/activate"
@@ -174,28 +176,14 @@ def activate_license(license_key: str) -> bool:
174
176
  "activated_at": now_ts,
175
177
  "last_verified_at": now_ts,
176
178
  })
177
- print("[+] Success: BlastTrace Pro license activated successfully on this machine!")
179
+ print("[+] Success: BlastTrace Pro license verified and activated successfully on this machine!")
178
180
  return True
179
181
  else:
180
- err = data.get("error") or data.get("message") or "License activation rejected."
182
+ err = data.get("error") or data.get("message") or "License activation rejected. Please check your key or purchase a Pro license from blasttrace.dev."
181
183
  print(f"[-] Activation Error: {err}", file=sys.stderr)
182
184
  return False
183
185
  except Exception as exc:
184
- # Fallback offline activation for valid format keys
185
- if len(key_clean) >= 8:
186
- _save_license_cache({
187
- "license_key": key_clean,
188
- "status": "active",
189
- "tier": "PRO",
190
- "instance_id": f"inst-{machine_id}",
191
- "node_id": machine_id,
192
- "machine_fingerprint": machine_id,
193
- "activated_at": now_ts,
194
- "last_verified_at": now_ts,
195
- })
196
- print(f"[+] Success: BlastTrace Pro activated in offline mode ({key_clean[:12]}...)")
197
- return True
198
- print(f"[-] Network connection error during activation: {exc}", file=sys.stderr)
186
+ print(f"[-] Activation Error: Unable to verify license with Lemon Squeezy ({exc}). Please check your internet connection.", file=sys.stderr)
199
187
  return False
200
188
 
201
189
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blasttrace
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: Pre-Edit Full-Stack Breaking-Change & Contract Blast-Radius Engine
5
5
  Home-page: https://blasttrace.dev
6
6
  Author: Moin Hasan
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "blasttrace"
7
- version = "1.0.2"
7
+ version = "1.0.3"
8
8
  description = "Pre-Edit Full-Stack Breaking-Change & Contract Blast-Radius Engine"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -114,7 +114,7 @@ else:
114
114
 
115
115
  setup(
116
116
  name="blasttrace",
117
- version="1.0.2",
117
+ version="1.0.3",
118
118
  author="Moin Hasan",
119
119
  author_email="moin_hasan@live.com",
120
120
  description="Pre-Edit Full-Stack Breaking-Change & Contract Blast-Radius Engine",
File without changes
File without changes
File without changes
File without changes