52 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
waozi 9935fdf8cc Preserve Practice transitions and align the signed ZX build 2026-11-19 14:48:44 -03:00
waoziandClaude Opus 5.5 3997d80e8c Pin Kryon 0.6.0 and Ziran 0.7.0
Breeze moves to the released Kryon v0.6.0 (8d5d2e75) on Ziran 0.7.0
(55b01768), with plot 2b971b1b, css 9ee24b3f, game2d fcacb49c, entity
fc8f3d89 and apps b95d1933 pinned to the same pair, so the lock keeps one
Kryon and one toolchain. AppsControllerSha256 is the controller built from
Apps b95d1933 on this graph.

A toolchain bump broke the Android build twice with stale objects:

- The Android CMake built its own copy of the toolchain in
  build/ziran-toolchain, shared across Ziran commits. It now uses the
  pinned checkout's build, which make already builds and which is per
  commit.
- build-bundle-runtime.py reused its output folder across toolchains, and
  Ziran's make kept headers generated by the older Ziran because the new
  checkout's sources were older than them. The output now records the
  checkout it was built from and starts empty for another one.

Local tests: native, desktop-window-test and habit-day-ui-test on a
private Xvfb, the Ziran and native unit tests, the web build with its
browser smoke test, windows-package, and the arm64 debug APK running on a
Pixel 4a. apps-test passes except the packaged-locale checks, which fail
only because of another lane's uncommitted src/locale_parser.zi.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 17:14:03 -03:00
waoziandClaude Opus 5.5 b16519392f Pin Kryon 1774e550 and serve Breeze's pictures on Android and the web
Breeze moves to Ziran 0c4465a4 and Kryon 1774e550, with plot be13b174,
css 6aa491e3, game2d 96b21e0e, entity 0f4f3938 and apps 764f24b4 pinned to
that Kryon, so the lock still has one Kryon.

- Android: Kryon's pixmap_image_owner hook decodes a picture embedded in
  Breeze from its bytes, and any other from the APK's assets or the disk,
  so the app's own pictures draw again.
- Web: the canvas file loader is reached through Kryon's canvas_os module
  instead of undeclared foreign symbols, so the browser build links again.
- The browser's Sun Salutation check reads the practice pack as the ZX 28
  executable it now is (header, section directory, asset section) instead
  of the retired v26 layout.
- AppsControllerSha256 is the controller built from Apps 764f24b4 on this
  graph.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 14:55:02 -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 137ccc885e Rebuild independent apps with Python 3.10 packaging support
Pin the script-only Apps fix, preserve the selected native liboqs source,
and trust the reproduced controller. Advance Radio and Library independent
package versions so their changed payload identities can publish safely.
2026-11-17 00:32:15 -03:00
waozi ca99ca92ef Recover practices and data on the current Ziran runtime 2026-11-16 22:05:52 -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 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 ec7e8a4fdd Fix list-backed Lumi feedback and list gestures
Read every point from the referenced list before saving a complete preview and one durable send confirmation. Preserve consent and proposal identity across retries, queued turns and restart.

Allow longer list entries, use short swipes to complete and long swipes to edit, and integrate the reviewed widget/controller/profile fixes with a compatible offline Arcade baseline.

Validated the pinned native/apps build, Lumi feedback/connection/UI/Telegram and list regressions, app loading and actual offline Arcade snapshots, plus bundle, manifest and game integrity tests locally.
2026-11-08 12:51:29 -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 3b182f7ce1 Keep the apps test fakes on every call with the new Ziran
Ziran now copies small public procedures into module headers, so the
ld --wrap fake for PackageRevisionFor missed every call and the node
reload and cached reload revision checks failed. The test builds with
ZIRAN_NO_HEADER_INLINE from the bumped toolchain.
2026-11-07 11:59:13 -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 f1cc5be451 Update Arcade and complete pending Breeze integrations
Pin the latest pushed Arcade source and bundle its complete painted library artwork. Keep games as optional downloads and verify the embedded catalog plus a private launch smoke test.

