@teevee98/synapse-hub 3.8.3 β 3.8.5
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/.agents/rules/author-integrity-guard.md +13 -10
- package/.agents/rules/skill-precedence.md +6 -4
- package/.agents/skills/agent-orchestration-multi-agent-optimize/SKILL.md +1 -1
- package/.agents/skills/agentless-qa-repair/SKILL.md +1 -1
- package/.agents/skills/auth-session-and-cookie-manager/SKILL.md +22 -2
- package/.agents/skills/qa-memory-os/SKILL.md +21 -4
- package/.agents/skills/security-dast-sentinel/SKILL.md +1 -1
- package/.agents/skills/token-and-context-optimizer/SKILL.md +1 -1
- package/.agents/skills/verification-before-completion/SKILL.md +1 -1
- package/AGENTS.md +3 -2
- package/CLAUDE.md +3 -3
- package/README.en.md +9 -9
- package/README.md +9 -9
- package/agentskills.json +2 -2
- package/bin/agent-qa.js +1 -1
- package/docs/ARCHITECTURE.en.md +3 -3
- package/docs/ARCHITECTURE.md +2 -2
- package/docs/CI_CD_INTEGRATION.en.md +6 -6
- package/docs/CI_CD_INTEGRATION.md +6 -6
- package/docs/CLI_REFERENCE.md +1 -1
- package/docs/PERFORMANCE_AUDIT_REPORT.md +1 -1
- package/docs/QUALITY_GATES.en.md +1 -1
- package/docs/QUALITY_GATES.md +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/skills_manifest.json +103 -54
- package/synapse.config.json +1 -1
- package/templates/PROJECT_AI_GUIDE_TEMPLATE.md +3 -3
- package/templates/ai_bridges/CLAUDE.md +3 -3
- package/templates/ci/github-actions-synapse.yml +2 -2
- package/templates/ci/gitlab-ci-synapse.yml +1 -1
- package/templates/ui/index.html +16 -16
- package/templates/welcome.html.tmpl +26 -26
- package/tools/TOOLS_RUNBOOK.md +8 -8
- package/tools/__init__.py +1 -1
- package/tools/analyze_project.py +2 -2
- package/tools/browser_helpers.js +2 -2
- package/tools/bump_version.py +5 -15
- package/tools/cli.py +3 -3
- package/tools/count_tokens.py +29 -5
- package/tools/dashboard_generator.py +12 -12
- package/tools/distill_log.py +2 -8
- package/tools/fsm_enforcer.py +1 -1
- package/tools/hub_publisher.py +38 -0
- package/tools/mcp_docx_server.py +1 -1
- package/tools/mcp_excel_server.py +1 -1
- package/tools/mcp_server.py +1 -1
- package/tools/repo_map.py +308 -106
- package/tools/setup_project.py +3 -3
- package/tools/sync_agent_rules.py +3 -3
- package/tools/ui_server.py +1 -1
- package/tools/update_sentinel.py +6 -6
- package/tools/verify_all.py +10 -5
- package/tools/welcome_page.py +2 -2
package/tools/update_sentinel.py
CHANGED
|
@@ -65,7 +65,7 @@ def get_local_version():
|
|
|
65
65
|
try:
|
|
66
66
|
with open(pkg_file, "r", encoding="utf-8") as f:
|
|
67
67
|
data = json.load(f)
|
|
68
|
-
return data.get("version", "3.8.
|
|
68
|
+
return data.get("version", "3.8.5")
|
|
69
69
|
except (OSError, json.JSONDecodeError):
|
|
70
70
|
data = {}
|
|
71
71
|
|
|
@@ -74,11 +74,11 @@ def get_local_version():
|
|
|
74
74
|
try:
|
|
75
75
|
with open(manifest_file, "r", encoding="utf-8") as f:
|
|
76
76
|
data = json.load(f)
|
|
77
|
-
return data.get("version", "3.8.
|
|
77
|
+
return data.get("version", "3.8.5")
|
|
78
78
|
except (OSError, json.JSONDecodeError):
|
|
79
79
|
data = {}
|
|
80
80
|
|
|
81
|
-
return "3.8.
|
|
81
|
+
return "3.8.5"
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
def fetch_remote_version():
|
|
@@ -87,7 +87,7 @@ def fetch_remote_version():
|
|
|
87
87
|
|
|
88
88
|
# 1. Primary: NPM Registry
|
|
89
89
|
try:
|
|
90
|
-
req = urllib.request.Request("https://registry.npmjs.org/synapse-hub/latest", headers=headers)
|
|
90
|
+
req = urllib.request.Request("https://registry.npmjs.org/@teevee98/synapse-hub/latest", headers=headers)
|
|
91
91
|
with urllib.request.urlopen(req, timeout=1.8) as resp: # nosec B310
|
|
92
92
|
data = json.loads(resp.read().decode("utf-8"))
|
|
93
93
|
if "version" in data:
|
|
@@ -178,7 +178,7 @@ def print_update_banner(local_ver, remote_ver):
|
|
|
178
178
|
β {BOLD}π Synapse-Hub Update Available: {YELLOW}{local_ver}{RESET}{CYAN} β {GREEN}{BOLD}v{remote_ver}{RESET}{CYAN} β
|
|
179
179
|
β β
|
|
180
180
|
β To upgrade your local hub, run: β
|
|
181
|
-
β π {BOLD}agent-qa update{RESET}{CYAN} or {BOLD}npx synapse-hub update{RESET}{CYAN}
|
|
181
|
+
β π {BOLD}agent-qa update{RESET}{CYAN} or {BOLD}npx @teevee98/synapse-hub update{RESET}{CYAN} β
|
|
182
182
|
β β
|
|
183
183
|
β Repository: {BOLD}https://github.com/TeeVee98/Synapse-Hub{RESET}{CYAN} β
|
|
184
184
|
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ{RESET}
|
|
@@ -296,7 +296,7 @@ def perform_update():
|
|
|
296
296
|
print(f"\n{BOLD}[1/3] Checking NPM package installation...{RESET}")
|
|
297
297
|
try:
|
|
298
298
|
res = subprocess.run(
|
|
299
|
-
["npm", "install", "-g", "synapse-hub@latest"],
|
|
299
|
+
["npm", "install", "-g", "@teevee98/synapse-hub@latest"],
|
|
300
300
|
stdout=subprocess.PIPE,
|
|
301
301
|
stderr=subprocess.PIPE,
|
|
302
302
|
text=True,
|
package/tools/verify_all.py
CHANGED
|
@@ -424,7 +424,7 @@ def gate_4_ai_docs_lint(repo_root, mode="AUTO"):
|
|
|
424
424
|
return False
|
|
425
425
|
|
|
426
426
|
try:
|
|
427
|
-
res = subprocess.run([sys.executable, linter_script, repo_root], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, timeout=60.0)
|
|
427
|
+
res = subprocess.run([sys.executable, linter_script, repo_root], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, encoding="utf-8", errors="replace", timeout=60.0)
|
|
428
428
|
except subprocess.TimeoutExpired:
|
|
429
429
|
print("[FAIL] lint_ai_docs.py timed out after 60s!")
|
|
430
430
|
return False
|
|
@@ -783,7 +783,7 @@ def gate_7_infer_linter(repo_root, mode="AUTO"):
|
|
|
783
783
|
try:
|
|
784
784
|
res = subprocess.run([
|
|
785
785
|
sys.executable, infer_script, "--strict", "--baseline", baseline_file, "--dir", tools_dir
|
|
786
|
-
], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, timeout=60.0)
|
|
786
|
+
], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, encoding="utf-8", errors="replace", timeout=60.0)
|
|
787
787
|
if res.returncode != 0:
|
|
788
788
|
print("[FAIL] Hub internal tools contain unbaselined critical defects:")
|
|
789
789
|
safe_print(res.stdout)
|
|
@@ -812,10 +812,13 @@ def gate_7_infer_linter(repo_root, mode="AUTO"):
|
|
|
812
812
|
env = os.environ.copy()
|
|
813
813
|
env["SYNAPSE_GATE7_TESTING"] = "1"
|
|
814
814
|
env["SYNAPSE_LANG"] = "en"
|
|
815
|
+
env["PYTHONIOENCODING"] = "utf-8"
|
|
815
816
|
pytest_cmd = [sys.executable, "-m", "pytest", "tests", "-q"]
|
|
816
817
|
import importlib.util
|
|
817
818
|
if importlib.util.find_spec("xdist") is not None:
|
|
818
|
-
|
|
819
|
+
# Windows & cross-platform guard: cap workers to min(cpu_count, 8) to prevent socket/process exhaustion
|
|
820
|
+
max_workers = max(1, min(os.cpu_count() or 4, 8))
|
|
821
|
+
pytest_cmd.extend(["-n", str(max_workers)])
|
|
819
822
|
try:
|
|
820
823
|
test_res = subprocess.run(
|
|
821
824
|
pytest_cmd,
|
|
@@ -823,6 +826,8 @@ def gate_7_infer_linter(repo_root, mode="AUTO"):
|
|
|
823
826
|
stdout=subprocess.PIPE,
|
|
824
827
|
stderr=subprocess.PIPE,
|
|
825
828
|
text=True,
|
|
829
|
+
encoding="utf-8",
|
|
830
|
+
errors="replace",
|
|
826
831
|
timeout=240.0,
|
|
827
832
|
env=env
|
|
828
833
|
)
|
|
@@ -935,7 +940,7 @@ def gate_8_micro_mutator(repo_root, mode="AUTO", test_cmd=""):
|
|
|
935
940
|
if allow_empty_val:
|
|
936
941
|
cmd.append("--allow-empty")
|
|
937
942
|
try:
|
|
938
|
-
res = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, timeout=120.0)
|
|
943
|
+
res = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, encoding="utf-8", errors="replace", timeout=120.0)
|
|
939
944
|
except subprocess.TimeoutExpired:
|
|
940
945
|
print("[FAIL] Assertion Sensitivity Sentinel timed out after 120s!")
|
|
941
946
|
return False
|
|
@@ -991,7 +996,7 @@ def gate_9_skill_collision(repo_root, mode="AUTO"):
|
|
|
991
996
|
cmd.extend(["--scan-rules", "--rules-dir", rules_dir])
|
|
992
997
|
|
|
993
998
|
try:
|
|
994
|
-
res = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, timeout=60.0)
|
|
999
|
+
res = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, encoding="utf-8", errors="replace", timeout=60.0)
|
|
995
1000
|
except subprocess.TimeoutExpired:
|
|
996
1001
|
print("[FAIL] skill_collision_guard.py timed out after 60s!")
|
|
997
1002
|
return False
|
package/tools/welcome_page.py
CHANGED
|
@@ -47,7 +47,7 @@ def get_hub_metadata() -> Dict[str, Any]:
|
|
|
47
47
|
"""Retrieves version and catalog count from skills_manifest.json."""
|
|
48
48
|
manifest_path = os.path.join(HUB_ROOT, "skills_manifest.json")
|
|
49
49
|
meta = {
|
|
50
|
-
"version": "3.8.
|
|
50
|
+
"version": "3.8.5",
|
|
51
51
|
"totalSkills": 42,
|
|
52
52
|
"author": "ThαΊΏ Vα» (@TeeVee98)",
|
|
53
53
|
"repo": "https://github.com/TeeVee98/Synapse-Hub"
|
|
@@ -283,7 +283,7 @@ def main():
|
|
|
283
283
|
mark_first_run_completed(target_dir)
|
|
284
284
|
|
|
285
285
|
print(f"β
Landing page generated successfully at:\n file://{out_path}")
|
|
286
|
-
print("π You can re-open it anytime with: npx synapse-hub welcome")
|
|
286
|
+
print("π You can re-open it anytime with: npx @teevee98/synapse-hub welcome")
|
|
287
287
|
|
|
288
288
|
|
|
289
289
|
if __name__ == "__main__":
|