Author the remaining app UI, platform hosts, and storage helpers in .kry,
generate Kryon's src/ui modules and headers in the Inbe build, and follow the
migrated Kryon surface (generated props ABI and Button ImageProps). Move the
Plan 9 app loop and music fallback, Android lifecycle/share titles, desktop
tray, screenshots, and style tokens to their .kry owners, and delete the C
owners they replace.
Stop background execution whenever no visible indicator is present: the
desktop tray, Chrome worker, and Android foreground service now confirm their
indicator before continuing. Report gates: make native, no-vendor-edits,
clean-text-api-check, button-api-check, version-test, proof-test, and
sync-recovery-test pass.
vendor/kryon moves to 8f1a8608.
Move product behavior, app types, storage, audio, and tray logic into .kry modules. Use shared Kryon widgets, layout policies, asset-backed images, and app KSS styling with a smaller native boundary.
Include the pending navigation, sync recovery, localization, launcher icon, design asset, and 2.0.0 release metadata updates. Add version consistency checks and improve browser persistence and interaction validation.
Bump vendor/kryon to master (651a82cda) and complete the move to the canonical Kryon widget surface with no legacy compatibility:
- Drop removed per-widget visual props (font/color/style); typography and colors resolve from the active Material style pack (new src/app/app_style.kry).
- Replace removed helpers with app-owned metrics in app.h (AppFontSize, AppTextWidth, AppParagraphHeight, AppTitleBarHeight, AppFitFontSize...).
- Convert imperative scroll scaffolds to declarative Scroll blocks; modals keep an app-owned clamped scroll.
- Icons resolve from embedded sheets via icon_type instead of app-loaded textures.
- Own the composed chrome widgets in src/app/app_widgets.c (modal frame, guide overlay, icon slider popup, bottom icon row, profile picture picker, reorder affordances) on public widgets only.
- Remove the theme_style setting and its persistence key; swipe/image enum names use canonical CamelCase.
- Test stubs updated to the current API; bottom-nav expectations track the Material nav height.
Bump vendor/kryon to k2kir 737ac56 and adapt inbe to the API it
brings: kryon's runtime button policy now ships as Kry modules that
the Android CMake build transpiles and links, ButtonStyle gave way to
ButtonTone/ButtonEmphasis, UIStyleTokens became ThemeMetrics, and
UIButtonRowItem became ButtonRowItem. StyledButton survives as an
inbe-side shim (src/app/styled_button.c) over the new Button API so
the 80 existing call sites keep one visual mapping. Kry constants
migrate off the removed '#define' syntax.
Also fix stale Android package references that crashed startup:
JNI registration looked for xyz.waozi.breathing.MainActivity, share
calls targeted the old ShareHelper name, the files directory pointed
at the pre-rename package, and the Makefile launch target used the
old app id.
The vendored Kryon compiler now emits 8c-safe C directly, so the
per-project rewriter script is gone: kry-c-plan9 runs k2c with --plan9
across the kryon, sqlite, and generated include dirs, writes the
generated file list, and builds the embedded asset table. The handful
of declarations the pass cannot type (member pointers and ternaries
over locals) now carry explicit types in the Kry sources, which reads
better anyway and keeps every platform's generated code identical.