Include pending profile sync, Telegram settings, Android push reconnection and breathing-control fixes with their tests and translations. Preserve saved design studies, storing their media in Git LFS.
2026-11-03 18:17:04 -03:00
waozi 541b8eb996 Count typing as activity in both desktop break meters 2026-11-03 18:01:21 -03:00
waozi 26a0c56576 Integrate Arcade console controller and shared game Home 2026-11-03 02:14:30 -03:00
waozi 0f3d54e21c Release 2.1.62 with global Dew referrals and validated host integration 2026-11-03 01:39:22 -03:00
waozi 005e3f3678 Wrap full Apps usernames with the shared grapheme layout 2026-11-02 12:10:08 -03:00
waozi 00aa79b87f Use reviewed WebP packages and render Telegram as a vector 2026-11-02 11:19:27 -03:00
waozi ca6bc03eb0 Align published package graph and trusted Apps controller 2026-11-02 06:08:37 -03:00
waozi a4f0f53ae8 Pin notification delivery dependencies 2026-11-02 04:47:45 -03:00
waozi e45d781564 Fix app editing, list saving, reward icons and notifications 2026-11-02 04:27:59 -03:00
waozi cdbb586e4b Use reviewed sign-in authorization and browser compiler support 2026-11-01 22:34:06 -03:00
waozi 13099703ac Use shared Entity sign-in and Friends, and remove Dew gifts 2026-11-01 20:47:05 -03:00
waozi e5c5bdd65a Keep Apps grid actions stable while editing 2026-10-30 01:15:45 -03:00
waozi 3c4416ba10 Tell Apps the host interface this host runs
Apps 5b67236 checks node apps and games against AppPlatform.host_api
instead of a constant of its own, so Breeze passes PackageHostAPI, the
interface generated from apps/versions.json.
2026-10-29 15:26:56 -03:00
waozi 7123b1b722 Open Arcade games built for host 41
Apps cabc042 raises the game interface its node host accepts from 12 to
41, so Shovey and Apfelwurm in Arcade 0.7.108 open instead of being
refused. The shared controller is unchanged (e41f568f…).
2026-10-29 15:17:30 -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 f7e09e709c Use shared reorder grips and unify Profile rows in Inbe 2026-10-29 02:43:23 -03:00
waozi 3dea8b7233 Preserve Arcade installs and confirm premium usernames 2026-10-28 17:02:06 -03:00
waozi 4b93cad051 Pin the Apps compiler linkage fix for the Focal build 2026-10-27 02:17:15 -03:00
waozi 823ba12468 Include the portable VM runner in the Focal runtime linkage fix 2026-10-27 01:11:25 -03:00
waozi 4d1efe0740 Pin the upstream Linux runtime linkage fix for Focal builds 2026-10-27 01:06:41 -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 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 fa9c8acab2 Use Entity for the shared profile and preserve the host account 2026-10-22 17:23:13 -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 dd6edf22f8 Use the shared Self profile with Inbe extensions 2026-10-18 16:14:37 -03:00
waozi 021afe6c17 Declare shared app modules as package roots 2026-10-18 15:25:07 -03:00
waozi 8786a7c6a6 Expose Chess catalog and app interface for Arcade 2026-10-18 15:20:44 -03:00
waozi 3f5f46f770 Ask about Lumi's online terms when it opens, with a connection button
Opening Lumi now shows its online terms right away until you answer
them, once each time Inner Breeze starts: "Not now" keeps Lumi offline
until the next start or until you tap the connection button. Terms you
withdrew, or Lumi switched offline, aren't asked about again.

The title bar's Offline/Online switch is now a connection button: a
connected icon while Lumi is online, a disconnected one while it is
offline, and one tap to switch. Its label still says Online or Offline.
Without the terms agreed, a tap shows them. A wrench beside it opens
Settings > Lumi.

The icons come from the MingCute icon package, which Inner Breeze now
uses for its apps.
2026-10-13 20:24:33 -03:00
waozi 0b1eb17f73 Fix habit spans and entries; judge habits against your average
- A tap on a running span's half-filled day opens it instead of ending
  it. Its end is picked there, set with Now, or cleared with the time
  picker's Clear so the span keeps running.
- Entries saved before entries existed open, edit and save again; their
  longer ids no longer fail to load.
- A habit linked to no practice no longer shows every practice's
  sessions.
- A span habit's time questions are its start and end, so the start is
  not asked twice; other habits' entries ask no time.
- Spans are good by their length, whenever they start: shorter or longer
  than your average, at least, at most or between hours and minutes.
- Number and time questions can be judged against your average; new ones
  start that way. Skip marks a day done without answers.
- Every change of a habit's settings is kept and synced, and each entry
  is judged by the goal it had then. Statistics charts shade the good
  range as it was each day, show a value's day and goal on hover or tap,
  and list the habit's changes.
- Lumi can set a span's good length and average goals.
2026-10-13 16:57:56 -03:00
waozi 9dbc7b4792 Connect a device to the account by QR code
Profile's account view gains Connect a device. A device shows a QR code that
carries a one-time link ID and a fresh X25519 key; a phone scans it with the
camera (ZXing). When the showing device holds the account, the scanner sends
its key, both screens show the same six digits, and the account is sealed to
the scanner after confirming. When it has none, the scanner confirms and
seals its account to the key from the code. Daochi's link mailbox relays the
sealed messages without reading them, and the receiving device imports the
account as a key file import would.

The QR code comes from the new qrcode package; Kryon moves to the release
with text area hidden ranges. Tests cover the protocol with Monocypher and
both directions on owned Xvfb windows against a local mailbox, reading each
code back from a screenshot.
2026-10-10 19:11:50 -03:00
waozi ce74dba314 Use the Ziran organization for Daochi Client 2026-10-05 20:55:14 -03:00
waozi 39f047d3ea Sign accounts and draw random bytes through the Oqs package
Account key pairs, signatures, secure random bytes, and wiping secrets
now go through ziranlang/oqs, the Ziran binding for liboqs, instead of
Inbe's own OQS_* declarations and size_t shim. Inbe still builds the
same ML-DSA-44 liboqs from its locked source, which Oqs shares.

Every build and test that compiles the account modules finds the
package, and the account, device key, and Daochi tests stub liboqs by
its own names.
2026-09-30 01:10:36 -03:00
waozi 602c81260b Build KSS and the style packs from the KSS package
KSS moved out of Kryon into kryonlabs/kss. Inbe depends on it, compiles
it from build/packages/kss/src with --module-path kryon=... for its
Kryon imports, and embeds the style packs from build/packages/kss/styles
as styles/NAME.kss. The Android build, the source check, and the tests
use the same paths, and the lock moves Kryon and Ziran to the commits
that carry the move.
2026-09-29 21:09:07 -03:00
waozi c0b5ed307c Track the Ziran master ref again so ziran.toml matches ziran.lock
The lock pins a commit newer than v0.2.0 (forall laws), so the manifest must
name master or the locked fetch fails with 'dependencies differ from ziran.lock'.
2026-09-28 20:34:28 -03:00
waozi 61dcd9bbba Check build laws with Ziran instead of Bend
Sync retry and the private-data layout are ordinary Ziran modules with
#law obligations checked by ziran check. The Bend proofs, Node generators,
pinned Bend dependency and Node build tool are removed, and a mutation test
shows each law rejects a deliberately broken implementation.
2026-09-28 19:23:19 -03:00