This commit is contained in:
33333-33333 2026-07-15 14:44:29 +09:00
commit 63e10af865
86 changed files with 5400 additions and 1209 deletions

View file

@ -2104,12 +2104,16 @@ def check_connection_overlay_and_time_detector() -> None:
fail(f"detector dual time slider is missing {control_id}")
if '.pressure-time-thumb-start' not in styles or '.pressure-time-thumb-end' not in styles:
fail("detector dual-thumb slider styling is missing")
if 'item.pressureTarget === "time" ? 2' not in snapshot or 'item.pressureTimeStart' not in snapshot or 'item.pressureTimeEnd' not in snapshot:
fail("time detector snapshot persistence is missing")
if 'data.pressureTarget = item.pressureTarget === "time"' not in placement or 'item.pressureTarget = data.pressureTarget === "time"' not in placement:
fail("time detector copy persistence is missing")
if 'item.pressureTarget === "time") continue' not in render:
fail("time detectors still render a spatial detection rectangle")
if 'const targets = ["tarinai", "item", "time", "hunger_avg"' not in snapshot or 'item.pressureTimeStart' not in snapshot or 'item.pressureTimeEnd' not in snapshot:
fail("expanded detector snapshot persistence is missing")
if 'data.pressureTarget = item.pressureTarget || "tarinai"' not in placement or 'targets.has(data.pressureTarget)' not in placement or 'data.pressureComparator' not in placement:
fail("expanded detector copy persistence is missing")
if 'item.pressureTarget === "time" || item.pressureTarget === "temperature"' not in render:
fail("non-spatial detectors still render a detection rectangle")
removed = ["bio_sensor", "power_relay", "automationItemEditor"]
for token in removed:
if token in placement or token in snapshot or token in signal:
fail(f"removed automation item remains in runtime source: {token}")
runtime = f"""
const vm = require('vm');