Commit graph

8 commits

Author SHA1 Message Date
OpenCode Agent
b18aa923d3 perf(core): live-only code moves to a live prelude, served only in live programs
prelude-live.js holds widget (with widget.gpu) and __widget_live; a step widget template's program
is prelude + "\n" + source, a live one's prelude + "\n" + livePrelude + "\n" + source, and
versions hash the program as served. Lint reserves both preludes' names; positions stay
source-relative per mode. Steps compile and run faster than before widget.gpu.

Also lands the widgets-gpu.md changes 0786c7331 described but didn't carry: the live input's gpu,
the flag globals, the normalised op shapes, error ops, which canvases an error stops, Host checks
and Conformance; and widgets-live.md's rule that GPU batches never overtake waiting posts.
2026-11-23 00:00:17 +00:00
OpenCode Agent
78d51075f4 refactor(core): call the widget concept a widget template everywhere 2026-11-21 21:10:16 +00:00
OpenCode Agent
5c8fc2663f feat(core): remove the minigame built-in; keep its game as a live runtime test fixture 2026-11-21 18:56:24 +00:00
OpenCode Agent
a405b4f066 feat(core): handlers on widget nodes with prelude-assigned ids instead of update and widget.event 2026-11-20 23:35:54 +00:00
OpenCode Agent
8a4859e352 feat(widget): live fetch, pause and resume, compile and capability-aware version 2026-11-20 21:40:57 +00:00
OpenCode Agent
888ef89748 feat(widget): live mode prelude, TypeScript live host and minigame 2026-11-20 21:33:57 +00:00
OpenCode Agent
ca272b6cea feat(widget): chart and backdrop built-in templates, JSON Schema pattern 2026-11-20 20:12:35 +00:00
OpenCode Agent
4fd2233908 fix(widget): version templates by their full program 2026-11-20 18:15:44 +00:00