359 Commits
Author SHA1 Message Date
waozi ef0de86e02 Integrate Breeze desktop, Android, and app updates
Cloudflare Pages / Build and verify the site (push) Successful in 3m29s
Use the verified dependency lock across native hosts and bundled apps. Preserve saved styles, local app reactivation, and offline packages while integrating the latest practice, Habits, Lumi, and figure preview updates.
2026-11-20 02:24:34 -03:00
waoziandClaude Opus 5.5 3432e0dc43 Regenerate on define changes and write native objects whole
Two stale-build traps cost UI test runs:

- The generated C did not depend on its defines, so building with
  KRYON_TEST_DRIVER after a plain build kept the old C and the UI tests
  stopped with "this build has no test driver". The defines are now
  recorded in build/kryon/generated-defines.txt, rewritten only when they
  change, and the generation depends on it.
- A compile killed part way, as the memory guard does, left an empty
  object newer than its source; make then skipped it and the link failed
  on undefined symbols. Each object is now compiled to a .part file and
  moved into place.

Local tests: make native with and without KRYON_TEST_DRIVER regenerates
once and a repeat build regenerates nothing; desktop-window-test passes
on a private Xvfb.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 15:52:45 -03:00
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
waoziandClaude Opus 5.5 6f6d19f24d Rename account sync to Mesh
The codex-daochi-client-mesh-client-rename integration, committed as that
task staged it: mesh_client replaces daochi_client, account storage and
tests move to the Mesh names, and docs, locales and CI follow, with
existing accounts, encrypted records and local storage kept compatible.
The task stopped before its dependency versions were pushed; the next
commit moves Breeze to the pushed pins it needs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 13:14:02 -03:00
waozi 017d3565d3 Build on Ziran 0.5.0 and Kryon's namespaced widgets, with the Tao picture page
Pin only pushed commits, with no local overrides: Ziran v0.5.0
(f9f92b46), Kryon b45cc524 (one lock entry, ref master, shared with the
Css and Plot master edges), Apps 352901e, Entity b30dd4a and practices
893e5b6f, whose sharpened banners and regenerated Lumi guide clips the
narration check now matches.

The Library opens each Tao Te Ching chapter on its own picture page: the
chapter art and its title, centered together; the text pages follow.
The reader keeps the picture page across reflow, and a chapter start or
a Contents pick opens it. The 81 approved chapter pictures are included.

Breeze now uses Kryon's namespaced widgets (Text.Draw/Text.Props,
Button, Image, Modal.ActionModal, Layout, TabBar, LoadingScreen,
LoadingIndicator, Shape.Circle) instead of the removed Kryon/Widgets
facades. Hosted apps import std/text explicitly, since a short "text"
import now names Kryon's widget. AGENTS.md and the Text/Button API checks
describe the namespaced forms; two unused test doubles are removed.

Build fixes for the new toolchain: the bundle runtime carries Ziran's
instruction engine (no BOOTSTRAP=1) and takes the pinned host zi2c for
cross builds; the Apps controller's lock context has the manifest's
module roots; the app codec generator lists Kryon's raw modules only;
the package scripts read ZX revision 28 bundle assets. The Apps
controller digest matches the Apps 352901e build.

Also included: the stopped lanes' work in this tree (Radio download,
Photos install, Lists, Lumi, Habits shop rewards, astral exercise
selection, appearance and download recovery) and the raylib-free desktop
lane's host modules (app_trace, host_input, host_window, host_clock),
inactive unless DESKTOP_HOST is defined.

Not included: the crash-recovery lane's picture-window and storage
crash-safety changes, which that lane commits itself.

Local tests: zi-check (510 modules), native and Android source checks,
hosted app checks, build-laws, clean-text-api-check, button-api-check,
library-reader-test, library-ui-test, storage-crash-zi-test and
native-image-decode-test pass. The bundled Arcade is still ZX revision 26
and waits for an Arcade build on these pins.
2026-11-16 14:20:12 -03:00
waozi 0dc9ba9007 Benchmark the Linux desktop build
Add a Ziran benchmark (tests/desktop_benchmark*.zi; make desktop-benchmark
and desktop-benchmark-build) for moving the Linux desktop build off raylib.
It drives the app through the Kryon test driver on a private Xvfb with a
seeded profile and no audio device: screen switches, a 240-item list
scrolled by wheel, a modal, a floating practice window, then 30 s idle.
It reports time to first frame, frame rate and frame cost, idle CPU,
resident memory, build times, generated C, executable size and libraries,
each as a median over runs with its range.

