feat(gamebook): screen text cap 1000 + bump fw
Repo State / repo-state (push) Failing after 1m0s
Validate Zacus refactor / validate (push) Failing after 6m3s

Match the firmware's scrolling body (no more clipped passages) and bump
ESP32_ZACUS for the scroll fix + DELETE /game/file.
This commit was merged in pull request #184.
This commit is contained in:
clement
2026-06-19 16:31:03 +02:00
parent 2b6a952e10
commit 616aeca14e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ def build_book(path: Path, force: bool, dry: bool, ip: str) -> dict | None:
manifest["passages"][pid] = { manifest["passages"][pid] = {
"wav": wav, "wav": wav,
"screen": fold(p.get("screen", ""))[:47], "screen": fold(p.get("screen", ""))[:47],
"text": fold(" ".join(p["text"].split()))[:500], "text": fold(" ".join(p["text"].split()))[:1000],
"choices": [{"label": fold(c["label"])[:38], "goto": c["goto"]} "choices": [{"label": fold(c["label"])[:38], "goto": c["goto"]}
for c in choices], for c in choices],
} }