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