feat: add automation scripts for NAS fixes, Authentik monitoring, and Technitium DNS management

This commit is contained in:
2026-11-06 18:49:24 -05:00
parent 1965d37687
commit 8e1c5f1e66
22 changed files with 675 additions and 17 deletions

View File

@@ -0,0 +1,14 @@
import json
with open(r"C:\Users\Snarf\.gemini\antigravity\brain\67541ce0-c72c-4983-b7f8-7f29d818f6c0\.system_generated\logs\transcript.jsonl", "r", encoding="utf-8") as f:
for line in f:
data = json.loads(line)
content = str(data.get("content", ""))
calls = str(data.get("tool_calls", ""))
if "UDM" in content or "UDM" in calls or "unifi" in content.lower():
calls_list = data.get("tool_calls", [])
for c in calls_list:
args = c.get("args", {})
if "CommandLine" in args and ("udm" in args["CommandLine"].lower() or "140.44.44" in args["CommandLine"] or "14.44.4.1" in args["CommandLine"]):
print("Step", data.get("step_index"), ":", args["CommandLine"][:120])