Under APP_PROFILE the app now logs when each host frame begins and the
process CPU time then, so the benchmark can take per-frame intervals.

plans/2026-11-15-breeze-desktop-without-raylib.md records the method, the
raylib baseline measured with the installed build, and the call-site map
for the port.
2026-11-16 12:52:02 -03:00
waozi 385449fd38 Build the Kryon test driver only for UI tests
Kryon leaves its test driver out of ordinary builds. The UI tests drive
the app, so a build with KRYON_TEST_DRIVER set passes that define to the
Kryon sources.
2026-11-14 09:57:34 -03:00
waozi 939593a1e6 Checkpoint media compression, narration, and app updates
Preserve current AVIF compression, local voice pipelines, practice workflows, UI API migration, locale updates, and packaging work. Native integration validation remains pending.
2026-11-10 22:20:31 -03:00
waozi 7ccbf5cd97 Style Breeze with Kryon CSS
Breeze's style sheets, theme catalogs and custom appearance sheets are
CSS now, read by the css package (6aad71c) on Kryon b9aed758. Custom
sheets saved as KSS convert to CSS at first start; the KSS setting
stays, and a sheet with no CSS form opens as a draft to fix. Host
theme colors still replace only a custom property of the same kind,
and user sheets rank above the app's.

The tree also carries the Apps pin cd72a24 and the Apps controller
digest of the bundle built from it.
2026-11-07 16:02:03 -03:00
waozi 724182c67a Build dav1d for AVIF on runners without ziran on PATH
The avif package now decodes with dav1d. Kryon resolves its source with
`ziran pkg path`, falling back to a ziran on PATH that CI runners do not
have, so every Linux build stopped with "Cannot resolve dav1d package".
Pass this build's ZIRAN_BIN to the codec configure steps, and install
Meson and Ninja (and NASM for Snap) wherever dav1d now builds: CI, Linux,
Android, Windows, Snap and the F-Droid recipe.
2026-11-07 12:46:51 -03:00
waozi dc1d003cd8 Merge pending Breeze work: Photos as its own app, Opus voice packs, 2.1.63 notes
Photos downloads from Apps instead of shipping in Breeze, practice and
guide voice clips move to Ogg Opus, dependencies update (Ziran, Kryon,
Apps, Arcade, practices), and the 2.1.63 version and store notes are
prepared. The Practice tab note is translated in every locale.
2026-11-06 21:58:14 -03:00
waozi 00aa79b87f Use reviewed WebP packages and render Telegram as a vector 2026-11-02 11:19:27 -03:00
waozi e18a03a483 Use a vector Telegram social icon 2026-11-02 11:02:28 -03:00
waozi 060f5dd2b5 Test lossless WebP for Breeze-owned runtime images 2026-11-02 10:28:48 -03:00
waozi 03b3f11fc0 Export notification callbacks in Android host 2026-11-02 05:01:48 -03:00
waozi 5ddfef619d Link Kryon WebP and complete Apps test host 2026-11-02 04:54:20 -03:00
waozi bac4a1d519 Build native objects on half of the CPUs at low priority
Keep generated C between runs: zi2c --prune-stale removes outputs this run
no longer writes, now including subdirectories, and unchanged files keep
their timestamps, so an edit recompiles only the C it changed instead of
all 858 generated files.
2026-11-01 18:43:12 -03:00
waozi 6ae3f5853d Shrink the APK with Ziran's compact saved IR and single copies
Ziran c8c6c96c writes saved IR format 59: each string once, compact
integers and relative source positions. The root package drops from
34.0 MB to 18.5 MB and the debug APK from 46.3 MB to 29.5 MB.

