9 Commits
Author SHA1 Message Date
waozi b868c162c9 Run only Habits and Practices packages that draw their own screens
This host no longer draws Habits' and Practices' screens, so a package of
theirs built for an older host interface would leave them blank. Each app
in apps/versions.json may now name the oldest host interface its packages
must be built for; Habits and Practices name 30. An older installed or
rolled-back package gives way to the bundled copy, and the compatibility
test skips the node's older releases of those two as this build does.
2026-10-25 00:25:23 -03:00
waozi 434c99f697 Rename bundled app sources and build targets from cells to apps 2026-10-24 23:17:45 -03:00
waozi b530d9887b Publish node apps from GitHub and offer three releases for rollback
The App packages workflow now builds every app the node offers and
publishes each one whose ledger names a newer release (Photos stays on
the beta channel through its ledger flag). Apps the node does not list
yet are reported and skipped, because registration takes the node
operator's key.

The node's importer writes history-v2.json with each app's newest three
trusted releases on every publication, and --write-history backfills
them. Workflow actions are pinned to release commits.
2026-10-18 22:49:53 -03:00
waozi 0238b82970 Version every app package automatically for each release
Bundles share host code and Kryon, so every release changes them, and the
node refuses a changed package under an old version. That blocked the App
packages workflow whenever a release forgot a package. update_version.sh
now versions every bundled package once per release: a package with newer
notes takes them, the others get a maintenance entry, and the root package
lists the versions it brings. The publish error says what to run.
2026-10-17 16:58:20 -03:00
waozi d14a67dc59 Add Chess and node-listed apps with beta apps in Settings
Chess is an optional app in More apps: play the computer at Easy, Medium
or Hard, or invite a friend from the friend list and play through the
account's node. It runs through a generic host interface (host_api 12) for
apps the node offers, so later apps need no host code or APK. More apps
lists the node's inbe.* apps that this build can run; installed marks sync
in private.inbe.v1.app-installs and app records in
private.inbe.v1.app.<name>, which released versions skip.

A release may carry "channel":"beta" (package-release.py --node-app NAME
--beta). Beta apps show only where Settings › About › Show beta apps is on;
turning it on reads the node's list again. Publishing offers only the upload
key over ssh.
2026-10-17 07:35:10 -03:00
waozi 4ea1ad9ff6 Ship the root package with Lumi 1.4.0 for Inner Breeze 2.1.33
The root package carries every app for offline use. With Lumi 1.4.0 inside
it needs Inner Breeze 2.1.33's host interface too, so it is now root package
2.1.30 for interface 8 and older apps are not offered a package they cannot
open. The package check now refuses a root package that declares an older
interface than any app it carries.
2026-10-13 22:06:12 -03:00
waozi 2b06f0ba72 Accept packages from a range of host interfaces and stage releases
A package loaded only on an app with exactly its host interface, so every
interface change stranded packages on older apps. The host now runs packages
built for interfaces from oldest_host_api to host_api (5 to 6), and each
package declares the oldest interface it needs in apps/versions.json; all
current packages keep 5, so their signed releases are unchanged. Interface 6
marks hosts that match record fields by name. The constants are generated into
src/cells/host_api.zi, apart from the package versions, because they are
compiled host behavior.

Update checks name the host and module interfaces and a stable random device
bucket, so the Waozi node answers with the newest release this app can run.
package-release.py --rollout PERCENT --rollout-hours HOURS uploads changed
releases staged to that share of devices; the node releases them to everyone
when the time runs out, and a full upload promotes them earlier.
2026-10-10 23:49:17 -03:00
waozi 51e6da7885 Move Leaderboard out of Profile into its own app
Leaderboard is now a seventh app with its own package, so it can update
without a new Inner Breeze release. It is installed for new and existing
profiles, listed in Apps and left out of the dock; removing it is kept.
Profile keeps Friends and loses its Leaderboard tab.

The board ranks you with your friends for Wim Hof, breathing patterns,
meditation and Sun Salutation, by current streak or by average hold or
average time. Meditation averages were sent by the server but never
fetched; they are now. Saved and fetched results are parsed and ranked once
when they change instead of with SQLite queries on every frame, and up to
64 rows are shown in a scrolling list.

The package importer on the node accepts archives with and without the new
app, so the node and the app can be updated in either order.
2026-10-10 19:05:27 -03:00
waozi 69e0da10eb Add Lumi app tools and unify cell navigation and sidebar settings 2026-10-06 22:47:06 -03:00