Select the published Ziran, Kryon and optional-package revisions through normal manifests and generated locks. Keep project creation, upgrade defaults and documented pins consistent.
Local validation: all 102 standalone examples resolve one published Kryon without overrides and pass TSX source checking; the rebuilt CLI and pin test pass; all four freshly generated starters check and report zero native TypeScript editor diagnostics. Current full profile/runtime validation and the required pre-push gate remain pending.
Expose the native widget surface through ordinary typed TSX components and enforce application composition at generic export and entry boundaries. Migrate maintained screens, scaffolds, gallery publication and editor transport through the common checked IR path. Preserve native logic, retained component state, input and platform hosts; remove the pixmap application route.
Local validation: complete make push-check passed with published Ziran dc3ecf0a, including docs, public source/saved surface, private-display desktop input, native host links and Canvas input parity. Fresh CLI/player/desktop library installed and byte-verified. The full migration matrix records remaining owning suites, published consumer pins, platform runs and Alpha benchmarks; this is a source milestone, not completion of the full campaign.
main is the only program entry. Frame stays an ordinary function that apps pass to App.Run; the frame-entry export mechanism (frame_entry, ProjectFrame binds, KRYON_FRAME_ENTRY, *_run.zi hosts) is gone. The pixmap, dom, terminal, zx and android frame loops are now frames_*.zi modules that App.Run selects. Consumer tests and fixtures build their own shot programs through the kryon package exports, and the desktop project probe imports Window explicitly. General #program_export component exports stay.
The final matched set: the starter, the dashboard and the cheat sheet's
project pin Kryon 2f9b5db2 and CSS d55590a6, which is built on that Kryon,
so a fresh lock holds one Kryon. Ziran e225a4fe names a program export two
package revisions both define and refreshes a lock's stale checked
packages; every Ziran pin moves to it: kryon init and kryon upgrade
(toolchain_pin.zi, which also carries the Kryon and CSS refs), the four
templates, the cheat sheet project, the test fixtures and the examples
that pin a toolchain, relocked without their local overrides. The
migration block names the new set. templates/app/ziran.toml also carries
an orphaned commented-out `frame_mode = "events"` line from the Android work.
Local tests: a fresh `kryon new` from the template with no overrides locks
to one Kryon (2f9b5db2) and CSS (d55590a6) on Ziran e225a4fe, builds,
shoots both themes and bundles in 4,011,330 bytes; toolchain-pin-test,
watch-test, new-widgets-test, cheatsheet-test, shot-test, templates_test
(digests unchanged, kryon upgrade round trip) and the responsive dashboard pass.
The thirteen overlay examples keep their overlays at explicit rects and
put only the page around them (title, trigger buttons) in a padded Layout
column; GuidedTour closes the column after its title so its scrim covers
the whole view. Button shows every tone and emphasis in a two-column Grid
now that a Button places itself in a grid cell. Reorder gives its rows the
area a Stack takes in the column. A Toolbar with no position or width
lets a placing column place it, so the toolbar example passes only its
height. The Modal Frame reopen button is 44 px instead of the modal's
188, and Skeleton gets a title: it had no dark pixel, so the gallery ZX
check failed on it since the example was added.
Shot digests, light theme, before -> after:
button 3d76c2afddc5 -> 03fd6c044790
commandpalette b54fff7c4844 -> da25ce4ee021
confirmpopover 0ba98f005a32 -> 8ccd1025e6a1
contextmenu ea7315924285 -> cc6aff78aa7f
dismissibleoverlay 02d86bae2cc2 -> 85a56b56c62c
guidedtour 2a7d2201ccae -> 3a777e8ca8b0
hovercard 329b82b39f72 -> c6e9c9c5f8b5
menu 2047019da1e4 -> 4055151eb21a
modalframe 1240c35f52ab -> 0b3761c75941
navigationbarconfig 174d336d38c2 -> 925d8adc239a
popup ca39b5f43085 -> d06bd17ae332
reorder 812b68c1e35d -> a840da307a82
sheet 51e68730e50c -> 7dbbcb785d21
skeleton 79f16f226aa7 -> 839cade06b09
toast df4156285ba9 -> 741967a157b0
toolbar 54138e0e480b -> 46c47233c3b9
tooltip f3cc2cb6f1e2 -> 532c5bc1a7e7
The starter template pinned Kryon cdf23986 and CSS e2d73fcd, which lack the
container Card and slot-free TitleBar its code uses, so a fresh `kryon new`
did not build. It now pins Kryon 02cc10e6 and CSS b0e83ac2, which is built on
that same Kryon: a fresh lock holds one Kryon. The dashboard moves to the same
pair. Every Ziran pin moves to 8133bd41, which resolves a checked library for
another toolchain from source instead of failing the lock: `kryon init`
(toolchain_pin.zi), the four templates, the cheat sheet project, the test
fixtures and the examples that pin a toolchain, with their locks.
A fresh `kryon new` from the template with no overrides locks, builds and
shoots both themes; the starter digests are unchanged.
Widgets are known by their call site now, so the examples and the pages,
tui and web templates stop numbering them: literal keys, `100 + index`
loop keys and the key parameters threaded through Label, Heading,
Paragraph and link helpers are gone. Keys stay where something points at
them: a guided tour's target, the gallery site's test handles and the
dashboard.
Kryon carries no raylib code. The ten raylib host modules, the raylib
ZX player, the raylib audio sink and media provider, their tests and
docs, mk/raylib-library.mk, mk/zx-raylib.mk, mk/raylib-shell.html,
cmake/renderer-artifact, the renderer-raylib artifact, the
`backend = "raylib"` profile and [dependencies.raylib] are gone.
Desktop, Android and Canvas hosts keep the shared image, shader and
audio coverage. Browser asset and PCM audio play through
media_audio_web on the Canvas WebAudio engine; native audio uses
Ziran's core audio modules through media_audio_desktop.
macOS CI builds the desktop ZX player and checks the headless bundle
with it. The toolchain moves to Ziran 7fbc8152, which carries the
optimizer fixes the tree-input test needs. All 99 example locks are
regenerated as CI resolves them, without raylib.