From 897db366a447a4205fdb328c022258acd8d20143 Mon Sep 17 00:00:00 2001 From: PsySlayer Date: Sun, 15 Mar 2026 18:34:11 +0200 Subject: [PATCH] =?UTF-8?q?v1.2.3=20=E2=80=94=20BUG-1=20renew.py=20--json?= =?UTF-8?q?=20guard,=20BUG-3=20sync=5Fsicry=20fetch-after-validate,=20BUG-?= =?UTF-8?q?2=20push=20missing=20git=20tags?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- renew.py | 3 ++- sicry.py | 2 +- sync_sicry.py | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/renew.py b/renew.py index ebdeda7..ef183a7 100755 --- a/renew.py +++ b/renew.py @@ -39,7 +39,8 @@ _parser.add_argument("--json", action="store_true", help="Print only the JSON result, no human-readable output") _args = _parser.parse_args() -print("Rotating Tor circuit...") +if not _args.json: + print("Rotating Tor circuit...") result = sicry.renew_identity() if _args.json: diff --git a/sicry.py b/sicry.py index 523427a..c5a6ca9 100644 --- a/sicry.py +++ b/sicry.py @@ -2,7 +2,7 @@ # Copyright (c) 2026 JacobJandon — https://github.com/JacobJandon/Sicry from __future__ import annotations -__version__ = "1.2.2" +__version__ = "1.2.3" """ SICRY — Tor/Onion Network Access Layer for AI Agents diff --git a/sync_sicry.py b/sync_sicry.py index d01e031..9d6bcf3 100644 --- a/sync_sicry.py +++ b/sync_sicry.py @@ -37,13 +37,12 @@ DEST = os.path.join(os.path.dirname(os.path.abspath(__file__)), "sicry.py") def main(): parser = argparse.ArgumentParser(description="Sync bundled sicry.py from upstream SICRY™") - parser.add_argument("--version", action="version", version="OnionClaw sync_sicry 1.2.2") + parser.add_argument("--version", action="version", version="OnionClaw sync_sicry 1.2.3") parser.add_argument("--tag", default="main", help="git ref / tag to fetch (default: main)") parser.add_argument("--dry-run", action="store_true", help="print what would happen without writing") args = parser.parse_args() url = UPSTREAM_RAW.format(ref=args.tag) - print(f"Fetching {url} ...") try: r = requests.get(url, timeout=15) @@ -67,6 +66,7 @@ def main(): print(f"Error: HTTP {r.status_code} fetching {url}", file=sys.stderr) sys.exit(1) + print(f"Fetching {url} ...") new_content = r.text # Extract upstream version