Commit Graph
12 Commits
Author SHA1 Message Date
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 6713fd0c6b Prepare app packages away from animation frames 2026-10-22 23:29:01 -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 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 06d5359c19 Add downloadable guided Astral Projection practice 2026-10-18 18:18:41 -03:00
waozi 2796b194f3 Download narration only in the languages people pick
Manage practices shows each narrated practice's voice with one chip per
recorded language: a tap downloads that language, cancels its download,
or removes it. Lumi's guide gets its own row and chips; its voice clips
move out of the Lumi package into one downloadable pack per language
(Lumi drops from 12.2 MB to 4.1 MB). Nothing downloads narration by
itself any more. Narration speaks the app's language when that pack is
on the device, otherwise another downloaded language, and Customize
says which one plays, or opens Manage practices when none is there.
The catalog lists guide packs separately, so older hosts read it
unchanged.
2026-10-15 21:18:04 -03:00
waozi 0364815011 Ship Meditation and Breathing Patterns with the app
Both small practices travel inside Practices next to Wim Hof. Wim Hof
stays installed until removed; Meditation and Breathing Patterns show
Included in this version with Add practice, which keeps the app's own
copy without a download, so a first user needs no network for them.
2026-10-15 18:48:33 -03:00
waozi 70f4aec5be Choose a female or male voice for Tai Chi's narration
Customize shows Female voice and Male voice under the narration switch,
with the chosen recording's status and download; the language line is
gone. The monk speaks with the male voice and the woman with the female
one until another is chosen. Each language's male recording is its own
pack, marked with its voice in the catalog, so either voice downloads,
caches and plays on its own. A language without the male recording yet
keeps the female voice.
2026-10-15 17:30:42 -03:00
waozi 90ea7ecd3b Unlock Tai Chi with Dew and download it only with the node's grant
Tai Chi is a paid practice. Its packs are marked with the product
inbe.practice.taichi in the signed catalog, and the release writes a
node-side marker beside each one, so Daochi serves them only with a
short-lived grant it signs for accounts that unlocked the practice.

- Manage practices offers the unlock at the node's price, with the
  trial offer beside the regular price while one runs; the node
  charges and enforces both, and the app never sends an amount. A
  finished unlock starts the download.
- Paid downloads ask the host for a grant and put it in the pack's
  path; they wait while it is requested and fail when it is refused.
  A catalog whose product cannot be read is rejected, so a paid pack
  never turns free.
- The Google Play build has no Dew, so it neither lists nor starts Tai
  Chi.
- New strings are translated in every locale; CJK font subsets now
  cover them.
2026-10-15 12:37:54 -03:00
waozi 46592b67d8 Show only installed practices, ship Wim Hof installed, and size packs truly
Practice listed all five practices whether or not they were downloaded,
every pack under a megabyte read "1 MB", and each practice's banners
stayed in the app. Now:

- Practice's home, tab bar and picker list only installed practices;
  with none installed it offers Manage practices.
- Wim Hof's pack ships inside Practices and is installed until removed.
  Removing it leaves a marker so it stays removed; adding it back uses
  the app's copy without a download.
- Banners move into each practice's pack, so the app carries no practice
  pictures beyond Wim Hof's shipped pack.
- The manager shows kilobytes under a megabyte, and Tai Chi's size
  includes its narration when narration is on.

The download behavior test covers the shipped pack, lasting removal and
restore; the private-display UI test now walks the new flow.
2026-10-15 12:26:55 -03:00
waozi 39a96f563f Add downloadable practices and multilingual Tai Chi guidance 2026-10-15 04:04:45 -03:00
waozi 6c860ce7f9 Support signed practice content in the package publisher 2026-10-15 02:38:13 -03:00