[ui] DaySentence: Her folded petal, the words and their source; the library bundled after validation

This commit is contained in:
2026-11-02 08:55:06 +01:00
parent 5934523e45
commit 03dc69702a
16 changed files with 525 additions and 19 deletions
+5
View File
@@ -7,6 +7,8 @@
import { version } from '../package.json';
// Bundled at build time, so the letter is precached and opens offline (letter-slot.md L1).
import letter from '../../../docs/LETTER.md?raw';
// The verified hope library, bundled after validate:library passed (day-sentence.md P5).
import sentences from 'virtual:rosea-library';
// The device's own zone, read here and nowhere else: the engine never asks the
// device anything (CLAUDE.md §2). Only the zone's name; never GPS, never a lookup.
@@ -92,6 +94,9 @@
await storage.appendCare(event);
keepAfterCare();
},
sentences,
loadOpened: () => storage.loadOpened(),
appendOpened: (event) => storage.appendOpened(event),
clientVersion: version,
deviceZone,
now: () => Date.now(),