Commit Graph
27 Commits
Author SHA1 Message Date
waozi bc55cc6241 Move Inner Breeze leaderboard into the shared Profile 2026-10-26 23:47:03 -03:00
waozi 8a6d3e0040 Keep complete game frames while new sprites load 2026-10-26 02:55:08 -03:00
waozi 56f6ba33a9 Keep initial game frames covered until pictures settle 2026-10-25 20:24:19 -03:00
waozi b3f9df7003 Keep visible games clear of the initial loading cover 2026-10-25 04:02:50 -03:00
waozi 36dbf728d6 Use the shared loading animation alongside actual progress 2026-10-25 03:47:11 -03:00
waozi e72875f367 Keep device game saves off sync and show actual app loading progress 2026-10-25 03:28:08 -03:00
waozi 683d310114 A game or app shows Breeze's loading screen the first time it appears until Kryon has decoded its pictures, instead of black tiles where they will be; lock Kryon 400405ab (ImagesPending, per-folder image reloads) and Ziran 2eafe31e 2026-10-25 03:12:17 -03:00
waozi 0f258e5919 Start in under a second on a slow phone: the first frame no longer waits for the bundled apps' programs, which open on their threads and finish when first run or one a frame after the start; a screen whose app is still opening shows the loading indicator, asset reads never wait for an app and the asset generation changes once it opens; bundles stay uncompressed in the APK; Ziran with cached unchecked opens and hardware SHA-256 2026-10-25 01:38:02 -03:00
waozi 434c99f697 Rename bundled app sources and build targets from cells to apps 2026-10-24 23:17:45 -03:00
waozi f2200afee0 Keep app loading on a spinner and show actual failures in a dialog 2026-10-24 14:15:59 -03:00
waozi 25010f89ab Give Library a wooden bookshelf and a paginated reader 2026-10-24 13:41:03 -03:00
waozi 946d2a13f5 Show Kryon's loading dots while an app opens and while Lumi types, and in Apps' download dialog 2026-10-24 03:52:49 -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 6e76e3656c Ask before downloading an app, repeat held keys and keep the display on in games, clip hosted apps to their area 2026-10-24 03:22:51 -03:00
waozi 6713fd0c6b Prepare app packages away from animation frames 2026-10-22 23:29:01 -03:00
waozi 6e81ba155a Refresh running node apps after updates and handle game Back actions 2026-10-21 23:16:02 -03:00
waozi 1675c74bca Open apps from the node only once they are installed
Tapping an app from the node that has not reached this device, from Apps,
the navigation, a launcher shortcut or an address, no longer opens its
screen with "Installing this app". Inbe stays where it was and asks for the
download again if it had stopped. Installed apps still start when opened.
The installing notice is gone from every language.
2026-10-19 00:41:59 -03:00
waozi 42b9ad8aa2 Start an installed node app when it is opened instead of waiting forever
An installed app from the node that had not started kept saying
"Installing this app". Opening it now starts it, or downloads it again
when it cannot start, and the notice says installing only while its
package is queued or downloading.
2026-10-18 23:32:32 -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 5aaa33eef1 Host verified nested apps and preserve installed leaf metadata 2026-10-18 17:58:13 -03:00
waozi f02b4e6cb2 Consume Arcade-owned Chess through the shared game interface 2026-10-18 15:47:36 -03:00
waozi 000dcb4f84 Keep sampled commands and reject empty app packages promptly 2026-10-18 15:05:22 -03:00
waozi 2ecc4c645b Make Diary independent and run shared app bundles in Inbe 2026-10-18 14:55:13 -03:00
waozi 2d40562dc3 Split the storage core by responsibility
storage_core.zi keeps what every storage module shares: the delegate hooks,
meta values, the sync keys and record-field version, new IDs and change
times. The rest moved unchanged into focused modules:

- storage_settings.zi: settings and cached social snapshots
- storage_json_sql.zi: JSON reads through SQLite
- sync_outbox.zi: queueing local records for the node
- sync_state.zi: the sync account, status, clearing and purging
- sync_migrations.zi: Lumi's collection and the connected-server flag
- sync_record_codec.zi: local rows as record payloads
- sync_collections.zi: collections and record IDs per entity
- sync_record_crypto.zi: record keys, sealing, opening and kept copies
- sync_apply.zi: applying received records
- sync_exchange.zi: the request payload and applying the response
- storage_profile_stats.zi and storage_export_csv.zi

Names, the protocol and the SQL are unchanged. Importing the core still
links every part, as one module did; importers import the parts whose
names they use. StorageSyncStatus moved beside storage_sync_status, so its
generated header no longer depends on an import cycle. The restore SQL test
and its law mutation read sync_outbox.zi, and the sync recovery link test
leaves out the parts it stubs, as it left out the core.
2026-10-17 21:01:19 -03:00
waozi 73142a5c07 Add Photos and the account's media library, copied to every photo node
Photos is a beta app the node offers (inbe.photos, host interface 13): a
gallery of the library's photos newest first under the day each was taken,
a viewer with previous, next and Move to Trash, and Trash, where a photo can
be restored. Add photo opens the desktop file dialog or Android's photo
picker.

The library belongs to the account, so its photos stay when Photos is
removed. The host keeps each photo once by its SHA-256 with an upright JPEG
preview (Kryon ImagePreview), its capture day from Exif, and syncs the
records in their own collection, private.inbe.v1.media, which released
versions skip. Only Photos is granted the media calls (MediaQueryHost,
MediaItemHost, MediaAssetHost, MediaPickHost, MediaStatusHost,
MediaUpdateHost), and hosted apps may draw only this account's library.

Photo bytes travel as the Diary's sealed copies, so the same picture is one
copy per node. The media pass now moves Diary photos and library originals
and previews to every node in the account's list whose photo upload is on,
each on its own media session with the device registered there, and fetches
a copy from the sync node first, then the others. Originals download where
they are opened; previews everywhere. Removing a node forgets its session and
the copies it held. JPEG photos stored sideways now draw upright.

Tests: media library, Exif reader, Photos through the real node-app host,
storage sync of the library and per-node sessions, two clients and two real
Daochi nodes, and a private-display check that adds a camera photo through
the desktop picker.
2026-10-17 07:35:10 -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