21 Commits
Author SHA1 Message Date
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 5527db97d4 Restart the current breathing phase before stepping back 2026-10-26 03:11:07 -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 5ea6e18370 Merge the test display and busy-runner fixes already on GitHub 2026-10-23 02:08:36 -03:00
waozi 1d9d3d2d41 Give the desktop practice window its own sound, Breath and double-tap controls
On Linux the detached practice window only knew where a click landed, so
any click outside maximize and close restored the practice. It now reads
its own pointer from Kryon and draws real controls: the cue and music
volume buttons with their sliders, the held breath's Breath button, and a
double tap that breathes when set to. Maximize and close are buttons, and
a plain tap on the picture still returns to the practice.
2026-10-23 02:03:22 -03:00
waozi e12186ea0c Keep each test display alive between app launches
Xvfb resets when its last client disconnects. An app started during that
reset lost its display and kept running without a window, so UI tests
waited for a window that never came. Every test display now uses -noreset.
2026-10-23 01:50:27 -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 f1e75c4e38 Drive the practice UI tests through the widget tree
The practice downloads, practice window and Tai Chi tests read screenshots
with tesseract and clicked fixed points; each failed on a loaded machine
(OCR timeouts, a dropped click). They now find and press controls with the
Kryon test driver and check labels and states in the widget tree. The
practice window test keeps its pixel checks that each window's picture is
drawn and moves, since the driver does not see that separate window. Its
profile now installs the practices it starts and brings their narration,
which new installs no longer have.
2026-10-17 19:15:19 -03:00
waozi 8d911de54e Let Lumi guide Lists, Diary, Leaderboard, Settings, Profile and Statistics
The first time you open each of these screens, Lumi flies in and shows
what it is for in two or three short steps, typed and spoken like the
other guides: switching and editing lists and adding items; the diary's
days, Today and the calendar, and its page and tools; the leaderboard's
practices and ranking; the sections of Settings, and Cue volume and
Appearance in them; your picture, account, week and pages in Profile;
and a habit's figures and charts in Statistics. Each guide waits until
its screen shows everything it explains, and shows once.

The size budgets grew by 6 MB each for Lumi's added narration (192 clips,
3.89 MB): the Linux binary to 52 MB, the app package to 48 MB, the
single-ABI APK to 47 MB, and the universal APK and bundle to 55 MB.
2026-10-13 20:24:33 -03:00
waozi 5a3f7b5388 Ask in Apps before app packages update themselves; ship an F-Droid APK
Packages come from waozi.xyz, not the app store, so automatic updates now
wait for an answer. Apps asks once with two equal buttons and says the store
does not check these updates; Settings > About changes the answer. The new
key replaces cells_auto_update, which was saved as on without asking.

