sync update from LAN repo (source dhk-1 @ 3b1ec5b4)

This commit is contained in:
gozeros committed 2026-11-05 10:56:34 +08:00
1 parent da6521b6cb
commit 264e2200d6
995 files changed
+148105 -13399

No files matched your search

@@ -0,0 +1,12 @@
"""Fingerprint this worker's execution adapter at process startup."""
import hashlib
from pathlib import Path
def code_revision():
digest = hashlib.sha256()
for path in sorted(Path(__file__).parent.glob("*.py")):
digest.update(path.name.encode())
digest.update(path.read_bytes())
return digest.hexdigest()[:12]