From c1e3980fecd048a49e625229b074956dcacacefa Mon Sep 17 00:00:00 2001 From: matcha Date: Sun, 4 Oct 2026 02:47:11 +0000 Subject: [PATCH] Consolidate Persimmons backend --- backend/build.py | 56 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 backend/build.py diff --git a/backend/build.py b/backend/build.py new file mode 100644 index 0000000..3997b08 --- /dev/null +++ b/backend/build.py @@ -0,0 +1,56 @@ +"""Extract accepted assets without changing the Tea fallback; deterministic ZIP.""" +from pathlib import Path +import zipfile +import json +import re +ROOT = Path(__file__).resolve().parent +REPO = ROOT.parent +(ROOT / 'human_vault.py').write_bytes((REPO / 'tea_mcp/human_vault.py').read_bytes()) +html = (REPO / 'tea/web/🍊/index.html').read_text() +html = html.replace('