A host reads only its own program format, so host_api, oldest_host_api
and every package's host_api move to 41 (released hosts are 40). The
Apps controller is rebuilt with Apps ffebcc7 (e41f568f…, 592 KB instead
of 1.94 MB); controllers from before format 59 cannot run here, so their
trust entries go and collections publish again with this one.

The root package no longer carries a second copy of the Apps controller,
which the host reads from its own apps.zx asset, and the profile picker
draws Entity's flowers picture instead of an identical 1.85 MB copy.
2026-10-29 13:05:36 -03:00
waozi 5527db97d4 Restart the current breathing phase before stepping back 2026-10-26 03:11:07 -03:00
waozi 3b46c147ec Keep catalogs open while separate games are missing 2026-10-25 13:17:16 -03:00
waozi 52c71db3c4 Add host32 game downloads and restore app download dialogs 2026-10-25 12:37:17 -03:00
waozi 434c99f697 Rename bundled app sources and build targets from cells to apps 2026-10-24 23:17:45 -03:00
waozi 6b90f3670c Build practice packs from the practices repository
The practices' pictures, course data and recordings, 184 MB, move out of
Breeze into their own public repository, waozixyz/practices, pinned in
ziran.toml and ziran.lock like the other packages and linked at
build/packages/practices. The build stages them under assets/practices/ as
before, so every pack it makes is byte for byte the same. The narration,
Sun Salutation character and Tai Chi generators write into a practices
checkout mapped in ziran.local.toml. Breeze's history keeps the files.
2026-10-24 23:17:45 -03:00
waozi a687881c94 Habits and Practices draw their screens in their own packages
Habits' list with each habit's week and calendar, its day with the entry
dialog, the editor and the statistics now come from the Habits package, and
Practices' home, the Wim Hof, Meditation, Patterns and Astral Projection
manuals, Meditation's and Astral Projection's Customize pages and the
results after a practice come from the Practices package, so they can change
without an app update. The host keeps the data, the rules and the storage,
gives each page its frame and does what the page asks. The pages draw
exactly as before.

Kryon now hosts segmented controls, form sections, toggle sizes, lines,
circles, rings, triangles, sliders and progress bars for bundles and lets a
bundle import up to 256 host calls; plot hosts its band chart. Host
interface 30; Habits 1.3.0 and Practices 1.4.0.
2026-10-24 23:17:45 -03:00
waozi d5dc80c5b6 Make Wim Hof reminders follow the breath hold
Use one optional 30- or 60-second hold reminder and keep the normal last-breath bell automatic. Preserve the existing saved keys, simplify the wording in every locale, and resolve Wim Hof modules through declared source roots.
2026-10-24 15:05:59 -03:00
waozi 49f7cd2d0a Link Windows builds with winpthreads, which parallel regions use
Kryon's image preview and JPEG decoding run #parallel regions, whose
Ziran runtime starts POSIX threads, so the Windows link failed on
pthread_create. Package checkouts are cached per runner image too: the
Apps controller build compiles its own Ziran inside them, and an Ubuntu
22.04 job could not run one built on 24.04.
2026-10-24 05:09:26 -03:00
waozi 30407588f5 State held-key repeat and display wake for hosted games as laws, and log repeated widget keys 2026-10-24 03:42:39 -03:00
waozi 6a5f639395 Run apps as native code with Ziran's native ZX engine
Lock Ziran 8e36629e, which compiles bundles to machine code in memory on
Android and Linux, and Kryon c3840d2e, which finds cached textures faster.
On the Moto, Shovey inside Arcade moves at 53 fps instead of 21.6, and
every built-in app starts natively.

Ziran no longer has a C++ target, so the toolchain and the behaviour
tests stop building C++ variants.
2026-10-24 02:10:11 -03:00
waozi 74c4a6d935 Build and run apps in the ZX format
Ziran 0.3.1 writes portable bundles as .zx with a ZX header and rejects
.zib. Pin Ziran 620c407, Kryon 935d5fc1, Apps 12e52c0 and Entity 86e72720,
and build, embed, download, verify and store every bundle as .zx: the root
and cell bundles, node apps (the node is asked for format=zx releases),
practice packs and the shared Apps controller, now the only trusted one.

