opencode/packages/plugin-widgets/test
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
..
fixtures feat(core): one canvas node draws with 2D commands or a WGSL shader; remove the shader node 2026-11-21 23:54:01 +00:00
fake.ts feat(core): move widgets into the opt-in @opencode/plugin-widgets server plugin 2026-11-20 21:01:02 +00:00
fixtures.test.ts feat(core): handlers on widget nodes with prelude-assigned ids instead of update and widget.event 2026-11-20 23:35:54 +00:00
lint.test.ts feat(core): one canvas node draws with 2D commands or a WGSL shader; remove the shader node 2026-11-21 23:54:01 +00:00
plugin.test.ts refactor(core): call the widget concept a widget template everywhere 2026-11-21 21:10:16 +00:00
programs.test.ts refactor(core): call the widget concept a widget template everywhere 2026-11-21 21:10:16 +00:00
shader-game.test.ts perf(core): live-only code moves to a live prelude, served only in live programs 2026-11-23 00:00:17 +00:00