F-Droid rebuilds Inbe and compares it with our signed APK. Release builds
now also sign the universal APK built with -PfDroidBuild (self-update off)
and publish it as inbe-VERSION-fdroid.apk for F-Droid's Binaries field.
2026-10-13 15:20:29 -03:00
waozi 64c4914bd0 Open a minimized practice in its own desktop window
On desktop, minimizing a practice now opens it in a separate window instead
of the in-app card, unless picture-in-picture is turned off. The window keeps
its maximize and end controls; closing it brings the practice back to the
app. The card no longer offers a detach button, and the window no longer
returns to the card, so their unused labels are removed and the root package
advances.
2026-10-10 15:18:33 -03:00
waozi c2d304ec02 Keep the minimized breathing count at one font size
The small practice window sized the Wim Hof count from the breathing circle's
current radius, so the count asked for a new font size almost every frame.
Each new size baked a font atlas on the frame thread, and with more sizes
than the cache holds the window stalled for 50-60 ms every few seconds. Size
the count for the circle at its smallest so it always fits and stays one
size. The window test now fails if a breathing circle bakes new font sizes.
2026-10-10 14:40:46 -03:00
waozi 63b1fafac8 Keep practices floating and interactive in picture-in-picture
Leaving Inbe for another app or a third-party launcher now opens the
picture-in-picture window on Android 12, which enters on its own only
for the stock launcher. Opening the floating window back into the app
shows the running practice instead of the page behind its in-app
window, and a held Wim Hof breath ends from the in-app window with its
Breath button, or a double tap when set to double tap to breathe.
2026-10-10 10:57:09 -03:00
waozi 6a550f1d7f Keep the minimized practice window over the Apps screen
Apps is a Kryon overlay above the page, so the window is now drawn inside
its panel, above the apps, where its buttons keep working.
2026-10-10 00:40:57 -03:00
waozi 6873b71c1d Exchange sync on one thread at a time around picture-in-picture
Picture-in-picture keeps frames running while the activity is paused, so
the background practice timer and the frame both polled the same pending
sync. One applied the response while the other released it, which crashed
Inbe on a Pixel 3a when leaving the app during a practice. The frame and
the timer now take a pump lock and skip the exchange while the other
holds it. The session window test also waits for the app's first state.
2026-10-09 22:21:51 -03:00
waozi d8326c4dcd Preview the practice itself in its taller minimized window
The minimized window opens at 220 by 320 units. Wim Hof shows its band
and breath count in the breathing circle, Meditation its time left and
Patterns its phase, as on the practice screens, drawn with Kryon boxes
and text so they stay above the page.
2026-10-09 22:02:40 -03:00
waozi 09b7039883 Add detached desktop practice windows and Android picture-in-picture 2026-10-09 16:15:05 -03:00
waozi 37c32db145 Show each minimized practice live in a resizable window
Minimizing a practice returns to the page it was started from instead
of the first pinned app, which was usually Lumi. Lumi was then drawn
cold on the minimize frame (about 56 ms on desktop, several times that
on a phone), which made the switch stutter; the start page is already
drawn. Lumi is still used when the practice was started from its chat.

The window is taller and shows the practice's own live picture above its
name and status: the Wim Hof circle breathing at its real size range,
the meditation circle, the pattern's growing circle and the moving Sun
Salutation figure. Each practice draws this through a draw_window hook,
and Sun Salutation now advances in the window like the others. The
circle is solid, so it is clearly visible on every theme. A corner
handle resizes the window; elapsed time carries between frames so a
minimized practice keeps the real clock's pace.

The window test covers all four practices: each returns to its page,
draws its picture and keeps moving until maximize returns to it.
2026-10-09 15:54:42 -03:00
waozi 448e43e373 Run the minimized practice window like a small player
The practice window is larger and shows the live breathing circle, with
a maximize button beside the X. The X asks to end the practice right over
the open app, and ending it keeps that app open; the prompt belongs to
the running practice, so it is no longer cleared off its own screen.
Breath cues keep playing while the practice runs in the window. Practice
opens its home while a practice is minimized, and Start or any other
start returns to the running practice instead of starting another.
2026-10-09 12:02:32 -03:00
waozi ed833e08eb Keep the release visual tests in step with the compact Apps dock and cards
The phone dock is 56 units tall since the compact navigation, app cards
show their size just below the name, and the first-use Apps guide covers
cards in the startup check, so the visual tests read the dock and card
names where they are now and the startup check opens Diary from its card.
The navigation slide also keeps frames coming until it settles, and the
first frame shows the navigation in place.
2026-10-09 02:30:51 -03:00
waozi b2302c8f57 Keep a running practice in a small window with a minimize button
Every practice's title bar has a minimize button beside its close button.
It opens the first pinned app, or Lumi when the practice was started from
Lumi, and the practice keeps running in a small window above the app:
tap it to return, drag it anywhere, or use its X to end the practice with
the practice's own confirmation. Opening Practice returns to it. The
navigation slides away when a practice starts and back when it ends.
2026-10-09 00:34:34 -03:00