Practice packs stored by older versions count as installed and update
themselves to ZX; a node app's unusable .zib payload is removed so its ZX
release installs. Bundle staging starts empty, so no stale bundle is
embedded, and Android reads asset names by their length.
The generated app codec matches the pinned generator again.
2026-10-23 22:05:05 -03:00
waozi 215e1b4d4e Sun Salutation moves like Tai Chi and the workout, without snaps or slides
The woman is the Jade figure of Tai Chi and the workout in the chosen
auburn colours, cut slimmer, with rounded hips, finer hands and feet and
upright prayer hands. No joint snaps: elbows turn gradually as the hands
go flat, knees stay just soft at full reach, and every floor pose keeps
the hands and feet on one spot. Stepping feet lift, the body leads and
the head follows, a hold keeps breathing, Mountain stands straight, and
the camera turns only while she stands. A live offscreen renderer
exports the app's own drawing.
2026-10-23 16:43:56 -03:00
waozi 40e9fd3c1a Name the program breeze and move existing launcher shortcuts to it 2026-10-23 11:54:46 -03:00
waozi e846d674d3 Remove Plan 9 support
The Plan 9 build, its libdraw desktop backend, its stubs and tests, and
the WAV copies of the built-in sounds it needed are gone. Every desktop
build uses Kryon's raylib backend.
2026-10-23 02:30:00 -03:00
waozi d069d36ef8 Publish this device's Wim Hof and meditation figures for friends and remove the terminal backend 2026-10-22 23:59:26 -03:00
waozi 0e59dc3b95 Complete local CI coverage and remove obsolete documentation 2026-10-22 21:51:13 -03:00
waozi fa9c8acab2 Use Entity for the shared profile and preserve the host account 2026-10-22 17:23:13 -03:00
waozi 6a2121b2d7 Give catalog apps their icons and share Android controller assets 2026-10-22 16:56:48 -03:00
waozi 77f90eb61a Keep Tai Chi data distinct from executable binaries and record the owner Moto waiver 2026-10-22 15:47:16 -03:00
waozi 9bf368ad36 Make Apps a scrollable launcher list with hold-to-edit ordering 2026-10-22 00:18:54 -03:00
waozi f6defa6b84 Add the 7-Minute Workout and tabs for every practice on Practice
The 7-Minute Workout runs the classic circuit: ten seconds to get ready,
then jumping jacks, wall sit, push-ups, crunches, step-ups, squats,
triceps dips, plank, high knees, lunges, push-up and rotation and side
plank, thirty seconds each with ten-second rests. The flat Jade woman of
Tai Chi shows each exercise live, drawn by the same flat painter from a
skeleton the workout poses and solves, with a bench and a wall where an
exercise needs them. The screen shows the exercise, what comes next, a
form tip, a countdown ring, twelve progress bars and Pause; a bell starts
and ends each exercise and English narration speaks each change. Names,
tips and spoken lines are translated in every locale; the banners were
made in Google Flow.

Practice now opens on tabs for Meditation, Yoga, Martial arts and Workout,
each listing every practice of its kind. A practice that is not ready
offers Install with its size, Unlock with its price or Cancel on its own
card, and a downloaded one can be uninstalled there after one question.
Manage practices is gone. Wim Hof, Meditation, Breathing Patterns, Astral
Projection and the workout ship with Practices and are always ready; Sun
Salutation and Tai Chi download. Every practice's banners ship with
Practices so its card looks right before a download.

The workout is practice 6 and screen 28, so the host interface is 23 and
Practices needs it. Tests cover the clock, every pose's bone lengths and
floor contact, the side switch, all twelve languages, the tabs on a narrow
phone in English and Russian, and the downloads.
2026-10-20 01:04:57 -03:00
waozi f25b4dfd5e Build Apps and Crypto as locked packages and take the node-app ABI from Apps
Apps and Crypto are now ordinary Ziran dependencies, pinned in ziran.lock
and linked by scripts/packages.sh, instead of local checkouts handed to the
build. Every dependency and the toolchain are on their latest revisions.

scripts/package-paths.sh is the one list of NAME=DIR package paths; the
native, web, Windows and Android builds, the source check, the bundle
scripts and the tests all use it, so they resolve packages the same way.
The shared Apps controller bundle is built from the locked Apps package,
and its reviewed digest matches that build.

