The widget packages pin psychoscript to rust b30b1c2, where typed arrays are opt-in; steps, draws,
live runs and compiles turn them on, and widgets.md lists the globals. The GPU and wire fixtures
regenerate unchanged; without the opt-in the GPU ones fail.
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.
Widget packages pin psychoscript to rust 7b09bac (limits.maxValueDepth); the TypeScript host runs
steps and live programs at 202, the depth of a 100-level view. Fixtures add 100-level views (one
with the deepest prop) and a 150-level one, and 101 now fails in the host's walk.
step, WidgetSession and LiveWidget run programs under translate.functions "mark" with the native
entry, build the tree in src/tree.ts (byte-identical to the wire fixtures), map live draw keys to
canvas ids, return from a render post whether its view has handlers, and fail functions where
none may go as the interpreter did. Widget packages pin psychoscript to rust c630d87.
@opencode/widget and @opencode/plugin-widgets depend on github:anomalyco/psychoscript#fdea142 on
its rust branch (its prepare script builds dist on install; psychoscript is a trusted dependency so
Bun runs it). codemode stays on npm 0.2.1.