21 Commits
Author SHA1 Message Date
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 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 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 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 e45d781564 Fix app editing, list saving, reward icons and notifications 2026-11-02 04:27:59 -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 fa9c8acab2 Use Entity for the shared profile and preserve the host account 2026-10-22 17:23:13 -03:00
waozi 5ff41fac5b Link packages one build at a time
Two builds that started together both relinked build/packages and
rebuilt the Ziran bootstrap. One failed, and the other's ln followed the
first's fresh links, leaving a self-link inside every package checkout.
scripts/packages.sh now holds a lock for its whole run where flock exists.
2026-10-19 11:35:06 -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 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 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 0bf60d300e Build snap, flatpak, and FreeBSD packages from the fetched packages
- Kryon's library is built alone (libkryon.a), without its C++ and Go
  backend checks, so snap and flatpak builds no longer need Go.
- The flatpak keeps its fetched packages in the build directory; each build
  command runs in a fresh sandbox, so links into $HOME/.cache dangled.
- packages.sh builds the Ziran toolchain with GNU make, gmake on FreeBSD,
  where make is BSD make.
2026-09-30 01:06:03 -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 eb47fe6168 Take raylib from its Ziran package and move Kryon to the release that ships it
The app source imports Kryon's frame transitions, which only exist in Kryon
releases where raylib is a locked package instead of a submodule. Link that
package and point the raylib build and includes at it.
2026-09-28 23:24:11 -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
waozi 42e5bab48d Build dependencies from local sources before the network
scripts/packages.sh now seeds the Ziran package cache from Git checkouts that
already contain the locked commits, found in $ZIRAN_PACKAGE_SOURCES or
F-Droid's ../srclib, including submodules such as Kryon's raylib. Builders
that supply every source never fetch; anything missing is still downloaded.
2026-09-27 17:12:16 -03:00
waozi e5e203ce89 Fetch dependencies as Ziran packages instead of submodules
ziran.toml and ziran.lock pin the Ziran toolchain, Kryon, Game2D, the Daochi
client, and the C libraries (as source packages) at the commits the vendor
submodules used. scripts/packages.sh bootstraps the locked toolchain, runs
ziran fetch, and links each checkout under build/packages/; make, Gradle, and
CI run it before building. make package-check replaces no-vendor-edits.
2026-09-27 16:44:19 -03:00