Node apps, the feature cells and the host import the module ABI and the
node-app types and codec from the Apps package. Inner Breeze no longer
keeps its own copies, its codec generator, or the unused protocol module.

Test hosts include zir_string.h for the string helpers they call.
2026-10-18 23:20:13 -03:00
waozi dc833793ad Show Inbe apps with the shared Apps cards, update badges and rollback
Apps in Inbe now uses the shared Apps cards in icon mode. Each card has
the same three-dot menu as Arcade, and an update badge appears only when
the node offers a newer verified version. Confirming an update installs
exactly the version and digest shown in its dialog, also while automatic
updates are off. Rollback offers up to three earlier signed releases from
the node; choosing one keeps the update security high-water mark, and
the choice is scoped to the current account. Opening Apps no longer asks
about automatic updates; that remains a Settings choice.

The build accepts explicit local Apps and Crypto checkouts (APPS_SOURCE,
CRYPTO_SOURCE) while those packages have no public pin, bundles Self
with its QR code dependency, pins Self at its current local revision and
exports the two sync helpers the Self adapter links against.
2026-10-18 20:08:48 -03:00
waozi 06d5359c19 Add downloadable guided Astral Projection practice 2026-10-18 18:18:41 -03:00
waozi 227f1629ab Add 160 app-owned achievements and alert controls 2026-10-18 18:05:29 -03:00
waozi 402e421966 Keep Gradle inside the sanitized test environment 2026-10-18 16:26:39 -03:00
waozi fac079dfe9 Fix frozen candidate build and regression test integration 2026-10-18 16:21:21 -03:00
waozi dd6edf22f8 Use the shared Self profile with Inbe extensions 2026-10-18 16:14:37 -03:00
waozi aa729ca39a Add installable Radio app with background playback 2026-10-18 16:11:18 -03:00
waozi bfe2838cae Split the Makefile into one file per area under mk/
The Makefile keeps the shared configuration, the native build and the
release gates. The rules of each area moved unchanged to mk/: laws, cells,
plan9, windows, web, android, packaging, site, release and tools, and the
tests to mk/tests-*.mk, with the `test:` lines in their old order in
mk/tests-suite.mk. make's database is the same rule for rule: targets,
prerequisites in order, recipes and variables.

mk/tests-lumi.mk is read where its rules stood, before TARGET is set, so
its UI tests still do not build $(TARGET) first.

The readers follow: check-version scans mk/*.mk, version_test copies them
for its make run, the visual gate hashes mk, the Firefox source zip ships
mk/ (it lacked mk/sync.mk before), and the release workflow and its
Windows vendor cache count the non-test mk files like the Makefile.
2026-10-17 20:49:06 -03:00
waozi 699981e31a Draw every shape with Kryon widgets and remove draw.zi
src/app/draw.zi copied raylib's drawing calls for about 115 call sites in
practice, results, statistics, habits and profile screens, against the
rule that app UI uses Kryon widgets only. Rectangles, rounded cards,
outlines and gradients are now Box, lines Line, circles and radial glows
Circle, progress arcs Ring. Fade became one colour helper, color.zi.

Raylib drew those shapes at once, beneath all widget paint; as widgets
they paint in submission order, so the results chart's lines, a selected
profile tab's underline and the meditation and patterns circles are now
submitted before what covers them, and the canvas fills are the first
widgets of a frame. Two draws that never showed are removed rather than
made visible: the results chart's area fill, which raylib culled for its
winding, and a crescent the practice home's canvas always covered.

With no direct draws left, the direct-draw plan that compared them for
retained frames and its test are gone; a frame is reused whenever its
widget paint matches.
2026-10-17 19:47:15 -03:00
waozi e82899fdea Build SQLite before the tests that compile it
Sixteen test targets compile vendor-builds/sqlite/sqlite3.c without
depending on it, so they passed only when an earlier target in the same
run had built it. Run alone, as in a CI shard or make release-ready with
chosen targets, lists-sharing-test failed on the missing file. They now
depend on the amalgamation like the other storage tests.
2026-10-17 19:42:34 -03:00