Files
waoziandClaude Opus 5.5 054a29f02c Remove raylib: run every host on Kryon and Ziran
Breeze builds and runs with no raylib anywhere, on Ziran 7fbc8152 and
Kryon b5a61b37, with plot, entity, apps, css and game2d pinned to that
Kryon, so the lock has one Kryon and no raylib package.

- Linux and Windows run on Kryon's SDL2 and Cairo desktop host; WebP
  decodes with the linked libwebp (KRYON_WEBP_LINKED).
- Android owns its NativeActivity loop on Kryon's android_runtime:
  Pixmap on the activity's surface, android_touch input and Android's
  typefaces, paced to the app's frame target. The CMake build drops
  breeze_raylib, GLES and the raylib link wraps, and links Kryon's fopen
  wrapper.
- The browser reaches Kryon's canvas modules directly.
- Audio is Ziran's std audio: its mixer, the SDL, AAudio and OpenSL ES
  sinks, the WAV, MP3 and Vorbis decoders and the audio package's Opus.
  The MP3 and Vorbis archives come from Ziran's own codec recipes. The
  browser keeps Kryon's Web Audio.
- Host modules choose the desktop host, Android, the canvas or, for
  native tests that select none, a headless host with no window, input
  or audio device. host_keys.zi and text_input_host.zi replace
  raylib_host.zi and raylib_text_input.zi; the log is one implementation,
  with logcat on Android and the C runtime's open flags on Windows.
- The Makefile, Click packaging, CI and release workflows build no raylib.
- Tests: radio, app log, asset files, DPI, legacy sessions, sync recovery
  and the Android JNI bridge run without raylib stubs; voice playback is
  a Ziran test of real Ogg Opus narration through Ziran's mixer. Tests
  that only exercised raylib internals are removed.
- AppsControllerSha256 is the controller built from Apps b96d9afe on
  this graph.

Local tests: Linux desktop window, Habits UI and the Ziran and native
tests above pass on a private Xvfb; the Android debug APK runs on a
Pixel 4a; the Windows package runs under Wine on a private Xvfb.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 13:16:23 -03:00

1.8 KiB

Radio

Radio is an optional installable app built as build/node-apps/radio.zx. It requires host API 18, which adds owner-scoped AudioStartHost, AudioStopHost, AudioStateHost and AudioVolumeHost effects. A package can start an HTTPS audio stream, observe its state, set volume and stop its own playback. Starting a new stream replaces the current stream; explicit Stop and volume changes apply only to the owning app. Closing or uninstalling the owning app, or switching accounts, cancels playback. Navigating away keeps it playing. Playback does not start automatically after a restart.

The bundle owns the station catalogue, controls and saved station/volume. Its screen is a native Kryon control surface: the cabinet itself provides separate power, volume and tuning controls, three presets, an illuminated dial and live playback status without an extra form or embedded web view. Its three stations publish MP3 links for external players: Ambient Sleeping Pill, a.m. ambient and Ambient Modern. Audio goes directly from their HTTPS servers to the device. There are no website launchers or recording/relay servers. SomaFM and Sleep Radio are excluded because their published app usage terms do not authorize this integration.

The native player decodes a bounded MP3 buffer with Ziran's dr_mp3 decoder into a stream voice of Ziran's audio mixer. Android uses MediaPlayer and the existing media-playback foreground service; the browser uses an audio element and follows browser background policies. Radio keeps playing across Inner Breeze app navigation and takes precedence over a practice's preselected music while active. Stop cancels network connections and pending retries. A local development install uses the normal INBE_NODE_APP_FILE mechanism; publication remains separate.