Compare commits

..
1744 Commits
Author SHA1 Message Date
waozi 3528bc94ce Use Build runners for Breeze workflows
[skip ci] A workflow-only change does not need a new Pages deployment.
2026-11-20 16:36:57 -03:00
waozi 4c069680fc Make Inner Breeze downloads easier to find
Cloudflare Pages / Build and verify the site (push) Failing after 45m8s
2026-11-20 13:42:15 -03:00
waozi 733e35b808 Fix desktop web scale and deploy exact source builds
Cloudflare Pages / Build and verify the site (push) Failing after 45m8s
2026-11-20 13:40:36 -03:00
waozi 933d29db40 Simplify the Inner Breeze homepage footer
Cloudflare Pages / Build and verify the site (push) Successful in 4m23s
2026-11-20 12:35:04 -03:00
waozi 3cebf33f13 Keep homepage copy legible through its motion cycle
Cloudflare Pages / Build and verify the site (push) Successful in 3m12s
2026-11-20 12:22:07 -03:00
waozi 6109de053d Animate the Inner Breeze homepage
Cloudflare Pages / Build and verify the site (push) Failing after 3m9s
2026-11-20 12:18:38 -03:00
waozi 313cffba7c Review exact Blender poses and improve practice figure motion
Cloudflare Pages / Build and verify the site (push) Failing after 2m27s
2026-11-20 12:16:00 -03:00
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 a73d55f4ca Run the Pages APT fixture without root
Cloudflare Pages / Build and verify the site (push) Successful in 3m34s
2026-11-20 01:35:30 -03:00
waozi 6b4d1d2c54 Build Pages with pinned static site assets
Cloudflare Pages / Build and verify the site (push) Failing after 2m31s
2026-11-20 01:28:43 -03:00
waozi ab8dd4cce3 Supply the Pages runner user to the apt helper
Cloudflare Pages / Build and verify the site (push) Canceled after 24m27s
2026-11-20 01:05:34 -03:00
waozi a0bfacaf29 Fetch only the website audio from Gitea LFS
Cloudflare Pages / Build and verify the site (push) Failing after 2m12s
2026-11-20 01:01:00 -03:00
waozi 43be710898 Refresh Inner Breeze website and deploy it from Gitea
Cloudflare Pages / Build and verify the site (push) Failing after 3m32s
2026-11-20 00:54:01 -03:00
waozi 3423cba76d Serve smaller Zstd Wasm for Breeze web and Telegram 2026-11-19 18:30:47 -03:00
waozi d3628b76f6 Clip practice navigation to the app viewport
Keep sliding docks inside the content frame so Android retained system-bar
pixels cannot preserve their labels after a practice starts.

Cover retained raster pixels, native navigation edges, and repeated Android
starts from Practice and Lumi.
2026-11-19 18:12:19 -03:00
waozi 6062d3e497 Make practice content delivery reliable and show download progress 2026-11-19 17:40:35 -03:00
waozi da2df3f545 Match Lumi habit intent fixtures to the shipped locales 2026-11-19 14:59:03 -03:00
waozi 9935fdf8cc Preserve Practice transitions and align the signed ZX build 2026-11-19 14:48:44 -03:00
waozi fe1dd9301f Return Lumi answers to their private Telegram message 2026-11-19 00:40:11 -03:00
waozi eca652de59 Refresh the open Diary day after sync 2026-11-19 00:29:43 -03:00
waozi 2b0e1eaaa7 Fix PC break idle detection and automatic resets 2026-11-19 00:27:33 -03:00
waozi 15109142ef Connect Lumi debug chat to the owner Harmony agent 2026-11-18 22:42:05 -03:00
waoziandClaude Opus 5.5 17a0cfd9e6 Keep the first frame's pictures when the practice catalog loads
The Practices app opens after the first frame. Loading its catalog closed
the previous practice packs and always reported assets/practices as
changed, so every practice picture already on screen loaded again: the
2048x1024 Wim Hof banner decoded twice in each start, about 760 ms each
in a debug build on a Pixel 4a. Closing the packs now reloads pictures
only when a closing pack served some, as installing or removing one pack
already did; readers still look again either way.

Local tests: practice-downloads-test, with a new check that the first
catalog leaves pictures alone (it fails on the old code), and
desktop-window-test on a private Xvfb.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 17:30:57 -03:00
waoziandClaude Opus 5.5 57e065fe21 Keep build-bundle-runtime.py executable
The Kryon 0.6.0 pin's commit wrote the script back without its executable
bit; only its mode changes here.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 17:14:28 -03:00
waoziandClaude Opus 5.5 5ad38eab2d Give Android a native code cache and time picture loads
A profile of Breeze starting on a Pixel 4a found the slow parts of its
first second and first frame; plans/2026-11-18-breeze-startup-speed.md
lists them.

- Ziran keeps the machine code it compiles from each app bundle in a disk
  cache under XDG_CACHE_HOME or HOME. Android sets neither, so the cache
  was off and every start compiled every bundle again. Breeze now points
  ZIRAN_NATIVE_CACHE at the app's cache folder. Ziran stores entries
  there; it still rejects them on later Android starts, which is reported
  to Ziran.
- Debug Android builds log each picture's load time as an APP PROBE line.
  They showed the 2048x1024 practice banners decoding for about 760 ms
  each, and the WHM banner decoding twice.

Local tests: the Android debug APK starts on the Pixel 4a, writes its
native cache and logs picture times; the Linux build, its window test and
the web and Windows builds are unaffected.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 17:14:03 -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
waozi 59e7570f1e Keep the figure preview's camera still and audit slides on screen
The preview followed her pelvis every frame, pinning her in the middle
while the painted floor stayed put, so her planted feet slid over it.
Each item is now framed once from the bounds of its whole motion, seen
from its own camera's direction, and the camera never moves while she
does.

The audit measures a slide as how far a heel or ball strays from where it
was set down (5 mm), also on screen, and flags a head held in place while
her body travels. The astral plan carries the handoff for the rest of the
natural-movement work.
2026-11-18 16:16:53 -03:00
waozi 924553d6c2 Make the practice figures move naturally and show the VRoid figure
The owner picked pixiv's CC0 VRoid woman and man (practices
shared/figure). An audit of every practice at 30 frames a second (the
preview's new --audit) found 589 awkward moments; 9 small ones remain.

- Feet step and pivot instead of sliding: a stepping foot rises clear of
  the floor before it travels and lands after it arrives; a foot turning
  on the spot pivots on its heel or ball (the ball when it stands on its
  toes) with the other end raised first. One rule for Tai Chi's timeline,
  the Workout and Sun Salutation (TaiChiStepFoot); lunges no longer drag a
  foot 46 cm.
- Toes hanging from a lifted tiptoe foot bend up rather than go through
  the floor.
- Knees and elbows straighten smoothly over the last 1.2% of their reach
  instead of snapping straight.
- Each Tai Chi hand turns as one piece between keys, so its fingers and
  palm never blend through nothing and flip the hand (Snake Creeps Down).
- The side plank rolls over face down to the second side instead of
  jumping there.
- The course studio's solver and timeline match, and its parity reference
  is regenerated (export-app.mjs --reference).
- Workout and Sun Salutation tests check that planted feet stay within
  5 mm, nothing goes below the floor, nothing moves too fast and no knee
  bends backwards.
- The figure preview shows the woman or the man with hair on VRM spring
  bones and blinking eyes, and gains --audit, --shot, --video and --trace;
  it pins Kryon ac6c8f47 and practices d8b54df1.
2026-11-18 15:57:10 -03:00
waoziandClaude Opus 5.5 3432e0dc43 Regenerate on define changes and write native objects whole
Two stale-build traps cost UI test runs:

- The generated C did not depend on its defines, so building with
  KRYON_TEST_DRIVER after a plain build kept the old C and the UI tests
  stopped with "this build has no test driver". The defines are now
  recorded in build/kryon/generated-defines.txt, rewritten only when they
  change, and the generation depends on it.
- A compile killed part way, as the memory guard does, left an empty
  object newer than its source; make then skipped it and the link failed
  on undefined symbols. Each object is now compiled to a .part file and
  moved into place.

Local tests: make native with and without KRYON_TEST_DRIVER regenerates
once and a repeat build regenerates nothing; desktop-window-test passes
on a private Xvfb.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 15:52:45 -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 8375209829 Remove the MakeHuman figure and shortlist commercial models
The owner rejected the MakeHuman-based figures and asked for them to be
deleted, with free models usable in a commercial app researched instead.
MakeHuman-based bodies (MakeHuman, MPFB, Anny, MB-Lab, CharMorph) are not
to be used again.

- Delete the figure bake script and every MakeHuman file: the base mesh,
  rig weights, targets, licence records, the three.js studies' baked
  human and its converter.
- The figure preview shows the practice's empty stage with a "model
  pending" note, and Breeze's current flat figure on it when asked; the
  figure painter, character switch and profiler are gone. Pin practices
  57c4f4c5, which keeps only the model-independent figure parts.
- The three.js astral studies play with invisible stand-in skeletons; their
  verifier passes.
- plans/2026-11-18-figure-model-candidates.md lists the candidates with
  their licences, quoted from the licence pages, and the motion sources.
2026-11-18 11:58:31 -03:00
waozi 4dc8f300e7 Preview the smooth studio-lit practice figures, woman and man
The owner asked for figures as good as two reference sculptures: smooth
surfaces, correct proportions, clean textures, a petite young Chinese
woman by default and a young man in a kung fu outfit as a choice.

- The bake script makes either character (--character female|male) from
  MakeHuman's CC0 macro targets, with the male targets added and every
  target's checksum recorded: her petite shape, larger eyes, smaller mouth
  and chin and narrower shoulders; a fitted top and slim trousers smoothed
  like cloth; his loose kung fu jacket smoothed over his back; parted hair
  in a bun or short hair with a soft hairline; bare feet. It draws clean
  texture maps itself, including a face drawn on the mesh's own lid,
  eyeball and mouth landmarks, and leaves out the scalp under the hair.
- The preview has a Woman/Man switch and the colour strength only, shows
  one texture updated in place, and captures both characters on the
  backdrops and on studio grey, at the reference sculptures' angles and in
  close portraits.
- Pin practices 7797a280 and Kryon 4b79d976.
- Update the figure plan.
2026-11-18 03:51:26 -03:00
waozi 237e86b0ae Flush the figure preview's timing report as it runs
The live window now reports every 120 painted frames and once more when
it closes, flushing each report, so a launcher's journal shows it even
for a short run.
2026-11-18 00:11:47 -03:00
waozi d0fd254595 Preview the slim Chinese practice figure and profile its frames
The preview pins practices e0950d93 (the figure redrawn in Inner Breeze's
own illustration style) and Kryon 8e44f3f8 with its Ziran toolchain, so
hands-off playback keeps presenting. The asset script builds her slim
Asian build, the mandarin top with collar, frog-knot placket and side
slits, gathered silk trousers, black shoes, sleek hair with a high bun and
the new face, and leaves out the body hidden under the clothes.

The backdrop is scaled once per size instead of every frame, and the
preview reports median and 95th percentile milliseconds for each step of
a frame: in its log every 240 frames, or headless with --profile.
2026-11-18 00:05:07 -03:00
waozi cab9dc83ec Keep the captured screen's orientation in route fades
Opening Habits' shop on Kryon's desktop host closed Inner Breeze. The
route fade kept only the previous screen's texture and drew it as a
bottom-up raylib frame, but the desktop host's snapshot is upright: the
flipped draw failed the whole frame and the app quit. The fade now keeps
the captured surface itself, with the orientation its host reports. The
test's orientation checks land with the Kryon pin that reports it.
2026-11-17 23:16:39 -03:00
waozi fcec234417 Preview the slender, more vivid practice figure
The preview pins practices 3e7c7bff and adds a colour strength slider
that also strengthens the backdrops. The asset script mixes MakeHuman's
own CC0 slender macro targets (weight, muscle, height, ideal proportions;
kept beside the other targets with their checksums), slims the hands and
feet, lengthens the neck, re-fits the loose clothes, gives the hair a neat
swept-back shape with a low bun, places the new face painting and
strengthens the swatch and backdrop colours.
2026-11-17 23:01:20 -03:00
waozi 799e104662 Preview the practice figure as a painted watercolor on its backdrops
The figure preview now pins practices b0464fdd, whose character wears a
loose wrap tunic, sash and balloon trousers in generated painted
textures. Each practice plays on its own painted backdrop (mountain
garden, sunrise meadow, light room, dim bedroom), and the panel tunes the
wet bleed, dried edges, ink line and granulation. The asset script builds
the cloth shells, the hang of the skirt, form-following UVs and the face
painting's place, and prepares the generated textures and backdrops.
2026-11-17 22:19:59 -03:00
waozi 48373814bc Preview the shared practice figure live on Kryon
design/figure-preview is a small native project that pins Kryon 199b51c9
and practices b38054fc. It plays Breeze's own Tai Chi, Sun Salutation,
Workout and astral choreography on the practices figure, with practice
and item pickers, play, pause, scrub, speed, orbit and zoom, the
watercolor finish and its settings. It can also show the current flat
figure for the same moment. Breeze's pose folders are module paths, so no
pose code is copied. --capture writes the review frames, painted, bare
and current.

prepare-practice-human.py now applies MakeHuman's CC0 young-adult female
macro targets. It smooths the hip and shoulder weights, keeps thigh
weights below the hip crease, cuts a curved hairline, and adds the hair
shell, bun, eyeballs, brows and lips.
2026-11-17 19:51:05 -03:00
waozi 685dd672e9 Model the six astral techniques for the native figure painter
astral_technique.zi turns each exercise's session cue timeline into the
still physical pose, the double's offset and roll, rope, attention marks
and return, tested across all 88 cue boundaries. The practice figure's
prepare script now folds MakeHuman's CC0 default rig weights onto its 46
bones and cuts clothing hems exactly along their planes.
2026-11-17 16:12:35 -03:00
waoziandClaude Opus 5.5 d116acad0f Test desktop Diary backspace, selections and corrections
apps-diary-editing-test drives the standalone Diary on a private Xvfb
display through real SDL keys: backspace, emoji and combining-mark
deletion, selection delete, a mid-text correction and select-all
delete, then restores the entry for the rest of apps-diary-test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-17 15:52:24 -03:00
waoziandClaude Opus 5.5 fa99f1e807 Test Android keyboard deletes in the real Diary editor
The instrumentation test runs on a private Android 12 emulator with a
seeded Diary entry. It replaces the entry through the focused native
editor, sends backspace and selection-delete key events, and waits for
Kryon to acknowledge each edit and the caret position. It finishes the
emulator keyboard's composing region first, so commitText replaces the
selection.

On the 2.1.63 debug build with master's pins, backspace leaves the
text unchanged. The same build with the fixed TextInputView passes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-17 15:48:10 -03:00
waoziandClaude Opus 5.5 fed3ac3691 Keep Android keyboard key edits in the focused editor
Soft-keyboard key events (backspace, forward delete, Enter, digits)
went from InputConnection.sendKeyEvent through the window's native
input queue. Kryon consumed them natively while the hidden EditText
kept the old text, so the keyboard's next edit restored deleted
characters. Dispatch IME key events directly to the editor inside a
batch edit so Kryon receives one final state, and submit single-line
Enter keys once, including Android 14's action-tagged Enter events.

Robolectric tests cover delete keys, selection and select-all
deletion, forward delete, stale connections, Enter on single-line and
multiline fields and Unicode corrections on API 31, 32, 34 and 36.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-17 15:01:02 -03:00
waozi ee23f04dce Give astral figures anatomical skinning and watercolor surfaces 2026-11-17 11:40:20 -03:00
waozi 09e5e7e76d Upgrade all astral studies with flowing shaders and comparison frames 2026-11-17 11:08:40 -03:00
waozi 458f4fb5eb Run the test harnesses on the Ziran 0.6 toolchain
Point every harness's default toolchain at build/packages/ziran/build,
drop the removed `zi2zx bundle` form, link the generated C each harness
actually gets (whole generated folders where the test has no stubs, and
Kryon's package-prefixed frame pacing module), and stop listing the
header-only type module in the modal rules test. Twenty-two more test
targets pass from a clean export; plans/2026-11-17-test-harnesses.md
lists the 54 that still fail and why.
2026-11-17 03:12:21 -03:00
waozi 26c1522717 Rebuild astral previews with expressive technique animation 2026-11-17 02:18:10 -03:00
waozi 7fbef85924 Repair clean-checkout builds and the package-release harness
Install ffmpeg wherever the app build checks the guide narration clips:
the check decodes every clip, and only the Test jobs had ffmpeg, so web,
Linux, Windows, Android, Snap and F-Droid builds reported all 320 clips
as stale. Link the package-release harness and the sync server against
the pinned toolchain instead of the removed build/ziran-toolchain, use
the current zi2zx command form, resolve the media compression test
through package exports, and stage Tai Chi preview voices only for the
app's own locales.
2026-11-17 01:44:55 -03:00
waozi 1a18c5976a Add six cue-timed astral studies and shared character shaders 2026-11-17 01:27:21 -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 a3a37e3883 Fix clean-checkout package assets and pinned test harnesses
Track the reviewed Arcade baseline artwork and verify both baseline files
are included in Git. Keep its independently reviewed source provenance
separate from the metadata dependency pin.

Resolve current Kryon widgets through the locked project graph, link the
selected compiler runtime and actual native dependencies, and provide
asset-free image callbacks for behavior fixtures. Optimize large test
state initializers as native builds do. Include recovery in the extracted
meditation fixture and keep Unreleased notes within the Lumi limit.

Local tests: clean asset-only archive reproduction and candidate repair;
apps, node-apps, build-laws, package versions/workflows/manifests/uploads;
workout, sun pose/artwork/voice, Telegram SVG, achievements, habit form,
habit sessions, Lists, session results, Lumi updates, package release and
bundled-artwork tests. All ran through build-queue.
2026-11-16 23:51:19 -03:00
waozi ca99ca92ef Recover practices and data on the current Ziran runtime 2026-11-16 22:05:52 -03:00
waoziandClaude Opus 5.5 bd6d5a2c41 Benchmark Breeze on Kryon's desktop host against raylib
Both Linux executables, built from the same tree, ran the scripted session
alternately on a private Xvfb. On the desktop host idle CPU falls from 62%
to 3% of a core, CPU per frame from 26 ms to 2.5 ms (raylib draws through
llvmpipe there) and memory by about a quarter. A missing audio device is
tried again at most every ten seconds on the desktop host, where each failed
open holds a frame while SDL tries its audio servers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-16 19:55:08 -03:00
waoziandClaude Opus 5.5 307e3c05ac Reach the window, input, clock and log through host modules
Breeze's platform code no longer calls raylib by name. The window, frame
loop, input, clock, log, window state, icons, audio, radio decoding, text
input, assets and storage file access go through Breeze host modules
(host_clock, host_input, host_window, host_window_state, host_frame,
app_trace, icon_png) with a raylib branch for today's builds and a branch
for Kryon's SDL2 and Cairo desktop host, selected at compile time by
DESKTOP_HOST. The shipped builds still use raylib; the Linux build moves
once Kryon has the remaining desktop pieces. The plans map what Windows,
the web and Android still need.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-16 18:26:44 -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 0dc9ba9007 Benchmark the Linux desktop build
Add a Ziran benchmark (tests/desktop_benchmark*.zi; make desktop-benchmark
and desktop-benchmark-build) for moving the Linux desktop build off raylib.
It drives the app through the Kryon test driver on a private Xvfb with a
seeded profile and no audio device: screen switches, a 240-item list
scrolled by wheel, a modal, a floating practice window, then 30 s idle.
It reports time to first frame, frame rate and frame cost, idle CPU,
resident memory, build times, generated C, executable size and libraries,
each as a median over runs with its range.

Under APP_PROFILE the app now logs when each host frame begins and the
process CPU time then, so the benchmark can take per-frame intervals.

plans/2026-11-15-breeze-desktop-without-raylib.md records the method, the
raylib baseline measured with the installed build, and the call-site map
for the port.
2026-11-16 12:52:02 -03:00
waozi 385449fd38 Build the Kryon test driver only for UI tests
Kryon leaves its test driver out of ordinary builds. The UI tests drive
the app, so a build with KRYON_TEST_DRIVER set passes that define to the
Kryon sources.
2026-11-14 09:57:34 -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 456ca38212 Move every package to host 43 for Ziran's format 62
Ziran 0e91eb43 saves IR in format 62 and a host reads only its own
program format, so host_api, oldest_host_api and every package's and
node app's host_api move to 43; released hosts (2.1.62 and older) are
42 and are no longer offered packages built since.
2026-11-07 15:04:04 -03:00
waozi 724182c67a Build dav1d for AVIF on runners without ziran on PATH
The avif package now decodes with dav1d. Kryon resolves its source with
`ziran pkg path`, falling back to a ziran on PATH that CI runners do not
have, so every Linux build stopped with "Cannot resolve dav1d package".
Pass this build's ZIRAN_BIN to the codec configure steps, and install
Meson and Ninja (and NASM for Snap) wherever dav1d now builds: CI, Linux,
Android, Windows, Snap and the F-Droid recipe.
2026-11-07 12:46:51 -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 a8f9bfaa7f Retry the node check when Cloudflare briefly cannot reach the node
The Arcade follower failed on a transient HTTP 522. It now retries 5xx
and network errors for about three minutes and still fails if the node
stays down.
2026-11-07 11:33:29 -03:00
waozi 3ee425cfe6 Keep the APT repository test working under a long TMPDIR
gpg-agent listens on sockets inside each GnuPG home, and Unix socket
paths end at 107 bytes. Under an agent sandbox's long TMPDIR the agent
could not start, and the test exited 2 with no output because key
generation discarded gpg's errors. The test now uses /tmp when TMPDIR is
long, and shows gpg's error when a test key cannot be created.
2026-11-06 22:22:17 -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 7790878186 Keep the unreleased Breeze notes to three core lines
Drop the two website notes, which are not app changes, and translate
the Practice tab note into every locale so release_notes_test passes.
2026-11-06 21:42:41 -03:00
waozi 0aaed358ba Keep the side navigation when switching Practice tabs
Practice Manual and Settings were treated as fullscreen pages, so the
desktop rail disappeared and the whole page shifted 88px on each tab
switch. They now keep the rail and the Practice highlight; the bottom
dock still hides on those tabs.
2026-11-06 18:10:51 -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 a609e0aa6f Keep Breeze update notes focused on practices, habits and core features 2026-11-03 17:46:01 -03:00
waozi dad571002f Match the Breeze website to Studio and open the full web app directly 2026-11-03 08:08:39 -03:00
waozi 635c968633 Fix Photos behavior fixture native UI linking 2026-11-03 08:08:31 -03:00
waozi 319fa9f3ae Merge tested Inner Breeze 2.1.62 release history 2026-11-03 05:18:35 -03:00
waozi 789db7cda5 Release Inner Breeze 2.1.62
Phone check: 57.7 fps, 0.0% late frames.
2026-11-03 05:18:35 -03:00
waozi d2961b8ede Merge the validated Breeze sync release fix 2026-11-03 04:13:21 -03:00
waozi fe042b64f0 Preserve monotonic encrypted sync revisions and exercise real disconnects 2026-11-03 04:13:21 -03:00
waozi 9ffd2fc193 Merge the isolated sync runner repair for the tested release 2026-11-03 02:48:54 -03:00
waozi 762fa24b03 Keep the isolated sync server native build within its guarded build root 2026-11-03 02:48:54 -03:00
waozi 14ac4425c5 Merge the tested Breeze release CI tooling fix 2026-11-03 02:20:17 -03:00
waozi 9e845cf24f Install APT test tools and validate the published referral server 2026-11-03 02:20:17 -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 44ac49655c Embed Arcade with low-resolution WebP library art 2026-11-02 14:02:35 -03:00
waozi 10de2aae33 Exercise bundled apps through isolated production hosts 2026-11-02 13:30:18 -03:00
waozi 844eba30b8 Bundle Arcade with artwork and retain small offline apps additively 2026-11-02 13:09:54 -03:00
waozi 356c51e0b5 Link the WebP decoder in Windows builds 2026-11-02 13:06:23 -03:00
waozi dbaea786b1 Exercise keyboard-visible Apps focus and refresh the generated web icon 2026-11-02 12:16:53 -03:00
waozi 005e3f3678 Wrap full Apps usernames with the shared grapheme layout 2026-11-02 12:10:08 -03:00
waozi 4749d9ed58 Focus the Apps edit control before keyboard activation 2026-11-02 12:04:57 -03:00
waozi 36f4e141e4 Declare hosted web image dependency and exercise Apps header regression 2026-11-02 11:59:13 -03:00
waozi 7d90c2ef21 Keep Apps usernames visible and fix release candidate validation 2026-11-02 11:56:27 -03:00
waozi bf5b521ad8 Keep social buttons named for accessibility 2026-11-02 11:27:21 -03:00
waozi 00aa79b87f Use reviewed WebP packages and render Telegram as a vector 2026-11-02 11:19:27 -03:00
waozi e18a03a483 Use a vector Telegram social icon 2026-11-02 11:02:28 -03:00
waozi d33c565cfc Align Android embedding and icon tooling with WebP runtime icon 2026-11-02 10:31:11 -03:00
waozi 060f5dd2b5 Test lossless WebP for Breeze-owned runtime images 2026-11-02 10:28:48 -03:00
waozi 14e5412141 Release Breeze 2.1.62 2026-11-02 07:07:06 -03:00
waozi 0a83f2119e Resolve pinned push API dependencies in clean test runners 2026-11-02 07:02:06 -03:00
waozi 66192aa502 Share the headless focus stub across app and storage tests 2026-11-02 06:55:27 -03:00
waozi 7ccea34efb Align modal fixture with shared Friends controls 2026-11-02 06:53:42 -03:00
waozi e93fce8460 Link zlib in the native Daochi fixture 2026-11-02 06:39:14 -03:00
waozi dd3568583e Use generated public Session type in Daochi native fixture 2026-11-02 06:37:52 -03:00
waozi 0e7c456744 Keep private test data ignored in clean CI checkouts 2026-11-02 06:36:37 -03:00
waozi 8f6b9dbae0 Resolve backend imports in device key test 2026-11-02 06:34:50 -03:00
waozi d48d80d716 Provide notification focus in headless storage test host 2026-11-02 06:30:27 -03:00
waozi ca6bc03eb0 Align published package graph and trusted Apps controller 2026-11-02 06:08:37 -03:00
waozi 141f6c4ddb Retain Profile fixtures and forward shared page titles 2026-11-02 05:53:31 -03:00
waozi e65c28aa09 Wait for achievement toast before testing list save 2026-11-02 05:28:28 -03:00
waozi 92533a51e4 Wait for Apps download cancellation controls to close 2026-11-02 05:19:12 -03:00
waozi a1d9b90359 Exercise Apps consent before restoring Habits 2026-11-02 05:13:35 -03:00
waozi 03b3f11fc0 Export notification callbacks in Android host 2026-11-02 05:01:48 -03:00
waozi 5ddfef619d Link Kryon WebP and complete Apps test host 2026-11-02 04:54:20 -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 2545f50ac6 Remove Breeze's fallback key import
Key files now open only through Entity's sign-in screen, which reads every
backup format. The fallback could not open password protected backups.
2026-11-02 03:06:44 -03:00
waozi 3c863218e9 Fix Add friend and remove the unprotected key save
Add friend failed because the node URL was read before a check that reuses
the same settings buffer. Key backups now only go through Entity's password
sealed save, Android device backups no longer copy the account, and the new
Entity password and backup wording is translated. Older key files still open.
2026-11-02 02:45:32 -03:00
waozi 309fabaeb3 Finish each Sun Salutation smoke session before changing viewport 2026-11-02 00:49:58 -03:00
waozi c7be7b47c1 Cover the Sun Salutation introduction before advancing poses in web smoke tests 2026-11-02 00:30:38 -03:00
waozi 37a325b87d Pass Google Drive Picker settings to Google Play builds [skip ci] 2026-11-02 00:12:12 -03:00
waozi 2807d7d905 Match the modal and sync connection tests to the removed Friends modal and field 2026-11-01 23:52:56 -03:00
waozi aa501b500a Record Moto verification for shared sign-in fixes 2026-11-01 23:51:21 -03:00
waozi 9fecd988b7 Keep shared sign-in actions responsive and errors visible 2026-11-01 23:21:14 -03:00
waozi abc10abb20 Install Sun Salutation's Spanish narration packs in the web smoke test 2026-11-01 23:01:54 -03:00
waozi 207ece5282 Record Moto gate for reviewed Entity and Android handoff tests 2026-11-01 22:55:15 -03:00
waozi f6b05f8dd2 Run the Daochi client tests with Breeze's locked crypto package 2026-11-01 22:52:51 -03:00
waozi c2d451b35b Use Android-compatible shared profile helpers 2026-11-01 22:39:17 -03:00
waozi 788c29ac66 Give the Android JNI tests Entity's package paths, crypto libraries and handoff class 2026-11-01 22:37:58 -03:00
waozi cdbb586e4b Use reviewed sign-in authorization and browser compiler support 2026-11-01 22:34:06 -03:00
waozi 50249ad05b Record Moto verification for shared Entity sign-in and Friends 2026-11-01 21:26:09 -03:00
waozi 90c1855e57 Allow the shared Friends page to draw its bundled abstract pictures 2026-11-01 21:15:55 -03:00
waozi 7bf40199d0 Build Play debug and instrumentation APKs through the app build targets 2026-11-01 21:15:12 -03:00
waozi 6c983c1d70 Use Entity's reviewed account authorization in the Play host 2026-11-01 21:07:27 -03:00
waozi f9c12273e1 Remove remaining gift modal and custom Friends references 2026-11-01 21:06:36 -03:00
waozi 989f484068 Trust the Apps controller built from the shared Entity graph 2026-11-01 20:59:39 -03:00
waozi 13099703ac Use shared Entity sign-in and Friends, and remove Dew gifts 2026-11-01 20:47:05 -03:00
waozi 600c9dc177 Follow the shared waozi.xyz sign-in on the web and remember backed-up keys 2026-11-01 20:37:28 -03:00
waozi 6e5836684a Wire Entity Drive backups into the Play edition and Play debug variant 2026-11-01 20:04:04 -03:00
waozi 0d0438f912 Open newer account backups in the account flow 2026-11-01 20:03:27 -03:00
waozi bac4a1d519 Build native objects on half of the CPUs at low priority
Keep generated C between runs: zi2c --prune-stale removes outputs this run
no longer writes, now including subdirectories, and unchanged files keep
their timestamps, so an edit recompiles only the C it changed instead of
all 858 generated files.
2026-11-01 18:43:12 -03:00
waozi b8bfb7ff1c Reuse fixed release-ready outputs and one shared build cache
Custom RELEASE_READY_OUTPUT names now map to build/release-ready, and
only build/release-ready-phone keeps a separate purpose, so task and
version names no longer leave a new folder per run. Both share
build/release-ready/home under an exclusive cache lease held through
container exit. The release command uses the same mapping. Phone
installs take a lock, select only an APK this run built and reuse the
default signed path. Nothing prunes existing output.
2026-11-01 18:41:58 -03:00
waozi 8408d63f84 Publish a signed APT repository for Linux releases
The site deploy builds https://breeze.waozi.xyz/apt from the published release's .deb files, signed with the APT_SIGNING_KEY secret and checked against the committed keyring. install-apt.html explains setup and the Linux card links to it.
2026-10-31 03:07:30 -03:00
waozi 29594aa1ef Run pre-push metadata validation without fetching build packages 2026-10-31 00:12:10 -03:00
waozi 30e3bf7623 Inspect current ZX resource envelopes in the node publisher 2026-10-31 00:08:49 -03:00
waozi f3d543afe8 Filter Android key imports using shared backup types 2026-10-30 22:01:15 -03:00
waozi 93d3f5b607 Reset the phone build's times record after a clean run into it
A run without RELEASE_READY_INCREMENTAL rebuilds outputs from fresh times;
dropping the record keeps a later incremental run from trusting them against
times recorded for another commit.
2026-10-30 02:32:19 -03:00
waozi 2bbbe943f7 Keep the times a passing phone build leaves on tracked files
Generated tracked files such as src/apps/app_codec.zi are rewritten with the
same content during a build. Recording their final times after a pass keeps
the next no-change phone install from rebuilding the app packages and
reconfiguring CMake.
2026-10-30 02:26:06 -03:00
waozi 566f2bee8e Rebuild only what changed when installing a commit on a phone
phone-install's container now keeps the times of files the commit did not
change and the Gradle and CMake build directories between runs, and the
Android source generator keeps the times of C files it emits unchanged, so
a small change no longer recompiles the whole app.
2026-10-30 02:14:37 -03:00
waozi 3bcf2c0998 Build the Next line without text tools the locked Ziran lacks 2026-10-30 02:03:01 -03:00
waozi 42af5a6ad2 Name the next Sun Salutation pose in one quiet line 2026-10-30 01:59:26 -03:00
waozi b191dbb6e2 Draw smooth labeled mood faces on practice results 2026-10-30 01:59:26 -03:00
waozi e5c5bdd65a Keep Apps grid actions stable while editing 2026-10-30 01:15:45 -03:00
waozi a21f90b858 Load cue sounds when wanted and restart stale sync pages
The breath and bell cues are Practices assets. Startup loaded them
while Practices was still opening, so the lookup failed once and the
cues stayed silent. Cues now load when first played and retry after
the asset generation changes.

Background sync kept failing with result 6 because a paged download
resumed from a cursor older than since_server_version, which Daochi
rejects with 400. daochi-client now restarts such a page.
2026-10-30 01:07:03 -03:00
waozi 39df1dffc8 Expect Sun Salutation's next-pose figure in the movement view test 2026-10-30 01:04:49 -03:00
waozi bd610f9d93 Mark Telegram messages in Lumi 2026-10-30 01:02:06 -03:00
waozi 4ea83c536a Guide Sun Salutation with form cues, sides, next pose, intro and rest
Each pose shows a one-line form cue, the lunges name the leg that is back,
and a small held figure previews the next pose. A fresh session settles in
for three breaths before the first round and rests for two after the last,
with the narration's intro and closing lines. The first round never breathes
faster than 6 s, so every spoken line plays in full.
2026-10-30 00:55:35 -03:00
waozi 9fdbdbdd52 Show a profile picture chosen in another app in Breeze's own profile
Breeze reads the account's picture from its node through Entity's shared
reader, on connecting and every ten minutes, and takes it with Entity's
rule: a picture chosen here that the node has not accepted yet stays. The
taken picture is saved as already published, so it is not sent back.
Entity is pinned at the reader; the lock also follows Kryon master.
2026-10-30 00:55:35 -03:00
waozi 0c86daacf3 Speak every Sun Salutation pose and name the leg in each lunge
Low lunge (right/left by round), knees-chest-chin, cobra and step-forward lines, plus settle-in and closing lines for the guided screen (SunSalutationIntroVoiceKey, SunSalutationClosingVoiceKey). Recorded in 12 languages for both voices; tests check every breath's key, the lunge side against the rig, and that each line is recorded and fits a 6 s breath.
2026-10-30 00:46:55 -03:00
waozi dd02f7fd3c Collapse break setting sections 2026-10-30 00:39:33 -03:00
waozi 6271db0d6f Measure break reminder layout 2026-10-30 00:33:40 -03:00
waozi 2d213f777d Show full public IDs cleanly 2026-10-30 00:07:58 -03:00
waozi 0bd92cf953 Keep practice pictures when only narration installs
An audio-only pack install now reports new assets without invalidating
the practice image folder, and the kryon lock moves to the release that
keeps images drawn while they are revalidated.
2026-10-29 23:52:33 -03:00
waozi 6b5ca2d431 Show and publish profile pictures through Entity's shared path
Breeze's own publisher sent the default picture even when nothing was
chosen, and its friend mapping dropped Entity's abstract pictures. Friend
rows, requests and Lists now draw icons through Entity, and a picture
chosen in Breeze goes to the node through Entity's one publisher.
2026-10-29 23:10:22 -03:00
waozi 7198ba453e Let catalog packages award their own achievements
Add the bounded entity.achievements service to the package bridge. It
takes metric, source and amount (1..1000), derives the app from the
verified node identity, accepts only <package id>.<name> metrics and
records the fact for today.

Installed package leaves that are not legacy Inbe apps are now captured
under their expected_id asset folder and canonical id, so their
achievements.json registers, evaluates and shows the usual toast. The
saved leaves format moves to 2 so older caches rescan once.
2026-10-29 20:26:08 -03:00
waozi cf1323ac8f Keep Firebase's Gradle plugin in the Google Play edition
Only the -gplay edition may read a Google library. The google-services
plugin's classpath moves from the root plugins block into
droid/app/gplay-classpath.gradle and its application into
droid/app/gplay.gradle, both applied only in a Gradle run whose tasks name
gplay. Such a run refuses release or debug tasks beside it, so the Makefile
and the release workflow build the normal and gplay APKs in separate runs,
and the normal and F-Droid builds never resolve the plugin. The Moto check
builds only the normal APK and no longer writes the Firebase config.

CI checks the Gradle files with Kryon's google-free action, the release
workflow checks the normal, per-ABI and -fdroid APKs and finds Play
Billing in the -gplay APK, and the F-Droid workflow checks F-Droid's own APK.
2026-10-29 16:22:59 -03:00
waozi e2303c3ab4 Keep the local photo storage estimate on the fields devices keep
The estimate left photos in Trash out by reading their trashed field, which made sync-record-fields-test ask every device to download its records again. The node reports the account's real usage in each sync, so the estimate keeps counting every photo.
2026-10-29 15:53:31 -03:00
waozi afc9674b0a Document the order a program format bump publishes in
Host 41 is 2.1.61, not 2.1.62: released apps up to 2.1.60 are host 40.
2026-10-29 15:29:57 -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 e52588ce9a Gather the sync and Trash fixes into Inner Breeze 2.1.61
2.1.61 is not released yet, so the unreleased notes join it, the sync fix
is translated, and every language's notes are shortened to fit the store
limit of 500 characters.
2026-10-29 14:54:07 -03:00
waozi 9abbea9ab2 State the 30-day hold and Trash deletion in the privacy policy 2026-10-29 14:45:43 -03:00
waozi 10c353dd17 Free storage for photos in Trash and delete them after 30 days
A photo moved to Trash, or out of it, now records when (trash_changed).
Each device then moves the photo's chunks and preview into every node's
trash, where they stop counting toward the account's storage, and back out
on restore. A photo a Diary entry still shows keeps its chunks. After 30
days in Trash the photo's files leave the device and its entity record goes
out as a deletion, which other devices apply too.

Importing a key now asks the node, on the first login, to bring back the
account Clear Remote Data left on hold for 30 days. The Clear Remote Data
and Trash texts say so in every language.
2026-10-29 14:41:39 -03:00
waozi 2149352b69 Ask nodes for deletions that arrive without content
Daochi cd5bd26 leaves deleted records without nonce or ciphertext out of
replies unless the client declares content-free-deletions, so older apps
that cannot read them keep syncing. This version applies them
(storage_apply_record_tombstone), so it declares the capability and
still learns of deletions made on other devices.
2026-10-29 14:39:47 -03:00
waozi ee1109eef6 Apply deletions the node sends without content and never trap sync in review
Daochi now drops the content of a deleted record (kryonlabs/daochi d862a34)
and sends only its times. Breeze treated each such tombstone as a failed
decryption, so the whole full snapshot failed to apply: its merge preview
was unavailable, Merge and Use remote were disabled, and the review came
back after every sync.

A content-free tombstone now marks the local row deleted unless this
device changed it later, with a deletion winning an equal-time tie as on
the node. Kinds not kept as marked rows change nothing.

A full snapshot whose merge cannot be rehearsed is now a sync error rather
than a saved review, and a waiting review that can neither merge nor be
previewed is set aside instead of opening a dialog with no working choice.
A saved review may be as large as any accepted sync response (16 MB).
2026-10-29 14:32:07 -03:00
waozi 9f1fe26998 Note the smaller download for Inner Breeze 2.1.61
2.1.61 was never released, so the format-59 size change joins it instead
of a new version. Photos, Library and Radio publish again in the smaller
format for hosts from 41.
2026-10-29 13:40:28 -03:00
waozi 306e25e79a Ship one copy of each launcher icon
The round launcher icons were byte-identical copies of the square ones in
every density. They are now resource aliases of them, and the unused
mipmap copies of the adaptive foregrounds are gone, so the APK carries
about 170 KB less. generate-icons.sh writes only the square icons.
2026-10-29 13:26:38 -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 c9a0eae23c Bump versions only when a release is made
Between releases every change goes under one Unreleased section of
CHANGELOG.md and of each app's changelog; App packages already waits for
the next version. The version check accepts that leading section, and the
version test fixture copies the release notes script update_version.sh runs.
2026-10-29 12:56:34 -03:00
waozi 7ec840260e Show Lumi's chat loading on the same loading screen as other apps
Lumi still drew a line of text over a bare progress bar while it measured
its chat. Use the shared loading screen with Lumi's mark and name, the
loading message and the measured rows as progress.
2026-10-29 12:41:16 -03:00
waozi 0acdc75398 Pin Entity with every Profile icon drawn and an aligned Sync row 2026-10-29 12:24:56 -03:00
waozi 28788c067a Show Lumi's update notes and Play release notes in the user's language
Lumi announced each update in English whatever the language. Translations
of a release now live in locales/changelog/LANGUAGE.md beside the English
CHANGELOG.md; the build packs them as release-notes-LANGUAGE.json, Lumi
picks the active language's notes for the same release, and
update_version.sh writes each Play listing's notes. A test requires every
language to translate the newest release, and the fonts cover them.

Shorten the 2.1.61 notes.
2026-10-29 12:21:05 -03:00
waozi 82ed01d010 Translate account alias texts and the Radio app name
Six account alias strings still held an older English text in ten
languages, so the same-as-English check could not see them; the Radio
app kept its English name in the app list. Translate them all and add
their characters to the Chinese, Japanese and Korean fonts.
2026-10-29 11:51:37 -03:00
waozi 6cd88c56c6 Note the Android 9 Chinese text fix for Inner Breeze 2.1.61 2026-10-29 11:49:16 -03:00
waozi bb96835b32 Pin Kryon with Chinese, Japanese and Korean faces on Android 9 2026-10-29 11:48:58 -03:00
waozi 42b01535f1 Show Chinese, Japanese and Korean text on Android 9
Android before 10 has no font lookup, so Breeze's system face there is
Roboto alone and every Chinese, Japanese or Korean character drew as a
question mark. Register the bundled locale face on Android as well when
the language needs one; Latin languages keep the lighter startup.
2026-10-29 11:45:16 -03:00
waozi d3430e4f6a Find the Daochi checkout from Breeze's apps/ folder in release-ready
Breeze moved into waozixyz/apps/, so the default sync server path pointed
one folder short and every full run stopped before its first job.
2026-10-29 11:23:22 -03:00
waozi d121f630ab Prepare Inner Breeze 2.1.61 2026-10-29 11:21:08 -03:00
waozi 615ddbe53d Translate Profile accounts, nodes, Dew and friends and Android texts
Entity labels that Breeze did not map fell back to English in every
language: friend requests (Accept, Decline, Request sent), device
linking, key files, nodes, appearance, Dew purchases and the picture
styles. Map all of them to Breeze strings, reusing existing translations
where the meaning matches and adding the rest in every locale.

Android shortcuts, the Breathe widget and tile, Health Connect messages,
download and push notifications and their channels now come from
translated string resources. The push channel is created again each time
so its name follows the language.

The Chinese, Japanese and Korean font subsets gain the new characters and
keep every glyph they had.
2026-10-29 11:20:13 -03:00
waozi 58914982bb Give Amazon release notes and keep its open draft
Amazon refused the first submission: an update needs en-US recent changes,
and a newly uploaded APK needs a DRM choice that only the Developer Console
can set. The upload now sends the version's store changelog as recent
changes and reuses an open draft instead of deleting it, so a choice made
in the console survives into the submitted edit. An edit Amazon is still
reviewing is left alone.
2026-10-29 11:12:24 -03:00
waozi 868e359d25 Submit each Amazon Appstore upload for review
The upload used to stop at a draft edit that the next release deleted, so
Amazon never received a version after June. The script now validates the
edit, printing any listing problems, and commits it.
2026-10-29 11:09:09 -03:00
waozi 830e990583 Upload the release APK to Amazon when its listing holds an app bundle
Amazon's App Submission API cannot upload bundles, and the console-uploaded
bundle filled the edit's only binary slot, so every release since 2.1.50
skipped Amazon. The upload now replaces that slot with the APK, or deletes
it and uploads the APK when Amazon refuses the replacement. A manual
workflow retries the upload for an already published version.
2026-10-29 10:52:48 -03:00
waozi 0afc5867d1 Release Inner Breeze 2.1.60
Phone check: 57.7 fps, 0.03% late frames.
2026-10-29 05:05:33 -03:00
waozi ac19ebafaf Prepare Inner Breeze 2.1.60 2026-10-29 04:13:12 -03:00
waozi f7e09e709c Use shared reorder grips and unify Profile rows in Inbe 2026-10-29 02:43:23 -03:00
waozi b46306d1e3 Hide apps from the library and restore them through Edit 2026-10-28 23:21:10 -03:00
waozi cee04c12a4 Release Inner Breeze 2.1.59
Phone check: 57.7 fps, 0.03% late frames.
2026-10-28 22:40:14 -03:00
waozi 4e2c52b4c9 Merge tested Inner Breeze 2.1.58 release history 2026-10-28 20:53:59 -03:00
waozi cdd6c86d0c Release Inner Breeze 2.1.58
Phone check: 57.7 fps, 0.03% late frames.
2026-10-28 20:53:59 -03:00
waozi b0f844c1c7 Merge compressed profile release candidate
Preserve the fixed 2.1.58 source while applying the optimized Entity artwork.
2026-10-28 20:52:00 -03:00
waozi 15d89c91e1 Pin compressed abstract profile images
Keep the fixed 2.1.58 release content within the universal APK budget by pinning the optimized upstream Entity artwork.
2026-10-28 20:14:07 -03:00
waozi 113d8dafdc Pin compressed abstract profile images 2026-10-28 19:57:13 -03:00
waozi 8e06d7a84c Release Inner Breeze 2.1.58
Phone check: 57.7 fps, 0.06% late frames.
2026-10-28 18:51:54 -03:00
waozi 025557456c Merge tested Inner Breeze 2.1.58 release history 2026-10-28 18:51:54 -03:00
waozi 0f314013f2 Pin immediate and restart-safe game appearance publication 2026-10-28 18:13:57 -03:00
waozi 458596eefc Pin immediate and restart-safe game appearance publication 2026-10-28 18:13:57 -03:00
waozi 18e0db51c5 Include friend pictures and equipped skins in the Inbe update 2026-10-28 18:07:43 -03:00
waozi 1c12568e0e Include friend pictures and equipped skins in the Inbe update 2026-10-28 18:07:43 -03:00
waozi 6084ea547b Repair release test providers 2026-10-28 17:56:38 -03:00
waozi b76c150489 Repair release test providers 2026-10-28 17:56:38 -03:00
waozi 75a1146475 Validate storage quota fix on repaired release fonts 2026-10-28 17:20:24 -03:00
waozi b2ab5d05ae Retain released glyphs in expanded profile fonts 2026-10-28 17:17:35 -03:00
waozi 477339273d Prepare Inner Breeze 2.1.58 2026-10-28 17:05:06 -03:00
waozi 341b340683 Fix Profile friend input, saved pictures and app reordering 2026-10-28 17:03:22 -03:00
waozi 3dea8b7233 Preserve Arcade installs and confirm premium usernames 2026-10-28 17:02:06 -03:00
waozi df906829d9 Close the owned Android app after automated phone tests 2026-10-28 15:40:49 -03:00
waozi b945252c5c Merge tested Inner Breeze 2.1.56 release history 2026-10-28 15:09:20 -03:00
waozi a256864bc0 Release Inner Breeze 2.1.56
Phone check: 57.7 fps, 0.03% late frames.
2026-10-28 15:09:20 -03:00
waozi 7d2bd40c73 Repair signed Moto build setup and record APK provenance 2026-10-28 13:25:21 -03:00
waozi b31f55d49f Verify Play savings in button details 2026-10-28 12:40:39 -03:00
waozi b95a57f1c8 Show localized savings on Google Play Dew packs 2026-10-28 12:34:05 -03:00
waozi d21ce9f94b Include the 10 Dew Google Play pack in the top-up screen 2026-10-28 11:35:00 -03:00
waozi 9c7daca4f6 Improve Diary photo tools and keep the typing position visible 2026-10-28 11:31:18 -03:00
waozi 445b4dfbd2 Synchronize the shared leaderboard host interface version 2026-10-28 04:06:20 -03:00
waozi b5615a4e01 Enable the fixture account for the complete Profile UI test 2026-10-28 03:57:13 -03:00
waozi 0a33736986 Unify Profile IDs and leaderboards and preserve game scores 2026-10-28 03:41:10 -03:00
waozi f2d7ce5b6f Keep desktop installs current with verified release updates 2026-10-28 02:57:30 -03:00
waozi 96d09ced6f Preserve legacy Apps guide translations in package updates 2026-10-28 01:34:19 -03:00
waozi 5235b51cbb Merge tested Inner Breeze 2.1.55 release history 2026-10-28 01:11:48 -03:00
waozi 8b20447a14 Release Inner Breeze 2.1.55
Phone check: 57.7 fps, 0.0% late frames.
2026-10-28 01:11:48 -03:00
waozi fc64f7729f Allow focused verification of the one-step Apps guide 2026-10-28 00:56:57 -03:00
waozi 9bd9176995 Preserve existing hosted app loading capabilities 2026-10-27 23:51:31 -03:00
waozi ec08615f21 Keep hosted loading theme resolution portable 2026-10-27 23:47:08 -03:00
waozi 6b4818e2a4 Improve Inbe app loading, recover Play prices and simplify Apps guidance 2026-10-27 23:12:59 -03:00
waozi 5e905491cc Match the itch.io publishing target to the Breeze repository 2026-10-27 20:35:36 -03:00
waozi 8aecef0e2d Release Inner Breeze 2.1.54
Phone check: 57.7 fps, 0.0% late frames.
2026-10-27 18:58:21 -03:00
waozi d9d454da70 Version Inner Breeze 2.1.54: Dew through Google Play in the Google Play version 2026-10-27 18:09:06 -03:00
waozi 955fe51d17 Buy Dew through Google Play in the Google Play version
The Google Play edition (the gplay build type) now builds its native code
with GOOGLE_PLAY and adds Kryon's Play Billing (its gplay sources from the
Kryon package and billing 9.1); the direct and F-Droid builds carry no
Google billing. Top up lists Entity's Dew packs at Google Play's price in the
buyer's currency once Play answers. Breeze sends each purchase to the node
with its own signed-in request through entity/dew_play, and Play forgets it
only after the node has credited the Dew. The Play edition's Top up shows no
Monero address or other coins, and running out of Dew no longer names
Monero. The old payment bridge stubs are gone.

Kryon and Entity move to their Play Billing commits; liboqs stays pinned.
2026-10-27 18:06:54 -03:00
waozi 72c80cc0f6 Release Inner Breeze 2.1.53
Phone check: 57.7 fps, 0.06% late frames.
2026-10-27 16:51:49 -03:00
waozi 14ce6d7a66 Resolve the Play build's outdated Fragment SDK for Inner Breeze 2.1.53
Google Play reported androidx.fragment:fragment:1.1.0 as an outdated SDK in
production 2.1.52. Firebase Messaging's Play services libraries still
request that version, so the Play build now resolves it to Fragment 1.8.9.
2026-10-27 16:22:12 -03:00
waozi 61ecab580e Buy Dew with another coin through dew.waozi.xyz from Top up 2026-10-27 14:32:22 -03:00
waozi 3461cc1bc6 Merge the published 2.1.52 master into the retained local history 2026-10-27 05:46:35 -03:00
waozi 3ad7e8ee19 Merge the published Inner Breeze 2.1.52 release 2026-10-27 05:46:16 -03:00
waozi d55ed0e1f4 Merge tested Inner Breeze 2.1.52 release history 2026-10-27 05:24:36 -03:00
waozi 53efbf0b28 Release Inner Breeze 2.1.52
Phone check: 57.7 fps, 0.03% late frames.
2026-10-27 05:24:36 -03:00
waozi aba1996ccd Keep OpenStore diagnostics separate from release publication 2026-10-27 05:00:02 -03:00
waozi c2421a7862 Keep Focal packaging and active peer source together 2026-10-27 05:00:02 -03:00
waozi 1d0b8d7001 Keep OpenStore diagnostics separate from release publication 2026-10-27 05:00:02 -03:00
waozi d192e789d4 Merge the browser music test fix into the retained local history 2026-10-27 04:57:45 -03:00
waozi b6e1c3bfab Keep OpenStore diagnostics separate from release publication 2026-10-27 04:57:42 -03:00
waozi 82383c3d5d Read a control's position after the browser music test's last scroll
The Apps list scrolls when a control sits low on the screen. The fourth
attempt scrolled and then clicked the position read before that scroll.
With the apps the node offers listed below Lists, the list moved and the
click opened Library instead of Lists, so release-ready failed while the
same code passed before the node's catalog changed.
2026-10-27 04:54:32 -03:00
waozi d5a12b5d97 Keep Focal packaging and active peer source together 2026-10-27 04:36:50 -03:00
waozi 5159e7f098 Publish verified OpenStore updates after the Release workflow 2026-10-27 04:36:50 -03:00
waozi 2e9be2fc18 Publish verified OpenStore updates after the Release workflow 2026-10-27 04:36:49 -03:00
waozi 53f91d4c00 Resolve and verify the target atomic runtime in Click packages 2026-10-27 04:23:19 -03:00
waozi df0709e3f4 Keep Focal packaging and active peer source together 2026-10-27 04:23:19 -03:00
waozi 159e0098ea Resolve and verify the target atomic runtime in Click packages 2026-10-27 04:23:19 -03:00
waozi 61241cd23e Merge the Results test fix into the retained local history 2026-10-27 04:21:56 -03:00
waozi 66824eba50 Give the Results test the real leaderboard screen instead of a stub
Since Profile hosts the leaderboard, entity_host links the leaderboard
screen, so session-results-zi-test defined leaderboard_screen_enter twice.
The Results test now uses the real screen with a stub for the habit
editor's leave check, and only the tests that do not link the screen keep
its stub. This replaces a79ab2ac's foreign call from Profile, whose web
build ended release-ready's music test on Habits instead of Settings; the
app sources are those of 7ccb904f again.
2026-10-27 04:21:49 -03:00
waozi 66676ac3d3 Keep Focal packaging and active peer source together 2026-10-27 04:19:19 -03:00
waozi 87c9cd30a2 Serve the verified released web app on production Pages 2026-10-27 04:19:19 -03:00
waozi bd0c862387 Serve the verified released web app on production Pages 2026-10-27 04:19:18 -03:00
waozi d1ae67efc5 Carry the bundled runtime license notices in Click packages 2026-10-27 04:13:55 -03:00
waozi e23a6e6bd5 Keep Focal packaging and active peer source together 2026-10-27 04:13:55 -03:00
waozi dac6b67935 Carry the bundled runtime license notices in Click packages 2026-10-27 04:13:54 -03:00
waozi d1be47cd59 Restore Ubuntu Touch audio and sync with the device graphics stack 2026-10-27 04:09:31 -03:00
waozi 9a1a963056 Keep Focal packaging and active peer source together 2026-10-27 04:09:31 -03:00
waozi 6369cba877 Restore Ubuntu Touch audio and sync with the device graphics stack 2026-10-27 04:09:31 -03:00
waozi 1dae6f6c3a Integrate the Focal target repair without publishing pending peer package versions 2026-10-27 03:42:31 -03:00
waozi 36d6e6f94e Keep OpenStore repair and pending feature history together 2026-10-27 03:42:31 -03:00
waozi 63af557410 Retain SDL X11 handles required by the Raylib backend 2026-10-27 03:42:30 -03:00
waozi 24fd4c88fe Retain SDL X11 handles required by the Raylib backend 2026-10-27 03:42:30 -03:00
waozi 851759cfd0 Integrate the Focal target repair without publishing pending peer package versions 2026-10-27 03:23:18 -03:00
waozi 6e7ae2dd17 Keep OpenStore repair and pending feature history together 2026-10-27 03:23:18 -03:00
waozi dd12f56834 Verify the generated SDL Wayland configuration 2026-10-27 03:23:17 -03:00
waozi e098eaa686 Verify the generated SDL Wayland configuration 2026-10-27 03:23:17 -03:00
waozi 4147597f6b Integrate the Focal target repair without publishing pending peer package versions 2026-10-27 03:22:14 -03:00
waozi c642c13e21 Build current SDL for Focal and link the bundled runtime first 2026-10-27 03:22:14 -03:00
waozi d4b7252dac Keep OpenStore repair and pending feature history together 2026-10-27 03:22:14 -03:00
waozi 0333d4c12e Build current SDL for Focal and link the bundled runtime first 2026-10-27 03:22:14 -03:00
waozi 32e7bc5900 Merge the executable release script into the retained local history 2026-10-27 03:04:37 -03:00
waozi a78d7d43c4 Keep scripts/release.py executable 2026-10-27 03:04:31 -03:00
waozi 661f620340 Merge the leaderboard link fix into the retained local history 2026-10-27 03:04:08 -03:00
waozi 16161e4482 Let make release read a separate release-ready run
RELEASE_READY_OUTPUT names the run's outputs, as in release-ready.sh.
2026-10-27 03:03:46 -03:00
waozi a79ab2ace9 Keep the leaderboard screen out of the shared navigation unit
Profile reached the leaderboard by importing its screen into entity_host,
which every route imports, so tests with stub hosts linked the whole
screen and its stubs twice (session-results-zi-test). Profile now calls
InbeLeaderboardSnapshot as a foreign function, as the screen already
calls EntityHostOpenLeaderboard.
2026-10-27 03:03:46 -03:00
waozi 9bb025c1ea Keep OpenStore repair and pending feature history together 2026-10-27 02:56:32 -03:00
waozi 990d722a0f Integrate the Focal target repair without publishing pending peer package versions 2026-10-27 02:56:32 -03:00
waozi edbc3df6de Build current TLS libraries for the Focal OpenStore package 2026-10-27 02:56:31 -03:00
waozi 3434a9b4f2 Build current TLS libraries for the Focal OpenStore package 2026-10-27 02:56:31 -03:00
waozi 52940c7ccf Integrate the Focal target repair without publishing pending peer package versions 2026-10-27 02:39:58 -03:00
waozi 94fb71e80a Use the installed CMake for the Focal cross build 2026-10-27 02:39:58 -03:00
waozi 61d91d59b4 Keep OpenStore repair and pending feature history together 2026-10-27 02:39:58 -03:00
waozi 486386519c Use the installed CMake for the Focal cross build 2026-10-27 02:39:58 -03:00
waozi e8dece0969 Merge Inner Breeze 2.1.52 into the retained local history 2026-10-27 02:23:20 -03:00
waozi 7ccb904f89 Release Inner Breeze 2.1.52
Entity ca637d0 saves account aliases typed with capitals, an @ or spaces
and says when an alias is taken.
2026-10-27 02:21:42 -03:00
waozi 440e2ad60a Retain the scoped Apps compiler fix and current owner dependency graph 2026-10-27 02:17:15 -03:00
waozi 6af10f4305 Integrate only the Apps compiler pin while retaining current public source 2026-10-27 02:17:15 -03:00
waozi 4b93cad051 Pin the Apps compiler linkage fix for the Focal build 2026-10-27 02:17:15 -03:00
waozi ebc8678539 Use the Apps compiler linkage fix in the immutable Focal2.1.51 source 2026-10-27 02:17:15 -03:00
waozi a66e629d89 Let website deployments finish while new work continues 2026-10-27 02:06:14 -03:00
waozi a05c2cc469 Preserve active development with reliable website deployment 2026-10-27 02:06:14 -03:00
waozi 71ba093935 Let website deployments finish while new work continues 2026-10-27 02:02:46 -03:00
waozi 32a4fe7951 Record the trusted reference for fixed release publication 2026-10-27 01:55:28 -03:00
waozi c443e918c1 Retain fixed release publication guidance with current development 2026-10-27 01:55:28 -03:00
waozi 64a05aa0d7 Configure the pinned ARM64 Curl and scope the OpenStore upload key 2026-10-27 01:54:49 -03:00
waozi 4cc9eb0527 Integrate the Focal target repair without publishing pending peer package versions 2026-10-27 01:54:49 -03:00
waozi df1ea8d2e0 Keep OpenStore repair and pending feature history together 2026-10-27 01:54:49 -03:00
waozi ea2ef47384 Configure the pinned ARM64 Curl and scope the OpenStore upload key 2026-10-27 01:54:49 -03:00
waozi 287ae35c6a Record the trusted reference for fixed release publication 2026-10-27 01:45:53 -03:00
waozi e56a89e02d Integrate the Focal target repair without publishing pending peer package versions 2026-10-27 01:39:44 -03:00
waozi 37e356f3a5 Keep OpenStore repair and pending feature history together 2026-10-27 01:39:44 -03:00
waozi 4eea7ea6a8 Use current GNU Make with the Focal target SDK 2026-10-27 01:39:43 -03:00
waozi eb17374052 Use current GNU Make with the Focal target SDK 2026-10-27 01:39:43 -03:00
waozi dd4c75fdad Keep OpenStore repair and pending feature history together 2026-10-27 01:23:56 -03:00
waozi 0eade56b75 Trust only the GitHub workspace inside the Focal SDK container 2026-10-27 01:23:56 -03:00
waozi 64207c2ee0 Trust only the GitHub workspace inside the Focal SDK container 2026-10-27 01:23:56 -03:00
waozi 960f2970f4 Integrate the Focal target repair without publishing pending peer package versions 2026-10-27 01:23:56 -03:00
waozi 179c8856f9 Retain the Focal 2.1.51 candidate without changing current source 2026-10-27 01:17:53 -03:00
waozi 381885ac0d Retain the immutable Focal 2.1.51 candidate alongside current master 2026-10-27 01:17:53 -03:00
waozi 882c1a5cad Build the phone-tested Breeze 2.1.51 application for the Focal OpenStore runtime 2026-10-27 01:17:52 -03:00
waozi 2f09d2b87d Use the published shared Profile leaderboard package 2026-10-27 01:14:30 -03:00
waozi 9644918631 Include the portable VM runner in the Focal runtime linkage fix 2026-10-27 01:11:25 -03:00
waozi 8bcd313c7e Integrate the Focal target repair without publishing pending peer package versions 2026-10-27 01:11:25 -03:00
waozi 09ecd923b6 Keep OpenStore repair and pending feature history together 2026-10-27 01:11:25 -03:00
waozi 823ba12468 Include the portable VM runner in the Focal runtime linkage fix 2026-10-27 01:11:25 -03:00
waozi 9d27dca8f6 Integrate the Focal target repair without publishing pending peer package versions 2026-10-27 01:07:57 -03:00
waozi 44b6a2fcad Keep OpenStore repair and pending feature history together 2026-10-27 01:07:57 -03:00
waozi 39c50f66d2 Require the exact phone-tested app content before OpenStore upload 2026-10-27 01:07:56 -03:00
waozi 922a6f1de1 Require the exact phone-tested app content before OpenStore upload 2026-10-27 01:07:56 -03:00
waozi dd09473bcd Integrate the Focal target repair without publishing pending peer package versions 2026-10-27 01:06:41 -03:00
waozi eed7cf217c Pin the upstream Linux runtime linkage fix for Focal builds 2026-10-27 01:06:41 -03:00
waozi 1d09c705bc Keep OpenStore repair and pending feature history together 2026-10-27 01:06:41 -03:00
waozi 4d1efe0740 Pin the upstream Linux runtime linkage fix for Focal builds 2026-10-27 01:06:41 -03:00
waozi 0cdba05f53 Retain tested Breeze 2.1.51 release receipt with current CI repairs 2026-10-27 01:06:16 -03:00
waozi a84cd8afa8 Keep tested release and current development history 2026-10-27 01:06:16 -03:00
waozi b84d960652 Release Inner Breeze 2.1.51
Phone check: 57.7 fps, 0.06% late frames.
2026-10-27 01:05:48 -03:00
waozi a99db8da8c Merge tested Inner Breeze 2.1.51 release history 2026-10-27 01:05:48 -03:00
waozi b2e30beb3b Install native OpenSSL headers for the Ziran compiler bootstrap 2026-10-27 00:53:27 -03:00
waozi d74348c2e2 Integrate the Focal target repair without publishing pending peer package versions 2026-10-27 00:53:27 -03:00
waozi efad4d26f1 Keep OpenStore repair and pending feature history together 2026-10-27 00:53:27 -03:00
waozi 20c046dd9a Install native OpenSSL headers for the Ziran compiler bootstrap 2026-10-27 00:53:27 -03:00
waozi fcb30aa9cd Integrate the Focal target repair without publishing pending peer package versions 2026-10-27 00:43:44 -03:00
waozi 6dc330fa8b Keep OpenStore repair and pending feature history together 2026-10-27 00:43:44 -03:00
waozi fc00732f80 Keep the Ziran bootstrap native in the cross-compilation SDK 2026-10-27 00:43:41 -03:00
waozi b90a88ab86 Keep the Ziran bootstrap native in the cross-compilation SDK 2026-10-27 00:43:41 -03:00
waozi 4d7481f9ff Integrate the Focal target repair without publishing pending peer package versions 2026-10-27 00:42:08 -03:00
waozi 455011da1a Keep OpenStore repair and pending feature history together 2026-10-27 00:42:08 -03:00
waozi cfcba405c4 Use the Focal Clickable SDK for Ubuntu Touch builds 2026-10-27 00:42:07 -03:00
waozi ac2152980e Use the Focal Clickable SDK for Ubuntu Touch builds 2026-10-27 00:42:07 -03:00
waozi daf68f0d26 Integrate the Focal target repair without publishing pending peer package versions 2026-10-27 00:39:42 -03:00
waozi b0c165f575 Keep OpenStore repair and pending feature history together 2026-10-27 00:39:42 -03:00
waozi 2f210aba03 Build Focal-compatible Ubuntu Touch packages and verify their ABI 2026-10-27 00:39:41 -03:00
waozi 1130e9d353 Build Focal-compatible Ubuntu Touch packages and verify their ABI 2026-10-27 00:39:41 -03:00
waozi 192080f176 Fix habit linking and add diary and writing icons 2026-10-27 00:36:16 -03:00
waozi 7cbd20ce2e Retain fixed habit source and pending peer work 2026-10-27 00:36:16 -03:00
waozi 9604f7f0fb Follow Apfelwurm title screen before verifying first play 2026-10-27 00:36:11 -03:00
waozi 4229a0d4b7 Retain tested Arcade first-start automation 2026-10-27 00:36:11 -03:00
waozi 4dcb907a4d Follow Apfelwurm title screen before verifying first play 2026-10-27 00:36:11 -03:00
waozi 992047a992 Fix habit linking and add diary and writing icons 2026-10-27 00:27:29 -03:00
waozi 943e9c3aeb Retain fixed habit source and pending peer work 2026-10-27 00:27:29 -03:00
waozi efe04a3309 Keep habit link choices separate from the Done button 2026-10-26 23:57:59 -03:00
waozi b6b5f1bcfe Retain the verified habit picker layout candidate 2026-10-26 23:57:59 -03:00
waozi b299484555 Keep habit link choices separate from the Done button 2026-10-26 23:57:59 -03:00
waozi 4501b6a253 Link zlib in the Ubuntu Touch native package 2026-10-26 23:51:44 -03:00
waozi f0a06a89d4 Retain the fixed habit editor candidate alongside ongoing feature work 2026-10-26 23:51:44 -03:00
waozi 75e0ab0d02 Verify the Diary entry link persists with new writing icons 2026-10-26 23:51:44 -03:00
waozi ec558927b1 Verify the Diary entry link persists with new writing icons 2026-10-26 23:51:44 -03:00
waozi 856971a017 Integrate the OpenStore repair without publishing pending peer package versions 2026-10-26 23:50:47 -03:00
waozi c719f5b675 Keep OpenStore repair and pending feature history together 2026-10-26 23:50:47 -03:00
waozi 3fe36bd09b Link zlib in the Ubuntu Touch native package 2026-10-26 23:50:46 -03:00
waozi d8f2bcd265 Link zlib in the Ubuntu Touch native package 2026-10-26 23:50:46 -03:00
waozi bc55cc6241 Move Inner Breeze leaderboard into the shared Profile 2026-10-26 23:47:03 -03:00
waozi bdf5fcee7a Use a compact stroke pen symbol in habit choices 2026-10-26 23:46:39 -03:00
waozi ee47be692b Keep detailed pen icon within source line limits 2026-10-26 23:45:52 -03:00
waozi e263d1144e Fix habit linking and add diary and writing icons 2026-10-26 23:43:53 -03:00
waozi 55571c9031 Keep phone-install's output to its own steps 2026-10-26 23:30:47 -03:00
waozi 906e9b8cbc Integrate the OpenStore repair without publishing pending peer package versions 2026-10-26 23:23:53 -03:00
waozi 7fa80efed6 Keep OpenStore repair and pending feature history together 2026-10-26 23:23:53 -03:00
waozi 2c1a22d655 Build Ubuntu Touch from current Ziran ARM64 sources 2026-10-26 23:23:52 -03:00
waozi e7e3f265a3 Build Ubuntu Touch from current Ziran ARM64 sources 2026-10-26 23:23:52 -03:00
waozi cc30f15cc5 Install a committed revision on a phone in one step
scripts/phone-install.sh (make phone-install) builds the debug APK from one
commit in release-ready's container, signs it with this machine's debug
key so the installed app keeps its data, installs it on the Pixel or the
Moto, checks the phone holds that exact APK and opens it from the
launcher.
2026-10-26 23:21:26 -03:00
waozi 5aaab789c5 Let a fixed-commit release-ready run use its own outputs
RELEASE_READY_OUTPUT=build/release-ready-NAME keeps a second run's build,
home and lock apart, so a debug build from a fixed commit can run while
another check holds build/release-ready.
2026-10-26 23:16:00 -03:00
waozi 4f3c22eae5 Hold Practices 1.6.0 and Habits 1.3.5 until their phone check
055eff1f numbers the new packages for the phone build. Until they pass a
phone check, master keeps the published versions so that a push does not
publish them to the node.
2026-10-26 23:15:07 -03:00
waozi 9b4393e512 Wait for active Shovey board input after onboarding 2026-10-26 23:08:28 -03:00
waozi 44ce02ed71 Retain the tested 2.1.50 candidate alongside ongoing feature work 2026-10-26 23:08:28 -03:00
waozi 055eff1f32 Release Practices 1.6.0 and Habits 1.3.5 packages 2026-10-26 23:06:17 -03:00
waozi c8bc917775 Wait for active Shovey board input after onboarding 2026-10-26 22:59:28 -03:00
waozi 4d61bfec0e Link habits to Diary, offer a practice's habit on its first session, and count into each workout exercise
Habit links are now a small registry (src/habits/habit_links.zi): each
practice checks a day by a saved session, and Diary checks a day with a
real entry. Linking a habit to Diary brings its earlier entry days along.
Another app can link by adding its bit there and reporting its days.

A new profile still starts with the Meditation habit. Other habits are no
longer made automatically: with Habits installed, a practice's first
saved session, when no habit links it, asks on its results whether to
make it a habit (host interface 37).

The 7-Minute Workout's get-ready and rests show the next exercise to get
into position for and count down in plain numbers, then Go, spoken as
three, two, one, go. Squats hold the arms straight out at shoulder height.
2026-10-26 22:57:14 -03:00
waozi 3967555601 Install the required font gate dependency for OpenStore builds 2026-10-26 22:49:16 -03:00
waozi 8b1050caa1 Dismiss Shovey onboarding before testing downloaded game movement 2026-10-26 22:19:10 -03:00
waozi 3ebfb8964c Release Inner Breeze 2.1.50
Moto check waived by owner: Owner in this originating conversation: good now you can relase it skip moto testing
2026-10-26 21:40:29 -03:00
waozi 13768728ba Retry interrupted package response bodies during compatibility tests 2026-10-26 21:08:00 -03:00
waozi 5707266d5e Retry transient transport failures in package compatibility tests 2026-10-26 20:45:31 -03:00
waozi 0bf3339102 Resolve the declared packages in the practice download test 2026-10-26 20:32:20 -03:00
waozi 2d52fd695e Link SHA-256 in standalone tests and verify Arcade on the Moto 2026-10-26 20:09:59 -03:00
waozi 8a084a891f Award coins for recent backdated habits 2026-10-26 19:08:08 -03:00
waozi 75a75dcc50 Remove completed app migration todo 2026-10-26 17:35:02 -03:00
waozi 7e63bc4f04 Read explicitly shared game progress in verified add-ons 2026-10-26 04:52:18 -03:00
waozi 5527db97d4 Restart the current breathing phase before stepping back 2026-10-26 03:11:07 -03:00
waozi 5f6c98425d Exercise all new habit options before creation 2026-10-26 03:01:32 -03:00
waozi ae13dd4a2e Bring up the Arcade check's own loopback, and give the node download test a make target
The release check's container has no ip tool, so the isolated download
check could not reach its local game server.
2026-10-26 02:59:29 -03:00
waozi 8a6d3e0040 Keep complete game frames while new sprites load 2026-10-26 02:55:08 -03:00
waozi f8eda9f016 Show Arcade's covers two or three a row on phones, and log why a download does not install
Pins Apps with the phone cover grid and trusts its controller; collections
that pack the previous controller keep opening. A verified download that
fails to prepare now says which part did not open.
2026-10-26 02:25:04 -03:00
waozi 9952c904c5 Supply the trusted controller during collection install validation 2026-10-26 02:07:23 -03:00
waozi 0e921a0f78 Save custom level collections in shared account records 2026-10-26 01:44:16 -03:00
waozi a8d5d6b5a8 Check the node's Arcade as the downloads harness it is, and link SHA-256 in the browser key test
The compatibility check fetches the published Arcade's art and games from
the node and runs the cover-library check, which serves the library art and
answers Apfelwurm's controls question; the isolated test keeps its loopback.
The device key's browser build links the crypto package's SHA-256.
2026-10-26 01:38:30 -03:00
waozi 8bda8b7641 Draw Arcade's covers while their art downloads
Pins Kryon and Apps with the pending-art fix, and Daochi Client with its
replayed-transfer recovery, which the interrupted upload check needs.
2026-10-26 01:09:52 -03:00
waozi c4539a55e9 Keep image key borrows clear of mutable asset lookup 2026-10-26 01:02:21 -03:00
waozi 7f4a0d9deb Release Inner Breeze 2.1.49 2026-10-26 00:47:53 -03:00
waozi 944b698fcd Hold back paged account sync until its Daochi client codec is published
The paged sync needs daochi_client/record_codec, which is not committed in
the Daochi client package yet, so Breeze cannot build it from its lock.
The change is kept in backup/pending-sync-paging/ for its own release.
2026-10-26 00:47:38 -03:00
waozi 0e7cfd587c Merge remote-tracking branch 'origin/master' 2026-10-26 00:36:19 -03:00
waozi 0f8fd26cca Open Arcade as a launcher under one megabyte
A collection that does not pack the Apps controller opens with Breeze's
own reviewed controller, also on the preparation worker, and its covers
arrive as one separate art download published with its games. Pins the
Apps host with both and the shared-code toolchain, and Kryon's browser
missing-file fix. The 2.1.49 notes name the smaller Arcade and its plain
covers.
2026-10-26 00:36:07 -03:00
waozi 0dfdd231cf Trust the reviewed Apps controller and keep earlier collections opening
Breeze trusts the current reviewed controller and keeps opening
collections built before add-on downloads. Arcade's UI test covers
separate game downloads, and storage tests can use a local Daochi client.
2026-10-26 00:35:59 -03:00
waozi e04951514c Show the account alias as written, or the compact account key, in the Apps header 2026-10-26 00:35:52 -03:00
waozi a7670fcdd9 Sync account records in pages that fit the node's request limit
Batches leave room for page selectors within the node's 1 MiB JSON limit,
optional packed variants cannot overflow a batch whose identity form fits,
and a resumable page finishes before sync changes modes.
2026-10-26 00:35:52 -03:00
waozi c82f426424 Publish a collection's separate library art with its games
A catalog that lists its art as one separate ZX, as Arcade's does, gets
that file staged, checked against the catalog digest and published like
an unpacked game.
2026-10-26 00:29:27 -03:00
waozi b1855677fd Integrate automatic game package publication workflows 2026-10-25 23:59:51 -03:00
waozi 89993721d4 Publish each new Arcade release to the node automatically 2026-10-25 23:57:31 -03:00
waozi 62b3f935da Integrate published separate-game publisher repair 2026-10-25 22:47:28 -03:00
waozi 56f6ba33a9 Keep initial game frames covered until pictures settle 2026-10-25 20:24:19 -03:00
waozi 960ef43327 Verify and publish the separate games named by a signed catalog 2026-10-25 20:03:05 -03:00
waozi fae1492f77 Check separate game archives before signing node releases 2026-10-25 20:03:05 -03:00
waozi 6c076d95c2 Use cover download sizes in Arcade collections 2026-10-25 16:42:27 -03:00
waozi c90b37f1ff Support the shared Arcade cover library and portable Apfelwurm 2026-10-25 16:28:41 -03:00
waozi 58a4b5a53b Build the default Apps controller in clean Android releases 2026-10-25 14:21:12 -03:00
waozi 2e6ae1c155 Pin published app downloads and completion-only progress 2026-10-25 14:10:54 -03:00
waozi ec5f98729d Include app record policy in storage law mutation fixture 2026-10-25 13:46:44 -03:00
waozi 72a71e05b7 Stage the reviewed Apps controller into Android packages 2026-10-25 13:41:37 -03:00
waozi 6d5087fc33 Keep Android background ticks outside practice UI frames 2026-10-25 13:32:14 -03:00
waozi 493de309a2 Keep the download regression window inside its private display 2026-10-25 13:26:18 -03:00
waozi 3b46c147ec Keep catalogs open while separate games are missing 2026-10-25 13:17:16 -03:00
waozi 52c71db3c4 Add host32 game downloads and restore app download dialogs 2026-10-25 12:37:17 -03:00
waozi 64a050fbc6 Verify separate node game files against the published catalog 2026-10-25 11:49:03 -03:00
waozi 32d87470b3 Verify migrated Practices controls in isolated desktop fixtures 2026-10-25 04:05:43 -03:00
waozi b3f9df7003 Keep visible games clear of the initial loading cover 2026-10-25 04:02:50 -03:00
waozi 1cded33f1f Move remaining Practices screens into their package 2026-10-25 03:51:25 -03:00
waozi 36dbf728d6 Use the shared loading animation alongside actual progress 2026-10-25 03:47:11 -03:00
waozi 587a2ac55e Strip legacy board state before encrypting account progress 2026-10-25 03:39:59 -03:00
waozi 159f38841a Test that game synchronization carries unlocks and never device boards 2026-10-25 03:33:17 -03:00
waozi 33965188c5 Use one current deposit quote for Dew top-up conversions 2026-10-25 03:32:40 -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 9e57756051 Show chapter titles in Library contents and reader 2026-10-25 03:27:12 -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 b8382e11bb Games and pages no longer blink when an app finishes opening
Any change of the asset generation during the frame's content step dropped
every decoded image, and an app finishing its start in the background, or
a practice pack opening or being put away, changed it. Every picture on
screen, a running game's included, then loaded again over several frames
on a phone. Assets that merely became readable now only make readers look
again (an image that could not load yet is read again on its own), and a
practice pack installed, removed or replaced reloads only the practices'
pictures, through Kryon's InvalidateRaylibAssetsUnder.
2026-10-25 03:08:00 -03:00
waozi abd572806b Lock Kryon with typefaces that bake only common glyphs when registered; the module test counts opens after the apps finish opening 2026-10-25 01:59:18 -03:00
waozi 0f516f8511 Practice downloads wait until the Practices app has opened; AppsFinishOpening waits for every app still opening, as the module test does before reading their assets 2026-10-25 01:45:04 -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 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 86de4a7087 Dew at 10,000 per XMR: Tai Chi shows 100 Dew until the node's price arrives
The node now credits 10,000 Dew per XMR and multiplied every balance,
price and reward by ten. Breeze reads amounts and the ratio from the node,
so only its offline Tai Chi price, the screenshot fixtures and the rate
tests change. The 2.1.46 notes tell people why their balance grew.
2026-10-24 23:55:11 -03:00
waozi b13900bc15 Check packaged practice images against the practices checkout 2026-10-24 23:44:16 -03:00
waozi 434c99f697 Rename bundled app sources and build targets from cells to apps 2026-10-24 23:17:45 -03:00
waozi 284f57e6c2 package-paths.sh reads module_roots without tomllib on Python before 3.11, so the Ubuntu 22.04 Linux package builds find the app's sources again 2026-10-24 23:17:45 -03:00
waozi 8eaa763f81 Build Android from the download rules' new place in src/practices 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 1cfa13a6ec Test the habit editor's host with the schedule its page sends 2026-10-24 23:17:45 -03:00
waozi a687881c94 Habits and Practices draw their screens in their own packages
Habits' list with each habit's week and calendar, its day with the entry
dialog, the editor and the statistics now come from the Habits package, and
Practices' home, the Wim Hof, Meditation, Patterns and Astral Projection
manuals, Meditation's and Astral Projection's Customize pages and the
results after a practice come from the Practices package, so they can change
without an app update. The host keeps the data, the rules and the storage,
gives each page its frame and does what the page asks. The pages draw
exactly as before.

Kryon now hosts segmented controls, form sections, toggle sizes, lines,
circles, rings, triangles, sliders and progress bars for bundles and lets a
bundle import up to 256 host calls; plot hosts its band chart. Host
interface 30; Habits 1.3.0 and Practices 1.4.0.
2026-10-24 23:17:45 -03:00
waozi e7c90e9d25 Dew in every build: balance, plans, practices and game rewards; Monero top-up only outside the Play build, the only place a dollar value shows; games claim node rewards through entity.dew; Dew gifts paused 2026-10-24 23:17:45 -03:00
waozi ae356e0a46 Open the store tagline with the practices instead of Lumi 2026-10-24 23:17:45 -03:00
waozi 6863c3c3b3 Node app release: sign and publish an app another repository built and checked, such as Arcade, with the package key from this repository's secrets 2026-10-24 22:38:31 -03:00
waozi 6cf048cfee Fix stale sync test baselines and missing test targets 2026-10-24 15:50:01 -03:00
waozi b3246778b7 Prepare Inner Breeze 2.1.46 2026-10-24 15:13:32 -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 b9cdf450bf Combine Wim Hof time signals in one dropdown 2026-10-24 14:44:29 -03:00
waozi 0904848f1d Give the bookshelf reader a new Library package release 2026-10-24 14:30:26 -03:00
waozi e55930f241 Share canonical account game progress with nested apps 2026-10-24 14:20:06 -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 f6d1d21def Space friend rows and show their saved profile pictures 2026-10-24 13:41:10 -03:00
waozi 25010f89ab Give Library a wooden bookshelf and a paginated reader 2026-10-24 13:41:03 -03:00
waozi 441a6744fe Restore the Apps controller digest that the locked packages build
CI builds the Apps controller from the locked Kryon and passed with this
digest. The digest from 7c7e9428 came from a local build that used the
live Kryon working tree, so CI's package builds stopped at the check.
2026-10-24 13:00:11 -03:00
waozi 7c7e942815 Trust the Apps controller built with the current Kryon lock
Moving Kryon in b75ccabb changed the Apps controller bytes without
re-pinning their digest, so make native stopped in prepare-package-assets.
2026-10-24 12:53:25 -03:00
waozi 9e1918bfe9 Merge tested Inner Breeze 2.1.45 release history 2026-10-24 12:52:47 -03:00
waozi 81d54265fe Release Inner Breeze 2.1.45
Phone check: 57.7 fps, 0.0% late frames.
2026-10-24 12:52:47 -03:00
waozi f7ef8cd889 Take the phone check's Moto screenshots directly again
The owner's screenshot consent covers desktop screenshots only; ADB
phone screenshots in app checks need no popup. This reverts c0f81874.
2026-10-24 12:50:43 -03:00
waozi b75ccabbdc Use Kryon shared Android frame pipeline
Delegate native composition to the common app/render host, keeping web serial. Adopt the Moto-verified image decoder and pacing revision; preserve the reader font support included in that upstream history.
2026-10-24 06:43:22 -03:00
waozi 49f7cd2d0a Link Windows builds with winpthreads, which parallel regions use
Kryon's image preview and JPEG decoding run #parallel regions, whose
Ziran runtime starts POSIX threads, so the Windows link failed on
pthread_create. Package checkouts are cached per runner image too: the
Apps controller build compiles its own Ziran inside them, and an Ubuntu
22.04 job could not run one built on 24.04.
2026-10-24 05:09:26 -03:00
waozi 293459cde5 Test sync against the Daochi server that stores entity records
The pinned server, from 10-22, predates the entity records and photo
chunks Breeze now syncs, so its requests failed. The server generates
its Go with Ziran since 143a229, so its build gets Breeze's toolchain.
2026-10-24 05:05:38 -03:00
waozi c0f8187426 Ask the owner before the phone check reads the phone's screenshots
The check keeps each Moto screenshot as a private pending copy and shows
it in Harmony's screenshot consent window. Only approved images are
checked for a blank screen and resume shift; a discard, close or timeout
fails the check and deletes the pending copies.
2026-10-24 04:35:34 -03:00
waozi 6b77b8dcfc Play Shovey inside Arcade in the Arcade UI test, now that Arcade carries only Shovey 2026-10-24 04:32:05 -03:00
waozi c183881164 Bring the release gate's checks up to date
Three tests still built Ziran's removed C++ target. The Telegram fixture
now expects Diary among a new profile's apps. The web smoke opens the
first-run route that exists now, #/audio_setup. The release overlay can
remove read-only directories, such as a node backup's data, from its
private copy.
2026-10-24 04:31:03 -03:00
waozi a5b4eec148 Raise the synced record fields for photo preview sizes
Node storage counts preview.size since 14c57367, so a device that kept
media records from an older version downloads them again once.
2026-10-24 04:31:03 -03:00
waozi 87f9d22559 Describe Breeze 2.1.45: native apps, one loading animation, short profile names and the tray fix 2026-10-24 04:04:03 -03:00
waozi 522b728a90 Make the tray's first entry show or hide the window, and name the tray breeze
On panels where clicking the icon only opens the menu, such as Xfce, the
first entry was a greyed-out status line, so a hidden window could not
be brought back. It is now Show or Hide; the status stays in the tooltip.
The tray id is breeze, which Kryon also uses as the program name the
panel lists, instead of breeze-linux-x86_64.
2026-10-24 04:00:47 -03:00
waozi c2f53f5109 Lock Ziran 3b54282c, which Kryon's parallel image code needs, and regenerate the app codec
Kryon e6a3509d scales previews and decodes JPEGs in #parallel regions
that write through their own slots and slice windows. Ziran 8e36629e
rejected those writes, so every locked build failed in image_preview.zi.
The app codec follows Kryon e6a3509d's widget records.
2026-10-24 04:00:37 -03:00
waozi bc045875e7 Use Entity's short account names: name DaochiClient's entity module where Breeze imports it, and pin Entity f26a99b 2026-10-24 03:58:59 -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 509f3b58a8 Cover photo entity records in the account restore check
Since 14c57367 an account restore also queues each photo kept in the
account's entity data, an eighteenth kind of record, so CI failed on
the old count. The check now expects it, queues a photo stored under its
64-hex digest, and leaves out other names, unreadable values and another
account's photos.
2026-10-24 03:49:05 -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 ea65808328 Publish Library, Photos and Radio in the ZX format current hosts download 2026-10-24 02:27:10 -03:00
waozi 6a5f639395 Run apps as native code with Ziran's native ZX engine
Lock Ziran 8e36629e, which compiles bundles to machine code in memory on
Android and Linux, and Kryon c3840d2e, which finds cached textures faster.
On the Moto, Shovey inside Arcade moves at 53 fps instead of 21.6, and
every built-in app starts natively.

Ziran no longer has a C++ target, so the toolchain and the behaviour
tests stop building C++ variants.
2026-10-24 02:10:11 -03:00
waozi a5ec0669ba End the entity photos test without a trailing blank line 2026-10-24 00:30:41 -03:00
waozi 032ac3264f Follow the device language on first run and ask once about voice guidance
New profiles no longer start with a Choose Language screen. They use the
device's language, or English when Inner Breeze has no translation for it,
and keep following the device until a language is picked in Settings, which
stays the only language control. Profiles that already chose a language
keep it.

The multi-choice Optional audio step becomes one question, "Add voice
guidance?", with the total size: Download turns on the guide and practice
voices and fetches them in the background, Not now leaves both off without
asking again. Per-voice controls stay in Settings and each practice. The
language screen, its Back path, the audio setup step machine and its saved
step, and the strings only they used are removed.
2026-10-24 00:22:14 -03:00
waozi cbcf115c3a Start new installs with Diary installed, like Lists and Leaderboard
A new profile, or one that never chose its apps, comes with every app Inner
Breeze ships: Lumi, Habits and Practice pinned, and Lists, Diary and
Leaderboard ready under them. A Diary choice still at its untouched default
becomes installed, as Lists and Leaderboard did; a removal stays removed.
2026-10-24 00:14:19 -03:00
waozi 2b3dc7967f Run Kryon's Android process setup at start
Inbe runs its own Android loop, so it missed Kryon's setup: TMPDIR, which
natively compiled apps need for scratch files, and the test driver that
lets a debuggable build be driven by widget labels on a phone.
2026-10-24 00:13:01 -03:00
waozi 14c57367d5 Keep each photo once in the account's private entity data, shared by every app
Diary and Photos keep their photos as records of the account's entity data
(Daochi docs/entity-data.md): entity.photos.<sha256>, synced as
private.entity.v1.photos in Inbe's own signed v6 sync and sealed in Daochi's
record profile with the account's photos key, the same bytes libsodium writes.
A photo's bytes travel as sealed chunks of at most 8 MiB at
/api/v1/blobs/entity/, so the same picture is stored once per node for every
app of the account.

Photos released versions kept move there by themselves: library photos once
their bytes are on the device, and Diary files that an entry includes, named
and dated as before. An old copy goes only after the sync node confirmed the
photo's record and chunks and they came back whole; then the old records name
the photo and keep every field for released versions, which read them through
2027-10-24, the Diary file leaves the device, hex chunks shrink, and the old
copies are deleted from each node. Any failure keeps the old copy for a later
pass, and a delegate device moves nothing.
2026-10-23 23:46:53 -03:00
waozi 07486d6d54 Lock DaochiClient's chunked entity data and Apps' publisher for either package format
DaochiClient 9976953 seals the account's entity data in 8 MiB chunks keyed by
their index. Apps 8cf8a1d publishes a node app only when it advances past its
newest release in either format; updating it pins Kryon master dae0401f, whose
only source change is the floating DirectionPad.
2026-10-23 23:46:43 -03:00
waozi 9cda3cc49a Publish and verify ZX packages, and leave apps released before ZX on their own packages 2026-10-23 22:47:16 -03:00
waozi 7d0b1e34ca Draw still screens and held figures cheaply on phones
Android now draws into the retained frame target like desktop, so a frame
whose paint matches the last one is presented again instead of rasterized.
A figure that holds still (a guide's pose chart, a paused practice) keeps
its meshes and replays them instead of solving the pose every frame, and
the bundle runtime is compiled for speed. On the Moto the Sun Salutation
guide went from 11.6 fps at 95% CPU to the 15 fps idle rate at 25% CPU,
and the practice from 81% to 66% of a core.
2026-10-23 22:05:12 -03:00
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 4551dca454 Keep the integrated Sun Salutation guide clean on desktop 2026-10-23 18:38:57 -03:00
waozi bdc8b21eda Pin shared Apps presentation options while retaining collection trust 2026-10-23 18:17:47 -03:00
waozi 4276dbbf75 Sun Salutation drawn like the studio's 3D woman: a seat under a draped top
A three.js body lab (design/tai-chi/sun-salutation.html, tools/sun-salutation.mjs)
plays the app's exact Sun Salutation motion, exported by
render-sun-salutation-live.py --motion, on the studio's skinned 3D woman in
the app's look. There the long top drapes over the hips and a seat
ellipsoid sits inside it, which looks natural in every pose. The app now
draws her the same way: the slimmer top at the Jade woman's length over one
seat ellipsoid on the pelvis, in place of separate buttock shapes.
2026-10-23 17:46:18 -03:00
waozi 8675cbdee3 Use the shared Apps screen for the Inbe launcher 2026-10-23 17:44:24 -03:00
waozi 685bbc7a39 Sun Salutation: buttocks as rounded domes
The ring-built seat looked like a block when her hips were high and
tipped. Each buttock is now an ellipsoid on the pelvis, behind and a
little below its hip, so it shows one smooth curve into the thigh from
any side, and lies over the farther leg.
2026-10-23 17:16:39 -03:00
waozi 9cf4c7bb85 Sun Salutation: a human seat, built in rings like the top
The trousers' seat is a loft of rings along the spine, fullest just below
the hips and set back behind them, rounding under into the fold above
the thighs, so it curves like a body in every pose instead of a ball.
It lies over the farther leg, whose darker tone no longer crosses it,
and the top's hem follows its curve.
2026-10-23 17:11:57 -03:00
waozi 7fe1badd65 Note the smoother Sun Salutation in 2.1.44 2026-10-23 17:02:35 -03:00
waozi 2aa0db2ebb Sun Salutation: a rounder seat that shows in plank 2026-10-23 17:02:12 -03:00
waozi 73fda991b1 Sun Salutation: a gentle seat, cobra on the tops of the feet, a full shadow
The seat rounds just past the hip into the thigh instead of bulging. In
cobra the feet roll over onto their tops, toes pointing back, the hips
rest on the floor and the legs lie long; the hips slide forward before
they settle into it and lift before they press back out of it, so the
knees stay off the floor. A foot turned past standing on its toes now
rolls about the ankle onto its top. The shadow also reaches under the
hands and head when they come near the floor.
2026-10-23 16:59:46 -03:00
waozi c20c95a908 Sun Salutation frames her like the workout and shows a real seat
Prayer is seen a little from her right with her feet in view, the other
poses from her right side turned enough to show her face, with the
workout's camera tilt. Her top ends at the hips, so her seat rounds into
each thigh in the trousers as she bends.
2026-10-23 16:48:28 -03:00
waozi 215e1b4d4e Sun Salutation moves like Tai Chi and the workout, without snaps or slides
The woman is the Jade figure of Tai Chi and the workout in the chosen
auburn colours, cut slimmer, with rounded hips, finer hands and feet and
upright prayer hands. No joint snaps: elbows turn gradually as the hands
go flat, knees stay just soft at full reach, and every floor pose keeps
the hands and feet on one spot. Stepping feet lift, the body leads and
the head follows, a hold keeps breathing, Mountain stands straight, and
the camera turns only while she stands. A live offscreen renderer
exports the app's own drawing.
2026-10-23 16:43:56 -03:00
waozi 8f229619ff Offer host interface 28, which Arcade's cover collection needs
Arcade 0.7.x requires host 28 for its hosted carousel (Kryon 0af2fae4) and the reviewed carousel controller, which Inbe already trusts (f493b059); Inbe only never declared it, so no released Inbe could install Arcade from the node.
2026-10-23 15:16:16 -03:00
waozi b6df02ff01 Remove functions and translations nothing uses
Sixty functions that no code, test, host or other repository references, and the six translations only they used (837 lines). The full test suite passes; functions that C code or tests reach by their module-prefixed names stay.
2026-10-23 14:56:32 -03:00
waozi 667bb87505 Count the pre-push checks as tooling, not app content 2026-10-23 14:24:46 -03:00
waozi 5fc49412a0 Expect the longer storage retries in the web storage test
The web build now retries a vanished file up to eight times; the pre-push check runs this test whenever the web boot code changes.
2026-10-23 14:24:30 -03:00
waozi 3220589102 Start the local release check's container without a session keyring
Each container's session keyring counts against the account's 200 kernel keys, which long-lived sessions fill; then no container starts (crun: Disk quota exceeded).
2026-10-23 14:15:53 -03:00
waozi 1118412652 Version Inner Breeze 2.1.44
Lists with wrapping chips, pull-down finished items, List settings and profile pictures; profile pictures shared with friends; the Linux program is named breeze. Every app package is versioned for the release.
2026-10-23 14:09:56 -03:00
waozi adbb3c3116 Stop the always-red runs and check pushes locally first
A pushed version that is already released no longer starts the forty-minute release builds; CI still tests every push. A package version waiting for the next release is a notice in App packages instead of a failure. The web build keeps saving its storage while practice packs install (up to about ten seconds of retries), and the package compatibility check asks the node again while a deploy restarts it. The pre-push hook now runs the quick checks that match the pushed files (versions, translations and fonts, UI APIs, app bundles, workflows, script syntax); make pre-push-check runs them by hand.
2026-10-23 14:08:39 -03:00
waozi 2bc7e5fe65 Show people's own profile pictures in Lists
Inner Breeze now sends the profile picture chosen in Profile to the account's node, in the background once per new choice, so friends receive it with the friend list. Lists draws each person's picture in List settings and in the names under the lists, this account's own for You, and keeps the first letter for anyone without one. Pictures the node kept from older clients map to the same pictures.
2026-10-23 13:08:44 -03:00
waozi 7ea822f21c Manage each list in List settings, as the owner chose from four proposals
The gear on the selected list opens List settings: the name with Save, the people with access with avatars and their roles, an invitation by name with the access it gives, and for the owner Delete list behind a question. The Share dialog and the Share and Edit icons under the field are gone. A shared list names its people under the lists, and an item swiped right is edited in its own row, where Escape leaves it.
2026-10-23 12:48:02 -03:00
waozi e05e70e0f2 Check that each list shows its own items with many lists 2026-10-23 12:13:20 -03:00
waozi 8881ea1b8d Leave the finished count out of Lists
No line counts the finished items and no heading names them; a pull down on the items still shows and hides them.
2026-10-23 12:08:48 -03:00
waozi a0c9c6d515 Run the app's own package when a saved one is the same release
A phone that had downloaded the node's root before installing that release's APK kept running the saved root, so a build that changed an app without a new root version never showed its change: the owner's Pixel stayed on the old Lists. At startup a saved root or app now replaces the bundled one only when it is a newer release.
2026-10-23 12:08:48 -03:00
waozi 39b0f211a9 Show lists as wrapping chips and pull the items down for finished ones, as in 1List
Every list keeps its whole name however many there are: the chips wrap onto more rows (scrolling past three) and the last chip makes a new list. The Open and All tabs are gone; finished items stay hidden until a pull down on the items shows them above the open ones, and another pull hides them. Share and Edit sit under the field beside a line that counts the finished items. Lists 1.1.11.
2026-10-23 11:55:18 -03:00
waozi 40e9fd3c1a Name the program breeze and move existing launcher shortcuts to it 2026-10-23 11:54:46 -03:00
waozi b2126cfac2 Point source, release and update links at github.com/waozixyz/breeze 2026-10-23 11:54:46 -03:00
waozi 949644bfda Give the list tabs their own row and keep them where a swipe leaves them
Share, Edit and New list move beside the Open/All filter, so the tabs use the full width. A tab is scrolled into view only when the selection changes, so swiping back to the first lists no longer jumps to the selected one. Undo takes a line under the items while it is offered.
2026-10-23 11:36:16 -03:00
waozi 0183eef6b7 Give launcher test apps their usual startup time again 2026-10-23 10:56:42 -03:00
waozi 8283367948 Merge tested Inner Breeze 2.1.43 release history 2026-10-23 10:38:29 -03:00
waozi d90cd22a74 Release Inner Breeze 2.1.43
Moto check waived by owner: Owner waived the Moto check for 2.1.43 on 2026-10-23 after its screenshot review expired unanswered; CI and the local release gate passed for this commit.
2026-10-23 10:38:29 -03:00
waozi 6fd9ed80db Keep git maintenance out of the temporary repositories tests remove 2026-10-23 04:36:10 -03:00
waozi 6843eb1703 Use the Ziran linker that reads each retained function once
Generating a whole test program took about seven minutes per test and
now takes seconds, with the same output.
2026-10-23 04:07:23 -03:00
waozi 654c61a94c Build the Android glue from the build tree so F-Droid reproduces the release 2026-10-23 03:54:18 -03:00
waozi 789f37a80c Give the local sync check the cmake program, not Emscripten's cmake folder 2026-10-23 03:31:07 -03:00
waozi 3a9ecf8175 Keep F-Droid's native debug symbols with its build evidence
When F-Droid's library differs from the release only in its build ID,
its debug strings show which build path leaked in.
2026-10-23 03:29:18 -03:00
waozi 9bcec4bf59 Fail to start instead of running without a visible window
Kryon's WindowVisible refuses SDL's offscreen fallback, which opened when
no display was reachable and left Inner Breeze running invisibly.
2026-10-23 02:47:23 -03:00
waozi 4293a65203 Release Inner Breeze 2.1.43
Inner Breeze 2.1.42's packages are already on the node, so the changes
since then ship under new versions of every package.
2026-10-23 02:42:03 -03:00
waozi b0e206ae13 Leave the visual suites out of CI and the release checks
make visual-test still runs them locally.
2026-10-23 02:39:36 -03:00
waozi 7378b08576 Stop checking the removed Plan 9 mkfile for the version 2026-10-23 02:32:58 -03:00
waozi e5357e9f36 Let Kryon map the NDK's build-relative path for every Android app
Kryon's reproducible-path helper now maps the spelling Ninja uses for
native_app_glue, so Inbe drops its own copy of that mapping.
2026-10-23 02:30:00 -03:00
waozi e846d674d3 Remove Plan 9 support
The Plan 9 build, its libdraw desktop backend, its stubs and tests, and
the WAV copies of the built-in sounds it needed are gone. Every desktop
build uses Kryon's raylib backend.
2026-10-23 02:30:00 -03:00
waozi 1306dadcb0 Wait for the Habits table scene's tables before reading its habits 2026-10-23 02:24:11 -03:00
waozi a18cba0561 Keep prepared SQL statements for reuse instead of parsing every query again 2026-10-23 02:23:48 -03:00
waozi 8fd10be9b8 Count the Sun Salutation chart rows as s32 2026-10-23 02:14:07 -03:00
waozi 50bb57a3f8 Give the 7-Minute Workout's jumping jacks a calmer pace 2026-10-23 02:13:35 -03:00
waozi 951dee58f0 Show the whole Sun Salutation sequence as a chart in its guide and keep its settings to what can be changed 2026-10-23 02:12:20 -03:00
waozi 7385fd4928 Map the NDK's build-relative path so F-Droid reproduces the release library
Ninja names native_app_glue relative to the build directory. That path
encodes where the checkout and the NDK sit, so F-Droid's clean build got a
different GNU build ID than the signed release APK and its signature could
not be copied.
2026-10-23 02:11:24 -03:00
waozi 17bc092425 Merge the sync review pointer fix already on GitHub 2026-10-23 02:09:39 -03:00
waozi 5ea6e18370 Merge the test display and busy-runner fixes already on GitHub 2026-10-23 02:08:36 -03:00
waozi ed58b9c5a7 Draw a plain top in one piece so its bands no longer show as stripes 2026-10-23 02:07:27 -03:00
waozi cac3ecdb11 Rest the pointer outside the sync review before comparing its footer
The kept test display leaves the pointer over the action button the
previous case pressed, so its hover state changed the first capture.
2026-10-23 02:04:59 -03:00
waozi 1d9d3d2d41 Give the desktop practice window its own sound, Breath and double-tap controls
On Linux the detached practice window only knew where a click landed, so
any click outside maximize and close restored the practice. It now reads
its own pointer from Kryon and draws real controls: the cue and music
volume buttons with their sliders, the held breath's Breath button, and a
double tap that breathes when set to. Maximize and close are buttons, and
a plain tap on the picture still returns to the practice.
2026-10-23 02:03:22 -03:00
waozi 7e78a760a2 Draw Sun Salutation like the classic charts: front-facing prayer, profile poses, a backbend salute, a higher cobra and a plain, seamless top 2026-10-23 02:01:35 -03:00
waozi e12186ea0c Keep each test display alive between app launches
Xvfb resets when its last client disconnects. An app started during that
reset lost its display and kept running without a window, so UI tests
waited for a window that never came. Every test display now uses -noreset.
2026-10-23 01:50:27 -03:00
waozi 58d683882c Finish a list item with a tap, edit it with a swipe right and delete it with a swipe left, as in 1List 2026-10-23 01:38:28 -03:00
waozi cac3fb7498 Delete a list item with a trash icon beside Done and leave Edit with an empty field 2026-10-23 00:58:47 -03:00
waozi c836b04878 Allow a busy runner to finish released practice content work before checking removal 2026-10-23 00:55:04 -03:00
waozi 15f302c9ae Give launcher test apps time to start beside the other visual suites 2026-10-23 00:50:15 -03:00
waozi 7405e20250 Show the Apps page's last quiet frame again instead of rerunning its controller every frame 2026-10-23 00:44:52 -03:00
waozi b6286e9766 Open a launched app's page while its package still prepares 2026-10-23 00:39:52 -03:00
waozi 10ae1b9102 Run the visual gate's palette matrix in parallel parts and timing suites last 2026-10-23 00:39:36 -03:00
waozi a1bb437195 Keep video and promo working material out of the repository 2026-10-23 00:32:29 -03:00
waozi b532496100 Run the release and package workflows when their tests are repaired 2026-10-23 00:11:07 -03:00
waozi 439e8f6b87 Match the Lists link test stub to the package validator's preparation argument 2026-10-23 00:08:04 -03:00
waozi 23d9fec02f Allow a slow CI runner when checking that cancellation never waits for a blocked hash 2026-10-23 00:06:22 -03:00
waozi 086839ac48 Keep Sun Salutation knees and elbows aligned through transitions 2026-10-23 00:03:50 -03:00
waozi f493b059f8 Trust the reviewed Apps carousel while retaining older collections 2026-10-23 00:00:59 -03:00
waozi d069d36ef8 Publish this device's Wim Hof and meditation figures for friends and remove the terminal backend 2026-10-22 23:59:26 -03:00
waozi ef3c4d01a7 Keep wheel and touch scrolling inside an embedded mini page 2026-10-22 23:48:52 -03:00
waozi 0b807d3d70 Update Profile navigation regressions and run independent visual suites in parallel 2026-10-22 23:43:19 -03:00
waozi 7f4e21f405 Keep Android text input fixtures aligned with numeric field support 2026-10-22 23:36:52 -03:00
waozi ea55b0f5cf Preserve fixed-source CI checks when master advances 2026-10-22 23:33:33 -03:00
waozi 6713fd0c6b Prepare app packages away from animation frames 2026-10-22 23:29:01 -03:00
waozi 000415628f Require matching green CI before promoting checked release artifacts 2026-10-22 23:25:53 -03:00
waozi 7020c96143 Read mini mode through Kryon's shared mini_embed module 2026-10-22 23:19:32 -03:00
waozi b8d4171e6e Reuse fully verified release artifacts when only the phone receipt changes 2026-10-22 23:19:03 -03:00
waozi 45259540d6 Bind the Profile sync status call inside its module 2026-10-22 23:05:40 -03:00
waozi da4dc79271 Read Profile loading state through the existing host boundary 2026-10-22 23:02:58 -03:00
waozi d54a999375 Validate SDK tooling changes through the release workflow 2026-10-22 22:50:54 -03:00
waozi 6d6daecde8 Preserve preinstalled Android SDK licence ownership during recovery 2026-10-22 22:49:54 -03:00
waozi 87006ce55c Use the official F-Droid container SDK path explicitly 2026-10-22 22:47:19 -03:00
waozi f2e3245f5f Verify releases in a separate Android instance and describe Profile improvements 2026-10-22 22:44:18 -03:00
waozi f83b44fd3e Recover corrupt Android SDK downloads and start release builds earlier 2026-10-22 22:43:10 -03:00
waozi 22d642b7b8 Show Dew, data and activity inside Profile, cache the Dew balance, rank only Wim Hof and meditation, and announce achievements top-right 2026-10-22 22:38:00 -03:00
waozi 2e8d852a93 Release tested commits without blocking ongoing development 2026-10-22 22:18:11 -03:00
waozi ae943cdee6 Test fixed release commits while master keeps changing 2026-10-22 22:07:58 -03:00
waozi 0e59dc3b95 Complete local CI coverage and remove obsolete documentation 2026-10-22 21:51:13 -03:00
waozi 0eb9a9410b Scroll the browser character picker into view before selecting 2026-10-22 21:35:32 -03:00
waozi 3ebb112543 Keep practice starts while installed content opens 2026-10-22 20:53:41 -03:00
waozi f10fd12747 Show installed apps and avoid redundant package reload checks 2026-10-22 20:19:06 -03:00
waozi 82b57a81ab Check navigation identity without loading private keys 2026-10-22 20:04:40 -03:00
waozi 4353f4a321 Keep the SQL regression fixture aligned with session details 2026-10-22 20:00:07 -03:00
waozi 43131468fa Preserve practice session details and restore account navigation 2026-10-22 19:50:02 -03:00
waozi 783faaa2e7 Remove the per-native-library release size limit 2026-10-22 19:47:54 -03:00
waozi 3df2be4c30 Load additional app icons without blocking navigation 2026-10-22 19:19:49 -03:00
waozi 438b128604 Repair browser and clean-package release checks 2026-10-22 19:19:38 -03:00
waozi 92b0f2194e Keep navigation responsive during content verification 2026-10-22 18:55:41 -03:00
waozi 99e7a0e014 Keep browser swipe input within the normal gesture duration 2026-10-22 17:59:09 -03:00
waozi d53b31266a Shrink Android native code within the existing release size budget 2026-10-22 17:59:09 -03:00
waozi a61f9b51b0 Keep Android package views backed by stable native asset buffers 2026-10-22 17:27:34 -03:00
waozi fa9c8acab2 Use Entity for the shared profile and preserve the host account 2026-10-22 17:23:13 -03:00
waozi 38829ad43d Guard browser animation against repeated canvas allocation 2026-10-22 17:16:01 -03:00
waozi e95dc01f59 Pin the tested browser mesh allocation fix 2026-10-22 17:07:46 -03:00
waozi 6a2121b2d7 Give catalog apps their icons and share Android controller assets 2026-10-22 16:56:48 -03:00
waozi 4ddd4fb5c0 Keep active release notes separate from backups 2026-10-22 16:34:03 -03:00
waozi 12c1296f65 Bootstrap F-Droid checkout tools and parallelize complete release checks 2026-10-22 16:23:34 -03:00
waozi f434b3c2b5 Prepare app bundles before clean Android native builds 2026-10-22 16:14:58 -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 e5e6856854 Check clean F-Droid builds before publishing and simplify the README 2026-10-22 15:37:08 -03:00
waozi c57f354fff Keep browser practices smooth in Inner Breeze 2.1.42 2026-10-22 15:24:41 -03:00
waozi ceb2681d1a Release Inner Breeze 2.1.41
Phone check on the moto e6 play: 57.7 fps, 0.0% late frames, app content 948559c7e996.
2026-10-22 14:13:57 -03:00
waozi 6eeb4c9390 Reduce browser practice animation work 2026-10-22 13:23:38 -03:00
waozi 49f5a8da44 Allow the complete release test suite to finish
Keep every unit, visual and package compatibility check required, with enough time for the combined hosted job.
2026-10-22 12:02:37 -03:00
waozi c7ad6f484e Release Inner Breeze 2.1.40
Phone check on the moto e6 play: 57.7 fps, 0.03% late frames, app content e6077d4d7b19.
2026-10-22 12:01:41 -03:00
waozi 9b521ce9d3 Keep practice animations smooth on slower browsers 2026-10-22 11:09:37 -03:00
waozi dd29ec8a8d Release Inner Breeze 2.1.39
Phone check on the moto e6 play: 57.7 fps, 0.06% late frames, app content a935bb2ae875.
2026-10-22 10:06:06 -03:00
waozi 3e728778cb Check earned and spent coins together in Shop activity 2026-10-22 09:15:55 -03:00
waozi 061772b8ea Finish Shop sync, app navigation and browser rendering fixes 2026-10-22 08:23:53 -03:00
waozi 1cb38ece5c Record new phone receipts without taking unrelated changes 2026-10-22 06:33:09 -03:00
waozi 9a2a659afb Keep Sun Salutation guides visible 2026-10-22 06:28:06 -03:00
waozi 451b2944a4 Release Inner Breeze 2.1.38
Phone check on the moto e6 play: 57.7 fps, 0.0% late frames, app content 6968888d06c1.
2026-10-22 05:35:30 -03:00
waozi 8b7f16fb94 Check current Apps rows and preinstalled Leaderboard in visual tests 2026-10-22 04:38:01 -03:00
waozi bb006dcac6 Build only the target phone architecture during release checks 2026-10-22 04:19:06 -03:00
waozi dcad21a08d Check app preferences against the current preinstalled apps 2026-10-22 04:10:23 -03:00
waozi dc8aad00e6 Match the sync SQL fixture to the current habit schema 2026-10-22 03:49:03 -03:00
waozi 19df1922bb Pin Kryon image compression for shared photo imports 2026-10-22 03:42:04 -03:00
waozi 0f59b6ee0b Support zero habit goals and signed occurrence coins 2026-10-22 03:41:45 -03:00
waozi 4c0676c44b Make Photos available outside the beta catalog 2026-10-22 03:27:30 -03:00
waozi 0eb07c9340 Accept successful syncs with no changed records 2026-10-22 03:08:52 -03:00
waozi 95021f223c Fix font-loading freezes and clarify account storage 2026-10-22 02:57:45 -03:00
waozi ab1fde7b4b Verify connected sync and automatic transfer recovery 2026-10-22 02:44:11 -03:00
waozi 78083bbeb3 Use Daochi Client for resumable account sync 2026-10-22 02:39:59 -03:00
waozi 7d3de4ea7e Require explicit Android local game previews 2026-10-22 02:17:19 -03:00
waozi c100820544 Keep Apps open and remove duplicate Profile navigation 2026-10-22 02:16:43 -03:00
waozi 47c46837ca Show app movement controls only while editing 2026-10-22 02:01:51 -03:00
waozi 5e439147a8 Keep download gesture scheduling on the drawing thread 2026-10-22 01:32:44 -03:00
waozi c2d4fd11d8 Start account sync on connection and simplify app movement 2026-10-22 01:28:50 -03:00
waozi 1cc71df94b Keep every app row aligned around drag handles 2026-10-22 01:01:34 -03:00
waozi f872c63413 Describe sync retries without reporting a disconnected account 2026-10-22 00:54:55 -03:00
waozi 9ff7aa982a Add launcher views and friend IDs, and restore app discovery consent 2026-10-22 00:52:40 -03:00
waozi 800197460c Check launcher actions in the new scrollable list 2026-10-22 00:24:30 -03:00
waozi a5e3fc7277 Synchronize the 2.1.38 store notes 2026-10-22 00:20:12 -03:00
waozi 9bf368ad36 Make Apps a scrollable launcher list with hold-to-edit ordering 2026-10-22 00:18:54 -03:00
waozi 143a9a03c2 Close dialogs with Escape before handling page shortcuts 2026-10-22 00:10:42 -03:00
waozi d7f1ac1a5d Verify every shop row across layout and drawing passes 2026-10-21 23:53:01 -03:00
waozi 2dbad4bbb0 Unify Profile activity and give every achievement its own icon 2026-10-21 23:19:24 -03:00
waozi 6e81ba155a Refresh running node apps after updates and handle game Back actions 2026-10-21 23:16:02 -03:00
waozi 1166366a64 Keep every sharing permission choice visible above the people list 2026-10-21 22:52:31 -03:00
waozi c0e0509f11 Share lists with full ownership, read-only access and name suggestions 2026-10-21 22:49:36 -03:00
waozi 51a6fb7e63 Pin release dependencies for account backups and hosted swipes 2026-10-21 22:25:59 -03:00
waozi 87f4301dff Save Android account backups through the system document picker 2026-10-21 22:20:55 -03:00
waozi 8ddcf0b5f0 Save item deletion before leaving the Lists frame 2026-10-21 22:10:17 -03:00
waozi 81ba8f4967 Preserve shared lists and finish shop, game and reader navigation 2026-10-21 22:00:54 -03:00
waozi 6517833b70 Give the shop's borrow card its own widget key 2026-10-21 00:32:48 -03:00
waozi f34eb4d072 Show shop activity, borrowing, and calmer shared lists 2026-10-21 00:10:48 -03:00
waozi 6dbffd14de Rank only apps with boards, Arcade by game, and name who shares each list
Leaderboard offers Practice once a practice is installed and an installed app once its games report a score, such as Arcade with Shovey's solved levels; achievement boards are gone. Games report through the leaderboard service under their verified identity, and only those numbers are published. Lists names who a list is shared with, who is still invited, or who shared it, and shares with one icon; Invitations appears only while some wait.
2026-10-20 20:31:18 -03:00
waozi 495f107cf4 Group Leaderboard by installed app and individual practice 2026-10-20 19:46:23 -03:00
waozi 95ad66c611 Release Diary locks before native helpers exit and verify the store 2026-10-20 19:46:23 -03:00
waozi 1a30ab32b2 Keep late release-note edits in the final unpushed release commit 2026-10-20 16:45:13 -03:00
waozi da07101476 Verify the current Profile and three-step practice guide in release checks 2026-10-20 16:39:01 -03:00
waozi f096970587 Keep habit screenshot fixtures stable with the Workout preset 2026-10-20 15:47:27 -03:00
waozi 7ab1bf1e2f Verify all three habit presets across import and sync 2026-10-20 15:42:07 -03:00
waozi 0da13760d6 Build the selected Inner Breeze film with Three.js and timed captions 2026-10-20 15:32:22 -03:00
waozi 4d51eb0c78 Keep download errors concise in every language 2026-10-20 15:28:46 -03:00
waozi e68900bffa Prepare Inner Breeze marketing base frames for review 2026-10-20 15:15:49 -03:00
waozi d57ea3783f Complete practice narration, profile badges and sharing improvements 2026-10-20 15:04:06 -03:00
waozi 5d106d4cb6 Align practice visuals and keep Astral Projection open-ended 2026-10-20 11:21:10 -03:00
waozi 7acb7e1303 Read the Habits table test's day columns after widening the name column, which moves them 2026-10-20 02:20:39 -03:00
waozi 5e2eec45b2 Draw Habits' day dots and habit icons flat, with a thin rim, so they stay clear in tight rows 2026-10-20 02:17:30 -03:00
waozi 9a70153015 Link every module the Lists screen reaches in its test, so new Kryon modules such as frame replay resolve 2026-10-20 02:14:03 -03:00
waozi a632a2523f Link the app's SQLite into the sync recovery test so new database calls in storage resolve 2026-10-20 02:14:03 -03:00
waozi 129dd3a606 Release Inner Breeze 2.1.37 2026-10-20 02:13:29 -03:00
waozi bc2c1c0053 Draw an app's widgets in its own palette when it asks, as host interface 24 2026-10-20 02:12:19 -03:00
waozi 6fb993fe07 Keep Library's page buttons below the scrolling chapter, and go Back to where it opened 2026-10-20 02:01:17 -03:00
waozi c229a472ab Let the web smoke count the practices a swipe cycles through
Practice lists every practice under its tab, and a swipe moves through all
of them across the tabs before wrapping. The carousel check assumed five,
so it failed once the 7-Minute Workout and the tabs arrived. It now swipes
until the first practice comes back, failing on any practice seen twice
before that, on a carousel of one, or past twelve swipes; locally it
cycles through all seven.
2026-10-20 01:59:50 -03:00
waozi 7bddd83410 Give Astral Projection its own cover: resting body and its floating double by the lake 2026-10-20 01:58:04 -03:00
waozi 62a02b5ca4 Expect the node to refuse paid practice packs when checking a publish 2026-10-20 01:56:46 -03:00
waozi ce885ae2d8 Swipe between Practice's tabs and give Astral Projection How to and Customize
A swipe across a practice's card moves through every practice in the tabs'
order: past a tab's last practice it goes on to the next tab, and from
Workout back to Meditation, so Yoga, Martial arts and Workout, with one
practice each, change tab with each swipe. The arrows under the card still
page within the tab.

Astral Projection's card now has Start, How to and Customize, as the other
meditation practices do. How to is a two-page guide to the 40-minute
session and its settings, in every language. Customize chooses the
background music and its volume, and turns the voice narration on or off
with the language it speaks, remembered and backed up as
astral_projection_narration_language. A practice recorded in one voice,
such as Astral Projection, offers no female or male choice.
2026-10-20 01:48:10 -03:00
waozi 2bb0042bf4 Pin the Kryon and Self that draw Profile in the app's theme
Kryon e0a33349 lets a hosted app ask for its host's theme colours, and
Self 357a71d draws the profile's panels with them instead of fixed greens.
2026-10-20 01:45:09 -03:00
waozi 2f6f1f57d7 Record the 2.1.36 phone check on the Moto 2026-10-20 01:38:28 -03:00
waozi 1cd172fcd4 Install an app from the node when its local bundle cannot run
A debug phone kept a stale arcade.zib from a test in its files folder, so
Inbe treated Arcade as a local bundle: it never downloaded the node's
Arcade and could not open the local one. A local bundle that cannot run
now gives way to the node's copy.
2026-10-20 01:34:39 -03:00
waozi d6fd1f34cb Log each step of a node app install
A node app install requested nothing on one phone; the log now shows
whether it was marked, opened or local, and whether its download waits.
2026-10-20 01:28:05 -03:00
waozi 0cdbc46e66 Log each condition behind an app's download request
The download request for a node app was refused on one phone without a
reason; the log now names the slot, its app, and whether it is available,
installed, pending, found and in temporary data.
2026-10-20 01:20:42 -03:00
waozi 312d2cb67a Log where each Apps action goes on the device
A tap on an app's download symbol that did nothing on a phone left no
trace; each Apps action now logs whether it was refused, dropped or
requested, and why.
2026-10-20 01:14:10 -03:00
waozi c8635c68b0 Take the Uninstall button off practice cards
The owner asked to remove the large Uninstall pill at a downloaded
practice's card corner, and with it the question it asked.
2026-10-20 01:11:10 -03:00
waozi e4c6cb3b74 Read the node's apps again whenever Apps opens
The list of apps the node offers was read at most once every six hours,
and the time of that read is saved, so an app the node had just
published, such as Library, stayed missing from More apps for hours,
restarts included. Opening Apps now reads the list again when the last
read is over a minute old, and an open Apps reads it every ten minutes.
2026-10-20 01:07:36 -03:00
waozi 11d0f0ef4a Keep signed pack grants out of the download log
The download log wrote each address in full, including the signed grant a
paid practice pack downloads with. It now logs the address without its
query or anything after the pack's file name.
2026-10-20 01:07:24 -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 4762b95a3b Show Lumi's unchanged chat again instead of running it every frame
With a practice in its small window the page draws every frame, and
Lumi's program ran each time for a chat that had not changed: half of
each frame on the Moto, where Lumi stayed near 14 frames a second. A
frame that no touch, key, wheel or typing reaches, while Lumi neither
waits for an answer nor animates, now runs through Kryon's
HostedAppRunFrame, which shows the last such frame again while Lumi's
reads answer as they did. Such a frame keeps the clock it was recorded
with, which Lumi uses only to animate. Pins Kryon 0d524712, which also
removes fourteen unused UI modules.
2026-10-20 00:52:39 -03:00
waozi 8efebc2027 Go back to the contents with the title bar's Back in the Library test
Xvfb sometimes drops a sent Escape, which left the test on its chapter.
2026-10-20 00:48:04 -03:00
waozi 7016d1342e Download an app someone installs during a practice too
A running practice, even in its small window, held every package request,
so a tap on an app's download symbol did nothing until the practice ended.
A requested install now downloads meanwhile; automatic checks and the
heavy verify-and-install still wait for the practice to end, so its frames
stay smooth.
2026-10-20 00:47:38 -03:00
waozi 9fc7e5eb3d Log each app and practice download's start, end and failure on Android
A download that failed on a phone left nothing in its log, so a refused
app install could not be told from a tap that never started one.
2026-10-20 00:43:07 -03:00
waozi f557faab11 Keep an installed app installed after a restart
Installed apps open only when they are shown, so after a launch their
package has not been read and the Apps card showed the download symbol
again. Saved leaves that matched the present package at launch now count
as on this device, so the card keeps its menu and a tap opens the app.
2026-10-20 00:28:23 -03:00
waozi 8dbe5c9447 Add Library, a node app for reading the Tao Te Ching
Library keeps books to read a chapter at a time: its shelf starts a book
or continues at the chapter last read, its contents open any chapter,
and a chapter turns to the previous or next one. Its first book is the
Tao Te Ching in a new English rendering made from J. H. McDonald's
public-domain translation, checked against James Legge's and the Chinese
Wang Bi text. The words are in every language Inner Breeze has; its
name is app_name_library, as for other node apps. Not yet registered or
published on the node.
2026-10-20 00:24:23 -03:00
waozi a714659e78 Drop five locale keys only Kryon's removed defaults named
theme_app and the theme_style_* labels were named only by Kryon's
locale_defaults, which Kryon removed as unused; Inner Breeze shows none
of them.
2026-10-19 23:58:17 -03:00
waozi 55c43639e2 Follow the classic Sun Salutation, with lunges and switching legs
Sun Salutation now moves through the classic sequence: from the fold one
leg steps back into a low lunge with its knee down, then plank, knees,
chest and chin, cobra and down dog, and a lunge with the other knee down
on the way back up. The hands stay beside the feet from the fold until she
stands, and every other round steps back with the other leg, from a second
set of frames. The four steps whose recorded lines no longer fit say only
the breath until new lines are recorded.
2026-10-19 23:54:15 -03:00
waozi 4c5f2c8623 Pin Ziran's stable record layouts, fixing a crash at start
About one start in twenty crashed on the Lumi screen: a host return
filling a record read a layout the VM's growing table had freed. Ziran
130b263 keeps each layout where it was made.
2026-10-19 23:22:55 -03:00
waozi 01a2b32e61 Pin Ziran's quieter collection and its failure locations
Ziran e9c0f7a leaves a small outermost call's temporaries to the batch
collection, so app screens no longer mark all their state after every
frame, and 5c85212 says which function and statement a failed run
stopped in. Neither changes the program format.
2026-10-19 22:58:43 -03:00
waozi e5da1cb464 Keep Lumi's chat smooth while a practice runs in its small window
Each frame Lumi searched every visible message for web links, byte by
byte and building a small list at each byte: nearly half its frame,
which a practice in the small window runs at 60 frames a second. Each
visible row now keeps its words as drawn and their links together, and
finds them again only when the row changes; the reply cache it replaces
did the same for formatting alone. The link check looks for the h
before comparing a scheme.
2026-10-19 22:58:03 -03:00
waozi d426c307a9 Draw Profile in the dark theme when Inner Breeze is dark
Inner Breeze never told the shared Self profile the theme was dark, so
Profile and its achievements stayed white in every dark theme.
2026-10-19 22:27:34 -03:00
waozi 5717e07ba8 Offer Arcade to download instead of installing it for Chess players
An account that had Chess no longer gets Arcade installed: More apps lists
Arcade with the download symbol, like any app not on this device, and Chess
with its saved and friend games goes once the user installed Arcade.
2026-10-19 22:20:37 -03:00
waozi 7836d31079 Keep Mini from saving, tell each release once, and notice other writers
Mini saves nothing, so it no longer records achievement facts. Lumi
remembers the version it last announced and does not add the release
message again on every open. The settings cache revision follows
SQLite's data version too, so it notices commits from another process
on the same profile. The tests follow today's app.
2026-10-19 22:18:22 -03:00
waozi bca1b68ef3 Set up Java 21 for the release's tests
Robolectric's Android 16 sandbox needs Java 21, which CI's test job
already sets up; the release's ran on the runner's Java 17 and failed.
2026-10-19 22:18:22 -03:00
waozi d91bf982df Offer packages built with today's Ziran only to hosts that load them
The Ziran VM loads only programs in its own format, which became 58 on
2026-10-18. Released apps up to 2.1.34 (host 11) cannot load packages
built since, yet Lists and Leaderboard still declared hosts 11 and 5.
Host 12 is now the oldest interface, and every package declares it at
least, so older apps are not offered packages they cannot load and this
host passes over the node's format-55 releases instead of failing on
them.
2026-10-19 22:18:22 -03:00
waozi 09e9a8e170 Show icons in Properties and keep Apps open while Lumi loads
The Apps controller reads at most 64 icon choices and shows none when
offered more; the shop's symbols made Inbe offer 76, so Properties now
offers the app's own and Inbe's first 63. The host also refuses a card
whose picture it cannot read, and with it the whole Apps screen: Lumi's
picture comes with its package, which opens after the first frame. A
card's picture is now named only once it can be read.
2026-10-19 22:18:22 -03:00
waozi 054e60a98f Release Inner Breeze 2.1.36 2026-10-19 21:35:44 -03:00
waozi 498ad9f43d Show the download symbol on Apps cards for apps not on this device
Apps tells the shared controller which apps are not on this device and
which are downloading; their cards show the download symbol, which starts
the download, and read Downloading meanwhile. The controller with this
symbol is now trusted, and collections published with the earlier one,
such as Arcade, keep opening.
2026-10-19 21:35:44 -03:00
waozi 30262918e3 Give the tests that load apps without Radio silent playback
Photos, Cells, account activity, settings, sync recovery and Telegram
sign-in tests load node apps, which now declare Radio's background
playback instead of importing it.
2026-10-19 20:56:02 -03:00
waozi fbe297c911 Show a download symbol and progress on apps not yet on this device
An app from the node that was added but whose package was not here showed
the options dots, and nothing showed while it downloaded. Its card now has
the download symbol, which downloads it, and reads Downloading with the
percent until it is here.
2026-10-19 20:22:16 -03:00
waozi be56541465 Bring the tests up to date with today's app
Astral Projection runs 40 minutes, habits store their coin level, package
modules are generated under their package prefix, and the Elist link test
names the modules the cells now use. Tests that load apps without Radio's
playback get silent stand-ins.
2026-10-19 20:22:15 -03:00
waozi 9d56ac9a98 Keep Radio and the theme catalog out of modules that do not need them
Audio, music, apps and Lumi's guide imported Radio's background playback or
the settings screens, which bring in curl, SQLite and every style package,
so small programs built from them stopped linking. They now declare the few
functions they call. Lumi's pump waits for Lumi in the frame, the Diary
document call builds its value directly, and Kryon, Daochi Client and the
generated codecs build cleanly with strict warnings.
2026-10-19 20:22:15 -03:00
waozi 15c50827e8 Open an app tapped while it downloads once it is installed
Tapping an app the node offers that was not on this device yet started its
download and showed nothing; it stayed closed when the download finished.
It now opens by itself once installed, as long as Apps is still open.
2026-10-19 18:47:30 -03:00
waozi f84969d9f6 Pin today's Kryon and Apps and note 2.1.36's faster start 2026-10-19 18:41:01 -03:00
waozi b36c369288 Test installing Arcade and playing its Chess from the node 2026-10-19 18:40:31 -03:00
waozi 71dcef992b Describe Lumi's optional online AI in the privacy policy and README
The policy now says what Lumi sends online and where, how feedback and
Telegram messages are kept, and how to stay offline or withdraw; the
README points to it and adds contributing and security reporting.
2026-10-19 18:40:31 -03:00
waozi b17231c892 Keep the receipt of Astral Projection's narration takes 2026-10-19 18:40:31 -03:00
waozi 75f5e3fa92 Make Astral Projection a 40-minute guided session with English narration
Twenty spoken passages in a slow, soft bedtime voice lead from relaxing in
bed to the visualization, with the text in every language.
2026-10-19 18:40:04 -03:00
waozi 5ef895b141 Draw the push-up habit icon as one clear body line 2026-10-19 18:39:27 -03:00
waozi cd8e6e30c8 Resize the habit names column by dragging its border
A handle at the border between the habit names and the days widens or
narrows the names column, from 72 to 320 points, and the width is kept
across launches and sync reloads. The handle sits left of the border, so
it never covers today's day name.
2026-10-19 18:39:27 -03:00
waozi 3af2a7e384 Scroll Habits with a resting finger instead of moving or opening a habit
On a phone a habit lifted to move after 0.4 s, and a finger resting before
a scroll often reached it; a touch the list took over to scroll could also
open the habit. A habit now lifts after 0.6 s, the hold is noticed while
the finger rests, and only a short press that stays in place opens it.
2026-10-19 18:34:36 -03:00
waozi 3f5fb0a736 Draw the first frame while Lumi is still opening
Lumi's program takes a slower phone over a second to read and check, longer
than all the other apps together, and every launch waited for it. Lumi now
keeps opening on its own thread through the first frames, counts as
installed meanwhile, and anything that needs it waits for it; launching on
Practice draws about half a second sooner.
2026-10-19 18:24:17 -03:00
waozi e172509bb9 Open an app without reopening every game it holds
Opening Arcade opened and hashed each of its games again to list the
installed ones, about four seconds on a slower phone. When the games
saved for this release are already known, the app opens without them.
2026-10-19 17:33:23 -03:00
waozi 90d63ed5fd Open installed apps when they are shown, not at startup
Inner Breeze opened every installed app, such as Arcade with its games,
and hashed its package up to three times before drawing anything: twenty
seconds of black screen on a slower phone. Apps now open when a screen
shows them, with each package hashed once. The installed games each app
holds, which achievements need, are saved with its release, so later
launches open nothing.
2026-10-19 17:28:09 -03:00
waozi 35dba71ef0 Read and check every cell's program at once at startup
Inner Breeze opened its seven bundled apps one after another before the
first frame, over three seconds on a slower phone. They now open together,
each on its own thread, and the first frame comes about a second and a
half sooner.
2026-10-19 17:28:09 -03:00
waozi 4e26863e09 Draw Kryon's icons from textures in Inner Breeze's window
Inner Breeze opens its raylib window itself, so it turns on Kryon's icon
textures after InitWindow: each icon is one image instead of hundreds of
rectangles. On a Moto e6 the habit shop with its grid of symbols went
from 95 to 44 ms a frame, the shop from 22 to 15 ms and the habit list
from 27 to 23 ms.
2026-10-19 16:50:12 -03:00
waozi 9eacd67c37 Pin the fast SHA-256, remembered app digests and icon textures
Daochi Client hashes whole SHA-256 blocks in place, the Apps host
remembers the digests of the bundles nested in a verified collection and
trusts a root Inbe has just hashed, and Kryon can draw SVG icons from
textures.
2026-10-19 16:49:45 -03:00
waozi 69b3eb67a3 Check that Habits draws the shop's buy dialog too 2026-10-19 16:31:33 -03:00
waozi faaae9a143 Test that habit shop rewards leave the device only sealed
A saved and bought reward goes out in the private habit-rewards and
habit-coins collections, and its name never appears readable in the
upload.
2026-10-19 16:29:28 -03:00
waozi 3b48530e07 Give rewards 28 more symbols, from weed and beer to games
The habit shop offers rewards of every kind, so its grid of symbols has
cannabis, a cigarette and a mug of beer, drawn in MingCute's style, and
MingCute's wine glass, wine, drinks, fast food, sweets, TV, phone,
laptop, sofa, bath, party, beach, diamond, clothes, shoes, lipstick, car,
rose, mushroom and campfire, as icons 48 to 75. Habits can use them too.
This also carries the push-up icon (47) from the habit table work, which
the new numbers follow.
2026-10-19 16:29:23 -03:00
waozi 8974aa1279 Draw the habit shop in the Habits app
The shop was compiled into Inner Breeze, so every change to it needed a
new APK. Habits now draws the page and its buy dialog (shop_view.zi) from
a frame the host gives it, and asks the host to save, delete or buy a
reward. The host checks each request against what is stored: a reward is
bought only at its stored price and only when the coins cover it. Kryon's
new SvgIcon and TextHeight draw the coin and symbols and size the
paragraphs. Host interface 22; Habits 1.2.0.
2026-10-19 16:29:13 -03:00
waozi 8a2933de0f Pin today's faster Kryon, Apps and Ziran
Kryon finds glyphs and hosted app assets by hashing, keeps the lines of
recent texts, flushes Android's draw batch less often and draws a hosted
game's TileMap in one host call. Apps tells a collection's controller
when its catalog is unchanged, and Ziran's interpreter resolves plan
literals and operators once.
2026-10-19 16:26:53 -03:00
waozi 16e9a2e806 Let apps publish level collections and find others' through the node
Apps in a collection, such as the Pushy Editor in Arcade, can now ask
Inbe's publications service to publish a collection of levels for
everyone, for friends or for the author alone, to withdraw it, to find
collections by an author's alias or public id, and to fetch one. The
author is always the signed-in account, and each app reads only the
answers to its own requests.
2026-10-19 14:55:14 -03:00
waozi d25420e61d Check the account keys from the settings cache
Every frame asked whether this device holds an account by reading its
public and private keys, values too long for the settings cache, so each
frame queried SQLite and copied kilobytes: a twentieth of a Lumi frame on
the Moto. The cache now remembers a long value as present without its
bytes, and the account check asks only whether each key is present.
2026-10-19 14:34:13 -03:00
waozi a0c05e5e97 Rescan achievements only when their sources change
Any write moved the database revision, so a Wim Hof session saving its
activity every ten seconds made the phone rescan every achievement source
and rerun all 160 queries, about a tenth of each frame on the Moto.
Temporary triggers now count only writes to the tables and records
achievements read. The parsed facts table also no longer outlives a
changed fact or its pass, which left later progress reads stale.
2026-10-19 14:22:03 -03:00
waozi 6ab90b9051 Measure the Diary's date with Kryon's TextWidth
The Diary package placed its day arrows by measuring the date with
font_metrics, which a portable package may not call, so every bundle
failed validation and Inner Breeze would not start. Kryon's new
text_measure asks the host instead. Diary and the host need interface 21,
and Kryon is pinned to the commit that keeps the Apps controller's bytes.
2026-10-19 13:24:21 -03:00
waozi 15e912414c Put the Diary's previous and next day arrows right beside the date 2026-10-19 13:09:07 -03:00
waozi 1f09252092 Center the coins and shop on the habit count and its progress bar 2026-10-19 13:00:50 -03:00
waozi 6fd8771924 Open Apps without re-reading its whole catalog twice
Opening Apps blocks that frame's input, and the catalog marked every card
disabled for it, so the Apps controller re-parsed the catalog on the way in
and again a frame later: about 0.4 s on the Moto each time. The host
already rejects actions from a blocked frame. Entering Apps now costs
30 to 120 ms on the Moto.
2026-10-19 13:00:50 -03:00
waozi 25acaa8329 Install app collections such as Arcade from the node
A collection's publisher came from the release installed in its slot.
On a first install there is none yet, so checking the downloaded
collection always failed and Arcade stayed downloaded but never
installed. The check now uses the download's own verified release.
2026-10-19 12:59:11 -03:00
waozi 01204b183f Give each shop reward a symbol chosen from a grid
A square button before the reward's name shows its symbol; a tap opens
every habit icon in a grid under it, and the rows and the buy dialog
show the symbol too. New rewards start with a gift. The icon set gains
gift, film, game, cake, pizza, shopping bag, airplane, ticket and
headphones. Rewards keep their symbol in a new column and in their
synced record, so devices download their records again once.
2026-10-19 12:51:59 -03:00
waozi 2f4d0d551d Add an Easy habit level that earns half a coin a day
Medium stays one coin, so a five-coin reward is still five medium days.
The wallet counts half coins and shows a leftover half as ½. Easy is the
first choice in a habit's difficulty, and the shop explains it in every
language.
2026-10-19 12:22:00 -03:00
waozi 0d3a229ea9 Trust the Apps controller built from the rewritten pins
Package ids come from commit hashes and the controller's symbol names
carry them, so Apps 2eed1f2 with the rewritten Kryon, Crypto and Ziran
pins builds to cd28635a, locked and with local overrides alike.
2026-10-19 11:54:52 -03:00
waozi ae12bc731d Repin packages to the rewritten history 2026-10-19 11:51:57 -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 2ad007e9a5 Reach every Manage practices tab on a narrow phone with a swipe
With Kryon's swipe, the Manage practices tabs follow a finger, so Martial
arts can be reached at 320 and 360 px in English and in Russian, where it
lies past the edge. The selected tab is brought into view only when the
dialog opens, so a swipe back to the first tabs is not pulled back to it.
make practice-downloads-ui-test swipes to the last tab at both widths in
both languages, checks that the swipe chooses no tab, and taps it.
2026-10-19 01:56:43 -03:00
waozi 0597f5b7d0 Pin Kryon whose tab bars follow a swipe
Kryon a014ba99 lets tabs that do not all fit follow a finger, and a tab
revealed on selection keeps a peek of its neighbours, so every Manage
practices tab can be reached on a narrow phone; a tap still selects a tab
and a swipe selects none. Only Kryon moves in ziran.lock. The shared Apps
controller still builds to 5cef859b: its hosted TabBar forwards to this
host, so AppsControllerSha256 stays as reviewed (make cells checks it).
2026-10-19 01:53:28 -03:00
waozi abbf504191 Allocate the text index and packs with size_t arguments
calloc and malloc were declared with 64-bit sizes. On 32-bit Android,
size_t is 32 bits, so calloc read its element size as 0 and the text
index wrote past an empty allocation: Inbe crashed at start on a Moto e6.
2026-10-19 01:48:09 -03:00
waozi 672adc7bf2 Group Manage practices into Installed, Meditation, Yoga and Martial arts tabs
Manage practices now opens on Installed, every practice on this device: on
Practice, kept on the device, or coming with the app. Meditation (with Wim
Hof breathing, Breathing Patterns and Astral Projection), Yoga (Sun
Salutation) and Martial arts (Tai Chi) list each kind whether it is installed
or not, with the same Install, Buy, Cancel or Uninstall button and Uninstall
question. Dragging a practice within any tab moves it in the same Practice
order. The chosen tab lasts while the dialog is open; opened for a practice
that is not on this device, the dialog shows that practice's tab.

Each practice's kind is `kind` in its PracticeDefinition; a practice without
one is listed only under Installed. A kind's tab with nothing to list, such
as Martial arts where paid practices are hidden on Google Play, is left out.
The tabs use Kryon's TabBar and are translated in every locale; the font
subsets gain the new CJK glyphs. make practice-downloads-ui-test covers each
tab's practices, Installed listing only practices on this device, reordering
within a tab, Uninstall from Yoga, a locked Tai Chi only under Martial arts
and reopening on Installed.
2026-10-19 01:47:19 -03:00
waozi 1b943554b4 Show Arcade by its name and drop the standalone Chess app
Arcade carries Chess, so the standalone Chess app no longer shows in your
apps, the navigation or More apps. The account keeps its Chess mark for
older versions and for the move to Arcade once the node offers it. An app
from the node takes its translated name, so a local Arcade shows as Arcade
rather than its file name.
2026-10-19 01:44:43 -03:00
waozi f924aab97b Show a node app's own icon before it first runs
Apps and the navigation drew a plain grid for an installed node app,
such as Chess or Photos, until it had run, because the icon was read only
from a running app. The icon is now read once from the verified installed
package, kept beside it with the package's version, and shown right away;
an update reads it again.
2026-10-19 01:39:57 -03:00
waozi 016d388592 Trust the Apps controller that locked builds produce
Release and CI builds compile the shared Apps controller from Apps' own
lock, so the reviewed digest must come from that build. Apps e77895e
pins the same Kryon and Crypto as Inbe and Ziran 2676723; its locked and
local builds both give 5cef859b, which replaces the digest of a local
override build.
2026-10-19 01:37:38 -03:00
waozi 35972e0e17 Check that Sun Salutation downloads from the node on every phone build 2026-10-19 01:33:44 -03:00
waozi 719ab49118 Size the text index to each language
The index had a fixed number of entries: past it a language lost the
index and every text read the whole language file. It is now allocated
for the keys each language actually has, with its slots at most half
full, so a lookup is one or two probes and no language can outgrow it.
Replaces the 8192-entry limit and its capacity test.
2026-10-19 01:33:12 -03:00
waozi 374d01957c Put the coins entry under 2.1.36 and the coins notes beside the habits 2026-10-19 01:31:51 -03:00
waozi 7078d432a3 Earn habit coins and spend them in a shop of your own rewards
- Each habit has a difficulty: medium, hard or very hard. A done day earns
  1, 2 or 3 coins from today on; a changed difficulty applies from the day
  it changed. A deleted habit's coins stay.
- The coins and the shop sit on the line with today's count. The shop
  lists rewards with prices you set, and Buy asks first. It stays open
  while sync brings new data.
- Rewards and purchases sync as private records; habits carry their
  difficulty and first coin day, the earliest any device gave.
- Lumi's guide introduces the coins and the shop, narrated in every
  language.
- An installed practice whose pack an update changed stays installed and
  downloads its new pack, instead of leaving Practice. Sun Salutation's
  download and that update are tested.
- Lumi's update message shows a few changelog entries and no link.
2026-10-19 01:30:51 -03:00
waozi 8c51ba32e0 Let debug Android builds offer one local node-app bundle
A single <name>.zib in the debug app's external files folder is offered
like a node app before the native app starts, as INBE_NODE_APP_FILE does
on desktop. Release builds never read the folder.
2026-10-19 01:30:02 -03:00
waozi 27986ae9c9 Keep the text index when languages pass 2048 texts
A language with more keys than the text index holds lost the index, and
every text then read the whole language file: with 2058 English keys
that was three quarters of each frame on a Moto e6, on every screen.
The index now holds 8192 keys, and a build law fails before any language
fills more than four fifths of it.
2026-10-19 01:28:31 -03:00
waozi 5168dd05ac Trust the Apps controller built with Kryon 238ec490
The pinned Kryon moved to 238ec490 for links in Lumi messages, and the
shared Apps controller bundle includes Kryon's widgets, so its digest
changed with it. Same Apps source (6b555be).
2026-10-19 01:20:13 -03:00
waozi 231749a85c Pin Crypto with whole-block SHA-256 hashing
Crypto e09d84de hashes whole blocks in place, so verifying a practice pack
takes a fraction of the time.
2026-10-19 01:18:46 -03:00
waozi 925bd8d2d7 Show practice prices and sizes cleanly in Manage practices
The price was drawn a size larger than the app's text, so it rendered big
and blurry, and the Unlock button already says it. During an offer the row
now shows only the struck-through regular price and its discount badge at
the app's small text size, with its XMR and USD worth. The size moved from
its own line into the button, such as Install · 22 MB, so the line under a
practice's name only says what is happening, such as Downloading.
2026-10-19 01:17:49 -03:00
waozi 5fc4b27d4c Switch practices without reloading and rehashing everything
Each practice switch mounted that practice's pack, which read the file one
byte at a time (23 million pushes for Sun Salutation's 22 MB), hashed all of
it again, and marked the assets changed. That reset all 160 achievements,
whose queries each parsed every stored fact's JSON again, for several
frames of 260-590 ms on a Moto e6.

Packs are read into one allocation and a pack's digest is checked once per
run (new downloads and removals are always checked again). Achievements
reload only when their catalogs change, and an evaluation pass parses the
facts once into an in-memory table.
2026-10-19 01:17:25 -03:00
waozi c2e119632b Ignore taps on a habit's empty days off its schedule
A day off a habit's schedule shows no circle, yet tapping its empty space
still marked the day done. Such a day now takes no tap and shows no hover
circle, in the habit table and in the day buttons. An off day that has
something recorded on it still shows it faded and opens as before.
2026-10-19 01:13:32 -03:00
waozi a4b31a8cc2 Open Lumi's web links from the words of a message
A link in a Lumi message showed twice: as plain words and again as a dark
link button under them that was hard to read on dark themes. The link now
shows once, inside the message, in the theme's link color with an
underline, and tapping it opens it. Kryon's Text paints the links and
finds the one under the tap, so the rows under the words are gone. Lumi
needs host interface 20 for that.
2026-10-19 01:13:07 -03:00
waozi f51bff38c4 Stop repeating settings reads and Java attaches on every frame
Dew, Lumi, sync and app versions read settings on every frame, and each
read prepared its SQL again: about a sixth of each frame on a Moto e6.
Short setting values are now kept until stored data or the user changes,
under the connection's mutex since several threads read settings.

Picture-in-picture, Radio, shortcuts and accessibility call Java every
frame, and Inbe's own loop never kept its thread attached, so each call
attached and detached it: about a twelfth of each frame. The loop now
keeps the frame thread attached, as Kryon's Android loops do.
2026-10-19 01:04:19 -03:00
waozi 0bc678e1dc Show each developer reply once, as the developer's, including earlier ones
Older versions saved a developer's reply as Lumi's words under a
"Developer reply:" line, and every device that fetched the reply saved its
own copy, so one reply could appear several times. Lumi now turns such a
copy into the developer's reply when the chat loads and deletes the other
copies of the same reply, which sync carries to every device. New replies
are saved under a record named after the reply, so each device writes the
same message.
2026-10-19 01:02:06 -03:00
waozi a43e5d0c48 Publish node apps through the Apps package's release module
Inbe's publisher now imports the Daochi release v2 format, release checks,
histories and the node-app stage, upload, verify and import steps from
Apps' scripts/node_release.py (Apps 6b555be), so Arcade publishes with the
same code without waiting for an Inbe release. Inbe keeps its own root,
cell and practice-pack publishing and the node receiver, and every flag,
including --node-app and --node-apps, works as before. The receiver
installer ships node_release.py beside the receiver; nothing is deployed.

The node-app history tests moved to Apps with their code. Updating Apps
through ziran also moves the toolchain to Ziran a3fac19. The locked Apps
controller still builds to the reviewed digest.
2026-10-19 01:00:43 -03:00
waozi 8e781e5799 Keep the Apps screen smooth on phones
The launcher rebuilt both app groups' catalogs and the shared Apps UI
parsed them again on every frame, so the Apps screen and leaving it ran at
about 5 fps on a Pixel 3a. Each group's catalog now carries a revision,
and an unchanged catalog is answered as unchanged (Apps 8b2ed79).

Pins the Apps controller built from that commit. Updating Apps through
ziran also moves the shared Kryon pin to 06d10bdf, the local checkout.
2026-10-19 00:50:01 -03:00
waozi 101a72657f Prepare one app's node registration or signed suspension
package-manifests.py takes --app NAME, also from another project's ledger
(--app-ledger, such as Arcade's inbe.arcade), and --suspend with a
--manifest-sequence above the node's to retire an app such as Chess. The
suspension keeps the node's registration, keys and scopes and changes only
its status; manifest_sequence now follows manifest_version in the signed
bytes, matching Daochi's encoding.
2026-10-19 00:44:48 -03:00
waozi 8f062f149c Replace Chess with Arcade, bringing installed Chess and its games along
Arcade now carries Chess with Pushy. When the node offers Arcade, More apps
leaves Chess out, and an account that installed Chess gets Arcade installed
once on each device. Chess leaves the account's apps only after Arcade runs
here and carries Chess as a verified child signed by Chess's publisher, so
the child opens the existing cell.chess records and friend games. Records
are never deleted, and a device that cannot run Arcade keeps Chess.
2026-10-19 00:44:44 -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 d31a467429 Link silent audio into node-app host tests
Installed apps such as Radio play in the background, so the node-app host
links the audio player. Tests that run apps without sound now link a host
whose audio device is never ready. The settings check also finds its nested
generated headers.
2026-10-19 00:31:54 -03:00
waozi 1e8c434840 Pin Kryon that keeps portable app replies, so Diary can be left on Android
Diary's save reply was read after the Diary bundle had released it. On
Android the bytes were reused mid-decode, so Inner Breeze treated the
entry as unsaved and refused every switch away from Diary. Kryon now
keeps its own copy of the reply.
2026-10-19 00:10:44 -03:00
waozi bd3f204948 Rename apps and change their icons in Properties; show updates as a dot
Each app in Apps has Properties in its three-dot menu. It renames the app
and chooses its icon from the app's own icon and Inbe's icon set, the
same icons habits use. The name and icon show on the app's card, in the
navigation, on its return bar and in new launcher shortcuts. Saving the
app's own name or icon restores it. Names and icons belong to the account
on this device and are read again when another account's settings load.

The separate update symbol beside the menu is gone. An update not yet
installed or seen shows as a dot on the menu, with Update first in it.
Opening the menu marks exactly that verified offer as seen; Update stays
until it is installed, and a newer offer shows the dot again.

Typing in Apps reaches the Properties name field when the search field
is not focused. Apps and Kryon are pinned at the revisions with the
Properties dialog and the TextField and ModalFrame exports, and the host
trusts that Apps controller build. launcher-ui-test covers renaming,
choosing an icon, Cancel, restart and restoring the app's own.
2026-10-18 23:54:13 -03:00
waozi 26fe3a9144 List every installed practice on the Leaderboard
The Leaderboard offered a fixed Wim Hof, breathing patterns, meditation and
Sun Salutation grid. The host now lists the practices installed on Practice,
in Practice's order (LeaderboardMessage.practices), and the board shows them
in a grid that grows with them: two per row on phones, more when wide. Tai
Chi and Astral Projection appear once installed; practices that are not
installed are left out, and a board whose practice was removed opens on the
first installed one. Older hosts send no list, so the package keeps the
original four there.

Tai Chi and Astral Projection fetch and cache their own boards ("tai_chi",
"astral_projection") instead of falling back to Wim Hof's; Daochi a0517d8
ranks them by their own synced sessions. make leaderboard-ui-test covers the
installed list, its order, the phone grid, a downloaded practice's board and
removal.
2026-10-18 23:33:45 -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 438604b7e8 Open links in Lumi messages and copy a message from its right-click menu
Web links in a message get a row each under its words; choosing one opens
it through the new OpenLinkHost call, which opens only a whole link Lumi
found. Right-clicking a message opens a menu with Copy, using Kryon's
Press right click. The host measures the link rows from the same
detection. Lumi now needs host interface 19 (Inner Breeze 2.1.36).
2026-10-18 23:32:32 -03:00
waozi 56bdfbb56e List the installed apps in About, the node's apps included
Settings › About shows the Inbe harness and then each app this account
has installed, bundled or from the node, under the name Apps gives it and
with its package version, instead of a fixed list of the bundled ones.
2026-10-18 23:32:32 -03:00
waozi 1113649e70 Pin the latest Apps and Kryon and trust their Apps controller build 2026-10-18 23:28:08 -03:00
waozi dfb5526978 Put a debug build's practice packs on the node before installing it
A toolchain change gives every practice pack a new hash, and a phone
build then failed every practice download until someone ran
upload-practice-packs.py. android-install now runs it whenever the
publisher key is present and warns when the upload fails.
2026-10-18 23:28:05 -03:00
waozi 282a0f65bf List Astral Projection in Manage practices
Manage practices drew a fixed five rows, so the sixth practice, Astral
Projection, could never be installed. It now lists every practice, and
the UI test checks its row and the six-practice saved order.
2026-10-18 23:28:05 -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 0a824ae653 List the Inbe harness version in Settings › About
The root package that carries the apps and updates without a new APK is
listed first among the package versions as the Inbe harness, under the
app's own version. The section's height follows the package count.
2026-10-18 23:08:36 -03:00
waozi 5934c0d971 Show developer replies in Lumi as quoted replies from the developer
A developer's reply is stored with who wrote it and the title of the
feedback it answers, which Daochi now returns with each reply. Lumi
draws it like a Telegram or Harmony reply: Developer as the sender, a
quote of the feedback above the words, and no Lumi avatar. Lumi's AI
still reads the reply as the developer's, so the person can answer it.
Older versions ignore the new fields and keep showing the words.
2026-10-18 23:08:36 -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 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 06d5359c19 Add downloadable guided Astral Projection practice 2026-10-18 18:18:41 -03:00
waozi 3eae5edfaf Use explicit format imports in Lumi update builders 2026-10-18 18:10:54 -03:00
waozi 027e8b2b23 Resolve Lumi builder overloads from format 2026-10-18 18:10:33 -03:00
waozi 915b0246fc Import Lumi text builder helpers directly 2026-10-18 18:10:13 -03:00
waozi 96870e1e8b Show installed Inner Breeze changelog highlights in Lumi 2026-10-18 18:09:49 -03:00
waozi 9c8cfeeb37 Discard account picker results after their request is rejected 2026-10-18 18:07:49 -03:00
waozi 7b72b7d932 Verify installed achievement visibility and Self projection 2026-10-18 18:07:27 -03:00
waozi 227f1629ab Add 160 app-owned achievements and alert controls 2026-10-18 18:05:29 -03:00
waozi f8d39fb06f Connect shared Self account management and achievements to Inbe 2026-10-18 18:00:22 -03:00
waozi 5aaa33eef1 Host verified nested apps and preserve installed leaf metadata 2026-10-18 17:58:13 -03:00
waozi 2f686603b2 Add achievement records and frozen Self host bridge 2026-10-18 17:26:35 -03:00
waozi 9ce4af6d47 Provide desktop entry validation in the CI test image 2026-10-18 16:29:29 -03:00
waozi 402e421966 Keep Gradle inside the sanitized test environment 2026-10-18 16:26:39 -03:00
waozi fac079dfe9 Fix frozen candidate build and regression test integration 2026-10-18 16:21:21 -03:00
waozi 4babda8284 Pin Self and synchronize the next Inbe release candidate 2026-10-18 16:16:50 -03:00
waozi dd6edf22f8 Use the shared Self profile with Inbe extensions 2026-10-18 16:14:37 -03:00
waozi aa729ca39a Add installable Radio app with background playback 2026-10-18 16:11:18 -03:00
waozi 014305b01b Check published Chess and use an owned launcher fixture 2026-10-18 16:07:26 -03:00
waozi b3e551688d Plan Self achievements with installed app catalogs and optional alerts 2026-10-18 16:07:24 -03:00
waozi c3446b5f1e Complete setup controls, accessible Android UI and packaged habit dialogs 2026-10-18 15:57:44 -03:00
waozi f02b4e6cb2 Consume Arcade-owned Chess through the shared game interface 2026-10-18 15:47:36 -03:00
waozi f34daee966 Use compact app options and clearable launcher search 2026-10-18 15:36:22 -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 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 c914383a99 Add device launcher shortcuts for installed apps 2026-10-18 14:38:12 -03:00
waozi eedc13db8f Allow language corrections during optional audio setup 2026-10-18 13:35:25 -03:00
waozi 40e4749e64 Show download sizes and simplify guide audio controls 2026-10-18 11:29:25 -03:00
waozi a01db5a328 Make guide narration optional during first-run setup 2026-10-18 11:20:13 -03:00
waozi 09afb4eda2 Fix Photos navigation and protect unsaved habit edits 2026-10-18 11:07:54 -03:00
waozi 6e28ea52c4 Scroll Diary entries with a finger
On a phone, dragging a finger over a Diary entry that is longer than its
box scrolls the entry again, and a flick keeps it moving. The caret stays
where it was until a tap places it, a hold still selects a word, and the
page around the entry stays put.
2026-10-18 00:43:03 -03:00
waozi 90a328d76f Scroll Diary entries with the wheel and show gallery photos whole
The mouse wheel now scrolls a Diary entry that is longer than its box,
over its photos too, instead of doing nothing, while the page around it
stays put. A sideways touchpad swipe moves the day's gallery the way it
goes and leaves the entry alone, and the gallery's scrollbar sits under
its photos instead of cutting off their bottom edge.
2026-10-18 00:16:05 -03:00
waozi c22b896907 Fit the 2.1.35 notes within Google Play's 500 characters 2026-10-17 23:30:42 -03:00
waozi a5c8e0a790 Show photos already in Diary entries in Photos
A photo attached to a Diary entry before entries became Markdown, or by an
older version on another device, was only a Diary file, so Photos never
showed it. Now every Diary file a day's entry still includes, by its photos
list or a diary: embed in its text, joins the account's photo library once
by its hash, through the photo button's own import: named as the entry
names it and, without a camera date, under the entry's day. Entries are not
rewritten and their diary: embeds keep working.

A Diary file no entry includes stays out, and a photo the library already
has, including one moved to Trash in Photos, is left as it is. The library
file is a hard link to the Diary file where the platform allows (a copy on
the web), and its sealed copy is the Diary photo's own copy, so the bytes
are kept and uploaded once. The check runs at start, after each good sync
and when a photo's file arrives, reads the entries only when something it
depends on changed, and adds a few photos per frame while the person is
idle and no practice is on screen. It works whether or not Photos is
installed.

Diary's day gallery lists such a photo once: a Diary file the library keeps
draws as the library's photo, and the gallery skips a picture it already
shows.

Tests: make cells-test (an older entry's photo and an embed-only photo
adopted with their entry's day and name, an orphan Diary file left out, a
trashed photo left trashed, a photo whose file arrives later, a second run
and a restart changing nothing, the library file linked to the Diary file);
media-store-test, photos-app-test, diary-markdown-test; the standalone Diary
on a private Xvfb display adds an older entry's photos to the library
without rewriting it, lists each picture once and embeds the tapped one.
2026-10-17 22:41:02 -03:00
waozi df9ebac2d3 Let Lumi send a user's answer to a developer reply
When a user answers a developer's reply in Lumi, Lumi now proposes that
answer as feedback with the usual Yes/No card, so it reaches the developer
as a new report instead of staying in the chat. The same words go to the
node's Lumi in Daochi.
2026-10-17 21:41:17 -03:00
waozi 55f20d72f6 Note what remains of the codebase work in TODO
The storage core, the application and the Makefile are split, and Habits
draws its count dialog. What is left of moving Habits into its package
needs hosted Kryon widgets first. Two make issues surfaced while splitting
the Makefile, and music-navigation-test does not build.
2026-10-17 21:14:41 -03:00
waozi 48ca9f3805 Draw the Habits count dialog in its package
A counting habit's count dialog is the first Habits screen the package
draws (apps/habits/habits_view.zi), as Lists, Diary and Leaderboard draw
theirs with hosted Kryon widgets. The host fills a HabitsUiFrame with the
habit's name, the day, its count, target and linked sessions, whether it
asks questions and the theme's text colour, runs HABITS_COUNT_DIALOG and
applies the step, the opened day or the closing the frame asks for. The
dialog looks and steps as before: the same sizes, keys and button IDs, the
minus disabled at the linked sessions' floor, and the step bars drawn as
Boxes of the same size, colour and radius.

The package reaches the host through ReadHabitsUiHost, WriteHabitsUiHost
and HabitsLocaleHost, allowed for Habits beside Kryon's hosted widgets.
These belong to host interface 14, which 2.1.35 brings, so Habits 1.1.0
declares host_api 14; the root package 2.1.34 brings it. If the package
cannot draw the dialog, the host closes it instead of leaving an invisible
modal. The table, editor, entries, history and statistics stay compiled.

Tests: habits-count-ui-test drives the dialog with Kryon's test driver on
a private Xvfb display (steps down and up, Close, Done, and Entries opening
the day of a habit that asks questions), and joins the visual gate.
2026-10-17 21:14:28 -03:00
waozi 12d40d2022 Split the application along its seams
application.zi keeps the window size and configuration, leaving a
practice's settings and destroying the app. The rest moved unchanged:

- application_init.zi: configuration, the first screen, reloading after
  an import, the mini window's selection and opening a feature
- application_update.zi: each frame's update and the blank home screen
- application_frame.zi: drawing each frame, the picture-in-picture
  window and reloading graphics
- application_modals.zi: the back button and the global dialogs
- application_close.zi: the desktop close behaviour and its prompts

Each part takes the imports, enums, conditional imports and private
foreign declarations its own code uses; parts that log declare the log
levels as the application did. The parts form no import cycle, because a
file-scope `using` makes #if resolve imports at compile time. The settings
key test reads every application part.
2026-10-17 21:01:28 -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 5ea1c1db75 Let test makefiles change after the phone check
mk/tests-*.mk hold only test rules, nothing an app build needs, so the
phone check counts them as tooling like tests/: a test-only make change no
longer needs a new check. The rest of mk/ and the Makefile stay app paths.
2026-10-17 20:49:34 -03:00
waozi bfe2838cae Split the Makefile into one file per area under mk/
The Makefile keeps the shared configuration, the native build and the
release gates. The rules of each area moved unchanged to mk/: laws, cells,
plan9, windows, web, android, packaging, site, release and tools, and the
tests to mk/tests-*.mk, with the `test:` lines in their old order in
mk/tests-suite.mk. make's database is the same rule for rule: targets,
prerequisites in order, recipes and variables.

mk/tests-lumi.mk is read where its rules stood, before TARGET is set, so
its UI tests still do not build $(TARGET) first.

The readers follow: check-version scans mk/*.mk, version_test copies them
for its make run, the visual gate hashes mk, the Firefox source zip ships
mk/ (it lacked mk/sync.mk before), and the release workflow and its
Windows vendor cache count the non-test mk files like the Makefile.
2026-10-17 20:49:06 -03:00
waozi 94fe697cef Leave canvas fills out of the zoom test's content width
Canvas fills are now Box widgets across the whole screen, so measuring the
union of every widget made the content as wide as the window at every
scale. Boxes that span the screen are background and are left out.
2026-10-17 20:01:30 -03:00
waozi af285f352b Stop installing tesseract for CI tests
No test that CI runs reads screenshots with OCR any more; the UI tests find
widgets through the Kryon test driver. Only the store screenshot harness
and two hand-run phone tests still use tesseract, outside CI.
2026-10-17 19:47:35 -03:00
waozi 40c977a09e Check zoom, leaderboard and startup screens without OCR
The last tests that read screenshots with tesseract (through
native_visual_test's read_text) now read the widget tree: the leaderboard
checks its ranked rows and values, startup and quit press the library's
cards and Quit through the driver, and the zoom test finds the title in the
tree, checks its box scales with the zoom and keeps one pixel check per
zoom that the title is drawn with full contrast across its box. read_text
is gone. The visual test's Appearance check asks Kryon for wrapped lines a
label's box cuts off (hidden_lines), so the 220%/250% cut-off it guarded
against by OCR is still caught.
2026-10-17 19:47:22 -03:00
waozi 699981e31a Draw every shape with Kryon widgets and remove draw.zi
src/app/draw.zi copied raylib's drawing calls for about 115 call sites in
practice, results, statistics, habits and profile screens, against the
rule that app UI uses Kryon widgets only. Rectangles, rounded cards,
outlines and gradients are now Box, lines Line, circles and radial glows
Circle, progress arcs Ring. Fade became one colour helper, color.zi.

Raylib drew those shapes at once, beneath all widget paint; as widgets
they paint in submission order, so the results chart's lines, a selected
profile tab's underline and the meditation and patterns circles are now
submitted before what covers them, and the canvas fills are the first
widgets of a frame. Two draws that never showed are removed rather than
made visible: the results chart's area fill, which raylib culled for its
winding, and a crescent the practice home's canvas always covered.

With no direct draws left, the direct-draw plan that compared them for
retained frames and its test are gone; a frame is reused whenever its
widget paint matches.
2026-10-17 19:47:15 -03:00
waozi f98ee2ca6d Read the database size from SQLite, not a second file handle
The Profile hub and Data screen measured inbe.db by opening and closing it.
Closing any descriptor of the live database drops all of the app's POSIX
locks on it, so another connection closing afterwards (a second Inbe,
Harmony, a backup tool, a test) found itself the last one and deleted the
write-ahead log the app kept writing to: later changes never reached the
database. UI test conversions reproduced it (the app writing to a deleted
inbe.db-wal). The size now comes from SQLite's page count and page size on
the app's own connection.
2026-10-17 19:46:42 -03:00
waozi e82899fdea Build SQLite before the tests that compile it
Sixteen test targets compile vendor-builds/sqlite/sqlite3.c without
depending on it, so they passed only when an earlier target in the same
run had built it. Run alone, as in a CI shard or make release-ready with
chosen targets, lists-sharing-test failed on the missing file. They now
depend on the amalgamation like the other storage tests.
2026-10-17 19:42:34 -03:00
waozi 18f1c42185 Fix three tests the CI container found failing
raylib-text-input-zi-test linked only some generated modules, so the test
driver's input calls were undefined; it now links the driver's modules,
and Kryon (pinned here at b69259b4) uses the session argument that -Wextra
reported unused. elist-screen-test no longer linked since the module host
asks the node's apps for assets and validates their packages: the Lists
fixture now answers as a host with no node app installed and asserts it
never validates one or reads the media library. lists-sharing-test used
"shared-list" as a shared list's id, which the app now rightly leaves to
other apps' shared records; its fixture list has a UUID id like real lists.

Control with Home or End in a text area set both the line and the document
move, and the text area took the line's: Ctrl+End stopped at the line's
end. It now reports only the document move, with a test.
2026-10-17 19:40:18 -03:00
waozi dc950730a0 Open a Diary day's photos from a Show gallery row, with one caret
The day's photos under the entry now sit behind a dropdown row, as Habits'
inactive habits do: Show gallery with a chevron opens the sideways strip,
and the row then reads Hide gallery. It starts closed whenever a day opens.
Tapping a photo still puts it in the entry at the caret, as one undoable
edit; Enter on the focused row opens and closes it. The strings are in all
twelve languages, and the subset fonts carry their new characters.

Kryon is pinned at 88cc4594, whose TextArea paints the caret on the value
the frame paints. While typing at the end of a line, the frame that took a
key painted the caret at the next line's start, a second caret flickering
under the typed line.

The Diary UI test opens the gallery through the widget tree, finds it
closed when a day opens and again after leaving and returning, taps and
undoes a photo, and checks that typing above an empty line never draws ink
below the typed line.
2026-10-17 19:32:24 -03:00
waozi 141b08de1d Match the runner's tools in make release-ready and refuse leaked edits
The first full run showed what the hosted runner has beyond the apt list:
Go for the zi2go tests, Java 17 for the HTTP transport test, D-Bus for the
Lumi UI tests and the libsodium runtime for the Daochi client test. The
image now has them.

The container reads files nobody changed since HEAD live from this
checkout, so another session's edits during a run reached it and failed the
visual gate's source check. The run now compares the checkout before and
after, names the files that changed while the container could read them,
and records no pass then. Only one run uses build/release-ready/ at a time.
2026-10-17 19:28:57 -03:00
waozi f1e75c4e38 Drive the practice UI tests through the widget tree
The practice downloads, practice window and Tai Chi tests read screenshots
with tesseract and clicked fixed points; each failed on a loaded machine
(OCR timeouts, a dropped click). They now find and press controls with the
Kryon test driver and check labels and states in the widget tree. The
practice window test keeps its pixel checks that each window's picture is
drawn and moves, since the driver does not see that separate window. Its
profile now installs the practices it starts and brings their narration,
which new installs no longer have.
2026-10-17 19:15:19 -03:00
waozi 044a5a8373 Find, press and type in UI tests through the widget tree, not OCR
Seventeen UI tests found controls by reading screenshots with tesseract and
clicked hard-coded points, so they failed on slow CI runners (OCR timeouts,
"Allow" read before "Don't allow", dropped keystrokes) and read stale
layouts. They now use the Kryon test driver: they wait for widgets by
label, role or key, press them through the app's own pointer path, type
without losing keys, drag with a held pointer, and check what a screen
says in its widget tree. One pixel check per screen remains only where
pixels are what is tested (a scrollbar drawn, a piece's colour, bold text,
a scannable QR code). Tests that had gone stale against the app were
brought up to date. The Lumi selection, harness, guide and emphasis tests
and the navigation customizing test join the visual gate; the device link
test gets its own target. tests/rendered_word.py is gone.
2026-10-17 18:58:43 -03:00
waozi c66fdc772b Keep Diary photos working with text beside them on their line
A photo's embed was only recognized when it was its line's whole text.
A click on a photo puts the caret at the end of its line, so typing there
turned the line into photo plus text, the embed stopped counting, and the
picture became raw Markdown.

Photos are now CommonMark images anywhere in a line, several per line,
with an optional "title", 'title' or (title), an <angle> destination,
spaces inside the parentheses and escaped brackets in the name. Only
destinations naming a library place or a Diary file are photos; other
images stay text. Away from the caret's line each photo's Markdown hides
and the line's other text keeps its styling; the photos follow the line in
order, using Kryon's several boxes per line. A line of photos alone still
shows its first photo in the line's place. On the caret's line the source
shows with the photos under it, so typing before or after a photo, or
Enter in front of or behind it, keeps it. Markup cut short is plain text.

The "photos" list, older entries' migration, the day's photo strip and
inserted photos read photos inside lines too. Spelling checks send each
image as one U+FFFC mark wherever it stands and put it back at its mark,
refusing a correction that lost or added marks. Kryon is pinned at
2b830429.

Tests: Diary Markdown adds titles, angle brackets, escapes, cut markup,
photos back to back, beside text, in list items, quotes and headings,
before a next line, around emphasis and links, and inline spelling marks;
make cells-test saves photos inside lines in "photos" and keeps them after
typed text; on a private Xvfb display text typed right after a clicked
photo is saved with it and the photo stays drawn on and off its line.
2026-10-17 18:31:37 -03:00
waozi a9d405c115 Run every test file, and fail when one is run by nothing
Nineteen test files were run by no make target, workflow or script.
Five already ran through ziran-behavior-tests' loop; two of those and the
session results test had stopped linking (a node-app hook and curl), now
fixed. Eight more are wired into make test (frame pacing policy, Daochi
native adapter, device link, update policy, Android HTTP transport,
statistics dates, meditation audio archive, package receiver) after small
fixes to two of them. Hosted features and Lumi habit tools join the visual
gate; the Lumi performance and Sync Review in Harmony checks get their own
targets. Two tests of code that no longer exists are deleted.

make test-references-check (in make test) fails when a test entry point in
tests/ is run by no make target, workflow, hook, script or referenced test.
2026-10-17 18:18:18 -03:00
waozi d6afbf0aa0 Write Diary entries in Markdown with photos inside them
An entry is one Markdown document. A photo is an embed line of its own,
![NAME](photos/YYYY/MM/DD/<sha256>.<type>): its place in the account's
media library, the one Photos shows, under the day the gallery groups it
(the Exif capture day, or the day it was added). The photo button adds the
picked file to that library, once per hash with its preview, synced as
Photos' items are, whether or not Photos is installed, and embeds it on its
own line at the caret. Deleting the line takes the photo out of the entry;
the photo list and Remove photo button are gone.

The editor previews the Markdown with Kryon's new TextArea blocks, line
sizes and italic: away from the caret's line, markers hide, emphasis is
bold or slanted, headings are larger, links and list and quote marks take
the theme's colors, and an embed line is covered by its photo. On the
caret's line the source shows with the photo under it. Under the entry,
the day's photos scroll sideways: the library's photos of that day, then
the entry's other photos. A tap embeds one at the caret as one undoable
edit.

Older entries keep their version-1 documents. Their photos rows that no
embed names appear as ![name](diary:FILE) lines after the text, in memory
only, so viewing a day writes nothing. Saving writes "photos" again from
the diary: embeds, so older versions still show those photos. Spelling
checks send embed lines empty and refuse a correction that moved lines.

The Diary view reads the library with MediaQueryHost and MediaItemHost and
draws an embed through the new DiaryPhotoHost, so Diary 1.2.0 and the root
package 2.1.34 need host interface 14. Android's Diary picker keeps the
picked file's own bytes, as Photos' does. Kryon is pinned at 98c8ca92.

Tests: Diary Markdown natively with sanitizers and in the VM (embeds,
library places, insertion, preview, spelling masking); make cells-test
with older photo lists, the derived mirror and attached library photos;
the standalone Diary on a private Xvfb display picks a photo into the
library and draws it inside the entry, and draws an older entry's photos
inline without writing, embeds a tapped day photo and keeps it on restart.
2026-10-17 18:10:38 -03:00
waozi 95248da1bb Put each statement of a compressed block on its own line
Ten one-line blocks held two statements each, against the rule that
statements and branches are never compressed onto one line. No formatter
expands them, so these were split by hand; behavior is unchanged.
2026-10-17 17:55:21 -03:00
waozi 1388441cf5 Make a release one final commit with make release-ready and make release
Last week a release needed a commit for every phone check and CI repair:
the release commit came first, then fixes, then "Record" commits, and CI
went red after phone checks because it only ran on GitHub.

make release-ready runs CI's checks before pushing: in the Test job's
Ubuntu 24.04 with its apt packages (.github/local-ci/Containerfile), on
HEAD's committed content with the locked packages, through an overlay of
this checkout so nothing reaches the working tree. It covers Secret Scan,
package URLs, the large-file guard, make test, make visual-test and make
package-compat-test, and records a stamp for that content.

make release then, with the development Moto connected, refuses
uncommitted app files and package overrides that are not clean on the
lock, syncs ./update_version.sh output, requires the release-ready stamp
for this content, builds the debug APK for the phone's ABI, runs the phone
check and makes the one "Release Inner Breeze X.Y.Z" commit with the
receipt. After a late fix, running it again moves the unpushed release
commit above the fix (commits are replayed with merge-tree; only refs
move) instead of adding another. It never pushes or tags.
2026-10-17 17:53:16 -03:00
waozi c538bda159 Authenticate tests' GitHub API calls when a token is present
Anonymous GitHub API calls share 60 an hour per address, and CI runners
ran out (a 403 in the package compatibility test). The test now sends
GITHUB_TOKEN or GH_TOKEN with api.github.com requests only, never with
release downloads, which redirect to signed storage URLs; the workflows
that run it pass their token. The site's release asset check sends it too
when it has to fall back to curl.
2026-10-17 17:49:04 -03:00
waozi 239cd58eba Drive UI tests through the app's widget tree instead of screenshots
Inbe now calls Kryon's test driver where it samples input: the pointer,
the wheel, typed text, the keys text fields and navigation read, and Ctrl
with the zoom keys. A UI test that sets KRYON_TEST_DRIVER finds widgets by
label, role or focus id, presses them through the app's own pointer path
and types without dropping keystrokes on a slow runner. tests/ui_driver.py
is the helper; the Settings sidebar test is the first to use it, checking
the sidebars' widget bounds during the slider drag instead of their pixels.
Kryon is pinned to the commit that adds the driver.
2026-10-17 17:48:58 -03:00
waozi 45aeb43de1 Replace the stale marketing TODO with what is actually pending
TODO.md was a marketing plan from 2026-10-02. It now lists the unreleased
2.1.35 work and the Diary redesign in progress, the remaining codebase
splits (Habits into apps/habits, storage_core, application, the Makefile),
the gaps in make release-ready, the Portuguese strings without accents
(still in locales/pt.txt, which another session is editing now) and the
open decision about practice media in Git.
2026-10-17 17:48:57 -03:00
waozi db7bfdc94d Check releases against the app's content, not a commit sequence
The release gate compared the checked commit with HEAD over broad paths
that included scripts/ and CHANGELOG.md, so every later test, tool or
store-note fix needed a new "Record the phone check" commit (15 in the
last week). A passing check now records app_tree, a hash of every app
path's content: sources, build rules, assets, locales, version files and
the design files the practice and Lumi packages are built from. Tooling
that only checks, tests, records or publishes is listed apart, and a new
script counts as app until it is listed. The gate passes any commit with
that exact app content, so tests, docs, tooling and changelog wording may
change after the check while any app change still needs a new one.

phone-check.py --record now writes only passing checks, includes
uncommitted version files in the hash, and refuses to record when app
files change during the check or untracked app files exist.
2026-10-17 17:47:25 -03:00
waozi bc2c059b84 Refuse new files over 1 MB on commit and in CI
Git keeps every version of a file, and retired media made the history
317 MB. The pre-commit hook and CI's Secret Scan job now refuse added or
changed files over 1 MB unless .github/large-files.txt lists them. The list
holds what the app ships or builds from today: the Sun Salutation videos,
Lumi, the default profile picture, the Plan 9 WAV music and the Tai Chi
narration receipts. Drafts and explorations belong in the ignored backup/
folder; Git LFS files are small pointers and pass.
2026-10-17 17:47:09 -03:00
waozi e5785c1a4f Keep launcher and practice manager proposal renders out of the repository
The proposal images (11 MB) were design explorations for screens that have
since shipped; nothing in the app, scripts or tests reads them. They now
live in the ignored backup/design/ folder beside the earlier habit table
proposals.
2026-10-17 17:41:52 -03:00
waozi 5e51073ce6 Remove retired media, renderers and tools
Old screenshots in output/, the replaced painted character proposals and
their test, early Sun Salutation styles, rigs and hybrid videos, the
renderers that made them (Sun Salutation now draws only flat characters),
headers nothing includes, the broken icons link, and the old Selenium
posting tool that Social replaced. About 190 MB and 12,000 lines.
2026-10-17 17:13:17 -03:00
waozi c639155dc2 Version every app package for Inner Breeze 2.1.35 2026-10-17 16:58:20 -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 9c147606cc Show the size of installed node apps in More apps
Bundled apps showed their package size on their More apps card, but apps
the node offers, such as Chess, showed none: the card looked only at the
bundled packages. It now reads an installed node app's package size too.
2026-10-17 16:58:20 -03:00
waozi f03f3b8907 Publish Chess 1.0.1 for everyone, out of beta
Chess 1.0.1 is signed without the beta channel and published to the
Waozi node, so More apps lists it without Show beta apps.
2026-10-17 16:58:20 -03:00
waozi 5a4a1478e6 Test package versions with node apps and a newer host interface
The ledger now lists node apps, whose changelogs the test copies too, and
its host interface is newer than the root package's, so a package without
its own host_api only passes when the root package defaults to it as well.
2026-10-17 11:49:04 -03:00
waozi d720a2b707 Bump Habits, Diary and Leaderboard packages again for 2.1.34
Their bundles carry 2.1.34's newer Kryon, so without new versions the node
refuses the whole package set and the App packages workflow fails. The bump
was undone to keep the release exactly the phone-checked build; it changes
only package version numbers.
2026-10-17 11:49:04 -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
waozi 5609777a0b Record the 2.1.34 phone check with the Raylib graphics test fix 2026-10-17 07:34:43 -03:00
waozi 051905612b Pin Kryon with the Raylib graphics test that links upright photos 2026-10-17 07:00:27 -03:00
waozi 1d335dab23 Record the 2.1.34 phone check of the fixed release builds 2026-10-17 06:38:35 -03:00
waozi a580eb2f53 Fix the 2.1.34 Android and Windows release builds
The Android release build still asked the size check for the animation
budget that the sharper Sun Salutation frames removed, so it stopped after
packaging the APK.

Windows failed to link the Linux clock and timer. Dew and the sync worker
now read the time through the app's clock host like the rest of the app,
and Kryon reads its Android text menu clock only on Android.
2026-10-17 06:30:35 -03:00
waozi 9952756f43 Make the 2.1.34 release pass its CI tests
Undo the Habits, Diary and Leaderboard package bump so the released app
is exactly the phone-checked one; the bump returns with the next version.
CI's older OCR read the Allow button before "Don't allow", so the
launcher test clicks the leftmost "allow" (rendered_word.py --leftmost).
The Lumi test types a message again when a slow runner dropped the
keystrokes of an app that had just started. CI's sync test server is the
deployed Daochi, which stores signed photo copies.
2026-10-17 04:58:55 -03:00
waozi 7805b4174a Bump Habits, Diary and Leaderboard packages for 2.1.34
Their bundles changed with 2.1.34 (newer Kryon inside them), so the node
refused to publish the package set until they had new versions.
2026-10-17 04:00:28 -03:00
waozi e9baf3ff3c Record the 2.1.34 phone check on the Moto
moto e6 play (Android 9): 57.7 fps over 59.77 s, 0.0% late frames, worst
frame 17.6 ms, and the practice came back from the background in place.
2026-10-17 03:48:23 -03:00
waozi 4c786b93ce Fix the Android JNI and synced record field tests
Kryon's Android device module has brought its text menu widgets since the
touch text selection change, so the Android JNI test (which the health,
push, wakelock and import tests also run) failed to link their host
functions. It now uses the same host stand-ins as the text input test,
whose unused parameters are marked for -Werror.

The synced record field check now lists "size", the Diary photo entry
field read for photo storage sizes. Entries are kept whole on every device,
so no record download is needed.
2026-10-17 03:19:14 -03:00
waozi ca10b83379 Start new installs with Lumi, Habits and Practice and sync apps and pins
A new profile now comes with Lumi, Habits and Practice installed and
pinned in that order on every device; Lists, Diary and Leaderboard wait
in More apps. Existing profiles keep their apps.

A choice nobody made, such as a new profile's apps, is stored at time 1
and never uploaded, so a newly signed-in device takes the account's apps
instead of removing them. The owner's install and remove choices keep
syncing per app in private.inbe.v1.app-preferences.

The pinned apps and their order sync as one record, app_order, in a new
collection private.inbe.v1.app-order that older versions skip. It is sent
only when the owner pins, moves or unpins an app; the newest order wins,
a pending local order wins a tie, and a record this version can't read
changes nothing without stopping the sync. An arriving order sets
app_order_received and the pins take it once, also after a restart. An
app removed on another device is unpinned here too.

Tests: storage sync round trips for app choices and order (defaults
never sent, stale and same-time records, unreadable records), the order
SQL, restore SQL, launcher policy encoding, and updated onboarding,
launcher, startup and Leaderboard UI expectations for the new defaults.
The Data screenshot scene installs Lists, which it opens from. The
Telegram flow fake gains HttpTransferPollLength, which sync_async has
called since c4babc97.
2026-10-17 03:15:51 -03:00
waozi 9046a06ac2 Keep the Habits scrollbar when opening a habit would need it
Opening a habit's details or Inactive habits could make the table
scroll, so a scrollbar appeared and the day columns narrowed, moved
or dropped a day. The overview now measures the rows with the tallest
details and the inactive habits open; when that would scroll, Kryon's
kept scrollbar shows from the start, so the columns are chosen for the
width beside it and stay put. The rows scroll within the panel, so the
bar ends with it, and drops below a short panel still go last.

Kryon be874841 adds ScrollProps.keep_scrollbar. habits-table-ui-test
checks a phone's and a desktop's width: the scrollbar shows before
anything opens and the header's day columns are identical, pixel for
pixel, with a habit or the inactive habits open; a table with room
for everything shows none.
2026-10-17 02:42:27 -03:00
waozi 159d98856f Manage practices with one button per practice instead of a menu
Each practice now has the one button it needs: Install, Buy for a paid
practice, Cancel while it downloads, or Uninstall once it is on Practice.
Uninstalling a downloaded practice still asks once before its files are
deleted; a practice that comes with the app just leaves Practice. The
handle still drags a practice to another place in the order.
2026-10-17 02:29:32 -03:00
waozi b3e86113a6 Sharpen Sun Salutation, fix the neck and plank, and lead with the pose
The characters were drawn from 500-pixel frames that phones stretched to
about twice their size, so they looked soft. The frames are now exported at
twice the resolution and stay crisp on a 1080p phone; smaller screens scale
them down cleanly. The animation PNG size budget is gone.

The neck no longer looks like a capsule stuck to the head: it bends
between the top and the head, so a lifted head no longer swings it out of
the collar in half lift and plank, and a soft shade under the jaw sets the
head on it. In plank the head stays in line with the spine, looking at the
floor just ahead of the hands; the hips sit a little lower with the
shoulders still over the wrists, so the body reads as one straight line;
and the back of the shirt settles against the hips instead of sticking up.

The pose to move into is now the bold main line, with Breathe in or
Breathe out smaller beneath it.
2026-10-17 02:23:15 -03:00
waozi de81d05207 Upload the practice packs a local build needs to the node
A build installed from this checkout downloads its practice and narration
packs from Waozi's node by hash, and failed whenever its packs had only
been built here ("failed pack sunsalutation after a transfer error").
scripts/upload-practice-packs.py signs the built packs, uploads only those
the node does not serve yet (a paid pack's product marker first) and checks
each one afterwards. App packages and latest-v2.json are never uploaded.
2026-10-17 02:18:35 -03:00
waozi 390b694521 Let another device's practice always be closed or ended
The page showing another device's practice had no way out: its only
button, Pause, was disabled once the session stopped updating. Close now
always returns to this device's Practice, the corner button opens the
session again, and a session that stopped updating offers End this
session, which ends it for every device.
2026-10-17 02:12:07 -03:00
waozi 196c4daada End practices left running by a closed app on every device
A device that closed during a practice never published its end, so the
account's other devices showed that practice in place of Practice
forever ("Last known session · awaiting updates"). A session that has
not been refreshed for 60 seconds is now abandoned and no longer shown,
and a device that finds its own session still running when it starts
again ends it for the others.
2026-10-17 02:06:12 -03:00
waozi de85b83370 Sync Diary photos as one sealed copy each
A Diary photo was synced as 1 KB hex chunks inside hex ciphertext, so a
node stored about 4.5 times the photo and the device kept a second hex
copy. A photo's entry now syncs only its hash and size; after each good
sync the photo is sealed with a key made for it alone and stored on the
node as one encrypted copy (its size plus 16 bytes), and the account's
other devices download and verify it. Photos from before upload the same
way and their chunks shrink to one byte each. A node without photo upload
or a full node only keeps the copy off that node; photos always save.

The desktop moves copies on the sync worker, Android and the web one
request per frame. Signed GET requests now sign their empty body.
2026-10-17 01:55:27 -03:00
waozi bf36375bbb Show the node's free storage instead of a fixed 10 MB
Profile's Free plan line reads the free allowance the sync node reports,
now 20 MB on the Waozi node, so a node change needs no app update.
2026-10-17 01:32:48 -03:00
waozi 2ecd3e6427 Uninstall downloaded practices and show Dew as 0.1 XMR = 100 Dew
A downloaded practice's menu offers Uninstall instead of Not downloaded,
and its confirmation asks to uninstall. Rows no longer say a practice
comes with the app; they show its size. Dew's example price and the
top-up rate read 0.1 XMR = 100 Dew.
2026-10-17 01:24:19 -03:00
waozi e660d53ae0 Always add Diary photos, even when the sync node is full
Diary refused a photo when its estimated size on the sync node (about
four and a half times the file, for encrypted hex chunks) would not fit
the node's remaining room, and told the user to turn off photo upload in
Profile > Data. With the Waozi node's 10 MB allowance that refused any
photo over about 2.1 MB on desktop, even with only 0.3 MB in use, and it
also blocked photos offline.

A photo now always saves on the device. The node's limit only affects
syncing: a node that is full answers storage_full and sync reports it,
as before. The attach-time estimate, its room check and the refusal
message are removed; a new check attaches a photo while the node reports
itself full.
2026-10-17 01:20:11 -03:00
waozi 7be0575bb8 Manage practices with one state menu per practice
The owner picked proposal 3 of design/practice-manage-proposals. Manage
practices is one list in the order Practice shows them. Each row shows
the practice's size, or that it comes with the app, and one menu
button naming where it is: On Practice, On device or Not downloaded.
The menu floats under the button with a muted line saying what each
choice does (shown on Practice, hidden but adds back without a
download, frees N MB or stops the download) and a check at the current
one. A practice that ships with the app offers no Not downloaded; one
that is not on the device cannot be kept there without being added.
Not downloaded on a downloaded copy still asks once before deleting.
A paid practice shows its unlock instead of the menu.

The two Installed / Not installed dropdowns and their cards go. The
six-dot handle stays for reordering, which saves practice_order.

The private-display test opens each menu, adds, hides, reorders,
restores and deletes, reads the night theme through the dialog column
and light-text passes, and finds filled menu buttons by their fill
where OCR cannot read them.
2026-10-17 00:11:39 -03:00
waozi 2f7784535b Manage practices in Installed and Not installed dropdowns
Remove and the trash icon looked alike and read the same. Manage
practices now has two sections, Installed and Not installed, each a
dropdown like Habits' inactive habits (proposal 4 of
design/practice-manage-proposals). Each row shows the practice's size
and whether it comes with the app, is on this device or still needs a
download.

A row's six-dot handle drags it into the other section, which adds it
to Practice or takes it off, or onto another practice to take that
one's place in the order Practice follows (saved as practice_order).
Tapping a row opens its one next step: Add to Practice, Remove from
Practice, Download, Unlock, Retry or Cancel. Only a downloaded copy's
open row offers Delete files, which asks once. A paid practice dropped
into Installed only opens its row; unlocking stays a choice.

The private-display test drags, reorders, opens rows and deletes Sun
Salutation, reads the night theme through a dialog column and a
light-text pass, and keeps the check that a bought Tai Chi shows no
price.
2026-10-16 23:49:29 -03:00
waozi 32a63001d9 Design four ways to show installed and removed practices
Manage practices puts Remove and a trash icon side by side, and they read
the same. Four Codex image proposals show one consistent way instead:
Installed and Not installed dropdowns with drag (1), three shelves by
where a practice is (2), one state menu per practice (3), and the
dropdowns with a tap-to-open row (4). Not implemented yet.
2026-10-16 16:37:28 -03:00
waozi b342be2bcd Restore Android text selection and clipboard actions in Diary and Lumi 2026-10-16 03:34:03 -03:00
waozi 85e3b71d08 Allow a signed Sun Salutation content repair without a package release 2026-10-16 03:17:43 -03:00
waozi e03f04a88a Verify diary photo picker on isolated Android 14 emulator 2026-10-16 02:53:00 -03:00
waozi 7c8fd0458b Gift Dew to friends from the friend list
Wherever Dew is sold (every build but Play), each friend in Profile has a
gift button. It opens a Gift Dew window with the balance and the node's
exchange rate in XMR and USD, an amount in whole Dew with what it is
worth, and a Send button; gifts are final and say so. The node moves the
Dew in one signed debit and credit. A gift whose answer is uncertain is
kept and sent again with the same request until the node confirms or
refuses it, so it never goes twice; missing Dew, a non-friend and refused
requests are explained.
2026-10-16 02:52:23 -03:00
waozi 13175486f4 Compress Android diary photo attachments 2026-10-16 02:42:58 -03:00
waozi e3da2c0102 Draw Sun Salutation with the flat Jade bun woman and Indigo crop man
Sun Salutation now shows the clean flat characters chosen for it instead
of the four painted ones: the woman with a bun and long hair in a jade
top, and the man with short hair in an indigo top, who speaks with the
male voice. The frames come from the same flat renderer as the videos,
with a second after each move for her hair to settle, so a held pose
never freezes it mid-swing, and are drawn with smooth scaling.

A character chosen before keeps its side: the painted women become the
woman and the painted men the man. The Sun Salutation download shrinks
from 24.5 MB to 12.1 MB.
2026-10-16 02:30:26 -03:00
waozi f8ac0bf010 Keep removed practices on the device and delete them with the trash
Manage practices shows every practice's size: practices that come with
the app say they are available offline instead of "Included in this
version", and adding them uses the app's own copy. Remove takes a
practice off Practice and keeps it on the device, so adding it back needs
no download. A downloaded practice also has a trash button that asks
once, then deletes it and its narration to free the space; progress
stays.
2026-10-16 02:23:14 -03:00
waozi 51c6fdb664 Open Lists' Share and Invitations in a dialog
Share and Invitations replaced the whole list with a page that left a large
gap under its one line of text and pushed Invite to the far edge. They now
open in a compact dialog over the list, with a close button, the
explanation, one row per friend or invitation and Refresh at the bottom; a
tap beside the dialog closes it too.

Lists draws the dialog with Kryon's ModalFrame, which apps can now use
through their host, so Lists 1.1.0 and the root package need host
interface 11. The Lists UI test reads the dialog's words and taps its
buttons where they are drawn.
2026-10-16 02:22:19 -03:00
waozi 342c5178bd Show Practice's first-start guide with one practice installed
A first start now has only Wim Hof installed, so Practice's home shows no
carousel. The guide's first step pointed at the hidden carousel, had
nothing to point at and never appeared. Without a carousel the guide now
begins at Start.

Tests catch up with installed-only practices and removed donations: the
Android lifecycle test drops the donation hook, the browser music check
adds Meditation as a person would, the practice fixtures are reviewed as
an owner's cache after they are written and after reloads, the first-run
check follows the guide's step count, and a dropped Firefox connection
fails the browser test instead of leaving it waiting.
2026-10-16 02:08:17 -03:00
waozi 2695c18d56 Keep paid practice packs gated when the publisher uploads them
The node gates a pack only when a product marker sits beside it, but the
upload sent only each pack and its release, and the importer wrote no
marker, so a Tai Chi pack published that way would download for free.
The upload now carries each paid pack's marker, and the importer requires
it to match the signed catalog and writes it before the pack. The entry
limit counts markers too. An importer without this refuses the upload.
2026-10-16 02:08:17 -03:00
waozi 13f76b6406 Show every Dew amount in XMR and US dollars too
Balance, storage plan prices, the Tai Chi price and top-up rate and
minimum now say what they are worth at the node's published rates.
2026-10-16 00:16:25 -03:00
waozi 0b908f973d Show the cheaper storage prices in screenshot data 2026-10-15 23:57:05 -03:00
waozi c09cf53c70 Keep only the chosen narration language looking chosen
Pins Kryon's fix, so pressing a language's download or remove icon no
longer highlights that row like the chosen one.
2026-10-15 23:09:11 -03:00
waozi fc40e62dd6 Choose narration languages in Customize, with the app's language by default
Voice narration leaves Manage practices. Each narrated practice's Customize
shows, under the voice, a list of the languages that voice is recorded in,
like a translator's offline languages: choosing one makes narration speak
it and downloads it, and each row's icon downloads, stops or removes that
language. Narration in the app's language, or the one chosen, downloads by
itself for every practice on the device and for Lumi's guide, which simply
follows the app's language. A removed language keeps a marker so it never
comes back on its own; removing the practice forgets those markers. The
practice's download size counts the narration that follows it again.

Uses Kryon's new dropdown row action, pinned in ziran.lock.
2026-10-15 22:55:28 -03:00
waozi cdb6fad5c3 Show storage use next to the Dew plan
The Dew card and the Storage plans window show the account's used space
against its allowance, with the same bar as the node cards, so the plan and
what it holds read together. The screenshot harness gains fixture scenes for
both, filled without contacting the node.
2026-10-15 22:43:12 -03:00
waozi 4c2089d62e Keep sync from getting stuck on Review sync changes
Android gives the app no writable temporary directory, and the debug and
Play builds changed into the release package's files path, which failed and
left the process in "/". Any SQLite statement journal or temporary table that
spilled to a file failed with "disk I/O error", rolled back the whole
transaction, and made every review merge fail, so the review window came
back each time it closed.

Temporary data now stays in memory on every connection, Android changes into
the package's own files directory, a step failure logs SQLite's reason, and a
review is merged or shown once per account snapshot instead of reopening
right after it closes.
2026-10-15 22:27:39 -03:00
waozi d133932ee8 Draw Lists tabs as tabs and center the Dew top-up address
Kryon now draws a tab bar as labels over a divider with an underline for
the open tab, instead of an outlined box with a chip inside; this pins
that Kryon and KSS. Inbe's sheet colors the underline with the breathing
circle color, as it does progress fills, because some themes' accent sits
too close to the page to be seen.

Top up Dew centers the Monero address lines under the QR code and leaves
room above the Copy and Wallet buttons.
2026-10-15 22:24:16 -03:00
waozi 5802b20e4c Add the Tibetan woman and monk to Tai Chi as flat characters
The painted Tibetan woman and monk return in the flat style, as looks on
the same skeleton: the woman with braids wound round her head (red yarn and
beads), a teal vest over a cream blouse, the rainbow sash and gathered
indigo trousers; the monk shaved, in a saffron sleeveless top with blue
piping, a maroon sash and trousers, and black shoes. Looks gain bare arms,
sleeves in their own colour, sashes, gathered trousers, shoes, coloured
piping and collars, and the shaved and braided hair.

Inner Breeze offers all four characters in a two-column grid; the men
speak with the male voice. The studio keeps the painted pair to compare.
Parity: all 60 reference frames match the studio.
2026-10-15 22:23:03 -03:00
waozi 497b90a4b8 Draw Tai Chi in Inner Breeze with the flat Jade woman and Indigo man
The app now draws the course studio's flat figures: tai_chi_flat.zi turns
the solved skeleton into the same paint operations as design/tai-chi's
shapes.js, and tai_chi_draw.zi draws each shape and line as a tinted image
mesh over one soft-edged texture. The painted monk and Tibetan woman, their
parts and the painted layout are gone; the parity test now compares every
paint operation with the studio's reference.

Tai Chi opens seen from the front, mirrored, and Front, Back, Side and
Angled buttons under the figure change the angle; the choice is kept in the
tai_chi_view setting and the course thumbnails follow it. Indigo man speaks
with the male voice. The new names and labels are translated in every
language, with the font subsets regenerated for their characters.
2026-10-15 22:10:01 -03:00
waozi 807857f9ce Draw the flat Tai Chi figures as shared paint operations
src/flat/shapes.js turns the solved skeleton into filled convex polygons
and lines, reading only what Inbe's solver keeps, so the app can draw the
same frame. The head is now layered: outline in hair, the visible face cut
along the hairline, jaw, nose and ears by depth, fringe, bun and tie. The
arm shade is clipped to the jacket's convex pieces. Demos are seen from
the front three-quarter, and labelled renders keep the figure clear of the
title bar and cue words.
2026-10-15 21:39:06 -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 cfea4d90a3 Draw Tai Chi's Jade Woman and Indigo Man as flat 2D figures
src/flat/figure.js draws the solved skeleton as a flat vector illustration
with Canvas 2D, matching the flat Sun Salutation characters: limbs as hulls
of circles and cuff rings, the jacket as a lofted union of ring hulls, a
ray-cast head coloured flat by zone with stroked closed eyes, darker far
limbs and an arm shade on the jacket. Motion checks: 0 errors for both rigs.
2026-10-15 20:44:23 -03:00
waozi 6376ea6386 Remove the 3D toon Tai Chi characters
The owner wants Tai Chi drawn flat in 2D like Sun Salutation, not as 3D
figures; this reverts 3ef6a493.
2026-10-15 20:39:14 -03:00
waozi 525982013f Add flat Jade Woman and Lake Man Tai Chi characters
Two 3D characters drawn like a flat illustration to match the flat Sun
Salutation: two-tone toon materials (a clear shade on cloth, a light one on
skin), calm closed eyes, dark sleeve and trouser cuffs. The stage's flat
lighting makes the lit tone the colour itself and keeps the sun beside the
camera. Motion checks: 0 errors for both figures.
2026-10-15 20:13:35 -03:00
waozi 0f68c8907d Keep Jade bun and Indigo crop as the flat Sun Salutation characters
The owner chose Jade bun for women and Indigo crop for men; the other
candidates and the shapes only they used are gone.
2026-10-15 20:13:34 -03:00
waozi bb01ab867d Render Sun Salutation in a clean flat style with six characters
scripts/render-sun-salutation-flat.py draws the existing pose timeline as
flat vector shapes: limbs as hulls of circles, one-colour parts filled as
one shape, feet that find their own floor contact. The characters in
docs/sun-salutation-flat.json pick torso, legs, sleeves, face and hair and
give their colours; --grid renders all of them side by side to choose.
2026-10-15 20:05:09 -03:00
waozi bbd7db97cd Narrate Sun Salutation in a female and a male voice
Every breath of Sun Salutation now has a spoken line in all 12 languages,
such as "Breathe in and sweep your arms overhead". When a line would run
past the breath at a quick tempo, only "Breathe in" or "Breathe out" is
spoken. The recordings come in small free packs per language and voice,
verified against their text like Tai Chi's.

Customize gains the same narration switch, voice choice and download
status as Tai Chi, now one shared block. The men speak with the male voice
until another voice is chosen.
2026-10-15 19:07:32 -03:00
waozi 05a6c62096 Add a 9:16 cut of the Tai Chi break film for Shorts, TikTok and Reels
?aspect=portrait (render.mjs --aspect portrait) renders the same 53 s at
1080x1920. The camera keeps its vertical field of view and pans across
the plates by turning on its own centre, so they re-project without
parallax tears. The terminal stacks each lane in the middle of the
monitor, the push-in stops while it still fits, Lumi rises up the
frame, and the two teachers stand closer together. Titles stay out of
the platform UI areas. finish.py --vertical lays the same narration and
mix under it; the 16:9 film is unchanged.
2026-10-15 18:58:43 -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 0528de3d37 Keep shared lists working and calm when the connection fails
Shared lists never updated: every reply from the node ends with a newline,
and Lists rejected it as invalid, so each refresh showed "Could not update
shared lists". Replies are now read with their trailing whitespace.

A failed refresh keeps the last lists and says nothing. An unconfirmed
change stays on the device and is sent again quietly after a growing pause;
only repeated failures show a calm notice with Retry. A change made while a
refresh is running waits and goes after it.

Every device now seeds the starter Inbox with the same IDs, and untouched
starter copies left by earlier versions are removed, so an account no longer
shows several Inbox tabs. A copy still syncing is never mistaken for a used
Inbox, so all devices keep the same one.
2026-10-15 18:48:13 -03:00
waozi f79898095d Narrate the Tai Chi break film in the male Tai Chi voice
Eight lines spoken by Gemini's Algieba, the voice of Tai Chi's male
narration, each take checked against a transcript. The score stays low
and steady under each stretch of talking and rises only in the real
pauses, and one fixed gain sets -14 LUFS, so the level never pumps.
narrate.py now takes --config and --out for other films.
2026-10-15 18:44:47 -03:00
waozi 9323ad0a3b Retry practice downloads by themselves and log their outcome
A failed grant, transfer or unverified file is tried again twice, with
a fresh grant for a paid pack, before Manage practices shows the failure,
so one network hiccup no longer needs a manual retry. Each download logs
its start, installation, retries and failure, without its grant.
2026-10-15 18:42:56 -03:00
waozi 01445a0354 Reload Tai Chi narration when the voice changes 2026-10-15 18:30:59 -03:00
waozi 7015fe92a8 Add the Tai Chi break film: while your agents build, find your calm
A 53-second Three.js film for social posts: a late-night desk where six
agents work in a terminal, a pass through the screen's light to the clouds
at dawn, the painted teachers' Wave Hands Like Clouds and Part the Wild
Horse's Mane in the monastery courtyard with the course's facts, the
finished work, and an Inner Breeze end card. It reuses the trailer's world,
plates, Lumi and teachers, with a new painted desk plate, a Lyria score and
a finishing script.
2026-10-15 18:12:34 -03:00
waozi 24eba5f715 Name male narration packs by their voice when signing releases 2026-10-15 17:58:13 -03:00
waozi b66338fea0 Record Tai Chi's narration in a male voice in every language
Gemini TTS voice Algieba speaks all 307 lines in the twelve languages,
each clip transcribed and kept only when it matches its line. Accepted
spellings now apply to the line and the transcript alike, so a Korean
line written with either form of 내딛다 matches its recording.
2026-10-15 17:55:36 -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 c3c7856aff Move Tai Chi's narration language into its Customize
Manage practices shows each practice's size and download only. Tai
Chi's Customize shows the narration language under the voice switch,
with the pack's status and its download, which keeps running while
Customize is open. Purchases are known from the first frame, so an
owned Tai Chi keeps its place at start, and store screenshots show
Tai Chi as bought.
2026-10-15 17:16:10 -03:00
waozi fe3375f5b0 Test Lumi's offer to unlock a paid practice 2026-10-15 17:04:22 -03:00
waozi 8d6294e838 Lumi asks to download or unlock a practice before starting it
A practice that isn't on this device is offered first: free ones to
download, paid ones to unlock with Dew. Yes opens Manage practices at it,
no drops the offer, and nothing claims to start. A build that does not
offer a practice says so and does not suggest it. Lumi can start Tai Chi,
and no practice starts by any route unless it is installed and owned.
2026-10-15 17:02:22 -03:00
waozi d422421ed7 Remove donations: Dew is how people pay in Inner Breeze
The donation reminder, About's Donate button, the donation window, Lumi's
/donate command, donation card and show_donation_links tool are gone,
with their translations and the Android debug hook. Donation cards older
versions saved stay in synced history but no longer show, and Lumi
packages before 1.5.0 still find the retired host calls, which return
nothing. Lumi 1.5.0 drops them, and its suggestion loops now follow the
command list's length. Lumi's UI test installs the practices it starts.
2026-10-15 16:40:49 -03:00
waozi f4d1cffbba Show Tai Chi only to an account that bought it, and read purchases at start
A paid pack left on this device no longer counts as installed unless the
connected account owns it, so Practice does not list Tai Chi before it is
bought. Each account's unlocks are read once after it connects, so a
purchase made elsewhere is recognised before anything is downloaded, and
ownership is remembered per account with sync off.
2026-10-15 16:14:32 -03:00
waozi 6edb24d2ee Show Tai Chi's discount as a badge instead of a sentence
The regular price is struck through beside the price charged now and a
tinted -90% badge, computed from the node's prices. Until those prices
arrive the regular 10 Dew shows. The practices UI test no longer assumes
downloads fail now that the packs are on the node.
2026-10-15 16:03:25 -03:00
waozi eea57509e1 Top up in its own window, show Dew in XMR and USD, and keep Monero off Google Play
Top up opens a window with the rate, the confirmations needed, the QR code
and the full address. Storage plans shows what 10 Dew is in XMR and US
dollars from the node's published rate. Tai Chi's row names its launch
price beside the struck-out price and always shows its download size.
Google Play builds no longer offer Monero donations either.
2026-10-15 15:54:25 -03:00
waozi dbb32b7ef9 Choose Free, 1 GB or 5 GB storage in its own window, priced in Dew
Profile's Dew card keeps the balance with Top up beside it and opens
Storage plans, where tabs show each size's month and year prices from the
node. The node names every price; switching size carries remaining time
over. Uses Kryon's fix that keeps a clicked tab looking selected.
2026-10-15 15:42:15 -03:00
waozi 5b2e42f35a Show Tai Chi's offer price beside its struck-out regular price
Manage practices shows the Dew Tai Chi needs in bold, with the regular
price struck through while the node runs an offer. The node's prices are
public, so the offer shows before anyone signs in; signed-in accounts
still read their unlocks and prices from their own route.
2026-10-15 13:08:57 -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 a0060a3252 End the practice when its floating window is closed
Android's X on the picture-in-picture window only hid the window: the
practice kept running in the background, and opening Inbe again brought
it back. Java now flips a closed bit when the window closes while the
activity is stopped, and the frame ends the practice at once, keeping
what the exit prompt's Save keeps, stopping its background timer,
wake lock and notification, and reporting the route so the next frame
does not return to the practice.

Checked on the Moto (Android 9) with Wim Hof: the X ends the practice
within 0.1 s, the session notification goes away, Inbe reopens on
Practice, and the window's expand button still restores the practice.
2026-10-15 11:49:41 -03:00
waozi 572535ee01 Record development Moto check for practice manager and Lumi repair 2026-10-15 11:10:05 -03:00
waozi e8137a6aef Fit desktop practice regression on its private display 2026-10-15 11:05:54 -03:00
waozi 16b21e4839 Keep Lumi tool follow-ups within the node message limit 2026-10-15 11:00:38 -03:00
waozi 9814d3daf2 Include practice manager in Android source generation 2026-10-15 10:59:38 -03:00
waozi 2dad9dab45 Manage practice downloads in a dedicated modal 2026-10-15 10:50:39 -03:00
waozi 82ed90fc61 Fill Tai Chi preview cards and name each lesson in the course
Course and character previews frame the painted pose to its own height,
so the figure fills its card instead of a third of it. The course
sidebar and heading show what each numbered lesson teaches, where a
blank line stood before.
2026-10-15 09:07:19 -03:00
waozi 6ddf2ae54f Record the checked 2.1.34 development APK 2026-10-15 04:59:11 -03:00
waozi 9ca37792a7 Read modular practice content in browser regressions 2026-10-15 04:53:44 -03:00
waozi 0f484c72c0 Complete web practice fixtures on their actual route 2026-10-15 04:49:51 -03:00
waozi 0feb1b53b9 Verify the current spoken Tai Chi hint in the UI 2026-10-15 04:43:31 -03:00
waozi 0aebe59fe9 Show practice transfer status and load cached shortcuts 2026-10-15 04:40:12 -03:00
waozi 56ab5047d4 Check practice content for every start path 2026-10-15 04:33:54 -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
waozi 9ea32baf78 Make Dew status and payment quotes reliable 2026-10-15 02:37:06 -03:00
waozi 829771c6d1 Show storage prices in XMR without a dollar peg 2026-10-15 01:41:02 -03:00
waozi c65b5a6475 Add Dew balance and prepaid storage upgrades 2026-10-15 01:26:10 -03:00
waozi 221e10e30a Use standard list tabs and add accepted friend sharing 2026-10-15 01:24:56 -03:00
waozi 2f4e64bc10 Animate "A Day with Lumi" in Three.js
The trailer's nine clips now play as a real 2.5D animation: clean painted
plates pushed into depth, Mia breathing on her own layer, Lumi flying her
wing cycle with glowing trails, water, mist, rain, stars and light in motion,
and the painted Tai Chi teachers performing the course's own Wave Hands Like
Clouds and Brush Knee and Push. compose.py adds the app screens, end card and
soundtrack as before.
2026-10-14 16:13:38 -03:00
waozi 31a6d9fcb8 Add an optional bell every minute to the Wim Hof practice
Customize has a "Bell every minute" toggle, off by default. When on, the
practice rings the bell once for each whole minute of running time from the
start; paused time does not count, and minutes that pass while cues are
silent never ring late. When the last-breath bell or the retention marker
rings at the same moment, that bell marks the minute. The setting is saved,
loaded and importable like the retention marker, with the label translated
in every locale.

Requested from Lumi feedback on Inner Breeze 2.1.31.
2026-10-14 11:00:28 -03:00
waozi 5ead9ed5d4 Record the Moto phone check for Inner Breeze 2.1.33 on its final sources 2026-10-13 23:52:48 -03:00
waozi 9425f86adc Give Android's native library room for Lumi's guides and the sync fixes
The 32-bit x86 library reached 5.03 MB in the release build, just over
its 5 MB budget, from app code that 2.1.33 adds. The budget exists to
catch megabytes of images embedded in the library; 5.5 MB still does.
2026-10-13 23:50:05 -03:00
waozi e7924920e3 Record the Moto phone check for Inner Breeze 2.1.33 with the overlay and sync fixes 2026-10-13 23:43:00 -03:00
waozi f69937de8d Open add-on links and app shortcuts above the Apps library
A practice, Habits or break settings opened from the browser add-on, or
an app opened from a shortcut, started underneath the Apps library when
it was showing, so nothing seemed to happen. They now close it and any
dialog first. The web smoke test waits for the practice screen to draw
instead of two browser frames, and 2.1.33's notes cover the sync fix.
2026-10-13 23:36:20 -03:00
waozi 7829d7d098 Keep newer synced habit settings and days when an older copy saves
A device saving its habit list wrote every habit and day from memory, so
an app that had been open while sync stored newer values underneath put
the older ones back, on this device and through sync on every other
device. A save now writes only what changed since the list was loaded:
settings left alone keep the synced values, unchanged days are not
rewritten, and a habit deleted elsewhere stays deleted.
2026-10-13 23:18:27 -03:00
waozi 395aba4662 Refresh every Play listing: Lumi short description, 12 languages, new feature graphic and screenshots
The store listing now opens with "Lumi guides your day" in every language
the app speaks: Czech, Indonesian, Italian, Japanese, Korean, Russian and
Chinese are new, each with the trailer. Phone and tablet screenshots show
the current app, and the feature graphic matches the trailer. Tesseract now
gets an enlarged read of small tablet text before a screenshot check fails.
2026-10-13 23:15:01 -03:00
waozi cbcccb870f Add the vertical 36-second short of the Inner Breeze trailer
short.json cuts Lumi's intro, Tai Chi, habits, "just ask" and the end card
over sections of the trailer score, joined just before their onsets.
mix.py --short and compose.py --short render it at 1080x1920 from portrait
keyframes with the real app screens in a phone above TikTok's caption area.
2026-10-13 23:12:45 -03:00
waozi a52676abc3 Add the "A Day with Lumi" trailer sources and link the public trailer
The 65-second Inner Breeze trailer is public on YouTube and set as the
preview video of every Google Play listing language. design/promo-film
keeps its plan, Lumi's chosen voice takes, the score, storyboard keyframes
and the scripts that mix the soundtrack and compose the cut with the real
app screens.
2026-10-13 22:52:47 -03:00
waozi d1fcc390b9 Release the apps rebuilt for Inner Breeze 2.1.33 with new versions
Habits, Practices, Lists, Diary and Leaderboard came out of the newer
toolkit as different packages under their old versions, so the node
refused to publish them and the new Lumi and root package with them. They
are now Habits 1.0.5, Practices 1.1.5, Lists 1.0.6, Diary 1.1.10 and
Leaderboard 1.0.2, and root package 2.1.30 brings them with Lumi 1.4.0.
2026-10-13 22:51:53 -03:00
waozi aa4f3bce32 Choose a push app from a clean list, or None to turn push off
Setting up push now opens a list with each installed push app's icon and
name and the app it uses, like other UnifiedPush apps do, and a None row
that turns push notifications off until an app is chosen again. On Google
Play builds the list shows Google's notifications, and None stops them.
2026-10-13 22:49:25 -03:00
waozi 3ead1b4e1a Record the Moto phone check for Inner Breeze 2.1.33 with the sync fixes 2026-10-13 22:40:00 -03:00
waozi 19d9c15342 Download before sending after an update, and fill habit settings an older version dropped
A device updated from an older version could send its habits back without
the settings that version didn't keep, such as questions, a span or a
schedule, and because it sent them as new they replaced the full habits on
the account and its other devices. An updated device now downloads every
record before it sends any, then sends its changes right away in a second
exchange. While that download is applied, a habit's missing icon, days,
reminder, schedule, questions or span come from the account's record even
where the device's copy looks newer; settings it already has stay.
2026-10-13 22:34:25 -03:00
waozi 880f5b8c63 Never drop synced fields an app version doesn't know
Each device now keeps every synced record with all its fields, as it
arrived or left. When it sends a record again, its own fields go on top of
that copy, so an older version never removes fields a newer version added,
on its own device or for the account's other devices. Clearing local sync
data or resetting sync clears these copies too.

A new check lists every field the sync reads from records. When that list
changes, STORAGE_SYNC_RECORD_FIELDS has to rise with it, so every device
downloads its records again once and gets the new fields.
2026-10-13 22:21:23 -03:00
waozi 01cce2c41c Add the habit sync fix to 2.1.33's notes 2026-10-13 22:16:02 -03:00
waozi 5326d1cd43 Download synced records again after an update that knows more of their fields
A habit set up on one device came to another as a plain checkbox: the
other device received it while on an older version, which kept only the
fields it knew, and its sync position then moved past that record, so
updating never brought the habit's questions, span or schedule. Each
device now downloads every record once when its app understands more
synced fields than the version that received them, and later field
additions only need to raise that version.
2026-10-13 22:15:51 -03:00
waozi c702b3967c Record the Moto phone check for Inner Breeze 2.1.33 on its final sources 2026-10-13 22:11:04 -03:00
waozi 2a9d351e5a Use the latest Kryon, with buttons that can show a detail line 2026-10-13 22:06:12 -03:00
waozi f9987de70b Keep the web Sun Salutation frame check from failing on slow CI runners
CI runners draw the practice canvas at only about 46 fps, so the 45 fps
floor failed whenever a runner had a few late frames. A practice that fell
to the idle rate draws at 30 fps; a 40 fps floor, matching the 25 ms median
limit, still catches that.
2026-10-13 22:06:12 -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 954ade1205 Agree to Lumi's online terms in the diary spelling test
Spelling checks follow Lumi's online switch and terms, so the test now
checks that an offline check sends nothing, then agrees before the checks
that reach the node.
2026-10-13 21:55:14 -03:00
waozi d6f657d3af Link the smooth frame requests into the E-List screen test 2026-10-13 21:42:21 -03:00
waozi eaba2e7a16 Record the Moto phone check for Inner Breeze 2.1.33 with Lumi's settings page 2026-10-13 21:33:29 -03:00
waozi fc495c9b74 Add Lumi's settings page, her swirl and visible progress bars to 2.1.33's notes 2026-10-13 21:28:57 -03:00
waozi 5c334bf3ae Open Lumi's settings inside Lumi, and let her swirl when tapped
The wrench in Lumi's title bar now opens Lumi's own settings page in place
of the chat instead of a Lumi tab in Settings, and one tap on its Back, or
the system Back, returns to the chat. Lumi's messages about her settings
now point to the wrench in her title bar, in every language.

Tap Lumi beside one of her messages and she swirls twice around her place,
just for fun. App packages can ask for smooth frames while they animate, so
the swirl stays fluid on phones.
2026-10-13 21:28:36 -03:00
waozi 3828187484 Fill progress bars with the theme's breathing circle color
In many themes the button color, which progress bars used to fill with,
sits so close to the track that a bar looked empty: Sun Salutation's breath
bar in the Sweet theme never seemed to fill. Progress bars now fill with the
theme's breathing circle color, which every theme sets apart.
2026-10-13 21:28:31 -03:00
waozi 4a4fa1d321 Test that Lumi's guide keeps the full frame rate
The frame pacing link test now provides the guide's animation state, which
frame pacing reads since Lumi's guides arrived, and checks that a flying,
typing or speaking Lumi lifts an idle phone back to 60 fps.
2026-10-13 21:02:39 -03:00
waozi 948fbc0a94 Record the Moto phone check for Inner Breeze 2.1.33 2026-10-13 21:01:03 -03:00
waozi 4178de43ff Release Inner Breeze 2.1.33 2026-10-13 20:56:01 -03:00
waozi c463c95fe5 Let Sun Salutation follow your breath, pose by pose
Each step shows its pose name with Breathe in or Breathe out, and every
pose lasts one breath. The old default tempo of 8 s slowing to 5 s moves
to the new breath tempo once; a tempo you chose yourself stays.
2026-10-13 20:55:33 -03:00
waozi 13378228c5 Open about two seconds faster on slower Android phones
Inner Breeze now uses the Ziran toolchain that reads its app packages
through a block buffer. On a Moto e6 play the first screen appears after
about 3 s instead of 5 s, and practices still run at 57.7 fps.
2026-10-13 20:53:30 -03:00
waozi bd3b3436c5 Look for the Apps shortcut at the bottom of the desktop rail 2026-10-13 20:24:33 -03:00
waozi 8b3c88765c Say that Lumi's terms keep server backups about a month
Backups on the node and on the developer's machine are now deleted after
31 days.
2026-10-13 20:24:33 -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 c093340abd Let Lumi answer what it understood but couldn't do itself
When a request names several matching items, none, or an app that isn't
installed, Lumi says so itself instead of passing the request to the AI.
Offline, these answers no longer turn into "I didn't understand that".
Only requests Lumi can't read go to the AI when it is online.
2026-10-13 20:24:33 -03:00
waozi 6fc335dba9 Check diary spelling and choose habit icons only when Lumi is online
Diary spelling checks and automatic habit icons now follow Lumi's online
switch and terms. Until Lumi is online under its terms, nothing is sent
for them: the diary offers no spelling corrections, and habits show their
practice's icon or their first letter. Switching Lumi offline ends a
check or icon request in flight, and habits still waiting for an icon are
asked about again once Lumi is online.

Lumi's terms now say that a spelling check sends the entry being checked
and that habits without an icon send their names and descriptions, that
the server doesn't store or log that text and counts these requests in
the same daily allowance, and that with your own AI provider these two
still go to Inner Breeze's server.
2026-10-13 20:24:33 -03:00
waozi 11045d2993 Show a span habit's statistics about its length first
A habit that measures start to end shows its spans' length, on target
count and chart right under its streak, and its start and end questions
no longer get time charts of their own.
2026-10-13 20:24:33 -03:00
waozi d767915b5e Lumi understands habits offline and asks before going online
Lumi now reads habit requests on the device, in every app language and
in English beside it: add, rename, pause, resume or delete a habit, set
its days and its reminder, count it to a target or measure it from start
to end with a good length, and give it questions with their good
answers. For example "add a habit push ups every day at 8", "jumping
rope should ask how many I did, higher is better", "my eating window is
good at most 8 hours" or "remind me to meditate at 7". Lumi always asks
before it deletes a habit, and answers with what changed in the habit
editor's words. What it can't read whole goes to the AI when online.

Lumi starts offline, and offline it sends nothing at all: no AI request,
no feedback delivery or reply check, and no Telegram messages. A switch
in Lumi's new title bar turns it online. The first time, Lumi shows its
online terms: what is sent, where it goes, what Inner Breeze's server
keeps and for how long, safety, and how to withdraw. The answer syncs to
the account's other devices and can be withdrawn in the new Settings >
Lumi, or from the terms themselves.

Settings > Lumi can also send Lumi's AI requests straight to your own
OpenAI-compatible provider, with its base URL, API key and model. The
key stays in this device's settings: it is never synced, shown again or
written to a log, and goes only into that provider's Authorization
header. The terms then name that provider, and another address asks
again.

The online model gets the same new habit tools: create, rename, pause or
resume, read, and delete, which only asks in the chat. A reminder can
now change without changing a habit's days. Secure fields paste from
their menu, so a key can be pasted on a phone.

Lumi 1.4.0 needs host interface 8, which this build provides.
2026-10-13 20:24:33 -03:00
waozi b202166e89 Let Lumi guide her own chat
The first time you open Lumi, she shows where you talk with her and what
you can ask, and that a slash lists everything she can do. When the
online switch is there, a second step explains it: offline she
understands you on your device and sends nothing; online she asks an AI
model when she can't understand you herself. Both lines are typed and
spoken in every language (24 clips, 0.66 MB, within the raised budgets).
2026-10-13 20:24:33 -03:00
waozi 8d911de54e Let Lumi guide Lists, Diary, Leaderboard, Settings, Profile and Statistics
The first time you open each of these screens, Lumi flies in and shows
what it is for in two or three short steps, typed and spoken like the
other guides: switching and editing lists and adding items; the diary's
days, Today and the calendar, and its page and tools; the leaderboard's
practices and ranking; the sections of Settings, and Cue volume and
Appearance in them; your picture, account, week and pages in Profile;
and a habit's figures and charts in Statistics. Each guide waits until
its screen shows everything it explains, and shows once.

The size budgets grew by 6 MB each for Lumi's added narration (192 clips,
3.89 MB): the Linux binary to 52 MB, the app package to 48 MB, the
single-ABI APK to 47 MB, and the universal APK and bundle to 55 MB.
2026-10-13 20:24:33 -03:00
waozi 9cac3a773c Give a span habit one Good when, on its start question
A habit that measures start to end is judged by the length of its spans,
whenever they start. When it asks a time question, that question is its
start: its card holds the span's Good when, its start and end questions
no longer offer earlier or later goals, and the tracking options no
longer repeat Good when.
2026-10-13 20:24:33 -03:00
waozi 29ee2015ab Let Lumi guide each screen: she flies, types and speaks
The first-run guides for Apps, Practice and Habits are now Lumi's. She
flies to each highlighted control and hovers beside her bubble with
gently beating wings, while her line types into the bubble and she says
it in the Leda voice, in the app's language. One tap shows the whole
line, the next goes on; Back, Next, Close, the arrow keys and Escape work
as before, and screen readers always get the whole text. Her voice
follows Cue volume and stops when the step or the screen changes.

Every guide line is rewritten in her words in all twelve languages, and
the Habits guide now explains counts, questions, spans and statistics.
While the practice guide is open, the arrow keys and swipes no longer
choose another practice under it, which started the guide over.

The size budgets grew by 4 MB for Lumi's spoken guide: 144 short voice
clips (3.6 MB) and her flight sprite.
2026-10-13 20:24:33 -03:00
waozi 514ba06d6c Show Inbe's own logo in the desktop tray
The tray icon comes from the app's own icon, saved in the data folder,
so an older install's icon in the desktop theme no longer shows instead.
2026-10-13 20:24:32 -03:00
waozi ac0173cdfa Aim at the habit edit action from the open table's columns
Opening a habit's details makes the table scroll, and the scroll bar moves
the day columns 10 px left; the tap hit the edit button's edge with Noto
Sans and missed it by a pixel with CI's DejaVu Sans. Measure the columns
after opening and tap its middle.
2026-10-13 19:39:16 -03:00
waozi 86d156a005 Fix the storage SQL and habit table tests for 2.1.32
The storage SQL test schema gains habits' span columns and habit_changes;
the habit table test taps the edit action again if a slow runner drops it.
2026-10-13 18:01:58 -03:00
waozi b558a7faed Give the Settings and Lumi Ziran tests the Plot package path
Statistics now draws Plot's band chart, and these tests compile modules
that reach it; CI failed with "package import plot/band_chart needs a
project".
2026-10-13 17:22:53 -03:00
waozi 4e983b3614 Check that a restored account queues its habit changes 2026-10-13 17:14:23 -03:00
waozi 472b194e9f Record the 2.1.32 phone check with the habit fixes: 57.7 fps 2026-10-13 17:05:37 -03:00
waozi 098ef08f78 Show a habit entry's answers as question and value
An entry's card shows each question, muted, with its answer in bold
under it, and no longer repeats a span's start question. Entries of
habits that do not measure spans show no time.
2026-10-13 17:02:24 -03:00
waozi 7183896178 Note 2.1.32's habit fixes within the Play notes limit 2026-10-13 16:59:00 -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 455b5f329c Paint the Tai Chi course with Tibetan cut-out characters
The studio now opens on the full form with a painted 2D Tibetan monk, in
the hand-painted cut-out style of Sun Salutation, and offers a second
painted character, a Tibetan woman. Both play every lesson and the full
form over the same solved body as the 3D figures.

Each character is a generated turnaround plus three part sheets (heads and
torsos in five views, limbs and hands, shoes), cut into transparent parts
by tools/cut-parts.py. src/painted/figure.js projects the solved joints
flat along the view, bends the painted arms and legs along their bones,
follows the spine with the torso, and switches head, torso, hand and shoe
drawings as each part turns.
2026-10-13 16:00:33 -03:00
waozi 01fec5d066 Record the 2.1.32 phone check of the shorter app update question 2026-10-13 15:57:12 -03:00
waozi 35162662b1 Answer the Apps update question in the web music test
The music check moves between screens through Apps, which now asks once
about app updates and would take the test's next click. Its setup declines
updates like the screenshot runs do.
2026-10-13 15:54:26 -03:00
waozi 613837bb0b Say briefly that only the apps inside update themselves
Owner feedback: the Apps question had too much text. It now asks whether
Lumi, Diary and the other apps inside Inner Breeze may update themselves
from waozi.xyz, notes the store does not check them, and that Inner Breeze
itself still updates through the store. About lists only the apps inside
Inner Breeze; its restart notice for a downloaded root stays above them.
2026-10-13 15:44:11 -03:00
waozi d885da2884 Record the 2.1.32 phone check: 57.7 fps on the Moto 2026-10-13 15:39:34 -03:00
waozi 246b256c05 Note 2.1.32's habit, app update and counter changes 2026-10-13 15:34:41 -03:00
waozi a7085c616d Draw circle counts and times in the accent's ink
The Ziran port dropped the circle-ink class, so the breathing count, the
meditation time and the practice window's label used the theme's text
color: white on the light accent circle in dark themes. Use circle-ink
again, now the accent's computed ink like the circle's ring and ticks.
2026-10-13 15:34:37 -03:00
waozi f5b155f17e Pin Kryon with the time picker and strong titles 2026-10-13 15:30:23 -03:00
waozi 33a208b404 Pick habit times with a time picker
Times in the Habits screens are picked with a time picker instead of
typed as hours and minutes. The entry dialog's time, a span's start and
end, answers to time questions, and the times of a time question's good
range in the editor each open an hour and a minute column, with Now and
Done. A span's end stays empty while it runs, and an end before its
start is still on the next day. Number goals are typed as before.
2026-10-13 15:27:21 -03:00
waozi 3167821eb9 Give the Habits pages clearer cards and titles
The Habits pages take the approved redesign. Titles are strong, labels
beside their figures are muted, and related things sit together on
rounded cards.

- Habits: an open habit's history, statistics and editor buttons and its
  streak and week sit together on a tinted panel, the figures on cards
  with the habit's colour along their edge.
- A day's screen: each entry is a card with its time, its buttons, and
  each answer on its own line; a running span's End now is on its card.
  Each practice's sessions and rounds share a card of their own.
- The entry dialog starts its strong title at the left with the day
  below it, and a number answer takes the dialog's width.
- The count dialog's title and count are strong, and Done is the
  dialog's main button.
- The editor's title is strong, each question has its own card, the
  week's days spread across the row, and Delete Habit is a quieter red
  beside Save, above a line that parts them from the form.
- Statistics: the habit's name and "Statistics" stay clear of the page
  as it scrolls; figures, charts and a written question's latest answers
  sit on rounded cards, and each question's title is strong.
2026-10-13 15:24:11 -03:00
waozi 5a3f7b5388 Ask in Apps before app packages update themselves; ship an F-Droid APK
Packages come from waozi.xyz, not the app store, so automatic updates now
wait for an answer. Apps asks once with two equal buttons and says the store
does not check these updates; Settings > About changes the answer. The new
key replaces cells_auto_update, which was saved as on without asking.

F-Droid rebuilds Inbe and compares it with our signed APK. Release builds
now also sign the universal APK built with -PfDroidBuild (self-update off)
and publish it as inbe-VERSION-fdroid.apk for F-Droid's Binaries field.
2026-10-13 15:20:29 -03:00
waozi 7c750cc193 Measure spans without a good length
A habit that measures spans from start to end now only measures them: the
editor no longer has a "Good length" row under "Measure start to end",
and a span is not judged good or bad. Its statistics show the spans'
average and longest length, a bar per span and when they started and
ended, without an on-target count or a goal line. Questions keep their
good answers.

Lumi's set_habit_tracking sets check, count with a target, or span, and
her context no longer lists a span goal.
2026-10-13 14:47:20 -03:00
waozi 56a5b52c24 Keep habit days as entries: spans, good ranges and Lumi setup
A habit's days now hold entries, several a day. An entry has its time,
or a span's start and end, and its answers. Tapping a day that is done
opens the day's screen, the same screen as a practice's sessions, which
lists its entries to change or delete, ends a running span, and adds
another entry. A habit with questions asks them in the entry dialog;
counting habits open the day's entries from their count dialog.

A habit can measure spans instead of counting, such as a fasting window:
a tap starts the span and the day shows half filled, the next tap ends
it. Number and time questions, yes or no questions and spans can say
what is good: at least, at most or between two values, after, before or
between two times, a yes or a no, or a good length. The habit's
statistics colour each value by its goal, count how many were on target,
draw the goal on the chart, and show spans' average and longest length
and when they started and ended.

Entries sync to the other devices as their own encrypted records, with
deletions; older versions of the app keep a habit's questions and span.
Answers from the build before entries become entries of their days.

Lumi sets a habit's tracking with set_habit_tracking (check, count to a
target, or spans with good lengths) and its questions and good answers
with set_habit_questions; a question that keeps its words keeps its
answers. Her context lists both for each habit.
2026-10-13 14:38:38 -03:00
waozi b668be4d44 Let a habit day's entry open over the day's screen too
The dialog that asks a habit's questions becomes the dialog of one entry
of a day. Besides the habits screen, it opens over the day's screen of
entries and sessions, where an entry is added or changed; its law now
states both screens.
2026-10-13 14:38:16 -03:00
waozi 4370e61f60 Upload Lists' lists and items as kept, not deleted
When a list or item was uploaded, the check for whether it had been
deleted ran an empty query and so always answered yes. Every list and
item reached the sync node marked deleted, and other devices dropped
them. The check now reads the record's deleted mark, so lists and items
arrive on other devices again; only deleted ones upload as deletions.
2026-10-13 14:38:11 -03:00
waozi 28c94ca260 Keep habit checks and Off/On toggles inside their space
A completed day's check is now one smooth stroke centred on its dot and
sized to it, so it stays inside the dot at any display scale instead of
a jagged mark that reached its edge. The Off/On toggles of Counter mode
and the practice settings take the room their labels need and stay
inside their cards. Opening a habit's card in the habit list scrolls the
list so the whole card shows.
2026-10-13 14:12:37 -03:00
waozi 7b65ddaf5e Let habits ask questions when a day is done, with their statistics
A habit's editor now has "Ask when done": add questions, each with its
words and how it is answered, as text, a whole number, a time or yes or
no. A habit without questions works as before. With them, tapping an
open day shows the questions, and Done records the answers and marks the
day. Tapping a day that is done shows its answers to change, like a
practice's session data, with Not done to open the day again. Counting
habits show their questions under the count steps.

Each answer keeps its question's words, so earlier days read the same
after a question is reworded or removed. Questions travel with the habit
and answers with the day to every device, only inside the encrypted
records; older versions of the app keep them.

The habit's statistics add up each question over the last 30 days: the
average and earliest to latest of times, with a dot per day, bedtimes
around midnight averaging correctly; the average and total of numbers
with a bar per day; how often the answer was yes; and the latest written
answers.
2026-10-13 13:56:21 -03:00
waozi 347fc198c2 Give a habit's day questions their own dialog on the Habits screen
A habit's questions for a day, and the answers of a day that is done,
open in a dialog of their own. Like the count dialog, it belongs to the
Habits screen in either tab and closes when the app leaves it; a new law
states this, and the remaining dialogs may still appear anywhere.
2026-10-13 13:56:21 -03:00
waozi 14de0e9b74 Merge a waiting sync review instead of asking
When the server sends a full snapshot that would have stopped for a
review, the app now merges it as soon as the screen is idle: each record
keeps the side that changed it last, and local records stay. Only a
snapshot that cannot be read and applied whole still opens the review.
A desktop with Patterns sessions hit this on every full snapshot.
2026-10-13 13:23:29 -03:00
waozi 9ab91372e9 Serve the Tai Chi studio on a port that is free here 2026-10-13 02:11:13 -03:00
waozi 746df2fbf0 Ship Habits' off-day taps with the next release
Habits 1.0.5 could not be published on its own: other apps' packages
changed without new versions, and the node publishes them together.
Older apps never let a day off the schedule be tapped, so the change
only matters with the new app and goes out with it, versioned then.
2026-10-13 02:10:21 -03:00
waozi bfc6ef74bc Animate a full Tai Chi course in a Three.js review studio
The Yang 24-form, taught in eight lessons after a Foundations module,
is written as choreography data rather than video: a 3D rig, a pose
solver with knee-over-toe leg IK, balance over the feet and planted
feet that never slide, and every movement as a demo, a slow breakdown
with cues, and a follow-along on both sides. Sage Bun and Sage Male
are the 3D figures.

design/tai-chi holds the studio, motion checks, headless review
renders and the export to docs/tai-chi-24.json. Inbe's code is not
changed; app playback is a later decision.
2026-10-13 02:08:17 -03:00
waozi 3aa5595fb4 Let habits repeat on a schedule that keeps their history
A habit's schedule now reads as one sentence in its editor: "Every week",
"Every 2 days", "Every month", "Every year", a formula, or no set days,
with - and + for how often. Weekly habits show the seven days as circles
lit in the habit's color; tap a day to turn it on or off. Monthly habits
pick days of the month, the last day, or a weekday such as the last
Friday; yearly habits pick a month and day. A formula plans days with
numbers such as days, weekday and nth, for example "days % 3 = 0".
"Remind me at" sends the habit's notification on its planned days, or is
Off.

A changed schedule plans the days from today on. Earlier days keep the
schedule they had and nothing recorded is removed. In the habit table
only planned days have a circle; a day off the schedule still opens, and
what was recorded on it shows faded. Schedules travel with the habit to
other devices; older versions of the app keep them and see a weekday
mask that matches where one can.

Lumi sets any of these schedules and the notification with the new
set_habit_schedule tool and reads each habit's schedule in her context.
The editor's sections are always open under plain headings, and the
icons show one row with ... for the rest. New and default habits start
without a notification instead of one at midnight. Habits 1.0.5 lets
days off the schedule be opened and counted.
2026-10-13 01:55:41 -03:00
waozi a927e845a1 Give completed habit days the same raised look as open ones
The filled day circle was flat next to the open circle's rim, inset and
highlight. It now has a darker rim, a shaded lower edge and a highlight,
and a bold check stroked like Kryon's Checkbox, placed on whole pixels
so every day's check looks the same.
2026-10-13 01:17:23 -03:00
waozi 3f0ea0411f Open no tray icon during screenshot runs
A screenshot run on a private display still reached the session bus
through XDG_RUNTIME_DIR and added an Inner Breeze icon to the user's
panel, which came back with every test run.
2026-10-13 01:08:51 -03:00
waozi 24075afeae Select the daily target's number when it is tapped
Kryon 532c4d6c selects a numeric field's whole number when a tap focuses
it, so typing a new habit daily target replaces the old one instead of
adding digits to it; the lock moves to it.
2026-10-12 21:05:48 -03:00
waozi 110e62ec84 Let habits have a daily target above 99
The daily target in the habit editor is now a number field between the
- and + buttons: it takes digits only, opens the number keyboard on
Android, and allows targets up to 9999 instead of stopping at 99.
Requested in Lumi feedback from Inner Breeze 2.1.31.

Kryon d7454f8f adds the numeric text field mode, so the Android activity
takes the numeric flag in setTextInputState; the lock moves to it (it
also brings fbc07f54, held-key repeat).
2026-10-12 19:11:08 -03:00
waozi 769730c2d8 Record the 2.1.32 phone check: 57.7 fps on the Moto 2026-10-12 18:53:43 -03:00
waozi 74ed772ee8 Release Inner Breeze 2.1.32 2026-10-12 18:49:19 -03:00
waozi 56c1b8f2a3 Keep the habit table's hover highlight inside the table
A habit row, an inactive habit's row and the inactive habits' header
reacted across the table's full width, so their rounded hover and press
highlight covered the table's border and met the lines between rows at
odd corners. They now react a little inside the row, and the highlight
stays clear of both.
2026-10-12 15:52:52 -03:00
waozi 3f1ec2d8a4 Give the fake key input in text tests the key repeat check
Text fields now ask raylib whether a held key repeated, so the tests that
stand in for raylib's keyboard answer that too. The text input test now
also checks that a held Backspace repeats and a held paste does not.
2026-10-12 15:03:44 -03:00
waozi a9766b570d Show inactive habits as a section at the end of the habit table
Inactive habits are no longer a dropdown pinned to the bottom of the
screen: their header row ends the habit table and scrolls with it, and a
tap shows or hides their rows below it. A habit dragged onto the section
becomes inactive; an inactive one dragged up into the habits becomes
active again in that place.
2026-10-12 15:00:49 -03:00
waozi cc13c9d153 Fit the habit table to narrow screens and choose icons with GLM
On a narrow screen the habit table no longer runs past its edge: rows
show a smaller icon without the name, and when even that does not fit,
fewer past days. A habit without an icon of its own and no practice to
suggest one gets one chosen by the Waozi node's GLM service from the
habit icons, or keeps its first letter when none fits; an icon chosen in
the editor, including the letter, is never replaced.

Holding Backspace, Delete or an arrow key in a text field now repeats
like in any text editor instead of acting once.
2026-10-12 14:55:59 -03:00
waozi d6f3a4c9e6 Show habits as a table with an icon for each habit
Habits is now one table: the day names across the top, today first, and
a row for each habit with its icon, its name and a circle for each of
the last seven days. Long names end in an ellipsis. Tapping a habit
opens its history, statistics, editor, streak and this week's count
below its row; rows drag to another place or into Inactive habits.

Each habit can choose one of 36 MingCute icons in its editor; without
one it shows its linked practice's icon or the first letter of its
name. The icon is a new habits.icon column (0 after the upgrade) and
travels in the habit's sync record. The Complete today button is gone,
since the Today column does the same.
2026-10-12 13:57:18 -03:00
waozi a0a3c8e0c8 Make habits inactive by dragging them into an Inactive habits dropdown
The Inactive habits dropdown is always below the habit list. A card
dragged onto it becomes inactive; a habit dragged out of it into the
list becomes active again. It replaces the Deactivate button.
2026-10-12 13:17:26 -03:00
waozi 65f3f9416e Skip package publishing until a changed package has a new version
The node rightly refuses changed bytes under the version it serves, so
every source change without a version bump turned App packages red. The
publisher now compares with the served releases first: changes without
a new version wait for the next one with a notice, unchanged packages
upload nothing, and only a new version mixed with an unversioned change
still fails.
2026-10-12 13:09:27 -03:00
waozi e308e1c907 Put Deactivate on the open habit card and scroll while dragging at the edge
Deactivate was hidden in the habit editor; it is now the open card's
fourth action beside history, statistics and editing. A dragged card
held near the list's top or bottom, or past it, scrolls the list, faster
the further it goes.
2026-10-12 13:09:27 -03:00
waozi 6e6d4a8385 Let habit cards be dragged into another place
With a mouse a card follows a press that moves; on a touch screen a
card is lifted after a short hold, so a swipe still scrolls the list.
A card dropped on another takes that card's place.
2026-10-12 12:40:02 -03:00
waozi c1ecbbd2be Show the donation reminder only after a practice finished on this device
Sessions synced from another device raised the count past the next
reminder and opened it again on the desktop, after it had already been
shown and dismissed on the phone where the practice was finished.
2026-10-12 12:40:02 -03:00
waozi 30620028dc Show that a practice finished in the floating window
A practice that ended while Android showed it in the floating window
kept its last picture there, such as a meditation stuck at 0:00, and
opening the window back into the app returned to the dead practice page
instead of its results. The window now says Finished above the
practice's name and its main results: rounds and best hold for Wim Hof,
the duration for meditation, the duration and cycles for patterns and
the repetitions for Sun Salutation. A meditation waiting at its end to
be extended shows the same. The results change made outside the app's
frame is now reported to the router, so the app opens on the results.

Checked on an Android 12 Pixel 3a emulator: a one-minute meditation and
a five-minute pattern finished in the floating window, showed Finished
with their results, and opened back on the results screen.
2026-10-11 22:35:02 -03:00
waozi 42a66b8d23 Open the floating window when switching apps from Recents
During a practice, Home opened the floating window but switching to
another app through Recents or the quick switch along the gesture bar
did not. Android 12 keeps the app resumed behind Recents and moves Home
forward before opening the chosen app, so Android refused the floating
window when the app paused, even from onUserLeaveHint ("refused" is now
logged with its cause). The app now enters while still resumed, when
Recents announces itself by closing system dialogs with the reason
"recentapps". The notification shade sends no such reason and still
leaves the app in place.

Checked on an Android 12 Pixel 3a emulator: Home, Recents then another
app, gesture Recents then another app and the quick switch all open the
floating window; the notification shade does not.
2026-10-11 22:28:49 -03:00
waozi 32ce401f1e Let habits be deactivated and dragged back into the list
A habit's editor now has Deactivate beside Delete. A deactivated habit
keeps its days but leaves the habit list, today's count, reminders, the
desktop tray and Lumi. A button at the bottom of Habits shows the
deactivated habits; dragging one into the list makes it active again in
the place it is dropped.

The flag is a new habits.deactivated column (the upgrade adds it as 0)
and travels in the habit's sync record. The server does not store it
yet, so each device keeps its own choice, as with schedules and
reminders.

Requested in Inner Breeze feedback from the owner's account (2.1.29,
Pixel 3a).
2026-10-11 22:25:47 -03:00
waozi 9ea2ef7c0e Record the 2.1.31 phone check: 57.7 fps on the Moto 2026-10-11 20:12:08 -03:00
waozi 435e4beeae Release Inner Breeze 2.1.31 2026-10-11 20:09:13 -03:00
waozi 4e819698f2 Fail the phone check when the app comes back shifted
The check measured the layout shift after leaving and resuming a practice
but only warned, so 2.1.28 to 2.1.30 passed with the app shifted after the
floating window. A shift above 2 now fails the check and the release gate.
2026-10-11 20:04:47 -03:00
waozi 85b570c20c Keep the app inside the screen after the floating window
Android's floating window gives Inbe's window a shadow that makes its
drawing surface 18 pixels larger on every side, and keeps it after the
window opens back to full screen. The app then sat under the camera and
status bar, ran into the navigation and lost its sides. The activity now
reports its window size and Kryon draws and takes touches inside the
window's part of the surface; the floating window itself still fills its
whole surface, without a border.
2026-10-11 20:04:47 -03:00
waozi 86ef64945e Test the web orientation preference without a canvas resize 2026-10-11 16:57:44 -03:00
waozi e45eb34c2e Record the 2.1.30 phone check: 57.7 fps on the Moto 2026-10-11 16:19:30 -03:00
waozi f948e86fd8 Release Inner Breeze 2.1.30
Long menus scroll by touch, open at the current choice, stay above the
navigation and close when the navigation is tapped, switching screens in
one tap. The web app draws at the screen's pixel density with sharp
icons. The app packages are unchanged.
2026-10-11 16:15:29 -03:00
waozi b58816cd8c Keep open dropdowns inside the page above the navigation
Kryon sizes a dropdown's menu to the page that shows it, so a long menu
ends above the navigation and scrolls to its last row.
2026-10-11 16:01:17 -03:00
waozi 8789e06120 Let an open dropdown close when the sidebar is tapped
Kryon's dropdown menu is now a popup over the page: a tap on the
sidebar or anywhere outside closes it and still switches the screen.
2026-10-11 15:51:40 -03:00
waozi 6145794d76 Scroll dropdown menus by touch and sharpen vector icons
Kryon's dropdown menu now scrolls like any list, by finger, wheel and
fling, and opens at the chosen row; it keeps its own highlight and
scroll, so the language dropdown stops passing them. Vector icons
rasterize at the screen's real pixels, without seams.
2026-10-11 15:25:50 -03:00
waozi 1944e9e1b9 Draw the web app at the screen's pixel density
Applying the orientation preference resized the canvas to its CSS size,
over Kryon's canvas host, which keeps it at CSS size times
devicePixelRatio and resizes it when its box changes. On a 2x screen the
app then drew its 2x frame into a 1x canvas: magnified, cropped and soft.
The web build also tells the icon painter its render scale, as the
native builds do, so icons rasterize on whole screen pixels.
2026-10-11 15:25:50 -03:00
waozi b2588d725c Record the 2.1.29 phone check: 57.7 fps on the Moto 2026-10-11 13:59:48 -03:00
waozi 7565f0b3ea Release Inner Breeze 2.1.29
Scrolling Lumi's commands keeps the keyboard open: Kryon 83f1dde0 lets
a focused text field keep the focus while a press on another control
turns into a scroll. Lumi 1.3.9, Diary 1.1.9, Lists 1.0.5, Leaderboard
1.0.1 and the root package 2.1.29 carry the updated widgets, so the node
accepts them. The Moto and Pixel keyboard tests that scroll the command
list come from the GLM session that took the owner's report.
2026-10-11 13:54:45 -03:00
waozi 662aeea628 Leave Wim Hof without reloading the app
Leaving a Wim Hof session early, or going back from a paused one or from
its results, reinitialized the whole app: data, fonts, audio and a new UI
session. On the Moto that froze the screen for 3.2 seconds. It now stops
the session and returns to the practice screen like Meditation and
Patterns, and the Wim Hof test checks that leaving does not initialize
the app again.

The floating practice window asks for Kryon's new resizable flag by
name; 32 means sticky. The lock pins Kryon 51afdffe.
2026-10-11 12:01:43 -03:00
waozi f722d59996 Download, export, pick, sign and listen through Kryon and the Daochi client
Inner Breeze's platform services now come from their shared homes:

- Kryon: file_download (runtime assets and music), file_export (data
  and key file downloads and Android's share sheet), android_picker
  (document picker and QR scanner), page_socket (live sync events in
  the browser), browser_viewport (canvas sizing), and Android's device,
  insets and input method text editing.
- Daochi client: crypto (SHA-256, HMAC, ChaCha20-Poly1305), account
  keys (now wiping secrets as Inbe's copy did), and signed package
  release parsing; Inbe keeps only its own package policy.

About 5,000 lines of duplicated Zi, C and JavaScript are gone. The lock
pins Kryon f2c230be and the Daochi client d453a26.
2026-10-11 11:40:54 -03:00
waozi 08921e3cff Pin the Kryon that has the platform modules Inbe now imports
open_uri, raylib_trace, window_close, idle_time, file_picker,
http_transfer and the other services Inbe moved to Kryon were missing
from the pinned Kryon, so locked builds could not find them.
2026-10-11 11:17:05 -03:00
waozi 9298355e5d Send requests and draw floating windows through Kryon
HTTP requests now run in Kryon's http_transfer on every platform; the
app's network_transport adapts it to Daochi's AsyncTransport and keeps
its own deadlines. The browser's requests use fetch through the web
bridge instead of Inner Breeze's JavaScript, which keeps only the event
socket and downloads. The floating practice window and break windows use
Kryon's raylib_secondary_window.

The Telegram account flow test answers requests through a stand-in
http_transfer module, and the JavaScript socket test drops the removed
HTTP checks. Fixed on the way: the socket table was being recreated on
every call after the HTTP table went away.
2026-10-11 10:45:00 -03:00
waozi 1e2fe7050d Log, pick files, watch window close, read idle time and notify through Kryon
These platform services now come from Kryon: raylib_trace routes raylib's
log (trace_log.zi keeps only Inner Breeze's formatted lines),
window_close watches the app's own window, idle_time reads the session's
idle time for break reminders, notification_desktop sends desktop
notifications, and file_picker opens data, photo and audio pickers,
including the browser's chooser, which no longer needs Inner Breeze's
JavaScript. Audio files are still picked only on Linux and BSD desktops.

Tests that compile host services gain Kryon's backend module path; the
tests of the moved code live in Kryon now.
2026-10-11 10:15:34 -03:00
waozi 67f21da735 Make app updates without an APK a standing goal 2026-10-11 10:04:09 -03:00
waozi 354a29883f Open links and reach the Android activity through Kryon
Kryon's open_uri now opens links on every platform, including a new tab
in the browser without Inner Breeze's JavaScript, and Kryon's android_jni
replaces the app's copy of the JNI bridge. The app's own Android modules
call AndroidJniAttachCurrent, AndroidJniMethod and the other Kryon names.
Tests that compile those modules add Kryon's backend to their module path,
and Kryon's own test now checks the JNI and android_app layouts.
2026-10-11 09:53:35 -03:00
waozi d16dd7abcb Wait for the Habits overview to draw before reading it
On a slow CI runner the app seeds its habits before its first frame, so
the overview screenshot was black and the check failed with 'did not
render Yoga' (CI on 10-09, 10-10 and 10-11). The test now captures again
until Yoga's controls are readable, for up to about ten seconds.
2026-10-11 02:21:54 -03:00
waozi 39e7f34b4a Page through Lumi's history in the cells test
Lumi opens with its newest 20 messages and adds 20 older ones on each
scroll since the history paging change, but the cells test still expected
one scroll to load all 69 archived messages. It now checks each page
(20, 40, 60, 69) and that nothing older remains.
2026-10-11 01:40:04 -03:00
waozi 53ddf47dff Show feedback as one card, pause Lumi's typing dots and fix habit colours
Sending feedback through Lumi gave three messages: the card with Yes and
No, then 'Saved on this device, waiting to send…' after Yes, then the
model's own 'I've drafted your bug report, click Yes…'. Offline commands
also repeated the card's question as a second message. The card is now
the whole exchange: the online turn ends when the card appears, choosing
Yes or No adds nothing, and delivery adds no message (a failed delivery
is still told once).

Lumi's typing dots appear 1.2 seconds after a message is sent, as a
person reads before typing; sending stays locked meanwhile. The frame
gains typing_pause as its last field; hosts without it show the dots at
once (Lumi 1.3.8).

The new-habit colour choices all showed the theme colour, purple under
Lavender: Kryon's button drew the style's fill for swatches. The Kryon
lock moves to the release that paints a swatch in its own colour with a
ring on the chosen one.
2026-10-11 01:38:40 -03:00
waozi 998f4e0ee7 Repair a missing package pointer without hashing the payload
The update check skipped re-hashing installed packages by confirming only
that the payload file had its signed size, so a missing current-release
pointer was no longer repaired and the package release test aborted. The
check now also reads the small signed pointer and requires it to name the
release's hash; the payload is still not read and hashed on the frame
thread.
2026-10-11 01:33:35 -03:00
waozi d639017104 Run hosted apps with Kryon's hosted_app
module_host opened each app's bundle, checked its capabilities, bound
them, limited its steps and kept a working instance through restarts.
Kryon's hosted_app does that now; Inner Breeze keeps its policy:
ModuleAllows decides each app's capabilities and notes whether it has the
read and write calls of the message protocol, and ModuleHandshake checks a
restarted app identifies itself before it replaces the working one.
Opening a bundle into a slot that still held one now closes the old
bundle instead of leaking it.
2026-10-11 01:32:17 -03:00
waozi dd092a383c Scroll Lumi's chat while dragging a selection to its edges
Holding a message and dragging up stopped at the visible messages: the
chat's own drag took over and cancelled the selection. Kryon now lets a held
press keep the gesture, and dragging near the chat's top or bottom scrolls
it, faster nearer the edge, through older messages as they load. Selections
are counted from the newest message, so rows loading above keep their
choice. The selection bar covers the top of the chat on the page's colour
instead of pushing the messages down, so the row under the finger stays the
one being selected.

The Apps grid tests now click Diary and the Practice card where the
reflowing grid puts them. The Kryon lock moves to the release with these
press and scroll fixes.
2026-10-11 01:12:28 -03:00
waozi b57e98304f Stop the package check from freezing phones after launch
On the owner's Pixel the first frames after launch blocked for over ten
seconds and Android reported the app not responding. The native stack showed
PackagePump verifying package bytes with software SHA-256 on the frame
thread: whenever the node's release matched the installed one, the update
check read and hashed the whole installed package again, the root package
with every app included. The payload was verified when it was written and is
verified whenever it loads, so the check now only confirms the payload file
is present at its signed size.
2026-10-11 01:12:28 -03:00
waozi 07ccce94b3 Draw hosted apps with Kryon's widget host
Inner Breeze kept its own host for the widgets its apps draw: a generated
codec for Kryon's widget records, the dispatcher and the helpers for
bundle values. Kryon now owns them, so the codec shrinks to the frames and
rows the apps exchange with their screens (src/cells/app_codec.zi, from
Kryon's generator via scripts/generate-app-codec.py; make test checks it is
current). The record codec uses Kryon's helpers instead of a private copy.

Inner Breeze keeps its policy: hosted_assets.zi decides which images an app
may draw, and module_host asks Kryon's WidgetHostSupports which widget calls
exist, which now includes Toggle. Lumi can delete a selected chat row.
2026-10-11 00:52:36 -03:00
waozi d0835eeb9b Select Lumi messages like Telegram, then copy or delete them
Hold a message for half a second to select it; while selecting, tap
messages or drag across them to select or clear them all, and checkboxes on
the left show which are selected. A bar at the top shows a close button,
how many messages are selected, then copy and delete. Delete asks first.
Text is no longer selectable inside a message, so a hold anywhere on it
selects the message, as on Telegram's phone apps.

Each message is a Kryon Press area under its buttons. The rows a sweep
reaches follow the pointer's movement since it began, so the chat making
room for the bar does not change which row is meant, and older messages do
not load while selecting, so row numbers stay put.

A deleted message keeps a small record under its key with deleted set, so
other devices learn of it through account sync; the history skips it.
Inner Breeze 2.1.28 and older show such a record as a dash instead of
failing to load the chat. Lumi 1.3.8 and the root package 2.1.28 need host
interface 7; the Kryon lock moves to the release that hosts Press.

The host function LumiDeleteRowHost lands with the hosted-app refactor in
src/screens/lumi_screen.zi and src/cells/module_host.zi.
2026-10-11 00:33:43 -03:00
waozi 0906e6e5f1 Reflow the Apps grid to the window's width
Apps always laid its cards out in two columns, so a wide window showed a
narrow strip of tall rows. The cards now use Kryon's responsive grid: as
many columns as fit at 140 points each, up to six, so a phone keeps two and
a desktop window shows a row of five. Dropping a dragged card into Pinned
finds the slot under the pointer with the same grid. The Kryon lock moves to
the release with those grid helpers.
2026-10-11 00:12:27 -03:00
waozi 3edcb861b9 Open Lumi with its newest messages and load older ones on scroll, like Telegram
Lumi loaded 64 messages at once and kept every page it had loaded, so a
history scrolled through once was read and measured again on every change.
It now opens with the newest 20 and adds 20 older ones each time the chat
reaches its top; opening the chat again starts from the newest page. While
the loaded messages do not fill the chat, which then cannot scroll, older
ones load at once (Lumi 1.3.7, root package 2.1.27).
2026-10-11 00:04:48 -03:00
waozi 231d6bb4d0 Release the root package 2.1.26 with Diary 1.1.8 and Lumi 1.3.6
The root package carries every bundled app package, so its bytes changed
with Diary and Lumi, and the node refused it at the unchanged 2.1.25. It
moves to 2.1.26 and declares host interface 7, like the Diary it carries, so
apps on 2.1.28 keep their current root package.
2026-10-10 23:57:05 -03:00
waozi f1f04253c2 Test host interface bounds from the ledger instead of fixed numbers
The package version test treated host interface 7 as out of range, so it
failed once the host moved to 7 for Diary's undo, redo and spelling. Its
out-of-range values now come from the ledger's oldest_host_api and
host_api, just outside each end.
2026-10-10 23:52:23 -03:00
waozi b22cc6abbc Show Lumi's message and typing dots at once, and send habit progress
Enter sent a message, but its online request was prepared in the same frame
before the message was drawn, so it appeared late. The request now starts
one frame later, after the message and Lumi's typing dots are on screen.

While Lumi answers, three dots that brighten and rise in turn show in its
bubble where the answer will appear (Lumi 1.3.6). The frame gains the host
clock as its last field; hosts without it show the dots still.

Lumi's context gives each habit its scheduled and done days over the last
two weeks and its current streak, so the node can coach from real progress
instead of only today's checkmarks.
2026-10-10 23:49:17 -03:00
waozi 5490b5fb33 Put Diary's calendar beside Today and let the entry reach the bottom
The calendar moves between days like Today, so it sits next to it on the
left; undo, redo, spelling, the time and photos change the entry and stay
together on the right. The editor no longer leaves a 60-point gap below it
for notices: that room appears only while a notice is shown.
2026-10-10 23:49:17 -03:00
waozi be835b1f5f Retry sync automatically after a payload could not be built
A payload failure is local, for example a briefly locked database, yet it
stopped automatic sync until the person pressed Sync now. The owner wants
sync to recover by itself (2026-10-10), so it now retries on the 5, 15, 30
and 60 second schedule like a failed request, without switching nodes, and
the status line keeps saying sync failed until it succeeds.

This changes the retry contract: PayloadFailureStops becomes
PayloadFailureRetries, and a payload failure no longer needs action.
2026-10-10 23:49:17 -03:00
waozi 760d17dd0b Keep sync from failing on a locked habit-count table
Building a sync payload rebuilds session habit counts in temporary tables,
which were dropped and created each time. DROP TABLE fails with "database
table is locked" while any other statement on the connection is still
reading, so a background sync failed with a payload error and waited for
Sync now. The tables now live for the connection and are emptied with
DELETE, which needs no such lock.
2026-10-10 23:49:17 -03:00
waozi c482e470c2 Send Tab, Enter and Space to Kryon for keyboard navigation
Inner Breeze runs its own frame loop, so Kryon never received these keys and
Tab did nothing. The host now sends them each frame, and a frame without one
sends 0 to clear the last. Kryon moves the focus with Tab and Shift+Tab, shows
a focus ring and presses the focused control with Enter or Space after Tab;
after a click these keys stay with the screen, such as a practice's pause.

The Kryon lock moves to the release with that keyboard navigation.
2026-10-10 23:49:17 -03:00
waozi 99d6405a77 Give Diary a title bar, icon tools, undo and redo, and spelling correction
The date now sits in the middle of a title bar between the previous and
next day. Today, the calendar, the time and photos move into one row of
compact icon buttons above the entry, so the editor starts much higher.

A spelling button sends the entry to the Waozi node, whose GLM service
returns it with only misspelled words corrected (POST /api/v1/chat/spelling,
the same signed requests and daily allowance as Lumi). The entry stays
read-only while it is checked, and the correction applies only to the
unchanged text of the same day. Notices explain a missing account, an entry
over 8192 bytes, the daily limit, a failed check and an entry without
mistakes.

Undo and redo buttons step through the entry's earlier versions. The host
keeps them because package values last one run: typing within a moment is
one step, a correction is its own step, and another day starts afresh.
Undo, redo and corrections apply as the smallest edit on whole UTF-8
characters, so the caret lands after the change.

DiaryUiFrame gains the fields for these controls, so the host interface
moves to 7 and Diary 1.1.8 requires it; older apps keep Diary 1.1.7. Model
requests get one deadline helper on desktop, Android and the web, where
spelling waits up to 70 s.
2026-10-10 23:49:17 -03:00
waozi 63db43d1b1 Let Android APKs installed from the release update themselves
Desktop builds update themselves from the release's appcast, but Android
APKs downloaded from GitHub stayed on their version until the owner
reinstalled them. Once a day these builds now read the release feed in the
background, download the APK for the device's ABI (or the universal one),
and keep it only when its size and SHA-256 match the feed and Android
reports it as this app, newer, and signed by the same key. The next start
that does not open a practice hands it to Android's own installer, which
asks for confirmation; a cancelled offer returns at most once a day.

The release workflow adds android and android-<abi> channels to the appcast,
leaving out the Google Play APK. The Play build removes the install
permission and leaves the updater off, as does an F-Droid build; debug
builds use it only with -Papp.updateFeed=URL.

Checked on the development Moto: the instrumented AppUpdateTest passes, and
against a local feed the app picked the armeabi-v7a APK, downloaded it,
matched its hash and refused it as not newer. Installing a genuinely newer
build still needs a real release.
2026-10-10 23:49:17 -03:00
waozi 123089feee Calibrate the phone check on the development Moto
The Moto e6 play refreshes at 58.2 Hz, so the check now requires 94% of the
display's own refresh rate instead of a fixed 55 fps; the released 2.1.28
debug build and this master both hold 57.7 fps with no late frames over a
minute of Wim Hof. Window layers on Android 9 carry an id prefix and can be
named after a launcher alias, so layers and focus match any activity of the
app. The check finds the phone on this machine first, then on the ThinkPad.

It also measures whether the practice comes back with the same layout after
the app goes to the background, and warns when it does not: on Android 9 the
floating window leaves an 18-pixel larger surface behind, and the practice
returns shifted up and left until the app restarts.
2026-10-10 23:49:17 -03:00
waozi cf6efea3c5 Set aside a package that keeps failing at startup and check updates sooner
A downloaded package now goes on trial when a start opens it and proves itself
once the app has run ten seconds. If three starts in a row never prove it, the
app uses its bundled package instead and does not download that release again
until a different one is published, so a release that crashes at startup
cannot keep Inner Breeze from opening.

Update checks also run once after a start when the last check is an hour old,
and ten minutes after a sync reports a newer root package through the node's
package_sequence, instead of only once a day. The schedule stays in memory,
which also removes a settings query the frame loop made on every frame.
2026-10-10 23:49:17 -03:00
waozi c2202c4270 Check packages across app versions and release only after a phone check
make package-compat-test runs every package the Waozi node serves in this
build, and unpacks the last released Linux app to run each new package that
declares an interface it has. A failed host call inside a package fails the
check, since the screen would otherwise silently lose that part. The Release
test job runs both directions, and the package workflow runs new packages in
the last release before publishing them.

make phone-check APK=... installs the exact APK on the development Moto,
starts the Wim Hof session through the app's start-practice intent, reads
SurfaceFlinger's frame times for a minute, checks resuming from the
background and records releases/phone-checks/VERSION.json for the commit it
checked. The Release workflow creates a new version tag only with a passing
receipt whose sources match the release, so a laggy build cannot publish.
2026-10-10 23:49:17 -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 c9fa275839 Run app packages built against older or newer record layouts
The host and its packages exchanged records that had to match field for field,
so adding one field to a shared record broke every package built before it,
and every package built after it on older apps. The generated codecs now take
each field by name: a field the other side lacks keeps its zero value and an
unknown field is ignored, while a field of the wrong kind still fails. Package
instances opt into Ziran's matching for records the host returns, and the
widget host finds slice lengths by name instead of by position.

With this, the Diary package phones run today (built for the previous host
interface) keeps its writing area in this build instead of aborting the app,
and the Lumi package's calls no longer fail.
2026-10-10 23:49:17 -03:00
waozi 8e4acb9893 List Leaderboard after the apps that existed before it
Apps listed Leaderboard alphabetically, between Habits and Lists. In a
browser window with the default pins, that moved Lists one row down, past
the bottom of the window, and the web smoke test could not reach it.
Leaderboard now comes last, so adding it moved no existing app.
2026-10-10 22:25:37 -03:00
waozi ce6e3ca9a2 Release 2.1.28 2026-10-10 21:41:14 -03:00
waozi f4bbbd4db8 Open Telegram from Profile in the Lumi history test
Telegram moved from Settings to Profile, so the test's click on the old
Settings tab opened About. It now goes to Apps, Profile and the Telegram
card, finding each by its rendered label.
2026-10-10 21:31:34 -03:00
waozi 76f72ff53d Sync the Leaderboard app choice with the account
Incoming app choices and the full-state upload listed only the five older
apps, so a Leaderboard choice made on another device was ignored and a
restored account never uploaded it. Both now include app_used_leaderboard.
The app choice merge test covers it, and the Telegram account test expects
six choices.
2026-10-10 21:19:21 -03:00
waozi 12276d8dc3 Give four Lumi and Telegram tests the qrcode package
Their sources now reach the QR code view, whose qrcode import needs the
package path. Without it, Lumi's Telegram input, delegate scope and feedback
delivery tests and the Telegram account flow test stopped compiling.
2026-10-10 21:18:14 -03:00
waozi 5211c86036 Add a Leaderboard screenshot scene
The screenshot harness requires a scene for every bundled app. Leaderboard
now has one with saved friend results. It is not a store screenshot, so the
eight store shots are unchanged.
2026-10-10 21:17:51 -03:00
waozi a5a91d2540 Build Inner Breeze with the faster portable VM
The Ziran toolchain moves from 307ffcb to 9ec88f5, which caches call
resolution and scalar operation plans and reduces allocation in the
interpreter that runs Lists, Diary, Lumi and Leaderboard. On a Moto e6 play,
the minimized breathing circle over Lists rose from 35 to 48 fps, and over
Leaderboard from about 39 to 55 fps.
2026-10-10 21:03:41 -03:00
waozi 970fbff5d6 Leave Leaderboard out of the Lumi test's restricted app choices
The Lumi UI test restricts the profile to recommended apps and to Lumi
alone. Leaderboard is now installed once on existing profiles, so the test
also turns it off in those choices.
2026-10-10 20:54:31 -03:00
waozi c9d474d71b Keep a QR connection waiting through a node restart, and scan upright
A phone showing its code gave up on the first poll that met a restarting
node: a deploy answered 502 and the phone said it could not connect while
the computer had already sent the account. Polls now retry on no answer,
429 and 5xx until the link expires, and a failed link logs which step
failed. The local mailbox test answers three polls with 502 and the
receiving device must still connect.

The QR scanner follows how the phone is held instead of ZXing's landscape
lock.
2026-10-10 20:53:36 -03:00
waozi 9b8ee2e57d Use the Kryon that draws bold text with whole-pixel strokes
Bold Diary and Lumi text was a second copy shifted one logical unit, which
left a light seam inside the strokes at 110% and on phones. Kryon now
thickens emphasized glyphs by whole screen pixels on raylib.
2026-10-10 20:38:50 -03:00
waozi 7d64d9f040 Keep the desktop sidebar in place with Apps in its bottom corner
On desktop the sidebar keeps the window's full height, and Apps sits in
its bottom corner instead of right under the pinned apps. The phone's
bottom bar still keeps Apps beside them.

An app opened from Apps without a pin shows a return bar above its
page. That bar shifted the page's coordinates, and the sidebar is drawn
in them, so every icon moved down. In a window under about 524 units
tall it also turned the sidebar into a bottom bar, because the sidebar
check read the page height after the bar. The sidebar now ignores the
bar, and the sidebar decision uses the whole window's height.

The launcher test opens Diary unpinned on both sidebar sides, clicks
every pin and Apps under the bar, and uses the bar's Back arrow to
prove the bar is shown. Tests that clicked Apps under the pins now
click the bottom corner.
2026-10-10 20:23:42 -03:00
waozi 7f98bd5136 Draw the Linux AppImage's text in Inner Breeze's fonts
The AppImage release job built raylib with -DSUPPORT_FILEFORMAT_TTF=0, so
the published Linux app could not load its Noto fonts and drew every screen
in raylib's fallback pixel font. The app's raylib configuration now always
keeps TrueType support, whatever a build passes in, and the release job asks
for it too. The AppImage smoke test fails when the app reports a font it
cannot load.
2026-10-10 20:23:08 -03:00
waozi 7aeeba8f7c Show every app's version in About without crashing
About listed versions with a label array sized for six apps, so with
Leaderboard as the seventh it read past the end and Inner Breeze aborted
when About opened. The labels now follow the package count and include
Leaderboard. The Leaderboard UI test opens About, and pins the app so the
return bar does not move its controls.
2026-10-10 20:15:58 -03:00
waozi 44683ec445 Fail the build when an icon comes from a sheet Inbe does not ship
The Profile Telegram card used an icon from Kryon's platforms sheet, which
Inbe does not bundle, so phones showed "Missing image". The new check in
make test maps every icon Inbe names to its Kryon sheet and fails unless
both the desktop embed and the app packages ship that sheet.

Raw icon numbers bypassed such a check: Habits' actions now name Calendar,
Stat and Edit, and the practice shortcuts name Wrench and Manual instead of
stale numbers that pointed at Mute and Habits.
2026-10-10 20:01:32 -03:00
waozi dd468abd6f Show an icon on the Profile Telegram card
The card asked for the Telegram icon, which lives in Kryon's platforms
sheet, and Inner Breeze bundles only the UI and profile picture sheets, so
the card showed "Missing image". It now uses the link icon from the UI
sheet.
2026-10-10 19:57:55 -03:00
waozi de4f21850c Use the Kryon that loads pictures in Inner Breeze's own frame loop
The pinned Kryon spread image decoding over frames but renewed its budget
only in Kryon's own frame loop, which Inner Breeze does not use, so the
Meditation and Sun Salutation pictures never appeared. Kryon 8305e26d
renews the budget every frame interval for any host.
2026-10-10 19:56:35 -03:00
waozi a01dd7d2c4 Return to Apps from an app opened there without a pin
An app opened from More apps has no item in the navigation, so nothing on
screen led back to Apps. Such an app now shows a bar with its name and a
Back arrow that returns to Apps, and the system Back on its first page does
the same. The bar sits above the page like top navigation, so every app,
including installed app packages, keeps its own layout. Pinned apps and
directly hosted apps are unchanged.
2026-10-10 19:49:11 -03:00
waozi 8081e85382 Fail the visual tests when practice pictures are missing
The new test opens each practice and a running Sun Salutation, and fails
when a picture or the figure is missing. It runs in the visual gate of CI
and releases.
2026-10-10 19:33:32 -03:00
waozi 0993ac81d9 Show the close prompt above Apps
Closing the desktop window while Apps was open opened the Keep running or
Quit prompt behind the Apps overlay. It could not be seen or used, and
further close clicks did nothing, so Inner Breeze could not be closed. The
prompt is now drawn inside the Apps panel when Apps is open. The quit test
covers both cases.
2026-10-10 19:33:28 -03:00
waozi 0dd5a87f11 Stop a tapped control from staying highlighted on Android
A lifted finger hovers nothing, but the host kept reporting the last touch
position, so the tapped control kept its hover style. A selected tab then
showed no fill until the next touch elsewhere.
2026-10-10 19:33:28 -03:00
waozi 4351b014a2 Show every practice in Leaderboard on phones
The practices were a scrolling tab bar, and a swipe does not scroll it, so
Meditation and Sun Salutation could not be reached on a phone. They are now
buttons, two per row on phones and four in a wide window. Column headers
shrink their labels to fit, so Current streak is no longer cut off.
2026-10-10 19:33:28 -03:00
waozi f462343dad Keep account, data and Telegram in Profile, and device preferences in Settings
Profile gains a Telegram card beside Friends, Data and Account & sync,
opening the same Telegram panel Settings had; without an account its button
opens Account & sync. Settings drops its Telegram tab and the Data row on
phones, so it lists only this device's preferences. A saved Telegram tab
opens Device.

The Data Back test checks that Settings no longer lists Data; the QR test
finds Apps by its label wherever the rail puts it; the Telegram panel test
gets the qrcode package path its imports now need.
2026-10-10 19:21:20 -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 c32e0baf85 Report a full sync node on desktop and say when there is no room for changes
Desktop sync runs on a worker thread that did not read the node's reply to
a refused upload, so a full node looked like a failed connection there and
its usage was never recorded. It now reports storage full and records each
node's usage like Android and the web.

A node can refuse an upload while it is far from its limit, when one batch
of photos would not fit. The card now says there is no room for the latest
changes instead of calling the node full, and points to the photo switch
when photos still upload there.
2026-10-10 19:06:06 -03:00
waozi e6baf12c96 Look up app assets in the package that owns them
Each frame reads a few assets, such as the Lumi dock icon and the tool list
for Harmony. The lookup compared every file name of every package in turn,
measuring each name first, so a path outside Lists and Habits first scanned
the thousands of Practices images. It now searches the package that owns
the path first and compares names in place.
2026-10-10 19:05:27 -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 b70ad46686 Show each sync node's storage and keep photos off nodes that should not store them
Diary photos sync as encrypted chunks, which take about four times the
photo's size on a node, and the Waozi node now gives each account 10 MB.

Profile > Data has a Node storage section with a card for every node the
account syncs with: how much it stores there, its limit and a bar that
turns amber near the limit and red when full, an estimate of what this
device's photos and videos take, and a switch to upload photos and videos
to that node. With the switch off, photo chunks never leave the device
for that node, while each photo's entry still syncs, so other devices
show where a photo is instead of an empty space (Diary 1.1.7).

A node that refuses an upload with storage_full now stops sync with a
clear message instead of retrying a connection error, and Diary refuses a
photo that would not fit on a node that stores photos, saying which node
is out of room. Usage is remembered per account and node from each sync.
2026-10-10 18:53:20 -03:00
waozi 6048cfb124 Show Diary bold text as bold, with markers only on the edited line
Diary entries are Markdown, so **bold** words and the inserted times showed
their asterisks. The editor now hides the ** markers and draws the words
bold, except on the lines holding the caret or a selection, where the
markers can be edited directly. Text areas carry Kryon's new hidden and
strong ranges through the app widget codec, so the host API advances to 5
and every app package moves to a release that requires it.
2026-10-10 15:34:16 -03:00
waozi 621ff83420 Name SQLite's reason when a storage statement fails
A desktop sync failed while rebuilding habit counts and its log only said
"SQL failed", so the cause could not be found. The log now includes
SQLite's error message.
2026-10-10 15:19:21 -03:00
waozi 64c4914bd0 Open a minimized practice in its own desktop window
On desktop, minimizing a practice now opens it in a separate window instead
of the in-app card, unless picture-in-picture is turned off. The window keeps
its maximize and end controls; closing it brings the practice back to the
app. The card no longer offers a detach button, and the window no longer
returns to the card, so their unused labels are removed and the root package
advances.
2026-10-10 15:18:33 -03:00
waozi aa9a59e65b Remove the Android button that opens picture-in-picture from the app
Leaving the app already opens the floating window on its own, so the
minimized practice no longer shows a button that does it from inside the app.
The desktop keeps its button for opening a separate practice window.
2026-10-10 14:40:46 -03:00
waozi c2d304ec02 Keep the minimized breathing count at one font size
The small practice window sized the Wim Hof count from the breathing circle's
current radius, so the count asked for a new font size almost every frame.
Each new size baked a font atlas on the frame thread, and with more sizes
than the cache holds the window stalled for 50-60 ms every few seconds. Size
the count for the circle at its smallest so it always fits and stays one
size. The window test now fails if a breathing circle bakes new font sizes.
2026-10-10 14:40:46 -03:00
waozi 266c51cdfe Keep typing in a text field after a button asks for focus
Kryon now moves the session focus to a text field that asks for it, so a
button that focuses Lumi's message box no longer keeps the focus.
2026-10-10 14:12:54 -03:00
waozi 5ac1518329 Add a Telegram-style command menu to Lumi
An empty message box now shows a / button, and typing / lists Lumi's
commands with their descriptions, narrowing as you type, like the command
menu of Lumi's Telegram bot. Tapping a command or pressing Enter uses it;
commands that need text, such as /todo, wait for it in the message box,
and /cancel appears only while Lumi waits for a Diary text or habit name.
A draft shows an arrow Send button instead.

The menu and button ask the message box for focus so typing continues
there. The request lasts two frames, so apps released before Kryon's
focus fix keep the keyboard as well. Lumi 1.3.4 and the root package
2.1.23 carry the change and the translated descriptions.
2026-10-10 13:39:06 -03:00
waozi 5cb1eb283c Open apps without their own style sheet without recompiling styles
Switching between Lists, Habits, Diary, Lumi and practices compiled the
whole style pack and Inbe sheet again on the frame, although an app
without its own sheet uses exactly the shared rules. On a slow phone
that stalled a minimized practice's window for about 190 ms whenever
Lumi opened. Those apps now keep the installed rules.
2026-10-10 12:35:37 -03:00
waozi b38435ece8 Use Kryon's two-field file path list on the web
Kryon's web backend returned raylib 5.0's three-field FilePathList while Inbe
now reads raylib 5.5's two fields, so the web app freed invalid pointers while
scanning session files at startup.
2026-10-10 12:35:37 -03:00
waozi 77b3e80514 Advance the root app package for the feedback details text
The root package bundles the translations, and the feedback confirmation now
says which app, device and system details a report includes. Publishing the
changed package needs a new version and sequence.
2026-10-10 12:35:37 -03:00
waozi d7840e3a31 List the Lumi answer, older feedback and 32-bit fixes in 2.1.27
Shorten the release notes so the Play notes stay within 500 characters.
2026-10-10 12:16:57 -03:00
waozi 1d531b7747 Keep Lumi answers that arrive during picture-in-picture
Android discarded any finished response the app had not collected within 20
seconds. Lumi does not poll while a practice is on screen, so an answer that
arrived in picture-in-picture was thrown away and Lumi said it could not
connect, losing the feedback card. The deadline now bounds only the network
exchange; a finished response waits until the app collects it, and a slot is
reclaimed from a stale uncollected response only when a new request needs it.
Lumi chat requests get the same 45 second deadline as on desktop.
2026-10-10 12:09:08 -03:00
waozi 1421f3e7a6 Send Lumi feedback that earlier versions saved but never delivered
Inbe 2.1.12 and 2.1.13 kept approved reports in one account setting that the
current outbox never read. Move those reports into the current outbox with
their original IDs, keep delivered reports from being sent again, read only
the signed-in account's queue, and keep damaged older data for recovery.
2026-10-10 12:09:08 -03:00
waozi b7bd0a6f10 Match the sync test host to raylib's file path list
The legacy session scanner now reads raylib's two-field FilePathList, so the
test host returns the same layout instead of crashing the storage tests.
2026-10-10 12:09:08 -03:00
waozi f2f1233ac9 Include app version, device and system in Lumi reports
Lumi feedback context now carries the Inner Breeze version, platform,
system version, device model and installed package (Android system
properties, Linux os-release and DMI names), with no identifiers or user
data, so the developer can see whether a newer release already fixes a
report. The confirmation card says what is included, in every locale.
2026-10-10 12:06:10 -03:00
waozi d6298bba92 Fix session file scanning on 32-bit Android 2026-10-10 11:15:45 -03:00
waozi e8fd60483a List picture-in-picture and Lumi feedback fixes in 2.1.27 2026-10-10 11:01:02 -03:00
waozi 5c9c9fcbc5 Verify Lumi feedback consent and release its delivery messages
Exercise the real Yes confirmation, account-scoped outbox and restart in a private display. Advance the root app package for translated feedback delivery messages.
2026-10-10 10:58:30 -03:00
waozi 63b1fafac8 Keep practices floating and interactive in picture-in-picture
Leaving Inbe for another app or a third-party launcher now opens the
picture-in-picture window on Android 12, which enters on its own only
for the stock launcher. Opening the floating window back into the app
shows the running practice instead of the page behind its in-app
window, and a held Wim Hof breath ends from the in-app window with its
Breath button, or a double tap when set to double tap to breathe.
2026-10-10 10:57:09 -03:00
waozi e5cd2c6ed6 Use reproducible native Android build paths 2026-10-10 10:56:49 -03:00
waozi 335df3c011 Confirm Lumi feedback delivery before removing its outbox report
Distinguish local queuing from the matching Daochi inbox receipt. Keep
failed or invalid acknowledgements queued and archive a notice once per
report, including across restarts. Preserve Yes/No consent and account
scoping, and translate the statuses in every locale.
2026-10-10 10:50:43 -03:00
waozi bb2c26c971 Save Diary entries without a waiting-to-save note
Diary 1.1.5 still saves shortly after typing stops, but no longer shows
"Waiting to save…" below the entry. Photo and read errors still show.
2026-10-10 00:50:33 -03:00
waozi bb7b1fca4a List the Diary keyboard, Apps window and Lumi fixes in 2.1.26 2026-10-10 00:40:57 -03:00
waozi bac847e586 Open Lumi without freezing the practice window
A long chat is measured across frames behind a loading bar, and rows keep
heights measured for the same content after a sync moves them. Account
access is read once per pass instead of per row, and Lumi 1.3.3 prepares
command suggestions only while you type.
2026-10-10 00:40:57 -03:00
waozi 6a550f1d7f Keep the minimized practice window over the Apps screen
Apps is a Kryon overlay above the page, so the window is now drawn inside
its panel, above the apps, where its buttons keep working.
2026-10-10 00:40:57 -03:00
waozi 16c4a93b19 Show the Android keyboard for Diary and other Kryon text fields
Kryon now reports any focused editable TextField or TextArea, so the
Android host shows the keyboard for the Diary entry without listing
every input. Kryon is updated to that change.
2026-10-10 00:40:57 -03:00
waozi 6965527568 Let people turn off picture-in-picture in Settings
Playback on Android gets a Picture-in-picture toggle, on by default. Off,
a running practice no longer floats over other apps on its own and the
small window's detach button is hidden. The choice is saved, imported
from backups and translated for every locale.
2026-10-09 22:21:52 -03:00
waozi 6873b71c1d Exchange sync on one thread at a time around picture-in-picture
Picture-in-picture keeps frames running while the activity is paused, so
the background practice timer and the frame both polled the same pending
sync. One applied the response while the other released it, which crashed
Inbe on a Pixel 3a when leaving the app during a practice. The frame and
the timer now take a pump lock and skip the exchange while the other
holds it. The session window test also waits for the app's first state.
2026-10-09 22:21:51 -03:00
waozi d8326c4dcd Preview the practice itself in its taller minimized window
The minimized window opens at 220 by 320 units. Wim Hof shows its band
and breath count in the breathing circle, Meditation its time left and
Patterns its phase, as on the practice screens, drawn with Kryon boxes
and text so they stay above the page.
2026-10-09 22:02:40 -03:00
waozi 95e32a0000 Preserve live Android practices through floating-window transitions 2026-10-09 20:16:59 -03:00
waozi 746e533c63 Restore meditation music downloads from the Inbe website 2026-10-09 19:06:37 -03:00
waozi 09b7039883 Add detached desktop practice windows and Android picture-in-picture 2026-10-09 16:15:05 -03:00
waozi 37c32db145 Show each minimized practice live in a resizable window
Minimizing a practice returns to the page it was started from instead
of the first pinned app, which was usually Lumi. Lumi was then drawn
cold on the minimize frame (about 56 ms on desktop, several times that
on a phone), which made the switch stutter; the start page is already
drawn. Lumi is still used when the practice was started from its chat.

The window is taller and shows the practice's own live picture above its
name and status: the Wim Hof circle breathing at its real size range,
the meditation circle, the pattern's growing circle and the moving Sun
Salutation figure. Each practice draws this through a draw_window hook,
and Sun Salutation now advances in the window like the others. The
circle is solid, so it is clearly visible on every theme. A corner
handle resizes the window; elapsed time carries between frames so a
minimized practice keeps the real clock's pace.

The window test covers all four practices: each returns to its page,
draws its picture and keeps moving until maximize returns to it.
2026-10-09 15:54:42 -03:00
waozi adcd3c0900 Refresh the Play screenshots from the current app 2026-10-09 15:04:19 -03:00
waozi 9003c6c73f Test that a hosted Practice child keeps its own navigation 2026-10-09 12:04:46 -03:00
waozi 2fa1a0f6a9 Move the dropped lake-bob and dusk-braid proposals to the attic 2026-10-09 12:04:46 -03:00
waozi 3fa5ad4cb1 Note the small practice window and sync fixes for 2.1.25 2026-10-09 12:03:24 -03:00
waozi 448e43e373 Run the minimized practice window like a small player
The practice window is larger and shows the live breathing circle, with
a maximize button beside the X. The X asks to end the practice right over
the open app, and ending it keeps that app open; the prompt belongs to
the running practice, so it is no longer cleared off its own screen.
Breath cues keep playing while the practice runs in the window. Practice
opens its home while a practice is minimized, and Start or any other
start returns to the running practice instead of starting another.
2026-10-09 12:02:32 -03:00
waozi 1602d9bc01 Keep visible practices free of frame-thread sync and request work
On Android and the web a sync runs on the frame thread, and every one
stopped the breathing circle for about 0.3 s on a Pixel 3a while a
practice was running. A practice on screen, also in its small window,
now holds back starting a sync and finishing one that began before it;
Lumi and package requests, which use the frame thread everywhere, wait
too. Scheduled work runs when the practice ends. In the background
nothing is drawn, so background practice sync continues.
2026-10-09 11:25:31 -03:00
waozi 4dd181b7f8 Keep two release screenshot checks steady on CI
The zoom test could read the app database before its tables existed on
a slow runner. CI's tesseract 5.3.4 read one letter of the large
"Material" value wrong at 250% although the pixels are complete; one-word
labels now accept a single misread letter.
2026-10-09 10:53:31 -03:00
waozi af5ebe82b4 Use pinned Android foreign declaration syntax 2026-10-09 10:48:30 -03:00
waozi e8ee1cf6ed Keep WHM animation smooth and reduce per-frame sync work 2026-10-09 10:41:28 -03:00
waozi dd6c79d5ed Check the reminder menu stays open through its Kryon node 2026-10-09 10:00:23 -03:00
waozi b4c0d0c57f Prepare 2.1.24 2026-10-09 09:52:38 -03:00
waozi c63af792a5 Let Kryon dropdowns keep their own menu state
Kryon now keeps a dropdown's open menu, highlight and scroll on its
retained node, so the screens pass only the selected value and read
changed and selected_index. The stored menu results in the app and
settings state, and the code that shifted or reset them, are gone.
2026-10-09 09:52:13 -03:00
waozi 31b1ebe64e Verify Pixel focus through its native launcher alias 2026-10-09 09:44:19 -03:00
waozi 71db89c9da Link the session screen into the frame pacing test
Also check that a practice in its small window keeps the full rate.
2026-10-09 09:42:49 -03:00
waozi ddbff402eb Keep practice animation smooth while sharing it across devices
On Android and the web each sync runs on the frame thread. A running
practice published its live state and started a sync every two seconds,
and read the shared record four times a second, which made the breathing
circle stutter on phones signed in to an account. It now republishes
every ten seconds (phase, round and pause changes still publish at
once), reads the record only after stored data changes, and other
devices count the shared clock on between snapshots. Lumi Telegram polls
every ten seconds during a practice, and a practice in its small window
keeps the full frame rate.
2026-10-09 09:35:35 -03:00
waozi 96bd628a92 Make Customize menus open and keep the chosen breathing animation
The breathing animation, background music and leaderboard practice
dropdowns never kept their open state, so their menus closed again in
the next frame and nothing could be chosen. They now keep it like the
other dropdowns. A Wim Hof session also reset the animation to Linear
when it started; it now keeps In / Out. Customize treats an imported
music track as installed when its file is there, offering Test instead
of "not installed" and a download meant for the built-in tracks.
2026-10-09 09:35:35 -03:00
waozi 1d45818168 Wait for the seeded habits before checking their order
The screenshot scene seeds habits after its window and database appear.
On a slower CI runner a fixed one-second wait read an empty list.
2026-10-09 03:35:13 -03:00
waozi b53d7ac2d7 Read the selected phone navigation label without its icons
CI's tesseract 5.3.4 could not read Practice when the dock crop included
the icons and the new selection outline; the label row alone reads every
label on both tesseract versions.
2026-10-09 02:58:30 -03:00
waozi ed833e08eb Keep the release visual tests in step with the compact Apps dock and cards
The phone dock is 56 units tall since the compact navigation, app cards
show their size just below the name, and the first-use Apps guide covers
cards in the startup check, so the visual tests read the dock and card
names where they are now and the startup check opens Diary from its card.
The navigation slide also keeps frames coming until it settles, and the
first frame shows the navigation in place.
2026-10-09 02:30:51 -03:00
waozi 4087f9c157 Keep release visual tests in step with Profile Back and older Pillow
Profile's Back now returns to Apps, so the Data test expects the hub Back
to leave Profile once and finds the Settings Data row by its text instead
of a fixed offset. The sync review test reads pixels with tobytes(), which
every Pillow release supports.
2026-10-09 02:07:12 -03:00
waozi 1ba536b0c4 Use native Android rotation geometry and scoped debug verification 2026-10-09 01:40:28 -03:00
waozi 09b938ba0e Keep Telegram as input while retaining complete Lumi history 2026-10-09 01:34:04 -03:00
waozi 62d833e301 Resolve protocol modules in preference test harnesses 2026-10-09 01:30:58 -03:00
waozi 59890c1213 Test shared account activity against the current sync server 2026-10-09 01:24:02 -03:00
waozi 59efd97a4a Add live KSS appearance editing and Lumi style tools 2026-10-09 01:12:24 -03:00
waozi fcedfec6c9 Include account activity in production app builds 2026-10-09 01:09:51 -03:00
waozi cf89f94eaa Use shell input for the physical Gboard glide check 2026-10-09 01:06:42 -03:00
waozi a03e05ddc4 Keep Telegram access and share active practices across account devices 2026-10-09 01:06:01 -03:00
waozi 8145713c6e Keep the unreleased 2.1.23 notes out of the 2.1.22 changelog 2026-10-09 00:54:05 -03:00
waozi 71d8da4db1 List the practice window in 2.1.22 within the store limit 2026-10-09 00:52:12 -03:00
waozi 82c7821291 Fit app card actions within the style rule table
The install and remove symbols added two hover rules that took the
classic style pack plus Inbe's sheet past the KSS rule table, so the
style failed to install and the 2.1.22 release test stopped. Hover now
uses the style pack default; the selected card keeps readable icons.
2026-10-09 00:52:12 -03:00
waozi 3e58e31944 Include additional translated labels in bundled fonts 2026-10-09 00:48:46 -03:00
waozi 41e1ac9f46 Avoid repeat uploads when old Lumi history is replayed 2026-10-09 00:37:40 -03:00
waozi b2302c8f57 Keep a running practice in a small window with a minimize button
Every practice's title bar has a minimize button beside its close button.
It opens the first pinned app, or Lumi when the practice was started from
Lumi, and the practice keeps running in a small window above the app:
tap it to return, drag it anywhere, or use its X to end the practice with
the practice's own confirmation. Opening Practice returns to it. The
navigation slides away when a practice starts and back when it ends.
2026-10-09 00:34:34 -03:00
waozi c5080ef200 Support approved YouTube previews in Play listing publishing 2026-10-09 00:33:48 -03:00
waozi 0728ba7da5 Keep promo screens still and sharpen Lumi wing animation 2026-10-09 00:15:26 -03:00
waozi 380038fc70 Turn Lumi toward the app after each flight 2026-10-09 00:09:48 -03:00
waozi c75a526fbd Include newly translated characters in bundled fonts 2026-10-09 00:07:33 -03:00
waozi 883f0eff65 Animate Lumi wing strokes and narrate the promo through OpenRouter 2026-10-09 00:01:11 -03:00
waozi 284282fc10 List the Lumi Telegram changes in 2.1.22 within the store limit 2026-10-08 23:59:53 -03:00
waozi 150e1590ce Exclude the obsolete background migration marker from imports 2026-10-08 23:59:32 -03:00
waozi d75f87a364 Answer Lumi Telegram lists quickly with one connect action
Telegram messages now reach Inbe within two seconds while it is open, and
acknowledgements, replies and queued messages follow each other without
the five-second wait that made every message take ten seconds or more. A
message from Telegram no longer moves this device to the Lumi screen.
/lists and /habits answer in Telegram with the open items and today's
habits instead of opening a screen on another device. Settings shows one
line and one button for Telegram, with a quiet Disconnect; Mini App
approval appears only while a request waits for this device.
2026-10-08 23:59:25 -03:00
waozi f4ae7f775f Support Android keyboard composition and glide typing 2026-10-08 23:58:20 -03:00
waozi 37401b5bc7 Keep quick taps and swipes on slow Android frames
Use Kryon's Android touch replay for Inbe's pointer, so a tap or swipe that
starts and lifts within one slow frame, or lifts before its next movement
arrives, reaches the app where the finger actually lifted.
2026-10-08 23:54:15 -03:00
waozi 838d84c431 Fit the 2.1.22 release notes within the store limit 2026-10-08 23:48:44 -03:00
waozi 242397aaca List the background practice fix in 2.1.22 2026-10-08 23:48:17 -03:00
waozi 3d121da32e Keep practices playing when Inbe goes to the background
Background play is on by default again. An older release switched it off
for every install, so each install is moved back on once; after that the
Settings toggle stays the user's choice. A practice also no longer pauses
when the session notification is hidden, dismissed or not allowed: the
foreground service always starts and the two-second notification check
that paused running sessions is gone. The lifecycle laws now state that
background play never depends on the notification.
2026-10-08 23:47:42 -03:00
waozi c34602893e Check locked sources afresh before Play screenshot publishing 2026-10-08 23:44:55 -03:00
waozi eafa106a86 Retain the registry protocol when updating signed app releases 2026-10-08 23:36:46 -03:00
waozi 88ee19b5f3 Verify app screenshots before Play updates and add Lumi promo 2026-10-08 23:36:36 -03:00
waozi c01981216a Keep Diary package updates bound to their permanent app runtime 2026-10-08 23:34:19 -03:00
waozi 6b28a38ae9 Keep practice navigation visible and reuse app runtimes 2026-10-08 23:25:00 -03:00
waozi a7b319b698 Keep Diary dates in the past and migrate entries into the synced account 2026-10-08 23:19:34 -03:00
waozi a3eb89b8f1 Resume sync on startup and honor explicit retries after saved failures 2026-10-08 23:03:39 -03:00
waozi f75b3c468a Scroll Lumi and other lists with quick swipes on slow phone frames
Update Kryon to the release-frame swipe fix.
2026-10-08 23:00:04 -03:00
waozi 978b121a25 Show app install and remove symbols inside their cards 2026-10-08 22:50:52 -03:00
waozi 3fcb50761c Simplify app management, compact navigation, and support saved sync nodes 2026-10-08 22:40:33 -03:00
waozi 75b82e33ca Reduce Lumi input work and preserve focused drafts during sync 2026-10-08 22:40:22 -03:00
waozi 16142c57b3 Make tab switching immediate and keep rapid navigation responsive 2026-10-08 22:20:55 -03:00
waozi 7cee0a39ab Wait efficiently for Android startup and remove Apps search X 2026-10-08 21:19:39 -03:00
waozi 57dd05287b Keep Lumi responsive and resize its composer above the keyboard 2026-10-08 20:50:13 -03:00
waozi f3023bd2a4 Keep every pinned app visible in the navigation dock 2026-10-08 19:06:02 -03:00
waozi 934014d846 Prepare 2.1.21 with a complete visual release gate 2026-10-08 18:43:02 -03:00
waozi b05883208e Make the selected navigation app clearly visible 2026-10-08 16:06:48 -03:00
waozi cf7cb2d4e9 Keep native text crisp and stable throughout the zoom range 2026-10-08 15:15:00 -03:00
waozi 6563da6f9f Use crisp native text rendering at fractional zoom 2026-10-08 14:23:41 -03:00
waozi 078cdacef2 Open Apps as a full content screen 2026-10-08 13:27:19 -03:00
waozi 1d84a73a58 Fix blank desktop pages when the GTK tray changes locale 2026-10-08 10:58:42 -03:00
waozi 992efd3a14 Group desktop navigation and move Profile into Apps 2026-10-08 10:24:46 -03:00
waozi 3294cb37e7 Optimize web animation rendering for slower devices 2026-10-08 08:32:08 -03:00
waozi 46a8e2b4f3 Use the Windows-safe Kryon font loader 2026-10-08 07:47:27 -03:00
waozi 514d997dc8 Use the Windows-capable Ziran toolchain for releases 2026-10-08 06:32:58 -03:00
waozi 16eebadf7f Provide font checks in isolated Linux package builders 2026-10-08 06:12:19 -03:00
waozi 74ff46a65c Retain failed Pages web output for diagnosis 2026-10-08 05:57:49 -03:00
waozi 00e9916b9e Prepare dependencies for clean CI test runners 2026-10-08 05:24:38 -03:00
waozi b38f43f315 Keep owner authorization IDs stable across storage reads 2026-10-08 04:37:57 -03:00
waozi ffe6419488 Show complete Telegram consent identities in Settings 2026-10-08 04:26:28 -03:00
waozi 959f23691a Keep Telegram consent content within the scrollbar clip 2026-10-08 04:08:48 -03:00
waozi b6f4120dfd Prevent Telegram startup from saving owner app preferences 2026-10-08 03:47:24 -03:00
waozi c0ea7da443 Fix generated Telegram Mini App bootstrap quoting 2026-10-08 03:26:58 -03:00
waozi d2bcc15768 Link published Android downloads with a universal APK fallback 2026-10-08 03:17:48 -03:00
waozi ebabcc7d74 Show Telegram recovery labels and complete approval fingerprints 2026-10-08 03:05:11 -03:00
waozi ac3cb27cdf Package embedded web assets without requiring an external data file 2026-10-08 02:56:03 -03:00
waozi e31ffde6b5 Release 2.1.19 with secure Telegram account setup 2026-10-08 02:46:54 -03:00
waozi 6ba3bfcb5f Fix desktop window icon channel masks 2026-10-08 02:41:34 -03:00
waozi d48423a229 Connect Telegram through verified scoped account authorization 2026-10-08 02:29:51 -03:00
waozi 432b2bef00 Unify the default palette and simplify app navigation and onboarding 2026-10-08 02:15:36 -03:00
waozi 1b5d03ab34 Isolate Lumi private data and preserve legacy storage safely 2026-10-08 01:19:19 -03:00
waozi 39c5018790 Keep app behavior harnesses linked to current host capabilities 2026-10-08 01:18:07 -03:00
waozi 266479cb64 Exercise Apps navigation in browser checks 2026-10-08 00:43:35 -03:00
waozi 8e842cd6bf Start in Apps with ready bundles and default favorites 2026-10-08 00:22:40 -03:00
waozi dd4839ae84 Show each app bundle size in the Apps library 2026-10-08 00:20:02 -03:00
waozi d6b07cf0e1 Arrange app favorites by dragging tiles in the launcher 2026-10-07 23:43:53 -03:00
waozi 1c8e89be66 Use the toolchain fix for web directory reads 2026-10-07 23:01:52 -03:00
waozi 742c740db4 Pin every app with a hold gesture in the launcher 2026-10-07 22:47:50 -03:00
waozi fb7b12752d Add searchable app launcher and saved favorites dock 2026-10-07 21:31:20 -03:00
waozi ad97c32e83 Design four Inbe app launcher concepts 2026-10-07 20:54:01 -03:00
waozi b308b573cb Reduce Android startup work and show progress until the first frame 2026-10-07 20:42:28 -03:00
waozi 1fa6d9c8f0 Open Lumi Telegram links directly in the Android app 2026-10-07 20:26:31 -03:00
waozi 4c66473e07 Move Telegram sync into Settings and load Lumi history on scroll 2026-10-07 20:13:18 -03:00
waozi 7cec3ad0b3 Apply sync review choices directly below colored changes 2026-10-07 15:40:56 -03:00
waozi 6842f2ee3d Ship compatible app bundles for Lumi text emphasis 2026-10-07 02:41:39 -03:00
waozi da10eb28f4 Format Lumi replies and save feature suggestions as feedback 2026-10-07 02:35:43 -03:00
waozi 87fe73d412 Show Lumi progress charts and donation cards
Render account-scoped daily session, meditation, WHM retention and habit progress from saved data, with bounded chart snapshots and selectable values. Provide canonical Bitcoin and Monero donation actions in typed chat cards through the shared Lumi app tools. Preserve text history and translate the new UI in every locale.

Validation: native build and build laws; engine, chart, SQL and cell persistence checks; proof, sync recovery, version and locale gates; complete private-display UI suite including narrow cards, clipboard and URI routing; full-history performance and memory stability. Android, web runtime and live online-model invocation were not exercised. Changes are local and are not deployed.
2026-10-07 02:24:34 -03:00
waozi 9769e598c1 Enable Lumi online conversation and shared app tools
Save the existing Lumi harness foundation separately from the progress-chart and donation-card extension. It provides account-scoped online conversation, validated app actions, offline feedback delivery, and the same tools for standalone and Harmony-hosted use.

Validation of the combined final working checkout: native build and build laws, cell and storage tests, proof mutations, sync recovery, version and locale checks, private-display Lumi UI checks, and full-history performance.
2026-10-07 02:21:28 -03:00
waozi b5abb39a84 Accept whitespace in Lumi server responses and tighten UI verification 2026-10-07 02:01:50 -03:00
waozi c231e445ae Store Android artwork once and shrink offline practice packages 2026-10-07 02:00:52 -03:00
waozi 6eea75559a Keep Lumi chat responsive and restore offline app navigation 2026-10-06 23:39:20 -03:00
waozi c8799009b9 Write timestamped Diary entries from multiline Lumi chat 2026-10-06 23:05:23 -03:00
waozi 69e0da10eb Add Lumi app tools and unify cell navigation and sidebar settings 2026-10-06 22:47:06 -03:00
waozi a5778c7d6f Preserve all cell navigation slots and desktop choices at startup 2026-10-06 20:18:24 -03:00
waozi 9e0319e27e Keep scale slider geometry fixed until release 2026-10-06 18:09:46 -03:00
waozi 3cc206c902 Fix translation catalog lifetime and complete font coverage 2026-10-06 17:25:00 -03:00
waozi 396a8f917b Add modular apps, signed package updates and synced app choices 2026-10-06 14:37:10 -03:00
waozi 7baf61920b [skip ci] Build signed Moto APKs from verified release sources 2026-10-06 13:50:58 -03:00
waozi bc451e537f Verify complete embedded style payloads independently of selector order 2026-10-06 12:50:58 -03:00
waozi 9ac1907a6d Complete release checks for current bundles, styles and translated fonts 2026-10-06 12:45:56 -03:00
waozi 52825415c3 Run habit form regression checks through the packaged app bundles 2026-10-06 12:31:44 -03:00
waozi dbc7eaf53d Build the algorithms exported by the pinned Oqs package 2026-10-06 12:24:43 -03:00
waozi c2b8ed642e Release 2.0.12 with Android graphics recovery and regression checks 2026-10-06 12:01:56 -03:00
waozi 41f56bdd47 Restore Android images and retained frames when graphics resume 2026-10-06 09:23:30 -03:00
waozi 17c3c90465 Restore the original practice screen with padded centered headings 2026-10-06 00:37:17 -03:00
waozi b99eb523bd Improve profile header typography and flower avatar detail 2026-10-06 00:14:23 -03:00
waozi f1d3713815 Unify practice artwork, heading and Start in a responsive card 2026-10-05 23:55:15 -03:00
waozi 07ecff6eb8 Consume navigation clicks and return Data to its entry screen 2026-10-05 23:55:10 -03:00
waozi e3f0b5029b Give practice headings room and frame artwork without cropping 2026-10-05 23:37:09 -03:00
waozi 5a628b8811 Skip sync reviews when the merge preview has no changes 2026-10-05 23:26:11 -03:00
waozi cfcf5151c9 Explain sync changes without raw JSON or empty habit days 2026-10-05 21:07:19 -03:00
waozi ce74dba314 Use the Ziran organization for Daochi Client 2026-10-05 20:55:14 -03:00
waozi 3e4d1169b4 Start hosted practices and keep feature routes stable 2026-10-05 14:35:04 -03:00
waozi 8b33dd30af Stop flooding the log with DPI warnings on the SDL desktop
Inner Breeze asked raylib for the window's DPI scale every frame. raylib's
SDL2 backend has no such value: it returns 1.0 and logs "GetWindowScaleDPI()
not implemented" each time, 30 lines a second into the owner's log while the
app runs inside Harmony. SDL2 desktop builds now keep the 1.0 scale without
asking; their display density still comes from the SDL device host.
2026-10-05 12:16:11 -03:00
waozi 5a74caeb7b Keep background sync from freezing Inner Breeze inside Harmony
The owner saw Inner Breeze stop rendering inside Harmony. Its frame loop and
live-update worker were both waiting forever for the database connection,
held by a social-refresh worker that had already exited.

Settings write batches shared one depth counter across threads. When two
workers saved their sync session together, the second joined the first's
batch without its own BEGIN, so the first returned without COMMIT and exited
while its open transaction still held the connection. Each batch now holds
the connection for its own thread until it commits, a failed COMMIT rolls
back, and a failed sync savepoint release is rolled back too, so no worker
can leave the connection held.
2026-10-05 11:58:26 -03:00
waozi f48f1f92db Keep a waiting sync review from restarting sync every few seconds
When the server asked for a full snapshot that waits for the person's
review, the app kept its applied version behind the server's. Every
live-update greeting then looked newer, so an open desktop app synced again
every two or three seconds. The app now remembers the newest server version
it has received, also while a review waits, and only a newer version starts
a sync. Changes from other devices still arrive.
2026-10-04 21:19:25 -03:00
waozi 51a5b8c873 Load Inner Breeze feature bundles from its portable root 2026-10-04 21:00:15 -03:00
waozi 443b769d00 Stop desktop Inner Breeze from syncing again every few seconds
The server greets each live-update connection with its current version.
The app treated that greeting as a change, synced, reconnected and was
greeted again, so an open desktop app downloaded all of its records every two
or three seconds. A greeting or event no newer than the last sync is now not
a change: the app waits and checks again, so changes from other devices still
arrive within seconds.
2026-10-04 20:53:20 -03:00
waozi 9362006ca6 Expect a rejected sign-in to retry in the sync recovery test
The recovery test still expected sync and social refresh to stop after a
rejected sign-in, which a9744124 changed to an automatic retry. It now checks
that a rejected sign-in retries on the usual schedule and still shows why,
and that a failure the person must fix, such as a signing error, still stops.
2026-10-04 20:53:20 -03:00
waozi f07f0e16c9 Keep syncing automatically after a rejected sign-in
When two sign-ins of one account overlapped right after an account was
attached, the server rejected one, and Inner Breeze stopped syncing until the
person reconnected by hand: the username and new sessions stayed on the
device. A rejected sign-in is now retried with a fresh challenge on the usual
schedule while the account key exists, and the sync status still shows the
failure until a sync succeeds.
2026-10-04 20:33:10 -03:00
waozi 47b13958c1 Verify sync review inside the Harmony app host 2026-10-04 19:33:00 -03:00
waozi 7dc8312fcd Keep expanded habit cards within their own column 2026-10-04 19:32:51 -03:00
waozi 9d643516de Reject incomplete sync review previews 2026-10-04 18:53:55 -03:00
waozi 6d761ce157 Show exact sync review outcomes and preserve local edits 2026-10-04 18:44:39 -03:00
waozi 2d35bb334c Use the verified modal input fix from Kryon 2026-10-04 18:17:57 -03:00
waozi 7992b9b0cf Own persistent UI messages during portable app checking 2026-10-04 01:54:54 -03:00
waozi cc3bb3f069 Correct Sun Salutation necks and clean clothing edges 2026-10-02 18:20:42 -03:00
waozi 0ab4fdeab4 Upload store listing text with the Play screenshots
The Play upload script now also sends each Fastlane locale's short and
full description, keeping titles as they are on Play.
2026-10-02 18:15:06 -03:00
waozi cea16cc681 Refresh store listing text and screenshots for the current app
Store screenshots now render at real phone and tablet density
(--screenshot-ui-scale), show the painted Wim Hof, Sun Salutation and
Meditation cards, an Upward salute pose and showcase habits instead of
test fixtures. Descriptions in all five store locales name the actual
practices, patterns and habit features. TODO.md tracks the marketing plan.
2026-10-02 18:10:41 -03:00
waozi 6128fa5f6e Stream large web assets within the website file size limit 2026-10-02 17:40:25 -03:00
waozi 655b3c05ce Include all translated character glyphs and artwork test dependencies 2026-10-02 17:10:37 -03:00
waozi 5399ceb1ee Ignore the local Wrangler deploy cache 2026-10-02 16:57:43 -03:00
waozi 8c59336306 Add four selectable Sun Salutation characters with distinct outfits 2026-10-02 16:56:12 -03:00
waozi 4d5a83bbfa Use the standard native clock without portable symbol collisions 2026-10-02 14:59:31 -03:00
waozi 33c04eeee0 Keep 1.8 themes and count 32-bit Android profile weeks
Settings last saved before 1.8.5 hold the picked theme without a theme
source, and the upgrade defaulted the source to System, which replaced
the user's theme. A theme picked there now stays the app theme.

Profile week stats declared mktime and difftime with a 64-bit time_t,
which is 32-bit on 32-bit Android, so every day fell outside the week
and active days and sessions read 0. Day offsets now use civil day
arithmetic. Verified by upgrading real Inbe 1.8.0 data to this build on
an armeabi-v7a Moto: theme, language, habits, counts, sessions and
settings carry over, and the week shows 6 active days and 1 session.
2026-10-02 14:23:52 -03:00
waozi 232c92761d Describe verified Wim Hof customization fixes 2026-10-02 13:57:20 -03:00
waozi 8160a37b05 Hold the Customize breathing preview under any covering modal
The preview paused only for the start-speed editor. Any modal other than
Customize itself now covers the page, and the preview holds still
behind it, as it does behind the music network-error dialog.
2026-10-02 13:56:48 -03:00
waozi 259294835c Draw modal content inside Kryon modal panels again
Kryon paints overlays above page content, and the ModalPanel wrapper
dropped the panel node, so the start-speed editor, habit counter, theme
picker and app icon dialogs drew their content under the opaque panel
and looked empty. Kryon's ModalFrame now opens the panel scope itself;
those dialogs call it directly with Kryon's close glyph, and the other
modals stop pushing the scope a second time.

The breathing preview paints into the current widget scope, so the
start-speed editor shows its circle, and the Customize preview holds
still while that editor is open. Wim Hof sliders show their values,
Start Practice uses the large button size, and screenshot scenes cover
the start-speed editor and theme picker.
2026-10-02 13:49:15 -03:00
waozi f76dade280 Pin validated safety fixes and wait for browser guide layout 2026-10-02 13:15:20 -03:00
waozi 5a5b484431 Prepare 2.0.8 with Android startup recovery and upgrade regressions 2026-10-02 04:54:56 -03:00
waozi d0fba680ae Wait for decoded audio before clicking browser music controls 2026-10-01 18:38:13 -03:00
waozi b9e835542b Wait for app transitions before querying music controls 2026-10-01 18:26:27 -03:00
waozi 046a15cd9f Restore web audio and verify music across internal tabs 2026-10-01 18:13:11 -03:00
waozi 5926553442 Keep music playing across internal app tabs 2026-10-01 17:45:20 -03:00
waozi 7328b14a7b Measure web animation only during active playback 2026-10-01 15:34:22 -03:00
waozi 068900865e Release Inner Breeze 2.0.7 with FreeBSD packages paused 2026-10-01 14:56:40 -03:00
waozi eebe6b24b7 Simplify the Inbe landing page and practice flow 2026-10-01 13:48:29 -03:00
waozi 9b48a899ba Tuck the women's necks inside their round collars
In the half lift, both planks and upward dog the head tilts back up to 42°
from the spine, which swung Sunrise ponytail's and Sage bun's throats out
below the collar. Their necks now attach 11% down the torso, like the male
proposals' joined necks, so the neck stays inside the collar in every pose
while the standing neck keeps its length. Both women and the first male
are rerendered with the current sun salutation motion, so the paired loops
match again.
2026-10-01 11:51:34 -03:00
waozi b87c387e9d Slim the second male proposal's seat
His painted leg is about a fifth thicker for its length than the first
man's, with a pronounced rear curve, and the rig widened it further behind
the hip. Draw his leg at the first man's thickness without the seat
fullness, and re-render his loop, GIF, sequence and the review montage.
2026-10-01 11:11:59 -03:00
waozi 890e9bfe37 Sweep sun salutation arms clear of the face and step without kicking
From prayer the hands open forward into straight arms that rise in front
of her, instead of sliding up across her face, and come down the same way.
The half lift keeps straight legs and a long back. Planting the hands now
uses long arms and soft knees with her head up, instead of folding her
face to the floor. A stepping foot skims the floor and travels while her
hips are high, leading hips that lower and following hips that rise, so
the leg reaches long instead of kicking up behind her.

Both renderers share the change; the app's frames are regenerated.
2026-10-01 11:09:46 -03:00
waozi af7d013930 Add paired male sun salutation proposals with joined necks 2026-10-01 10:53:09 -03:00
waozi 998634dc0c Measure salutation timing after the resume gesture completes 2026-09-30 23:56:37 -03:00
waozi d6f6a5dc90 Keep skipped release refreshes from cancelling site deployments 2026-09-30 23:47:05 -03:00
waozi b109d47604 Deploy the website independently with published download links 2026-09-30 23:43:43 -03:00
waozi 032bc30635 Add four banner-inspired animated character proposals 2026-09-30 23:13:42 -03:00
waozi d2bbb1dade Replace landing preview with the real mini app 2026-09-30 23:02:01 -03:00
waozi 96604dd08f Deliver oversized web asset packages within the Pages limit 2026-09-30 22:34:16 -03:00
waozi df29c26b84 Use Waozi colors in opt-in mini previews 2026-09-30 22:05:30 -03:00
waozi 3632d4855b Smooth Sun Salutation timing and foot transitions 2026-09-30 21:52:19 -03:00
waozi bd76eaeb33 Align Kryon and Game2D package names in the application lock 2026-09-30 17:48:33 -03:00
waozi 41a10e9f4b Tuck sun salutation neck beneath the shirt collar
Paint the face and neck before the shirt so the collar covers the neck base as the head turns. Keep the front hair above the shirt and regenerate all app animation frames.
2026-09-30 17:38:01 -03:00
waozi 6fa7627aeb Replace pixel sun salutation with smooth painted animation
Use 30 fps transparent frames across all twelve poses, fuller hips, and solid hand and foot contact drawings. Make practice Customize pages fill the view and simplify the session timer.

Verify frame timing, storage settings, native navigation, and session playback controls.
2026-09-30 17:10:34 -03:00
waozi fdf9495ee9 Keep the sun salutation girl's top over her leggings
In plank, low plank and upward dog the leggings' waistband stuck out above
the back of her top, and in the fold, down dog and the lunges the seat ran
flush into the hem, so the top looked tucked into the leggings.

Above the hem the leggings are now clipped away behind her back, and the
lower top flares out over them, more at the back while she is upside down,
where it hangs away from her. Each leg's painted seat follows the pelvis
and bends round into the thigh, with extra rows across the joint and a
turn that stays round even when the hip folds all the way; the separate
hips piece and the sliding of the top are gone, since the bent seat forms
a smooth bottom in every pose. The Ziran renderer does the same.
2026-09-30 14:56:53 -03:00
waozi 10a8836db0 Update Kryon: habit day dots and other rounded shapes are anti-aliased 2026-09-30 13:07:47 -03:00
waozi c1e56cf912 Declare local flags as bool
`ziran check --lint` found three s32 locals that only ever hold 0 or 1
and are only compared with them: handled_screen, the desktop loop's quit,
and has_prev. They are bools now, set with true and tested directly.
The other quit, passed to the tray by pointer as an s32, stays.

Inbe checks with both the pinned 8bc31e8 and the current Ziran.
2026-09-30 08:00:44 -03:00
waozi 4c06be71fb Write constant dispatch chains as if-cases
Seventeen if/else-if chains that compare one variable with three or more
constants now read as Jai's `if value == { case A; ... case; ... }`,
which Ziran checks as the same chain and compiles to a switch where it
can. Chains in procedures that also use opened enum members, or over an
enum with a plain else, stay as they are until the pinned Ziran includes
the fixes for those (008874f, 9fb3d30).

Inbe checks with both the pinned 8bc31e8 and the current Ziran, and the
app navigation, bottom navigation, text input, and sync review tests pass
with both. route_navigation_test.sh and settings_shell_test.sh fail as
they did before this change.
2026-09-30 07:47:36 -03:00
waozi 57b32b300f Let Ziran widen values without explicit casts
The pinned Ziran (8bc31e8) converts narrower numbers implicitly where no
value can change. `ziran check --lint` found seven casts that only widen
a whole initializer, argument, or result (s32 or u8 to s64, u32 to u64);
they are removed, with the parentheses they no longer need. Arithmetic
still happens in the narrower type first, as before. The two casts in
range headers stay for readability.

Inbe checks, and the settings cache, statistics date, and sync crypto
tests pass, with both the pinned and the current Ziran.
2026-09-30 07:30:16 -03:00
waozi b1814abea2 Write compared characters as #char literals
The locale parser and settings cache compared bytes with character codes
written as numbers (45, 91, 48..57). `ziran check --lint` found 42 such
comparisons; they now read #char "-", #char "[", #char "0" and so on.
Control characters such as 9 and 10 stay numbers.

Inbe checks, and the locale parser, locale policy, and settings cache
tests pass, with both the current Ziran tree and the pinned 8bc31e8.
2026-09-30 07:24:07 -03:00
waozi a2a9972ff2 Drop casts to a value's own type
`ziran check --lint` found 42 casts that convert a value to the type it
already has, such as cast(u8) on a []u8 element or cast(s64) on a count.
They are removed; nothing else changes. Casts that only widen are left
for when the pinned Ziran widens implicitly.

Inbe still checks with both the current Ziran tree and the pinned
package checkout (8bc31e8).
2026-09-30 07:19:11 -03:00
waozi fc7ef27c25 Render the sun salutation girl from Ziran too
scripts/sun_salutation_girl.zi is the Ziran version of the Python girl
renderer: it reads the same rig JSON and painted parts, draws with Cairo,
and pipes frames to FFmpeg. scripts/render-sun-salutation-girl-zi.sh
builds it to Python with the pinned toolchain's zi2py and runs it.
2026-09-30 06:11:19 -03:00
waozi 425efb0cb3 Keep mini mode temporary and without a tray icon
Mini mode is a quick practice, so it no longer opens a tray icon and its
extra window, and it keeps nothing: finished practices, mood check-ins,
and changed settings stay in memory, and nothing is synced or counted
toward habits. The results page drops the save status and the mood
picker, which had nothing to record. Opening the full app from mini mode
saves as usual from then on.
2026-09-30 06:08:40 -03:00
waozi f2d24b167d Open the practice Customize page again
The Customize page closed itself on its first frame because it treated
any drawn title bar as a press of Back. It now closes only when Back is
pressed, and its title bar shows the Back button again.
2026-09-30 06:08:40 -03:00
waozi c1792adae5 Keep widgets drawn on animated screens
Since the previous frame could be reused, every screen that animates with
direct draws, such as the Wim Hof session and its Customize preview, lost
its text and controls: Kryon dropped the unchanged widget paint while Inbe
repainted for the animation. Inbe now tells Kryon whether it will reuse the
previous frame, and Kryon 001a2a20 emits the paint when it will not.
2026-09-30 06:08:40 -03:00
waozi 3804999c66 Pass the Oqs package path to the title bar and navigation tests
Both compile sync_crypto_random.zi, which imports oqs/Oqs by its package
name since decfee42.
2026-09-30 01:54:51 -03:00
waozi f3f1e0efc4 Build Windows again, for 64-bit Windows only
The Windows link failed on code that ELF links drop unused: MinGW's PE
linker reports undefined symbols even in dead functions. Ziran's file,
mapping, and curl modules now build for Windows (ziran 1a4bd23), and here:

- the CRT's _time64, _localtime64_s, and _gmtime64_s replace MinGW's
  inline-only localtime_s and gmtime_s;
- the density lock needs SDL, which the Windows build does not use;
- the pthread-based Android mutex compiles only for Android;
- the dead whm_session.session and its stale C names are gone;
- the native host declines net_http's blocking Send, which inbe never
  uses (native requests go through SendCurl);
- the link takes zlib from Ubuntu's MinGW zlib package.

The 32-bit build is dropped: Win32 APIs are stdcall there, and Ziran's C
output has no calling-convention support. The installer refuses 32-bit
Windows, and winget lists x64 only.

Tested under Wine: the screenshot scenes render, the data directory and
database are created, and the installer installs, runs, and uninstalls.
2026-09-30 01:54:51 -03:00
waozi ab19f67e31 Animate the painted girl through the sun salutation
A new renderer draws the Codex-painted girl through Inbe's twelve steps
from a tracked rig: docs/sun-salutation-girl.json holds the poses, timing,
bones, camera and part key points. The upward salute folds as a swan dive,
the half lift steps back through a low lunge, lifted feet point along the
shin, the shirt always covers the leggings, and the layered head lets the
long hair fall behind a fully painted neck. Output is deterministic and
goes under build/.

Also track the first person-rig renderer and the tool that cut the
generated reference video into poses, and move the Ziran toolchain pin to
8bc31e8 so Python builds load LDLIBS libraries and pass C strings.
2026-09-30 01:53:35 -03:00
waozi 864ea9de6c Import Oqs by its package-qualified name
Oqs names its module file after its export, so Inbe imports it as
oqs/Oqs through a named module path, as project builds of other apps
do. The lock moves Oqs to that commit and keeps liboqs where it was.
2026-09-30 01:21:16 -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 38b4af5ff8 Pin Ziran d4489a3, which proves the guide laws
The guide and pager laws are outside the pinned 18d60d0's compile-time
evaluator, so every build stopped at the proofs gate. d4489a3 proves all
eight law modules, and the desktop and web sources check with it. The
version test also copies mk/package-freebsd.mk, which the Makefile now
includes.
2026-09-29 22:20:58 -03:00
waozi c356bc5b00 Let snap and flatpak builds fetch their own packages
A snap or flatpak build starts from a copy of the tree without the host's
package links, which point into the host's cache anyway. Make checked the
build environment while first reading the Makefile, before it fetched the
packages, so it stopped on "libcurl >= 7.86.0 is required" by reading a
curl header that was not there yet. The checks now wait for the fetch. The
snap installs git for the fetch; the flatpak leaves the host build tree out
and may use the network while building.
2026-09-29 22:19:13 -03:00
waozi 613d6f351a Build Windows raylib and FreeBSD packages without Kryon's old make files
Kryon deleted its legacy make fragments on 09-24, and Inbe still relied on
two of them: the MinGW raylib rule, so Windows builds found no rule for
libraylib.a, and package-freebsd.mk, which also provided install, stage,
and uninstall. Inbe now builds Windows raylib like the native library and
keeps the FreeBSD packaging rules itself. The FreeBSD VM also installs
git, which fetching the pinned packages needs.
2026-09-29 22:15:49 -03:00
waozi 03eafac6cd State guide and guide pager laws
The guide and guide pager laws that were Bend models on Kryon's old
.kry runtime are now Ziran laws on Inbe's guide code: which keys go
forward, back, and close, that a swipe blocks a keyboard finish, that
steps and pages stay in range, and how closing, finishing, and moving
between steps and pages decide. The proofs gate checks them on native
builds and Android builds.
2026-09-29 22:14:52 -03:00
waozi fa71397c0f Keep CI toolchains per runner image and detect glibc without ripgrep
The Ziran compiler cache was keyed by OS family and CPU only, so jobs on
ubuntu-22.04 restored a compiler built on ubuntu-latest and failed with
"GLIBC_2.38 not found". The key now includes the runner image and its C
library. The build also detected glibc with rg, which runners lack, so it
silently dropped the __GLIBC__ define there; it uses grep now.
2026-09-29 22:11:51 -03:00
waozi 250938e668 Drop paths into the removed vendor trees
Kryon no longer vendors utf8proc, Monocypher, liboqs, or raylib; each is
its own Ziran package. The native build stops passing include paths and
a sync crypto list that point into Kryon's old vendor tree, the
secondary window test reads raylib's headers from its package, and the
Firefox add-on source zip leaves out liboqs's and raylib's docs, tests,
and examples from their package folders.
2026-09-29 21:44:41 -03:00
waozi 9715467d7f Center the Week and Calendar tab labels
Kryon 58c83781 centers segment labels that style sheets pad, so the
habit page's Week and Calendar tabs no longer sit right of center.
2026-09-29 21:37:33 -03:00
waozi 0a0981abc1 Show counts in the habit calendar and name its month
A counting habit's calendar day now shows its date above a dot with the
day's count, filled once the day reaches its target, like the week
markers. The calendar names its month in the app's language, such as
"September 2026" or "2026年9月", centered between the arrows, and a
habit's title sits level with the Back button.

The minus and plus steps beside Today and in the count dialog are drawn
as bars sized to their buttons instead of small "-" and "+" glyphs, and
the digits in a day's dot grow with the dot.

The month names that are the same in German and Indonesian as in
English are allowed to match it, and the CJK fonts now carry 年 and 년
for the month names.
2026-09-29 21:26:12 -03:00
waozi ff3db298ab Pass the Ziran std path to every route catalog test step
Kryon's geometry module now imports math, so the bundle and native
steps failed to find it in source mode.
2026-09-29 21:20:06 -03:00
waozi b7534e94e5 Add a mini mode with only the practices
Inbe started with --mini, or opened with ?mini in the page address, shows
the practice start page, the practices, and their results: no navigation,
habits, lists, profile, settings, language picker, first-run guide,
donation reminder, breaks, reminders, update check, or sync. It opens on
Wim Hof. An expand button in the top-right corner (or next to a practice's
close button) opens the full app: a page opens it in a new tab without
?mini, and the desktop window grows into it in place. The desktop mini
window is phone-sized and quits on close.

Launch commands (?launch=...) are now removed from the address once run,
since route changes keep the page query and a reload would repeat them.
2026-09-29 21:14:33 -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 8e92872f86 Add screenshot scenes for habit counts and the count dialog
habit_counts shows the counter habit expanded with a full day, a
partial day, and a two-digit count; habit_count_dialog opens the count
dialog over it for today.
2026-09-29 21:04:43 -03:00
waozi 48ee22058a Count habit days in a dialog and show counts without a check
A counted day's circle now shows only its count, centered in the circle
and drawn in a color that reads on the filled circle, instead of a check
with the number on top.

Tapping a counting habit's day opens a dialog with the day's count, its
daily target, and large minus and plus steps, instead of adding one per
tap. Days with linked practice sessions count up from those sessions,
never below them, and open the sessions from the dialog. For today the
habit card also has minus and plus buttons beside the Today count.
2026-09-29 20:55:49 -03:00
waozi cc39d4e698 Reuse the previous frame when nothing drawn has changed
Direct draw calls are recorded into a per-frame plan. When both the
widget paint and the plan match the previous frame, the native host
presents the retained frame instead of repainting it.
2026-09-29 20:48:51 -03:00
waozi dfc77b8ba7 Keep CI toolchain caches complete and readably keyed
Jobs that only fetch packages saved the toolchain cache first, before
any job had built the compiler, so later runs restored a cache without
it. They now restore it without saving. Cache keys use runner.os, since
ImageOS is empty inside composite actions.
2026-09-29 19:36:06 -03:00
waozi 94a3133c97 Speed up CI: shard the tests, build the web app once, cache toolchains
- make test runs as three parallel shards (scripts/test-shard.sh), so
  the test job takes about a third as long.
- One job builds the web app, packages it for Chrome and Firefox, and
  runs the smoke test in both, instead of two jobs building it twice.
- Emscripten is pinned to the version CI already used (6.0.10) and
  cached, including the libraries it builds on first use.
- The built Ziran compiler is cached by the toolchain commit instead of
  the whole lock, so a Kryon bump no longer rebuilds it.
2026-09-29 19:20:12 -03:00
waozi b8c6ed63fe Add sun salutation previews with fixed character proportions 2026-09-29 19:19:18 -03:00
waozi 215ea82814 Stop reading sync settings from SQLite every frame
The sync pump prepared SQL statements on every frame to read whether
sync is on, the server URL, and whether a sync review waits: about a
tenth of each frame on a phone. They are now cached until stored data
changes, using a revision that advances on every row change on the
app's connection (storage_data_revision, which session caches use too).
2026-09-29 19:16:59 -03:00
waozi dda53e635b Build the browser add-ons beside the tests and run their smoke test once
The Chrome and Firefox jobs waited for the whole test job before
starting, so a CI run took the two back to back. They now start with it.
The Chrome job also rebuilt the web app through make web-canvas and ran
the same canvas smoke test twice more.
2026-09-29 19:09:24 -03:00
waozi a3369a4b41 Update Kryon: quick taps during slow frames are no longer dropped 2026-09-29 19:02:43 -03:00
waozi 49440cd7a8 Give a habit separate view, statistics, and edit pages
Opening a habit showed a tab-like row of Week, Calendar, and Current
streak buttons with New habit and Edit habit under it, so switching the
view, reading statistics, and editing were mixed on one screen.

The habit view now has only Back, the habit's name, and one Week or
Calendar switch. Statistics is its own page with Back and its own title,
and editing stays on the edit page reached from the habit card. New
habit lives only on the habits overview.
2026-09-29 19:00:48 -03:00
waozi b12c65cae3 Add selected cartoon-pixel sun salutation animation drafts 2026-09-29 18:42:58 -03:00
waozi e3eb4112de Make Inbe fast and correctly sized on phones, on Kryon's Material theme
On a Moto e6 Play, Habits scrolled at about 4 fps and buttons were drawn
three times their size. The phone's density was applied twice (by the
render scale and again by app metrics), the whole stylesheet was parsed
every frame, and each habit marker reloaded every session from SQLite
while checking a change clock that ran a query.

- App metrics no longer rescale by the density; the render scale does it.
- The style is installed only when the theme, dark mode, or style pack
  changes, and body text follows the theme's Text size.
- Session records are cached once per database change, and the change
  clock counts row changes on the connection instead of querying
  MAX(updated_at), which missed writes within the same second.
- Route fades run at the active frame rate, so tab switches are smooth
  and taps are not dropped while the fade holds input.
- The bottom bar takes its height from Kryon's Material 3 navigation bar.
- Android clears the system bar strips black through Kryon.
- Generic styling moved into Kryon's default material theme; inbe.kss
  keeps only Inbe's own classes.
- Kryon and the Ziran toolchain are updated.
2026-09-29 18:16:17 -03:00
waozi 8a0eaebbdf Count a pending route fade as running in the web test hook
A route change starts its fade on the next frame and ignores input while
it runs. The smoke test waited only for a running fade, so a click sent
between the request and the first fade frame was dropped. Also update
Kryon, which no longer flashes a blank frame when a screen awaits an
image.
2026-09-29 17:18:09 -03:00
waozi f25f52cd53 Explore clean cartoon and pixel sun salutation characters 2026-09-29 16:46:34 -03:00
waozi 612221c6a3 Explore ten generated styles for the first sun salutation frame 2026-09-29 16:34:20 -03:00
waozi 12da5f5115 Add complete sun salutation videos in separate light and dark themes 2026-09-29 16:23:30 -03:00
waozi 570cdaee19 Drop the removed scroll input tests from make test 2026-09-29 16:13:39 -03:00
waozi 722dea6b87 Use Kryon's scroll device: momentum, wheel glide, full canvas text
Scrolling now comes from Kryon, which observes the pointer for every
list by itself. Flicked lists keep coasting, wheel steps glide instead
of jumping, and dragging a list no longer presses the button under the
finger. On the web, arrows, ellipses, and non-Latin text such as the
profile cards' chevrons draw as themselves instead of ?.
2026-09-29 16:08:03 -03:00
waozi 8ca420fae0 Trim unused library resources and metadata from the Android APK
Keep Firebase and AndroidX resources only in the app's own languages
(Play build: 88 resource locales down to the app's 12) and leave out
protobuf schema sources and Kotlin reflection metadata files.
2026-09-29 15:44:11 -03:00
waozi b1fc424df5 Fix the Android release build and use Kryon's Android CMake helpers
The Android release step called a Kryon embed script that no longer
exists, so 2.0.x Android builds (and F-Droid's prebuild) failed. The
prepare script now fetches the locked packages the CMake build needs.

The native build uses Kryon's kryon_android_raylib and kryon_android_app
instead of its own copy of those settings, and no longer embeds the
unused banner.png copies of banner-light.png (~0.5 MB per ABI).
2026-09-29 15:36:31 -03:00
waozi 7e52608954 Update Kryon: canvas text no longer clipped or missing 2026-09-29 15:25:47 -03:00
waozi 8dc0a6b0ee Make practice carousel swipes work and fix web screen hooks
The practice home carousel passed an empty pointer frame to Swipe and
dropped the gesture state, so swiping between practices never worked.
It now uses the app's pointer frame, as the manual screen does.

Web hooks that change the screen between frames now tell the router, so
the next frame's URL sync no longer switches the screen back. The habits
click target reads the first habit's today marker again instead of a
guide anchor the overview never sets.
2026-09-29 14:46:18 -03:00
waozi 734152e63b Have the web smoke test wait on the app's route transition state
The app now reports whether a route fade is running, and the smoke test's click
helper waits until it is not, instead of guessing with fixed frame counts.
2026-09-29 11:16:12 -03:00
waozi 3452509de4 Let the route fade finish before the smoke test's next guide click 2026-09-29 10:55:31 -03:00
waozi efdb0aa057 Port the sync recovery test to Ziran and put it back in make test
The legacy C test included a generated app_sync.c that no longer exists. The
Ziran test runs the same retry, backoff, social retry and status-line checks
against app_sync with the storage layer replaced by in-memory settings.
2026-09-29 10:33:41 -03:00
waozi 672fa326e1 Build the web extensions on Kryon's canvas backend
The web link takes Kryon's canvas window, draw, input, texture, audio, raster
and route modules instead of the deleted JS hosts, builds liboqs for
WebAssembly, and no longer pulls the native raylib runtime into the page.
Foreign declarations that shared a name with a canvas function are renamed to
the same C symbol under a different Ziran name, main takes no arguments on web,
and the Ziran and Kryon pins move to the commits that add the missing pieces.
2026-09-29 10:29:24 -03:00
waozi a59bd773d3 Fix Android build law check and raylib package path 2026-09-29 10:05:45 -03:00
waozi 7d8eaae69e Start moving the web build onto Kryon's canvas backend
Allocator sizes use usize so the generated C matches wasm32's size_t, the web
link uses Ziran's web runtime instead of the deleted Kryon JS hosts (and exports
FS), and the native-only screenshot declarations are left out on web.
2026-09-29 01:36:47 -03:00
waozi ac12166a0e Use Kryon's canvas backend modules for the web build
src/main.zi and the raylib host imported a canvas_runtime.zi that no Kryon
release has. On web they now import the canvas window, draw, input, texture and
host modules, and the native raylib runtime is left out.
2026-09-29 01:15:33 -03:00
waozi 9c58377a08 Take the unbuildable sync recovery C test out of make test
It includes the generated app_sync.c, which the Ziran port stopped producing.
The retry decisions it exercised are covered by sync-retry-zi-test; the target
stays until the rest is ported to a Ziran test.
2026-09-28 23:37:00 -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 a4fb74704f Keep inbe.kss starting with its first rule; declare panel tokens where they are first used 2026-09-28 23:12:28 -03:00
waozi b56b377b3b Define the panel tokens the title bars use so Classic and Lightfield install
The refined title bars use panel, panel-hover and panel-pressed, which only the
Material pack defines, so choosing Classic or Lightfield failed to parse and left
the previous style installed. The fallback values are replaced by the theme's own
colors like every other token.
2026-09-28 23:03:27 -03:00
waozi ee648d1809 Pin Kryon to the commit with DPI zoom and the opaque Lightfield popup
The app's DPI zoom and Lightfield style overrides need ZoomDPI, RaylibSetZoom and
the popup token, which the previously locked Kryon does not have.
2026-09-28 22:53:13 -03:00
waozi 4af6e0a8a0 Fix tests that only passed on stale local build directories
The export filename test linked the renamed layout.c, and the DPI test linked a
raylib_game.c that no longer exists and needed a RaylibSetZoom stub.
2026-09-28 22:45:11 -03:00
waozi 550a1438a0 Link storage_layout.c in the archive file test
The generated layout module was renamed; a stale build directory hid it locally.
2026-09-28 22:36:58 -03:00
waozi 367b77bb10 Link the locale lookup into the music library test
The custom audio title now comes from the locale catalog, so the test needs
LocaleText and stubs for the embedded asset table.
2026-09-28 22:28:58 -03:00
waozi fea9353fc2 Install fontTools for the glyph coverage test 2026-09-28 22:22:26 -03:00
waozi 43d04cf0dc Add a promo_habits screenshot scene with a realistic habit set
The existing habits fixtures stay untouched because tests rely on them;
promo_habits renames the extra habits and seeds a natural mix of completed
days for store and promotional captures.
2026-09-28 22:19:31 -03:00
waozi 840ad1bc50 Install SDL2 and GL headers for the tests that build raylib 2026-09-28 22:18:37 -03:00
waozi 6e7f82f8b9 Cache the second Ziran build the tests make 2026-09-28 22:12:16 -03:00
waozi 3c8ff6bad6 Build raylib before the Ziran behavior tests that link it 2026-09-28 22:12:08 -03:00
waozi 0590994947 Cache the Ziran toolchain and package sources; run tests beside the secret scan
Every job rebuilt Ziran and re-cloned Kryon, curl, sqlite, and liboqs, about three
minutes each. A shared step now caches both by the hash of ziran.lock. In CI the
tests no longer wait for the secret scan, since CI publishes nothing.
2026-09-28 22:11:46 -03:00
waozi e60af5092f Fade route changes over retained frames 2026-09-28 21:21:17 -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 34298ec39d Remove breath sound generator; keep the original breathing sounds 2026-09-28 20:24:13 -03:00
waozi 851f9ad3c0 Prove dialog placement rules and pin a Ziran with sequence laws 2026-09-28 19:44:27 -03:00
waozi 5d99473cad Prove that restoring an account queues every local change
Restore clears the upload queue and queues all local data again. Four laws
state that no local entity is left unqueued and none is invented, and a test
runs the real restore SQL on every subset of already-queued entities.
2026-09-28 19:42:58 -03:00
waozi 6d93e7fafe Prove the habit merge rule and check the real SQL against it
The merge takes the larger value for every day, so it keeps both sides,
invents nothing, and gives the same result in any order or grouping. Seven
laws prove this for every three-day sequence, and a test runs the real merge
SQL on all 729 pairs and requires the same behavior.
2026-09-28 19:40:50 -03:00
waozi 4da0d60e71 Replace legacy C tests with Ziran/Python tests
Port the practice pager test behind recording widget doubles, wire the
new behaviour tests into the Makefile and delete the C tests they replace.
2026-09-28 19:40:14 -03:00
waozi 049d82227e Port habit form, session results and sync server tests to Ziran 2026-09-28 19:35:02 -03:00
waozi d1b0652f7d Update the build laws plan for lifecycle and recovery laws 2026-09-28 19:33:32 -03:00
waozi 50067af4b7 Decide sync recovery in a checked pure policy
A response for a switched account or server is never applied, and a partial
social refresh ends on a failed required stage instead of replacing known
friends, dropping only the optional statistic that failed. Thirteen laws
prove this for every stage and flag combination.
2026-09-28 19:33:18 -03:00
waozi e915672ef4 Decide practice lifecycle behavior in a checked pure policy
Desktop focus loss cannot pause a practice, a user pause is never resumed by
the lifecycle, and mobile background transitions keep the timer only with
permission and a visible indicator. Android applies the decision and twelve
laws prove it for every input combination.
2026-09-28 19:29:45 -03:00
waozi d89b296601 Pin a Ziran toolchain that checks forall laws 2026-09-28 19:25:32 -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 7656f1a263 Port the break engine and settings key tests to Ziran and Python 2026-09-28 19:21:56 -03:00
waozi 77dd9a032b Regenerate font subsets for the current locales; port font, locale and storage path tests
The Chinese profile picture string used a character (U+50CF) that no shipped font contained. New glyph coverage and locale key tests replace the old C ones; storage path scenarios run as Ziran processes.
2026-09-28 19:19:47 -03:00
waozi 31fe8c6a8a Fix habit day-save dirty flag and date/duration padding; port the habit model test
The dirty flag was set when a day save succeeded instead of when it failed, and dates and durations lost their zero padding.
2026-09-28 19:16:48 -03:00
waozi da20d1caca Port more storage, habit and breathing tests to Ziran; fix habit record merging and the legacy path list
Habit records from a sync response are now applied together, so habits sharing a name merge with their days instead of orphaning them. LegacyPaths now matches raylib's FilePathList so the legacy scan reads the real count.
2026-09-28 19:15:10 -03:00
waozi 7afa7a38b4 Pin the Ziran toolchain to release v0.2.0 2026-09-28 19:12:22 -03:00
waozi b32cac3fa3 Translate the custom audio title in every language
An untitled custom sound or track now takes its name from the current language
instead of a fixed English default. The default is no longer saved as text, and
saves that stored the English default are read the same way.
2026-09-28 19:04:14 -03:00
waozi 8c90919acd Fix deleted sync records and long ciphertexts; add sync deletion and counter tests
Deleted encrypted records were serialised with a stray comma (invalid JSON), so deletions could not sync, and ciphertext hex was cut at 4096 characters.
2026-09-28 19:04:01 -03:00
waozi cc9745835f Fix sync and import regressions from the Ziran port; port storage tests to Ziran
Found by running the old storage tests as Ziran behaviour tests against real SQLite: encrypted habit/habit-day/session/list records were serialised without most fields (malformed JSON, so habits could not sync between devices); the remote habit apply SQL was truncated to 2048 bytes; check-in import queries lacked their SELECT prefix. Adds sync round-trip, payload, habit and import tests.
2026-09-28 19:02:49 -03:00
waozi 4421a89518 Translate the profile picture dialog title in every language 2026-09-28 19:02:45 -03:00
waozi 63425ff01d Document the untranslated-string test 2026-09-28 19:00:55 -03:00
waozi dc6114dd52 Pin the Ziran toolchain to the commit whose clean build links 2026-09-28 18:57:02 -03:00
waozi 77980e9af8 Stop tracking the leftover vendor/kryon gitlink
Dependencies are Ziran packages; a gitlink without a .gitmodules entry breaks
fresh checkouts.
2026-09-28 18:55:35 -03:00
waozi 28a4c46288 Translate remaining English strings, enforce it with a test, and fix CI
Every locale string that matched English by accident is now translated in French,
Italian, Portuguese, Indonesian, and German. tests/locale_translated_test.py
fails on any new untranslated string, and on allowlist entries that have since
been translated. The stale submodule entries are removed, since dependencies are
Ziran packages, and the toolchain pin moves to a Ziran commit whose clean
parallel build links.
2026-09-28 18:55:19 -03:00
waozi 73dac95789 Keep dropdown menus opaque in the Lightfield style 2026-09-28 18:55:17 -03:00
waozi 70087ad57b Refine shared title bars and session controls 2026-09-28 18:52:43 -03:00
waozi faf87e80f2 Replace legacy sync_account and activity_monitor C tests; fix three storage regressions they exposed
The Ziran sync_account test runs account import/export, migration, payload and account-switch behaviour against a real SQLite database pinned to a temp APP_DATA_ROOT. It found regressions from the Ziran port: the meta text buffer aliased the 64-byte user id buffer (corrupting the current user id on any meta read), the sync record key used only 32 bytes of the account private key instead of all 2560, and storage_init no longer ran the sync-enabled flag migration. The activity_monitor C test tested a Kryon C monitor that no longer exists; tests/activity_host_zi_test.sh covers the Ziran host.
2026-09-28 18:48:19 -03:00
waozi 74a8bd3b27 Update Kryon for wrapping Japanese and Chinese text 2026-09-28 18:47:24 -03:00
waozi c19a6f4436 Translate the strings that were still English in every language
About 100 strings added with recent features were English placeholders in
all eleven other languages: the audio sounds and import buttons, desktop
startup and close options, breathing patterns, sync alias, the tray menu,
weekday names, export, and the donation reminder. Each is now translated in
Czech, German, Spanish, French, Indonesian, Italian, Japanese, Korean,
Portuguese, Russian, and Chinese, reusing the app's existing wording where
the same text was already translated. Brand names stay as they are. The CJK
subset fonts are regenerated for the new characters.
2026-09-28 18:47:22 -03:00
waozi 4ed8a17398 Refresh Profile, Lists, Habits, and Practice pages 2026-09-28 18:41:38 -03:00
waozi 646caf65af Update Kryon for measuring buttons by label 2026-09-28 18:34:35 -03:00
waozi 389e374620 Size Settings buttons from their labels so translations are not cut off
The Play, Import sound, and Remove buttons had fixed widths, so a longer
translation was clipped (Russian "Воспроизвести" showed as "Воспроизвест").
Each now takes the larger of the width the layout reserved and the width
Kryon measures for its label, and the picker or title beside it gives up
the room.
2026-09-28 18:34:33 -03:00
waozi 6ff4186691 Keep Profile header above scrolling content 2026-09-28 18:27:42 -03:00
waozi 20d9a42bc5 Update Kryon for zoom and the Ziran-only sources
Kryon now provides the zoom module the app uses for Ctrl and the mouse
wheel, the DPI zoom that scales everything drawn, and font rebaking at the
scaled size.
2026-09-28 18:19:40 -03:00
waozi c60f351214 Zoom the whole app with Ctrl and the mouse wheel
Ctrl with the wheel, or Ctrl with plus, minus, or zero, now steps the UI
scale setting the Appearance slider edits, so the wheel moves the slider,
persists, and scales the entire app like a browser page zoom. Kryon's zoom
decides when the wheel means zoom and takes the wheel away from scrolling;
the frame stores the result in ui_scale_tenths (50% to 250%) and hands it to
the DPI state, where the zoom multiplies the display density: everything
drawn scales, including widget text, and the layout is the window divided by
the result, so the navigation switches between rail and bottom bar as it
does when the window gets narrower or wider. The raylib runtime rebakes
fonts at the scaled size so text stays sharp.

The Appearance scale slider only moved the navigation breakpoint since the
Ziran port; it scales the app again.

app_zoom_behavior covers the policy on source, saved IR, C, C++, and Go;
native_zoom_test drives the real binary on a private display with the wheel
and keys, checks the layout scale, and reads the saved setting.
2026-09-28 18:19:08 -03:00
waozi 2090353ca1 Improve Settings and profile visuals and Customize navigation 2026-09-28 18:00:59 -03:00
waozi 943a2923e2 Include the generated timer host header in the timer host test 2026-09-28 17:17:21 -03:00
waozi 064613d5e1 Update the audio runtime test to the native type names 2026-09-28 17:17:14 -03:00
waozi 782e59a72e Update the legacy session test for current Ziran output
Foreign imports keep their C names as asm labels now, so the test takes
the time function from the module that defines it, declares zlibVersion
itself, and links Ziran's file module that its zip code uses.
2026-09-28 17:16:58 -03:00
waozi a94e9e4b04 Let the break stats link test use the vendor SQLite constants
The generated SQLite module and the vendor header define the same
constants with different spellings, which the test's -Werror rejects.
2026-09-28 17:16:34 -03:00
waozi 6f7c22fbf0 Drop the hand-written Android timer header
The Ziran timer host generates the same declarations, and the old C
header shadowed the generated one so the timer test could not compile.
The test includes the generated host header instead.
2026-09-28 17:15:46 -03:00
waozi 64ffc4d615 Link Ziran's math module in the scroll link test and clear stale Android output
Kryon geometry calls Ziran's math module, which the scroll input link
test neither put on the module path nor linked. The Android JNI test
reused its output directory, so files from an earlier naming layout were
compiled again and failed; it now starts from an empty directory.
2026-09-28 17:11:59 -03:00
waozi 73683845c9 Bring route, settings, and language tests up to date
The route host test checks web routing but built the host without the
web define, so every route query came back empty; it also links Ziran's
byte text module now. Settings and language tests put Kryon's style
sheet modules on the module path, expect the current switch width, and
give the settings mutation test the line host its section dividers use.
2026-09-28 13:07:56 -03:00
waozi 7ca7ea8a44 Link Ziran's byte text module into text link tests
AppTextFromCString now reads the buffer in Ziran through byte_text_linux,
so the text, list screen, and raylib text input link tests build that
generated module instead of stubbing the old C host function.
2026-09-28 13:05:37 -03:00
waozi 3dd1755e90 Read bounded C text in Ziran and bring Ziran tests up to date
AppTextFromCString reached a C host for work the app's own Ziran code
already does, so every test that touched text had to stub it in C. It
now reads the bounded buffer directly and the C export forwards to it.

Tests failed on current Kryon and Ziran: Kryon geometry imports Ziran's
math module, which several test scripts did not put on the module path,
enum members now need their using declaration, and the device policy
test lacked the font metric host its text measurement reaches.
2026-09-28 12:57:10 -03:00
waozi 68a4976fff Match the sessions tile icon to the other profile tiles
The sessions tile tinted its icon with the link color, a dark navy in
the app themes, so it showed as a black circle beside the light accent
icons of the neighbouring tiles.
2026-09-28 12:50:21 -03:00
waozi acad7c950e Fill in counts in sync and data messages
Three messages used %lld, which the app's formatters do not substitute:
clearing data announced Deleted %lld sessions, upload progress appended
the count after the raw placeholder, and sync status showed a bare
number with no label. They use %d now, the queued count and deleted
count are formatted into their messages, and Italian round labels get
back the round number and time they had lost. The locale test now also
checks that each translation keeps its English placeholders.
2026-09-28 12:49:19 -03:00
waozi 651872bbcf Tidy the break overlay layout
Practice shortcuts measured their labels at one size and drew them at
another, so the labels spilled out of their chips. The title, countdown,
and notes were centred by widths measured with the wrong font, and each
action button treated the start of its slot as its centre, leaving them
misaligned and uneven. Text now centres in the panel, the actions share
one width, and the shortcuts are rounded chips with fitting labels.
2026-09-28 12:46:39 -03:00
waozi 0eaa440c47 Show the mood faces on the results check-in buttons
The faces were drawn immediately while their buttons were queued, so
every button painted over its face and the How did you feel? choices
were blank. The faces now use queued paint and land on top.
2026-09-28 12:43:45 -03:00
waozi 2836bf2c33 Stop habit statistics from crashing and add missing labels
Opening a habit's statistics aborted the app when checked-in sessions
had no before-mood, energy, or stress rating, because the averages
divided by a zero count. Averages now skip empty groups and keep their
fraction instead of truncating to whole numbers.

The habit edit button and the sync review dialog showed raw locale keys;
they are now translated in every locale, along with the sync review
message, and a test checks that every key the app uses exists in every
locale. Habit statistics and calendar screenshot scenes now select a
habit so they show those views.
2026-09-28 12:42:22 -03:00
waozi db918f83a0 Show the practice manual and settings opened from How to
With the practice manual or configuration modal open, the practice page
also drew the same manual under it, so its widgets repeated their keys
and the whole frame was rejected, leaving a blank screen. Those modals
now cover the page like the start speed editor, and rejected frames log
the widget key and kind that caused them.
2026-09-28 12:35:58 -03:00
waozi 80d4250486 Match cast asset table entries in the embedded image check
The asset table now writes each path behind a byte-pointer cast, so the
check reported every embedded image as missing.
2026-09-28 12:30:13 -03:00
waozi dfda85d7b0 Give build gate tests a complete scratch project
The version and sync-retry gate tests linked Ziran packages into
build/packages without creating it and left out the package manifest
and mk/sync.mk, so Make stopped before reaching the gate being tested.
2026-09-28 12:29:12 -03:00
waozi 3dc2166f51 Group break settings into sections
Timer status with Rest break now, general break options, each timer, and
the weekly summary each sit in their own section with label-beside-control
rows, instead of one long stack of floating headers and controls.
2026-09-28 12:25:15 -03:00
waozi 622cc257e6 Group audio settings into sections
Audio settings sit in Output, Sounds, and Music sections. Each sound cue
is one row with its picker, Play, and Import instead of a picker and a
full-width import button per cue, and music tracks use the same list row.
Preview buttons say Play or Stop rather than the practice start label,
soft remove buttons use a light danger tint instead of a dark block,
and the pause label is translated in every locale.
2026-09-28 12:23:23 -03:00
waozi bca7d9d70b Center the about text and add audio and breaks screenshot scenes 2026-09-28 12:18:03 -03:00
waozi 7c038979b5 Polish first-run guide focus and navigation 2026-09-28 12:13:14 -03:00
waozi 3b248b6a9f Group appearance settings and show the mode and scale labels
Appearance settings sit in Theme and Layout sections with each label
beside its control. The theme mode picker lost its Follow device label
and the scale factor never showed its percentage because both texts
were formatted into a stack buffer that was gone by paint time; they
now live in frame text. Customize Nav is a regular row action instead
of a large accent button.
2026-09-28 11:59:53 -03:00
waozi 0a99053f7d Group notification settings into sections
Notification switches and the test button share a card, and each
reminder is one row with its switch, practice, time, and remove action
instead of an unlabeled switch floating under a full-width picker.
Narrow screens split a reminder over two lines.
2026-09-28 11:53:07 -03:00
waozi cc67584fa5 Group device settings into titled sections
Device settings were a flat stack of floating labels, full-width
dropdowns, and a lone checkbox. They now sit in Language, Display,
Window, and Playback sections with each label beside its control, a
divider between rows, and switches for every on/off setting. The
language picker is disabled while the system language is used, and
switch knobs stay white on every color theme.
2026-09-28 11:49:00 -03:00
waozi c7a8a84e76 Rebuild every Ziran tool together
Only zi2c and zi2zir were rebuilt when Ziran changed, so tests that run
the whole toolchain mixed a new zi2zir with an old ziran and failed with
an unsupported ZIR version.
2026-09-28 11:49:00 -03:00
waozi d387bd0ad0 Keep Wim Hof session progress active through exit prompt 2026-09-28 11:45:18 -03:00
waozi 7ed6a3fb34 Compile native sources to reusable objects in parallel
The native build handed every generated module, SQLite, and the embedded
assets to one compiler call and wiped and re-touched the generated tree
first, so any change recompiled everything on one core. Generation now
updates the tree in place and prunes stale files, and each source builds
its own object with header dependencies, so rebuilds recompile only
what changed and use every core.
2026-09-28 11:21:32 -03:00
waozi 1e0107549f Fix Customize Nav click carryover 2026-09-28 03:00:14 -03:00
waozi 4edc448e5b Enlarge the desktop profile avatar 2026-09-28 02:38:37 -03:00
waozi 7cc20d9755 Fix habit summary and expanded card bounds 2026-09-28 02:01:56 -03:00
waozi 7e01cfaeeb Fix habit expansion and compact readability 2026-09-28 01:52:26 -03:00
waozi 466af21c1f Use Kryon's tray instead of a private copy
The GTK/AppIndicator and Win32 tray backends moved into Kryon as the Ziran
`tray` module. Inbe keeps only its menu, actions, and status text in
desktop_tray.zi. Kryon picks StatusNotifierItem or a GTK status icon at
runtime and loads GTK only when the tray opens, so the build no longer
probes pkg-config for AppIndicator or links it.

On desktops with an AppIndicator host (GNOME, KDE, Xfce), closing the
window now hides Inner Breeze to the tray: the tray reports itself visible
once a StatusNotifierWatcher accepts it, where it previously never did.
2026-09-28 00:56:19 -03:00
waozi fe47ff476a Pin Kryon focused library build 2026-09-28 00:45:52 -03:00
waozi d4590fc80e Use focused Ziran tools and pin Kryon visual fixes 2026-09-28 00:42:47 -03:00
waozi 849f4f221e Pin Ziran text borrow source tracking 2026-09-27 21:11:25 -03:00
waozi fb09c807ff Let Cancel close the exit-session dialog
Each branch declared a new modal_result with :=, shadowing the one checked
after the branches, so the Cancel result was always read as zero and the
dialog stayed open. Assign the outer result instead.
2026-09-27 20:31:00 -03:00
waozi 560cce93fa Use field-aware Ziran text borrow checking 2026-09-27 20:26:37 -03:00
waozi a29bc6ed06 Draw the profile row arrows and dashes
The UI font subset is built from locale text and input_common.txt, but the
profile rows use ›, the leaderboard shows — for missing averages, and practice
status joins parts with ·. Add them to the subset corpus, regenerate the
fonts, and update Kryon so the raylib backend loads glyphs beyond ASCII.
2026-09-27 17:39:25 -03:00
waozi 2e23098510 Show real icons on list and friend actions
The Ziran port replaced the list edit and delete icons with ✎ and × text,
which the UI font cannot draw, and pointed the friend removal icon at a
language flag. Use Kryon's IconEdit and IconTrash, and update Kryon so
icon-only buttons and modal action labels draw again.
2026-09-27 17:25:38 -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 4102724840 Restore the practice banner fade
The banner image is now queued paint, so the fade drawn directly with raylib
ended up underneath it and the banner stopped with a hard edge. Queue the fade
and the title background after the image with Kryon's vertical gradient paint.
2026-09-27 16:52:13 -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
waozi 4af8bc7bc2 Keep selected navigation readable in dark themes
Style packs pair their own accent-soft background with accent text. Inbe
replaces accent with the theme button color, so selected soft buttons in the
navigation rail rendered dark text on a dark background. Use the theme accent
and its computed ink instead, and give cards the themed surface.
2026-09-27 15:40:53 -03:00
waozi b5356aaac7 Port Inbe screens, storage, and platform hosts to Ziran
Replace the remaining .kry and C application sources with Ziran modules,
move vendored dependencies to their current pointers, and add Ziran tests for
the ported hosts and policies.
2026-09-27 15:40:52 -03:00
waozi 0287ec2c42 Advance Ziran imported global type resolution 2026-09-26 22:44:25 -03:00
waozi 60a7ea95d8 Advance Ziran for platform-specific app generation 2026-09-26 22:25:01 -03:00
waozi 70d6ebd5d1 Update Kryon point collision surface 2026-09-26 21:48:27 -03:00
waozi 0051b8606d Update Kryon window and pointer surface 2026-09-26 21:00:12 -03:00
waozi 8105d9c2a1 Update Kryon text view fixes 2026-09-26 20:44:03 -03:00
waozi 30b7fe49f7 Update Kryon screenshot and DPI Ziran surface 2026-09-26 20:21:20 -03:00
waozi 6cae610826 Update Kryon Ziran raylib game surface 2026-09-26 20:11:38 -03:00
waozi c33e306696 Update Kryon modular packages and libdraw host 2026-09-26 17:48:41 -03:00
waozi bb2ca352c0 Own guide and locale policy in Inbe 2026-09-26 16:11:26 -03:00
waozi a47e9659f6 Advance Ziran compiler diagnostics for migration 2026-09-26 15:58:21 -03:00
waozi 90d70c554f Pin vendor/ziran to e586ff5 for portable array-literal file-scope initializers 2026-09-25 23:57:32 -03:00
waozi 9518791a68 Pin vendor/kryon to verified kryon HEAD 1d916bc2
Move the clean submodule pointer to the upstream kryon revision that
passes its full make test gate (89/89 plus header/source/project/
typeface checks). The library builds through inbe's kryon-library-check
and the scroll-input link test passes against the new pointer. Commit
only the pointer; concurrent source migration is untouched.
2026-09-25 21:04:09 -03:00
waozi 447ca785fb Move habit screen contracts into Kry modules 2026-09-22 17:52:12 -03:00
waozi 413e944db0 Ignore new output artifacts 2026-09-22 17:42:25 -03:00
waozi 49544e7deb Import Kry modules directly for practice interfaces 2026-09-22 17:37:52 -03:00
waozi ad0f17ebb7 Fix selected color themes in packaged builds 2026-09-22 11:21:12 -03:00
waozi 85330a2390 Remove the completed kry-migration tracking doc
The migration it tracked is complete: vendor/kryon is at master, app colors
read StyleTokenColor through the app_style bridge, and the native build and
contract gates pass. The stale in-flight pointers (8f1a8608, per-area
remaining-work tables) documented a state twenty commits old.
2026-09-21 15:47:05 -03:00
waozi c9904167b2 Bump Kryon: use the tracked profile picker types and field-order fix 2026-09-21 15:46:06 -03:00
waozi b8ad52294b Show plain numbers while editing rounds 2026-09-21 12:48:19 -03:00
waozi 39a1be8b24 Center session detail text within rows 2026-09-21 12:45:35 -03:00
waozi 9130be924f Clarify session rounds and editing 2026-09-21 12:40:15 -03:00
waozi f7eec1888c Retry transient Emscripten zlib port downloads 2026-09-21 12:02:40 -03:00
waozi 8e38e2a6f4 Keep release appcast tool with Inbe 2026-09-21 11:46:14 -03:00
waozi 3575ba97f0 Exclude unused terminal clipboard protocol from Inbe builds 2026-09-21 11:23:33 -03:00
waozi 4479ef83e2 Keep session origin on habit day marks only 2026-09-21 10:55:11 -03:00
waozi 0e17c333d5 Keep new style tokens and Habits styling in generated arrays 2026-09-21 10:38:07 -03:00
waozi f4e3522523 Migrate app colors onto StyleTokenColor
Replace every legacy theme getter outside the style bridge with
StyleTokenColor reads against the tokens app_style.kry already registers:
GetThemeBackground->canvas, Text->text, MutedText->muted, Surface->surface,
SurfaceAlt->panel, Button->accent, ButtonHover->accent-hover,
ButtonText->accent-ink, Border->border, Circle->accent, plus new Link and Icon
tokens added to the bridge table (45->47). GetTheme* calls now live only in
app_style.kry (the bridge), the theme settings screen's catalog listing
(GetThemeLabel), one GetThemeMetrics, and GetThemeReadableText (a pure
contrast function, not palette state).

make native, no-vendor-edits, clean-text-api-check, and button-api-check
pass; an xvfb screenshot smoke shows the full palette rendering (292 sampled
colors, not black). lists-ui-test fails identically at HEAD before this
change (pre-existing). Visual parity review of the mapped tokens is still
pending.
2026-09-21 10:37:36 -03:00
waozi bfd8d552d2 Update navigation test stub for style tokens 2026-09-21 10:37:01 -03:00
waozi e3cbeda015 Distinguish linked session progress in Habits 2026-09-21 10:35:31 -03:00
waozi 1c242eac02 Bump Kryon for the StyleTokenColor getter 2026-09-21 10:26:26 -03:00
waozi 3220a032df Show synchronized Lists and items on the account screen 2026-09-21 10:11:28 -03:00
waozi 7b6a7aa9db Translate sync server label in every locale 2026-09-21 10:04:05 -03:00
waozi c36d80a247 Bump Kryon for the native-window props declarations 2026-09-21 10:03:29 -03:00
waozi eedcbdc38e Fix Android icon asset generation with current Kryon 2026-09-21 10:00:32 -03:00
waozi d1307b06f4 Release 2.0.4 with complete account and Lists sync 2026-09-21 09:59:08 -03:00
waozi 61f6e2ca41 Bump Kryon for the app host props declarations 2026-09-21 09:57:01 -03:00
waozi 43d9fabfbc Bump Kryon for the key props declaration 2026-09-21 03:45:48 -03:00
waozi 48ef3929fc Bump Kryon for the icon props declarations 2026-09-21 03:40:23 -03:00
waozi 02774c652c Bump Kryon for the style-pack props declarations 2026-09-21 03:30:23 -03:00
waozi 8c692e51e5 Bump Kryon for the locale props declarations 2026-09-21 03:16:51 -03:00
waozi 00faaf7e93 Bump Kryon for the node host props declarations 2026-09-21 03:06:42 -03:00
waozi ac8400e57c Bump Kryon for the text-layout props declarations 2026-09-21 03:02:00 -03:00
waozi 6eedd34bb0 Bump Kryon for the orphaned ui_inspect cleanup 2026-09-21 02:56:51 -03:00
waozi 00603e09bb Bump Kryon for the app-shell props declarations 2026-09-21 02:49:57 -03:00
waozi 9c3cf327b2 Bump Kryon for the tree props declarations 2026-09-21 02:42:13 -03:00
waozi ebcb99e944 Bump Kryon for the interface props declarations and unified focus symbols
Take the interface host declared in runtime/core_props.kry and follow the
KryonSetFocus/KryonGetFocus rename in the elist screen and its test. The Go
API keeps its SetFocus spelling. make native passes against 790159020.
2026-09-21 02:29:03 -03:00
waozi ca763d9183 Bump Kryon for the controls props declarations 2026-09-21 02:15:54 -03:00
waozi c89f5e9b09 Bump Kryon for the frame host props declarations 2026-09-21 02:07:44 -03:00
waozi 1d373214f2 Bump Kryon for the capability and text-backend props declarations 2026-09-21 01:52:00 -03:00
waozi ca6747894a Bump Kryon for the instance-state props declaration 2026-09-21 01:42:25 -03:00
waozi 7337178a2b Bump Kryon for the text and profile props declarations 2026-09-21 01:35:20 -03:00
waozi c238bc5bd3 Bump Kryon for the scaling, clip, and layout props declarations 2026-09-21 01:25:20 -03:00
waozi 197fc01897 Bump Kryon for the page host props declarations 2026-09-21 01:18:05 -03:00
waozi 68622fbab8 Bump Kryon for node-registry and inspector props declarations 2026-09-21 01:09:18 -03:00
waozi 49f929c3f4 Bump Kryon for props-header host declarations
Take the reorder, swipe, toast, transition, nav, and scrollbar hosts declared
in their tracked props headers, which deletes the six handwritten shim headers.
Inbe's SwipeGesture record now imports ui_swipe_props.generated.h directly.
make native passes against cf152103; the vendor tree stays clean.
2026-09-21 00:56:11 -03:00
waozi 61f016831d Bump Kryon for the shim header cleanup 2026-09-21 00:29:57 -03:00
waozi 90fbe0f049 Clarify sync account actions and empty-state wording
Rename the sync account onboarding buttons and status so the two
actions are unambiguous:

- "Create Account" -> "Create New Account"
- "Import .key File" -> "Import Account Key"
- "Create an account before connecting" -> "No account connected yet"
- "Create account or import key" -> "Create a new account or import an existing key"

Updated across all 12 locales with real translations, no English
placeholders.
2026-09-21 00:23:29 -03:00
waozi 9b25bd887d Bump Kryon for shared runtime color math
Move the LightenColor/DarkenColor host shim onto Kryon's shared runtime and take
the k2c re-entrant runtime-parsing fix. Inbe's DarkenColor/LightenColor callers
resolve through kryon.h as before. make native passes; vendor stays clean.
2026-09-21 00:23:05 -03:00
waozi 6764286c22 Bump Kryon for bounded file dialog portal deadline
Pulls kryon master 60b59a9 ("file_dialog: bound portal deadline and
fall back to external helpers") which prevents the xdg-desktop-portal
file chooser from blocking the main thread forever.  When the portal
window cannot be associated with the parent the call returns after 15 s
and falls through to the installed external helper (zenity / kdialog /
yad).
2026-09-21 00:06:58 -03:00
waozi 8cbb34a62c Log sync key import traces at warning level
Keep the temporary sync_import_key_trace scene's diagnostics visible in the app
log while the key import path is traced.
2026-09-20 23:58:30 -03:00
waozi 33082cebf4 Record the committed Kryon pointer and gate results 2026-09-20 23:57:53 -03:00
waozi 64c1b6b7db Migrate Inbe's UI onto the .kry Kryon runtime
Author the remaining app UI, platform hosts, and storage helpers in .kry,
generate Kryon's src/ui modules and headers in the Inbe build, and follow the
migrated Kryon surface (generated props ABI and Button ImageProps). Move the
Plan 9 app loop and music fallback, Android lifecycle/share titles, desktop
tray, screenshots, and style tokens to their .kry owners, and delete the C
owners they replace.

Stop background execution whenever no visible indicator is present: the
desktop tray, Chrome worker, and Android foreground service now confirm their
indicator before continuing. Report gates: make native, no-vendor-edits,
clean-text-api-check, button-api-check, version-test, proof-test, and
sync-recovery-test pass.

vendor/kryon moves to 8f1a8608.
2026-09-20 23:56:13 -03:00
waozi 7e84a69098 Release 2.0.3 with custom sync server support in web builds 2026-09-20 20:09:07 -03:00
waozi 727eaa1f72 Release Inbe 2.0.2 2026-09-20 19:15:20 -03:00
waozi 0d1a7c12f8 Save habit editor polish, sync probe, and design captures 2026-09-20 18:24:58 -03:00
waozi e50f8d1e7b Make browser swipe smoke resilient to slow frames 2026-09-20 17:57:10 -03:00
waozi 0024cd84ef Reset navigation once for Lists layout update 2026-09-20 17:36:32 -03:00
waozi 2c673ada7f Stabilize carousel swipes in web smoke test 2026-09-20 17:28:42 -03:00
waozi 5efa30658b Keep Node available in web CI and site builds 2026-09-20 17:04:48 -03:00
waozi 35f7807d40 Align web loading and icons with meditation logo 2026-09-20 16:50:56 -03:00
waozi f03acd1d06 Pin CI sync server to device registration support 2026-09-20 16:27:17 -03:00
waozi ba0c1efa73 Clarify device theme and interface scale labels 2026-09-20 16:05:23 -03:00
waozi 060f7dbc9a Keep practice images neutral across themes 2026-09-20 15:58:44 -03:00
waozi b862f62ec3 Use Kryon navigation layout and simplify settings rows 2026-09-20 12:52:20 -03:00
waozi 9e9d0c49cc Fix canvas artifacts and center meditation circle labels 2026-09-20 11:40:08 -03:00
waozi 43ab976379 Keep canvas guide aligned at scaled viewports 2026-09-20 11:15:47 -03:00
waozi 7c1c87ec7a Keep Node executable available in web release jobs 2026-09-20 11:00:56 -03:00
waozi ae852f168e Bypass proxies in local sync recovery test 2026-09-20 10:36:06 -03:00
waozi b253620fb7 Check current Inbe embedded assets in CI 2026-09-20 10:24:56 -03:00
waozi dee24910bd Migrate legacy navigation once and fix clean CI builds 2026-09-20 10:12:56 -03:00
waozi d5fdb4ec28 Fetch Kryon for CI version checks 2026-09-20 10:03:56 -03:00
waozi bc29d46e53 Release Inbe 2.0.0 with reliable profile recovery 2026-09-20 10:02:47 -03:00
waozi 7ce52bd753 Redesign session results around the round chart 2026-09-19 21:06:01 -03:00
waozi dd62b60496 Smooth Customize preview and correct scrollbar thumb 2026-09-19 20:03:11 -03:00
waozi f47c5c1345 Fix Customize modal and scrollbar behavior 2026-09-19 19:25:43 -03:00
waozi 5c3b4945ee Fix Customize scroll interactions 2026-09-19 19:10:01 -03:00
waozi 7224e76310 Fix Customize scrolling on Android 2026-09-19 18:46:50 -03:00
waozi 2467615bb3 Fix WHM customize layout on phones 2026-09-19 17:57:28 -03:00
waozi 0350f52640 Fix Customize scrolling and action placement 2026-09-19 17:24:58 -03:00
waozi d793416c61 Prepare Inner Breeze 2.0.0 release 2026-09-19 17:14:05 -03:00
waozi f390f6f587 Polish Customize and About support screens 2026-09-19 17:04:21 -03:00
waozi d924f4125f Keep Settings layout consistent across breakpoints 2026-09-19 16:38:00 -03:00
waozi 6ec903d67e Resolve responsive navigation from the full viewport before laying out content 2026-09-19 16:15:19 -03:00
waozi 83b08d2d3b Anchor practice controls above navigation and preserve the image fade 2026-09-19 16:09:17 -03:00
waozi cba84c24b0 Add breathing room above list bottom navigation 2026-09-19 15:58:05 -03:00
waozi babf23e499 Unify settings navigation and preserve empty lists and account identity 2026-09-19 15:49:04 -03:00
waozi c45d5db712 Center list text and hide completed items behind a bottom toggle 2026-09-19 15:28:43 -03:00
waozi 336e4e95ee Use the shared Kryon scale slider with readable values and step controls 2026-09-19 15:09:24 -03:00
waozi 30a9a56b37 Enable Android material rendering cache to reduce UI lag 2026-09-19 14:13:11 -03:00
waozi c6592f670f Use a pale blue background for masked app icons 2026-09-19 13:13:27 -03:00
waozi 4380b0211b Update translated practice guidance and inherit arrow button styling 2026-09-19 13:13:14 -03:00
waozi 5b5572e822 Fix guide placement and keep glow specific to Lightfield 2026-09-19 13:12:26 -03:00
waozi f13ad7eae6 Prove sync retry policy with Bend and enforce build contracts 2026-09-19 12:18:05 -03:00
waozi 7a88e3df9e Move Inbe application logic to Kryon and refresh the app
Move product behavior, app types, storage, audio, and tray logic into .kry modules. Use shared Kryon widgets, layout policies, asset-backed images, and app KSS styling with a smaller native boundary.

Include the pending navigation, sync recovery, localization, launcher icon, design asset, and 2.0.0 release metadata updates. Add version consistency checks and improve browser persistence and interaction validation.
2026-09-19 11:58:09 -03:00
waozi ad2bb49238 Use Kryon with mandatory compiler laws 2026-09-19 11:51:52 -03:00
waozi 2cbad01e93 Update Kryon with shared flex alignment 2026-09-19 11:35:03 -03:00
waozi c284ce8274 Read the canonical version when checking site download links 2026-09-19 11:34:42 -03:00
waozi 79154be186 Preserve the released meditation audio URL in site builds 2026-09-19 11:34:26 -03:00
waozi b6fcfc21b7 Package meditation audio for website-only deployments 2026-09-19 11:31:13 -03:00
waozi 91a6e99df2 Allow website updates to reuse the published Inbe web app 2026-09-19 11:29:07 -03:00
waozi 2b44df84c9 Give Inner Breeze an illustrated editorial website 2026-09-19 11:21:19 -03:00
waozi c810e52642 Update Kryon renderer smoke fixes 2026-09-19 10:56:31 -03:00
waozi 6647f5fd8e Update Kryon generated style startup 2026-09-19 01:58:15 -03:00
waozi acb2fc9b3b Update Kryon release table emitter 2026-09-19 01:53:30 -03:00
waozi a965e5a6d4 Update Kryon release table gate 2026-09-19 01:45:15 -03:00
waozi fb3b1118e0 Update Kryon backend degradation reports 2026-09-19 01:39:37 -03:00
waozi 5784b9a7b9 Update Kryon native KSS source trace 2026-09-19 01:37:05 -03:00
waozi d5330f3973 Update Kryon Go style trace API 2026-09-19 01:33:53 -03:00
waozi 8773a00523 Update Kryon KSS host service ledger 2026-09-19 01:16:02 -03:00
waozi ed5d4875be Update Kryon KSS diagnostics coverage 2026-09-19 01:12:58 -03:00
waozi cd3cfe5f3f Update Kryon no-style render coverage 2026-09-19 01:06:54 -03:00
waozi 4c4bb6979d Update Kryon KSS diagnostics coverage 2026-09-19 01:03:42 -03:00
waozi 723fda6258 Update Kryon interaction policy coverage 2026-09-19 01:00:19 -03:00
waozi d13060afec Update Kryon typed style table checks 2026-09-19 00:54:42 -03:00
waozi d13eb27613 Update Kryon KSS formatter reflow 2026-09-19 00:49:15 -03:00
waozi f07bb2c3ac Update Kryon bridge ledger gate 2026-09-19 00:43:10 -03:00
waozi 58364d8efb Update Kryon style trace support 2026-09-19 00:40:06 -03:00
waozi af9b733f1d Update Kryon Go frame presence 2026-09-19 00:35:12 -03:00
waozi 1267cc9c92 Update Kryon active spec gates 2026-09-19 00:30:02 -03:00
waozi 1fd6be3618 Update Kryon Go prop shadowing 2026-09-19 00:22:21 -03:00
waozi 5cf75b5255 Update Kryon style law gates 2026-09-19 00:13:47 -03:00
waozi 4cd969e49c Quiet frame pacing timer logs 2026-09-19 00:03:13 -03:00
waozi 82aaa8e4b3 Use classic Kryon style pack 2026-09-19 00:02:13 -03:00
waozi 7dcaa9987e Update Kryon downstream scan 2026-09-18 23:53:20 -03:00
waozi f4fec780c2 Update Kryon downstream inventory 2026-09-18 23:50:43 -03:00
waozi b097ccc5df Smooth frame pacing activity grace 2026-09-18 23:49:28 -03:00
waozi 9e1df485bd Update Kryon ktrem recovery ledger 2026-09-18 23:48:46 -03:00
waozi b14f7cab65 Update Kryon matrix evidence ledger 2026-09-18 23:44:48 -03:00
waozi 01273e63b5 Update Kryon submodule 2026-09-18 23:43:25 -03:00
waozi de29b9ec3c Update Kryon style evidence ledger 2026-09-18 23:39:50 -03:00
waozi 0d6f18475e Update Kryon paused web evidence 2026-09-18 23:37:49 -03:00
waozi a6e15595ec Update Kryon tools package evidence 2026-09-18 23:35:21 -03:00
waozi c1f1462331 Update Kryon plan coverage ledger 2026-09-18 23:33:46 -03:00
waozi fe9600fe8b Update Kryon ownership ledger 2026-09-18 23:31:16 -03:00
waozi fa4be7a4b2 Update Kryon paused target docs 2026-09-18 23:27:15 -03:00
waozi 20ae8b4eca Update Kryon modal action layout 2026-09-18 23:18:19 -03:00
waozi 61c0d0ea2a Update Kryon paused web target 2026-09-18 23:09:17 -03:00
waozi b13fa53bd9 Update Kryon popup early exit parity 2026-09-18 23:00:07 -03:00
waozi ab21a5ee5d Update Kryon popup shortcut parity 2026-09-18 22:58:42 -03:00
waozi 46180bdcdd Update Kryon popup drag parity 2026-09-18 22:52:55 -03:00
waozi 45413e3bff Update Kryon context popup parity 2026-09-18 22:50:20 -03:00
waozi e9a4c56fe3 Update Kryon modal capture parity 2026-09-18 22:48:19 -03:00
waozi 4fbfa6f30f Update Kryon tree keyboard parity 2026-09-18 22:46:18 -03:00
waozi aaaf626ab5 Update Kryon rotated table resize parity 2026-09-18 22:42:06 -03:00
waozi 064fae5af0 Update Kryon dropdown edge parity 2026-09-18 22:40:04 -03:00
waozi ca8b1677f6 Update Kryon dropdown keyboard parity 2026-09-18 22:32:23 -03:00
waozi 9c8c06d1ee Update Kryon rotated table parity 2026-09-18 22:25:18 -03:00
waozi 47b529a894 Update Kryon table cell parity 2026-09-18 22:21:49 -03:00
waozi 48550f0e1c Update Kryon dropdown overlay parity 2026-09-18 22:14:45 -03:00
waozi 33cd6e3157 Update Kryon scroll offsets 2026-09-18 22:11:24 -03:00
waozi a7fef0f52b Update Kryon scroll parity 2026-09-18 22:08:50 -03:00
waozi 901805b7d3 Update Kryon composed popup parity 2026-09-18 22:00:03 -03:00
waozi 91c0cdf370 Update Kryon menu parity 2026-09-18 21:53:48 -03:00
waozi 98bb53259f Update Kryon drag drop parity 2026-09-18 21:41:39 -03:00
waozi 9466051b66 Update Kryon web input driver 2026-09-18 21:37:58 -03:00
waozi f4c9eda118 Update Kryon parity baseline 2026-09-18 21:33:39 -03:00
waozi 4051049fd7 Update Kryon runtime 2026-09-18 21:29:13 -03:00
waozi 8dacb6789a Fix desktop close-window Xvfb harness 2026-09-18 21:17:22 -03:00
waozi 99105c8655 Update vendored Kryon 2026-09-18 20:28:35 -03:00
waozi 111e0a56db Update vendored Kryon 2026-09-18 20:13:08 -03:00
waozi 6f12159e1a Update vendored Kryon 2026-09-18 20:00:49 -03:00
waozi deffd1cdba Update vendored Kryon 2026-09-18 18:56:14 -03:00
waozi 7e76bc8a14 Restore meditation circle and close prompt text 2026-09-18 18:06:36 -03:00
waozi 5417759974 Update Kryon for standalone generated array indexing 2026-09-15 18:24:56 -03:00
waozi 5cc65ceb82 Remove superseded C profile picture picker 2026-09-15 18:21:48 -03:00
waozi 258e60265f Use scrollable Kry picker with cat turtle and moon avatars 2026-09-15 18:21:36 -03:00
waozi 4ebb3b2dab Center Settings row labels and chevrons with their icons 2026-09-15 16:04:07 -03:00
waozi c8a5d216bb Update Kryon to fix transparent guide and modal panels 2026-09-15 15:52:14 -03:00
waozi 6be736192f Follow Kryon master after styling cleanup 2026-09-15 12:22:16 -03:00
waozi 781b1536ca Remove Vanilla from Appearance and default to Material 2026-09-15 12:21:01 -03:00
waozi 3d7445c0ca Update Kryon for current text input and focus fixes 2026-09-15 12:13:13 -03:00
waozi 482ca0cd46 Open the Settings overview from primary navigation 2026-09-15 10:12:10 -03:00
waozi 82ea299405 Update Kryon style rollout status 2026-09-15 10:03:36 -03:00
waozi cb09108156 Fix navigation and add themed style choices in Appearance 2026-09-15 10:03:10 -03:00
waozi 6e7b9884f6 Update Kryon keyboard policy and canonical runtime checks 2026-09-14 17:44:24 -03:00
waozi e79b6b9596 Update Kryon and finish the canonical widget migration
Bump vendor/kryon to master (651a82cda) and complete the move to the canonical Kryon widget surface with no legacy compatibility:

- Drop removed per-widget visual props (font/color/style); typography and colors resolve from the active Material style pack (new src/app/app_style.kry).

- Replace removed helpers with app-owned metrics in app.h (AppFontSize, AppTextWidth, AppParagraphHeight, AppTitleBarHeight, AppFitFontSize...).

- Convert imperative scroll scaffolds to declarative Scroll blocks; modals keep an app-owned clamped scroll.

- Icons resolve from embedded sheets via icon_type instead of app-loaded textures.

- Own the composed chrome widgets in src/app/app_widgets.c (modal frame, guide overlay, icon slider popup, bottom icon row, profile picture picker, reorder affordances) on public widgets only.

- Remove the theme_style setting and its persistence key; swipe/image enum names use canonical CamelCase.

- Test stubs updated to the current API; bottom-nav expectations track the Material nav height.
2026-09-14 15:58:21 -03:00
waozi 460ddbf847 Update Kryon icon size names 2026-09-12 00:22:38 -03:00
waozi 1a589b4ff9 Update Kryon swipe names 2026-09-12 00:21:44 -03:00
waozi 547fcd754f Update Kryon icon helpers 2026-09-12 00:19:12 -03:00
waozi c9aec322ae Update Kryon icon names 2026-09-12 00:17:02 -03:00
waozi a1db6006ac Update Kryon transition names 2026-09-12 00:13:22 -03:00
waozi 53393b482f Update Kryon semantic names 2026-09-12 00:10:23 -03:00
waozi de34680ee2 Document canonical Kryon image usage 2026-09-12 00:06:48 -03:00
waozi e10e3e716e Update Kryon checkbox rendering 2026-09-11 13:15:09 -03:00
waozi 0eea38fdd0 Update Kryon compact navigation bar 2026-09-11 00:53:01 -03:00
waozi 0238933e51 Update Kryon navigation bar API 2026-09-11 00:41:41 -03:00
waozi 7f719c7631 Update Kryon navigation runtime 2026-09-11 00:22:20 -03:00
waozi 3bf4288f64 Update Kryon toggle runtime 2026-09-11 00:17:02 -03:00
waozi a033748d87 Update Kryon toggle focus 2026-09-11 00:06:42 -03:00
waozi ed9ca9ec46 Use declarative social icons 2026-09-11 00:03:40 -03:00
waozi 8436b66d6b Use declarative Card blocks 2026-09-10 22:18:37 -03:00
waozi 9ed8b5e1f5 Adopt declarative Kryon Card API 2026-09-10 21:51:48 -03:00
waozi f9dd0209c4 Update Kryon vendor pointer 2026-09-10 14:39:38 -03:00
waozi d45d224f91 Keep frame pacing active for text input 2026-09-10 14:34:32 -03:00
waozi 08517097e7 Reset habit child routes on navigation 2026-09-10 14:19:20 -03:00
waozi c171836e86 Make habit expansion explicit 2026-09-10 14:12:32 -03:00
waozi 14dc8f46f2 Use Kryon Grid for habit cards 2026-09-10 13:54:38 -03:00
waozi 124223901e Fix habit day clicks and update Kryon APIs 2026-09-10 13:24:14 -03:00
waozi 1ee1e6223c Stop per-frame update and tray work 2026-09-10 12:54:53 -03:00
waozi a8bfce26a9 Refine navigation and habit card controls 2026-09-10 12:48:27 -03:00
waozi 78df44e946 Build Inbe native artifacts under the Inbe name 2026-09-10 11:38:33 -03:00
waozi 1b0f0f301a Use Kryon's consolidated modern dropdown 2026-09-10 11:30:15 -03:00
waozi 5f8492f8f7 Support navigation placement and collapsed rails with fitted guide images 2026-09-10 00:53:12 -03:00
waozi ef56c59207 Give desktop navigation room and use standard carousel buttons 2026-09-10 00:04:13 -03:00
waozi 8c7aaa4183 Remove the secondary task input from Lists 2026-09-09 23:18:21 -03:00
waozi 54b0144903 Inline thin button and toggle forwarding helpers 2026-09-09 23:11:33 -03:00
waozi ee3cf84e8d Use standard Kryon buttons throughout Inbe and show lists as tabs 2026-09-09 22:04:05 -03:00
waozi 6d67c320d4 Restore button interactions and keep desktop practices running unfocused 2026-09-09 21:16:56 -03:00
waozi 15715808b2 Update Kryon and build shared widget policies from canonical sources 2026-09-09 19:44:05 -03:00
waozi dbde235112 Port Android build to kryon master control styling
Bump vendor/kryon to k2kir 737ac56 and adapt inbe to the API it
brings: kryon's runtime button policy now ships as Kry modules that
the Android CMake build transpiles and links, ButtonStyle gave way to
ButtonTone/ButtonEmphasis, UIStyleTokens became ThemeMetrics, and
UIButtonRowItem became ButtonRowItem. StyledButton survives as an
inbe-side shim (src/app/styled_button.c) over the new Button API so
the 80 existing call sites keep one visual mapping. Kry constants
migrate off the removed '#define' syntax.

Also fix stale Android package references that crashed startup:
JNI registration looked for xyz.waozi.breathing.MainActivity, share
calls targeted the old ShareHelper name, the files directory pointed
at the pre-rename package, and the Makefile launch target used the
old app id.
2026-09-09 01:28:54 -03:00
waozi ea9280964d Fix habits tutorial targets 2026-09-08 15:17:29 -03:00
waozi 97a37e6cc8 Point practice guide at carousel controls 2026-09-08 15:13:13 -03:00
waozi 2887335be1 Fix selected navigation contrast 2026-09-08 15:08:02 -03:00
waozi 5c49391d3a Update Kryon tutorial guide rendering 2026-09-08 15:01:41 -03:00
waozi 9f7bb76455 Move shared app chrome to Kry 2026-09-08 13:50:27 -03:00
waozi 9e718e8e4b Move modal state management to Kry 2026-09-08 13:34:50 -03:00
waozi 52688313d4 Move deferred persistence to Kry 2026-09-08 13:32:06 -03:00
waozi f5e843de98 Move app host lifecycle to Kry 2026-09-08 13:26:52 -03:00
waozi 3696afcffb Move frame pacing policy to Kry 2026-09-08 13:24:43 -03:00
waozi 73a54f56c3 Move frame profiling to Kry 2026-09-08 13:23:04 -03:00
waozi 0ded03a8e3 Move donation reminder policy to Kry 2026-09-08 13:16:05 -03:00
waozi 55a60dc61d Move donation links to Kry 2026-09-08 12:35:23 -03:00
waozi 8d1c989312 Move URL routing to Kry 2026-09-08 12:32:08 -03:00
waozi 20382dd89d Move route state transitions to Kry 2026-09-08 12:15:00 -03:00
waozi ae4e110259 Use Kryon activity abstraction directly 2026-09-08 12:06:33 -03:00
waozi 58a0a2eb88 Adopt unprefixed Kryon platform APIs 2026-09-08 12:04:25 -03:00
waozi ff2b4e5b14 Rewrite EList storage in Kry 2026-09-08 11:46:51 -03:00
waozi 87d4f6a5c1 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	vendor/kryon
2026-09-08 11:26:12 -03:00
waozi 95e370b634 Move EList interfaces into Kry modules 2026-09-08 11:25:19 -03:00
waozi 26af3768f0 Sanitize default EList navigation 2026-09-08 10:34:44 -03:00
waozi 7f4935fe58 Rename app plumbing and remove bundled miniz 2026-09-08 10:34:16 -03:00
waozi 253f04ee46 Use Kryon frame pacing on Android 2026-09-08 09:18:55 -03:00
waozi 3c541b087f Reduce Android idle battery usage 2026-09-08 09:07:34 -03:00
waozi 9cc67b287c Separate habit reminders from practice notifications 2026-09-08 00:50:48 -03:00
waozi c59af4dc1a Remove old navigation and theme names 2026-09-08 00:26:37 -03:00
waozi 9ffc7e1490 Cache statistics mood aggregates 2026-09-08 00:07:29 -03:00
waozi 2097f8cb90 Cache linked habit session summaries 2026-09-08 00:05:04 -03:00
waozi 1c26a83989 Update Kryon reconcile performance fix 2026-09-07 23:58:04 -03:00
waozi ae93e11df3 Use clean habit expand chevrons 2026-09-07 23:44:45 -03:00
waozi 9634744036 Clean up settings toggle rows 2026-09-07 23:34:27 -03:00
waozi e339f1c616 Remove legacy stack nav menu 2026-09-07 23:29:02 -03:00
waozi 7c1dca9c6b Update Kryon text rendering fix 2026-09-07 23:23:31 -03:00
waozi 7502cb455c Polish desktop rail profile layout 2026-09-07 19:49:27 -03:00
waozi ffeb534ced Refine navigation profile behavior 2026-09-07 19:42:22 -03:00
waozi 6d3e76b160 Implement mobile settings hub 2026-09-07 19:10:28 -03:00
waozi eb7db35f0e Replace desktop settings drawer 2026-09-07 18:53:00 -03:00
waozi 45c89d2b8f Redesign desktop settings layout 2026-09-07 16:34:19 -03:00
waozi 71f976fa69 Fix desktop rail layout 2026-09-07 16:09:53 -03:00
waozi cb8efebcfd Update Kryon text alpha fix 2026-09-07 15:46:52 -03:00
waozi dbd68442cf Update Kryon profile picture atlas 2026-09-07 15:39:23 -03:00
waozi 3b33b9d3b6 Update Kryon drag click handling 2026-09-07 15:08:21 -03:00
waozi 70a623b11c Apply modern Kryon navigation defaults 2026-09-07 14:47:34 -03:00
waozi bd0dcef286 Move active practice title bar to Kry 2026-09-07 13:31:07 -03:00
waozi e9343dad76 Clean up stale app title declarations 2026-09-07 13:30:47 -03:00
waozi 80c754c053 Move Inbe entry point to Kry 2026-09-07 13:30:24 -03:00
waozi eab60dd4ac Match WHM guide spacing to Option B 2026-09-06 21:20:24 -03:00
waozi 2bf0d4920b Redesign practice guides with canonical Kryon UI 2026-09-06 19:48:08 -03:00
2541 changed files with 557990 additions and 75185 deletions

No files matched your search

+8 -1
View File
@@ -1,4 +1,4 @@
# Copy to .env.play when you want to upload screenshots.
# Copy to .env.play when you want to upload the store listing.
# Do not commit .env.play or the service-account JSON.
PLAY_PACKAGE_NAME=xyz.waozi.inbe
PLAY_SERVICE_ACCOUNT_JSON=/absolute/path/to/google-play-service-account.json
@@ -6,7 +6,14 @@ PLAY_LANGUAGE=en-US
PLAY_METADATA_IMAGES_DIR=fastlane/metadata/android/en-US/images
PLAY_IMAGE_TYPES=phoneScreenshots,sevenInchScreenshots,tenInchScreenshots
PLAY_DELETE_EXISTING=1
# Short and full descriptions from every locale folder here. 0 skips text.
PLAY_METADATA_DIR=fastlane/metadata/android
PLAY_LISTING_TEXT=1
# Optional public/unlisted, embeddable YouTube video for PLAY_LANGUAGE.
# Leave empty to preserve the existing video.
PLAY_VIDEO_URL=
# Default is validate-only and discards the draft edit.
# Set to 1 only when you want the uploaded screenshots committed to Play.
# Uploads require make screenshot-review, screenshot-export and play-preflight.
PLAY_COMMIT=0
+6
View File
@@ -1,2 +1,8 @@
unpackaged_assets/**/*.ogg filter=lfs diff=lfs merge=lfs -text
test-fixtures/audio/*.mp3 filter=lfs diff=lfs merge=lfs -text
themes/catalog_*.css whitespace=-blank-at-eof
design/lists-redesign/*.png filter=lfs diff=lfs merge=lfs -text
design/sun-salutation/face-redesign/*.png filter=lfs diff=lfs merge=lfs -text
design/sun-salutation/face-redesign/*.mp4 filter=lfs diff=lfs merge=lfs -text
# Vendored three.js keeps its upstream formatting.
site/static/assets/radio/three*.js -whitespace
+46
View File
@@ -0,0 +1,46 @@
name: Breeze build
on:
workflow_dispatch:
inputs:
profile:
description: Quick compiles the Linux app. Full also runs the local tests.
required: true
type: choice
options: [quick, full]
default: quick
permissions:
contents: read
jobs:
linux:
name: Linux native
runs-on: build-breeze
timeout-minutes: 60
steps:
- uses: https://github.com/actions/checkout@v4
with:
lfs: true
persist-credentials: false
- name: Install Linux build and test dependencies
run: USER="$(id -un)" .github/scripts/install-apt-packages.sh .github/apt/test-packages.txt ccache
- name: Fetch locked Ziran packages
uses: ./.github/actions/ziran-packages
- name: Restore Linux compiler objects
uses: https://github.com/actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
with:
path: ~/.cache/ccache
key: breeze-native-ccache-v1-${{ runner.os }}-${{ runner.arch }}-${{ gitea.sha }}
restore-keys: breeze-native-ccache-v1-${{ runner.os }}-${{ runner.arch }}-
- name: Build the desktop app
env:
CCACHE_COMPILERCHECK: content
CCACHE_MAXSIZE: 200M
run: |
export PATH="/usr/lib/ccache:$PATH"
export CCACHE_BASEDIR="$GITHUB_WORKSPACE" CCACHE_DIR="$HOME/.cache/ccache"
make -j2 PACKAGE_FLAGS=--locked native
ccache --show-stats
- name: Run the retained local tests
if: inputs.profile == 'full'
run: env -u DISPLAY -u WAYLAND_DISPLAY -u XAUTHORITY HARMONY_DESKTOP_RECOVERY=0 make -j2 PACKAGE_FLAGS=--locked test
+156
View File
@@ -0,0 +1,156 @@
name: Cloudflare Pages
on:
push:
branches: [master]
pull_request:
workflow_dispatch:
concurrency:
group: breeze-pages-${{ gitea.ref }}
cancel-in-progress: false
jobs:
site:
name: Build and verify the site
if: gitea.event_name == 'pull_request' || gitea.ref == 'refs/heads/master'
# Keep deployments on the same Build slot as its web artifact cache.
runs-on: build-breeze
timeout-minutes: 45
env:
SITE_ASSET_VERSION: ${{ gitea.sha }}
steps:
- name: Check out Breeze from Gitea
uses: https://github.com/actions/checkout@v4
env:
GIT_LFS_SKIP_SMUDGE: '1'
with:
persist-credentials: false
- name: Fetch the website's audio from Gitea LFS
run: sh site/fetch-meditation-audio.sh
- name: Set up Node.js
uses: https://github.com/actions/setup-node@v4
with:
node-version: 22
- name: Identify exact web build inputs
id: web-inputs
run: |
key=$(sh site/web-build-key.sh)
printf 'key=%s\n' "$key" >> "$GITHUB_OUTPUT"
- name: Restore the source-built web app
id: web-restore
uses: https://github.com/actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830
continue-on-error: true
with:
path: build/dist/web
key: breeze-web-${{ runner.os }}-${{ runner.arch }}-${{ steps.web-inputs.outputs.key }}
- name: Check the cached web build
id: web-cache
env:
WEB_INPUT_KEY: ${{ steps.web-inputs.outputs.key }}
run: |
if sh site/web-build-receipt.sh verify build/dist/web "$WEB_INPUT_KEY" 2>/dev/null; then
echo 'Reusing the verified web build for these inputs'
echo 'ready=true' >> "$GITHUB_OUTPUT"
else
echo 'Building the web app for these inputs'
echo 'ready=false' >> "$GITHUB_OUTPUT"
fi
- name: Install site build dependencies
run: USER="$(id -un)" .github/scripts/install-apt-packages.sh .github/apt/empty-packages.txt apt-utils gnupg ripgrep unzip zip zstd
- name: Install web build dependencies
if: steps.web-cache.outputs.ready != 'true'
run: USER="$(id -un)" .github/scripts/install-apt-packages.sh .github/apt/web-packages.txt python3-pil
- name: Fetch locked Ziran packages
if: steps.web-cache.outputs.ready != 'true'
uses: ./.github/actions/ziran-packages
- name: Set up the pinned Emscripten SDK
if: steps.web-cache.outputs.ready != 'true'
uses: ./.github/actions/emscripten
- name: Build the web app from this revision
if: steps.web-cache.outputs.ready != 'true'
env:
WEB_INPUT_KEY: ${{ steps.web-inputs.outputs.key }}
run: |
set -eu
rm -f build/dist/web/index.html build/dist/web/index.js build/dist/web/index.wasm
make -j2 PACKAGE_FLAGS=--locked WEB_CACHE_BUSTER="$WEB_INPUT_KEY" build/dist/web/index.html
sh site/web-build-receipt.sh write build/dist/web "$WEB_INPUT_KEY"
- name: Verify the exact web app artifact
env:
WEB_INPUT_KEY: ${{ steps.web-inputs.outputs.key }}
run: sh site/web-build-receipt.sh verify build/dist/web "$WEB_INPUT_KEY"
- name: Save the verified web build for the next deployment
if: gitea.event_name != 'pull_request' && steps.web-cache.outputs.ready != 'true' && steps.web-restore.outputs.cache-hit != 'true'
uses: https://github.com/actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830
continue-on-error: true
with:
path: build/dist/web
key: breeze-web-${{ runner.os }}-${{ runner.arch }}-${{ steps.web-inputs.outputs.key }}
- name: Fetch the pinned site icons from Gitea
run: |
set -eu
kryon_dir="$PWD/build/site-kryon"
sh site/fetch-kryon-icons.sh "$kryon_dir"
printf 'KRYON_DIR=%s\n' "$kryon_dir" >> "$GITHUB_ENV"
- name: Select the verified web app origin
if: gitea.event_name != 'pull_request'
run: |
set -eu
host=innerbreeze.org
if ! sh site/check-account-origin.sh "$host"; then
host=inbe.waozi.xyz
sh site/check-account-origin.sh "$host"
fi
printf 'SITE_APP_HOST=%s\n' "$host" >> "$GITHUB_ENV"
- name: Build site with the source-built web app and signed download repository
env:
APT_SIGNING_KEY: ${{ gitea.event_name != 'pull_request' && secrets.APT_SIGNING_KEY || '' }}
run: SITE_WEB_DIR="$PWD/build/dist/web" sh site/build-production.sh
- name: Test website routes, assets and Telegram bridge
run: |
node tests/site_assets_test.mjs
sh tests/site_web_build_test.sh
# The APT fixture is designed to check package discovery without root.
if [ "$(id -u)" -eq 0 ]; then
runuser -u nobody -- sh tests/apt_repo_test.sh
else
sh tests/apt_repo_test.sh
fi
node tests/telegram_bridge_test.mjs
- name: Deploy current master to Cloudflare Pages
if: gitea.event_name != 'pull_request'
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
WRANGLER_SEND_METRICS: 'false'
REVISION: ${{ gitea.sha }}
run: |
set -euo pipefail
test "$(git rev-parse HEAD)" = "$REVISION"
test "$(git ls-remote origin refs/heads/master | cut -f1)" = "$REVISION"
: "${CLOUDFLARE_API_TOKEN:?Missing Gitea Pages deployment token}"
: "${CLOUDFLARE_ACCOUNT_ID:?Missing Gitea Pages account ID}"
# Verify the public domain and the selected app origin before uploading.
curl -fsS --max-time 25 https://innerbreeze.org/ -o /dev/null
sh site/check-account-origin.sh "$SITE_APP_HOST"
npm exec --yes [email protected] -- wrangler pages deploy build/site \
--project-name=inbe --branch=master --commit-hash="$REVISION" --commit-dirty=false
sh site/verify-deployment.sh "$REVISION"
+1
View File
@@ -2,3 +2,4 @@
set -eu
scripts/check-secrets.py --staged
scripts/check-file-size.py --staged
+1
View File
@@ -15,3 +15,4 @@ else
fi
scripts/check-secrets.py --pre-push "$@" < "$tmp"
scripts/pre-push-checks.py < "$tmp"
+42
View File
@@ -0,0 +1,42 @@
name: Set up Emscripten
description: >
Install the Emscripten SDK version named in .github/emscripten-version and
put it on PATH. The SDK, including the system libraries and ports it builds
on first use, is cached per version, so a job only downloads it when the
pinned version changes.
runs:
using: composite
steps:
- name: Read the pinned Emscripten version
id: version
shell: bash
run: echo "version=$(tr -d '[:space:]' < .github/emscripten-version)" >> "$GITHUB_OUTPUT"
- name: Restore the Emscripten SDK
uses: actions/cache@v4
with:
path: ~/emsdk
key: emsdk-${{ runner.os }}-${{ runner.arch }}-${{ steps.version.outputs.version }}-${{ hashFiles('scripts/ensure-emscripten-zlib.sh') }}
restore-keys: |
emsdk-${{ runner.os }}-${{ runner.arch }}-${{ steps.version.outputs.version }}-
- name: Install and activate Emscripten
shell: bash
env:
EMSCRIPTEN_VERSION: ${{ steps.version.outputs.version }}
run: |
set -euo pipefail
if [ ! -x "$HOME/emsdk/emsdk" ]; then
rm -rf "$HOME/emsdk"
git clone --depth 1 https://github.com/emscripten-core/emsdk.git "$HOME/emsdk"
fi
if [ ! -x "$HOME/emsdk/upstream/emscripten/emcc" ]; then
"$HOME/emsdk/emsdk" install "$EMSCRIPTEN_VERSION"
fi
"$HOME/emsdk/emsdk" activate "$EMSCRIPTEN_VERSION"
echo "EMSDK=$HOME/emsdk" >> "$GITHUB_ENV"
echo "EM_CONFIG=$HOME/emsdk/.emscripten" >> "$GITHUB_ENV"
echo "INBE_NODE_BIN=$(dirname "$(command -v node)")" >> "$GITHUB_ENV"
echo "$HOME/emsdk/upstream/emscripten" >> "$GITHUB_PATH"
bash scripts/ensure-emscripten-zlib.sh "$HOME/emsdk/upstream/emscripten/embuilder"
+65
View File
@@ -0,0 +1,65 @@
name: Fetch Ziran packages
description: >
Fetch the packages pinned in ziran.lock. The built Ziran compiler is cached
by the runner image and the toolchain commit, so bumping another package
such as Kryon keeps it; the package checkouts are cached by the runner image
and the whole lock and fall back to the previous checkouts, so a bump
fetches only what changed.
inputs:
save-toolchain:
description: >
Save the built compiler to the cache. A job that only fetches packages
must not, or it would store a toolchain cache without the compiler.
default: 'true'
runs:
using: composite
steps:
- name: Read the Ziran toolchain commit
id: toolchain
shell: sh
run: |
commit=$(python3 -c 'import json; print(json.load(open("ziran.lock"))["toolchain"]["commit"])')
echo "commit=$commit" >> "$GITHUB_OUTPUT"
# A compiler built on a newer image needs its newer C library, so
# images do not share one: ubuntu-22.04 cannot run a glibc 2.39 build.
libc=$(getconf GNU_LIBC_VERSION 2>/dev/null | tr ' ' '-' || true)
echo "system=${ImageOS:-local}-${libc:-nolibc}" >> "$GITHUB_OUTPUT"
- name: Restore the Ziran toolchain
if: inputs.save-toolchain == 'true'
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: |
build/ziran-bootstrap
build/ziran-toolchain
key: ziran-toolchain-${{ runner.os }}-${{ runner.arch }}-${{ steps.toolchain.outputs.system }}-${{ steps.toolchain.outputs.commit }}
restore-keys: |
ziran-toolchain-${{ runner.os }}-${{ runner.arch }}-${{ steps.toolchain.outputs.system }}-
- name: Restore the Ziran toolchain without saving it
if: inputs.save-toolchain != 'true'
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: |
build/ziran-bootstrap
build/ziran-toolchain
key: ziran-toolchain-${{ runner.os }}-${{ runner.arch }}-${{ steps.toolchain.outputs.system }}-${{ steps.toolchain.outputs.commit }}
restore-keys: |
ziran-toolchain-${{ runner.os }}-${{ runner.arch }}-${{ steps.toolchain.outputs.system }}-
# Package checkouts can hold programs built inside them, such as the
# Ziran an Apps controller build compiles for its own lock, so they are
# kept per runner image as well.
- name: Restore the package sources
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: ~/.cache/ziran/sources
key: ziran-sources-${{ runner.os }}-${{ runner.arch }}-${{ steps.toolchain.outputs.system }}-${{ hashFiles('ziran.lock') }}
restore-keys: |
ziran-sources-${{ runner.os }}-${{ runner.arch }}-${{ steps.toolchain.outputs.system }}-
- name: Fetch Ziran packages
shell: sh
run: sh scripts/packages.sh --locked
+4
View File
@@ -0,0 +1,4 @@
platforms;android-36
build-tools;35.0.0
ndk;28.2.13676358
cmake;3.22.1
+7
View File
@@ -0,0 +1,7 @@
python3-fonttools
nasm
# dav1d (the AVIF decoder) builds with Meson and Ninja.
meson
ninja-build
# The app build decodes every guide narration clip with ffmpeg to check it.
ffmpeg
+7 -4
View File
@@ -3,13 +3,9 @@ ca-certificates
curl
dpkg
libcurl4-openssl-dev
libdrm-dev
libdrm2
libegl1-mesa-dev
libegl1
libgbm-dev
libgbm1
libgles2-mesa-dev
libgl1
libgl1-mesa-dri
libglvnd0
@@ -21,8 +17,15 @@ libsdl2-2.0-0
libsdl2-dev
patchelf
pkg-config
python3-fonttools
podman
rpm
x11-utils
xvfb
zip
nasm
# dav1d (the AVIF decoder) builds with Meson and Ninja.
meson
ninja-build
# The app build decodes every guide narration clip with ffmpeg to check it.
ffmpeg
+32
View File
@@ -1,2 +1,34 @@
build-essential
apt-utils
gnupg
ffmpeg
ca-certificates
desktop-file-utils
libcurl4-openssl-dev
ripgrep
zlib1g-dev
libdrm-dev
libegl1-mesa-dev
libgbm-dev
libgles2-mesa-dev
libsdl2-dev
pkg-config
python3-fonttools
python3-numpy
python3-pil
python3-requests
python3-scipy
xvfb
xauth
xdotool
x11-apps
x11-utils
xclip
sqlite3
imagemagick
python3-cryptography
nasm
# dav1d (the AVIF decoder) builds with Meson and Ninja.
meson
ninja-build
+3
View File
@@ -2,3 +2,6 @@ build-essential
zlib1g-dev
zip
tcl
python3-fonttools
# The app build decodes every guide narration clip with ffmpeg to check it.
ffmpeg
+9 -1
View File
@@ -1,6 +1,14 @@
build-essential
gcc-mingw-w64-i686-win32
gcc-mingw-w64-x86-64-win32
g++-mingw-w64-x86-64-win32
zlib1g-dev
libz-mingw-w64-dev
zip
nsis
python3-fonttools
nasm
# dav1d (the AVIF decoder) builds with Meson and Ninja.
meson
ninja-build
# The app build decodes every guide narration clip with ffmpeg to check it.
ffmpeg
+1
View File
@@ -0,0 +1 @@
6.0.10
+18
View File
@@ -0,0 +1,18 @@
# Files over 1 MB that may be committed (scripts/check-file-size.py runs in
# the pre-commit hook and in CI). Only files the app ships or its build reads
# belong here; drafts, renders and design explorations go in the ignored
# backup/ folder, and large media can go in Git LFS (see .gitattributes).
# Lumi and the default profile picture
assets/lumi/mascot.png
assets/profile-pictures/flowers.png
# Narration receipts the practice packages are built from
design/tai-chi/narration-receipt.json
design/tai-chi/narration-male-receipt.json
design/astral-projection/bruce-narration-receipt.json
# Exact digest-bound Arcade library artwork shipped for offline browsing.
apps/bundled/arcade.games/3db3d137e3e15f7bada0cab75751f33d92005e3bc28dded7a1419b1f06e6a1e0.zx
apps/bundled/arcade.games/83471e1e310ffbac2972bf5d85e7072da2812c6a3d7efb9d8beff7873ca973e1.zx
apps/bundled/arcade.games/a2cdbe88ec6220d89b105e60d37b4c1e910506cfd7df5875e2e55a3021b4c366.zx
# The Radio page's three.js runtime on the website.
site/static/assets/radio/three.core.js
+1
View File
@@ -0,0 +1 @@
docker.io/library/ubuntu@sha256:fe81560990fae86dc4743202b2cb4d3df98d0bcf949173cecef15ce1127ef852
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
# The same package and real-browser checks as CI's Build Browser Add-ons job.
set -eu
export YUE_DESKTOP_RECOVERY=0
unset DISPLAY WAYLAND_DISPLAY XAUTHORITY DBUS_SESSION_BUS_ADDRESS
make package-unpackaged-assets chrome-web-store firefox-addons firefox-addons-lint
test -f build/dist/inbe-chrome-web-store.zip
test -f build/dist/inbe-firefox-addons.zip
make web-smoke-test
LIBGL_ALWAYS_SOFTWARE=1 make web-smoke-test-firefox
+29
View File
@@ -0,0 +1,29 @@
#!/bin/sh
# Reset only the server's private overlay, never its canonical checkout.
set -eu
server=/sync-server
filesystem=$(stat -f -c %T "$server")
if [ "$filesystem" != overlayfs ]; then
echo "release-ready: sync server is not a private overlay" >&2
exit 2
fi
commit=$(cat .github/sync-test-server-commit)
python3 -c "$RELEASE_READY_SNAPSHOT" "$server" "$commit"
expected=$(git -c safe.directory="$server" -C "$server" rev-parse HEAD:vendor/liboqs)
actual=$(git -c safe.directory="$server/vendor/liboqs" -C "$server/vendor/liboqs" rev-parse HEAD)
if [ "$expected" != "$actual" ]; then
echo "release-ready: canonical Mesh's liboqs must match the CI pin" >&2
exit 2
fi
if [ -n "$(git -c safe.directory="$server/vendor/liboqs" -C "$server/vendor/liboqs" status --porcelain --untracked-files=all)" ]; then
echo "release-ready: canonical Mesh's liboqs must be pristine" >&2
exit 2
fi
# Emscripten's PATH entry holds a cmake directory, which make's own command
# lookup would try to run instead of the cmake program. The server generates
# its Go with Ziran, Breeze's own toolchain.
make /src/build/packages/ziran/build/bin/zi2c
make -C "$server" BUILD_DIR="$server/build" CMAKE="$(command -v cmake)" \
ZIRAN=/src/build/packages/ziran/build/bin/ziran build
MESH_BIN="$server/mesh" make sync-server-test
git -c safe.directory="$server" -C "$server" diff --exit-code "$commit" -- .
+64
View File
@@ -0,0 +1,64 @@
# The Test job's machine for `make release-ready`: the runner's Ubuntu, the
# packages CI installs for native/browser tests, its pinned SDK and Bun.
# scripts/release-ready.sh has Harmony's container service run this recipe as
# root on the pinned base image (.github/local-ci/base-image), with the
# candidate's .github folder at /run/harmony-container/context.tar, and commit
# the result with these settings:
# EM_NODE_JS=/usr/local/bin/bun EMSDK_NODE=/usr/local/bin/bun
# EM_CONFIG=/opt/emsdk/.emscripten
# PATH=/opt/emsdk/upstream/emscripten:/usr/local/go/bin:/usr/local/bin:/usr/bin:/bin
set -eu
BUN_VERSION=1.4.2
BUN_SHA256=36368faef7527875d5ffa52e53cd48021741f2a83eb6208a8dd64068d422a913
GO_VERSION=1.24.4
context=/tmp/inbe-ci-context
mkdir -p "$context"
tar -xf /run/harmony-container/context.tar -C "$context"
# The hosted runner also ships git, Git LFS, curl, cmake, zip, jq, OpenSSL's
# headers, libsodium, D-Bus, Java 21, Go and the Android SDK
# (scripts/release-ready.sh mounts this machine's).
export DEBIAN_FRONTEND=noninteractive
apt-get update
# shellcheck disable=SC2046
apt-get install -y --no-install-recommends \
git git-lfs python3 curl xz-utils make cmake zip unzip jq file libssl-dev \
libsodium23 dbus openjdk-21-jdk-headless \
libgtk-3-0t64 libasound2t64 libdbus-glib-1-2 libxt6t64 libxtst6 libpci3 \
$(grep -hv '^#' "$context/apt/test-packages.txt" "$context/apt/web-packages.txt" \
"$context/apt/windows-packages.txt" | cut -d: -f2- | sort -u | tr '\n' ' ')
if [ -x /usr/bin/x86_64-w64-mingw32-gcc-win32 ]; then
update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-win32
fi
curl -fsSL https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o /tmp/chrome.deb
apt-get install -y --no-install-recommends /tmp/chrome.deb
rm -rf /var/lib/apt/lists/* /tmp/chrome.deb
# Bun only: nothing in the image executes Node, including the SDK's cache bootstrap.
mkdir -p /opt/js-runtime
curl -fsSL "https://github.com/oven-sh/bun/releases/download/bun-v${BUN_VERSION}/bun-linux-x64.zip" \
-o /opt/js-runtime/bun.zip
printf '%s %s\n' "$BUN_SHA256" /opt/js-runtime/bun.zip | sha256sum -c -
unzip -q /opt/js-runtime/bun.zip -d /opt/js-runtime
mv /opt/js-runtime/bun-linux-x64/bun /usr/local/bin/bun
rm -rf /opt/js-runtime/bun.zip /opt/js-runtime/bun-linux-x64
bun --version
export EM_NODE_JS=/usr/local/bin/bun EMSDK_NODE=/usr/local/bin/bun
mkdir -p /opt/emsdk /opt/firefox
curl -fsSL https://github.com/emscripten-core/emsdk/archive/refs/heads/main.tar.gz \
| tar -xz -C /opt/emsdk --strip-components=1
emscripten=$(cat "$context/emscripten-version")
/opt/emsdk/emsdk install "$emscripten"
/opt/emsdk/emsdk activate "$emscripten"
/opt/emsdk/upstream/emscripten/embuilder build zlib
chmod -R a+rwX /opt/emsdk/upstream/emscripten/cache
curl -fsSL 'https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US' \
| tar -xJ -C /opt/firefox --strip-components=1
ln -s /opt/firefox/firefox /usr/local/bin/firefox
curl -fsSL "https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar -xz -C /usr/local
ln -s /usr/local/go/bin/go /usr/local/bin/go
/usr/local/go/bin/go version
rm -rf "$context"
+132
View File
@@ -0,0 +1,132 @@
#!/usr/bin/env python3
"""Install the pinned SDK components, retrying downloads in fresh staging areas."""
from pathlib import Path
import argparse
import os
import re
import shutil
import subprocess
import tempfile
import time
import xml.etree.ElementTree as ET
import zipfile
ROOT = Path(__file__).resolve().parents[2]
def component_path(root, package):
if not re.fullmatch(r"(?:platforms;android-[0-9]+|(?:build-tools|ndk|cmake);[0-9]+\.[0-9]+\.[0-9]+)", package):
raise ValueError("invalid pinned SDK component: " + package)
return root.joinpath(*package.split(";"))
def valid(root, package):
directory = component_path(root, package)
try:
document = ET.parse(directory / "package.xml")
if not any(element.tag.rsplit("}", 1)[-1] == "localPackage" and
element.get("path") == package for element in document.iter()):
return False
kind, version = package.split(";")
if kind == "platforms":
with zipfile.ZipFile(directory / "android.jar") as archive:
return archive.testzip() is None
properties = (directory / "source.properties").read_text()
if not re.search(r"^Pkg\.Revision\s*=\s*" + re.escape(version) + r"\s*$", properties, re.M):
return False
if kind == "cmake":
command = [directory / "bin/cmake", "--version"]
elif kind == "build-tools":
command = [directory / "aapt2", "version"]
else:
command = [next(directory.glob("toolchains/llvm/prebuilt/*/bin/clang")), "--version"]
result = subprocess.run(command, capture_output=True, text=True, timeout=15)
if result.returncode != 0:
return False
if kind == "cmake":
expected = "cmake version " + re.escape(version) + r"(?:-[0-9A-Za-z.]+)?"
return re.fullmatch(expected, result.stdout.splitlines()[0]) is not None
return True
except (OSError, UnicodeError, ET.ParseError, zipfile.BadZipFile, StopIteration, IndexError,
subprocess.TimeoutExpired):
return False
def merge_licenses(source, destination):
"""Keep runner-owned permissions and accepted licence hashes intact."""
if not source.is_dir():
return
destination.mkdir(exist_ok=True)
for license_file in source.iterdir():
if not license_file.is_file():
continue
target = destination / license_file.name
accepted = target.read_text().splitlines() if target.exists() else []
additions = [line for line in license_file.read_text().splitlines()
if line.strip() and line not in accepted]
if not additions:
continue
# copytree/copy2 also chmod and set timestamps. Hosted SDK licences
# can be writable but owned by root, so metadata copying fails.
with target.open("a") as output:
output.write("\n" + "\n".join(additions) + "\n")
def install(root, packages, manager, sleep=time.sleep):
root = Path(root).resolve()
manager = Path(manager).resolve(strict=True)
root.mkdir(parents=True, exist_ok=True)
for package in packages:
destination = component_path(root, package)
if valid(root, package):
print("Android SDK: verified cached " + package, flush=True)
continue
for attempt in range(1, 4):
print(f"Android SDK: install {package}, attempt {attempt}/3", flush=True)
# sdkmanager keeps partial archives beneath its SDK root. A new
# stage guarantees that a corrupt ZIP cannot survive the retry.
with tempfile.TemporaryDirectory(prefix=".inbe-sdk-", dir=root) as temporary:
stage = Path(temporary)
if (root / "licenses").is_dir():
shutil.copytree(root / "licenses", stage / "licenses")
environment = dict(os.environ, ANDROID_HOME=str(stage), ANDROID_SDK_ROOT=str(stage))
try:
result = subprocess.run([manager, "--sdk_root=" + str(stage), package],
input=b"y\n" * 128, env=environment, timeout=600)
except subprocess.TimeoutExpired:
result = None
if result is not None and result.returncode == 0 and valid(stage, package):
source = component_path(stage, package)
destination.parent.mkdir(parents=True, exist_ok=True)
if destination.exists():
destination.rename(stage / "incomplete-component")
source.rename(destination)
merge_licenses(stage / "licenses", root / "licenses")
if not valid(root, package):
raise RuntimeError("SDK component failed validation after installation: " + package)
break
print("Android SDK: rejected incomplete or invalid " + package, flush=True)
if attempt == 3:
raise RuntimeError("Android SDK download failed after three fresh attempts: " + package)
sleep(attempt * 2)
def main():
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("--sdk-root", type=Path,
default=os.environ.get("ANDROID_SDK_ROOT") or os.environ.get("ANDROID_HOME"))
parser.add_argument("--sdkmanager", type=Path)
parser.add_argument("--packages", type=Path, default=ROOT / ".github/android-sdk-packages.txt")
args = parser.parse_args()
if args.sdk_root is None:
parser.error("ANDROID_SDK_ROOT or ANDROID_HOME must name the job's SDK")
manager = args.sdkmanager or args.sdk_root / "cmdline-tools/latest/bin/sdkmanager"
if args.sdkmanager is None and not manager.is_file():
manager = Path(shutil.which("sdkmanager") or manager)
packages = [line.strip() for line in args.packages.read_text().splitlines()
if line.strip() and not line.lstrip().startswith("#")]
install(args.sdk_root, packages, manager)
if __name__ == "__main__":
main()
+1
View File
@@ -0,0 +1 @@
35159302be6f9011c3934636c6c200eec785ff5b
+176
View File
@@ -0,0 +1,176 @@
name: Android Moto APK
"on":
workflow_dispatch:
inputs:
source_commit:
description: Full commit hash whose Release checks passed
required: true
verified_run:
description: Release run with successful Secret Scan and Test jobs
required: true
permissions:
contents: read
actions: read
jobs:
android:
name: Build signed Moto APK
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Require passing checks for the exact source commit
env:
GH_TOKEN: ${{ github.token }}
SOURCE_COMMIT: ${{ inputs.source_commit }}
VERIFIED_RUN: ${{ inputs.verified_run }}
run: |
python3 - <<'PY'
import json
import os
import re
import subprocess
commit = os.environ['SOURCE_COMMIT']
run_id = os.environ['VERIFIED_RUN']
repository = os.environ['GITHUB_REPOSITORY']
if not re.fullmatch(r'[0-9a-f]{40}', commit):
raise SystemExit('A full, immutable source commit is required')
if not re.fullmatch(r'[0-9]+', run_id):
raise SystemExit('A numeric Release run ID is required')
def api(path):
return json.loads(subprocess.check_output(['gh', 'api', path], text=True))
run = api(f'repos/{repository}/actions/runs/{run_id}')
if run['head_sha'] != commit or run['path'] != '.github/workflows/release.yml':
raise SystemExit('The Release checks must belong to the requested source commit')
jobs = api(f'repos/{repository}/actions/runs/{run_id}/jobs?per_page=100')['jobs']
for name in ('Secret Scan', 'Test (0/3)', 'Test (1/3)', 'Test (2/3)'):
checks = [job for job in jobs if job['name'] == name]
if len(checks) != 1 or checks[0]['conclusion'] != 'success':
raise SystemExit(f'{name} must have passed before signing')
print('Verified passing Secret Scan and all three Test shards for ' + commit)
PY
- name: Checkout verified source
uses: actions/checkout@v4
with:
ref: ${{ inputs.source_commit }}
fetch-depth: 1
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Cache Android SDK packages
uses: actions/cache@v4
with:
path: |
${{ env.ANDROID_HOME }}/platforms/android-36
${{ env.ANDROID_HOME }}/build-tools/35.0.0
${{ env.ANDROID_HOME }}/ndk/28.2.13676358
${{ env.ANDROID_HOME }}/cmake/3.22.1
key: android-sdk-v2-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.github/android-sdk-packages.txt') }}
restore-keys: |
android-sdk-v2-${{ runner.os }}-${{ runner.arch }}-
- name: Verify and install Android SDK components
timeout-minutes: 20
run: python3 .github/scripts/install-android-sdk.py
- name: Install Android build dependencies
timeout-minutes: 15
run: .github/scripts/install-apt-packages.sh .github/apt/android-packages.txt
- name: Prepare Android signing key
env:
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
run: |
set -euo pipefail
umask 077
mkdir -p ~/.android
printf '%s' "$KEYSTORE_BASE64" | base64 -d > ~/.android/inbe-release.keystore
- name: Copy Android assets
run: ./scripts/copy-android-assets.sh
- name: Build signed ARMv7 release APK
env:
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
SOURCE_COMMIT: ${{ inputs.source_commit }}
run: |
set -euo pipefail
python3 - <<'PY'
import importlib.util
import os
import subprocess
from pathlib import Path
spec = importlib.util.spec_from_file_location('phone_check', 'scripts/phone-check.py')
check = importlib.util.module_from_spec(spec)
spec.loader.exec_module(check)
revision = os.environ['SOURCE_COMMIT']
assert subprocess.check_output(['git', 'rev-parse', 'HEAD'], text=True).strip() == revision
assert check.app_tree(Path.cwd()) == check.app_tree(Path.cwd(), revision), 'App source differs from candidate'
PY
./droid/gradlew -p droid assembleRelease \
-Papp.onlyAbi=armeabi-v7a \
-Pkeystore.path="$HOME/.android/inbe-release.keystore" \
-Pkeystore.alias="$KEY_ALIAS" \
-Pkeystore.password="$KEYSTORE_PASSWORD" \
--stacktrace
VERSION=$(python3 scripts/check-version.py --print-version)
mkdir -p build/release/moto
cp droid/app/build/outputs/apk/release/app-armeabi-v7a-release.apk "build/release/moto/inbe-$VERSION-moto.apk"
"$ANDROID_HOME/build-tools/35.0.0/apksigner" verify --print-certs "build/release/moto/inbe-$VERSION-moto.apk"
printf '%s\n' "$SOURCE_COMMIT" > build/release/moto/source-commit.txt
(
cd build/release/moto
sha256sum "inbe-$VERSION-moto.apk" > "inbe-$VERSION-moto.apk.sha256"
)
python3 - <<'PY'
import hashlib
import importlib.util
import json
import os
from pathlib import Path
spec = importlib.util.spec_from_file_location('phone_check', 'scripts/phone-check.py')
check = importlib.util.module_from_spec(spec)
spec.loader.exec_module(check)
root = Path.cwd()
revision = os.environ['SOURCE_COMMIT']
content = check.app_tree(root, revision)
assert check.app_tree(root) == content, 'App source changed during build'
apk = next(Path('build/release/moto').glob('inbe-*-moto.apk'))
receipt = dict(schema=1, status='passed', source_commit=revision, app_tree=content,
apk=dict(sha256=hashlib.sha256(apk.read_bytes()).hexdigest(), **check.apk_identity(apk)),
workflow_run=os.environ['GITHUB_SERVER_URL'] + '/' + os.environ['GITHUB_REPOSITORY'] +
'/actions/runs/' + os.environ['GITHUB_RUN_ID'])
(apk.parent / 'build-receipt.json').write_text(json.dumps(receipt, indent=2) + '\n')
PY
- name: Remove signing key
if: always()
run: rm -f ~/.android/inbe-release.keystore
- name: Upload signed Moto APK
uses: actions/upload-artifact@v4
with:
name: android-moto
path: build/release/moto/*
if-no-files-found: error
+137 -98
View File
@@ -13,8 +13,8 @@ permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.sha }}
cancel-in-progress: false
jobs:
secret-scan:
@@ -26,40 +26,86 @@ jobs:
with:
fetch-depth: 0
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
with:
save-toolchain: 'false'
- name: Check Version Consistency
run: |
python3 scripts/check-version.py
python3 tests/version_test.py
- name: Scan Tracked Files and History
run: |
set -euo pipefail
python3 scripts/check-secrets.py --working-tree
python3 scripts/check-secrets.py --history
guard-submodule-urls:
name: Submodule URLs are public HTTPS
# The pre-commit hook runs the same check on staged files.
- name: Refuse new files over 1 MB
env:
BEFORE: ${{ github.event.before }}
BASE_REF: ${{ github.base_ref }}
run: |
set -eu
if [ -n "$BASE_REF" ]; then
base=$(git merge-base "origin/$BASE_REF" HEAD)
elif [ -n "$BEFORE" ] && git cat-file -e "$BEFORE^{commit}" 2>/dev/null; then
base=$BEFORE
else
base=HEAD~1
fi
python3 scripts/check-file-size.py --since "$base"
google-free:
name: Google libraries only in the gplay edition
runs-on: ubuntu-latest
steps:
# Plain checkout on purpose: the guard must not depend on fetching
# the submodules it validates (an SSH URL would break that fetch).
- name: Checkout Repository
uses: actions/checkout@v4
- name: Reject non-HTTPS submodule URLs
# The normal and F-Droid builds read no Google library or plugin; only
# gplay-scoped configurations and gplay files may name one.
- name: Keep Google libraries out of the normal and F-Droid build files
uses: kryonlabs/kryon/.github/actions/google-free@7217475dfa7f462939e47e3f0bc918aef248b179
guard-package-urls:
name: Package URLs are public HTTPS
runs-on: ubuntu-latest
steps:
# Plain checkout on purpose: the guard must not depend on fetching
# the packages it validates (an SSH URL would break that fetch).
- name: Checkout Repository
uses: actions/checkout@v4
- name: Reject submodules and non-HTTPS package URLs
run: |
set -eu
if [ ! -f .gitmodules ]; then echo "no submodules - ok"; exit 0; fi
bad=$(grep -nE '^[[:space:]]*url[[:space:]]*=' .gitmodules \
| grep -vE '^[0-9]+:[[:space:]]*url[[:space:]]*=[[:space:]]*https://' || true)
if [ -n "$bad" ]; then
echo "::error::Non-HTTPS submodule URL(s) break fresh clones and CI:$bad"
if [ -f .gitmodules ]; then
echo "::error::Dependencies are Ziran packages in ziran.toml, not submodules"
exit 1
fi
echo "all submodule URLs HTTPS - ok"
bad=$(grep -nE '^[[:space:]]*git[[:space:]]*=' ziran.toml \
| grep -vE '^[0-9]+:[[:space:]]*git[[:space:]]*=[[:space:]]*"https://' || true)
if [ -n "$bad" ]; then
echo "::error::Non-HTTPS package URL(s) break fresh clones and CI:$bad"
exit 1
fi
echo "all package URLs HTTPS - ok"
test:
name: Test
# make test split across runners; each shard is a third of its targets.
name: Test (${{ matrix.shard }}/3)
runs-on: ubuntu-latest
# Secret Scan runs beside the tests; nothing here publishes, so it need not gate them.
needs:
- guard-submodule-urls
- secret-scan
- guard-package-urls
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
shard: [0, 1, 2]
env:
APT_CACHE_DIR: /tmp/apt-cache
@@ -67,10 +113,23 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
lfs: true
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- name: Cache Test apt packages
uses: actions/cache@v4
with:
@@ -84,13 +143,48 @@ jobs:
run: .github/scripts/install-apt-packages.sh .github/apt/test-packages.txt
- name: Run Tests
run: make test
run: sh scripts/test-shard.sh ${{ matrix.shard }} 3
build-chrome-extension:
name: Build Chrome Extension
- name: Read sync test server revision
if: matrix.shard == 0
id: sync-test-server
run: echo "revision=$(cat .github/sync-test-server-commit)" >> "$GITHUB_OUTPUT"
- name: Check out sync test server
if: matrix.shard == 0
uses: actions/checkout@v4
with:
repository: ziranlang/mesh
# Includes signed photo copies (blobs) and the private Lumi
# collection used for shared account activity.
ref: ${{ steps.sync-test-server.outputs.revision }}
path: .test-server
submodules: recursive
- name: Set up Go for sync test server
if: matrix.shard == 0
uses: actions/setup-go@v5
with:
go-version-file: .test-server/go.mod
cache-dependency-path: .test-server/go.sum
- name: Verify sync and recovery
if: matrix.shard == 0
run: |
# The server generates its Go with Ziran, Breeze's own toolchain.
make "$GITHUB_WORKSPACE/build/packages/ziran/build/bin/zi2c"
make -C .test-server build ZIRAN="$GITHUB_WORKSPACE/build/packages/ziran/build/bin/ziran"
make sync-server-test MESH_BIN="$GITHUB_WORKSPACE/.test-server/mesh"
browser-addons:
# Builds the web app once, packages it for Chrome and Firefox, and runs
# the smoke test in both browsers. It runs beside the tests; a failure in
# either still fails the run.
name: Build Browser Add-ons
runs-on: ubuntu-latest
timeout-minutes: 60
needs: test
needs:
- guard-package-urls
env:
APT_CACHE_DIR: /tmp/apt-cache
@@ -98,10 +192,17 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
lfs: true
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Cache Web apt packages
uses: actions/cache@v4
with:
@@ -112,94 +213,31 @@ jobs:
- name: Install Web Dependencies
timeout-minutes: 15
run: .github/scripts/install-apt-packages.sh .github/apt/web-packages.txt
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
run: .github/scripts/install-apt-packages.sh .github/apt/web-packages.txt python3-pil
- name: Set up Emscripten
run: |
set -euo pipefail
git clone --depth 1 https://github.com/emscripten-core/emsdk.git "$HOME/emsdk"
"$HOME/emsdk/emsdk" install latest
"$HOME/emsdk/emsdk" activate latest
echo "EMSDK=$HOME/emsdk" >> "$GITHUB_ENV"
echo "EM_CONFIG=$HOME/emsdk/.emscripten" >> "$GITHUB_ENV"
echo "$HOME/emsdk" >> "$GITHUB_PATH"
echo "$HOME/emsdk/upstream/emscripten" >> "$GITHUB_PATH"
uses: ./.github/actions/emscripten
- name: Build Chrome Extension ZIP
- name: Build Chrome and Firefox ZIPs
run: |
set -euo pipefail
export PATH="$INBE_NODE_BIN:$PATH"
node --version
make package-unpackaged-assets
make chrome-web-store
test -f build/dist/inbe-chrome-web-store.zip
- name: Run Web Smoke Test
run: |
set -euo pipefail
make web-smoke-test
- name: Run Canvas Web Smoke Test
run: |
set -euo pipefail
make web-canvas
make web-canvas-smoke-test
build-firefox-addons:
name: Build Firefox Add-on
runs-on: ubuntu-latest
timeout-minutes: 60
needs: test
env:
APT_CACHE_DIR: /tmp/apt-cache
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 1
lfs: true
- name: Cache Web apt packages
uses: actions/cache@v4
with:
path: ${{ env.APT_CACHE_DIR }}
key: web-apt-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.github/apt/web-packages.txt') }}
restore-keys: |
web-apt-${{ runner.os }}-${{ runner.arch }}-
- name: Install Web Dependencies
timeout-minutes: 15
run: .github/scripts/install-apt-packages.sh .github/apt/web-packages.txt
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Set up Emscripten
run: |
set -euo pipefail
git clone --depth 1 https://github.com/emscripten-core/emsdk.git "$HOME/emsdk"
"$HOME/emsdk/emsdk" install latest
"$HOME/emsdk/emsdk" activate latest
echo "EMSDK=$HOME/emsdk" >> "$GITHUB_ENV"
echo "EM_CONFIG=$HOME/emsdk/.emscripten" >> "$GITHUB_ENV"
echo "$HOME/emsdk" >> "$GITHUB_PATH"
echo "$HOME/emsdk/upstream/emscripten" >> "$GITHUB_PATH"
- name: Build Firefox Add-on ZIP
run: |
set -euo pipefail
make package-unpackaged-assets
make firefox-addons
test -f build/dist/inbe-firefox-addons.zip
make firefox-addons-lint
# The web build renders on canvas, so this is also the canvas smoke
# test.
- name: Run Web Smoke Test (Chrome)
run: |
set -euo pipefail
export PATH="$INBE_NODE_BIN:$PATH"
make web-smoke-test
- name: Install Firefox (Mozilla build)
timeout-minutes: 15
run: |
@@ -222,4 +260,5 @@ jobs:
LIBGL_ALWAYS_SOFTWARE: '1'
run: |
set -euo pipefail
export PATH="$INBE_NODE_BIN:$PATH"
xvfb-run -a --server-args="-screen 0 1280x1024x24" make web-smoke-test-firefox
+89
View File
@@ -0,0 +1,89 @@
name: F-Droid
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: '23 7 * * *'
workflow_dispatch:
inputs:
revision:
description: Exact committed candidate (defaults to the triggering commit)
required: false
type: string
workflow_call:
inputs:
revision:
required: false
type: string
permissions:
contents: read
jobs:
build:
name: F-Droid security and clean build
runs-on: ubuntu-latest
timeout-minutes: 90
container:
# Official F-Droid buildserver, pinned for repeatable verification.
image: registry.gitlab.com/fdroid/fdroidserver@sha256:1ea8bef1820bff06c2974e31b4fc4c79c364cd24231b86e71fa4b926797e0dac
steps:
- name: Require an immutable candidate
env:
CANDIDATE: ${{ inputs.revision || github.sha }}
shell: bash
run: |
if ! [[ "$CANDIDATE" =~ ^[0-9a-f]{40}$ ]]; then
echo "::error::revision must be a full commit ID, never a branch or tag"
exit 1
fi
# Checkout's LFS support requires git-lfs inside the job container.
- name: Install recipe dependencies
run: |
apt-get update
apt-get install -y --no-install-recommends build-essential jimsh libssl-dev meson nasm ninja-build python3-fonttools ffmpeg openjdk-21-jdk-headless fdroidserver git-lfs
update-alternatives --set java /usr/lib/jvm/java-21-openjdk-amd64/bin/java
- name: Checkout candidate
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
ref: ${{ inputs.revision || github.sha }}
path: build/xyz.waozi.inbe
lfs: true
persist-credentials: false
- name: Verify and install Android SDK components
timeout-minutes: 20
run: |
python3 build/xyz.waozi.inbe/.github/scripts/install-android-sdk.py \
--sdk-root /opt/android-sdk --sdkmanager "$(command -v sdkmanager)"
- name: Build and scan with F-Droid without cached package sources
run: python3 build/xyz.waozi.inbe/scripts/check-fdroid.py
# F-Droid's scanner checked the source; its APK must hold no Google
# library either.
- name: Keep Google libraries out of F-Droid's APK
uses: kryonlabs/kryon/.github/actions/google-free@7217475dfa7f462939e47e3f0bc918aef248b179
with:
packages: tmp/*.apk
source: ''
- name: Preserve APK, exact metadata and scanner evidence
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: fdroid-unsigned
path: |
tmp/*.apk
logs/
metadata/
build/xyz.waozi.inbe/build/outputs/logs/
build/xyz.waozi.inbe/droid/app/build/intermediates/native_debug_metadata/
build/xyz.waozi.inbe/droid/app/build/intermediates/merged_native_libs/
if-no-files-found: error
retention-days: 7
+91
View File
@@ -0,0 +1,91 @@
name: Node app follower
# Arcade releases reach Waozi's node by themselves. Arcade's Game updates
# workflow attaches each new release (node-arcade-VERSION) when a game
# publishes an update; this checks every fifteen minutes for a release newer
# than the version the node serves and publishes it through the Node app
# release job, which signs exactly those bytes with the package key.
on:
schedule:
- cron: '12,27,42,57 * * * *'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: node-app-follower
cancel-in-progress: false
jobs:
check:
name: Find an Arcade release the node does not serve
runs-on: ubuntu-latest
timeout-minutes: 10
outputs:
publish: ${{ steps.release.outputs.publish }}
commit: ${{ steps.release.outputs.commit }}
tag: ${{ steps.release.outputs.tag }}
sha256: ${{ steps.release.outputs.sha256 }}
steps:
- name: Compare Arcade's newest release with the node
id: release
env:
GH_TOKEN: ${{ github.token }}
run: |
python3 - <<'PY'
import hashlib, json, os, re, subprocess, time, urllib.error, urllib.request
def gh(*args):
return subprocess.check_output(['gh', *args], text=True).strip()
def number(version):
return tuple(map(int, version.split('.')))
releases = json.loads(gh('release', 'list', '--repo', 'waozixyz/arcade', '--limit', '50',
'--json', 'tagName,isDraft'))
tags = [item['tagName'] for item in releases if not item['isDraft'] and
re.fullmatch(r'node-arcade-\d+\.\d+\.\d+', item['tagName'])]
tag = max(tags, key=lambda name: number(name.removeprefix('node-arcade-')))
def latest():
# Cloudflare answers 52x while it briefly cannot reach the node;
# retry those for a few minutes before calling the node down.
request = urllib.request.Request(
os.environ.get('NODE_LATEST_URL', 'https://api.waozi.xyz/api/v2/packages/inbe.arcade/latest?bucket=0&format=zx'),
headers={'User-Agent': 'Inbe-Publisher/1.0', 'Cache-Control': 'no-cache'})
waits = [int(wait) for wait in os.environ.get('NODE_RETRY_WAITS', '15 30 60 90').split()]
for attempt in range(len(waits) + 1):
try:
with urllib.request.urlopen(request, timeout=30) as response:
return json.load(response)['version']
except (urllib.error.URLError, TimeoutError, ConnectionError) as error:
if isinstance(error, urllib.error.HTTPError) and error.code < 500:
raise
if attempt == len(waits):
raise
print(f'The node did not answer ({error}); retrying in {waits[attempt]}s.')
time.sleep(waits[attempt])
live = latest()
with open(os.environ['GITHUB_OUTPUT'], 'a') as output:
if number(tag.removeprefix('node-arcade-')) <= number(live):
print(f'The node already serves Arcade {live}; newest release is {tag}.')
output.write('publish=false\n')
raise SystemExit(0)
commit = gh('api', f'repos/waozixyz/arcade/commits/{tag}', '--jq', '.sha')
subprocess.run(['gh', 'release', 'download', tag, '--repo', 'waozixyz/arcade',
'--pattern', 'arcade.zx', '--dir', 'bundle'], check=True)
with open('bundle/arcade.zx', 'rb') as bundle:
digest = hashlib.sha256(bundle.read()).hexdigest()
print(f'Publishing {tag} ({commit}, arcade.zx {digest}); the node serves {live}.')
output.write(f'publish=true\ncommit={commit}\ntag={tag}\nsha256={digest}\n')
PY
publish:
name: Publish it to Waozi's node
needs: check
if: needs.check.outputs.publish == 'true'
uses: ./.github/workflows/node-app-release.yml
with:
app: arcade
repository: waozixyz/arcade
commit: ${{ needs.check.outputs.commit }}
tag: ${{ needs.check.outputs.tag }}
sha256: ${{ needs.check.outputs.sha256 }}
secrets: inherit
+183
View File
@@ -0,0 +1,183 @@
name: Node app release
# Publishes one app the node offers that is built and checked in its own
# repository, such as Arcade from Shovey's publisher. That publisher builds
# the bundle, runs its screen checks, records the version in its repository's
# apps/versions.json and attaches the checked bundle to a GitHub release
# there. This workflow signs exactly those bytes with the package key, which
# lives only in this repository's secrets, uploads the release to Waozi's
# node and verifies what the node serves.
on:
workflow_dispatch:
inputs:
app:
description: The app's name in its ledger, such as arcade
required: true
type: string
repository:
description: Repository whose commit records the release, such as waozixyz/arcade
required: true
type: string
commit:
description: Full commit in that repository whose apps/versions.json names the release
required: true
type: string
tag:
description: GitHub release in that repository with the checked bundle attached as APP.zx
required: true
type: string
sha256:
description: SHA-256 of the checked bundle; any other bytes are refused
required: true
type: string
package_path:
description: Directory containing the app's Ziran package
default: '.'
type: string
ledger_path:
description: Release ledger relative to that package directory
default: apps/versions.json
type: string
# The node app follower publishes each new release through this same job.
workflow_call:
inputs:
app:
description: The app's name in its ledger, such as arcade
required: true
type: string
repository:
description: Repository whose commit records the release, such as waozixyz/arcade
required: true
type: string
commit:
description: Full commit in that repository whose apps/versions.json names the release
required: true
type: string
tag:
description: GitHub release in that repository with the checked bundle attached as APP.zx
required: true
type: string
sha256:
description: SHA-256 of the checked bundle; any other bytes are refused
required: true
type: string
package_path:
description: Directory containing the app's Ziran package
default: '.'
type: string
ledger_path:
description: Release ledger relative to that package directory
default: apps/versions.json
type: string
permissions:
contents: read
concurrency:
group: inbe-package-publishing
cancel-in-progress: false
jobs:
release:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: Check separate-game archive validation
run: python3 tests/node_app_games_test.py
- name: Check the request
env:
APP: ${{ inputs.app }}
REPOSITORY: ${{ inputs.repository }}
COMMIT: ${{ inputs.commit }}
TAG: ${{ inputs.tag }}
SHA256: ${{ inputs.sha256 }}
PACKAGE_PATH: ${{ inputs.package_path }}
LEDGER_PATH: ${{ inputs.ledger_path }}
run: |
python3 - <<'PY'
import os, re
checks = {'APP': r'[a-z][a-z0-9-]{0,63}', 'REPOSITORY': r'waozixyz/[A-Za-z0-9._-]+',
'COMMIT': r'[0-9a-f]{40}', 'TAG': r'[A-Za-z0-9._-]{1,100}', 'SHA256': r'[0-9a-f]{64}'}
for name, pattern in checks.items():
if not re.fullmatch(pattern, os.environ[name]):
raise SystemExit(f'{name} is not valid')
path_pattern = r'[A-Za-z0-9_-][A-Za-z0-9._-]*(?:/[A-Za-z0-9_-][A-Za-z0-9._-]*)*'
for name in ('PACKAGE_PATH', 'LEDGER_PATH'):
value = os.environ[name]
if name == 'PACKAGE_PATH' and value == '.':
continue
if not re.fullmatch(path_pattern, value):
raise SystemExit(f'{name} is not a relative package path')
PY
- name: Fetch the release record, the publisher and the checked bundle
env:
GH_TOKEN: ${{ github.token }}
APP: ${{ inputs.app }}
REPOSITORY: ${{ inputs.repository }}
COMMIT: ${{ inputs.commit }}
TAG: ${{ inputs.tag }}
SHA256: ${{ inputs.sha256 }}
PACKAGE_PATH: ${{ inputs.package_path }}
run: |
set -eu
work="$RUNNER_TEMP/node-app"
mkdir -p "$work/bundles"
git init -q "$work/source"
git -C "$work/source" fetch -q --depth 1 "https://github.com/$REPOSITORY.git" "$COMMIT"
git -C "$work/source" checkout -q FETCH_HEAD
# The Apps publisher at the commit the release's own lock pins.
apps=$(python3 -c 'import json,sys; print(next(p["commit"] for p in json.load(open(sys.argv[1]))["packages"] if p["url"].rstrip("/").removesuffix(".git").endswith("waozixyz/apps")))' "$work/source/$PACKAGE_PATH/ziran.lock")
git init -q "$work/apps"
git -C "$work/apps" fetch -q --depth 1 https://github.com/waozixyz/apps.git "$apps"
git -C "$work/apps" checkout -q FETCH_HEAD
gh release download "$TAG" --repo "$REPOSITORY" --pattern "$APP.zx" --dir "$work/bundles"
echo "$SHA256 $work/bundles/$APP.zx" | sha256sum --check --strict
python3 scripts/node_app_games.py --bundle "$work/bundles/$APP.zx" --list > "$work/required-games.txt"
if [ -s "$work/required-games.txt" ]; then
gh release download "$TAG" --repo "$REPOSITORY" --pattern "$APP.games.tar" --dir "$work/bundles"
python3 scripts/node_app_games.py --bundle "$work/bundles/$APP.zx" \
--archive "$work/bundles/$APP.games.tar" --output "$work/bundles/$APP.games"
fi
- name: Install signing dependencies
run: sudo apt-get update && sudo apt-get install -y python3-cryptography
- name: Configure publisher
env:
SIGNING_KEY: ${{ secrets.INBE_PACKAGE_SIGNING_KEY }}
SSH_KEY: ${{ secrets.INBE_NODE_SSH_KEY }}
SSH_HOSTS: ${{ secrets.INBE_NODE_KNOWN_HOSTS }}
run: |
python3 - <<'PY'
import os
from pathlib import Path
directory = Path(os.environ['RUNNER_TEMP']) / 'inbe-publisher'
directory.mkdir(mode=0o700)
for filename, name in (('publisher.pem', 'SIGNING_KEY'), ('node.key', 'SSH_KEY'), ('known_hosts', 'SSH_HOSTS')):
if not os.environ.get(name):
raise SystemExit(f'{name} is not configured')
path = directory / filename
path.write_text(os.environ[name] + '\n')
path.chmod(0o600)
PY
- name: Sign, publish to Waozi's Mesh node and verify
env:
APP: ${{ inputs.app }}
KEY_ID: ${{ vars.INBE_PACKAGE_KEY_ID }}
TARGET: ${{ secrets.INBE_NODE_SSH_TARGET }}
STORE: ${{ secrets.INBE_NODE_PACKAGE_STORE }}
PACKAGE_PATH: ${{ inputs.package_path }}
LEDGER_PATH: ${{ inputs.ledger_path }}
run: |
set -eu
work="$RUNNER_TEMP/node-app"
export INBE_SSH_IDENTITY="$RUNNER_TEMP/inbe-publisher/node.key"
export INBE_SSH_KNOWN_HOSTS="$RUNNER_TEMP/inbe-publisher/known_hosts"
python3 "$work/apps/scripts/node_release.py" --store "$work/releases" --node-app "$APP" \
--key "$RUNNER_TEMP/inbe-publisher/publisher.pem" --key-id "$KEY_ID" \
--publishers apps/publishers.json --app-ledger "$work/source/$PACKAGE_PATH/$LEDGER_PATH" \
--bundle-directory "$work/bundles" \
--ssh-target "$TARGET" --remote-store "$STORE" --verify-origin https://api.waozi.xyz
- name: Remove signing material
if: always()
run: rm -rf "$RUNNER_TEMP/inbe-publisher"
+147
View File
@@ -0,0 +1,147 @@
name: App packages
on:
push:
branches: [master]
paths:
- 'apps/**'
- 'assets/**'
- 'locales/**'
- 'themes/**'
- 'scripts/prepare-package-assets.py'
- 'src/**'
- 'scripts/build-apps.sh'
- 'scripts/build-node-apps.sh'
- 'scripts/package-release.py'
- 'scripts/practice_content.py'
- 'scripts/practice_media.py'
- 'design/tai-chi/narration*.json'
- 'design/tai-chi/text/**'
- 'scripts/generate-package-versions.py'
- 'scripts/update-package-version.py'
- 'scripts/check-package-versions.py'
- 'scripts/check-package-publishers.py'
- 'scripts/package-manifests.py'
- 'tests/package_manifests_test.py'
- 'tests/package_upload_test.py'
- 'tests/package_versions_test.py'
- 'tests/package_workflow_test.py'
- 'tests/package_release_test.py'
- 'tests/package_manager_host.c'
- 'tests/package_manager_behavior.zi'
- 'ziran.lock'
- '.github/workflows/packages.yml'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: inbe-package-publishing
cancel-in-progress: false
jobs:
packages:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: ./.github/actions/ziran-packages
- name: Install signing and test dependencies
run: |
sudo apt-get update && sudo apt-get install -y python3-cryptography python3-fonttools
.github/scripts/install-apt-packages.sh .github/apt/test-packages.txt
- name: Build independent packages and check signatures
run: |
make package-version-test
make package-workflow-test
make package-manifest-test
make package-upload-test
make apps node-apps build-laws
python3 tests/package_release_test.py
- name: Run new packages in the last released app
run: python3 tests/package_compat_test.py --skip-forward
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Configure publisher
id: publisher
env:
SIGNING_KEY: ${{ secrets.INBE_PACKAGE_SIGNING_KEY }}
KEY_ID: ${{ vars.INBE_PACKAGE_KEY_ID }}
SSH_KEY: ${{ secrets.INBE_NODE_SSH_KEY }}
SSH_HOSTS: ${{ secrets.INBE_NODE_KNOWN_HOSTS }}
TARGET: ${{ secrets.INBE_NODE_SSH_TARGET }}
STORE: ${{ secrets.INBE_NODE_PACKAGE_STORE }}
run: |
python3 - <<'PY'
import os
from pathlib import Path
signing = all(os.environ.get(name) for name in ('SIGNING_KEY', 'KEY_ID'))
configured = signing and all(os.environ.get(name) for name in ('SSH_KEY', 'SSH_HOSTS', 'TARGET', 'STORE'))
with open(os.environ['GITHUB_OUTPUT'], 'a') as output:
output.write('signing=' + str(signing).lower() + '\n')
output.write('configured=' + str(configured).lower() + '\n')
if signing:
directory = Path(os.environ['RUNNER_TEMP']) / 'inbe-publisher'
directory.mkdir(mode=0o700)
files = [('publisher.pem', 'SIGNING_KEY')]
if configured:
files += [('node.key', 'SSH_KEY'), ('known_hosts', 'SSH_HOSTS')]
for filename, name in files:
path = directory / filename
path.write_text(os.environ[name] + '\n')
path.chmod(0o600)
if signing and not configured:
print('Node deployment is not configured; signed releases will be archived for installation on the node.')
elif not signing:
print('Signing is not configured; unsigned build artifacts will be archived without publication.')
PY
- name: Sign app releases
if: steps.publisher.outputs.signing == 'true'
env:
KEY_ID: ${{ vars.INBE_PACKAGE_KEY_ID }}
run: |
python3 scripts/check-package-publishers.py
python3 scripts/package-release.py --store build/package-releases \
--key "$RUNNER_TEMP/inbe-publisher/publisher.pem" --key-id "$KEY_ID"
- name: Sign and publish to Waozi's Mesh node
if: steps.publisher.outputs.configured == 'true'
env:
KEY_ID: ${{ vars.INBE_PACKAGE_KEY_ID }}
TARGET: ${{ secrets.INBE_NODE_SSH_TARGET }}
STORE: ${{ secrets.INBE_NODE_PACKAGE_STORE }}
run: |
export INBE_SSH_IDENTITY="$RUNNER_TEMP/inbe-publisher/node.key"
export INBE_SSH_KNOWN_HOSTS="$RUNNER_TEMP/inbe-publisher/known_hosts"
python3 scripts/package-release.py --store build/package-releases \
--key "$RUNNER_TEMP/inbe-publisher/publisher.pem" --key-id "$KEY_ID" \
--ssh-target "$TARGET" --remote-store "$STORE" \
--verify-origin https://api.waozi.xyz
# Each app the node offers publishes on its own when its ledger names a
# newer release; the node keeps its newest three releases for rollback.
- name: Publish new releases of the apps the node offers
if: steps.publisher.outputs.configured == 'true'
env:
KEY_ID: ${{ vars.INBE_PACKAGE_KEY_ID }}
TARGET: ${{ secrets.INBE_NODE_SSH_TARGET }}
STORE: ${{ secrets.INBE_NODE_PACKAGE_STORE }}
run: |
export INBE_SSH_IDENTITY="$RUNNER_TEMP/inbe-publisher/node.key"
export INBE_SSH_KNOWN_HOSTS="$RUNNER_TEMP/inbe-publisher/known_hosts"
python3 scripts/package-release.py --node-apps --store build/package-releases \
--key "$RUNNER_TEMP/inbe-publisher/publisher.pem" --key-id "$KEY_ID" \
--ssh-target "$TARGET" --remote-store "$STORE" \
--verify-origin https://api.waozi.xyz
- name: Archive packages
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: inbe-app-packages
path: |
build/inbe.zx
build/apps/*.zx
build/node-apps/*.zx
build/package-releases/
if-no-files-found: error
- name: Remove signing material
if: always()
run: rm -rf "$RUNNER_TEMP/inbe-publisher"
+22 -106
View File
@@ -1,115 +1,31 @@
name: Cloudflare Pages
name: Refresh Gitea Pages after release
on:
workflow_run:
workflows:
- Release
types:
- completed
branches:
- master
pull_request:
workflow_dispatch:
workflows: [Release]
types: [completed]
branches: [master]
permissions:
contents: read
concurrency:
group: pages-${{ github.event.workflow_run.head_branch || github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
build:
name: Build Site
refresh-gitea-after-release:
name: Refresh Gitea Pages after a successful release
if: github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_sha || github.ref }}
submodules: recursive
lfs: true
- name: Install Packages
timeout-minutes: 15
run: .github/scripts/install-apt-packages.sh .github/apt/web-packages.txt
- name: Set Up Emscripten
run: |
set -euo pipefail
git clone --depth 1 https://github.com/emscripten-core/emsdk.git "$HOME/emsdk"
"$HOME/emsdk/emsdk" install latest
"$HOME/emsdk/emsdk" activate latest
echo "EMSDK=$HOME/emsdk" >> "$GITHUB_ENV"
echo "EM_CONFIG=$HOME/emsdk/.emscripten" >> "$GITHUB_ENV"
echo "$HOME/emsdk" >> "$GITHUB_PATH"
echo "$HOME/emsdk/upstream/emscripten" >> "$GITHUB_PATH"
- name: Build Site
run: |
set -euo pipefail
make site
test -f build/site/index.html
test -f build/site/build/web/index.html
test -f build/site/build/web/index.js
test -f build/site/build/web/index.wasm
if [ "$GITHUB_EVENT_NAME" != "pull_request" ]; then
make site-release-assets-check
else
echo "Skipping release asset availability check for pull request build"
fi
- name: Dispatch the current Gitea master workflow
env:
GH_TOKEN: ${{ github.token }}
- name: Upload Site Artifact
uses: actions/upload-artifact@v4
with:
name: inbe-site
path: build/site
if-no-files-found: error
deploy-preview:
name: Deploy Preview
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'pull_request'
steps:
- name: Download Site Artifact
uses: actions/download-artifact@v4
with:
name: inbe-site
path: build/site
- name: Deploy Preview To Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy build/site --project-name=inbe --branch=${{ github.head_ref || github.ref_name }}
deploy-production:
name: Deploy Production
runs-on: ubuntu-latest
needs: build
if: |
(github.event_name == 'workflow_run' &&
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.head_branch == 'master') ||
(github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master')
steps:
- name: Download Site Artifact
uses: actions/download-artifact@v4
with:
name: inbe-site
path: build/site
- name: Deploy Production To Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy build/site --project-name=inbe --branch=master
BREEZE_PAGES_DISPATCH_TOKEN: ${{ secrets.BREEZE_PAGES_DISPATCH_TOKEN }}
run: |
set -euo pipefail
if [ -z "$BREEZE_PAGES_DISPATCH_TOKEN" ]; then
echo '::warning::BREEZE_PAGES_DISPATCH_TOKEN is missing'
exit 0
fi
curl --fail-with-body --silent --show-error --max-time 30 \
--request POST \
--header "Authorization: token $BREEZE_PAGES_DISPATCH_TOKEN" \
--header 'Content-Type: application/json' \
--data '{"ref":"master"}' \
'https://git.waozi.xyz/api/v1/repos/waozi/breeze/actions/workflows/pages.yml/dispatches'
+60
View File
@@ -0,0 +1,60 @@
name: Publish Amazon Appstore
# Retries the Amazon Appstore upload and submission for an already published
# release. The Release workflow runs the same script for every new version.
"on":
workflow_dispatch:
inputs:
version:
description: Published release version, such as 2.1.60
required: true
type: string
permissions:
contents: read
jobs:
publish:
name: Upload release APK to Amazon Appstore
runs-on: ubuntu-latest
timeout-minutes: 30
env:
AMAZON_CLIENT_ID: ${{ secrets.AMAZON_CLIENT_ID }}
AMAZON_CLIENT_SECRET: ${{ secrets.AMAZON_CLIENT_SECRET }}
AMAZON_APP_ID: ${{ secrets.AMAZON_APP_ID }}
VERSION: ${{ inputs.version }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download the published release APK
env:
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
if ! [[ "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "::error::version must be numeric, such as 2.1.60"
exit 1
fi
apk="inbe-$VERSION.apk"
mkdir -p build/release/android
gh release download "v$VERSION" --repo "$GITHUB_REPOSITORY" --pattern "$apk" --dir build/release/android
expected=$(gh release view "v$VERSION" --repo "$GITHUB_REPOSITORY" --json assets \
--jq ".assets[] | select(.name == \"$apk\") | .digest")
actual="sha256:$(sha256sum "build/release/android/$apk" | cut -d' ' -f1)"
if [ "$actual" != "$expected" ]; then
echo "::error::$apk digest $actual does not match the release asset $expected"
exit 1
fi
echo "Verified $apk $actual"
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Upload APK to Amazon Appstore
env:
AMAZON_RELEASE_FILE: build/release/android/inbe-${{ inputs.version }}.apk
run: node scripts/upload-amazon-appstore.mjs
+230 -53
View File
@@ -3,6 +3,14 @@ name: Publish OpenStore
on:
workflow_dispatch:
inputs:
revision:
description: Exact committed source to build (defaults to the selected ref)
required: false
type: string
build_only:
description: Verify and archive the package without publishing it
type: boolean
default: false
changelog:
description: Changelog text for the OpenStore revision
required: false
@@ -11,73 +19,202 @@ on:
description: OpenStore channel
required: false
default: focal
release:
types: [published]
push:
tags:
- "v*"
# Release-created tags/events do not start another workflow with GITHUB_TOKEN.
workflow_run:
workflows: [Release]
types: [completed]
branches: [master]
permissions:
contents: read
jobs:
source:
runs-on: ubuntu-24.04
timeout-minutes: 5
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
outputs:
revision: ${{ steps.select.outputs.revision }}
run: ${{ steps.select.outputs.run }}
steps:
- name: Select the immutable release source
id: select
env:
GH_TOKEN: ${{ github.token }}
REQUESTED_REVISION: ${{ inputs.revision || github.sha }}
OPENSTORE_CHANNEL: ${{ inputs.channel || 'focal' }}
run: |
python3 - <<'PY'
import datetime
import json
import os
from pathlib import Path
import re
import subprocess
def api(path):
return json.loads(subprocess.check_output(["gh", "api", path]))
def timestamp(value):
return datetime.datetime.fromisoformat(value.replace("Z", "+00:00"))
def finish(revision=""):
with open(os.environ["GITHUB_OUTPUT"], "a") as output:
output.write(f"revision={revision}\nrun={'true' if revision else 'false'}\n")
raise SystemExit(0)
revision = os.environ["REQUESTED_REVISION"]
if os.environ["GITHUB_EVENT_NAME"] == "workflow_run":
event = json.loads(Path(os.environ["GITHUB_EVENT_PATH"]).read_text())
repo = os.environ["GITHUB_REPOSITORY"]
release = api(f"repos/{repo}/releases/latest")
if release["draft"] or release["prerelease"] or timestamp(release["published_at"]) < timestamp(event["workflow_run"]["created_at"]):
print("This run did not publish a new stable release; no OpenStore update.")
finish()
match = re.fullmatch(r"v(\d+)\.(\d+)\.(\d+)", release["tag_name"])
assert match, "Expected a numeric published release"
version = tuple(map(int, match.groups()))
store = json.loads(subprocess.check_output([
"curl", "--fail", "--silent", "--show-error", "--retry", "3",
"https://open-store.io/api/v4/apps/inbe"]))
assert store.get("success"), "OpenStore metadata lookup failed"
for item in store["data"].get("revisions", []):
existing = re.fullmatch(r"(\d+)\.(\d+)\.(\d+)", item.get("version", ""))
if item.get("channel") == os.environ["OPENSTORE_CHANNEL"] and item.get("architecture") == "arm64" and existing and tuple(map(int, existing.groups())) >= version:
print("OpenStore already has this release or a newer one.")
finish()
revision = api(f"repos/{repo}/commits/{release['tag_name']}")["sha"]
assert re.fullmatch(r"[0-9a-f]{40}", revision), "An exact commit is required"
finish(revision)
PY
publish:
runs-on: ubuntu-latest
needs: source
if: needs.source.outputs.run == 'true'
concurrency:
# Skipped source checks and diagnostics cannot replace a pending release.
group: openstore-${{ inputs.channel || 'focal' }}-${{ inputs.build_only && 'verify' || 'publish' }}
cancel-in-progress: false
runs-on: ubuntu-24.04
# The published focal channel must use Focal's ARM64 libc and libraries.
container: clickable/ci-20.04-arm64@sha256:c6227ffcdb2abb50101a8469dd2a8df3ffd9208e04a3e07e351db63d36bec5d6
defaults:
run:
shell: bash
timeout-minutes: 90
env:
OPENSTORE_API_KEY: ${{ secrets.OPENSTORE_API_KEY }}
DEBIAN_FRONTEND: noninteractive
# Ziran runs on the builder; only Click artifacts use the cross compiler.
CC: gcc
CXX: g++
OPENSTORE_APP_ID: inbe
OPENSTORE_CHANNEL: ${{ github.event.inputs.channel || 'focal' }}
CHANGELOG: ${{ github.event.inputs.changelog || github.event.release.name || github.event.release.tag_name || '' }}
steps:
- name: Require an immutable source
env:
CANDIDATE: ${{ needs.source.outputs.revision }}
run: |
[[ "$CANDIDATE" =~ ^[0-9a-f]{40}$ ]] || { echo 'An exact commit is required'; exit 1; }
- name: Install the Focal build environment
run: |
set -euo pipefail
apt-get update
apt-get install -y --no-install-recommends \
build-essential binutils-aarch64-linux-gnu ca-certificates ccache \
click curl gcc-aarch64-linux-gnu git git-lfs jq make patchelf \
perl pkg-config tcl xz-utils zlib1g-dev libbz2-1.0 libffi7 liblzma5 \
libsqlite3-0 libssl-dev \
libsdl2-dev:arm64 libssl-dev:arm64 zlib1g-dev:arm64 \
libcairo2-dev:arm64 libpango1.0-dev:arm64 libfontconfig1-dev:arm64 \
libfreetype6-dev:arm64 libglib2.0-dev:arm64 libx11-dev:arm64
apt-get install -y --no-install-recommends libwayland-bin \
libwayland-dev:arm64 libxkbcommon-dev:arm64 libpulse-dev:arm64 libdbus-1-dev:arm64
- name: Set up build Python for Focal
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
# Last upstream Actions build that supports Ubuntu 20.04.
python-version: '3.12.10'
- name: Install current build tools
run: |
# The project uses GNU Make 4.3+ function/comment parsing.
python3 -m pip install cmake==3.28.4 fonttools==4.58.5 gnumake==4.4.1
make --version
- name: Build Focal TLS libraries
run: |
set -euo pipefail
# The locked Curl requires OpenSSL 3. Build its current LTS for
# Focal instead of importing a newer distribution's libc.
tls_source="$RUNNER_TEMP/inbe-openssl"
mkdir -p "$tls_source"
curl --fail --location --retry 3 \
https://github.com/openssl/openssl/releases/download/openssl-3.5.9/openssl-3.5.9.tar.gz \
--output "$tls_source/source.tar.gz"
printf '%s %s\n' \
603f5602e2eef00d77fbd429d34dcd5822bb301757a1bc9cdb24c670f1eb859a \
"$tls_source/source.tar.gz" | sha256sum --check -
tar -xzf "$tls_source/source.tar.gz" -C "$tls_source"
cd "$tls_source/openssl-3.5.9"
./Configure linux-aarch64 --cross-compile-prefix=aarch64-linux-gnu- \
--prefix=/opt/inbe-openssl --libdir=lib --openssldir=/etc/ssl shared no-tests
make -j2 build_sw
make install_sw
cp LICENSE.txt /opt/inbe-openssl/lib/OpenSSL-LICENSE.txt
- name: Build Focal SDL with Wayland
run: |
set -euo pipefail
sdl_source="$RUNNER_TEMP/inbe-sdl2"
mkdir -p "$sdl_source"
curl --fail --location --retry 3 \
https://github.com/libsdl-org/SDL/releases/download/release-2.32.10/SDL2-2.32.10.tar.gz \
--output "$sdl_source/source.tar.gz"
printf '%s %s\n' \
5f5993c530f084535c65a6879e9b26ad441169b3e25d789d83287040a9ca5165 \
"$sdl_source/source.tar.gz" | sha256sum --check -
tar -xzf "$sdl_source/source.tar.gz" -C "$sdl_source"
unset PKG_CONFIG_PATH
export PKG_CONFIG_LIBDIR=/usr/lib/aarch64-linux-gnu/pkgconfig:/usr/share/pkgconfig
cmake_bin="$(python3 -c 'import cmake; print(cmake.CMAKE_BIN_DIR + "/cmake")')"
"$cmake_bin" -S "$sdl_source/SDL2-2.32.10" -B "$sdl_source/build" \
-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=aarch64 \
-DCMAKE_C_COMPILER=/usr/bin/aarch64-linux-gnu-gcc \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/opt/inbe-sdl2 -DCMAKE_INSTALL_LIBDIR=lib \
-DSDL_SHARED=ON -DSDL_STATIC=OFF -DSDL_TEST=OFF \
-DSDL_WAYLAND=ON -DSDL_WAYLAND_SHARED=ON -DSDL_WAYLAND_LIBDECOR=OFF \
-DSDL_X11=ON -DSDL_KMSDRM=OFF -DSDL_OPENGL=OFF -DSDL_OPENGLES=ON \
-DSDL_PULSEAUDIO=ON -DSDL_ALSA=OFF
grep -q '^#define SDL_VIDEO_DRIVER_WAYLAND 1' "$sdl_source/build/SDL_config.h.intermediate"
"$cmake_bin" --build "$sdl_source/build" --parallel 2
"$cmake_bin" --install "$sdl_source/build"
cp "$sdl_source/SDL2-2.32.10/LICENSE.txt" /opt/inbe-sdl2/lib/SDL2-LICENSE.txt
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ needs.source.outputs.revision }}
fetch-depth: 0
lfs: true
- name: Fetch Ziran packages
uses: ./.github/actions/ziran-packages
- name: Scan Tracked Files and History
run: |
set -euo pipefail
# The SDK container runs under a different UID from the checkout.
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git ls-files -z >/dev/null
python3 scripts/check-secrets.py --working-tree
python3 scripts/check-secrets.py --history
- name: Install build dependencies
run: |
sudo dpkg --add-architecture arm64
# Ubuntu's archive/security mirrors only carry amd64/i386; arm64
# lives on ports.ubuntu.com. Pin the stock deb822 sources to amd64
# and add a ports source, otherwise apt-get update 404s on
# binary-arm64 and the install step fails.
sudo sed -i 's/^Types: deb$/Types: deb\nArchitectures: amd64 i386/' /etc/apt/sources.list.d/ubuntu.sources
printf 'Types: deb\nURIs: http://ports.ubuntu.com/ubuntu-ports\nSuites: noble noble-updates noble-backports noble-security\nComponents: main universe restricted multiverse\nArchitectures: arm64\nSigned-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg\n' | sudo tee /etc/apt/sources.list.d/ports-arm64.sources >/dev/null
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
build-essential \
binutils-aarch64-linux-gnu \
ccache \
click \
cmake \
curl \
gcc-aarch64-linux-gnu \
jq \
make \
patchelf \
pkg-config \
tcl \
zlib1g-dev \
libcurl4-openssl-dev:arm64 \
libdrm-dev:arm64 \
libegl-dev:arm64 \
libgbm-dev:arm64 \
libgles-dev:arm64 \
libsdl2-dev:arm64 \
libssl-dev:arm64 \
zlib1g-dev:arm64
- name: Build Click package
run: |
set -euo pipefail
@@ -87,19 +224,39 @@ jobs:
export AARCH64_CC="$(command -v aarch64-linux-gnu-gcc)"
export AARCH64_AR="$(command -v aarch64-linux-gnu-ar)"
export AARCH64_RANLIB="$(command -v aarch64-linux-gnu-ranlib)"
export AARCH64_PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig:/usr/share/pkgconfig
export OPENSSL_ROOT_DIR=/opt/inbe-openssl
# Cross builds cannot autodetect the device's CA store.
export CMAKE_TOOLCHAIN_FILE="$RUNNER_TEMP/inbe-focal-arm64.cmake"
cat > "$CMAKE_TOOLCHAIN_FILE" <<'CMAKE'
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR aarch64)
set(CMAKE_C_COMPILER /usr/bin/aarch64-linux-gnu-gcc)
set(OPENSSL_ROOT_DIR /opt/inbe-openssl CACHE PATH "Focal-built TLS")
set(CURL_CA_BUNDLE /etc/ssl/certs/ca-certificates.crt CACHE FILEPATH "Device CA bundle")
set(CURL_CA_PATH /etc/ssl/certs CACHE PATH "Device CA directory")
CMAKE
unset PKG_CONFIG_PATH
export AARCH64_PKG_CONFIG_PATH=/opt/inbe-openssl/lib/pkgconfig:/opt/inbe-sdl2/lib/pkgconfig:/usr/lib/aarch64-linux-gnu/pkgconfig:/usr/share/pkgconfig
export PKG_CONFIG_LIBDIR="$AARCH64_PKG_CONFIG_PATH"
export AARCH64_RAY_SDL_CFLAGS="$(pkg-config --cflags sdl2)"
export AARCH64_RAY_SDL_LDLIBS="$(pkg-config --libs sdl2)"
export AARCH64_RAY_GL_CFLAGS="$(pkg-config --cflags libdrm gbm egl glesv2)"
export AARCH64_RAY_GL_LDLIBS="$(pkg-config --libs libdrm gbm egl glesv2)"
export AARCH64_RAY_CFLAGS="$AARCH64_RAY_SDL_CFLAGS $AARCH64_RAY_GL_CFLAGS"
export AARCH64_RAY_LDLIBS="$AARCH64_RAY_SDL_LDLIBS $AARCH64_RAY_GL_LDLIBS"
export AARCH64_RAY_SDL_INCLUDE_DIR=/usr/include/SDL2
export AARCH64_KRYON_CURL_CFLAGS="$(pkg-config --cflags libcurl)"
export AARCH64_KRYON_CURL_LDLIBS="$(pkg-config --libs libcurl)"
export AARCH64_CLICK_RUNTIME_LIBS="/usr/lib/aarch64-linux-gnu/libSDL2-2.0.so.0 /usr/lib/aarch64-linux-gnu/libcurl.so.4 /usr/lib/aarch64-linux-gnu/libssl.so.3 /usr/lib/aarch64-linux-gnu/libcrypto.so.3 /usr/lib/aarch64-linux-gnu/libdrm.so.2 /usr/lib/aarch64-linux-gnu/libgbm.so.1 /usr/lib/aarch64-linux-gnu/libEGL.so.1 /usr/lib/aarch64-linux-gnu/libGLESv2.so.2 /usr/lib/aarch64-linux-gnu/libz.so.1"
make CLICK_ARCH=arm64 click
# Kryon's desktop host: SDL2 windows drawn with Cairo and Pango.
desktop_host_packages="sdl2 cairo freetype2 pangocairo fontconfig gio-2.0 x11"
export AARCH64_DESKTOP_HOST_CFLAGS="$(pkg-config --cflags $desktop_host_packages)"
# Search bundled TLS and SDL before the SDK's older system copies.
export AARCH64_DESKTOP_HOST_LDLIBS="-L/opt/inbe-openssl/lib $(pkg-config --libs $desktop_host_packages)"
click_curl_dir="$PWD/vendor-builds/click/arm64/curl"
export AARCH64_KRYON_CURL_CFLAGS="-DCURL_STATICLIB -I$click_curl_dir/include"
export AARCH64_KRYON_CURL_LDLIBS="$click_curl_dir/lib/libcurl.a -L/opt/inbe-openssl/lib -lssl -lcrypto -lz -lpthread"
# The framework supplies graphics libraries for the device's GPU.
atomic_runtime="$("$AARCH64_CC" -print-file-name=libatomic.so.1)"
export AARCH64_CLICK_RUNTIME_LIBS="$(pkg-config --variable=libdir sdl2)/libSDL2-2.0.so.0 /opt/inbe-sdl2/lib/SDL2-LICENSE.txt /opt/inbe-openssl/lib/libssl.so.3 /opt/inbe-openssl/lib/libcrypto.so.3 /opt/inbe-openssl/lib/OpenSSL-LICENSE.txt $atomic_runtime /usr/lib/aarch64-linux-gnu/libz.so.1"
for runtime_file in $AARCH64_CLICK_RUNTIME_LIBS; do
test -f "$runtime_file"
done
# Make otherwise prefers the SDK's older /usr/bin/cmake.
export CMAKE="$(python3 -c 'import cmake; print(cmake.CMAKE_BIN_DIR + "/cmake")')"
"$CMAKE" --version
make CMAKE="$CMAKE" LDFLAGS="-Wl,--gc-sections -s -L/opt/inbe-openssl/lib" CLICK_ARCH=arm64 click
python3 scripts/check-click-abi.py build/dist/click/*.click
- name: Show package contents
run: |
@@ -108,8 +265,28 @@ jobs:
echo "Built $click_file"
dpkg-deb --contents "$click_file" | grep -E 'manifest.json|inbe.png|metainfo|inbe.desktop'
- name: Archive the verified package source and digest
run: |
mkdir -p build/release/openstore
cp build/dist/click/*.click build/release/openstore/
git rev-parse HEAD > build/release/openstore/source-commit.txt
cd build/release/openstore
sha256sum *.click > SHA256SUMS
- name: Preserve Click artifact
uses: actions/upload-artifact@v4
with:
name: openstore-click
path: build/release/openstore/*
if-no-files-found: error
- name: Publish to OpenStore
if: ${{ !inputs.build_only }}
env:
OPENSTORE_API_KEY: ${{ secrets.OPENSTORE_API_KEY }}
run: |
set -euo pipefail
version="$(python3 scripts/check-version.py --print-version)"
python3 scripts/check-phone-check.py "$version" --revision "$(git rev-parse HEAD)"
click_file="$(ls -t build/dist/click/*.click | head -1)"
scripts/publish-openstore.sh "$click_file"
File diff suppressed because it is too large. Load diff
+25 -1
View File
@@ -15,6 +15,10 @@
.ccache
*.wasm
build/
/backup/
/work/
/notes/
/output/
tmp/
vendor-builds/
node_modules
@@ -26,7 +30,6 @@ node_modules
.env
.env.play
.secrets/
social-posts.local.json
/inbe.log
@@ -70,3 +73,24 @@ __pycache__/
/pro/
.kotlin/
ziran.local.toml
# Sun salutation reference videos and frames, and check images; the
# renderers write their videos and frames under build/.
design/sun-salutation/*/reference.mp4
design/sun-salutation/*/reference-*.png
design/sun-salutation/generated-video-cut/source.mp4
design/sun-salutation/girl-parts/head-layers-check.png
.wrangler/
# Video and promo working material stays local (owner 2026-10-23).
/design/promo-film/
/design/videos/
/design/lumi-promo/
# Sun Salutation motion exported for the three.js lab (render-sun-salutation-live.py --motion).
/design/tai-chi/lab/
# Generated Android test classes and Gradle fixtures.
/tests/android-diary-photo/bin/
/tests/android-text-selection/bin/
-9
View File
@@ -1,9 +0,0 @@
[submodule "vendor/rini"]
path = vendor/rini
url = https://github.com/raysan5/rini.git
[submodule "vendor/sqlite"]
path = vendor/sqlite
url = https://github.com/sqlite/sqlite
[submodule "vendor/kryon"]
path = vendor/kryon
url = https://github.com/kryonlabs/kryon.git
+107 -7
View File
@@ -1,8 +1,108 @@
# Inbe Agent Instructions
# Inbe repository rules
- Never edit files under `vendor/` from this repository.
- Kryon changes must be made in the core Kryon repository, committed there, pushed there, and then brought into Inbe by updating the Kryon submodule pointer.
- Do not add tests, policy checks, wrappers, compatibility aliases, or generated changes inside `vendor/` from Inbe.
- If a task appears to require a vendor change, stop and switch to the upstream project workflow first.
- When adding or changing localized strings, translate the content for every locale file being touched. Do not copy English placeholder text into non-English locales.
- Run `make no-vendor-edits` or `make test` before handing work back when a task touches Kryon or other vendored code.
## Ownership and releases
- Dependencies are Ziran packages pinned in `ziran.toml`/`ziran.lock` and
linked under `build/packages/`; there is no `vendor/`. Never edit a package
checkout. Change Kryon (or any dependency) in its own repository on `master`,
commit and push there, then run `ziran update NAME` here and commit
`ziran.lock`. Run `make package-check` after dependency changes. For local
debugging, map a package to a working repository in the ignored
`ziran.local.toml`; release builds use `PACKAGE_FLAGS=--locked`.
- Practice media (pictures, course data, recordings) lives in the
`practices` package (waozixyz/practices), not under
`assets/`. Commit media there, then update the lock here.
- Bump versions only for a release actually being made. Until then, note
every change under one `## [Unreleased]` section of `CHANGELOG.md` (and of
`apps/<app>/CHANGELOG.md`); App packages waits for the next version. At
release, number that section, then run `./update_version.sh`.
The canonical macros are `APP_VERSION_STRING`, `APP_VERSION_MAJOR`,
`APP_VERSION_MINOR`, and `APP_VERSION_PATCH`; do not create aliases.
Only the GitHub Actions release workflow creates or pushes release tags.
- A new version publishes only with a passing phone check of its exact app
content (`app_tree` over `APP_PATHS` in `scripts/phone-check.py`). Release
with `RELEASE_READY_REVISION=COMMIT make release-ready`, then
`make release REVISION=COMMIT APK=PATH BUILD_RECEIPT=PATH` with the development
Moto connected. The APK and its provenance come from the same fixed-source
overlay. Master, locks and peer edits keep changing freely. The release
commit retains the tested source; if master advanced, a merge preserves
all newer source and history. The workflow can release that exact commit
through its `revision` input. Never freeze the checkout for testing.
See [docs/apps.md](docs/apps.md#verification).
- Packages declare the oldest host interface they run on (`host_api` per app
in `apps/versions.json`); the host runs `oldest_host_api` to `host_api`.
Raise `host_api` when the host interface changes and `oldest_host_api` only
when it can no longer run older packages. `make package-compat-test` runs
the node's packages in this build and new packages in the last release.
`zx_revision` there is the ZX executable revision the host runs; update
checks send it and the node offers only packages whose `.zx` header has
it, and the publisher refuses a payload of another revision. Change it
with the Ziran pin, together with `oldest_host_api` and `host_api`.
- Goal (owner, 2026-10-11): every app updates through its own package
without a new APK. Work toward it in small steps alongside requested work;
discuss larger moves with the owner first. Put app screens, rules and text
in `apps/<app>/`, not in the host under `src/`. Practices draws its
screen layouts in `apps/practice/`; its native figure painters and
platform effects remain host capabilities (see [docs/apps.md](docs/apps.md)).
Keep the host interface small and generic (storage, network, locale,
platform effects), because
each new host call needs an APK before a package can use it. Apps share
data only through the host interface, never another app's internals.
- Translate changed strings in every affected locale; no English placeholders.
- Keep Breeze/Lumi/store notes to 2–3 short core, Practices or Habits lines, without links or Android versions; game changes belong only in their package changelogs.
- `make locale-translated-test` fails on any locale string that still equals
its English text. Translate it; add it to `tests/locale_same_as_english.txt`
only when it is a real brand name, loanword, or format string.
## Machine-checked contracts
- `make build-laws` is mandatory for native, web, and Windows artifacts;
Gradle and CMake enforce the same version and proof checks independently.
Never bypass a failed gate.
- Laws are Ziran `#law` obligations checked by `ziran check`. Retry behavior
lives in `src/app/sync_retry.zi` with its laws in `sync_retry_laws.zi`;
private-data names live in `src/storage/storage_layout.zi` with laws in
`storage_layout_laws.zi`. Change the implementation freely, but do not
weaken laws to make an implementation pass. Contract changes require
explicit product intent and separate review from implementation changes.
- Run `make proof-test sync-recovery-test version-test` for these contracts.
Coverage, trust boundaries, and the next proof migrations are described in
[docs/build-laws.md](docs/build-laws.md).
## Public UI and sync boundaries
- Use Kryon's namespaced widgets directly, each imported by package
(`Text :: #import "kryon/text";`): `Text.Draw(session, Text.Props)`,
`Image.Draw(session, Image.Props)` and `Button.Draw(session, Button.Props)`.
Semantic images use the same `Image` surface; file pictures come with
`kryon/image` and button icons with `kryon/icon`. No positional Text,
`Kryon`/`Widgets` facades, legacy drawing calls, alternate widgets, or thin
local forwarding wrappers. Keep meaningful compositions and gestures; use
standard `Checkbox.Draw` and `Toggle.Draw`.
Run `make clean-text-api-check button-api-check` for UI changes.
- If a required widget capability is missing, implement the reusable primitive
upstream first. Do not work around it in Inbe or generated code.
- Use sync protocol v6 and the clean Kryon API; no new `Ksync` names or wrappers.
Remove old wire projections and format fallbacks as the storage and sync
modules are converted to current Ziran. Keep the current protocol and data
model in Inbe rather than adding compatibility adapters.
- Keep on-disk schema and user-data upgrade paths. Convert their implementation
to checked Ziran; do not delete a migration merely because it handles an old
database. An upgrade must preserve existing data, and its replacement needs
a test using an older database fixture before the prior path is removed.
- A `.zi` filename is not a completed migration. All owned application
behavior, including storage upgrades, must compile as current Ziran. Prefer
direct Ziran foreign imports for native libraries; migrate owned C adapters
as Ziran gains the required ABI support. Never keep application policy in C.
## Product behavior and readability
- Desktop focus loss must not pause practices, freeze animation, suppress
updates, or enter the mobile background-timer path. Preserve mobile/web
lifecycle handling and explicit user pause as separate behavior.
- Preserve hover, press, and focus transitions. Session audio controls have
44-unit targets (24-unit icons plus 10-unit padding), scaled and spaced.
- Lists starts with list tabs, without a separate title bar or dropdown.
- Use descriptive names, explicit control flow, and focused helpers. Never
compress multiple statements, branches, declarations, or checks onto one line.
Format changed source, inspect the final diff, and run `git diff --check`.
+725 -1
View File
@@ -1,4 +1,728 @@
# Changelog
## [Unreleased]
- Fix Backspace, editing and backup restores. Find Photos and Radio faster. Buy Dew with Telegram Stars.
- Start practices cleanly, switch smoothly, resume sessions, and see download progress and Android picture-in-picture.
- Reset break timers after time away, match coins and timers to the theme, and claim daily coins in Habits.
- See the animated Inner Breeze homepage with a simpler footer and reduced-motion support.
- Find the right installer or launch the web app from the homepage’s platform cards.
### Web app
- Open the desktop browser app at a normal scale and keep your Appearance setting.
## [2.1.63] - 2026-11-05
- Correct text in lists and Lumi without cursor jumps.
- Keep Lumi chat ready while replies arrive, with Send and Cancel for developer reports.
- See color purchase totals and reward frequency in the shop.
## [2.1.62] - 2026-11-03
- Clearer Sun Salutation guidance and steadier practice audio.
- More reliable habit reminders and new reward pictures.
- Safer account backups and more reliable sync.
## [2.1.61] - 2026-10-29
- Sync no longer gets stuck after something is deleted.
- Photos in Trash stop using storage and are deleted after 30 days unless Diary shows them.
- Cleared remote data stays 30 days; importing the same key brings it back.
- The download is about 16 MB smaller.
- Chinese, Japanese and Korean text displays correctly.
- More of the app is translated, including Profile and update notes.
## [2.1.60] - 2026-10-29
- Hide apps from the library and restore them through Edit.
- Use one simple reorder grip to the left of app icons in list and grid views.
- Unify Profile rows and put sent friend requests beside names with a cancel action.
## [2.1.59] - 2026-10-28
- Keep habits, practices, session counts and game progress free of storage charges, even when account storage is full.
- Count custom notes, Diary and media toward storage, and keep progress syncing past queued uploads that need more space.
- Show full public IDs in centered, grouped fields.
- Connect automatically to Sunup when it is installed, while keeping an explicit push-off choice off.
- Turn habit reminders on by default for setups without a saved choice.
## [2.1.58] - 2026-10-28
- Show friend pictures and equipped Apfelwurm skins in leaderboards; hide repeated headings and single-choice selectors.
- Keep downloaded Arcade games and saved progress across updates.
- Show premium username prices, confirm Dew purchases and open top-up when needed. Existing usernames stay free to keep.
- Align Profile leaderboard columns and improve Friends input, profile pictures and app rearranging.
## [2.1.56] - 2026-10-28
- Open the keyboard when editing an account alias and copy the complete public ID from Profile.
- Show a full public ID where it fits; tap it for a scannable QR code and the full ID to copy.
- Use one shared Profile leaderboard, including Apfelwurm’s score and level alongside puzzle and practice rankings.
## [2.1.55] - 2026-10-27
- Retry Google Play prices when the store cannot load Dew packs.
- Open apps with a calmer, themed loading screen and their own icon.
- Learn Apps in one short guide, with current app options.
## [2.1.54] - 2026-10-27
- Buy Dew through Google Play in the Google Play version.
## [2.1.53] - 2026-10-27
- Top up Dew with Bitcoin, USDT and other coins through dew.waozi.xyz.
- The Google Play version uses current Android components.
## [2.1.52] - 2026-10-27
- Set an account alias with capitals, an @ or spaces; a taken alias now says so.
- Restore audio playback and account sync on Ubuntu Touch.
## [2.1.51] - 2026-10-27
- Open Link to reliably while choosing a new habit's icon.
- Choose diary, notebook, pen, pencil, writing, notes, keyboard and idea icons for habits and rewards.
- Link habits to Diary entries and add a linked habit after a practice's first session.
- Get a short count-in before each workout exercise.
## [2.1.50] - 2026-10-26
- Habits award coins when you record a recent day before you created the habit.
## [2.1.49] - 2026-10-25
- Download Arcade in under one megabyte; its games and their covers arrive separately.
- Arcade’s covers show only the game art; the download dialog shows the size.
- Install game editors with their required games and review the complete download size.
- Reuse Shovey’s downloaded artwork and sounds in its editor.
## [2.1.48] - 2026-10-25
- Arcade uses large rounded game covers in the same dark library on every device.
- Download Apfelwurm and other Arcade games individually while keeping installed games and saves.
## [2.1.47] - 2026-10-25
- App downloads show their progress and open the app when ready.
- Installed apps no longer show download sizes.
- Arcade can download each game separately from its smaller catalog.
## [2.1.46] - 2026-10-24
- Practices can update its session controls, guides and settings without reinstalling Breeze.
- Wim Hof reminders now count from the start of each breath hold, with clear Off, every 30 seconds and every minute choices.
- Dew works in every version of the app; the Play version doesn't offer top-ups yet.
- Prices show in Dew; the dollar value appears only when you top up.
- Games can reward you with Dew, such as Shovey's secret chest.
- 1 XMR now buys 10,000 Dew: your balance and every price are ten times larger and worth the same.
- Sending Dew to friends is paused for now.
## [2.1.45] - 2026-10-24
- Smoother on phones: apps run as native code, and Shovey runs over twice as fast.
- Apps ask before downloading and show one loading animation.
- Games repeat held keys and keep the screen on.
- Finishing an Arcade level no longer turns the screen black.
- New installs follow your device's language and start with Diary, Lists and Leaderboard.
- Diary and Photos keep each photo once, privately, for all your apps.
- Profiles show your @name or a short ID.
- Linux tray: Show or Hide comes first.
## [2.1.44] - 2026-10-23
- Lists: lists are chips that wrap onto more rows; pull the items down to show finished ones.
- Lists: the gear on a list opens its settings: name, who has access and their roles, invitations, and Delete.
- Your profile picture is shared with friends, and shared lists show everyone's pictures.
- Sun Salutation moves smoothly, like Tai Chi and the workout.
- On Linux the program is now called breeze.
## [2.1.43] - 2026-10-23
- Lists: tap an item to finish it, swipe right to edit it and swipe left to delete it.
- The desktop practice window has its own sound, Breath and double-tap controls.
- Sun Salutation follows the classic chart poses, and its guide shows the whole sequence.
- Jumping jacks in the 7-Minute Workout follow a calmer pace.
- Switching to and from Apps is quicker.
## [2.1.42] - 2026-10-22
- Keep practice animation smooth in the browser.
- Keep navigation responsive while apps open or update, including during a running practice.
- Restore clean F-Droid builds.
- Show distinct Photos, Radio and Library icons in Apps, including before installation.
- Open your shared Entity profile beside Settings, with your existing account and Dew balance.
- Follow a gentler Sun Salutation pace, with seconds per breath, a duration estimate and clearer audio settings.
- Keep knees and elbows aligned through Sun Salutation's Low Lunge and Knees, Chest and Chin transitions.
- Keep Sun Salutation repetitions and tempo, and Tai Chi lesson details, in linked habit sessions and across account sync.
- About lists only installed apps; published apps appear in More apps without a beta setting.
- Start installed practices reliably from Lumi while their content opens.
- See Dew and activity directly in Profile, with data management inside the Dew card.
- Achievement alerts name the award at the top right and can be turned off.
## [2.1.41] - 2026-10-22
- Reduce practice-animation stutter on slower browsers.
## [2.1.40] - 2026-10-22
- Keep practice animations smooth in browsers on slower devices.
## [2.1.39] - 2026-10-22
- Fix account sync, Shop borrowing and history, Android key backups and Profile navigation.
- Share photo storage between Diary and Photos and compress new uploads.
- Keep practice guides visible, browser animations smooth and web saves recoverable.
## [2.1.38] - 2026-10-21
- Track habits you want to avoid with a daily target of 0.
- Set custom coins per occurrence, including negative penalties and 0.
- Simplify Apps editing, settings, navigation and app loading; make Photos available to everyone.
- Diary and Photos share saved images and automatically compress new photo uploads.
- Fix Profile headers, scrolling, dialogs, font freezes and Android key backups.
- Fix large-account sync, false sync failures, sharing controls and activity and achievement views.
## [2.1.37] - 2026-10-20
- Leaderboard ranks each installed practice and each Arcade game you play, such as Shovey's levels solved.
- Swipe left or right to move between Practice's tabs.
- Astral Projection has its own cover, plus How to and Customize like the other meditations.
- Apps can keep their own colours inside Inner Breeze, so games look like themselves.
- Astral Projection has a gently floating animated figure and a shorter introduction.
- Existing profiles receive the Exercise preset linked to Workout, while deleted presets stay deleted.
- Narration can finish downloading during a practice and begin speaking the current guidance.
- Download errors use a short message without repeating that progress is saved.
- Profile brings activity, data, friends and achievements into consistent rows, with node settings under Account.
- Every achievement has its app's badge; filter the collection by apps installed on this device.
- Lists names who each list is shared with, and sharing is one icon.
- Diary can reopen immediately after closing while a download helper is still running.
## [2.1.36] - 2026-10-19
- Inner Breeze starts several times faster: installed apps such as Arcade open when you go to them.
- Opening Arcade takes a moment instead of several seconds on slower phones.
- An app you tap while it is still downloading opens as soon as it is ready.
- An app not yet on this device shows a download symbol, and its card shows the download's progress.
- Lists, Habits, Apps, Lumi, Arcade and Pushy draw faster and scroll more smoothly.
- Scrolling Habits no longer moves or opens a habit; hold a habit a little longer to move it.
- Drag the border beside habit names to widen or narrow the names column.
- Astral Projection: a 40-minute guided visualization with offline text and English narration.
- Sun Salutation follows the classic sequence: lunges with a knee down, knees, chest and chin, and cobra, switching legs each round.
- New 7-Minute Workout: twelve 30-second exercises shown by an animated guide, with rests, a countdown and tips.
- Practice has tabs for Meditation, Yoga, Martial arts and Workout; install or unlock any practice from its card.
- Breathing, meditation, Astral Projection and the workout come with the app, ready without a download.
- Leaderboard lists every practice you have installed, including Tai Chi and
Astral Projection, in your Practice order, and leaves out the others.
- Lumi shares a few changelog highlights in chat after an update, once per version.
- Manage your name, picture and sync nodes in the redesigned Self profile.
- Install Radio to listen to three live ambient stations while using other
apps and practices, with separate volume controls.
- Open installed apps directly from Android, Windows and Linux launcher
shortcuts, using each app's existing account and data.
- Manage apps through a compact three-dot menu with Pin, Unpin and Install
to launcher. Clear Apps search with the × shown while it contains text.
- Rename any app and choose its icon in Properties, in the app's three-dot
menu. An update not yet installed or seen shows as a dot on that menu,
with Update at the top.
- Choose guide and practice voices during setup, with download sizes for the
selected language. Both start selected; you can turn them off or skip audio.
- Go back from optional audio to correct the language, including during a
download. Your choices survive restarting the app.
- Use larger setup controls and continue directly when both voices are off.
- Android accessibility services can read controls and activate, focus and
scroll them. Password values stay hidden.
- Habits' save, discard and delete confirmations can improve through Habits
updates while keeping existing data and older installed packages working.
- Apps from the node show their own icon on Apps and in the navigation as
soon as they are installed, not a plain grid until they first run.
- A day a habit is not scheduled on no longer takes a tap, so its empty
space cannot add a check mark. An off day with something recorded on it
still opens.
- Developer replies to your feedback appear in Lumi as replies from the
developer, quoting the feedback they answer, like a reply in a chat app.
Replies you received earlier change to this look too, and each reply shows
once even when several of your devices fetched it.
- Settings › About lists the version of the Inbe harness, the package that
carries the apps and updates them without a new app release, then each app
you installed, including apps from the node.
- Open a web link in a Lumi message by tapping it in the message's words,
where it shows in the theme's link color. Right-click a message to copy it.
- Apps from the node open only once they are on your device. An installed
one starts when you open it; one still downloading stays closed instead of
showing "Installing this app".
- Chess moves into Arcade, a set of games that also has Pushy, so the
standalone Chess app no longer shows in your apps or More apps. Install
Arcade from More apps to keep playing your saved and friend Chess games.
- Habits earn coins, more for hard ones, to spend on your own rewards in the shop.
- The habit shop scrolls smoothly, even with its grid of symbols open.
- Rewards can show 28 more symbols, such as weed, cigarettes, beer, wine, fast food, sweets, TV and games.
## [2.1.35] - 2026-10-17
### Added
- Chess in More apps: play the computer or a friend.
- More apps shows new node apps without updating.
- Settings › About › Show beta apps lists apps in testing.
- Photos (beta): your photos by day, encrypted, on all devices.
- Diary is Markdown with inline photos, kept in Photos; each day has a gallery.
### Changed
- Photos go to every node with photo upload on.
- Answer a developer's reply through Lumi.
### Fixed
- Sideways camera photos are upright in Diary on desktop.
## [2.1.34] - 2026-10-15
### Added
- Dew in Profile: top up with Monero in its own window, and pick Free, 1 GB or 5 GB storage priced in Dew. Every Dew amount, from your balance and plan prices to the Tai Chi price, also shows its value in XMR and US dollars, and top-ups show the dollar value of Monero. Monero is offered only outside Google Play.
- Share a list after a friend accepts its invitation.
- 24-form Tai Chi with progress, characters, music and spoken guidance, unlocked once with Dew and recognised on every device of your account, with its discount and download size shown before unlocking (not on Google Play).
### Changed
- Reliable Dew balances, with minimum top-ups and confirmations.
- Manage practice downloads in one window on the Practice screen.
- Tai Chi narration in a female or male voice, chosen in Tai Chi's Customize; the monk speaks with the male voice.
- Choose each practice's narration language in its Customize, from a list where an icon downloads or removes each language. Narration in the app's language downloads by itself, and Lumi's guide voice now downloads in the app's language instead of coming inside the app.
- Compact Lists tabs and larger task controls.
- Lists tabs look like tabs: the open list is underlined, with no box around the row.
- Lists' Share and Invitations open in a compact dialog over the list.
- Top up Dew centers the Monero address under its QR code.
- Profile shows how much of your storage is used, with a bar, next to your plan and in Storage plans.
- Free storage is 20 MB. Profile shows the free storage your sync node gives instead of a fixed size.
- Diary photos sync as one encrypted copy each, about the photo's own size on your sync node instead of about four and a half times, and are no longer stored twice on your device. Photos added before upload the same way and free their old space on the node.
- Every practice is optional: Practice shows only installed ones. Wim Hof comes installed and can be removed; Meditation and Breathing Patterns come with the app and are added without a download.
- Manage practices lists every practice with its size and one button: Install, Buy for a paid practice, Cancel while it downloads, or Uninstall once it is on Practice. Uninstalling a downloaded practice asks once, then frees the space; one that comes with the app just leaves Practice. Drag a practice by its handle onto another to change the order Practice shows them in. Your progress stays either way.
- Lumi asks to download or unlock a practice before starting one that isn't on your device.
- A new install comes with Lumi, Habits and Practice, in that order; add Lists, Diary and Leaderboard from More apps. The apps you install or remove and the order of your pinned apps follow your account to your other devices, and a newly signed-in device takes your account's apps instead of replacing them.
### Removed
- Donations: the reminder, About's Donate button and Lumi's donation links. Dew is how you pay in Inner Breeze.
### Fixed
- Sync no longer gets stuck on Review sync changes: Android merges large changes again, and a closed review stays closed until your account has newer data.
- Android: closing the floating practice window with its X ends the practice.
- Practice downloads show their real size, and each practice's pictures come only with its download.
- Diary adds every photo you pick, online or offline, even when your sync node is full. A full node only keeps new photos from syncing there.
- Practice no longer gets stuck showing another device's practice after that device closed during it: a session that stops updating for a minute is gone, and a device that closed mid-practice ends its session when it opens again. Another device's practice always has Close, and one that stopped updating has End this session.
- Habits no longer jump when you open a habit or Inactive habits: when the table will need to scroll, its scrollbar shows from the start, with the days that fit beside it.
## [2.1.33] - 2026-10-13
### Added
- Lumi guides you through each screen.
- Lumi understands habit requests offline.
- Lumi asks before going online.
- Your own AI provider for Lumi.
- Tap Lumi and she swirls.
### Changed
- Sun Salutation follows your breath.
- Span habits: one Good when, length first in statistics.
### Fixed
- Synced habit settings and days never revert to older copies.
- Android: opens about two seconds faster.
- Desktop tray shows the current logo.
- Progress bars fill visibly in every theme.
## [2.1.32] - 2026-10-13
### Added
- Drag habits to reorder or deactivate them.
- Habits get icons, schedules, times and daily questions.
- Questions can compare with your average.
- Apps asks before downloading app updates.
### Changed
- Habits is a table of the last seven days.
### Fixed
- Android: the floating practice window opens from Recents and shows results.
- The donation reminder shows on one device only.
- Held keys repeat in text fields.
- The breathing count is readable; older habit entries edit again.
## [2.1.31] - 2026-10-11
### Fixed
- Android: after the floating practice window, the app fits the screen again instead of running under the status bar and navigation and losing its sides.
## [2.1.30] - 2026-10-11
### Fixed
- Long menus, such as the colour theme, scroll by touch and open at your choice.
- With a menu open, tapping the navigation closes it and switches screens in one tap.
- Menus stay above the navigation instead of hiding their last options behind it.
- Web: the app is sharp on high-density screens instead of magnified and blurry.
### Changed
- Icons are sharper on the web.
## [2.1.29] - 2026-10-11
### Fixed
- Scrolling Lumi's commands keeps the keyboard open.
- New habits show each colour choice in its own colour.
- Leaving Wim Hof no longer freezes the app for a few seconds.
- The app no longer freezes just after launch while it checks for app updates.
### Changed
- Scrollbars use your theme's colours and show how much is in view.
- Apps rearranges to fill the window's width.
## [2.1.28] - 2026-10-10
### Added
- Connect a phone and a computer by QR code in Profile.
- Leaderboard is its own app.
- Profile > Data shows each sync node's storage.
### Changed
- Profile holds your account, data and Telegram; Settings holds device preferences.
- Diary shows bold text as bold.
- On desktop, a minimized practice opens in its own window.
### Fixed
- Linux: text uses Inner Breeze's fonts again.
- Smoother minimized breathing count.
- The desktop close prompt shows above Apps.
## [2.1.27] - 2026-10-10
### Added
- End a held breath from the minimized practice window with Breath or a double tap.
- Lumi feedback includes the app version, device and system.
### Fixed
- Picture-in-picture opens when you leave Inbe during a practice and returns to it.
- Lumi keeps answers that arrive during picture-in-picture.
- Lumi says whether feedback reached the developer and keeps it to retry.
- Feedback saved by older versions is now sent.
- Fix a startup crash on 32-bit Android phones.
## [2.1.26] - 2026-10-09
### Added
- Detach a running practice into its own resizable desktop window.
- Keep the practice visible over other Android apps with picture-in-picture, which you can turn off in Settings.
### Changed
- The minimized practice window is taller and shows the breath count, time left or phase.
- Diary saves quietly, without a "Waiting to save" note.
### Fixed
- Show the keyboard in Diary on Android.
- Keep the practice window over Apps.
- Open Lumi without freezing the practice window.
## [2.1.25] - 2026-10-09
### Changed
- Minimized practices show their live circle or figure in a resizable window and return to the page you started them from.
### Fixed
- Stop syncing from pausing the breathing circle while you practice.
- Keep breath sounds playing while a practice is minimized.
- Animate the Wim Hof breathing circle smoothly, including its Customize preview.
- Keep Wim Hof timing accurate when the frame rate varies.
- Skip repeated account checks on unchanged animation frames.
## [2.1.24] - 2026-10-09
### Fixed
- Open the breathing animation, background music and other menus reliably again.
- Use the In / Out breathing animation you choose in Wim Hof sessions.
- Offer Test for your own imported music instead of "Audio not installed".
- Keep the breathing circle smooth on phones signed in to an account.
## [2.1.23] - 2026-10-09
### Added
- Customize KSS in Appearance with live preview, per-app styles, an inspector, undo, and reset to defaults.
- Ask Lumi to read, preview, and save appearance changes while preserving your existing customizations.
### Fixed
- Keep Telegram as input to Lumi without bot notifications; retain messages, replies and full history in Lumi.
## [2.1.22] - 2026-10-08
### Added
- Minimize a running practice into a small window and keep using the app.
### Fixed
- Keep Diary opening with existing entries in the same account.
- Keep practices and sound running in the background.
- Support swipe typing and corrections from Android keyboards.
- Stop repeated Lumi chat uploads.
- Keep navigation visible on the practice home screen.
- Open Lists, Diary and settings faster.
- Lumi in Telegram replies in seconds and shows your tasks and habits.
## [2.1.21] - 2026-10-08
### Changed
- Clearly mark the selected app in navigation and Apps, including while hovering or pressing.
### Fixed
- Keep text sharp and stable throughout the zoom range.
- Keep Appearance labels readable at large zoom by wrapping them above their controls.
- Keep the selected navigation shortcut visible when changing apps or zooming on narrow screens.
## [2.1.20] - 2026-10-08
### Changed
- Keep Apps beside your desktop favorites without a large empty gap.
- Open Profile beside Settings in Apps, without a fixed desktop Profile shortcut.
### Fixed
- Fix blank desktop pages when regional settings use comma decimals.
## [2.1.19] - 2026-10-08
### Added
- Create or restore an account in Telegram's Mini App, with an encrypted recovery backup saved on your device.
- Connect Telegram with approved, expiring Lumi access without sharing your account's private key.
### Changed
- Keep Telegram access limited to Lumi and let you revoke it from Inbe.
### Fixed
- Preserve existing account data when account setup or recovery is cancelled or fails.
## [2.1.18] - 2026-10-08
### Changed
- Show each app's bundle size in Apps and favorites.
- Start with the searchable Apps screen and ready-to-use apps, without an install chooser.
- Give new users Lumi, Habits and Practices as their first three favorites.
- Arrange favorites by dragging app tiles in Apps, with no separate Apps and Favorites settings page.
- Remove the extra Inbe heading above Apps.
## [2.1.17] - 2026-10-07
### Changed
- Choose apps from a searchable library with a compact favorites dock on mobile and desktop.
- Pin up to two favorites without removing other apps or their saved data.
- Open Profile and Settings from the app library, with a Profile shortcut on desktop.
## [2.1.16] - 2026-10-07
### Changed
- Open faster by keeping feature packages loaded and loading language fonts only when needed.
- Use Android's installed fonts with automatic character fallback where available.
- Prepare Android audio when first used so it no longer delays opening the app.
### Added
- Show a loading indicator on Android until the first app screen is ready.
## [2.1.15] - 2026-10-07
### Fixed
- Open Telegram sync links on Android when the installed chat app is hidden from app availability checks.
- Open Lumi in the installed Telegram app on Android, with a web link available when Telegram is not installed.
## [2.1.14] - 2026-10-07
### Changed
- Scroll up through Lumi chat history without Older and Newer buttons, keeping your place when replies arrive.
- Connect, view connection status and disconnect Telegram from Settings under Sync with Telegram.
## [2.1.13] - 2026-10-07
### Changed
- Merge sync data directly from the action buttons below the change list, without a separate Apply step.
- Review clearer sync changes with colored additions, removals and edits, and fewer repeated or empty details.
## [2.1.12] - 2026-10-07
### Fixed
- Display bold emphasis in Lumi replies and recognize app feature suggestions as feedback offline.
- Keep app text visible when upgrading to the new Lumi formatting.
## [2.1.11] - 2026-10-07
### Added
- Ask Lumi for progress charts and donation links directly in chat.
- Talk naturally with Lumi online, with a daily account allowance and access to app actions.
- Save app feedback from chat, send it when connected, and receive developer replies in Lumi.
### Fixed
- Keep feedback available when online chat is disabled or its allowance runs out.
## [2.1.10] - 2026-10-06
### Fixed
- Open and scroll Lumi smoothly, including longer conversations.
- Use a checkmark for Lists so it is easy to distinguish from Diary.
## [2.1.9] - 2026-10-06
### Fixed
- Keep hidden apps installed so adding them back to the sidebar works immediately offline.
- Preserve the selected page during upgrades and restore missing shortcuts for selected apps.
- Keep the interface responsive if an app fails to reset, and reduce repeated work in Lumi chat.
- Open the Android keyboard correctly when writing to Lumi.
## [2.1.8] - 2026-10-06
### Changed
- Call sidebar items Apps throughout setup and settings.
- Use Shift+Enter for a new line in Lumi chat and Enter to send.
### Fixed
- Save Diary entries from Lumi chat with the current time above your message, including multiline text.
- Ask for the entry text when a Diary request is sent without it, and keep replies short when a request is unclear.
- Show Lumi’s mirrored avatar beside replies so the companion faces the conversation.
## [2.1.7] - 2026-10-06
### Changed
- Manage Lumi and all other apps in one compact list with icons, drag handles and add/remove controls.
- Include Lists and Diary with the app so every app can be added to the sidebar offline.
## [2.1.6] - 2026-10-06
### Changed
- Manage installed and available apps together in Settings, with drag reordering, trash controls and quick reinstallation from saved packages.
- Keep Lumi included as the app companion while allowing her sidebar shortcut to be hidden, with an outlined firefly icon matching the other navigation icons.
- Let Lumi change themes and appearance directly through chat and app tools.
### Fixed
- Keep sidebars steady while dragging the scale slider and apply the new scale on release.
- Keep Settings available in the final sidebar position.
- Honor every checked startup app, including Diary, and report Diary correctly when opened in Harmony.
- Exit promptly when Quit is pressed in the close dialog.
## [2.1.5] - 2026-10-06
### Changed
- Chat with Lumi in a simpler conversation view, with her avatar beside replies and a standard app icon.
- Let Lumi complete today’s habits and start practices immediately, including WHM.
- Show Lumi commands only for installed and enabled apps.
- Ask which habit to complete, choose it by name, and use compact autocomplete chips with case-insensitive matching and command spelling correction.
## [2.1.4] - 2026-10-06
### Added
- Meet Lumi, Inner Breeze's firefly companion, as the first recommended app and home screen.
- Chat privately with Lumi, complete commands and todo names as you type, and add, complete or reopen todos locally.
### Fixed
- Restore missing characters in translations and mixed-language labels, including the Android language picker.
## [2.1.3] - 2026-10-06
### Fixed
- Restore translated text after the app packages load, and refresh translations when packages change.
## [2.1.2] - 2026-10-06
### Changed
- Call the independently installed features Apps, with a translated app picker and separate versions in About.
## [2.1.1] - 2026-10-06
### Added
- Attach, browse and remove Diary photos while preserving imported originals.
- Load graphics, translations, fonts and styles from app packages so these resources can update without replacing the APK.
- Update the app picker, Diary and Lists screens through their app packages.
### Fixed
- Keep browser account signing and update checks working with the current web runtime.
- Keep importing saved account data working in the browser.
## [2.1.0] - 2026-10-06
### Added
- Choose recommended Habits and Practices or download optional Lists and Diary from the app picker.
- Receive verified app updates independently, with a switch to disable automatic updates and a manual update check.
- Sync selected apps with your account, including removals, while keeping saved data on each device.
- Write private daily entries in Diary and browse them by calendar, preserving the existing Harmony entry format.
- View the main application version and each app version in About.
## [2.0.12] - 2026-10-06
### Fixed
- Restore banners and navigation icons when returning to the Android app or changing orientation.
- Keep images from disappearing or showing font characters after graphics resources are recreated.
- Restore missing characters in translated screens.
- Keep Classic and Lightfield styles working on profile actions.
## [2.0.11] - 2026-10-04
### Changed
- Lists, Habits, and Practice now load as separate modules inside Inner Breeze, with shared navigation, settings, and saved data.
## [2.0.10] - 2026-10-02
### Changed
- Smoothed the outlines of all four Sun Salutation characters during movement.
### Fixed
- Corrected the women's neck placement and removed white fringes and specks around their clothing.
## [2.0.9] - 2026-10-02
### Added
- Choose between four painted Sun Salutation characters in Customize. Your choice is saved and appears in the practice, pose previews, and guide.
### Changed
- Replaced the previous Sun Salutation character with the four banner-inspired designs. The men wear distinct rust-and-charcoal and indigo-and-sand outfits.
## [2.0.8] - 2026-10-02
### Fixed
- Fixed an Android startup crash after upgrading from older versions, while preserving saved preferences and practice history.
- Keep drawing the app when a device cannot allocate the graphics buffers used for screen transitions.
- Show the selected breathing speed, round count, breath count, and pause duration in Wim Hof customization.
- Keep the progressive start-speed editor's preview and slider visible.
## [2.0.7] - 2026-10-01
### Added
- Mini mode provides a compact practice window without changing your saved window or navigation settings.
- Habits now have separate overview, statistics, and edit pages, with a dialog for recording daily counts and clearer week and month calendars.
### Changed
- Prebuilt FreeBSD packages are temporarily unavailable.
- Sun Salutation now uses a painted character with smooth movement through all twelve poses, consistent proportions, and clean transitions without crossfading.
- Practice customization and guides use the full screen, and Sun Salutation shows a simple seconds counter without the distracting progress bar.
- Improved phone performance, touch responsiveness, text sizing, and Japanese and Chinese text wrapping.
- Refined Settings, Profile, Lists, habit cards, session controls, and mood check-in buttons. Desktop users can zoom with Ctrl and the mouse wheel.
### Fixed
- Music keeps playing when you switch tabs inside the app or leave practice customization.
- Restored sound and music playback in the web app.
- Appearance dropdown menus stay above the Layout card and other settings, keeping every option visible and selectable.
- Practice Customize and How-to actions now open the correct pages, and carousel swipes reliably change practices.
- Animated screens keep their controls visible, and navigation transitions finish before accepting the next action.
- Habit statistics no longer crash, and saved habit counts and imported records are retained correctly.
- Opening a habit card keeps your place in the list instead of scrolling back to the top.
- Habit day counts sit centered inside each circle, in a color that stays readable on every habit color.
- Deleted sync records stay deleted across devices, and restoring an account preserves local changes waiting to sync.
- Web and browser add-on text stays sharp at different text sizes, display scales, and zoom levels with the Canvas renderer.
- Cancel reliably closes the exit-session dialog without interrupting the practice.
## [2.0.6] - 2026-09-22
### Fixed
- Selected app color themes now keep their backgrounds, cards, and text visible. Theme catalogs are included in every build, and an unavailable palette falls back to readable built-in colors.
## [2.0.5] - 2026-09-21
### Changed
- Session details now show the practice name, time, and round count above clearly separated round rows with larger hold times and easier-to-tap edit and delete actions. Editing a round highlights its value and provides a labeled number pad with separate Cancel and Save actions.
## [2.0.4] - 2026-09-21
### Changed
- The account screen shows the connected alias, automatic sync progress, and counts for habits, history days, sessions, friends, lists, and list items.
- Habits show a distinct mark for days completed through a practice session.
- Importing an account key offers Merge or Replace before changing local data, with clear details about each choice.
- Profile offers Connect Account, and the sync screen offers Import .key when no account is connected.
### Fixed
- Restoring an existing account now retrieves its username, friends, habits, history, and sessions from the complete account data.
- Lists and their items now sync across devices, including completed items and changes made on another device.
- Sync status shows the current upload or restore step instead of staying on a generic syncing message.
- Connecting an account starts automatic sync without leaving a stale status message behind.
## [2.0.3] - 2026-09-20
### Fixed
- Web and browser builds can connect to compatible custom sync servers when you choose one.
- Browser extensions no longer request access to the Inner Breeze website.
- Chrome break reminders now follow the app's settings and Rest Now action.
## [2.0.2] - 2026-09-20
### Fixed
- Habit editor section headings and reminder details now align with their rows.
## [2.0.1] - 2026-09-20
### Fixed
- Existing installations reset navigation once to show Lists, Habits, Practice, and Settings in that order. Changes made afterward are kept.
## [2.0.0] - 2026-09-19
### Changed
- Added cat, sea turtle, and crescent moon profile pictures in place of three similar tree choices.
- Added the new peaceful meditation logo and made it the default app icon, with app icon selection available from Appearance.
- Updated Kryon controls, navigation, styling, and text editing throughout the app.
- Material is now the default style. Choose Material, TK, or Lightfield in Appearance, with color themes available within each style.
- Navigation customization has cleaner spacing and smoother reorder handles.
- Desktop development runs keep their settings and sync account separate from the installed app.
- Completed list items now move behind a Show Completed toggle instead of staying mixed into the active list.
- Practice controls sit closer to the bottom navigation while preserving the image fade.
- Session results now show a clearer round chart and a compact summary for single-round practices.
- About now uses proper Discord, Telegram, and GitHub icons, and the support dialog has cleaner donation address previews.
- Removed the Vanilla style and the startup style-selection screen.
### Fixed
- Existing Android installations now move their private data to the consistent Inner Breeze location while preserving habits, sessions, settings, and sync details.
- Desktop, web, and Windows installations now use the same Inner Breeze data location, moving existing data there on first launch instead of leaving it behind.
- Backups exported by earlier releases import again, including archives named after the previous app identity.
- Restored profile pictures in Settings and Profile. The picture picker now displays its full grid and uses standard scrolling and selection.
- Settings row labels and icons now share the same vertical alignment.
- Settings now uses one consistent modern screen instead of switching between duplicate layouts.
- Sidebar switching is stable at responsive breakpoints instead of jittering between navigation modes.
- Guide and modal panels remain visible with Material styling instead of showing text over the underlying screen.
- Guide screens and practice previews are placed correctly across phone and desktop sizes.
- Guide cards now have a clear heading, and tapping outside a focused control dismisses its focus.
- Scrollable Settings pages leave comfortable space above the bottom navigation at larger text scales.
- An unnamed local profile now has a neutral label in the navigation card.
- Settings navigation opens the Settings overview, with improved bottom navigation and click handling.
- Older navigation layouts now place Lists before Habits, Practice, and Settings.
- Lightfield buttons and glow settings now update with the selected style, and glow is scoped to styles that support it.
- Material sliders keep labels and values readable instead of floating too high or drawing white text on pale slider fills.
- Android masked app icons use a gentle blue background instead of black.
- Web loading screens and browser icons now show the current meditation logo.
- Emptying a list no longer restores the initial sample data.
- Improved text selection, keyboard focus, and composition handling when editing text.
- Connecting to sync runs in the background so network requests do not block the interface.
- Sync retries temporary connection failures automatically without losing queued changes.
- Automatic friend-list retries stop when account details need attention, and retry delays recover safely from invalid saved counts.
- Profile shows actionable sync status instead of internal repair messages.
- Restoring an account key now starts synchronization and retrieves the account alias and existing friendships. Friend lists remain available when leaderboard loading fails.
- Restoring a profile now reliably recovers habit history and session data alongside the alias and friends, including on Android.
- Sync no longer asks you to upgrade just because the server supports a newer sync protocol.
- Sync connection and account errors now display readable, translated messages.
- Desktop update links now use the current Inner Breeze release location.
## [1.9.19] - 2026-09-04
### Added
- Replaced the legacy pixel UI icons with a cohesive MingCute-based icon set, packed into efficient embedded spritesheets with separate full-color assets for profiles, platforms, payments, languages, and logos.
@@ -35,7 +759,7 @@
## [1.9.16] - 2026-08-29
### Changed
- Sync now speaks Ksync protocol v5 compatibility mode while keeping existing secure synced data usable.
- Sync remains compatible with existing secure account keys and synced data.
### Fixed
- Fixed web sync key import stability in Firefox.
+31
View File
@@ -0,0 +1,31 @@
# Contributing to Inner Breeze
Report a bug through Lumi's feedback card in the app or
[GitHub Issues](https://github.com/waozixyz/breeze/issues). Include the app version,
platform, steps to reproduce, what you expected, and what happened. Keep account
keys, private conversations and personal practice data out of public reports.
For a security issue, use [Security](SECURITY.md).
## Development
Build with `make native apps`. Dependencies and the Ziran toolchain are pinned
in `ziran.lock`; see [build guide](docs/building.md) for other platforms. Read
[AGENTS.md](AGENTS.md) for repository conventions and
[app packages](docs/apps.md) for module ownership.
Keep a change focused. Put app UI in its owning package, reusable Kryon changes
in Kryon, and compiler changes in Ziran. Preserve existing data and upgrade
paths. Translate changed app strings in every supported locale.
Run the tests that exercise the changed behavior and `git diff --check`.
For UI changes, run `make clean-text-api-check button-api-check` and the relevant
private-display UI tests. `make test` and `make visual-test` are the CI gates.
Android adapter tests need Java 21 and Android SDK platform 36; set
`ANDROID_SDK_ROOT` to your SDK directory.
Visual tests create disposable profiles and private displays; they must never
use your desktop or personal profile. See [verification](docs/apps.md#verification)
for the additional exact-source phone and release checks.
In a pull request, explain the user-visible change and list the checks you ran,
including any platform you could not verify. A build or a commit does not
publish a release.
+420 -1473
View File
File diff suppressed because it is too large. Load diff
+52 -88
View File
@@ -13,104 +13,68 @@
# Inner Breeze
Inner Breeze is a free, open-source practice app for breathing, meditation, and
habit tracking. It works offline, stores data locally in SQLite, and can
optionally sync user-owned data through a Daochi-compatible sync server.
Free, open-source apps for breathing, meditation, habits and everyday life.
Use them offline, keep your data on your device, and optionally connect an
account to sync across devices.
## Features
[Download the latest release](https://github.com/waozixyz/breeze/releases/latest)
· [What's new](CHANGELOG.md)
- Guided practice sessions with visual and audio cues
- Mind, Yoga, and Fitness organization for different practice routines
- Customizable breathing sessions, meditation timers, and habit counters
- Habit tracking with session history and linked practice counts
- Local import and export support
- Theme customization with light and dark variants
## Make space for yourself
## Build
- **Practice:** guided breathing, meditation, Astral Projection, Sun Salutation,
a 7-Minute Workout, with animated guides and optional narration.
- **Habits:** track daily goals, practices and habits you want to avoid; follow
your history and choose your own rewards.
- **Diary and Photos:** write, reflect and keep pictures together, with shared
photo storage and automatic compression of new uploads.
- **Lists:** organize tasks and share lists with friends, choosing who can
read, edit or manage them.
- **Lumi:** a firefly companion for starting practices, managing habits and
changing your app. Offline commands work without an AI connection.
- **Your apps:** arrange Apps as a list or grid, choose colours and icons,
listen to ambient Radio, and explore Arcade games and achievements.
- **Profile:** compare practice and game rankings with friends in Leaderboard.
Only installed apps, ranked practices and installed games appear there.
Initialize the submodules once:
## A look inside
```bash
git submodule update --init --recursive
```
<p align="center">
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/01-apps.png" alt="Apps you can arrange and personalize" width="30%">
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/03-practice-home.png" alt="Guided breathing and movement practices" width="30%">
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/04-sun-salutation.png" alt="Animated Sun Salutation practice" width="30%">
</p>
<p align="center"><em>Apps · Practices · Sun Salutation</em></p>
Build and run the desktop app:
<p align="center">
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/05-habits.png" alt="Habit goals and daily history" width="30%">
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/07-diary.png" alt="Diary for everyday reflection" width="30%">
<img src="fastlane/metadata/android/en-US/images/phoneScreenshots/02-lumi-customize.png" alt="Lumi helping customize Inner Breeze" width="30%">
</p>
<p align="center"><em>Habits · Diary · Lumi</em></p>
```bash
Tai Chi is an optional Dew unlock outside Google Play.
## Your data and choices
Your data is stored locally. Account sync is optional. Lumi starts offline;
connecting an AI provider asks for your agreement to the data sharing shown
in the app. Use Inner Breeze's service or configure your own provider.
[Privacy policy](https://inbe.waozi.xyz/privacy.html)
· [Account recovery and sync](docs/SYNC_RECOVERY.md)
· [Appearance](docs/appearance.md)
## Build and contribute
```sh
make native
make run
```
Run the terminal backend:
```bash
make tui
```
Build Android artifacts:
```bash
make android-debug
PASSWORD=your-keystore-password make android-release
PASSWORD=your-keystore-password make android-bundle
```
Build the web app:
```bash
make web
make site
```
Run the test suite:
```bash
make test
```
Native binaries are written to `build/bin/<platform>/`. Release artifacts are
written under `build/dist/`.
To debug Inbe against the root Kryon checkout instead of the vendored
submodule, override `KRYON_DIR`:
```bash
make run KRYON_DIR=../kryon
```
Use this only for local debugging. Permanent Kryon fixes should be committed in
the root Kryon repository and then brought into Inbe by updating
`vendor/kryon`.
## Project Layout
- `src/` - app code
- `assets/` - images, fonts, and sounds
- `locales/` - translations
- `droid/` - Android project
- `site/` - website
- `vendor/kryon/` - Kryon UI/runtime submodule
## Support
Monero:
```text
48ms5LfFrPJ2LUvqP9Mm5BhDSnZnqu14jB8XpAukw3jDBKxRAxYvq3k4fEwXY7kCY3LrtycMUayJZR1YJuyvJHCDCcyw6pA
```
Bitcoin:
```text
bc1qxzcetg50f6epgddc09n82xqn3zswlmk44235y5
```
Lightning:
```text
[email protected]
```
## License
See the [build guide](docs/building.md) for Android, web, dependencies and tests,
the [F-Droid checks](docs/fdroid.md), and
[Contributing](CONTRIBUTING.md) to report bugs or make changes.
[Report security issues privately](SECURITY.md).
BSD 3-Clause. See [LICENSE](LICENSE).
+10
View File
@@ -0,0 +1,10 @@
# Reporting a security issue
Email [[email protected]](mailto:[email protected]) privately with the affected
Inner Breeze version, platform, reproduction steps and expected impact.
Use a disposable account or sample data when possible. Do not include private
keys, API keys or other people's data.
Use [GitHub Issues](https://github.com/waozixyz/breeze/issues) for ordinary bugs.
Please keep unpatched security details out of public reports while the issue
is investigated.
-31
View File
@@ -1,31 +0,0 @@
# Web Renderer Tests
Inbe has two web renderer paths:
| Target | Renderer | Purpose |
|---|---|---|
| `make web` | raylib/WebGL | Shipping web build with liboqs sync support. |
| `make web-canvas` | Kryon Canvas2D | No-WebGL fallback build using Kryon's Canvas backend. The app still uses Emscripten/WASM for C code and support libraries. |
| `make web-compare-test` | both | Builds both renderers and runs the browser smoke suite against each. |
| `make web-side-by-side-test` | both | Builds both renderers, runs both smoke tests, then serves a split-page manual comparison view. |
The shared smoke test is `scripts/web-smoke-test.mjs`. It is renderer-aware:
- `WEB_SMOKE_RENDERER=raylib` requires a live WebGL context.
- `WEB_SMOKE_RENDERER=canvas` requires a live Canvas2D context and nonblank pixels.
- Both paths require the app runtime-ready hook, a cycling render loop, IDBFS idle/flush behavior, and app settings persistence.
- Both paths require sync-key import to work. Canvas links the same ksync/liboqs account crypto as raylib-web; only the renderer differs.
Current known gap:
- The shared smoke test verifies account crypto/import parity, rendering, storage, and app settings persistence. It does not yet run a real local sync server transaction for either renderer.
For manual visual comparison, run:
```bash
make web-side-by-side-test
```
The script prints a local URL with raylib/WebGL on the left and Canvas2D on the
right. Use `scripts/web-side-by-side-test.sh --no-serve` for CI-style
build-and-smoke validation without starting the comparison server.
+15
View File
@@ -0,0 +1,15 @@
{
"arcade": {
"id": "inbe.arcade",
"version": "0.7.126",
"host_api": 43,
"key_id": "inbe-2026-10",
"bundled": true,
"path": "apps/bundled/arcade.zx",
"bytes": 10156,
"sha256": "8879f61329c401b72fa843f7b92d520c65214598738f6cdafa73471454947f76",
"source": "https://git.waozi.xyz/waozi/arcade",
"source_commit": "fc3eb2b65f5ea84e30de86b2a1c6c3dc7c643c07",
"sequence": 205
}
}
Binary file not shown.
+199
View File
@@ -0,0 +1,199 @@
# Changelog
## [Unreleased]
- Show synced edits for the open day as they arrive and preserve text still being edited.
- Read and edit formatted Diary entries with inline photos.
- Compare full-size AVIF copies with adjustable quality and storage totals; reopen image storage from the wrench in Diary or Photos.
## [1.3.27] - 2026-11-05
- Maintenance release for Inner Breeze 2.1.63.
## [1.3.26] - 2026-11-02
- Maintenance release for Inner Breeze 2.1.62.
## [1.3.25] - 2026-10-29
- Maintenance release for Inner Breeze 2.1.61.
## [1.3.24] - 2026-10-29
- Maintenance release for Inner Breeze 2.1.60.
## [1.3.23] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.59.
## [1.3.22] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.58.
## [1.3.21] - 2026-10-28
- Open each day’s photos from a gallery icon, attach photos with the paperclip, and keep the entry’s layout steady while browsing its gallery.
## [1.3.20] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.56.
## [1.3.19] - 2026-10-27
- Maintenance release for Inner Breeze 2.1.55.
## [1.3.18] - 2026-10-27
- Maintenance release for Inner Breeze 2.1.54.
## [1.3.17] - 2026-10-27
- Maintenance release for Inner Breeze 2.1.53.
## [1.3.16] - 2026-10-27
- Maintenance release for Inner Breeze 2.1.52.
## [1.3.15] - 2026-10-26
- Maintenance release for Inner Breeze 2.1.51.
## [1.3.14] - 2026-10-26
- Maintenance release for Inner Breeze 2.1.50.
## [1.3.13] - 2026-10-25
- Maintenance release for Inner Breeze 2.1.49.
## [1.3.12] - 2026-10-25
- Maintenance release for Inner Breeze 2.1.48.
## [1.3.11] - 2026-10-25
- Maintenance release for Inner Breeze 2.1.47.
## [1.3.10] - 2026-10-24
- Maintenance release for Inner Breeze 2.1.46.
## [1.3.9] - 2026-10-23
- Maintenance release for Inner Breeze 2.1.45.
## [1.3.8] - 2026-10-23
- Maintenance release for Inner Breeze 2.1.44.
## [1.3.7] - 2026-10-23
- Maintenance release for Inner Breeze 2.1.43.
## [1.3.6] - 2026-10-22
- Maintenance release for Inner Breeze 2.1.42.
## [1.3.5] - 2026-10-22
- Maintenance release for Inner Breeze 2.1.41.
## [1.3.4] - 2026-10-22
- Maintenance release for Inner Breeze 2.1.40.
## [1.3.3] - 2026-10-22
- Maintenance release for Inner Breeze 2.1.39.
## [1.3.2] - 2026-10-21
- Give each achievement its own meaningful icon.
- Maintenance release for Inner Breeze 2.1.38.
## [1.3.1] - 2026-10-20
- Maintenance release for Inner Breeze 2.1.37.
## [1.3.0] - 2026-10-18
- Run the same Diary package in Inner Breeze, Werkzeug, or its own desktop window.
- Keep entry editing, undo and redo with Diary, while the host provides private documents and available photo and spelling services.
- The previous and next day arrows sit right beside the date.
## [1.2.0] - 2026-10-17
### Changed
- An entry is Markdown. Headings, **bold**, *italic*, links, lists and quotes show styled, and their marks appear on the line you are editing.
- Photos sit inside the entry, where you add them, with text before or after them on their line. Each one is saved to your photo library, the one Photos shows, under the day it was taken, and the entry links to it there. Delete a photo's Markdown to take it out of the entry.
- Show gallery under each day's entry opens that day's photos, which scroll sideways. Tap one to put it in the entry at the cursor.
- Photos from older entries appear inside the entry, after its text.
## [1.1.12] - 2026-10-17
- Maintenance release for Inner Breeze 2.1.35.
## [1.1.11] - 2026-10-17
- Maintenance release for Inner Breeze 2.1.34.
## [1.1.10] - 2026-10-13
- Maintenance release for Inner Breeze 2.1.33.
## [1.1.9] - 2026-10-11
### Changed
- Scrollbars use your theme's colours and show how much of the page is in view.
## [1.1.8] - 2026-10-10
### Added
- Correct the spelling of an entry with one button. Inner Breeze sends the entry to the Waozi node, which returns it with only misspelled words corrected. It uses the same daily online allowance as Lumi.
- Undo and redo buttons, so a correction or any other change can be taken back.
### Changed
- A title bar shows the date in the middle, between the previous and next day. Today and the calendar sit together on the left, and the entry's tools are compact buttons on the right, leaving more room for writing.
- The entry reaches the bottom of the screen; a notice takes room below it only while it is shown.
## [1.1.7] - 2026-10-10
### Changed
- When a photo is not on this device, for example because your sync node does not store photos, the entry shows where the photo is instead of an empty space.
## [1.1.6] - 2026-10-10
### Changed
- Show **bold** text as bold. The ** marks appear only on the line you are editing, so you can still change them.
## [1.1.5] - 2026-10-10
### Changed
- Save your writing quietly, without a "Waiting to save…" note below the entry.
## [1.1.4] - 2026-10-08
- Keep date limits working when Diary updates on existing Inbe installations.
## [1.1.3] - 2026-10-08
- Keep the journal on today or earlier dates and show an empty editor without a writing prompt.
- Open the same account-synced Diary from Inner Breeze and Harmony, preserving earlier entries and photos.
## [1.1.2] - 2026-10-07
- Keep app labels and content visible after updating Inner Breeze.
## [1.1.1] - 2026-10-06
- Use Apps consistently in the app and its independently delivered package.
## [1.1.0] - 2026-10-06
- The journal editor and calendar can update independently through the Diary package.
- Attach and browse photos in daily entries, including photos imported from Harmony. Removing an attachment preserves its original private file.
## [1.0.0] - 2026-10-06
- First independently versioned Diary module.
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_diary_days_1_title": "Deník · 1 dnů",
"achievement_diary_days_1_description": "Vykonejte tuto aktivitu v 1 různých dnech: neprázdný uložený zápis do deníku.",
"achievement_diary_days_3_title": "Deník · 3 dnů",
"achievement_diary_days_3_description": "Vykonejte tuto aktivitu v 3 různých dnech: neprázdný uložený zápis do deníku.",
"achievement_diary_days_7_title": "Deník · 7 dnů",
"achievement_diary_days_7_description": "Vykonejte tuto aktivitu v 7 různých dnech: neprázdný uložený zápis do deníku.",
"achievement_diary_days_14_title": "Deník · 14 dnů",
"achievement_diary_days_14_description": "Vykonejte tuto aktivitu v 14 různých dnech: neprázdný uložený zápis do deníku.",
"achievement_diary_days_30_title": "Deník · 30 dnů",
"achievement_diary_days_30_description": "Vykonejte tuto aktivitu v 30 různých dnech: neprázdný uložený zápis do deníku.",
"achievement_diary_days_60_title": "Deník · 60 dnů",
"achievement_diary_days_60_description": "Vykonejte tuto aktivitu v 60 různých dnech: neprázdný uložený zápis do deníku.",
"achievement_diary_days_100_title": "Deník · 100 dnů",
"achievement_diary_days_100_description": "Vykonejte tuto aktivitu v 100 různých dnech: neprázdný uložený zápis do deníku.",
"achievement_diary_days_180_title": "Deník · 180 dnů",
"achievement_diary_days_180_description": "Vykonejte tuto aktivitu v 180 různých dnech: neprázdný uložený zápis do deníku.",
"achievement_diary_days_365_title": "Deník · 365 dnů",
"achievement_diary_days_365_description": "Vykonejte tuto aktivitu v 365 různých dnech: neprázdný uložený zápis do deníku.",
"achievement_diary_weeks_2_title": "Deník · 2 týdnů",
"achievement_diary_weeks_2_description": "Vykonejte tuto aktivitu v 2 různých týdnech od pondělí do neděle: neprázdný uložený zápis do deníku.",
"achievement_diary_weeks_4_title": "Deník · 4 týdnů",
"achievement_diary_weeks_4_description": "Vykonejte tuto aktivitu v 4 různých týdnech od pondělí do neděle: neprázdný uložený zápis do deníku.",
"achievement_diary_weeks_12_title": "Deník · 12 týdnů",
"achievement_diary_weeks_12_description": "Vykonejte tuto aktivitu v 12 různých týdnech od pondělí do neděle: neprázdný uložený zápis do deníku.",
"achievement_diary_weeks_26_title": "Deník · 26 týdnů",
"achievement_diary_weeks_26_description": "Vykonejte tuto aktivitu v 26 různých týdnech od pondělí do neděle: neprázdný uložený zápis do deníku.",
"achievement_diary_months_3_title": "Deník · 3 měsíců",
"achievement_diary_months_3_description": "Vykonejte tuto aktivitu v 3 různých kalendářních měsících: neprázdný uložený zápis do deníku.",
"achievement_diary_months_6_title": "Deník · 6 měsíců",
"achievement_diary_months_6_description": "Vykonejte tuto aktivitu v 6 různých kalendářních měsících: neprázdný uložený zápis do deníku.",
"achievement_diary_months_12_title": "Deník · 12 měsíců",
"achievement_diary_months_12_description": "Vykonejte tuto aktivitu v 12 různých kalendářních měsících: neprázdný uložený zápis do deníku.",
"achievement_diary_photo_days_1_title": "Deník · 1 dnů",
"achievement_diary_photo_days_1_description": "Vykonejte tuto aktivitu v 1 různých dnech: uložený zápis do deníku s platnou fotografií.",
"achievement_diary_photo_days_5_title": "Deník · 5 dnů",
"achievement_diary_photo_days_5_description": "Vykonejte tuto aktivitu v 5 různých dnech: uložený zápis do deníku s platnou fotografií.",
"achievement_diary_photo_days_20_title": "Deník · 20 dnů",
"achievement_diary_photo_days_20_description": "Vykonejte tuto aktivitu v 20 různých dnech: uložený zápis do deníku s platnou fotografií.",
"achievement_diary_return_14_title": "Deník · 14 dnů přestávky",
"achievement_diary_return_14_description": "Vraťte se po alespoň 14 celých dnech bez této aktivity: neprázdný uložený zápis do deníku."
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_diary_days_1_title": "Tagebuch · 1 Tage",
"achievement_diary_days_1_description": "Führe dies an 1 unterschiedlichen Tagen aus: ein gespeicherter Tagebucheintrag mit Inhalt.",
"achievement_diary_days_3_title": "Tagebuch · 3 Tage",
"achievement_diary_days_3_description": "Führe dies an 3 unterschiedlichen Tagen aus: ein gespeicherter Tagebucheintrag mit Inhalt.",
"achievement_diary_days_7_title": "Tagebuch · 7 Tage",
"achievement_diary_days_7_description": "Führe dies an 7 unterschiedlichen Tagen aus: ein gespeicherter Tagebucheintrag mit Inhalt.",
"achievement_diary_days_14_title": "Tagebuch · 14 Tage",
"achievement_diary_days_14_description": "Führe dies an 14 unterschiedlichen Tagen aus: ein gespeicherter Tagebucheintrag mit Inhalt.",
"achievement_diary_days_30_title": "Tagebuch · 30 Tage",
"achievement_diary_days_30_description": "Führe dies an 30 unterschiedlichen Tagen aus: ein gespeicherter Tagebucheintrag mit Inhalt.",
"achievement_diary_days_60_title": "Tagebuch · 60 Tage",
"achievement_diary_days_60_description": "Führe dies an 60 unterschiedlichen Tagen aus: ein gespeicherter Tagebucheintrag mit Inhalt.",
"achievement_diary_days_100_title": "Tagebuch · 100 Tage",
"achievement_diary_days_100_description": "Führe dies an 100 unterschiedlichen Tagen aus: ein gespeicherter Tagebucheintrag mit Inhalt.",
"achievement_diary_days_180_title": "Tagebuch · 180 Tage",
"achievement_diary_days_180_description": "Führe dies an 180 unterschiedlichen Tagen aus: ein gespeicherter Tagebucheintrag mit Inhalt.",
"achievement_diary_days_365_title": "Tagebuch · 365 Tage",
"achievement_diary_days_365_description": "Führe dies an 365 unterschiedlichen Tagen aus: ein gespeicherter Tagebucheintrag mit Inhalt.",
"achievement_diary_weeks_2_title": "Tagebuch · 2 Wochen",
"achievement_diary_weeks_2_description": "Führe dies in 2 unterschiedlichen Kalenderwochen von Montag bis Sonntag aus: ein gespeicherter Tagebucheintrag mit Inhalt.",
"achievement_diary_weeks_4_title": "Tagebuch · 4 Wochen",
"achievement_diary_weeks_4_description": "Führe dies in 4 unterschiedlichen Kalenderwochen von Montag bis Sonntag aus: ein gespeicherter Tagebucheintrag mit Inhalt.",
"achievement_diary_weeks_12_title": "Tagebuch · 12 Wochen",
"achievement_diary_weeks_12_description": "Führe dies in 12 unterschiedlichen Kalenderwochen von Montag bis Sonntag aus: ein gespeicherter Tagebucheintrag mit Inhalt.",
"achievement_diary_weeks_26_title": "Tagebuch · 26 Wochen",
"achievement_diary_weeks_26_description": "Führe dies in 26 unterschiedlichen Kalenderwochen von Montag bis Sonntag aus: ein gespeicherter Tagebucheintrag mit Inhalt.",
"achievement_diary_months_3_title": "Tagebuch · 3 Monate",
"achievement_diary_months_3_description": "Führe dies in 3 unterschiedlichen Kalendermonaten aus: ein gespeicherter Tagebucheintrag mit Inhalt.",
"achievement_diary_months_6_title": "Tagebuch · 6 Monate",
"achievement_diary_months_6_description": "Führe dies in 6 unterschiedlichen Kalendermonaten aus: ein gespeicherter Tagebucheintrag mit Inhalt.",
"achievement_diary_months_12_title": "Tagebuch · 12 Monate",
"achievement_diary_months_12_description": "Führe dies in 12 unterschiedlichen Kalendermonaten aus: ein gespeicherter Tagebucheintrag mit Inhalt.",
"achievement_diary_photo_days_1_title": "Tagebuch · 1 Tage",
"achievement_diary_photo_days_1_description": "Führe dies an 1 unterschiedlichen Tagen aus: ein gespeicherter Tagebucheintrag mit gültigem Foto.",
"achievement_diary_photo_days_5_title": "Tagebuch · 5 Tage",
"achievement_diary_photo_days_5_description": "Führe dies an 5 unterschiedlichen Tagen aus: ein gespeicherter Tagebucheintrag mit gültigem Foto.",
"achievement_diary_photo_days_20_title": "Tagebuch · 20 Tage",
"achievement_diary_photo_days_20_description": "Führe dies an 20 unterschiedlichen Tagen aus: ein gespeicherter Tagebucheintrag mit gültigem Foto.",
"achievement_diary_return_14_title": "Tagebuch · 14 Tage Pause",
"achievement_diary_return_14_description": "Kehre nach mindestens 14 ganzen Tagen ohne diese Aktivität zurück: ein gespeicherter Tagebucheintrag mit Inhalt."
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_diary_days_1_title": "First page",
"achievement_diary_days_1_description": "Do this on 1 distinct dates: a nonempty saved diary entry.",
"achievement_diary_days_3_title": "Three pages",
"achievement_diary_days_3_description": "Do this on 3 distinct dates: a nonempty saved diary entry.",
"achievement_diary_days_7_title": "Seven pages",
"achievement_diary_days_7_description": "Do this on 7 distinct dates: a nonempty saved diary entry.",
"achievement_diary_days_14_title": "Fourteen pages",
"achievement_diary_days_14_description": "Do this on 14 distinct dates: a nonempty saved diary entry.",
"achievement_diary_days_30_title": "Thirty pages",
"achievement_diary_days_30_description": "Do this on 30 distinct dates: a nonempty saved diary entry.",
"achievement_diary_days_60_title": "Sixty pages",
"achievement_diary_days_60_description": "Do this on 60 distinct dates: a nonempty saved diary entry.",
"achievement_diary_days_100_title": "One hundred pages",
"achievement_diary_days_100_description": "Do this on 100 distinct dates: a nonempty saved diary entry.",
"achievement_diary_days_180_title": "An unfolding story",
"achievement_diary_days_180_description": "Do this on 180 distinct dates: a nonempty saved diary entry.",
"achievement_diary_days_365_title": "A year of pages",
"achievement_diary_days_365_description": "Do this on 365 distinct dates: a nonempty saved diary entry.",
"achievement_diary_weeks_2_title": "Two weeks remembered",
"achievement_diary_weeks_2_description": "Do this in 2 distinct Monday–Sunday calendar weeks: a nonempty saved diary entry.",
"achievement_diary_weeks_4_title": "Four weeks remembered",
"achievement_diary_weeks_4_description": "Do this in 4 distinct Monday–Sunday calendar weeks: a nonempty saved diary entry.",
"achievement_diary_weeks_12_title": "Twelve weeks remembered",
"achievement_diary_weeks_12_description": "Do this in 12 distinct Monday–Sunday calendar weeks: a nonempty saved diary entry.",
"achievement_diary_weeks_26_title": "Twenty-six weeks remembered",
"achievement_diary_weeks_26_description": "Do this in 26 distinct Monday–Sunday calendar weeks: a nonempty saved diary entry.",
"achievement_diary_months_3_title": "Three months remembered",
"achievement_diary_months_3_description": "Do this in 3 distinct calendar months: a nonempty saved diary entry.",
"achievement_diary_months_6_title": "Six months remembered",
"achievement_diary_months_6_description": "Do this in 6 distinct calendar months: a nonempty saved diary entry.",
"achievement_diary_months_12_title": "Twelve months remembered",
"achievement_diary_months_12_description": "Do this in 12 distinct calendar months: a nonempty saved diary entry.",
"achievement_diary_photo_days_1_title": "A picture in your story",
"achievement_diary_photo_days_1_description": "Do this on 1 distinct dates: a saved diary entry containing a valid photo.",
"achievement_diary_photo_days_5_title": "Five illustrated days",
"achievement_diary_photo_days_5_description": "Do this on 5 distinct dates: a saved diary entry containing a valid photo.",
"achievement_diary_photo_days_20_title": "Twenty illustrated days",
"achievement_diary_photo_days_20_description": "Do this on 20 distinct dates: a saved diary entry containing a valid photo.",
"achievement_diary_return_14_title": "A new page again",
"achievement_diary_return_14_description": "Return after at least 14 full days without this activity: a nonempty saved diary entry."
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_diary_days_1_title": "Diario · 1 días",
"achievement_diary_days_1_description": "Realiza esto en 1 fechas distintas: una entrada de diario guardada con contenido.",
"achievement_diary_days_3_title": "Diario · 3 días",
"achievement_diary_days_3_description": "Realiza esto en 3 fechas distintas: una entrada de diario guardada con contenido.",
"achievement_diary_days_7_title": "Diario · 7 días",
"achievement_diary_days_7_description": "Realiza esto en 7 fechas distintas: una entrada de diario guardada con contenido.",
"achievement_diary_days_14_title": "Diario · 14 días",
"achievement_diary_days_14_description": "Realiza esto en 14 fechas distintas: una entrada de diario guardada con contenido.",
"achievement_diary_days_30_title": "Diario · 30 días",
"achievement_diary_days_30_description": "Realiza esto en 30 fechas distintas: una entrada de diario guardada con contenido.",
"achievement_diary_days_60_title": "Diario · 60 días",
"achievement_diary_days_60_description": "Realiza esto en 60 fechas distintas: una entrada de diario guardada con contenido.",
"achievement_diary_days_100_title": "Diario · 100 días",
"achievement_diary_days_100_description": "Realiza esto en 100 fechas distintas: una entrada de diario guardada con contenido.",
"achievement_diary_days_180_title": "Diario · 180 días",
"achievement_diary_days_180_description": "Realiza esto en 180 fechas distintas: una entrada de diario guardada con contenido.",
"achievement_diary_days_365_title": "Diario · 365 días",
"achievement_diary_days_365_description": "Realiza esto en 365 fechas distintas: una entrada de diario guardada con contenido.",
"achievement_diary_weeks_2_title": "Diario · 2 semanas",
"achievement_diary_weeks_2_description": "Realiza esto en 2 semanas naturales distintas, de lunes a domingo: una entrada de diario guardada con contenido.",
"achievement_diary_weeks_4_title": "Diario · 4 semanas",
"achievement_diary_weeks_4_description": "Realiza esto en 4 semanas naturales distintas, de lunes a domingo: una entrada de diario guardada con contenido.",
"achievement_diary_weeks_12_title": "Diario · 12 semanas",
"achievement_diary_weeks_12_description": "Realiza esto en 12 semanas naturales distintas, de lunes a domingo: una entrada de diario guardada con contenido.",
"achievement_diary_weeks_26_title": "Diario · 26 semanas",
"achievement_diary_weeks_26_description": "Realiza esto en 26 semanas naturales distintas, de lunes a domingo: una entrada de diario guardada con contenido.",
"achievement_diary_months_3_title": "Diario · 3 meses",
"achievement_diary_months_3_description": "Realiza esto en 3 meses naturales distintos: una entrada de diario guardada con contenido.",
"achievement_diary_months_6_title": "Diario · 6 meses",
"achievement_diary_months_6_description": "Realiza esto en 6 meses naturales distintos: una entrada de diario guardada con contenido.",
"achievement_diary_months_12_title": "Diario · 12 meses",
"achievement_diary_months_12_description": "Realiza esto en 12 meses naturales distintos: una entrada de diario guardada con contenido.",
"achievement_diary_photo_days_1_title": "Diario · 1 días",
"achievement_diary_photo_days_1_description": "Realiza esto en 1 fechas distintas: una entrada guardada del diario con una foto válida.",
"achievement_diary_photo_days_5_title": "Diario · 5 días",
"achievement_diary_photo_days_5_description": "Realiza esto en 5 fechas distintas: una entrada guardada del diario con una foto válida.",
"achievement_diary_photo_days_20_title": "Diario · 20 días",
"achievement_diary_photo_days_20_description": "Realiza esto en 20 fechas distintas: una entrada guardada del diario con una foto válida.",
"achievement_diary_return_14_title": "Diario · 14 días de pausa",
"achievement_diary_return_14_description": "Vuelve después de al menos 14 días completos sin esta actividad: una entrada de diario guardada con contenido."
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_diary_days_1_title": "Journal · 1 jours",
"achievement_diary_days_1_description": "Faites ceci à 1 dates distinctes : une entrée de journal enregistrée avec du contenu.",
"achievement_diary_days_3_title": "Journal · 3 jours",
"achievement_diary_days_3_description": "Faites ceci à 3 dates distinctes : une entrée de journal enregistrée avec du contenu.",
"achievement_diary_days_7_title": "Journal · 7 jours",
"achievement_diary_days_7_description": "Faites ceci à 7 dates distinctes : une entrée de journal enregistrée avec du contenu.",
"achievement_diary_days_14_title": "Journal · 14 jours",
"achievement_diary_days_14_description": "Faites ceci à 14 dates distinctes : une entrée de journal enregistrée avec du contenu.",
"achievement_diary_days_30_title": "Journal · 30 jours",
"achievement_diary_days_30_description": "Faites ceci à 30 dates distinctes : une entrée de journal enregistrée avec du contenu.",
"achievement_diary_days_60_title": "Journal · 60 jours",
"achievement_diary_days_60_description": "Faites ceci à 60 dates distinctes : une entrée de journal enregistrée avec du contenu.",
"achievement_diary_days_100_title": "Journal · 100 jours",
"achievement_diary_days_100_description": "Faites ceci à 100 dates distinctes : une entrée de journal enregistrée avec du contenu.",
"achievement_diary_days_180_title": "Journal · 180 jours",
"achievement_diary_days_180_description": "Faites ceci à 180 dates distinctes : une entrée de journal enregistrée avec du contenu.",
"achievement_diary_days_365_title": "Journal · 365 jours",
"achievement_diary_days_365_description": "Faites ceci à 365 dates distinctes : une entrée de journal enregistrée avec du contenu.",
"achievement_diary_weeks_2_title": "Journal · 2 semaines",
"achievement_diary_weeks_2_description": "Faites ceci au cours de 2 semaines civiles distinctes, du lundi au dimanche : une entrée de journal enregistrée avec du contenu.",
"achievement_diary_weeks_4_title": "Journal · 4 semaines",
"achievement_diary_weeks_4_description": "Faites ceci au cours de 4 semaines civiles distinctes, du lundi au dimanche : une entrée de journal enregistrée avec du contenu.",
"achievement_diary_weeks_12_title": "Journal · 12 semaines",
"achievement_diary_weeks_12_description": "Faites ceci au cours de 12 semaines civiles distinctes, du lundi au dimanche : une entrée de journal enregistrée avec du contenu.",
"achievement_diary_weeks_26_title": "Journal · 26 semaines",
"achievement_diary_weeks_26_description": "Faites ceci au cours de 26 semaines civiles distinctes, du lundi au dimanche : une entrée de journal enregistrée avec du contenu.",
"achievement_diary_months_3_title": "Journal · 3 mois",
"achievement_diary_months_3_description": "Faites ceci au cours de 3 mois civils distincts : une entrée de journal enregistrée avec du contenu.",
"achievement_diary_months_6_title": "Journal · 6 mois",
"achievement_diary_months_6_description": "Faites ceci au cours de 6 mois civils distincts : une entrée de journal enregistrée avec du contenu.",
"achievement_diary_months_12_title": "Journal · 12 mois",
"achievement_diary_months_12_description": "Faites ceci au cours de 12 mois civils distincts : une entrée de journal enregistrée avec du contenu.",
"achievement_diary_photo_days_1_title": "Journal · 1 jours",
"achievement_diary_photo_days_1_description": "Faites ceci à 1 dates distinctes : une entrée de journal enregistrée contenant une photo valide.",
"achievement_diary_photo_days_5_title": "Journal · 5 jours",
"achievement_diary_photo_days_5_description": "Faites ceci à 5 dates distinctes : une entrée de journal enregistrée contenant une photo valide.",
"achievement_diary_photo_days_20_title": "Journal · 20 jours",
"achievement_diary_photo_days_20_description": "Faites ceci à 20 dates distinctes : une entrée de journal enregistrée contenant une photo valide.",
"achievement_diary_return_14_title": "Journal · 14 jours de pause",
"achievement_diary_return_14_description": "Revenez après au moins 14 journées entières sans cette activité : une entrée de journal enregistrée avec du contenu."
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_diary_days_1_title": "日記 · 1 日",
"achievement_diary_days_1_description": "異なる1日で行う:内容のある保存済みの日記。",
"achievement_diary_days_3_title": "日記 · 3 日",
"achievement_diary_days_3_description": "異なる3日で行う:内容のある保存済みの日記。",
"achievement_diary_days_7_title": "日記 · 7 日",
"achievement_diary_days_7_description": "異なる7日で行う:内容のある保存済みの日記。",
"achievement_diary_days_14_title": "日記 · 14 日",
"achievement_diary_days_14_description": "異なる14日で行う:内容のある保存済みの日記。",
"achievement_diary_days_30_title": "日記 · 30 日",
"achievement_diary_days_30_description": "異なる30日で行う:内容のある保存済みの日記。",
"achievement_diary_days_60_title": "日記 · 60 日",
"achievement_diary_days_60_description": "異なる60日で行う:内容のある保存済みの日記。",
"achievement_diary_days_100_title": "日記 · 100 日",
"achievement_diary_days_100_description": "異なる100日で行う:内容のある保存済みの日記。",
"achievement_diary_days_180_title": "日記 · 180 日",
"achievement_diary_days_180_description": "異なる180日で行う:内容のある保存済みの日記。",
"achievement_diary_days_365_title": "日記 · 365 日",
"achievement_diary_days_365_description": "異なる365日で行う:内容のある保存済みの日記。",
"achievement_diary_weeks_2_title": "日記 · 2 週間",
"achievement_diary_weeks_2_description": "月曜から日曜までの異なる2暦週で行う:内容のある保存済みの日記。",
"achievement_diary_weeks_4_title": "日記 · 4 週間",
"achievement_diary_weeks_4_description": "月曜から日曜までの異なる4暦週で行う:内容のある保存済みの日記。",
"achievement_diary_weeks_12_title": "日記 · 12 週間",
"achievement_diary_weeks_12_description": "月曜から日曜までの異なる12暦週で行う:内容のある保存済みの日記。",
"achievement_diary_weeks_26_title": "日記 · 26 週間",
"achievement_diary_weeks_26_description": "月曜から日曜までの異なる26暦週で行う:内容のある保存済みの日記。",
"achievement_diary_months_3_title": "日記 · 3 か月",
"achievement_diary_months_3_description": "異なる3暦月で行う:内容のある保存済みの日記。",
"achievement_diary_months_6_title": "日記 · 6 か月",
"achievement_diary_months_6_description": "異なる6暦月で行う:内容のある保存済みの日記。",
"achievement_diary_months_12_title": "日記 · 12 か月",
"achievement_diary_months_12_description": "異なる12暦月で行う:内容のある保存済みの日記。",
"achievement_diary_photo_days_1_title": "日記 · 1 日",
"achievement_diary_photo_days_1_description": "異なる1日で行う:有効な写真を含む保存済みの日記。",
"achievement_diary_photo_days_5_title": "日記 · 5 日",
"achievement_diary_photo_days_5_description": "異なる5日で行う:有効な写真を含む保存済みの日記。",
"achievement_diary_photo_days_20_title": "日記 · 20 日",
"achievement_diary_photo_days_20_description": "異なる20日で行う:有効な写真を含む保存済みの日記。",
"achievement_diary_return_14_title": "日記 · 14 日間の休止",
"achievement_diary_return_14_description": "この活動をしない日が丸14日以上続いた後に再開する:内容のある保存済みの日記。"
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_diary_days_1_title": "일기 · 1 일",
"achievement_diary_days_1_description": "서로 다른 1일에 수행하세요: 내용이 있는 저장된 일기.",
"achievement_diary_days_3_title": "일기 · 3 일",
"achievement_diary_days_3_description": "서로 다른 3일에 수행하세요: 내용이 있는 저장된 일기.",
"achievement_diary_days_7_title": "일기 · 7 일",
"achievement_diary_days_7_description": "서로 다른 7일에 수행하세요: 내용이 있는 저장된 일기.",
"achievement_diary_days_14_title": "일기 · 14 일",
"achievement_diary_days_14_description": "서로 다른 14일에 수행하세요: 내용이 있는 저장된 일기.",
"achievement_diary_days_30_title": "일기 · 30 일",
"achievement_diary_days_30_description": "서로 다른 30일에 수행하세요: 내용이 있는 저장된 일기.",
"achievement_diary_days_60_title": "일기 · 60 일",
"achievement_diary_days_60_description": "서로 다른 60일에 수행하세요: 내용이 있는 저장된 일기.",
"achievement_diary_days_100_title": "일기 · 100 일",
"achievement_diary_days_100_description": "서로 다른 100일에 수행하세요: 내용이 있는 저장된 일기.",
"achievement_diary_days_180_title": "일기 · 180 일",
"achievement_diary_days_180_description": "서로 다른 180일에 수행하세요: 내용이 있는 저장된 일기.",
"achievement_diary_days_365_title": "일기 · 365 일",
"achievement_diary_days_365_description": "서로 다른 365일에 수행하세요: 내용이 있는 저장된 일기.",
"achievement_diary_weeks_2_title": "일기 · 2 주",
"achievement_diary_weeks_2_description": "월요일부터 일요일까지의 서로 다른 2개 달력 주에 수행하세요: 내용이 있는 저장된 일기.",
"achievement_diary_weeks_4_title": "일기 · 4 주",
"achievement_diary_weeks_4_description": "월요일부터 일요일까지의 서로 다른 4개 달력 주에 수행하세요: 내용이 있는 저장된 일기.",
"achievement_diary_weeks_12_title": "일기 · 12 주",
"achievement_diary_weeks_12_description": "월요일부터 일요일까지의 서로 다른 12개 달력 주에 수행하세요: 내용이 있는 저장된 일기.",
"achievement_diary_weeks_26_title": "일기 · 26 주",
"achievement_diary_weeks_26_description": "월요일부터 일요일까지의 서로 다른 26개 달력 주에 수행하세요: 내용이 있는 저장된 일기.",
"achievement_diary_months_3_title": "일기 · 3 개월",
"achievement_diary_months_3_description": "서로 다른 3개 달력 월에 수행하세요: 내용이 있는 저장된 일기.",
"achievement_diary_months_6_title": "일기 · 6 개월",
"achievement_diary_months_6_description": "서로 다른 6개 달력 월에 수행하세요: 내용이 있는 저장된 일기.",
"achievement_diary_months_12_title": "일기 · 12 개월",
"achievement_diary_months_12_description": "서로 다른 12개 달력 월에 수행하세요: 내용이 있는 저장된 일기.",
"achievement_diary_photo_days_1_title": "일기 · 1 일",
"achievement_diary_photo_days_1_description": "서로 다른 1일에 수행하세요: 유효한 사진이 포함된 저장된 일기.",
"achievement_diary_photo_days_5_title": "일기 · 5 일",
"achievement_diary_photo_days_5_description": "서로 다른 5일에 수행하세요: 유효한 사진이 포함된 저장된 일기.",
"achievement_diary_photo_days_20_title": "일기 · 20 일",
"achievement_diary_photo_days_20_description": "서로 다른 20일에 수행하세요: 유효한 사진이 포함된 저장된 일기.",
"achievement_diary_return_14_title": "일기 · 14 일의 휴식",
"achievement_diary_return_14_description": "이 활동 없이 온전히 14일 이상 지난 뒤 돌아오세요: 내용이 있는 저장된 일기."
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_diary_days_1_title": "Diário · 1 dias",
"achievement_diary_days_1_description": "Faça isto em 1 datas distintas: uma entrada de diário guardada com conteúdo.",
"achievement_diary_days_3_title": "Diário · 3 dias",
"achievement_diary_days_3_description": "Faça isto em 3 datas distintas: uma entrada de diário guardada com conteúdo.",
"achievement_diary_days_7_title": "Diário · 7 dias",
"achievement_diary_days_7_description": "Faça isto em 7 datas distintas: uma entrada de diário guardada com conteúdo.",
"achievement_diary_days_14_title": "Diário · 14 dias",
"achievement_diary_days_14_description": "Faça isto em 14 datas distintas: uma entrada de diário guardada com conteúdo.",
"achievement_diary_days_30_title": "Diário · 30 dias",
"achievement_diary_days_30_description": "Faça isto em 30 datas distintas: uma entrada de diário guardada com conteúdo.",
"achievement_diary_days_60_title": "Diário · 60 dias",
"achievement_diary_days_60_description": "Faça isto em 60 datas distintas: uma entrada de diário guardada com conteúdo.",
"achievement_diary_days_100_title": "Diário · 100 dias",
"achievement_diary_days_100_description": "Faça isto em 100 datas distintas: uma entrada de diário guardada com conteúdo.",
"achievement_diary_days_180_title": "Diário · 180 dias",
"achievement_diary_days_180_description": "Faça isto em 180 datas distintas: uma entrada de diário guardada com conteúdo.",
"achievement_diary_days_365_title": "Diário · 365 dias",
"achievement_diary_days_365_description": "Faça isto em 365 datas distintas: uma entrada de diário guardada com conteúdo.",
"achievement_diary_weeks_2_title": "Diário · 2 semanas",
"achievement_diary_weeks_2_description": "Faça isto em 2 semanas de calendário distintas, de segunda a domingo: uma entrada de diário guardada com conteúdo.",
"achievement_diary_weeks_4_title": "Diário · 4 semanas",
"achievement_diary_weeks_4_description": "Faça isto em 4 semanas de calendário distintas, de segunda a domingo: uma entrada de diário guardada com conteúdo.",
"achievement_diary_weeks_12_title": "Diário · 12 semanas",
"achievement_diary_weeks_12_description": "Faça isto em 12 semanas de calendário distintas, de segunda a domingo: uma entrada de diário guardada com conteúdo.",
"achievement_diary_weeks_26_title": "Diário · 26 semanas",
"achievement_diary_weeks_26_description": "Faça isto em 26 semanas de calendário distintas, de segunda a domingo: uma entrada de diário guardada com conteúdo.",
"achievement_diary_months_3_title": "Diário · 3 meses",
"achievement_diary_months_3_description": "Faça isto em 3 meses de calendário distintos: uma entrada de diário guardada com conteúdo.",
"achievement_diary_months_6_title": "Diário · 6 meses",
"achievement_diary_months_6_description": "Faça isto em 6 meses de calendário distintos: uma entrada de diário guardada com conteúdo.",
"achievement_diary_months_12_title": "Diário · 12 meses",
"achievement_diary_months_12_description": "Faça isto em 12 meses de calendário distintos: uma entrada de diário guardada com conteúdo.",
"achievement_diary_photo_days_1_title": "Diário · 1 dias",
"achievement_diary_photo_days_1_description": "Faça isto em 1 datas distintas: uma entrada guardada do diário com uma fotografia válida.",
"achievement_diary_photo_days_5_title": "Diário · 5 dias",
"achievement_diary_photo_days_5_description": "Faça isto em 5 datas distintas: uma entrada guardada do diário com uma fotografia válida.",
"achievement_diary_photo_days_20_title": "Diário · 20 dias",
"achievement_diary_photo_days_20_description": "Faça isto em 20 datas distintas: uma entrada guardada do diário com uma fotografia válida.",
"achievement_diary_return_14_title": "Diário · 14 dias de pausa",
"achievement_diary_return_14_description": "Regresse após pelo menos 14 dias completos sem esta atividade: uma entrada de diário guardada com conteúdo."
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_diary_days_1_title": "Дневник · 1 дней",
"achievement_diary_days_1_description": "Сделайте это в 1 разных датах: сохранённая запись в дневнике с содержимым.",
"achievement_diary_days_3_title": "Дневник · 3 дней",
"achievement_diary_days_3_description": "Сделайте это в 3 разных датах: сохранённая запись в дневнике с содержимым.",
"achievement_diary_days_7_title": "Дневник · 7 дней",
"achievement_diary_days_7_description": "Сделайте это в 7 разных датах: сохранённая запись в дневнике с содержимым.",
"achievement_diary_days_14_title": "Дневник · 14 дней",
"achievement_diary_days_14_description": "Сделайте это в 14 разных датах: сохранённая запись в дневнике с содержимым.",
"achievement_diary_days_30_title": "Дневник · 30 дней",
"achievement_diary_days_30_description": "Сделайте это в 30 разных датах: сохранённая запись в дневнике с содержимым.",
"achievement_diary_days_60_title": "Дневник · 60 дней",
"achievement_diary_days_60_description": "Сделайте это в 60 разных датах: сохранённая запись в дневнике с содержимым.",
"achievement_diary_days_100_title": "Дневник · 100 дней",
"achievement_diary_days_100_description": "Сделайте это в 100 разных датах: сохранённая запись в дневнике с содержимым.",
"achievement_diary_days_180_title": "Дневник · 180 дней",
"achievement_diary_days_180_description": "Сделайте это в 180 разных датах: сохранённая запись в дневнике с содержимым.",
"achievement_diary_days_365_title": "Дневник · 365 дней",
"achievement_diary_days_365_description": "Сделайте это в 365 разных датах: сохранённая запись в дневнике с содержимым.",
"achievement_diary_weeks_2_title": "Дневник · 2 недель",
"achievement_diary_weeks_2_description": "Сделайте это в 2 разных календарных неделях с понедельника по воскресенье: сохранённая запись в дневнике с содержимым.",
"achievement_diary_weeks_4_title": "Дневник · 4 недель",
"achievement_diary_weeks_4_description": "Сделайте это в 4 разных календарных неделях с понедельника по воскресенье: сохранённая запись в дневнике с содержимым.",
"achievement_diary_weeks_12_title": "Дневник · 12 недель",
"achievement_diary_weeks_12_description": "Сделайте это в 12 разных календарных неделях с понедельника по воскресенье: сохранённая запись в дневнике с содержимым.",
"achievement_diary_weeks_26_title": "Дневник · 26 недель",
"achievement_diary_weeks_26_description": "Сделайте это в 26 разных календарных неделях с понедельника по воскресенье: сохранённая запись в дневнике с содержимым.",
"achievement_diary_months_3_title": "Дневник · 3 месяцев",
"achievement_diary_months_3_description": "Сделайте это в 3 разных календарных месяцах: сохранённая запись в дневнике с содержимым.",
"achievement_diary_months_6_title": "Дневник · 6 месяцев",
"achievement_diary_months_6_description": "Сделайте это в 6 разных календарных месяцах: сохранённая запись в дневнике с содержимым.",
"achievement_diary_months_12_title": "Дневник · 12 месяцев",
"achievement_diary_months_12_description": "Сделайте это в 12 разных календарных месяцах: сохранённая запись в дневнике с содержимым.",
"achievement_diary_photo_days_1_title": "Дневник · 1 дней",
"achievement_diary_photo_days_1_description": "Сделайте это в 1 разных датах: сохранённая дневниковая запись с корректной фотографией.",
"achievement_diary_photo_days_5_title": "Дневник · 5 дней",
"achievement_diary_photo_days_5_description": "Сделайте это в 5 разных датах: сохранённая дневниковая запись с корректной фотографией.",
"achievement_diary_photo_days_20_title": "Дневник · 20 дней",
"achievement_diary_photo_days_20_description": "Сделайте это в 20 разных датах: сохранённая дневниковая запись с корректной фотографией.",
"achievement_diary_return_14_title": "Дневник · 14 дней перерыва",
"achievement_diary_return_14_description": "Вернитесь после как минимум 14 полных дней без этой активности: сохранённая запись в дневнике с содержимым."
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_diary_days_1_title": "日记 · 1 天",
"achievement_diary_days_1_description": "在1个不同日期进行:已保存且有内容的日记。",
"achievement_diary_days_3_title": "日记 · 3 天",
"achievement_diary_days_3_description": "在3个不同日期进行:已保存且有内容的日记。",
"achievement_diary_days_7_title": "日记 · 7 天",
"achievement_diary_days_7_description": "在7个不同日期进行:已保存且有内容的日记。",
"achievement_diary_days_14_title": "日记 · 14 天",
"achievement_diary_days_14_description": "在14个不同日期进行:已保存且有内容的日记。",
"achievement_diary_days_30_title": "日记 · 30 天",
"achievement_diary_days_30_description": "在30个不同日期进行:已保存且有内容的日记。",
"achievement_diary_days_60_title": "日记 · 60 天",
"achievement_diary_days_60_description": "在60个不同日期进行:已保存且有内容的日记。",
"achievement_diary_days_100_title": "日记 · 100 天",
"achievement_diary_days_100_description": "在100个不同日期进行:已保存且有内容的日记。",
"achievement_diary_days_180_title": "日记 · 180 天",
"achievement_diary_days_180_description": "在180个不同日期进行:已保存且有内容的日记。",
"achievement_diary_days_365_title": "日记 · 365 天",
"achievement_diary_days_365_description": "在365个不同日期进行:已保存且有内容的日记。",
"achievement_diary_weeks_2_title": "日记 · 2 周",
"achievement_diary_weeks_2_description": "在2个不同的周一至周日自然周进行:已保存且有内容的日记。",
"achievement_diary_weeks_4_title": "日记 · 4 周",
"achievement_diary_weeks_4_description": "在4个不同的周一至周日自然周进行:已保存且有内容的日记。",
"achievement_diary_weeks_12_title": "日记 · 12 周",
"achievement_diary_weeks_12_description": "在12个不同的周一至周日自然周进行:已保存且有内容的日记。",
"achievement_diary_weeks_26_title": "日记 · 26 周",
"achievement_diary_weeks_26_description": "在26个不同的周一至周日自然周进行:已保存且有内容的日记。",
"achievement_diary_months_3_title": "日记 · 3 个月",
"achievement_diary_months_3_description": "在3个不同自然月进行:已保存且有内容的日记。",
"achievement_diary_months_6_title": "日记 · 6 个月",
"achievement_diary_months_6_description": "在6个不同自然月进行:已保存且有内容的日记。",
"achievement_diary_months_12_title": "日记 · 12 个月",
"achievement_diary_months_12_description": "在12个不同自然月进行:已保存且有内容的日记。",
"achievement_diary_photo_days_1_title": "日记 · 1 天",
"achievement_diary_photo_days_1_description": "在1个不同日期进行:包含有效照片且已保存的日记。",
"achievement_diary_photo_days_5_title": "日记 · 5 天",
"achievement_diary_photo_days_5_description": "在5个不同日期进行:包含有效照片且已保存的日记。",
"achievement_diary_photo_days_20_title": "日记 · 20 天",
"achievement_diary_photo_days_20_description": "在20个不同日期进行:包含有效照片且已保存的日记。",
"achievement_diary_return_14_title": "日记 · 14 天间隔",
"achievement_diary_return_14_description": "至少有连续14个完整日期未进行此活动后再次进行:已保存且有内容的日记。"
}
+326
View File
@@ -0,0 +1,326 @@
{
"schema": 1,
"app": "inbe.diary",
"achievements": [
{
"id": "diary.days.1",
"group": "diary",
"metric": "diary",
"rule": "days",
"target": 1,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_days_1_title",
"description_key": "achievement_diary_days_1_description",
"title": "First page",
"description": "Save 1 qualifying diary day.",
"icon": "assets/diary/icons/diary.days.1.shape",
"icon_source": "mingcute_regular_pencil"
},
{
"id": "diary.days.3",
"group": "diary",
"metric": "diary",
"rule": "days",
"target": 3,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_days_3_title",
"description_key": "achievement_diary_days_3_description",
"title": "Three pages",
"description": "Save 3 qualifying diary days.",
"icon": "assets/diary/icons/diary.days.3.shape",
"icon_source": "mingcute_regular_notebook"
},
{
"id": "diary.days.7",
"group": "diary",
"metric": "diary",
"rule": "days",
"target": 7,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_days_7_title",
"description_key": "achievement_diary_days_7_description",
"title": "Seven pages",
"description": "Save 7 qualifying diary days.",
"icon": "assets/diary/icons/diary.days.7.shape",
"icon_source": "mingcute_regular_quill_pen"
},
{
"id": "diary.days.14",
"group": "diary",
"metric": "diary",
"rule": "days",
"target": 14,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_days_14_title",
"description_key": "achievement_diary_days_14_description",
"title": "Fourteen pages",
"description": "Save 14 qualifying diary days.",
"icon": "assets/diary/icons/diary.days.14.shape",
"icon_source": "mingcute_regular_book_2"
},
{
"id": "diary.days.30",
"group": "diary",
"metric": "diary",
"rule": "days",
"target": 30,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_days_30_title",
"description_key": "achievement_diary_days_30_description",
"title": "Thirty pages",
"description": "Save 30 qualifying diary days.",
"icon": "assets/diary/icons/diary.days.30.shape",
"icon_source": "mingcute_regular_book"
},
{
"id": "diary.days.60",
"group": "diary",
"metric": "diary",
"rule": "days",
"target": 60,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_days_60_title",
"description_key": "achievement_diary_days_60_description",
"title": "Sixty pages",
"description": "Save 60 qualifying diary days.",
"icon": "assets/diary/icons/diary.days.60.shape",
"icon_source": "mingcute_regular_book_3"
},
{
"id": "diary.days.100",
"group": "diary",
"metric": "diary",
"rule": "days",
"target": 100,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_days_100_title",
"description_key": "achievement_diary_days_100_description",
"title": "One hundred pages",
"description": "Save 100 qualifying diary days.",
"icon": "assets/diary/icons/diary.days.100.shape",
"icon_source": "mingcute_regular_book_5"
},
{
"id": "diary.days.180",
"group": "diary",
"metric": "diary",
"rule": "days",
"target": 180,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_days_180_title",
"description_key": "achievement_diary_days_180_description",
"title": "An unfolding story",
"description": "Save 180 qualifying diary days.",
"icon": "assets/diary/icons/diary.days.180.shape",
"icon_source": "mingcute_regular_book_6"
},
{
"id": "diary.days.365",
"group": "diary",
"metric": "diary",
"rule": "days",
"target": 365,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_days_365_title",
"description_key": "achievement_diary_days_365_description",
"title": "A year of pages",
"description": "Save 365 qualifying diary days.",
"icon": "assets/diary/icons/diary.days.365.shape",
"icon_source": "mingcute_regular_bookmarks"
},
{
"id": "diary.weeks.2",
"group": "diary",
"metric": "diary",
"rule": "weeks",
"target": 2,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_weeks_2_title",
"description_key": "achievement_diary_weeks_2_description",
"title": "Two weeks remembered",
"description": "Write in 2 distinct weeks.",
"icon": "assets/diary/icons/diary.weeks.2.shape",
"icon_source": "mingcute_regular_calendar_week"
},
{
"id": "diary.weeks.4",
"group": "diary",
"metric": "diary",
"rule": "weeks",
"target": 4,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_weeks_4_title",
"description_key": "achievement_diary_weeks_4_description",
"title": "Four weeks remembered",
"description": "Write in 4 distinct weeks.",
"icon": "assets/diary/icons/diary.weeks.4.shape",
"icon_source": "mingcute_regular_calendar_month"
},
{
"id": "diary.weeks.12",
"group": "diary",
"metric": "diary",
"rule": "weeks",
"target": 12,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_weeks_12_title",
"description_key": "achievement_diary_weeks_12_description",
"title": "Twelve weeks remembered",
"description": "Write in 12 distinct weeks.",
"icon": "assets/diary/icons/diary.weeks.12.shape",
"icon_source": "mingcute_regular_calendar_3"
},
{
"id": "diary.weeks.26",
"group": "diary",
"metric": "diary",
"rule": "weeks",
"target": 26,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_weeks_26_title",
"description_key": "achievement_diary_weeks_26_description",
"title": "Twenty-six weeks remembered",
"description": "Write in 26 distinct weeks.",
"icon": "assets/diary/icons/diary.weeks.26.shape",
"icon_source": "mingcute_regular_calendar"
},
{
"id": "diary.months.3",
"group": "diary",
"metric": "diary",
"rule": "months",
"target": 3,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_months_3_title",
"description_key": "achievement_diary_months_3_description",
"title": "Three months remembered",
"description": "Write in 3 distinct months.",
"icon": "assets/diary/icons/diary.months.3.shape",
"icon_source": "mingcute_regular_notebook_2"
},
{
"id": "diary.months.6",
"group": "diary",
"metric": "diary",
"rule": "months",
"target": 6,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_months_6_title",
"description_key": "achievement_diary_months_6_description",
"title": "Six months remembered",
"description": "Write in 6 distinct months.",
"icon": "assets/diary/icons/diary.months.6.shape",
"icon_source": "mingcute_regular_bookmark"
},
{
"id": "diary.months.12",
"group": "diary",
"metric": "diary",
"rule": "months",
"target": 12,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_months_12_title",
"description_key": "achievement_diary_months_12_description",
"title": "Twelve months remembered",
"description": "Write in 12 distinct months.",
"icon": "assets/diary/icons/diary.months.12.shape",
"icon_source": "mingcute_regular_bookmark_edit"
},
{
"id": "diary.photo_days.1",
"group": "diary",
"metric": "diary",
"rule": "days",
"target": 1,
"variant": "photo",
"pack": "",
"needs": "",
"title_key": "achievement_diary_photo_days_1_title",
"description_key": "achievement_diary_photo_days_1_description",
"title": "A picture in your story",
"description": "Save a valid photo on 1 diary day.",
"icon": "assets/diary/icons/diary.photo_days.1.shape",
"icon_source": "mingcute_regular_photo_album"
},
{
"id": "diary.photo_days.5",
"group": "diary",
"metric": "diary",
"rule": "days",
"target": 5,
"variant": "photo",
"pack": "",
"needs": "",
"title_key": "achievement_diary_photo_days_5_title",
"description_key": "achievement_diary_photo_days_5_description",
"title": "Five illustrated days",
"description": "Save valid photos on 5 distinct diary days.",
"icon": "assets/diary/icons/diary.photo_days.5.shape",
"icon_source": "mingcute_regular_photo_album_2"
},
{
"id": "diary.photo_days.20",
"group": "diary",
"metric": "diary",
"rule": "days",
"target": 20,
"variant": "photo",
"pack": "",
"needs": "",
"title_key": "achievement_diary_photo_days_20_title",
"description_key": "achievement_diary_photo_days_20_description",
"title": "Twenty illustrated days",
"description": "Save valid photos on 20 distinct diary days.",
"icon": "assets/diary/icons/diary.photo_days.20.shape",
"icon_source": "mingcute_regular_camera_rotate"
},
{
"id": "diary.return.14",
"group": "diary",
"metric": "diary",
"rule": "return",
"target": 14,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_diary_return_14_title",
"description_key": "achievement_diary_return_14_description",
"title": "A new page again",
"description": "Save a diary day after a 14-day diary gap.",
"icon": "assets/diary/icons/diary.return.14.shape",
"icon_source": "mingcute_regular_pen_2"
}
]
}
+628
View File
@@ -0,0 +1,628 @@
// Date arithmetic and per-day documents moved from Harmony's original Diary.
// File effects belong to the host; this bundle has no OS or database access.
//
// A day's document keeps Harmony's version 1:
// {"version":1,"date":"YYYY-MM-DD","text":"...","photos":[...]}. The text is
// the entry, in Markdown, and the only source of truth: its photos are embed
// lines (diary_markdown.zi). "photos" lists the Diary files the text embeds,
// for older versions, which show those photos below the entry.
#import "json_scan"
#import, file "diary_view.zi";
#import, file "diary_date.zi";
#import, file "diary_markdown.zi";
#import "std/text"
#import "vec"
#import "byte_text_linux"
#import, file "diary_types.zi";
#import "kryon/app_context"
#import "kryon/app_protocol"
#import "date_parse"
#import, file "diary_history.zi";
#import, file "diary_spelling_mask.zi";
#import, file "diary_ui_types.zi";
#import, file "diary_wire.zi";
ReadDiaryFile :: (name: string) -> DiaryFileResult {
data := DocumentRead(name)
status := DocumentStatus()
return DiaryFileResult.{.data = data, .missing = status == DOCUMENT_MISSING,
.succeeded = status != DOCUMENT_ERROR}
}
DiaryClock :: () -> string {
seconds := cast(s64)AppNow() + cast(s64)AppLocalOffset()
date := CivilFromUnix(seconds)
buffer: [19]u8
unused WriteIsoDay(seconds, buffer[:10])
buffer[10] = cast(u8)32
unused DateWriteDigits(buffer[:], 11, date.hour, 2)
buffer[13] = cast(u8)58
unused DateWriteDigits(buffer[:], 14, date.minute, 2)
buffer[16] = cast(u8)58
unused DateWriteDigits(buffer[:], 17, date.second, 2)
out: Vec(u8)
BuilderPrint(*out, "%", TextFromBytes(buffer[:]))
return BuilderFinish(out)
}
Today :: () -> Date {
clock := DiaryClock()
if clock.count < 10 {
return Date.{}
}
return ParseDate(clock[:10])
}
Filename :: (date: Date) -> string {
out: Vec(u8)
BuilderPrint(*out, "%.json", ISO(date))
return BuilderFinish(out)
}
Decode :: (value: string, at: s32) -> string {
bytes: Vec(u8)
for index: 0..value.count {
if !VecPush(bytes, cast(u8)0) {
VecFree(bytes);
return ""
}
}
count := ReadStringText(value, at, VecSlice(bytes, 0, bytes.count))
if count < 0 {
VecFree(bytes);
return ""
}
out: Vec(u8)
BuilderPrint(*out, "%", TextFromBytes(VecSlice(bytes, 0, count)))
VecFree(bytes)
return BuilderFinish(out)
}
Json :: (out: *Vec(u8), value: string) {
BuilderPrint(out, "\"")
for index: 0..value.count - 1 {
byte := value[index]
if byte == cast(u8)34 {
BuilderPrint(out, "\\\"")
}
else if byte == cast(u8)92 {
BuilderPrint(out, "\\\\")
}
else if byte == cast(u8)10 {
BuilderPrint(out, "\\n")
}
else if byte == cast(u8)13 {
BuilderPrint(out, "\\r")
}
else if byte == cast(u8)9 {
BuilderPrint(out, "\\t")
}
else if byte < cast(u8)32 {
BuilderPrint(out, " ")
}
else {
BuilderPrint(out, "%", value[index:index + 1])
}
}
BuilderPrint(out, "\"")
}
Document :: (message: DiaryMessage) -> string {
out: Vec(u8)
BuilderPrint(*out, "{\"version\":1,\"date\":")
Json(*out, ISO(Date.{message.year, message.month, message.day}))
BuilderPrint(*out, ",\"text\":")
Json(*out, message.text)
BuilderPrint(*out, ",\"photos\":")
PhotoMirror(*out, message.text)
BuilderPrint(*out, "}")
return BuilderFinish(out)
}
// The "photos" list older versions show: each Diary file the text embeds,
// once, in the order the text first names it. Photos of the media library
// are no Diary files; older versions show their embed lines as text.
PhotoMirror :: (out: *Vec(u8), text: string) {
BuilderPrint(out, "[")
written: s32 = 0
embed := DiaryEmbedNext(text, 0)
while embed.valid {
file := DiaryEmbedTarget(text, embed)
first := !embed.library
earlier := DiaryEmbedNext(text, 0)
while first && earlier.valid && earlier.start < embed.start {
if !earlier.library && DiaryEmbedTarget(text, earlier) == file {
first = false
}
earlier = DiaryEmbedNext(text, earlier.end)
}
if first {
if written > 0 {
BuilderPrint(out, ",")
}
BuilderPrint(out, "{\"file\":")
Json(out, file)
BuilderPrint(out, ",\"name\":")
Json(out, DiaryEmbedAlt(text, embed))
BuilderPrint(out, "}")
written += 1
}
embed = DiaryEmbedNext(text, embed.end)
}
BuilderPrint(out, "]")
}
// Photos an older version attached as Diary files and the text does not
// embed yet, as embed lines after the text, in the document's order. Only
// the text in memory changes: viewing a day writes nothing, and its first
// real edit saves the embeds.
Migrated :: (text: string, document: string) -> string {
rows := FieldAt(document, 0, "photos")
result := text
for index: cast(s32)0..ArrayCount(document, rows) - 1 {
row := ElementAt(document, rows, index)
file := Decode(document, FieldAt(document, row, "file"))
if DiaryEmbedReferences(result, file) {
continue
}
destination: Vec(u8)
BuilderPrint(*destination, "diary:%", file)
line := DiaryEmbedLine(BuilderFinish(destination),
Decode(document, FieldAt(document, row, "name")))
result = DiaryEmbedAppend(result, line)
}
return result
}
// Puts the photo the host named, a library photo it just added or a Diary
// file, on its own line at the caret: one edit, saved at once. The caret
// starts at the end of a day's entry, so without a click the photo follows
// the text.
AttachPhoto :: (message: DiaryMessage) -> DiaryMessage {
line := DiaryEmbedLine(message.attachment_file, message.attachment_name)
if !OnOrBefore(Date.{message.year, message.month, message.day}, Today()) ||
message.load_error || DiaryEmbedAt(line, 0).end != cast(s32)line.count {
message.succeeded = false
return message
}
edit := DiaryEmbedInsertion(message.text, message.cursor, line)
message.action = DIARY_EDIT
message.edit_start = edit.start
message.edit_end = edit.end
message.replacement = edit.replacement
message = Apply(message)
message.replacement = ""
// An entry that cannot save keeps the photo and saves with its next edit.
message = Save(message)
return message
}
Load :: (message: DiaryMessage, date: Date) -> DiaryMessage {
if !OnOrBefore(date, Today()) {
message.succeeded = false;
return message
}
loaded := ReadDiaryFile(Filename(date))
message.year = date.year
message.month = date.month
message.day = date.day
message.text = ""
message.document = loaded.data
message.cursor = 0
message.anchor = 0
message.load_error = !loaded.succeeded
message.saved = true
if loaded.missing {
message.load_error = false;
return message
}
version := ReadNumber(loaded.data, FieldAt(loaded.data, 0, "version"))
day := Decode(loaded.data, FieldAt(loaded.data, 0, "date"))
text := FieldAt(loaded.data, 0, "text")
if !version.valid || version.value != 1.0 || day != ISO(date) || text < 0 ||
loaded.data[text] != cast(u8)34 ||
ArrayCount(loaded.data, FieldAt(loaded.data, 0, "photos")) < 0 ||
Space(loaded.data, ValueEnd(loaded.data, 0, 0)) != loaded.data.count {
message.load_error = true
return message
}
rows := FieldAt(loaded.data, 0, "photos")
for index: cast(s32)0..ArrayCount(loaded.data, rows) - 1 {
row := ElementAt(loaded.data, rows, index)
file := Decode(loaded.data, FieldAt(loaded.data, row, "file"))
label := FieldAt(loaded.data, row, "name")
if !DiaryFileNameValid(file) || label < 0 || loaded.data[label] != cast(u8)34 {
message.load_error = true
return message
}
}
message.text = Migrated(Decode(loaded.data, text), loaded.data)
message.cursor = cast(s32)message.text.count
message.anchor = message.cursor
return message
}
Save :: (message: DiaryMessage) -> DiaryMessage {
if message.load_error || !OnOrBefore(Date.{message.year, message.month, message.day}, Today()) {
message.succeeded = false;
return message
}
if message.saved {
return message
}
message.document = Document(message)
message.saved = DocumentWrite(Filename(Date.{message.year, message.month, message.day}),
message.document)
message.succeeded = message.saved
return message
}
Apply :: (message: DiaryMessage) -> DiaryMessage {
message.succeeded = true
if message.action == DIARY_ROUTE {
message.succeeded = true
return message
}
if message.action == DIARY_LOAD {
date := Date.{message.year, message.month, message.day}
if !Valid(date) {
date = Today()
}
return Load(message, date)
}
if message.action == DIARY_SAVE {
return Save(message)
}
if message.action == DIARY_ATTACH {
return AttachPhoto(message)
}
if message.action == DIARY_EDIT {
if !OnOrBefore(Date.{message.year, message.month, message.day}, Today()) ||
message.load_error || message.edit_start < 0 ||
message.edit_end < message.edit_start || message.edit_end > message.text.count {
message.succeeded = false
return message
}
out: Vec(u8)
BuilderPrint(*out, "%", message.text[0:message.edit_start])
BuilderPrint(*out, "%", message.replacement)
BuilderPrint(*out, "%", message.text[message.edit_end:message.text.count])
message.text = BuilderFinish(out)
message.cursor = message.edit_start + cast(s32)message.replacement.count
message.anchor = message.cursor
message.saved = false
return message
}
if message.action != DIARY_CONTROL {
message.succeeded = false;
return message
}
if message.control == 29013 {
clock := DiaryClock()
if message.load_error || message.calendar || clock.count < 16 {
message.succeeded = false
return message
}
stamp: Vec(u8)
BuilderPrint(*stamp, "**%**", clock[11:16])
message.replacement = BuilderFinish(stamp)
message.edit_start = ifx message.cursor < message.anchor then message.cursor else message.anchor
message.edit_end = ifx message.cursor > message.anchor then message.cursor else message.anchor
message.action = DIARY_EDIT
return Apply(message)
}
if message.control == 29003 {
message.calendar = !message.calendar
message.month_year = message.year
message.month_number = message.month
} else if message.control == 29011 || message.control == 29012 {
previous_year := message.month_year
previous_month := message.month_number
message.month_number += ifx message.control == 29011 then -1 else 1
if message.month_number < 1 {
message.month_number = 12;
message.month_year -= 1
}
if message.month_number > 12 {
message.month_number = 1;
message.month_year += 1
}
if !OnOrBefore(Date.{message.month_year, message.month_number, 1}, Today()) {
message.month_year = previous_year
message.month_number = previous_month
message.succeeded = false;
return message
}
} else {
before := message
date := Date.{before.year, before.month, before.day}
if message.control == 29001 {
date = Next(date, -1)
}
else if message.control == 29002 {
date = Next(date, 1)
}
else if message.control == 29004 {
date = Today()
}
else if message.control >= 29101 && message.control <= 29131 {
date = Date.{message.month_year, message.month_number, message.control - 29100}
} else {
message.succeeded = false;
return message
}
if !OnOrBefore(date, Today()) {
message.succeeded = false
return message
}
message = Save(message)
if !message.saved && !message.load_error {
return message
}
message = Load(message, date)
message.calendar = false
}
if message.calendar {
if !Valid(Date.{message.month_year, message.month_number, 1}) {
message.succeeded = false
message.calendar = false
return message
}
message.month_days = Days(message.month_year, message.month_number)
message.month_weekday = Weekday(Date.{message.month_year, message.month_number, 1})
for day: cast(s32)0..cast(s32)31 {
message.marks[day] = cast(u8)0
}
for day: cast(s32)1..Days(message.month_year, message.month_number) {
file := ReadDiaryFile(Filename(Date.{message.month_year, message.month_number, day}))
text := FieldAt(file.data, 0, "text")
has_text := text >= 0 && text + 1 < file.data.count && file.data[text + 1] != cast(u8)34
message.marks[day] = ifx has_text ||
ArrayCount(file.data, FieldAt(file.data, 0, "photos")) > 0 then cast(u8)1 else cast(u8)0
}
}
return message
}
entry: DiaryMessage;
editor: DiaryUiFrame;
loaded: bool;
document_scope: string;
document_revision: string;
history: DiaryHistory;
photo_waiting: bool;
photo_day: Date;
spelling_sent: string;
spelling_day: Date;
spelling_notice_until: float64;
DiarySpellingNotice :: (key: string) {
editor.spelling_notice = key
spelling_notice_until = editor.now + 6.0
}
DiarySpellingPollService :: () {
if !editor.spelling_busy || !AppSupports("text.correct.poll") { return }
result := AppService("text.correct.poll", "")
if !DiaryWireBool(result, "finished") { return }
editor.spelling_busy = false
same_day := entry.year == spelling_day.year && entry.month == spelling_day.month &&
entry.day == spelling_day.day
if !same_day { return }
notice := DiaryWireString(result, FieldAt(result, 0, "notice"))
if notice != "" {
DiarySpellingNotice(notice)
return
}
if entry.text != spelling_sent {
DiarySpellingNotice("diary_spelling_error")
return
}
corrected := DiarySpellingRestored(entry.text, DiaryWireString(result, FieldAt(result, 0, "text")))
if corrected == "" && entry.text != "" {
DiarySpellingNotice("diary_spelling_error")
return
}
if corrected == entry.text {
DiarySpellingNotice("diary_spelling_none")
return
}
edit := DiaryHistoryEdit(entry.text, corrected)
entry.action = DIARY_EDIT
entry.edit_start = edit.start
entry.edit_end = edit.end
entry.replacement = edit.replacement
entry = Apply(entry)
entry.replacement = ""
editor.save_at = editor.now
DiaryHistoryObserve(*history, entry.year, entry.month, entry.day, entry.text, editor.now, false)
}
DiarySpellingRequest :: () {
if !editor.spelling_requested || editor.spelling_busy || !AppSupports("text.correct.start") { return }
result := AppService("text.correct.start", DiarySpellingMasked(entry.text))
notice := DiaryWireString(result, FieldAt(result, 0, "notice"))
if notice != "" {
DiarySpellingNotice(notice)
return
}
editor.spelling_busy = DiaryWireBool(result, "busy")
if editor.spelling_busy {
spelling_sent = entry.text
spelling_day = Date.{entry.year, entry.month, entry.day}
editor.spelling_notice = ""
}
}
DiaryEnsureLoaded :: () {
if !loaded {
entry = Apply(DiaryMessage.{.action = DIARY_LOAD})
loaded = entry.succeeded
}
}
DiaryRefreshPosition :: (position: s32, text: string) -> s32 {
at := ifx position > text.count then cast(s32)text.count else position
while at > 0 && at < text.count && DiaryContinuationByte(text[at]) {
at -= 1
}
return at
}
DiaryObserveDocuments :: (refresh: bool) {
if !AppSupports("document.revision") {
return
}
revision := AppService("document.revision", "")
if revision == "" || revision == document_revision {
return
}
separator := revision.count - 1
while separator >= 0 && revision[separator] != cast(u8)58 {
separator -= 1
}
if separator <= 0 {
return
}
scope := revision[:separator]
if document_scope != "" && scope != document_scope {
// Keep the selected date, but never save or carry editor state from
// another account into it.
date := Date.{entry.year, entry.month, entry.day}
entry = Apply(DiaryMessage.{.action = DIARY_LOAD, .year = date.year,
.month = date.month, .day = date.day})
loaded = entry.succeeded
editor = DiaryUiFrame.{}
DiaryHistoryClear(*history)
photo_waiting = false
spelling_sent = ""
document_scope = scope
document_revision = revision
return
}
document_scope = scope
if !refresh || (loaded && !entry.saved) {
// Leave the revision pending while typing or retrying a failed save.
return
}
document_revision = revision
if !loaded {
return
}
fresh := Load(entry, Date.{entry.year, entry.month, entry.day})
// A manifest and its chunks may arrive on different sync pages. Keep
// the current text until a later committed revision makes it readable.
if fresh.load_error || (fresh.document == entry.document && !entry.load_error) {
return
}
fresh.cursor = DiaryRefreshPosition(entry.cursor, fresh.text)
fresh.anchor = DiaryRefreshPosition(entry.anchor, fresh.text)
if fresh.text != entry.text {
DiaryHistoryClear(*history)
}
entry = fresh
}
DiaryHistoryApply :: (redo: bool) {
changed := ifx redo then DiaryHistoryRedo(*history) else DiaryHistoryUndo(*history)
if !changed { return }
edit := DiaryHistoryEdit(entry.text, history.current)
entry.action = DIARY_EDIT
entry.edit_start = edit.start
entry.edit_end = edit.end
entry.replacement = edit.replacement
entry = Apply(entry)
entry.replacement = ""
editor.save_at = editor.now
}
DiaryPicked :: (result: string) {
status := DiaryWireString(result, FieldAt(result, 0, "status"))
photo_waiting = status == "pending"
if status != "done" {
editor.photo_error = status == "failed"
return
}
if entry.year != photo_day.year || entry.month != photo_day.month || entry.day != photo_day.day {
return
}
entry.action = DIARY_ATTACH
entry.attachment_file = DiaryWireString(result, FieldAt(result, 0, "destination"))
entry.attachment_name = DiaryWireString(result, FieldAt(result, 0, "name"))
entry = Apply(entry)
editor.photo_error = !entry.succeeded
}
#program_export "DiaryMain"
Main :: () -> s32 {
mode := AppMode()
if mode == APP_IDENTIFY {
AppIdentity("inbe.diary")
AppDescribe("Diary", "S1.8rr:M5 3H19V21H5ZM8 7H16M8 11H16M8 15H13")
return APP_PROTOCOL
}
if mode == APP_COMMAND {
DiaryObserveDocuments(false)
entry = Apply(DiaryMessageDecode(AppCommand()))
loaded = entry.year > 0
AppReply(DiaryMessageEncode(entry))
return 0
}
if mode == APP_SAVE {
DiaryObserveDocuments(false)
if loaded { entry = Save(entry) }
AppReply(DiaryMessageEncode(entry))
return ifx !loaded || entry.saved || entry.load_error then 0 else 1
}
if mode != APP_FRAME { return 0 }
DiaryObserveDocuments(true)
DiaryEnsureLoaded()
bounds := AppBounds()
editor.session = AppSession()
editor.width = cast(s32)bounds.width
editor.height = cast(s32)(bounds.y + bounds.height)
editor.origin_x = cast(s32)bounds.x
editor.origin_y = cast(s32)bounds.y
editor.scale = AppScale()
editor.font = AppFont()
editor.now = AppAreaInput().now_seconds
editor.input = AppAreaInput()
editor.link_color = ifx AppDark() then cast(u32)0x9bc5e8ff else cast(u32)0x286d9cff
editor.muted_color = ifx AppDark() then cast(u32)0xaaaeb3ff else cast(u32)0x62686eff
editor.can_undo = history.undo_count > 0
editor.can_redo = history.redo_count > 0
editor.photo_requested = false
editor.undo_requested = false
editor.redo_requested = false
editor.spelling_requested = false
if editor.now >= spelling_notice_until { editor.spelling_notice = "" }
DiarySpellingPollService()
editor.clipboard_write = false
if photo_waiting && AppSupports("media.pick.status") {
DiaryPicked(AppService("media.pick.status", ""))
}
entry.action = DIARY_FRAME
entry = DiaryView(entry, editor, Today())
editor = DiaryObservedFrame()
if entry.action != DIARY_FRAME { entry = Apply(entry) }
if editor.undo_requested { DiaryHistoryApply(false) }
if editor.redo_requested { DiaryHistoryApply(true) }
DiarySpellingRequest()
if editor.photo_requested && AppSupports("media.pick") {
entry = Save(entry)
if entry.saved {
photo_day = Date.{entry.year, entry.month, entry.day}
DiaryPicked(AppService("media.pick", AppLocale("diary_attach_photo")))
}
}
if editor.clipboard_write {
unused ClipboardCopy(editor.clipboard_text, 0)
}
if !entry.saved && editor.now >= editor.save_at { entry = Save(entry) }
if loaded && !entry.load_error {
DiaryHistoryObserve(*history, entry.year, entry.month, entry.day, entry.text, editor.now, true)
}
AppKeyboard(editor.focused)
return 0
}
+150
View File
@@ -0,0 +1,150 @@
// Diary decides whether a saved document contains a real entry or a valid
// account photo. Achievement facts contain only its date and photo flag.
#import "std/json_scan"
#import "std/text_buffer"
#import "std/byte_text_linux"
#import "std/vec"
#import, file "diary_markdown.zi";
#import, file "../../src/storage/achievements.zi";
#import, file "../../src/storage/achievement_records.zi";
#import, file "../../src/storage/sqlite.zi";
#import, file "../../src/storage/db.zi";
#import, file "../../src/storage/state.zi";
#import, file "../../src/storage/storage_core.zi";
#import, file "../../src/storage/bundled_app_records.zi";
#import, file "../../src/apps/diary_records.zi";
#import, file "../../src/apps/media_store.zi";
#import, file "../../src/apps/package_files.zi";
#import, file "../../src/app/text_buffers.zi";
AchievementDiaryPhoto :: (target: string, library: bool) -> bool {
if library {
hash := MediaPlaceHash(target)
if hash == "" { return false }
item := MediaRead(hash)
return item.valid && !item.trashed
}
if !DiaryFileNameValid(target) { return false }
key := DiaryRecordKey(target)
record := BundledAppRecordRead(key)
defer { PackageFree(key); PackageFree(record) }
return DiaryMediaParse(record).valid
}
// A saved document's day, whether it shows a photo, and whether it is a
// real entry: authored text or a valid photo. `day` is 0 when the name is
// not a day's document.
DiaryEntry :: struct {
day: s32
photo: bool
qualified: bool
}
DiaryEntryOf :: (name: string, document: string) -> DiaryEntry {
entry: DiaryEntry
if name.count != 15 || name[10:] != ".json" { return entry }
day := AchievementParseDay(name[:10])
if day == 0 || document.count > 16777216 { return entry }
entry.day = day
end := ValueEnd(document, Space(document, 0), 0)
if end < 0 || Space(document, end) != document.count { return entry }
version := ReadNumber(document, FieldAt(document, 0, "version"))
date: [11]u8
if !version.valid || version.value != 1 ||
ReadStringText(document, FieldAt(document, 0, "date"), date[:]) != 10 ||
TextUntilNul(date[:]) != name[:10] { return entry }
decoded := ReadStringValue(document, FieldAt(document, 0, "text"), 16777216)
if !decoded.valid { return entry }
text := BuilderFinish(decoded.value)
defer { PackageFree(text) }
authored := false
offset: s32 = 0
while offset < text.count {
embed := DiaryEmbedAt(text, offset)
if embed.valid {
if AchievementDiaryPhoto(DiaryEmbedTarget(text, embed), embed.library) { entry.photo = true }
offset = embed.end
continue
}
// A broken image by itself is not authored journal text.
if text[offset] == #char "!" && offset + 1 < text.count && text[offset + 1] == #char "[" {
while offset < text.count && text[offset] != cast(u8)10 { offset += 1 }
continue
}
byte := text[offset]
if byte > cast(u8)32 && byte != #char "*" && byte != #char "_" && byte != #char "#" &&
byte != #char ">" && byte != #char "`" && byte != #char "~" && byte != #char "-" { authored = true }
offset += 1
}
old_photos := FieldAt(document, 0, "photos")
for index: cast(s32)0..ArrayCount(document, old_photos) - 1 {
row := ElementAt(document, old_photos, index)
file: [201]u8
if ReadStringText(document, FieldAt(document, row, "file"), file[:]) > 0 &&
AchievementDiaryPhoto(TextUntilNul(file[:]), false) { entry.photo = true }
}
entry.qualified = authored || entry.photo
return entry
}
// Records the day's fact and answers whether the day has a real entry.
AchievementDiarySaved :: (name: string, document: string, live: bool = true) -> bool {
entry := DiaryEntryOf(name, document)
if entry.day == 0 { return false }
unused AchievementRecord("diary", name, entry.day, 1, ifx entry.photo then "photo" else "", "", true, live,
!entry.qualified)
return entry.qualified
}
AchievementDiaryBackfill :: (offset: s32) -> s32 {
statement: *void
if SqlitePrepareText(storage_db_handle(),
"SELECT substr(key,17) FROM settings WHERE user_id=?1 AND key GLOB 'cell.diary.file.????-??-??.json' ORDER BY key LIMIT 128 OFFSET ?2",
-1, *statement, null) != SQLITE_OK { return -1 }
defer { SqliteFinalize(statement) }
bind_text(statement, 1, AchievementOwner())
SqliteBindInt(statement, 2, offset)
rows: s32 = 0
while SqliteStep(statement) == SQLITE_ROW {
name := AppTextFromCString(SqliteColumnText(statement, 0), 96)
document := DiaryRecordRead(name)
unused AchievementDiarySaved(name, document, false)
PackageFree(document)
rows += 1
}
return rows
}
// Every day of the account with a real entry, oldest first, from the synced
// documents, so a newly linked habit brings its earlier days along. The
// caller frees the list.
DiaryWrittenDays :: () -> Vec(s32) {
days: Vec(s32)
offset: s32 = 0
more := true
while more {
statement: *void
if SqlitePrepareText(storage_db_handle(),
"SELECT substr(key,17) FROM settings WHERE user_id=?1 AND key GLOB 'cell.diary.file.????-??-??.json' ORDER BY key LIMIT 128 OFFSET ?2",
-1, *statement, null) != SQLITE_OK {
break
}
bind_text(statement, 1, AchievementOwner())
SqliteBindInt(statement, 2, offset)
rows: s32 = 0
while SqliteStep(statement) == SQLITE_ROW {
name := AppTextFromCString(SqliteColumnText(statement, 0), 96)
document := DiaryRecordRead(name)
entry := DiaryEntryOf(name, document)
PackageFree(document)
if entry.qualified {
unused VecPush(days, entry.day)
}
rows += 1
}
SqliteFinalize(statement)
more = rows == 128
offset += rows
}
return days
}
+124
View File
@@ -0,0 +1,124 @@
#import "std/text"
#import "vec"
#import "byte_text_linux"
Date :: struct {
year: s32;
month: s32;
day: s32;
}
Leap :: (year: s32) -> bool {
return year % 4 == 0 && (year % 100 != 0 || year % 400 == 0)
}
Days :: (year: s32, month: s32) -> s32 {
lengths: [12]s32 = .[31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
if month < 1 || month > 12 {
return 0
}
if month == 2 && Leap(year) {
return 29
}
return lengths[month - 1]
}
Valid :: (date: Date) -> bool {
return date.year >= 1 && date.year <= 9999 && date.month >= 1 &&
date.month <= 12 && date.day >= 1 && date.day <= Days(date.year, date.month)
}
Next :: (date: Date, delta: s32) -> Date {
value := date
if delta > 0 {
value.day += 1
if value.day > Days(value.year, value.month) {
value.day = 1
value.month += 1
if value.month > 12 {
value.month = 1;
value.year += 1
}
}
}
if delta < 0 {
value.day -= 1
if value.day < 1 {
value.month -= 1
if value.month < 1 {
value.month = 12;
value.year -= 1
}
value.day = Days(value.year, value.month)
}
}
return ifx Valid(value) then value else date
}
Weekday :: (date: Date) -> s32 {
year := date.year
if date.month < 3 {
year -= 1
}
offsets: [12]s32 = .[0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4]
return (year + year / 4 - year / 100 + year / 400 +
offsets[date.month - 1] + date.day + 6) % 7
}
ISO :: (date: Date) -> string {
bytes: [10]u8
values: [3]s32 = .[date.year, date.month, date.day]
starts: [3]s32 = .[0, 5, 8]
lengths: [3]s32 = .[4, 2, 2]
bytes[4] = cast(u8)45
bytes[7] = cast(u8)45
for index: cast(s32)0..cast(s32)2 {
number := values[index]
for digit: cast(s32)0..lengths[index] - 1 {
bytes[starts[index] + lengths[index] - digit - 1] = cast(u8)(48 + number % 10)
number /= 10
}
}
out: Vec(u8)
BuilderPrint(*out, "%", TextFromBytes(bytes[:]))
return BuilderFinish(out)
}
ParseDate :: (value: string) -> Date {
date: Date
if value.count != 10 || value[4] != cast(u8)45 || value[7] != cast(u8)45 {
return date
}
for index: cast(s32)0..cast(s32)9 {
if index == 4 || index == 7 {
continue
}
if value[index] < cast(u8)48 || value[index] > cast(u8)57 {
return Date.{}
}
number := cast(s32)value[index] - 48
if index < 4 {
date.year = date.year * 10 + number
}
else if index < 7 {
date.month = date.month * 10 + number
}
else {
date.day = date.day * 10 + number
}
}
return ifx Valid(date) then date else Date.{}
}
OnOrBefore :: (date: Date, limit: Date) -> bool {
if !Valid(date) || !Valid(limit) {
return false
}
if date.year != limit.year {
return date.year < limit.year
}
if date.month != limit.month {
return date.month < limit.month
}
return date.day <= limit.day
}
+177
View File
@@ -0,0 +1,177 @@
// Undo and redo for the Diary entry on screen. The app retains immutable
// snapshots; native callers own copies of their snapshots. Typing
// within a moment is one step; a spelling correction, an undo and a redo are
// steps of their own.
#import "vec"
#import "std/text"
#import "byte_text_linux"
DIARY_HISTORY_DEPTH :: 64
// Typing joins the open step until it pauses this long or the step is this
// old, in seconds.
DIARY_HISTORY_PAUSE :: 1.0
DIARY_HISTORY_SPAN :: 5.0
DiaryHistory :: struct {
year: s32
month: s32
day: s32
// Owned copies, freed by DiaryHistoryFree.
current: string
undo: [DIARY_HISTORY_DEPTH]string
undo_count: s32
redo: [DIARY_HISTORY_DEPTH]string
redo_count: s32
typing: bool
typed_at: float64
step_started: float64
}
// A replacement of text[start:end], as the Diary package applies edits.
DiaryEdit :: struct {
start: s32
end: s32
replacement: string
}
#if !#defined(KRYON_HOSTED_UI) {
c :: #system_library "c";
DiaryHistoryFreeBytes :: (bytes: *u8) #foreign c "free";
}
DiaryHistoryCopy :: (text: string) -> string {
#if #defined(KRYON_HOSTED_UI) {
return text
} else {
copy: Vec(u8)
BuilderPrint(*copy, "%", text)
return BuilderFinish(copy)
}
}
DiaryHistoryFree :: (value: string) {
#if !#defined(KRYON_HOSTED_UI) {
if value.count == 0 {
return
}
bytes := cast(*TextDescriptor)(*value)
DiaryHistoryFreeBytes(bytes.data)
}
}
DiaryHistoryPush :: (steps: []string, count: *s32, snapshot: string) {
if count.* == cast(s32)steps.count {
// The oldest step makes room for the newest.
DiaryHistoryFree(steps[0])
for index: cast(s32)1..count.* - 1 {
steps[index - 1] = steps[index]
}
count.* -= 1
}
steps[count.*] = snapshot
count.* += 1
}
DiaryHistoryDropRedo :: (history: *DiaryHistory) {
for index: cast(s32)0..history.redo_count - 1 {
DiaryHistoryFree(history.redo[index])
history.redo[index] = ""
}
history.redo_count = 0
}
DiaryHistoryClear :: (history: *DiaryHistory) {
DiaryHistoryFree(history.current)
for index: cast(s32)0..history.undo_count - 1 {
DiaryHistoryFree(history.undo[index])
}
DiaryHistoryDropRedo(history)
history.* = DiaryHistory.{}
}
// Records the entry as it is after a frame. Another day starts a new
// history. typing is false for a change that must be its own step.
DiaryHistoryObserve :: (history: *DiaryHistory, year: s32, month: s32, day: s32,
text: string, now: float64, typing: bool) {
if history.year != year || history.month != month || history.day != day {
DiaryHistoryClear(history)
history.year = year
history.month = month
history.day = day
history.current = DiaryHistoryCopy(text)
return
}
if history.current == text {
return
}
joins := typing && history.typing &&
now - history.typed_at < DIARY_HISTORY_PAUSE &&
now - history.step_started < DIARY_HISTORY_SPAN
if joins {
DiaryHistoryFree(history.current)
} else {
DiaryHistoryPush(history.undo[:], *history.undo_count, history.current)
history.step_started = now
}
DiaryHistoryDropRedo(history)
history.current = DiaryHistoryCopy(text)
history.typing = typing
history.typed_at = now
}
// Moves back one step. The history's current text becomes the text the host
// then shows; false means there is nothing to undo.
DiaryHistoryUndo :: (history: *DiaryHistory) -> bool {
if history.undo_count == 0 {
return false
}
history.undo_count -= 1
DiaryHistoryPush(history.redo[:], *history.redo_count, history.current)
history.current = history.undo[history.undo_count]
history.undo[history.undo_count] = ""
history.typing = false
return true
}
DiaryHistoryRedo :: (history: *DiaryHistory) -> bool {
if history.redo_count == 0 {
return false
}
history.redo_count -= 1
DiaryHistoryPush(history.undo[:], *history.undo_count, history.current)
history.current = history.redo[history.redo_count]
history.redo[history.redo_count] = ""
history.typing = false
return true
}
DiaryContinuationByte :: (byte: u8) -> bool {
return (byte & cast(u8)192) == cast(u8)128
}
// The smallest replacement that turns from into to, on whole UTF-8
// characters, so the caret lands just after the changed text.
DiaryHistoryEdit :: (from: string, to: string) -> DiaryEdit {
shorter := ifx from.count < to.count then from.count else to.count
prefix: s64 = 0
while prefix < shorter && from[prefix] == to[prefix] {
prefix += 1
}
while prefix > 0 &&
((prefix < from.count && DiaryContinuationByte(from[prefix])) ||
(prefix < to.count && DiaryContinuationByte(to[prefix]))) {
prefix -= 1
}
suffix: s64 = 0
while suffix < from.count - prefix && suffix < to.count - prefix &&
from[from.count - 1 - suffix] == to[to.count - 1 - suffix] {
suffix += 1
}
// The shared ending is the same bytes in both texts, so one check keeps
// it on a character boundary in each.
while suffix > 0 && DiaryContinuationByte(from[from.count - suffix]) {
suffix -= 1
}
return DiaryEdit.{.start = cast(s32)prefix, .end = cast(s32)(from.count - suffix),
.replacement = to[prefix:to.count - suffix]}
}
+481
View File
@@ -0,0 +1,481 @@
// A Diary entry is Markdown. This module finds its photo embeds and the
// CommonMark basics the editor previews, and makes the edits that add a
// photo. It reads only the entry's text; files and the account's media
// library belong to the host.
//
// An embed is a CommonMark image anywhere in a line whose destination is a
// photo: `![ALT](photos/YYYY/MM/DD/SHA256.EXT)` for a photo of the account's
// media library, which Photos shows too (the photo's day, its SHA-256 and
// its type), or `![ALT](diary:FILE)` for a photo an older version attached
// to the entry as a Diary file. Other images and text stay ordinary text.
// An inserted photo gets a line of its own.
#import "std/text"
#import "vec"
#import "byte_text_linux"
Markdown :: #import "kryon/markdown_preview";
// Resolve Diary's media syntax for Kryon's shared Markdown editor. Keeping
// one extra span lets the preview report its own image-capacity truncation.
diary_images: [Markdown.PREVIEW_IMAGES + 1]Markdown.ImageSpan;
DiaryResolvedImages :: (text: string) -> []Markdown.ImageSpan {
count: s32 = 0
embed := DiaryEmbedNext(text, 0)
while embed.valid && count < Markdown.PREVIEW_IMAGES + 1 {
diary_images[count] = Markdown.ImageSpan.{.valid = true,
.start = embed.start, .end = embed.end, .line_start = embed.line_start,
.line_end = embed.line_end, .alt_end = embed.alt_end}
count += 1
embed = DiaryEmbedNext(text, embed.end)
}
return diary_images[:count]
}
DIARY_EMBED_ALT_MAX :: 200
DIARY_EMBED_NAME_MAX :: 200
DiaryEmbed :: struct {
valid: bool
// The image's bytes, from its `!` to its closing parenthesis.
start: s32
end: s32
// Its line, without the line break.
line_start: s32
line_end: s32
alt_start: s32
alt_end: s32
// The destination, without angle brackets, ends with its target: the
// Diary file's name after `diary:`, or the whole library place.
destination_start: s32
target_start: s32
target_end: s32
// A photo of the account's media library (photos/...) or a Diary file
// (diary:).
library: bool
}
// Replaces text[start:end]; the caret goes to cursor afterwards.
DiaryEmbedEdit :: struct {
start: s32
end: s32
replacement: string
cursor: s32
}
DiaryLineEnd :: (text: string, start: s32) -> s32 {
end := start
while end < cast(s32)text.count && text[end] != cast(u8)10 {
end += 1
}
return end
}
DiaryLineStart :: (text: string, at: s32) -> s32 {
start := at
if start > cast(s32)text.count {
start = cast(s32)text.count
}
while start > 0 && text[start - 1] != cast(u8)10 {
start -= 1
}
return start
}
DiaryBlank :: (byte: u8) -> bool {
return byte == cast(u8)32 || byte == cast(u8)9
}
// ---------------------------------------------------------------- embeds
// A Diary file name, as the host stores it.
DiaryFileNameValid :: (name: string) -> bool {
if name.count == 0 || name.count > DIARY_EMBED_NAME_MAX || name == "." || name == ".." {
return false
}
for byte: name {
digit := byte >= cast(u8)48 && byte <= cast(u8)57
letter := byte >= cast(u8)97 && byte <= cast(u8)122
if !digit && !letter && byte != cast(u8)45 && byte != cast(u8)46 {
return false
}
}
return true
}
// A media library key: the photo's SHA-256 in lowercase hex.
DiaryMediaKeyValid :: (key: string) -> bool {
if key.count != 64 {
return false
}
for byte: key {
digit := byte >= cast(u8)48 && byte <= cast(u8)57
letter := byte >= cast(u8)97 && byte <= cast(u8)102
if !digit && !letter {
return false
}
}
return true
}
DiaryDigits :: (value: string) -> bool {
for byte: value {
if byte < cast(u8)48 || byte > cast(u8)57 {
return false
}
}
return true
}
// The photo types the library keeps.
DiaryPhotoTypeValid :: (format: string) -> bool {
return format == "jpg" || format == "png" || format == "webp" || format == "gif"
}
// A library photo's place: photos/YYYY/MM/DD/<sha256>.<type>, its day as the
// Photos gallery groups it.
DiaryLibraryPathValid :: (path: string) -> bool {
if path.count < 86 || path.count > 87 || path[:7] != "photos/" ||
path[11] != #char "/" || path[14] != #char "/" || path[17] != #char "/" ||
path[82] != #char "." {
return false
}
if !DiaryDigits(path[7:11]) || !DiaryDigits(path[12:14]) || !DiaryDigits(path[15:17]) {
return false
}
month := (cast(s32)path[12] - 48) * 10 + cast(s32)path[13] - 48
day := (cast(s32)path[15] - 48) * 10 + cast(s32)path[16] - 48
if month < 1 || month > 12 || day < 1 || day > 31 {
return false
}
return DiaryMediaKeyValid(path[18:82]) && DiaryPhotoTypeValid(path[83:])
}
// The place of a library photo taken or added on `day` (YYYY-MM-DD), or ""
// when one of its parts is not valid.
DiaryLibraryPath :: (day: string, hash: string, format: string) -> string {
if day.count != 10 || day[4] != #char "-" || day[7] != #char "-" {
return ""
}
out: Vec(u8)
BuilderPrint(*out, "photos/%/%/%/%.%", day[:4], day[5:7], day[8:10], hash, format)
path := BuilderFinish(out)
if !DiaryLibraryPathValid(path) {
return ""
}
return path
}
// The photo at `at`, where an image's `!` stands, or an invalid embed. An
// image follows CommonMark within one line: `![ALT](DESTINATION)`, with
// spaces or tabs around the destination, an optional "title", 'title' or
// (title) after it, and the destination in <angle brackets> or plain.
// Escaped brackets may appear in ALT. Only a destination naming a photo, a
// library place or a Diary file, makes it an embed.
DiaryEmbedAt :: (text: string, at: s32) -> DiaryEmbed {
embed: DiaryEmbed
if at < 0 || at + 1 >= cast(s32)text.count || text[at] != #char "!" ||
text[at + 1] != #char "[" {
return embed
}
line_start := DiaryLineStart(text, at)
line_end := DiaryLineEnd(text, at)
if DiaryEscaped(text, at, line_start) {
return embed
}
close := at + 2
while close < line_end && text[close] != #char "]" {
if text[close] == #char "[" {
return embed
}
if text[close] == cast(u8)92 && close + 1 < line_end {
close += 1
}
close += 1
}
if close + 1 >= line_end || text[close + 1] != #char "(" ||
close - (at + 2) > DIARY_EMBED_ALT_MAX {
return embed
}
cursor := DiarySkipBlank(text, close + 2, line_end)
destination_start := cursor
destination_end := cursor
if cursor < line_end && text[cursor] == #char "<" {
destination_start = cursor + 1
destination_end = destination_start
while destination_end < line_end && text[destination_end] != #char ">" &&
text[destination_end] != #char "<" {
destination_end += 1
}
if destination_end >= line_end || text[destination_end] != #char ">" {
return embed
}
cursor = destination_end + 1
} else {
while cursor < line_end && text[cursor] > cast(u8)32 && text[cursor] != #char "(" &&
text[cursor] != #char ")" {
cursor += 1
}
destination_end = cursor
}
after := DiarySkipBlank(text, cursor, line_end)
if after > cursor && after < line_end && (text[after] == cast(u8)34 ||
text[after] == cast(u8)39 || text[after] == #char "(") {
after = DiaryTitleEnd(text, after, line_end)
if after < 0 {
return embed
}
after = DiarySkipBlank(text, after, line_end)
}
if after >= line_end || text[after] != #char ")" {
return embed
}
destination := text[destination_start:destination_end]
target_start := destination_start
library := false
if destination.count > 6 && destination[:6] == "diary:" {
target_start += 6
if !DiaryFileNameValid(text[target_start:destination_end]) {
return embed
}
} else if DiaryLibraryPathValid(destination) {
library = true
} else {
return embed
}
embed.valid = true
embed.start = at
embed.end = after + 1
embed.line_start = line_start
embed.line_end = line_end
embed.alt_start = at + 2
embed.alt_end = close
embed.destination_start = destination_start
embed.target_start = target_start
embed.target_end = destination_end
embed.library = library
return embed
}
DiarySkipBlank :: (text: string, at: s32, end: s32) -> s32 {
cursor := at
while cursor < end && DiaryBlank(text[cursor]) {
cursor += 1
}
return cursor
}
// Where an image's title that opens at `at` ends, after its closing quote
// or parenthesis, or -1 when it does not close on the line.
DiaryTitleEnd :: (text: string, at: s32, end: s32) -> s32 {
closing := text[at]
if closing == #char "(" {
closing = #char ")"
}
cursor := at + 1
while cursor < end {
if text[cursor] == cast(u8)92 && cursor + 1 < end {
cursor += 2
continue
}
if text[cursor] == closing {
return cursor + 1
}
if text[at] == #char "(" && text[cursor] == #char "(" {
return -1
}
cursor += 1
}
return -1
}
// The first embed starting in text[from:to].
DiaryEmbedIn :: (text: string, from: s32, to: s32) -> DiaryEmbed {
at := from
if at < 0 {
at = 0
}
while at + 1 < to {
if text[at] == #char "!" && text[at + 1] == #char "[" {
embed := DiaryEmbedAt(text, at)
if embed.valid {
return embed
}
}
at += 1
}
return DiaryEmbed.{}
}
// The first embed starting at or after `from`.
DiaryEmbedNext :: (text: string, from: s32) -> DiaryEmbed {
return DiaryEmbedIn(text, from, cast(s32)text.count)
}
// Whether the line starting at line_start holds photos and nothing else but
// spaces, as an inserted photo's line does.
DiaryImageLine :: (text: string, line_start: s32) -> bool {
line_end := DiaryLineEnd(text, line_start)
found := false
at := line_start
while at < line_end {
if DiaryBlank(text[at]) || text[at] == cast(u8)13 {
at += 1
continue
}
embed := DiaryEmbedAt(text, at)
if !embed.valid {
return false
}
found = true
at = embed.end
}
return found
}
// A Diary file's name, or a library photo's whole path.
DiaryEmbedTarget :: (text: string, embed: DiaryEmbed) -> string {
return text[embed.target_start:embed.target_end]
}
// What the embed links to: diary:FILE or the library place.
DiaryEmbedDestination :: (text: string, embed: DiaryEmbed) -> string {
return text[embed.destination_start:embed.target_end]
}
DiaryEmbedAlt :: (text: string, embed: DiaryEmbed) -> string {
return text[embed.alt_start:embed.alt_end]
}
// Whether a diary: embed names this file.
DiaryEmbedReferences :: (text: string, file: string) -> bool {
embed := DiaryEmbedNext(text, 0)
while embed.valid {
if !embed.library && DiaryEmbedTarget(text, embed) == file {
return true
}
embed = DiaryEmbedNext(text, embed.end)
}
return false
}
// The bytes of the UTF-8 character at index, or 0 when it is not valid.
DiaryCharacterSize :: (value: string, index: s32) -> s32 {
lead := value[index]
size: s32 = 0
if lead < cast(u8)128 {
return 1
}
if lead >= cast(u8)194 && lead <= cast(u8)223 {
size = 2
} else if lead >= cast(u8)224 && lead <= cast(u8)239 {
size = 3
} else if lead >= cast(u8)240 && lead <= cast(u8)244 {
size = 4
} else {
return 0
}
if index + size > cast(s32)value.count {
return 0
}
for offset: cast(s32)1..size - 1 {
if (value[index + offset] & cast(u8)192) != cast(u8)128 {
return 0
}
}
return size
}
// An embed line linking to `destination`, diary:FILE or a library path. Its
// name keeps whole characters up to the length limit; brackets, line breaks
// and invalid bytes become spaces.
DiaryEmbedLine :: (destination: string, name: string) -> string {
out: Vec(u8)
BuilderPrint(*out, "![")
written: s32 = 0
index: s32 = 0
while index < cast(s32)name.count {
size := DiaryCharacterSize(name, index)
step := ifx size == 0 then 1 else size
if written + step > DIARY_EMBED_ALT_MAX {
break
}
byte := name[index]
if size == 0 || (size == 1 && (byte == #char "[" || byte == #char "]" || byte < cast(u8)32)) {
BuilderPrint(*out, " ")
} else {
BuilderPrint(*out, "%", name[index:index + size])
}
written += step
index += step
}
BuilderPrint(*out, "](%)", destination)
return BuilderFinish(out)
}
// The text with an embed line added at its end. A blank line separates it
// from text before it; embeds that follow each other share no blank line.
DiaryEmbedAppend :: (text: string, line: string) -> string {
out: Vec(u8)
count := cast(s32)text.count
BuilderPrint(*out, "%", text)
if count == 0 {
BuilderPrint(*out, "%", line)
return BuilderFinish(out)
}
if text[count - 1] == cast(u8)10 {
previous := DiaryLineStart(text, count - 1)
after_embed := DiaryImageLine(text, previous)
blank := count >= 2 && text[count - 2] == cast(u8)10
if !after_embed && !blank {
BuilderPrint(*out, "\n")
}
} else if DiaryImageLine(text, DiaryLineStart(text, count)) {
BuilderPrint(*out, "\n")
} else {
BuilderPrint(*out, "\n\n")
}
BuilderPrint(*out, "%", line)
return BuilderFinish(out)
}
// The edit that puts an embed line at `at`, on a line of its own, with the
// caret on the line after it.
DiaryEmbedInsertion :: (text: string, at: s32, line: string) -> DiaryEmbedEdit {
edit: DiaryEmbedEdit
count := cast(s32)text.count
start := at
if start < 0 {
start = 0
}
if start > count {
start = count
}
while start > 0 && start < count && (text[start] & cast(u8)192) == cast(u8)128 {
start -= 1
}
out: Vec(u8)
if start > 0 && text[start - 1] != cast(u8)10 {
BuilderPrint(*out, "\n")
}
BuilderPrint(*out, "%\n", line)
edit.start = start
edit.end = start
// At a line break the edit takes it over, so the caret, which an edit
// leaves after its replacement, starts the next line.
if start < count && text[start] == cast(u8)10 {
edit.end = start + 1
}
edit.replacement = BuilderFinish(out)
edit.cursor = start + cast(s32)edit.replacement.count
return edit
}
DiaryEscaped :: (text: string, at: s32, from: s32) -> bool {
slashes: s32 = 0
cursor := at - 1
while cursor >= from && text[cursor] == cast(u8)92 {
slashes += 1
cursor -= 1
}
return slashes % 2 == 1
}
+111
View File
@@ -0,0 +1,111 @@
// Images never go to the spelling service, wherever they stand in a line:
// each `![...](...)` is sent as one object replacement character, U+FFFC,
// so photo names, places and hashes stay on this device. The correction
// gets each image back at its mark, in order. A correction that lost or
// added a mark cannot be matched to the images, so it is refused.
#import "vec"
#import "std/text"
#import "byte_text_linux"
DIARY_SPELLING_MARK :: "\xEF\xBF\xBC"
DiarySpellingLineEnd :: (text: string, start: s64) -> s64 {
end := start
while end < text.count && text[end] != cast(u8)10 {
end += 1
}
return end
}
// Where an image that starts at `at` ends, after its closing parenthesis,
// or -1. It is read generously, `![`, then `](` and `)` on the same line,
// so that whatever a destination holds stays masked.
DiarySpellingImageEnd :: (text: string, at: s64) -> s64 {
if at + 1 >= text.count || text[at] != cast(u8)33 || text[at + 1] != cast(u8)91 {
return -1
}
line_end := DiarySpellingLineEnd(text, at)
cursor := at + 2
while cursor + 1 < line_end && (text[cursor] != cast(u8)93 || text[cursor + 1] != cast(u8)40) {
cursor += 1
}
if cursor + 1 >= line_end {
return -1
}
cursor += 2
while cursor < line_end && text[cursor] != cast(u8)41 {
cursor += 1
}
if cursor >= line_end {
return -1
}
return cursor + 1
}
// Whether a mark the text already holds starts at `at`.
DiarySpellingMarkAt :: (text: string, at: s64) -> bool {
mark := DIARY_SPELLING_MARK
return at + mark.count <= text.count && text[at:at + mark.count] == mark
}
// The bytes the mark at `at` stands for, ending where the next byte to read
// is, or -1 when no mark starts there. A mark the entry held itself stands
// for itself.
DiarySpellingMasks :: (text: string, at: s64) -> s64 {
if DiarySpellingMarkAt(text, at) {
return at + DIARY_SPELLING_MARK.count
}
return DiarySpellingImageEnd(text, at)
}
// The entry as the spelling service sees it: each image one mark.
DiarySpellingMasked :: (text: string) -> string {
out: Vec(u8)
at: s64 = 0
while at < text.count {
end := DiarySpellingMasks(text, at)
if end > at {
BuilderPrint(*out, "%", DIARY_SPELLING_MARK)
at = end
continue
}
unused VecPush(out, text[at])
at += 1
}
return BuilderFinish(out)
}
// The correction with the original images back at their marks, or "" when
// its marks no longer match the entry's.
DiarySpellingRestored :: (original: string, corrected: string) -> string {
out: Vec(u8)
source: s64 = 0
at: s64 = 0
while at < corrected.count {
if !DiarySpellingMarkAt(corrected, at) {
unused VecPush(out, corrected[at])
at += 1
continue
}
// The next mark of the original and what it stands for.
while source < original.count && DiarySpellingMasks(original, source) < 0 {
source += 1
}
if source >= original.count {
VecFree(out)
return ""
}
end := DiarySpellingMasks(original, source)
BuilderPrint(*out, "%", original[source:end])
source = end
at += DIARY_SPELLING_MARK.count
}
while source < original.count && DiarySpellingMasks(original, source) < 0 {
source += 1
}
if source < original.count {
VecFree(out)
return ""
}
return BuilderFinish(out)
}
+52
View File
@@ -0,0 +1,52 @@
DIARY_ROUTE :: 1
DIARY_LOAD :: 2
DIARY_SAVE :: 3
DIARY_CONTROL :: 4
DIARY_EDIT :: 5
DIARY_ATTACH :: 6
DIARY_FRAME :: 7
DiaryMessage :: struct {
abi: s32
action: s32
control: s32
year: s32
month: s32
day: s32
month_year: s32
month_number: s32
month_days: s32
month_weekday: s32
screen: s32
text: string
document: string
replacement: string
edit_start: s32
edit_end: s32
cursor: s32
anchor: s32
// A photo for DIARY_ATTACH to embed at the caret: what the embed links
// to, diary:FILE or a library photo's photos/YYYY/MM/DD/<sha256>.<type>,
// and its name.
attachment_file: string
attachment_name: string
calendar: bool
saved: bool
load_error: bool
succeeded: bool
marks: [32]u8
}
DiaryFileResult :: struct {
data: string
missing: bool
succeeded: bool
}
DiaryMediaEntry :: struct {
hash: string
name: string
day: string
format: string
}
+44
View File
@@ -0,0 +1,44 @@
#import "session"
TextArea :: #import "kryon/text_area";
// Device observations and retained editor values, never native pointers.
DiaryUiFrame :: struct {
session: Session
origin_x: s32
origin_y: s32
width: s32
height: s32
bottom: s32
scale: float32
font: s32
now: float64
input: TextArea.Input
focused: bool
selecting: bool
scroll: s32
calendar_scroll: s32
page_scroll: s32
// The gallery grid's vertical scroll and the day whose separate
// gallery is open (year * 10000 + month * 100 + day), or 0.
photos_scroll: s32
photos_open_day: s32
save_at: float64
photo_error: bool
photo_requested: bool
// The theme's colors for links and for list and quote marks in the
// entry's Markdown.
link_color: u32
muted_color: u32
clipboard_write: bool
clipboard_text: string
// Undo, redo and spelling run in the host, which keeps the entry's
// earlier versions and reaches the node.
can_undo: bool
can_redo: bool
undo_requested: bool
redo_requested: bool
spelling_requested: bool
spelling_busy: bool
// A locale key while a spelling check has something to say.
spelling_notice: string
}
+537
View File
@@ -0,0 +1,537 @@
#import "geometry"
#import, file "diary_date.zi";
Box :: #import "kryon/box";
Button :: #import "kryon/button";
Image :: #import "kryon/image";
Layout :: #import "kryon/layout";
Press :: #import "kryon/press";
Scroll :: #import "kryon/scroll";
Text :: #import "kryon/text";
TextArea :: #import "kryon/text_area";
MarkdownEditor :: #import "kryon/markdown_editor";
Markdown :: #import "kryon/markdown_preview";
#import "text_measure"
#import "control_props"
#import "drawing_props"
#import "text_align"
#import "std/text"
#import "vec"
#import "byte_text_linux"
#import "kryon/tree"
#import, file "diary_markdown.zi";
#import, file "diary_types.zi";
#import, file "diary_ui_types.zi";
#import "kryon/app_context"
#import "json_scan"
#import, file "diary_wire.zi";
CompressionIcon :: #import "mingcute/mingcute_regular_tool";
using Image.ImageFit;
using TextAlign;
using Text.Wrap;
using ButtonTone;
using ButtonEmphasis;
using IconPlacement;
using ContentAlignment;
library_json: string;
DiaryPhoto :: (destination: string) -> string {
if !AppSupports("media.asset") { return "" }
return AppService("media.asset", destination)
}
DiaryMediaQuery :: (day: string, trashed: bool) -> s32 {
library_json = "[]"
if AppSupports("media.query") {
library_json = AppService("media.query", day)
}
count := ArrayCount(library_json, 0)
return ifx count >= 0 then count else 0
}
DiaryMediaItem :: (index: s32) -> DiaryMediaEntry {
item := ElementAt(library_json, 0, index)
return DiaryMediaEntry.{
.hash = DiaryWireString(library_json, FieldAt(library_json, item, "hash")),
.name = DiaryWireString(library_json, FieldAt(library_json, item, "name")),
.day = DiaryWireString(library_json, FieldAt(library_json, item, "day")),
.format = DiaryWireString(library_json, FieldAt(library_json, item, "format"))}
}
state: DiaryMessage;
frame: DiaryUiFrame;
pending: bool;
DIARY_PREVIOUS_ICON :: "S1.8rr:M15 5L8 12L15 19"
DIARY_NEXT_ICON :: "S1.8rr:M9 5L16 12L9 19"
DIARY_CALENDAR_ICON :: "S1.6rr:M4 5H20V20H4ZM4 10H20M8 3V7M16 3V7"
DIARY_TIME_ICON :: "S1.6rr:M21 12C21 16.97 16.97 21 12 21C7.03 21 3 16.97 3 12C3 7.03 7.03 3 12 3C16.97 3 21 7.03 21 12ZM12 7V12L15.5 14"
DIARY_PHOTO_ICON :: "S1.6rr:M3 5H21V19H3ZM3 16L8 11L13 16L16 13L21 18M17.5 8.5C17.5 9.33 16.83 10 16 10C15.17 10 14.5 9.33 14.5 8.5C14.5 7.67 15.17 7 16 7C16.83 7 17.5 7.67 17.5 8.5Z"
DIARY_ATTACHMENT_ICON :: "S1.8rr:M21 11L12 20C9.8 22.2 6.2 22.2 4 20C1.8 17.8 1.8 14.2 4 12L14 2C15.66 0.34 18.34 0.34 20 2C21.66 3.66 21.66 6.34 20 8L10 18C8.9 19.1 7.1 19.1 6 18C4.9 16.9 4.9 15.1 6 14L15 5"
DIARY_UNDO_ICON :: "S1.8rr:M9 14L4 9L9 4M4 9H14C17.31 9 20 11.69 20 15C20 18.31 17.31 21 14 21H11"
DIARY_REDO_ICON :: "S1.8rr:M15 14L20 9L15 4M20 9H10C6.69 9 4 11.69 4 15C4 18.31 6.69 21 10 21H13"
DIARY_SPELLING_ICON :: "S2rr:M3 14L7.5 3L12 14M4.8 10H10.2M12 17L15.5 20.5L21.5 13"
DiaryObservedFrame :: () -> DiaryUiFrame {
return frame
}
// The entry previews its Markdown (diary_markdown.zi): away from the lines
// holding the caret or a selection, markers are hidden, emphasis is bold or
// slanted, headings are larger, links and list and quote marks take their
// colors, and a photo's embed line shows the photo in its place. On the
// caret's line the Markdown shows as typed, with the photo under it.
editor_blocks: [Markdown.PREVIEW_IMAGES + 1]TextArea.Block;
// A copy the view owns of text a host call answered. The host answers in its
// own buffers, which its next call may overwrite.
DiaryKept :: (value: string) -> string {
out: Vec(u8)
BuilderPrint(*out, "%", value)
return BuilderFinish(out)
}
// A photo's height in the entry: three quarters of its width, within limits
// that keep a few lines of text in view on a phone.
DiaryPhotoHeight :: (width: float32) -> s32 {
height := cast(s32)(width * 0.75)
if height > Scale(360) {
height = Scale(360)
}
if height < Scale(120) {
height = Scale(120)
}
return height
}
DiaryEditorProps :: (area: TextArea.Props) -> MarkdownEditor.Props {
props: MarkdownEditor.Props = .{.area = area, .muted_color = frame.muted_color,
.link_color = frame.link_color, .images = DiaryResolvedImages(area.value)}
height := DiaryPhotoHeight(area.bounds.width)
unavailable := AppLocale("diary_photo_unavailable")
for index: cast(s32)0..cast(s32)props.images.count - 1 {
embed := DiaryEmbedAt(area.value, props.images[index].start)
editor_blocks[index] = TextArea.Block.{.start = embed.line_start, .height = height,
.image = DiaryKept(DiaryPhoto(DiaryEmbedDestination(area.value, embed))),
.label = unavailable}
}
props.area.blocks = editor_blocks[:props.images.count]
return props
}
// The day's gallery is a separate view, opened by its toolbar icon. It
// lists the library's photos of that day, then the entry's other photos.
// Choosing one inserts it at the saved caret and returns to the entry.
DIARY_DAY_PHOTOS :: 64
DiaryDayPhoto :: struct {
// What an embed of the photo links to.
destination: string
name: string
// Its preview, or "" while the photo is not on this device.
asset: string
}
day_photos: [DIARY_DAY_PHOTOS]DiaryDayPhoto;
day_photo_count: s32;
// A photo is listed once: by what it links to, or by the picture it draws,
// since a Diary file the library keeps too draws as the library's photo.
DiaryDayPhotoKnown :: (destination: string, asset: string) -> bool {
for index: cast(s32)0..day_photo_count - 1 {
if day_photos[index].destination == destination {
return true
}
if asset.count > 0 && day_photos[index].asset == asset {
return true
}
}
return false
}
DiaryDayPhotoAdd :: (destination: string, name: string) {
if destination.count == 0 || day_photo_count >= DIARY_DAY_PHOTOS {
return
}
asset := DiaryPhoto(destination)
if DiaryDayPhotoKnown(destination, asset) {
return
}
day_photos[day_photo_count] = DiaryDayPhoto.{.destination = destination,
.name = DiaryKept(name), .asset = DiaryKept(asset)}
day_photo_count += 1
}
DiaryDayPhotos :: (text: string) {
day_photo_count = 0
if state.load_error || state.year <= 0 {
return
}
count := DiaryMediaQuery(ISO(Date.{state.year, state.month, state.day}), false)
for index: cast(s32)0..count - 1 {
if day_photo_count >= DIARY_DAY_PHOTOS {
break
}
entry := DiaryMediaItem(index)
DiaryDayPhotoAdd(DiaryLibraryPath(entry.day, entry.hash, entry.format), entry.name)
}
embed := DiaryEmbedNext(text, 0)
while embed.valid && day_photo_count < DIARY_DAY_PHOTOS {
DiaryDayPhotoAdd(DiaryEmbedDestination(text, embed), DiaryEmbedAlt(text, embed))
embed = DiaryEmbedNext(text, embed.end)
}
}
// The open gallery remembers its day, so another day opens with it closed.
DiaryDayKey :: () -> s32 {
return state.year * 10000 + state.month * 100 + state.day
}
DiaryGalleryOpen :: () -> bool {
return frame.photos_open_day != 0 && frame.photos_open_day == DiaryDayKey()
}
// Puts a photo's embed on its own line at the caret: one edit, saved at once.
DiaryInsertPhoto :: (destination: string, name: string) {
line := DiaryEmbedLine(destination, name)
edit := DiaryEmbedInsertion(state.text, state.cursor, line)
state.action = DIARY_EDIT
state.edit_start = edit.start
state.edit_end = edit.end
state.replacement = edit.replacement
pending = true
frame.save_at = frame.now
}
DiaryDayGallery :: (left: float32, top: float32, width: float32, height: float32, editable: bool) {
gap := cast(float32)Scale(8)
inner := width - cast(float32)Scale(14)
columns := cast(s32)((inner + gap) / cast(float32)Scale(112))
if columns < 1 {
columns = 1
}
tile := (inner - cast(float32)(columns - 1) * gap) / cast(float32)columns
rows := (day_photo_count + columns - 1) / columns
strip := Scroll.Draw(frame.session, Scroll.Props.{.key = cast(u64)290302,
.bounds = Rectangle.{left, top, width, height}, .scale = frame.scale,
.content_height = cast(s32)(cast(float32)rows * (tile + gap)),
.scroll_offset = frame.photos_scroll})
frame.photos_scroll = strip.scroll_offset
if !strip.opened {
return
}
for index: cast(s32)0..day_photo_count - 1 {
photo := day_photos[index]
bounds := Rectangle.{strip.content.x + cast(float32)(index % columns) * (tile + gap),
strip.content.y + cast(float32)(index / columns) * (tile + gap), tile, tile}
Box.Draw(frame.session, Box.Props.{.key = cast(u64)(292000 + index), .bounds = bounds,
.fill = Color.{156, 156, 156, 36}, .radius = cast(float32)Scale(6)})
if photo.asset.count > 0 {
Image.Draw(frame.session, Image.Props.{.key = cast(u64)(292100 + index),
.asset_path = photo.asset, .alt_text = photo.name, .bounds = bounds,
.fit = cast(Image.ImageFit)ImageFitCover, .smooth = true})
}
press := Press.Draw(frame.session, Press.Props.{.key = cast(u64)(292200 + index),
.id = 292200 + index, .bounds = bounds, .label = photo.name, .now = frame.now,
.disabled = !editable})
if press.clicked && !pending {
DiaryInsertPhoto(photo.destination, photo.name)
frame.photos_open_day = 0
}
}
End(frame.session)
}
DateTitle :: (year: s32, month: s32, day: s32) -> string {
if month < 1 || month > 12 { return "" }
keys: [12]string = .["habit_month_1", "habit_month_2", "habit_month_3",
"habit_month_4", "habit_month_5", "habit_month_6", "habit_month_7",
"habit_month_8", "habit_month_9", "habit_month_10", "habit_month_11", "habit_month_12"]
month_text := AppLocale(keys[month - 1])
title: Vec(u8)
eastern := month_text.count >= 2 && month_text[:2] == "%d"
if day > 0 && !eastern { BuilderPrint(*title, "% ", day) }
index: s64 = 0
while index < month_text.count {
if index + 1 < month_text.count && month_text[index:index + 2] == "%d" {
BuilderPrint(*title, "%", year)
index += 2
} else {
BuilderPrint(*title, "%", month_text[index:index + 1])
index += 1
}
}
if day > 0 && eastern {
BuilderPrint(*title, "%", day)
suffix := ifx month_text[month_text.count - 3:] == "월" then "일" else "日"
BuilderPrint(*title, "%", suffix)
}
return BuilderFinish(title)
}
HasWords :: (text: string) -> bool {
for byte: text {
if byte != cast(u8)32 && byte != cast(u8)10 && byte != cast(u8)13 && byte != cast(u8)9 {
return true
}
}
return false
}
Scale :: (value: s32) -> s32 {
return cast(s32)(cast(float32)value * frame.scale)
}
FinishView :: () -> DiaryMessage {
return state
}
// A button with an icon shows only the icon; its label names it for
// accessibility.
DiaryAction :: ( id: s32, label: string, bounds: Rectangle, enabled: bool = true,
icon: string = "", selected: bool = false, loading: bool = false) {
if Button.Draw(frame.session, Button.Props.{.id = id, .bounds = bounds,
.label = label, .disabled = !enabled, .selected = selected, .loading = loading,
.icon_shape = icon, .icon_only = icon != "", .fit_content = true,
.tone = cast(ButtonTone)ButtonToneNeutral,
.emphasis = cast(ButtonEmphasis)(ifx icon != "" then ButtonEmphasisGhost else ButtonEmphasisSoft)}) != 0 {
// Photos, undo, redo and spelling are host effects.
frame.focused = false
if id == 29005 {
frame.photo_requested = true
return
}
if id == 29014 {
frame.undo_requested = true
return
}
if id == 29015 {
frame.redo_requested = true
return
}
if id == 29016 {
frame.spelling_requested = true
return
}
if id == 29017 {
frame.photos_open_day = ifx DiaryGalleryOpen() then 0 else DiaryDayKey()
frame.photos_scroll = 0
return
}
state.action = DIARY_CONTROL
state.control = id
pending = true
frame.scroll = 0
frame.photos_scroll = 0
frame.photos_open_day = 0
}
}
DiaryView :: (message: DiaryMessage, observed: DiaryUiFrame, today: Date) -> DiaryMessage {
state = message
frame = observed
pending = false
column := Layout.CenteredColumnFor(frame.width, Scale(640), Scale(16))
left := cast(float32)(column.x + frame.origin_x)
width := cast(float32)column.width
part := (width - cast(float32)Scale(12)) / 3.0
compact := frame.height < Scale(480)
top := cast(float32)(frame.origin_y + ifx compact then Scale(4) else Scale(12))
control := cast(float32)Scale(44)
gap := cast(float32)Scale(8)
// Title bar: the selected date with the previous and next day right
// beside it, centered together.
title := DateTitle(state.year, state.month, state.day)
title_font := frame.font + Scale(4)
title_width := cast(float32)TextWidth(frame.session, Text.Props.{.text = title, .size = title_font})
if title_width > width - 2.0 * (control + gap) {
title_width = width - 2.0 * (control + gap)
}
title_left := left + (width - title_width) / 2.0
compression := AppSupports("media.compression.open")
if compression {
title_width = title_width - control - gap
if title_width < control {
title_width = control
}
title_left = left + (width - control - gap - title_width) / 2.0
if Button.Draw(frame.session, Button.Props.{.id = 29018,
.bounds = Rectangle.{left + width - control, top, control, control},
.label = AppLocale("media_compression_title"), .icon_only = true,
.icon_shape = CompressionIcon.Shape,
.tone = cast(ButtonTone)ButtonToneNeutral,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisGhost}) != 0 {
unused AppService("media.compression.open", "")
}
}
DiaryAction(29001, "‹", Rectangle.{title_left - gap - control, top, control, control},
true, DIARY_PREVIOUS_ICON)
DiaryAction(29002, "›", Rectangle.{title_left + title_width + gap, top, control, control},
OnOrBefore(Next(Date.{state.year, state.month, state.day}, 1), today) &&
!OnOrBefore(today, Date.{state.year, state.month, state.day}),
DIARY_NEXT_ICON)
title_strong: [1]Text.Range = .[Text.Range.{.start = 0, .end = cast(s32)title.count}]
Text.Draw(frame.session, Text.Props.{.bounds = Rectangle.{title_left, top, title_width, control},
.text = title, .size = title_font, .strong = title_strong[:],
.align = cast(TextAlign)TextAlignCenter, .vertical_align = cast(TextAlign)TextAlignCenter,
.wrap = cast(Text.Wrap)TextWrapEllipsis})
// On phones the editing tools get their own row, keeping every target
// at 44 units instead of squeezing the icons beside Today.
tools := top + control + gap
tool_gap := cast(float32)Scale(4)
tool := control
today_width := cast(float32)Scale(96)
stacked := width < today_width + gap + 7.0 * tool + 6.0 * tool_gap
edit_tools := tools
if stacked && !state.calendar {
edit_tools += control + tool_gap
}
DiaryAction(29004, AppLocale("diary_today"), Rectangle.{left, tools, today_width, control})
DiaryAction(29003, AppLocale("tab_diary_calendar"),
Rectangle.{left + today_width + gap, tools, tool, control},
true, DIARY_CALENDAR_ICON, state.calendar)
editable := !state.load_error && state.year > 0
if !state.calendar {
idle := editable && !frame.spelling_busy
DiaryAction(29014, AppLocale("diary_undo"),
Rectangle.{left + width - 6.0 * tool - 5.0 * tool_gap, edit_tools, tool, control},
idle && frame.can_undo, DIARY_UNDO_ICON)
DiaryAction(29015, AppLocale("diary_redo"),
Rectangle.{left + width - 5.0 * tool - 4.0 * tool_gap, edit_tools, tool, control},
idle && frame.can_redo, DIARY_REDO_ICON)
DiaryAction(29016, AppLocale("diary_check_spelling"),
Rectangle.{left + width - 4.0 * tool - 3.0 * tool_gap, edit_tools, tool, control},
idle && HasWords(state.text) && AppSupports("text.correct.start"), DIARY_SPELLING_ICON, false, frame.spelling_busy)
DiaryAction(29013, AppLocale("diary_insert_time"),
Rectangle.{left + width - 3.0 * tool - 2.0 * tool_gap, edit_tools, tool, control},
!frame.spelling_busy, DIARY_TIME_ICON)
DiaryAction(29005, AppLocale("diary_attach_photo"),
Rectangle.{left + width - 2.0 * tool - tool_gap, edit_tools, tool, control},
AppSupports("media.pick"), DIARY_ATTACHMENT_ICON)
DiaryDayPhotos(state.text)
gallery_label := AppLocale("diary_show_gallery")
if DiaryGalleryOpen() {
gallery_label = AppLocale("diary_hide_gallery")
}
DiaryAction(29017, gallery_label,
Rectangle.{left + width - tool, edit_tools, tool, control},
editable && day_photo_count > 0, DIARY_PHOTO_ICON, DiaryGalleryOpen())
}
content := edit_tools + control + cast(float32)Scale(12)
content_height := cast(float32)(frame.height - frame.bottom) - content - cast(float32)Scale(16)
if !state.calendar && DiaryGalleryOpen() {
DiaryDayGallery(left, content, width, content_height, editable && !frame.spelling_busy)
return FinishView()
}
if state.calendar {
scroll := Scroll.Draw(frame.session, Scroll.Props.{.key = cast(u64)290300,
.bounds = Rectangle.{left, content, width, content_height},
.content_height = Scale(344), .scroll_offset = frame.calendar_scroll})
frame.calendar_scroll = scroll.scroll_offset
if !scroll.opened {
return FinishView()
}
origin := scroll.content.y
DiaryAction(29011, "‹", Rectangle.{left, origin, part, cast(float32)Scale(44)})
DiaryAction(29012, "›", Rectangle.{left + 2.0 * (part + cast(float32)Scale(6)),
origin, part, cast(float32)Scale(44)},
state.month_year < today.year ||
(state.month_year == today.year && state.month_number < today.month))
Text.Draw(frame.session, Text.Props.{.bounds = Rectangle.{left + part,
origin + cast(float32)Scale(8), part, cast(float32)Scale(32)},
.text = DateTitle(state.month_year, state.month_number, 0), .size = frame.font})
weekdays: [7]string = .["habit_day_mon", "habit_day_tue", "habit_day_wed", "habit_day_thu",
"habit_day_fri", "habit_day_sat", "habit_day_sun"]
for day: cast(s32)0..cast(s32)6 {
Text.Draw(frame.session, Text.Props.{.bounds = Rectangle.{left + cast(float32)day * width / 7.0,
origin + cast(float32)Scale(52), width / 7.0, cast(float32)Scale(24)},
.text = AppLocale(weekdays[day]), .size = frame.font})
}
for day: cast(s32)1..state.month_days {
position := state.month_weekday + day - 1
label: Vec(u8)
BuilderPrint(*label, "%", day)
if state.marks[day] != cast(u8)0 { BuilderPrint(*label, " •") }
day_title := BuilderFinish(label)
cell := width / 7.0
DiaryAction(29100 + day, day_title,
Rectangle.{left + cast(float32)(position % 7) * cell,
origin + cast(float32)Scale(80 + (position / 7) * 44), cell - 2.0,
cast(float32)Scale(42)},
OnOrBefore(Date.{state.month_year, state.month_number, day}, today))
}
End(frame.session)
return FinishView()
}
// The gallery never changes the entry's viewport or line positions.
notice := frame.photo_error || state.load_error || frame.spelling_notice != ""
notice_room := ifx notice then Scale(60) else 0
editor_height := cast(s32)content_height - notice_room
if editor_height < Scale(120) {
editor_height = Scale(120)
}
page := Scroll.Draw(frame.session, Scroll.Props.{.key = cast(u64)290301,
.bounds = Rectangle.{left, content, width, content_height},
.content_height = editor_height + notice_room,
.scroll_offset = frame.page_scroll, .scale = frame.scale})
frame.page_scroll = page.scroll_offset
if !page.opened {
return FinishView()
}
area: TextArea.Props
area.key = cast(u64)290200
area.focus_id = 29020
area.bounds = Rectangle.{left, page.content.y, width, cast(float32)editor_height}
area.value = state.text
area.label = AppLocale("tab_diary")
area.wrap = true
area.scale = frame.scale
area.cursor = state.cursor
area.anchor = state.anchor
area.scroll_y = frame.scroll
area.focused = frame.focused
area.selecting = frame.selecting
// The entry waits while its spelling is checked, so the correction
// always applies to the text that was sent.
area.read_only = !editable || frame.spelling_busy
area.max_bytes = 2147483646
area.max_codepoints = 2147483646
area.input = frame.input
edited := MarkdownEditor.Draw(frame.session, DiaryEditorProps(area))
state.cursor = edited.cursor
state.anchor = edited.anchor
frame.scroll = edited.scroll_y
frame.focused = edited.focused
frame.selecting = edited.selecting
if edited.edit.changed && !pending {
state.action = DIARY_EDIT
state.edit_start = edited.edit.start
state.edit_end = edited.edit.end
state.replacement = edited.edit.replacement
pending = true
frame.save_at = frame.now + 0.75
}
if edited.clipboard_write {
frame.clipboard_write = true
frame.clipboard_text = edited.clipboard_text
}
if notice {
status := frame.spelling_notice
if state.load_error {
status = "diary_read_error"
}
if frame.photo_error {
status = "diary_photo_error"
}
Text.Draw(frame.session, Text.Props.{.bounds = Rectangle.{left,
area.bounds.y + area.bounds.height + cast(float32)Scale(12), width, cast(float32)Scale(40)},
.text = AppLocale(status), .size = frame.font})
}
End(frame.session)
return FinishView()
}
+151
View File
@@ -0,0 +1,151 @@
// App-owned commands shared with callers. Documents retain their existing schema.
#import "json_scan"
#import "std/text"
#import "vec"
#import "byte_text_linux"
#import, file "diary_types.zi";
DiaryWireString :: (text: string, at: s32) -> string {
if at < 0 { return "" }
bytes: Vec(u8)
for index: 0..text.count - 1 { unused VecPush(bytes, cast(u8)0) }
count := ReadStringText(text, at, VecSlice(bytes, 0, bytes.count))
if count < 0 {
VecFree(bytes)
return ""
}
result: Vec(u8)
BuilderPrint(*result, "%", TextFromBytes(VecSlice(bytes, 0, count)))
VecFree(bytes)
return BuilderFinish(result)
}
DiaryWireQuote :: (out: *Vec(u8), value: string) {
BuilderPrint(out, "\"")
for index: 0..value.count - 1 {
byte := value[index]
if byte == cast(u8)34 { BuilderPrint(out, "\\\"") }
else if byte == cast(u8)92 { BuilderPrint(out, "\\\\") }
else if byte == cast(u8)10 { BuilderPrint(out, "\\n") }
else if byte == cast(u8)13 { BuilderPrint(out, "\\r") }
else if byte == cast(u8)9 { BuilderPrint(out, "\\t") }
else if byte < cast(u8)32 {
hex := "0123456789abcdef"
BuilderPrint(out, "\\u00")
unused VecPush(out.*, hex[cast(s64)(byte / cast(u8)16)])
unused VecPush(out.*, hex[cast(s64)(byte % cast(u8)16)])
}
else { BuilderPrint(out, "%", value[index:index + 1]) }
}
BuilderPrint(out, "\"")
}
DiaryWireNumber :: (text: string, key: string) -> s32 {
value := ReadNumber(text, FieldAt(text, 0, key))
if !value.valid || value.value < -2147483648.0 || value.value > 2147483647.0 { return 0 }
result := cast(s32)value.value
return ifx cast(float64)result == value.value then result else 0
}
DiaryWireBool :: (text: string, key: string) -> bool {
at := FieldAt(text, 0, key)
return at >= 0 && at + 4 <= text.count && text[at:at + 4] == "true"
}
DiaryMessageDecode :: (text: string) -> DiaryMessage {
message: DiaryMessage
if text.count == 0 || text[0] != cast(u8)123 ||
Space(text, ValueEnd(text, 0, 0)) != text.count { return message }
message.abi = DiaryWireNumber(text, "abi")
message.action = DiaryWireNumber(text, "action")
message.control = DiaryWireNumber(text, "control")
message.year = DiaryWireNumber(text, "year")
message.month = DiaryWireNumber(text, "month")
message.day = DiaryWireNumber(text, "day")
message.month_year = DiaryWireNumber(text, "month_year")
message.month_number = DiaryWireNumber(text, "month_number")
message.month_days = DiaryWireNumber(text, "month_days")
message.month_weekday = DiaryWireNumber(text, "month_weekday")
message.screen = DiaryWireNumber(text, "screen")
message.text = DiaryWireString(text, FieldAt(text, 0, "text"))
message.document = DiaryWireString(text, FieldAt(text, 0, "document"))
message.replacement = DiaryWireString(text, FieldAt(text, 0, "replacement"))
message.edit_start = DiaryWireNumber(text, "edit_start")
message.edit_end = DiaryWireNumber(text, "edit_end")
message.cursor = DiaryWireNumber(text, "cursor")
message.anchor = DiaryWireNumber(text, "anchor")
message.attachment_file = DiaryWireString(text, FieldAt(text, 0, "attachment_file"))
message.attachment_name = DiaryWireString(text, FieldAt(text, 0, "attachment_name"))
message.calendar = DiaryWireBool(text, "calendar")
message.saved = DiaryWireBool(text, "saved")
message.load_error = DiaryWireBool(text, "load_error")
message.succeeded = DiaryWireBool(text, "succeeded")
marks := FieldAt(text, 0, "marks")
if ArrayCount(text, marks) == 32 {
for index: cast(s32)0..cast(s32)31 {
value := ReadNumber(text, ElementAt(text, marks, index))
message.marks[index] = ifx value.valid && value.value == 1.0 then cast(u8)1 else cast(u8)0
}
}
return message
}
DiaryMessageEncode :: (message: DiaryMessage) -> string {
out: Vec(u8)
BuilderPrint(*out, "{")
BuilderPrint(*out, "\"abi\":")
BuilderPrint(*out, "%", message.abi)
BuilderPrint(*out, ",\"action\":")
BuilderPrint(*out, "%", message.action)
BuilderPrint(*out, ",\"control\":")
BuilderPrint(*out, "%", message.control)
BuilderPrint(*out, ",\"year\":")
BuilderPrint(*out, "%", message.year)
BuilderPrint(*out, ",\"month\":")
BuilderPrint(*out, "%", message.month)
BuilderPrint(*out, ",\"day\":")
BuilderPrint(*out, "%", message.day)
BuilderPrint(*out, ",\"month_year\":")
BuilderPrint(*out, "%", message.month_year)
BuilderPrint(*out, ",\"month_number\":")
BuilderPrint(*out, "%", message.month_number)
BuilderPrint(*out, ",\"month_days\":")
BuilderPrint(*out, "%", message.month_days)
BuilderPrint(*out, ",\"month_weekday\":")
BuilderPrint(*out, "%", message.month_weekday)
BuilderPrint(*out, ",\"screen\":")
BuilderPrint(*out, "%", message.screen)
BuilderPrint(*out, ",\"text\":")
DiaryWireQuote(*out, message.text)
BuilderPrint(*out, ",\"document\":")
DiaryWireQuote(*out, message.document)
BuilderPrint(*out, ",\"replacement\":")
DiaryWireQuote(*out, message.replacement)
BuilderPrint(*out, ",\"edit_start\":")
BuilderPrint(*out, "%", message.edit_start)
BuilderPrint(*out, ",\"edit_end\":")
BuilderPrint(*out, "%", message.edit_end)
BuilderPrint(*out, ",\"cursor\":")
BuilderPrint(*out, "%", message.cursor)
BuilderPrint(*out, ",\"anchor\":")
BuilderPrint(*out, "%", message.anchor)
BuilderPrint(*out, ",\"attachment_file\":")
DiaryWireQuote(*out, message.attachment_file)
BuilderPrint(*out, ",\"attachment_name\":")
DiaryWireQuote(*out, message.attachment_name)
BuilderPrint(*out, ",\"calendar\":")
BuilderPrint(*out, "%", ifx message.calendar then "true" else "false")
BuilderPrint(*out, ",\"saved\":")
BuilderPrint(*out, "%", ifx message.saved then "true" else "false")
BuilderPrint(*out, ",\"load_error\":")
BuilderPrint(*out, "%", ifx message.load_error then "true" else "false")
BuilderPrint(*out, ",\"succeeded\":")
BuilderPrint(*out, "%", ifx message.succeeded then "true" else "false")
BuilderPrint(*out, ",\"marks\":[")
for index: cast(s32)0..cast(s32)31 {
if index > 0 { BuilderPrint(*out, ",") }
BuilderPrint(*out, "%", cast(s32)message.marks[index])
}
BuilderPrint(*out, "]}")
return BuilderFinish(out)
}
+180
View File
@@ -0,0 +1,180 @@
# Changelog
## [Unreleased]
- Coins follow the selected theme color.
- Claim the daily reward beside the coin balance: one coin a day, three on the seventh day in a row.
- Choose soda, coffee, bubble tea, chocolate and candle pictures for custom rewards.
## [1.3.17] - 2026-11-05
- Show color purchase totals, recent purchase frequency and the last purchase date for rewards.
## [1.3.16] - 2026-11-02
- Maintenance release for Inner Breeze 2.1.62.
## [1.3.15] - 2026-10-29
- Maintenance release for Inner Breeze 2.1.61.
## [1.3.14] - 2026-10-29
- Maintenance release for Inner Breeze 2.1.60.
## [1.3.13] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.59.
## [1.3.12] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.58.
## [1.3.11] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.56.
## [1.3.10] - 2026-10-27
- Maintenance release for Inner Breeze 2.1.55.
## [1.3.9] - 2026-10-27
- Maintenance release for Inner Breeze 2.1.54.
## [1.3.8] - 2026-10-27
- Maintenance release for Inner Breeze 2.1.53.
## [1.3.7] - 2026-10-27
- Maintenance release for Inner Breeze 2.1.52.
## [1.3.6] - 2026-10-27
- Open Link to reliably with the expanded icon picker.
- Choose eight more diary and writing symbols for habits and rewards.
- Link habits to Diary entries.
- Requires Breeze 2.1.51 or later.
## [1.3.4] - 2026-10-26
- Maintenance release for Inner Breeze 2.1.50.
## [1.3.3] - 2026-10-25
- Maintenance release for Inner Breeze 2.1.49.
## [1.3.2] - 2026-10-25
- Maintenance release for Inner Breeze 2.1.48.
## [1.3.1] - 2026-10-25
- Maintenance release for Inner Breeze 2.1.47.
## [1.3.0] - 2026-10-24
- The habit list, each habit's week and calendar, its day with its entries, its editor and its statistics now come with Habits, so they can change without an app update.
## [1.2.11] - 2026-10-24
- Maintenance release for Inner Breeze 2.1.46.
## [1.2.10] - 2026-10-23
- Maintenance release for Inner Breeze 2.1.45.
## [1.2.9] - 2026-10-23
- Maintenance release for Inner Breeze 2.1.44.
## [1.2.8] - 2026-10-23
- Maintenance release for Inner Breeze 2.1.43.
## [1.2.7] - 2026-10-22
- Maintenance release for Inner Breeze 2.1.42.
## [1.2.6] - 2026-10-22
- Maintenance release for Inner Breeze 2.1.41.
## [1.2.5] - 2026-10-22
- Maintenance release for Inner Breeze 2.1.40.
## [1.2.4] - 2026-10-22
- Maintenance release for Inner Breeze 2.1.39.
## [1.2.3] - 2026-10-21
- Track zero-occurrence goals and choose custom coins, including 0 and negative coins per occurrence.
- Give each achievement its own meaningful icon.
- Maintenance release for Inner Breeze 2.1.38.
## [1.2.2] - 2026-10-21
- The shop scrolls to the final activity row at phone and desktop sizes.
- Rewards can use a soda can symbol.
## [1.2.1] - 2026-10-20
- Maintenance release for Inner Breeze 2.1.37.
## [1.2.0] - 2026-10-19
- The shop now comes with Habits, so it can improve with a Habits update.
- Requires Inner Breeze 2.1.36 or later.
## [1.1.2] - 2026-10-18
- Save, discard and delete confirmations use consistent controls and can
improve with Habits updates while preserving existing habit data.
- Requires Inner Breeze 2.1.36 or later.
## [1.1.1] - 2026-10-18
- Leaving a habit with unsaved changes asks whether to save, discard, or
keep editing. Unchanged habits close without a prompt.
## [1.1.0] - 2026-10-17
- A counting habit's count dialog now comes with Habits, so it can improve with a Habits update, without a new Inner Breeze.
- Requires Inner Breeze 2.1.35 or later.
## [1.0.7] - 2026-10-17
- Maintenance release for Inner Breeze 2.1.35.
## [1.0.6] - 2026-10-17
- Maintenance release for Inner Breeze 2.1.34.
- Requires Inner Breeze 2.1.28 or later.
## [1.0.5] - 2026-10-13
- Maintenance release for Inner Breeze 2.1.33.
- Requires Inner Breeze 2.1.28 or later.
## [1.0.4] - 2026-10-10
- Requires Inner Breeze 2.1.28 or later.
## [1.0.3] - 2026-10-07
- Keep app labels and content visible after updating Inner Breeze.
## [1.0.2] - 2026-10-06
- Use Apps consistently in the app and its independently delivered package.
## [1.0.1] - 2026-10-06
- Load independently in the updated app host while retaining saved tracking.
## [1.0.0] - 2026-10-06
- First independently versioned Habits module.
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_habits_created_1_title": "Návyky · 1 výsledků",
"achievement_habits_created_1_description": "Zaznamenejte 1 různých výsledků: platný uložený návyk.",
"achievement_habits_days_1_title": "Návyky · 1 dnů",
"achievement_habits_days_1_description": "Vykonejte tuto aktivitu v 1 různých dnech: splněný den návyku.",
"achievement_habits_days_3_title": "Návyky · 3 dnů",
"achievement_habits_days_3_description": "Vykonejte tuto aktivitu v 3 různých dnech: splněný den návyku.",
"achievement_habits_days_7_title": "Návyky · 7 dnů",
"achievement_habits_days_7_description": "Vykonejte tuto aktivitu v 7 různých dnech: splněný den návyku.",
"achievement_habits_days_14_title": "Návyky · 14 dnů",
"achievement_habits_days_14_description": "Vykonejte tuto aktivitu v 14 různých dnech: splněný den návyku.",
"achievement_habits_days_30_title": "Návyky · 30 dnů",
"achievement_habits_days_30_description": "Vykonejte tuto aktivitu v 30 různých dnech: splněný den návyku.",
"achievement_habits_days_60_title": "Návyky · 60 dnů",
"achievement_habits_days_60_description": "Vykonejte tuto aktivitu v 60 různých dnech: splněný den návyku.",
"achievement_habits_days_100_title": "Návyky · 100 dnů",
"achievement_habits_days_100_description": "Vykonejte tuto aktivitu v 100 různých dnech: splněný den návyku.",
"achievement_habits_days_180_title": "Návyky · 180 dnů",
"achievement_habits_days_180_description": "Vykonejte tuto aktivitu v 180 různých dnech: splněný den návyku.",
"achievement_habits_days_365_title": "Návyky · 365 dnů",
"achievement_habits_days_365_description": "Vykonejte tuto aktivitu v 365 různých dnech: splněný den návyku.",
"achievement_habits_completions_10_title": "Návyky · 10 výsledků",
"achievement_habits_completions_10_description": "Zaznamenejte 10 různých výsledků: splněný den návyku.",
"achievement_habits_completions_50_title": "Návyky · 50 výsledků",
"achievement_habits_completions_50_description": "Zaznamenejte 50 různých výsledků: splněný den návyku.",
"achievement_habits_completions_100_title": "Návyky · 100 výsledků",
"achievement_habits_completions_100_description": "Zaznamenejte 100 různých výsledků: splněný den návyku.",
"achievement_habits_completions_500_title": "Návyky · 500 výsledků",
"achievement_habits_completions_500_description": "Zaznamenejte 500 různých výsledků: splněný den návyku.",
"achievement_habits_single_scheduled_days_7_title": "Návyky · 7 plánovaných dat",
"achievement_habits_single_scheduled_days_7_description": "U jednoho návyku splňte 7 plánovaných dat: splněný plánovaný den návyku.",
"achievement_habits_single_scheduled_days_30_title": "Návyky · 30 plánovaných dat",
"achievement_habits_single_scheduled_days_30_description": "U jednoho návyku splňte 30 plánovaných dat: splněný plánovaný den návyku.",
"achievement_habits_single_scheduled_days_100_title": "Návyky · 100 plánovaných dat",
"achievement_habits_single_scheduled_days_100_description": "U jednoho návyku splňte 100 plánovaných dat: splněný plánovaný den návyku.",
"achievement_habits_counter_target_1_title": "Návyky · 1 výsledků",
"achievement_habits_counter_target_1_description": "Zaznamenejte 1 různých výsledků: dosažený cíl počítaného návyku.",
"achievement_habits_question_answer_1_title": "Návyky · 1 výsledků",
"achievement_habits_question_answer_1_description": "Zaznamenejte 1 různých výsledků: skutečná uložená odpověď na otázku návyku.",
"achievement_habits_ended_span_1_title": "Návyky · 1 výsledků",
"achievement_habits_ended_span_1_description": "Zaznamenejte 1 různých výsledků: uložený časový úsek návyku s platným začátkem a koncem."
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_habits_created_1_title": "Gewohnheiten · 1 Ergebnisse",
"achievement_habits_created_1_description": "Erfasse 1 unterschiedliche Ergebnisse: eine gültige gespeicherte Gewohnheit.",
"achievement_habits_days_1_title": "Gewohnheiten · 1 Tage",
"achievement_habits_days_1_description": "Führe dies an 1 unterschiedlichen Tagen aus: ein erfüllter Gewohnheitstag.",
"achievement_habits_days_3_title": "Gewohnheiten · 3 Tage",
"achievement_habits_days_3_description": "Führe dies an 3 unterschiedlichen Tagen aus: ein erfüllter Gewohnheitstag.",
"achievement_habits_days_7_title": "Gewohnheiten · 7 Tage",
"achievement_habits_days_7_description": "Führe dies an 7 unterschiedlichen Tagen aus: ein erfüllter Gewohnheitstag.",
"achievement_habits_days_14_title": "Gewohnheiten · 14 Tage",
"achievement_habits_days_14_description": "Führe dies an 14 unterschiedlichen Tagen aus: ein erfüllter Gewohnheitstag.",
"achievement_habits_days_30_title": "Gewohnheiten · 30 Tage",
"achievement_habits_days_30_description": "Führe dies an 30 unterschiedlichen Tagen aus: ein erfüllter Gewohnheitstag.",
"achievement_habits_days_60_title": "Gewohnheiten · 60 Tage",
"achievement_habits_days_60_description": "Führe dies an 60 unterschiedlichen Tagen aus: ein erfüllter Gewohnheitstag.",
"achievement_habits_days_100_title": "Gewohnheiten · 100 Tage",
"achievement_habits_days_100_description": "Führe dies an 100 unterschiedlichen Tagen aus: ein erfüllter Gewohnheitstag.",
"achievement_habits_days_180_title": "Gewohnheiten · 180 Tage",
"achievement_habits_days_180_description": "Führe dies an 180 unterschiedlichen Tagen aus: ein erfüllter Gewohnheitstag.",
"achievement_habits_days_365_title": "Gewohnheiten · 365 Tage",
"achievement_habits_days_365_description": "Führe dies an 365 unterschiedlichen Tagen aus: ein erfüllter Gewohnheitstag.",
"achievement_habits_completions_10_title": "Gewohnheiten · 10 Ergebnisse",
"achievement_habits_completions_10_description": "Erfasse 10 unterschiedliche Ergebnisse: ein erfüllter Gewohnheitstag.",
"achievement_habits_completions_50_title": "Gewohnheiten · 50 Ergebnisse",
"achievement_habits_completions_50_description": "Erfasse 50 unterschiedliche Ergebnisse: ein erfüllter Gewohnheitstag.",
"achievement_habits_completions_100_title": "Gewohnheiten · 100 Ergebnisse",
"achievement_habits_completions_100_description": "Erfasse 100 unterschiedliche Ergebnisse: ein erfüllter Gewohnheitstag.",
"achievement_habits_completions_500_title": "Gewohnheiten · 500 Ergebnisse",
"achievement_habits_completions_500_description": "Erfasse 500 unterschiedliche Ergebnisse: ein erfüllter Gewohnheitstag.",
"achievement_habits_single_scheduled_days_7_title": "Gewohnheiten · 7 geplante Tage",
"achievement_habits_single_scheduled_days_7_description": "Erfülle für eine Gewohnheit 7 geplante Tage: ein erfüllter geplanter Gewohnheitstag.",
"achievement_habits_single_scheduled_days_30_title": "Gewohnheiten · 30 geplante Tage",
"achievement_habits_single_scheduled_days_30_description": "Erfülle für eine Gewohnheit 30 geplante Tage: ein erfüllter geplanter Gewohnheitstag.",
"achievement_habits_single_scheduled_days_100_title": "Gewohnheiten · 100 geplante Tage",
"achievement_habits_single_scheduled_days_100_description": "Erfülle für eine Gewohnheit 100 geplante Tage: ein erfüllter geplanter Gewohnheitstag.",
"achievement_habits_counter_target_1_title": "Gewohnheiten · 1 Ergebnisse",
"achievement_habits_counter_target_1_description": "Erfasse 1 unterschiedliche Ergebnisse: ein erreichtes Zählziel einer Gewohnheit.",
"achievement_habits_question_answer_1_title": "Gewohnheiten · 1 Ergebnisse",
"achievement_habits_question_answer_1_description": "Erfasse 1 unterschiedliche Ergebnisse: eine echte gespeicherte Antwort auf eine Gewohnheitsfrage.",
"achievement_habits_ended_span_1_title": "Gewohnheiten · 1 Ergebnisse",
"achievement_habits_ended_span_1_description": "Erfasse 1 unterschiedliche Ergebnisse: eine gespeicherte Gewohnheitszeitspanne mit gültigem Beginn und Ende."
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_habits_created_1_title": "An intention takes shape",
"achievement_habits_created_1_description": "Record 1 distinct results: a valid saved habit.",
"achievement_habits_days_1_title": "First habit day",
"achievement_habits_days_1_description": "Do this on 1 distinct dates: a completed habit day.",
"achievement_habits_days_3_title": "Three habit days",
"achievement_habits_days_3_description": "Do this on 3 distinct dates: a completed habit day.",
"achievement_habits_days_7_title": "Seven habit days",
"achievement_habits_days_7_description": "Do this on 7 distinct dates: a completed habit day.",
"achievement_habits_days_14_title": "Fourteen habit days",
"achievement_habits_days_14_description": "Do this on 14 distinct dates: a completed habit day.",
"achievement_habits_days_30_title": "Thirty habit days",
"achievement_habits_days_30_description": "Do this on 30 distinct dates: a completed habit day.",
"achievement_habits_days_60_title": "Sixty habit days",
"achievement_habits_days_60_description": "Do this on 60 distinct dates: a completed habit day.",
"achievement_habits_days_100_title": "One hundred habit days",
"achievement_habits_days_100_description": "Do this on 100 distinct dates: a completed habit day.",
"achievement_habits_days_180_title": "A habit history",
"achievement_habits_days_180_description": "Do this on 180 distinct dates: a completed habit day.",
"achievement_habits_days_365_title": "A year of habit days",
"achievement_habits_days_365_description": "Do this on 365 distinct dates: a completed habit day.",
"achievement_habits_completions_10_title": "Ten completions",
"achievement_habits_completions_10_description": "Record 10 distinct results: a completed habit day.",
"achievement_habits_completions_50_title": "Fifty completions",
"achievement_habits_completions_50_description": "Record 50 distinct results: a completed habit day.",
"achievement_habits_completions_100_title": "One hundred completions",
"achievement_habits_completions_100_description": "Record 100 distinct results: a completed habit day.",
"achievement_habits_completions_500_title": "Five hundred completions",
"achievement_habits_completions_500_description": "Record 500 distinct results: a completed habit day.",
"achievement_habits_single_scheduled_days_7_title": "One habit, seven times",
"achievement_habits_single_scheduled_days_7_description": "For one habit, do this on 7 scheduled dates: a completed scheduled habit day.",
"achievement_habits_single_scheduled_days_30_title": "One habit, thirty times",
"achievement_habits_single_scheduled_days_30_description": "For one habit, do this on 30 scheduled dates: a completed scheduled habit day.",
"achievement_habits_single_scheduled_days_100_title": "One habit, one hundred times",
"achievement_habits_single_scheduled_days_100_description": "For one habit, do this on 100 scheduled dates: a completed scheduled habit day.",
"achievement_habits_counter_target_1_title": "A target met",
"achievement_habits_counter_target_1_description": "Record 1 distinct results: a counting habit’s target reached.",
"achievement_habits_question_answer_1_title": "An answer recorded",
"achievement_habits_question_answer_1_description": "Record 1 distinct results: a genuine saved answer to a habit question.",
"achievement_habits_ended_span_1_title": "A span recorded",
"achievement_habits_ended_span_1_description": "Record 1 distinct results: a saved habit span with a valid start and end."
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_habits_created_1_title": "Hábitos · 1 resultados",
"achievement_habits_created_1_description": "Registra 1 resultados distintos: un hábito válido guardado.",
"achievement_habits_days_1_title": "Hábitos · 1 días",
"achievement_habits_days_1_description": "Realiza esto en 1 fechas distintas: un día de hábito completado.",
"achievement_habits_days_3_title": "Hábitos · 3 días",
"achievement_habits_days_3_description": "Realiza esto en 3 fechas distintas: un día de hábito completado.",
"achievement_habits_days_7_title": "Hábitos · 7 días",
"achievement_habits_days_7_description": "Realiza esto en 7 fechas distintas: un día de hábito completado.",
"achievement_habits_days_14_title": "Hábitos · 14 días",
"achievement_habits_days_14_description": "Realiza esto en 14 fechas distintas: un día de hábito completado.",
"achievement_habits_days_30_title": "Hábitos · 30 días",
"achievement_habits_days_30_description": "Realiza esto en 30 fechas distintas: un día de hábito completado.",
"achievement_habits_days_60_title": "Hábitos · 60 días",
"achievement_habits_days_60_description": "Realiza esto en 60 fechas distintas: un día de hábito completado.",
"achievement_habits_days_100_title": "Hábitos · 100 días",
"achievement_habits_days_100_description": "Realiza esto en 100 fechas distintas: un día de hábito completado.",
"achievement_habits_days_180_title": "Hábitos · 180 días",
"achievement_habits_days_180_description": "Realiza esto en 180 fechas distintas: un día de hábito completado.",
"achievement_habits_days_365_title": "Hábitos · 365 días",
"achievement_habits_days_365_description": "Realiza esto en 365 fechas distintas: un día de hábito completado.",
"achievement_habits_completions_10_title": "Hábitos · 10 resultados",
"achievement_habits_completions_10_description": "Registra 10 resultados distintos: un día de hábito completado.",
"achievement_habits_completions_50_title": "Hábitos · 50 resultados",
"achievement_habits_completions_50_description": "Registra 50 resultados distintos: un día de hábito completado.",
"achievement_habits_completions_100_title": "Hábitos · 100 resultados",
"achievement_habits_completions_100_description": "Registra 100 resultados distintos: un día de hábito completado.",
"achievement_habits_completions_500_title": "Hábitos · 500 resultados",
"achievement_habits_completions_500_description": "Registra 500 resultados distintos: un día de hábito completado.",
"achievement_habits_single_scheduled_days_7_title": "Hábitos · 7 fechas programadas",
"achievement_habits_single_scheduled_days_7_description": "Para un mismo hábito, completa 7 fechas programadas: un día programado de hábito completado.",
"achievement_habits_single_scheduled_days_30_title": "Hábitos · 30 fechas programadas",
"achievement_habits_single_scheduled_days_30_description": "Para un mismo hábito, completa 30 fechas programadas: un día programado de hábito completado.",
"achievement_habits_single_scheduled_days_100_title": "Hábitos · 100 fechas programadas",
"achievement_habits_single_scheduled_days_100_description": "Para un mismo hábito, completa 100 fechas programadas: un día programado de hábito completado.",
"achievement_habits_counter_target_1_title": "Hábitos · 1 resultados",
"achievement_habits_counter_target_1_description": "Registra 1 resultados distintos: la meta de un hábito de conteo alcanzada.",
"achievement_habits_question_answer_1_title": "Hábitos · 1 resultados",
"achievement_habits_question_answer_1_description": "Registra 1 resultados distintos: una respuesta real guardada a una pregunta de un hábito.",
"achievement_habits_ended_span_1_title": "Hábitos · 1 resultados",
"achievement_habits_ended_span_1_description": "Registra 1 resultados distintos: un intervalo de hábito guardado con inicio y fin válidos."
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_habits_created_1_title": "Habitudes · 1 résultats",
"achievement_habits_created_1_description": "Enregistrez 1 résultats distincts : une habitude valide enregistrée.",
"achievement_habits_days_1_title": "Habitudes · 1 jours",
"achievement_habits_days_1_description": "Faites ceci à 1 dates distinctes : une journée d’habitude accomplie.",
"achievement_habits_days_3_title": "Habitudes · 3 jours",
"achievement_habits_days_3_description": "Faites ceci à 3 dates distinctes : une journée d’habitude accomplie.",
"achievement_habits_days_7_title": "Habitudes · 7 jours",
"achievement_habits_days_7_description": "Faites ceci à 7 dates distinctes : une journée d’habitude accomplie.",
"achievement_habits_days_14_title": "Habitudes · 14 jours",
"achievement_habits_days_14_description": "Faites ceci à 14 dates distinctes : une journée d’habitude accomplie.",
"achievement_habits_days_30_title": "Habitudes · 30 jours",
"achievement_habits_days_30_description": "Faites ceci à 30 dates distinctes : une journée d’habitude accomplie.",
"achievement_habits_days_60_title": "Habitudes · 60 jours",
"achievement_habits_days_60_description": "Faites ceci à 60 dates distinctes : une journée d’habitude accomplie.",
"achievement_habits_days_100_title": "Habitudes · 100 jours",
"achievement_habits_days_100_description": "Faites ceci à 100 dates distinctes : une journée d’habitude accomplie.",
"achievement_habits_days_180_title": "Habitudes · 180 jours",
"achievement_habits_days_180_description": "Faites ceci à 180 dates distinctes : une journée d’habitude accomplie.",
"achievement_habits_days_365_title": "Habitudes · 365 jours",
"achievement_habits_days_365_description": "Faites ceci à 365 dates distinctes : une journée d’habitude accomplie.",
"achievement_habits_completions_10_title": "Habitudes · 10 résultats",
"achievement_habits_completions_10_description": "Enregistrez 10 résultats distincts : une journée d’habitude accomplie.",
"achievement_habits_completions_50_title": "Habitudes · 50 résultats",
"achievement_habits_completions_50_description": "Enregistrez 50 résultats distincts : une journée d’habitude accomplie.",
"achievement_habits_completions_100_title": "Habitudes · 100 résultats",
"achievement_habits_completions_100_description": "Enregistrez 100 résultats distincts : une journée d’habitude accomplie.",
"achievement_habits_completions_500_title": "Habitudes · 500 résultats",
"achievement_habits_completions_500_description": "Enregistrez 500 résultats distincts : une journée d’habitude accomplie.",
"achievement_habits_single_scheduled_days_7_title": "Habitudes · 7 dates prévues",
"achievement_habits_single_scheduled_days_7_description": "Pour une même habitude, accomplissez 7 dates prévues : une journée prévue d’habitude accomplie.",
"achievement_habits_single_scheduled_days_30_title": "Habitudes · 30 dates prévues",
"achievement_habits_single_scheduled_days_30_description": "Pour une même habitude, accomplissez 30 dates prévues : une journée prévue d’habitude accomplie.",
"achievement_habits_single_scheduled_days_100_title": "Habitudes · 100 dates prévues",
"achievement_habits_single_scheduled_days_100_description": "Pour une même habitude, accomplissez 100 dates prévues : une journée prévue d’habitude accomplie.",
"achievement_habits_counter_target_1_title": "Habitudes · 1 résultats",
"achievement_habits_counter_target_1_description": "Enregistrez 1 résultats distincts : l’objectif atteint d’une habitude comptée.",
"achievement_habits_question_answer_1_title": "Habitudes · 1 résultats",
"achievement_habits_question_answer_1_description": "Enregistrez 1 résultats distincts : une vraie réponse enregistrée à une question d’habitude.",
"achievement_habits_ended_span_1_title": "Habitudes · 1 résultats",
"achievement_habits_ended_span_1_description": "Enregistrez 1 résultats distincts : une durée d’habitude enregistrée avec début et fin valides."
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_habits_created_1_title": "習慣 · 1 件の結果",
"achievement_habits_created_1_description": "異なる結果を1件記録する:有効な保存済みの習慣。",
"achievement_habits_days_1_title": "習慣 · 1 日",
"achievement_habits_days_1_description": "異なる1日で行う:習慣を達成した日。",
"achievement_habits_days_3_title": "習慣 · 3 日",
"achievement_habits_days_3_description": "異なる3日で行う:習慣を達成した日。",
"achievement_habits_days_7_title": "習慣 · 7 日",
"achievement_habits_days_7_description": "異なる7日で行う:習慣を達成した日。",
"achievement_habits_days_14_title": "習慣 · 14 日",
"achievement_habits_days_14_description": "異なる14日で行う:習慣を達成した日。",
"achievement_habits_days_30_title": "習慣 · 30 日",
"achievement_habits_days_30_description": "異なる30日で行う:習慣を達成した日。",
"achievement_habits_days_60_title": "習慣 · 60 日",
"achievement_habits_days_60_description": "異なる60日で行う:習慣を達成した日。",
"achievement_habits_days_100_title": "習慣 · 100 日",
"achievement_habits_days_100_description": "異なる100日で行う:習慣を達成した日。",
"achievement_habits_days_180_title": "習慣 · 180 日",
"achievement_habits_days_180_description": "異なる180日で行う:習慣を達成した日。",
"achievement_habits_days_365_title": "習慣 · 365 日",
"achievement_habits_days_365_description": "異なる365日で行う:習慣を達成した日。",
"achievement_habits_completions_10_title": "習慣 · 10 件の結果",
"achievement_habits_completions_10_description": "異なる結果を10件記録する:習慣を達成した日。",
"achievement_habits_completions_50_title": "習慣 · 50 件の結果",
"achievement_habits_completions_50_description": "異なる結果を50件記録する:習慣を達成した日。",
"achievement_habits_completions_100_title": "習慣 · 100 件の結果",
"achievement_habits_completions_100_description": "異なる結果を100件記録する:習慣を達成した日。",
"achievement_habits_completions_500_title": "習慣 · 500 件の結果",
"achievement_habits_completions_500_description": "異なる結果を500件記録する:習慣を達成した日。",
"achievement_habits_single_scheduled_days_7_title": "習慣 · 7 予定日",
"achievement_habits_single_scheduled_days_7_description": "同じ習慣で予定された7日を達成する:予定された日に達成した習慣。",
"achievement_habits_single_scheduled_days_30_title": "習慣 · 30 予定日",
"achievement_habits_single_scheduled_days_30_description": "同じ習慣で予定された30日を達成する:予定された日に達成した習慣。",
"achievement_habits_single_scheduled_days_100_title": "習慣 · 100 予定日",
"achievement_habits_single_scheduled_days_100_description": "同じ習慣で予定された100日を達成する:予定された日に達成した習慣。",
"achievement_habits_counter_target_1_title": "習慣 · 1 件の結果",
"achievement_habits_counter_target_1_description": "異なる結果を1件記録する:回数を数える習慣で達成した自分の目標。",
"achievement_habits_question_answer_1_title": "習慣 · 1 件の結果",
"achievement_habits_question_answer_1_description": "異なる結果を1件記録する:習慣の質問に保存した実際の回答。",
"achievement_habits_ended_span_1_title": "習慣 · 1 件の結果",
"achievement_habits_ended_span_1_description": "異なる結果を1件記録する:開始と終了が有効な保存済みの習慣の時間記録。"
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_habits_created_1_title": "습관 · 1 개 결과",
"achievement_habits_created_1_description": "서로 다른 결과를 1개 기록하세요: 유효하게 저장한 습관.",
"achievement_habits_days_1_title": "습관 · 1 일",
"achievement_habits_days_1_description": "서로 다른 1일에 수행하세요: 습관을 완료한 날.",
"achievement_habits_days_3_title": "습관 · 3 일",
"achievement_habits_days_3_description": "서로 다른 3일에 수행하세요: 습관을 완료한 날.",
"achievement_habits_days_7_title": "습관 · 7 일",
"achievement_habits_days_7_description": "서로 다른 7일에 수행하세요: 습관을 완료한 날.",
"achievement_habits_days_14_title": "습관 · 14 일",
"achievement_habits_days_14_description": "서로 다른 14일에 수행하세요: 습관을 완료한 날.",
"achievement_habits_days_30_title": "습관 · 30 일",
"achievement_habits_days_30_description": "서로 다른 30일에 수행하세요: 습관을 완료한 날.",
"achievement_habits_days_60_title": "습관 · 60 일",
"achievement_habits_days_60_description": "서로 다른 60일에 수행하세요: 습관을 완료한 날.",
"achievement_habits_days_100_title": "습관 · 100 일",
"achievement_habits_days_100_description": "서로 다른 100일에 수행하세요: 습관을 완료한 날.",
"achievement_habits_days_180_title": "습관 · 180 일",
"achievement_habits_days_180_description": "서로 다른 180일에 수행하세요: 습관을 완료한 날.",
"achievement_habits_days_365_title": "습관 · 365 일",
"achievement_habits_days_365_description": "서로 다른 365일에 수행하세요: 습관을 완료한 날.",
"achievement_habits_completions_10_title": "습관 · 10 개 결과",
"achievement_habits_completions_10_description": "서로 다른 결과를 10개 기록하세요: 습관을 완료한 날.",
"achievement_habits_completions_50_title": "습관 · 50 개 결과",
"achievement_habits_completions_50_description": "서로 다른 결과를 50개 기록하세요: 습관을 완료한 날.",
"achievement_habits_completions_100_title": "습관 · 100 개 결과",
"achievement_habits_completions_100_description": "서로 다른 결과를 100개 기록하세요: 습관을 완료한 날.",
"achievement_habits_completions_500_title": "습관 · 500 개 결과",
"achievement_habits_completions_500_description": "서로 다른 결과를 500개 기록하세요: 습관을 완료한 날.",
"achievement_habits_single_scheduled_days_7_title": "습관 · 7 예정일",
"achievement_habits_single_scheduled_days_7_description": "같은 습관에서 예정된 7일을 완료하세요: 예정된 날짜에 완료한 습관.",
"achievement_habits_single_scheduled_days_30_title": "습관 · 30 예정일",
"achievement_habits_single_scheduled_days_30_description": "같은 습관에서 예정된 30일을 완료하세요: 예정된 날짜에 완료한 습관.",
"achievement_habits_single_scheduled_days_100_title": "습관 · 100 예정일",
"achievement_habits_single_scheduled_days_100_description": "같은 습관에서 예정된 100일을 완료하세요: 예정된 날짜에 완료한 습관.",
"achievement_habits_counter_target_1_title": "습관 · 1 개 결과",
"achievement_habits_counter_target_1_description": "서로 다른 결과를 1개 기록하세요: 횟수를 세는 습관에서 달성한 자신의 목표.",
"achievement_habits_question_answer_1_title": "습관 · 1 개 결과",
"achievement_habits_question_answer_1_description": "서로 다른 결과를 1개 기록하세요: 습관 질문에 저장한 실제 답변.",
"achievement_habits_ended_span_1_title": "습관 · 1 개 결과",
"achievement_habits_ended_span_1_description": "서로 다른 결과를 1개 기록하세요: 유효한 시작과 종료가 있는 저장된 습관 시간 기록."
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_habits_created_1_title": "Hábitos · 1 resultados",
"achievement_habits_created_1_description": "Registe 1 resultados distintos: um hábito válido guardado.",
"achievement_habits_days_1_title": "Hábitos · 1 dias",
"achievement_habits_days_1_description": "Faça isto em 1 datas distintas: um dia de hábito concluído.",
"achievement_habits_days_3_title": "Hábitos · 3 dias",
"achievement_habits_days_3_description": "Faça isto em 3 datas distintas: um dia de hábito concluído.",
"achievement_habits_days_7_title": "Hábitos · 7 dias",
"achievement_habits_days_7_description": "Faça isto em 7 datas distintas: um dia de hábito concluído.",
"achievement_habits_days_14_title": "Hábitos · 14 dias",
"achievement_habits_days_14_description": "Faça isto em 14 datas distintas: um dia de hábito concluído.",
"achievement_habits_days_30_title": "Hábitos · 30 dias",
"achievement_habits_days_30_description": "Faça isto em 30 datas distintas: um dia de hábito concluído.",
"achievement_habits_days_60_title": "Hábitos · 60 dias",
"achievement_habits_days_60_description": "Faça isto em 60 datas distintas: um dia de hábito concluído.",
"achievement_habits_days_100_title": "Hábitos · 100 dias",
"achievement_habits_days_100_description": "Faça isto em 100 datas distintas: um dia de hábito concluído.",
"achievement_habits_days_180_title": "Hábitos · 180 dias",
"achievement_habits_days_180_description": "Faça isto em 180 datas distintas: um dia de hábito concluído.",
"achievement_habits_days_365_title": "Hábitos · 365 dias",
"achievement_habits_days_365_description": "Faça isto em 365 datas distintas: um dia de hábito concluído.",
"achievement_habits_completions_10_title": "Hábitos · 10 resultados",
"achievement_habits_completions_10_description": "Registe 10 resultados distintos: um dia de hábito concluído.",
"achievement_habits_completions_50_title": "Hábitos · 50 resultados",
"achievement_habits_completions_50_description": "Registe 50 resultados distintos: um dia de hábito concluído.",
"achievement_habits_completions_100_title": "Hábitos · 100 resultados",
"achievement_habits_completions_100_description": "Registe 100 resultados distintos: um dia de hábito concluído.",
"achievement_habits_completions_500_title": "Hábitos · 500 resultados",
"achievement_habits_completions_500_description": "Registe 500 resultados distintos: um dia de hábito concluído.",
"achievement_habits_single_scheduled_days_7_title": "Hábitos · 7 datas programadas",
"achievement_habits_single_scheduled_days_7_description": "Para um mesmo hábito, conclua 7 datas programadas: um dia programado de hábito concluído.",
"achievement_habits_single_scheduled_days_30_title": "Hábitos · 30 datas programadas",
"achievement_habits_single_scheduled_days_30_description": "Para um mesmo hábito, conclua 30 datas programadas: um dia programado de hábito concluído.",
"achievement_habits_single_scheduled_days_100_title": "Hábitos · 100 datas programadas",
"achievement_habits_single_scheduled_days_100_description": "Para um mesmo hábito, conclua 100 datas programadas: um dia programado de hábito concluído.",
"achievement_habits_counter_target_1_title": "Hábitos · 1 resultados",
"achievement_habits_counter_target_1_description": "Registe 1 resultados distintos: a meta de um hábito de contagem atingida.",
"achievement_habits_question_answer_1_title": "Hábitos · 1 resultados",
"achievement_habits_question_answer_1_description": "Registe 1 resultados distintos: uma resposta real guardada a uma pergunta de hábito.",
"achievement_habits_ended_span_1_title": "Hábitos · 1 resultados",
"achievement_habits_ended_span_1_description": "Registe 1 resultados distintos: um intervalo de hábito guardado com início e fim válidos."
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_habits_created_1_title": "Привычки · 1 результатов",
"achievement_habits_created_1_description": "Запишите 1 разных результатов: сохранённая корректная привычка.",
"achievement_habits_days_1_title": "Привычки · 1 дней",
"achievement_habits_days_1_description": "Сделайте это в 1 разных датах: завершённый день привычки.",
"achievement_habits_days_3_title": "Привычки · 3 дней",
"achievement_habits_days_3_description": "Сделайте это в 3 разных датах: завершённый день привычки.",
"achievement_habits_days_7_title": "Привычки · 7 дней",
"achievement_habits_days_7_description": "Сделайте это в 7 разных датах: завершённый день привычки.",
"achievement_habits_days_14_title": "Привычки · 14 дней",
"achievement_habits_days_14_description": "Сделайте это в 14 разных датах: завершённый день привычки.",
"achievement_habits_days_30_title": "Привычки · 30 дней",
"achievement_habits_days_30_description": "Сделайте это в 30 разных датах: завершённый день привычки.",
"achievement_habits_days_60_title": "Привычки · 60 дней",
"achievement_habits_days_60_description": "Сделайте это в 60 разных датах: завершённый день привычки.",
"achievement_habits_days_100_title": "Привычки · 100 дней",
"achievement_habits_days_100_description": "Сделайте это в 100 разных датах: завершённый день привычки.",
"achievement_habits_days_180_title": "Привычки · 180 дней",
"achievement_habits_days_180_description": "Сделайте это в 180 разных датах: завершённый день привычки.",
"achievement_habits_days_365_title": "Привычки · 365 дней",
"achievement_habits_days_365_description": "Сделайте это в 365 разных датах: завершённый день привычки.",
"achievement_habits_completions_10_title": "Привычки · 10 результатов",
"achievement_habits_completions_10_description": "Запишите 10 разных результатов: завершённый день привычки.",
"achievement_habits_completions_50_title": "Привычки · 50 результатов",
"achievement_habits_completions_50_description": "Запишите 50 разных результатов: завершённый день привычки.",
"achievement_habits_completions_100_title": "Привычки · 100 результатов",
"achievement_habits_completions_100_description": "Запишите 100 разных результатов: завершённый день привычки.",
"achievement_habits_completions_500_title": "Привычки · 500 результатов",
"achievement_habits_completions_500_description": "Запишите 500 разных результатов: завершённый день привычки.",
"achievement_habits_single_scheduled_days_7_title": "Привычки · 7 запланированных дат",
"achievement_habits_single_scheduled_days_7_description": "Для одной привычки выполните 7 запланированных дат: завершённый запланированный день привычки.",
"achievement_habits_single_scheduled_days_30_title": "Привычки · 30 запланированных дат",
"achievement_habits_single_scheduled_days_30_description": "Для одной привычки выполните 30 запланированных дат: завершённый запланированный день привычки.",
"achievement_habits_single_scheduled_days_100_title": "Привычки · 100 запланированных дат",
"achievement_habits_single_scheduled_days_100_description": "Для одной привычки выполните 100 запланированных дат: завершённый запланированный день привычки.",
"achievement_habits_counter_target_1_title": "Привычки · 1 результатов",
"achievement_habits_counter_target_1_description": "Запишите 1 разных результатов: достигнутая собственная цель привычки со счётчиком.",
"achievement_habits_question_answer_1_title": "Привычки · 1 результатов",
"achievement_habits_question_answer_1_description": "Запишите 1 разных результатов: сохранённый настоящий ответ на вопрос привычки.",
"achievement_habits_ended_span_1_title": "Привычки · 1 результатов",
"achievement_habits_ended_span_1_description": "Запишите 1 разных результатов: сохранённый отрезок привычки с корректными началом и концом."
}
+42
View File
@@ -0,0 +1,42 @@
{
"achievement_habits_created_1_title": "习惯 · 1 个结果",
"achievement_habits_created_1_description": "记录1个不同的结果:有效且已保存的习惯。",
"achievement_habits_days_1_title": "习惯 · 1 天",
"achievement_habits_days_1_description": "在1个不同日期进行:已完成习惯的日期。",
"achievement_habits_days_3_title": "习惯 · 3 天",
"achievement_habits_days_3_description": "在3个不同日期进行:已完成习惯的日期。",
"achievement_habits_days_7_title": "习惯 · 7 天",
"achievement_habits_days_7_description": "在7个不同日期进行:已完成习惯的日期。",
"achievement_habits_days_14_title": "习惯 · 14 天",
"achievement_habits_days_14_description": "在14个不同日期进行:已完成习惯的日期。",
"achievement_habits_days_30_title": "习惯 · 30 天",
"achievement_habits_days_30_description": "在30个不同日期进行:已完成习惯的日期。",
"achievement_habits_days_60_title": "习惯 · 60 天",
"achievement_habits_days_60_description": "在60个不同日期进行:已完成习惯的日期。",
"achievement_habits_days_100_title": "习惯 · 100 天",
"achievement_habits_days_100_description": "在100个不同日期进行:已完成习惯的日期。",
"achievement_habits_days_180_title": "习惯 · 180 天",
"achievement_habits_days_180_description": "在180个不同日期进行:已完成习惯的日期。",
"achievement_habits_days_365_title": "习惯 · 365 天",
"achievement_habits_days_365_description": "在365个不同日期进行:已完成习惯的日期。",
"achievement_habits_completions_10_title": "习惯 · 10 个结果",
"achievement_habits_completions_10_description": "记录10个不同的结果:已完成习惯的日期。",
"achievement_habits_completions_50_title": "习惯 · 50 个结果",
"achievement_habits_completions_50_description": "记录50个不同的结果:已完成习惯的日期。",
"achievement_habits_completions_100_title": "习惯 · 100 个结果",
"achievement_habits_completions_100_description": "记录100个不同的结果:已完成习惯的日期。",
"achievement_habits_completions_500_title": "习惯 · 500 个结果",
"achievement_habits_completions_500_description": "记录500个不同的结果:已完成习惯的日期。",
"achievement_habits_single_scheduled_days_7_title": "习惯 · 7 个计划日期",
"achievement_habits_single_scheduled_days_7_description": "同一习惯在7个计划日期完成:在计划日期完成的习惯。",
"achievement_habits_single_scheduled_days_30_title": "习惯 · 30 个计划日期",
"achievement_habits_single_scheduled_days_30_description": "同一习惯在30个计划日期完成:在计划日期完成的习惯。",
"achievement_habits_single_scheduled_days_100_title": "习惯 · 100 个计划日期",
"achievement_habits_single_scheduled_days_100_description": "同一习惯在100个计划日期完成:在计划日期完成的习惯。",
"achievement_habits_counter_target_1_title": "习惯 · 1 个结果",
"achievement_habits_counter_target_1_description": "记录1个不同的结果:计数习惯中已达到的个人目标。",
"achievement_habits_question_answer_1_title": "习惯 · 1 个结果",
"achievement_habits_question_answer_1_description": "记录1个不同的结果:已保存的习惯问题真实回答。",
"achievement_habits_ended_span_1_title": "习惯 · 1 个结果",
"achievement_habits_ended_span_1_description": "记录1个不同的结果:开始与结束均有效的已保存习惯时间记录。"
}
+326
View File
@@ -0,0 +1,326 @@
{
"schema": 1,
"app": "inbe.habits",
"achievements": [
{
"id": "habits.created.1",
"group": "habits",
"metric": "habit.created",
"rule": "count",
"target": 1,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_created_1_title",
"description_key": "achievement_habits_created_1_description",
"title": "An intention takes shape",
"description": "Save 1 valid habit.",
"icon": "assets/habits/icons/habits.created.1.shape",
"icon_source": "mingcute_regular_aiming"
},
{
"id": "habits.days.1",
"group": "habits",
"metric": "habit.completed",
"rule": "days",
"target": 1,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_days_1_title",
"description_key": "achievement_habits_days_1_description",
"title": "First habit day",
"description": "Complete a habit on 1 distinct day.",
"icon": "assets/habits/icons/habits.days.1.shape",
"icon_source": "mingcute_regular_foot"
},
{
"id": "habits.days.3",
"group": "habits",
"metric": "habit.completed",
"rule": "days",
"target": 3,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_days_3_title",
"description_key": "achievement_habits_days_3_description",
"title": "Three habit days",
"description": "Complete habits on 3 distinct days.",
"icon": "assets/habits/icons/habits.days.3.shape",
"icon_source": "mingcute_regular_flag_1"
},
{
"id": "habits.days.7",
"group": "habits",
"metric": "habit.completed",
"rule": "days",
"target": 7,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_days_7_title",
"description_key": "achievement_habits_days_7_description",
"title": "Seven habit days",
"description": "Complete habits on 7 distinct days.",
"icon": "assets/habits/icons/habits.days.7.shape",
"icon_source": "mingcute_regular_flag_2"
},
{
"id": "habits.days.14",
"group": "habits",
"metric": "habit.completed",
"rule": "days",
"target": 14,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_days_14_title",
"description_key": "achievement_habits_days_14_description",
"title": "Fourteen habit days",
"description": "Complete habits on 14 distinct days.",
"icon": "assets/habits/icons/habits.days.14.shape",
"icon_source": "mingcute_regular_flag_3"
},
{
"id": "habits.days.30",
"group": "habits",
"metric": "habit.completed",
"rule": "days",
"target": 30,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_days_30_title",
"description_key": "achievement_habits_days_30_description",
"title": "Thirty habit days",
"description": "Complete habits on 30 distinct days.",
"icon": "assets/habits/icons/habits.days.30.shape",
"icon_source": "mingcute_regular_flag_4"
},
{
"id": "habits.days.60",
"group": "habits",
"metric": "habit.completed",
"rule": "days",
"target": 60,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_days_60_title",
"description_key": "achievement_habits_days_60_description",
"title": "Sixty habit days",
"description": "Complete habits on 60 distinct days.",
"icon": "assets/habits/icons/habits.days.60.shape",
"icon_source": "mingcute_regular_tree_2"
},
{
"id": "habits.days.100",
"group": "habits",
"metric": "habit.completed",
"rule": "days",
"target": 100,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_days_100_title",
"description_key": "achievement_habits_days_100_description",
"title": "One hundred habit days",
"description": "Complete habits on 100 distinct days.",
"icon": "assets/habits/icons/habits.days.100.shape",
"icon_source": "mingcute_regular_tree_3"
},
{
"id": "habits.days.180",
"group": "habits",
"metric": "habit.completed",
"rule": "days",
"target": 180,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_days_180_title",
"description_key": "achievement_habits_days_180_description",
"title": "A habit history",
"description": "Complete habits on 180 distinct days.",
"icon": "assets/habits/icons/habits.days.180.shape",
"icon_source": "mingcute_regular_tree_4"
},
{
"id": "habits.days.365",
"group": "habits",
"metric": "habit.completed",
"rule": "days",
"target": 365,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_days_365_title",
"description_key": "achievement_habits_days_365_description",
"title": "A year of habit days",
"description": "Complete habits on 365 distinct days.",
"icon": "assets/habits/icons/habits.days.365.shape",
"icon_source": "mingcute_regular_mountain_2"
},
{
"id": "habits.completions.10",
"group": "habits",
"metric": "habit.completed",
"rule": "count",
"target": 10,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_completions_10_title",
"description_key": "achievement_habits_completions_10_description",
"title": "Ten completions",
"description": "Record 10 distinct habit/date completions.",
"icon": "assets/habits/icons/habits.completions.10.shape",
"icon_source": "mingcute_regular_check"
},
{
"id": "habits.completions.50",
"group": "habits",
"metric": "habit.completed",
"rule": "count",
"target": 50,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_completions_50_title",
"description_key": "achievement_habits_completions_50_description",
"title": "Fifty completions",
"description": "Record 50 distinct habit/date completions.",
"icon": "assets/habits/icons/habits.completions.50.shape",
"icon_source": "mingcute_regular_check_2"
},
{
"id": "habits.completions.100",
"group": "habits",
"metric": "habit.completed",
"rule": "count",
"target": 100,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_completions_100_title",
"description_key": "achievement_habits_completions_100_description",
"title": "One hundred completions",
"description": "Record 100 distinct habit/date completions.",
"icon": "assets/habits/icons/habits.completions.100.shape",
"icon_source": "mingcute_regular_checks"
},
{
"id": "habits.completions.500",
"group": "habits",
"metric": "habit.completed",
"rule": "count",
"target": 500,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_completions_500_title",
"description_key": "achievement_habits_completions_500_description",
"title": "Five hundred completions",
"description": "Record 500 distinct habit/date completions.",
"icon": "assets/habits/icons/habits.completions.500.shape",
"icon_source": "mingcute_regular_check_circle"
},
{
"id": "habits.single_scheduled_days.7",
"group": "habits",
"metric": "habit.scheduled",
"rule": "max_days",
"target": 7,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_single_scheduled_days_7_title",
"description_key": "achievement_habits_single_scheduled_days_7_description",
"title": "One habit, seven times",
"description": "Complete the same habit on 7 of its scheduled dates.",
"icon": "assets/habits/icons/habits.single_scheduled_days.7.shape",
"icon_source": "mingcute_regular_calendar_day"
},
{
"id": "habits.single_scheduled_days.30",
"group": "habits",
"metric": "habit.scheduled",
"rule": "max_days",
"target": 30,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_single_scheduled_days_30_title",
"description_key": "achievement_habits_single_scheduled_days_30_description",
"title": "One habit, thirty times",
"description": "Complete the same habit on 30 of its scheduled dates.",
"icon": "assets/habits/icons/habits.single_scheduled_days.30.shape",
"icon_source": "mingcute_regular_calendar_add"
},
{
"id": "habits.single_scheduled_days.100",
"group": "habits",
"metric": "habit.scheduled",
"rule": "max_days",
"target": 100,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_single_scheduled_days_100_title",
"description_key": "achievement_habits_single_scheduled_days_100_description",
"title": "One habit, one hundred times",
"description": "Complete the same habit on 100 of its scheduled dates.",
"icon": "assets/habits/icons/habits.single_scheduled_days.100.shape",
"icon_source": "mingcute_regular_history"
},
{
"id": "habits.counter_target.1",
"group": "habits",
"metric": "habit.counter",
"rule": "count",
"target": 1,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_counter_target_1_title",
"description_key": "achievement_habits_counter_target_1_description",
"title": "A target met",
"description": "Reach a counting habit's own target on 1 date.",
"icon": "assets/habits/icons/habits.counter_target.1.shape",
"icon_source": "mingcute_regular_aiming_2"
},
{
"id": "habits.question_answer.1",
"group": "habits",
"metric": "habit.answer",
"rule": "count",
"target": 1,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_question_answer_1_title",
"description_key": "achievement_habits_question_answer_1_description",
"title": "An answer recorded",
"description": "Save 1 genuine answer to a habit question.",
"icon": "assets/habits/icons/habits.question_answer.1.shape",
"icon_source": "mingcute_regular_question"
},
{
"id": "habits.ended_span.1",
"group": "habits",
"metric": "habit.span",
"rule": "count",
"target": 1,
"variant": "",
"pack": "",
"needs": "",
"title_key": "achievement_habits_ended_span_1_title",
"description_key": "achievement_habits_ended_span_1_description",
"title": "A span recorded",
"description": "Save 1 valid span with both start and end.",
"icon": "assets/habits/icons/habits.ended_span.1.shape",
"icon_source": "mingcute_regular_time"
}
]
}
+11
View File
@@ -0,0 +1,11 @@
#import "drawing_props"
// Coins mark the important numbers, such as the balance, prices and
// rewards, in the theme's highlight. A host older than the highlight sends
// none, and the coin then takes the theme's text color.
HabitsCoinColor :: (highlight: Color, text: Color) -> Color {
if highlight.a == cast(u8)0 {
return text
}
return highlight
}
+46
View File
@@ -0,0 +1,46 @@
// Habit's editor confirmations belong to its package. The native host uses
// the same composition for older installed packages that lack these views.
#import "session"
Modal :: #import "kryon/modal";
#import "control_props"
using ButtonTone;
using ButtonEmphasis;
HabitEditorDialogProps :: struct {
session: Session
deleting: bool
title: string
message: string
keep_editing: string
save: string
discard: string
cancel: string
delete_label: string
}
HabitEditorDialog :: (props: HabitEditorDialogProps) -> Modal.ActionModalResult {
if props.deleting {
actions: [2]Modal.ActionModalAction = .[
Modal.ActionModalAction.{.label = props.cancel,
.tone = cast(ButtonTone)ButtonToneNeutral,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisSoft},
Modal.ActionModalAction.{.label = props.delete_label,
.tone = cast(ButtonTone)ButtonToneDanger,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisFilled}]
return Modal.ActionModal(props.session, Modal.ActionModalProps.{
.title = props.title, .message = props.message}, actions[:])
}
actions: [3]Modal.ActionModalAction = .[
Modal.ActionModalAction.{.label = props.keep_editing,
.tone = cast(ButtonTone)ButtonToneNeutral,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisSoft},
Modal.ActionModalAction.{.label = props.save,
.tone = cast(ButtonTone)ButtonToneAccent,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisFilled},
Modal.ActionModalAction.{.label = props.discard,
.tone = cast(ButtonTone)ButtonToneDanger,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisSoft}]
return Modal.ActionModal(props.session, Modal.ActionModalProps.{
.title = props.title, .message = props.message}, actions[:])
}
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+172
View File
@@ -0,0 +1,172 @@
// Habits owns page transitions, linked-day actions, form validation, the
// habit list and each habit's page, the count dialog and the shop.
#import, file "../../src/apps/habits_types.zi";
#import, file "habits_view.zi";
#import, file "shop_view.zi";
#import, file "shop_stats_view.zi";
#import, file "habit_list_view.zi";
#import, file "habit_day_view.zi";
#import, file "habit_edit_view.zi";
#import, file "habit_stats_view.zi";
#import, file "../../src/habits/habit_types.zi";
#import, file "../../src/core/types.zi";
#import, file "../../src/apps/module_types.zi";
#import "apps/node_types"
host_api :: #system_library "host_api";
ReadHabitsHost :: () -> HabitsMessage #foreign host_api;
WriteHabitsHost :: (message: HabitsMessage) #foreign host_api;
HabitNameExistsHost :: (name: string, excluding: s32) -> bool #foreign host_api;
SaveHabitHost :: (message: HabitsMessage) -> bool #foreign host_api;
HabitTrimName :: (name: string) -> string {
start: s64 = 0
end := name.count
while start < end && (name[start] == cast(u8)32 || name[start] == cast(u8)9) {
start += 1
}
while end > start && (name[end - 1] == cast(u8)32 || name[end - 1] == cast(u8)9) {
end -= 1
}
return name[start:end]
}
using HabitSyncMode;
HabitsApply :: (message: HabitsMessage) -> HabitsMessage {
message.succeeded = true
if message.action == HABITS_COUNT_DIALOG {
return HabitsCountView(message)
}
if message.action == HABITS_UNSAVED_DIALOG || message.action == HABITS_DELETE_DIALOG {
return HabitsEditorView(message)
}
if message.action == HABITS_SHOP_STATS_VIEW {
return HabitsShopStatisticsView(message)
}
if message.action == HABITS_SHOP_VIEW || message.action == HABITS_SHOP_BUY_DIALOG {
return HabitsShopView(message)
}
if message.action == HABITS_LIST_VIEW {
return HabitsListView(message)
}
if message.action == HABITS_DAY_VIEW {
return HabitsDayView(message)
}
if message.action == HABITS_ENTRY_VIEW {
return HabitsEntryView(message)
}
if message.action == HABITS_EDIT_VIEW {
return HabitsEditView(message)
}
if message.action == HABITS_STATS_VIEW {
return HabitsStatsView(message)
}
if message.action == HABITS_ROUTE {
message.succeeded = message.screen == ScreenHabits ||
message.screen == ScreenHabitEdit || message.screen == ScreenHabitSessionEdit
return message
}
if message.action == HABITS_DAY_ACTION {
// Days off the habit's schedule open and count like planned days.
if message.modal_active || message.index < 0 || message.index >= message.count {
return message
}
if message.counter_enabled != 0 {
message.day_action = ifx message.decrement then HABITS_DAY_DECREMENT else HABITS_DAY_COUNT
} else if message.linked_count > 0 {
message.day_action = HABITS_DAY_LINKED
} else if message.span {
// A tap starts the habit's span, the next ends it; a day with
// spans opens their data.
message.day_action = HABITS_DAY_SPAN
} else if message.question_count > 0 {
// The day opens its questions, or the data of a done day,
// instead of being marked or cleared.
message.day_action = HABITS_DAY_QUESTIONS
} else {
message.day_action = HABITS_DAY_TOGGLE
}
message.block_click = true
return message
}
if message.action == HABITS_COMMIT {
if !message.active {
return message
}
if !message.is_new && (message.index < 0 || message.index >= message.count) {
message.cancel_edit = true
return message
}
message.name_error = 0
message.name = HabitTrimName(message.name)
if message.name.count == 0 {
message.name_error = 1
} else if HabitNameExistsHost(message.name,
ifx message.is_new then -1 else message.index) {
message.name_error = 2
}
if message.name_error != 0 {
message.reset_scroll = true
return message
}
message.sync_mode = ifx message.sync_activity != 0 then HABIT_SYNC_ACTIVITIES else HABIT_SYNC_NONE
message.weekdays = message.weekdays & 0xff
message.color.a = 255
message.succeeded = SaveHabitHost(message)
if !message.succeeded {
return message
}
message.cancel_edit = true
message.action = HABITS_OVERVIEW
}
if message.action == HABITS_EXPAND {
if message.index < 0 || message.index >= message.count {
return message
}
message.selected = message.index
message.screen_mode = HABITS_SCREEN_OVERVIEW
message.tab = HABIT_TAB_WEEKLY
message.view_mode = HABIT_VIEW_WEEKLY
} else if message.action == HABITS_HISTORY || message.action == HABITS_STATISTICS {
if message.selected < 0 || message.selected >= message.count {
return message
}
message.reset_scroll = true
if message.action == HABITS_HISTORY {
message.screen_mode = HABITS_SCREEN_HISTORY
message.view_mode = HABIT_VIEW_CALENDAR
message.tab = HABIT_TAB_MONTHLY
} else {
message.screen_mode = HABITS_SCREEN_STATISTICS
message.tab = HABIT_TAB_STATISTICS
}
} else if message.action == HABITS_FOCUS {
message.screen_mode = HABITS_SCREEN_OVERVIEW
message.tab = HABIT_TAB_WEEKLY
message.reset_scroll = true
} else if message.action == HABITS_OVERVIEW {
message.selected = -1
message.screen_mode = HABITS_SCREEN_OVERVIEW
message.tab = HABIT_TAB_WEEKLY
message.view_mode = HABIT_VIEW_WEEKLY
message.reset_scroll = true
} else if message.action == HABITS_COLLAPSE {
message.selected = -1
} else {
message.succeeded = false
}
return message
}
#program_export "HabitsMain"
Main :: () -> s32 {
message := ReadHabitsHost()
if message.abi != MODULE_ABI {
return -1
}
if message.action == MODULE_IDENTIFY {
return MODULE_HABITS
}
WriteHabitsHost(HabitsApply(message))
return 0
}
+120
View File
@@ -0,0 +1,120 @@
#import "std/c_string"
#import "std/text_buffer"
#import "std/vec"
#import "std/text"
#import, file "../../src/storage/achievements.zi";
#import, file "../../src/storage/achievement_sources.zi";
#import, file "../../src/storage/sqlite.zi";
#import, file "../../src/storage/db.zi";
#import, file "../../src/storage/state.zi";
#import, file "../../src/storage/storage_core.zi";
#import, file "../../src/app/text_buffers.zi";
#import, file "../../src/habits/habit_types.zi";
#import, file "../../src/habits/habit_calendar.zi";
#import, file "../../src/habits/habit_schedule.zi";
#import, file "../../src/apps/package_files.zi";
AchievementHabitCreatedBackfill :: (offset: s32) -> s32 {
return AchievementSourceRows("habit.created", "SELECT id,0,1,'',id,0,deleted_at!=0 FROM habits WHERE user_id=?1 ORDER BY id LIMIT 128 OFFSET ?2", offset)
}
AchievementHabitDaysBackfill :: (habits: *Habits, offset: s32) -> s32 {
statement: *void
if SqlitePrepareText(storage_db_handle(),
"SELECT h.id,d.local_date,d.completed,d.count,h.counter_enabled,h.counter_target,h.deleted_at,h.span,COALESCE((SELECT c.old_value FROM habit_changes c WHERE c.user_id=h.user_id AND c.habit_id=h.id AND c.kind=8 AND c.deleted_at=0 AND c.changed_at>d.updated_at ORDER BY c.changed_at,c.rowid LIMIT 1),'') FROM habit_days d JOIN habits h ON h.id=d.habit_id WHERE h.user_id=?1 ORDER BY h.id,d.local_date LIMIT 128 OFFSET ?2",
-1, *statement, null) != SQLITE_OK { return -1 }
defer { SqliteFinalize(statement) }
bind_text(statement, 1, AchievementOwner())
SqliteBindInt(statement, 2, offset)
rows: s32 = 0
while SqliteStep(statement) == SQLITE_ROW {
id := AppTextFromCString(SqliteColumnText(statement, 0), 96)
day := SqliteColumnInt(statement, 1)
value := HabitDay.{.day_index = day, .completed = SqliteColumnInt(statement, 2), .count = SqliteColumnInt(statement, 3)}
counter := SqliteColumnInt(statement, 4) != 0
target := SqliteColumnInt(statement, 5)
historical := AppTextFromCString(SqliteColumnText(statement, 8), 256)
known := true
if historical == "check" || historical == "span" {
counter = false
target = 1
} else if historical.count > 0 {
known = historical.count > 6 && historical[:6] == "count:"
target = 0
if known {
for byte: historical[6:] {
if byte < #char "0" || byte > #char "9" || target > 1000000 {
known = false
break
}
target = target * 10 + cast(s32)(byte - #char "0")
}
counter = true
known = known && target >= 0
}
}
complete := known && HabitDayComplete(value, counter, target)
deleted := SqliteColumnInt64(statement, 6) != 0
source_bytes: Vec(u8)
BuilderPrint(*source_bytes, "%.%", id, day)
source := BuilderFinish(source_bytes)
defer { PackageFree(source) }
unused AchievementRecord("habit.completed", source, day, 1, "", id, true, false, deleted || !complete)
unused AchievementRecord("habit.counter", source, day, 1, "", id, false, false, deleted || !complete || !counter)
scheduled := false
if habits != null {
for index: cast(s32)0..habits.count - 1 {
habit := *habits.items[index]
if TextUntilNul(habit.id[:]) != id { continue }
// Pausing a habit today does not erase its historical schedule.
if habit.schedule_count > 0 {
scheduled = HabitScheduleMatches(HabitScheduleFor(habit, day), day)
} else {
copy := habit.*
copy.deactivated = 0
scheduled = habit_scheduled_day(*copy, day) != 0
}
}
}
unused AchievementRecord("habit.scheduled", source, day, 1, "", id, false, false, deleted || !complete || !scheduled)
rows += 1
}
return rows
}
AchievementHabitAnswersBackfill :: (offset: s32) -> s32 {
return AchievementSourceRows("habit.answer", "SELECT e.id,e.local_date,1,'',e.habit_id,0,(e.deleted_at!=0 OR h.deleted_at!=0 OR NOT EXISTS(SELECT 1 FROM json_each(CASE WHEN json_valid(e.answers) THEN e.answers ELSE '[]' END) a WHERE length(trim(CASE WHEN a.type='object' THEN COALESCE(json_extract(a.value,'$.value'),'') ELSE '' END,char(9)||char(10)||char(13)||' '))>0)) FROM habit_entries e JOIN habits h ON h.id=e.habit_id WHERE e.user_id=?1 ORDER BY e.id LIMIT 128 OFFSET ?2", offset)
}
AchievementHabitSpansBackfill :: (offset: s32) -> s32 {
return AchievementSourceRows("habit.span", "SELECT e.id,e.local_date,1,'',e.habit_id,0,(e.deleted_at!=0 OR h.deleted_at!=0 OR e.started_at<=0 OR e.ended_at<=e.started_at) FROM habit_entries e JOIN habits h ON h.id=e.habit_id WHERE e.user_id=?1 ORDER BY e.id LIMIT 128 OFFSET ?2", offset)
}
AchievementHabitRetractRows :: (sql: string, kind: s32) -> bool {
statement: *void
if SqlitePrepareText(storage_db_handle(), sql, -1, *statement, null) != SQLITE_OK { return false }
defer { SqliteFinalize(statement) }
bind_text(statement, 1, AchievementOwner())
while SqliteStep(statement) == SQLITE_ROW {
id := AppTextFromCString(SqliteColumnText(statement, 0), 96)
if kind == 0 {
if !AchievementRetract("habit.created", id) { return false }
} else if kind == 1 {
out: Vec(u8)
BuilderPrint(*out, "%.%", id, SqliteColumnInt(statement, 1))
source := BuilderFinish(out)
defer { PackageFree(source) }
if !AchievementRetract("habit.completed", source) || !AchievementRetract("habit.counter", source) ||
!AchievementRetract("habit.scheduled", source) { return false }
} else {
if !AchievementRetract("habit.answer", id) || !AchievementRetract("habit.span", id) { return false }
}
}
return true
}
AchievementHabitsDeleted :: () -> bool {
return AchievementHabitRetractRows("SELECT id FROM habits WHERE user_id=?1 AND deleted_at>0", 0) &&
AchievementHabitRetractRows("SELECT h.id,d.local_date FROM habit_days d JOIN habits h ON h.id=d.habit_id WHERE h.user_id=?1 AND (h.deleted_at>0 OR (d.completed=0 AND d.count=0 AND d.session_count=0))", 1) &&
AchievementHabitRetractRows("SELECT e.id FROM habit_entries e JOIN habits h ON h.id=e.habit_id WHERE e.user_id=?1 AND (e.deleted_at>0 OR h.deleted_at>0)", 2)
}
+253
View File
@@ -0,0 +1,253 @@
// Habits draws a counting habit's count dialog: the day's count with large
// steps down and up. The host supplies the day's count and the theme, and
// applies the step or opens the day the dialog asks for.
#import "session"
#import "geometry"
#import "vec"
#import "dpi"
Box :: #import "kryon/box";
Button :: #import "kryon/button";
Layout :: #import "kryon/layout";
Modal :: #import "kryon/modal";
Text :: #import "kryon/text";
#import "drawing_props"
#import "text_align"
#import "control_props"
#import "kryon/tree"
#import, file "../../src/apps/habits_ui_types.zi";
#import, file "../../src/apps/habits_types.zi";
#import, file "../../src/app/color.zi";
#import, file "editor_dialogs.zi";
using ButtonTone;
using ButtonEmphasis;
using TextAlign;
using Text.Wrap;
host_api :: #system_library "host_api";
ReadHabitsUiHost :: () -> HabitsUiFrame #foreign host_api;
WriteHabitsUiHost :: (frame: HabitsUiFrame) #foreign host_api;
HabitsLocaleHost :: (key: string) -> string #foreign host_api;
frame: HabitsUiFrame;
Scale :: (pixels: s32) -> s32 {
return ScalePixels(pixels, frame.scale)
}
Bounds :: (x: s32, y: s32, width: s32, height: s32) -> Rectangle {
return Rectangle.{cast(float32)x, cast(float32)y,
cast(float32)width, cast(float32)height}
}
// The number with two digits or more, as in a YYYY-MM-DD date.
PaddedNumber :: (out: *Vec(u8), value: s32, digits: s32) {
width: s32 = 1
limit: s32 = 10
while value >= limit {
width += 1
limit *= 10
}
while width < digits {
BuilderPrint(out, "0")
width += 1
}
BuilderPrint(out, "%", value)
}
DayText :: (day: s32) -> string {
out: Vec(u8)
PaddedNumber(*out, day / 10000, 4)
BuilderPrint(*out, "-")
PaddedNumber(*out, (day / 100) % 100, 2)
BuilderPrint(*out, "-")
PaddedNumber(*out, day % 100, 2)
return BuilderFinish(out)
}
// The template with its %d replaced by the count.
CountText :: (template: string, count: s32) -> string {
out: Vec(u8)
at: s64 = 0
while at < template.count {
if at + 1 < template.count && template[at] == cast(u8)37 &&
template[at + 1] == cast(u8)100 {
BuilderPrint(*out, "%", count)
at += 2
} else {
BuilderPrint(*out, "%", template[at:at + 1])
at += 1
}
}
return BuilderFinish(out)
}
CountLabel :: (bounds: Rectangle, text: string) {
Text.Draw(frame.session, Text.Props.{
.bounds = bounds, .text = text, .size = frame.small_font,
.align = cast(TextAlign)TextAlignCenter,
.vertical_align = cast(TextAlign)TextAlignCenter,
.wrap = cast(Text.Wrap)TextWrapNone})
}
// A step button draws its minus or plus as bars sized to the button, which
// read clearly where a "-" or "+" glyph is thin and small.
StepButton :: (id: s32, bounds: Rectangle, plus: bool, disabled: bool) -> bool {
clicked := Button.Draw(frame.session, Button.Props.{
.id = id, .bounds = bounds,
.tone = cast(ButtonTone)ButtonToneNeutral,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisSoft,
.disabled = disabled}) != 0
side := bounds.height
if bounds.width < side {
side = bounds.width
}
length := side * 0.36
thickness := cast(float32)Scale(3)
center_x := bounds.x + bounds.width * 0.5
center_y := bounds.y + bounds.height * 0.5
color := frame.text_color
if disabled {
color = color_with_alpha(color, 0.35)
}
unused Box.Draw(frame.session, Box.Props.{
.bounds = Rectangle.{center_x - length * 0.5, center_y - thickness * 0.5,
length, thickness},
.fill = color, .radius = thickness * 0.5})
if plus {
unused Box.Draw(frame.session, Box.Props.{
.bounds = Rectangle.{center_x - thickness * 0.5, center_y - length * 0.5,
thickness, length},
.fill = color, .radius = thickness * 0.5})
}
return clicked
}
// Draws the dialog and leaves in frame.action what the host does next.
CountDialog :: () {
frame.action = HABITS_COUNT_NONE
gap := Scale(12)
step_h := Scale(56)
button_h := Scale(44)
content_h := Scale(24) + Scale(64) + Scale(24) + gap + step_h + gap + button_h
if frame.linked_count > 0 {
content_h += button_h + gap
}
// A counting habit that asks questions keeps their answers as the
// day's entries, opened from here.
if frame.asks {
content_h += button_h + gap
}
dialog := Modal.Draw(frame.session, Modal.Props.{
.key = Layout.KeyHash("habits/count-dialog"),
.title = frame.name,
.strong_title = true,
.width = Scale(340), .height = content_h + Scale(74),
.scale = frame.scale,
.has_right_action = true,
.right_label = HabitsLocaleHost("close_button")})
if dialog.dismissed || dialog.right_clicked {
frame.action = HABITS_COUNT_CLOSE
return
}
if !dialog.opened {
return
}
content := dialog.layout.content
x := cast(s32)content.x
y := cast(s32)content.y
width := cast(s32)content.width
day_text := DayText(frame.day)
if frame.today {
day_text = HabitsLocaleHost("habits_today")
}
CountLabel(Bounds(x, y, width, Scale(24)), day_text)
y += Scale(24)
count_out: Vec(u8)
BuilderPrint(*count_out, "%", frame.count)
count_text := BuilderFinish(count_out)
count_strong: [1]Text.Range
count_strong[0] = Text.Range.{.start = 0, .end = cast(s32)count_text.count}
Text.Draw(frame.session, Text.Props.{
.bounds = Bounds(x, y, width, Scale(64)),
.text = count_text, .size = Scale(Text.Text48),
.strong = count_strong[:],
.align = cast(TextAlign)TextAlignCenter,
.vertical_align = cast(TextAlign)TextAlignCenter,
.wrap = cast(Text.Wrap)TextWrapNone})
y += Scale(64)
target_out: Vec(u8)
BuilderPrint(*target_out, "% %", HabitsLocaleHost("habit_counter_target"), frame.target)
CountLabel(Bounds(x, y, width, Scale(24)), BuilderFinish(target_out))
y += Scale(24) + gap
step_w := (width - gap) / 2
if StepButton(5720000, Bounds(x, y, step_w, step_h), false,
frame.count <= frame.linked_count) {
frame.action = HABITS_COUNT_DECREMENT
}
if StepButton(5720001, Bounds(x + width - step_w, y, step_w, step_h), true, false) {
frame.action = HABITS_COUNT_INCREMENT
}
y += step_h + gap
if frame.asks {
if Button.Draw(frame.session, Button.Props.{
.id = 5720004, .bounds = Bounds(x, y, width, button_h),
.label = HabitsLocaleHost("habit_day_entries"),
.tone = cast(ButtonTone)ButtonToneNeutral,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisOutline}) != 0 {
unused End(frame.session)
frame.action = HABITS_COUNT_OPEN_DAY
return
}
y += button_h + gap
}
if frame.linked_count > 0 {
template := HabitsLocaleHost(ifx frame.linked_count == 1
then "session_count_singular" else "session_count_plural")
if Button.Draw(frame.session, Button.Props.{
.id = 5720002, .bounds = Bounds(x, y, width, button_h),
.label = CountText(template, frame.linked_count),
.tone = cast(ButtonTone)ButtonToneNeutral,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisOutline}) != 0 {
unused End(frame.session)
frame.action = HABITS_COUNT_OPEN_DAY
return
}
y += button_h + gap
}
if Button.Draw(frame.session, Button.Props.{
.id = 5720003, .bounds = Bounds(x, y, width, button_h),
.label = HabitsLocaleHost("done_button"),
.tone = cast(ButtonTone)ButtonToneAccent,
.emphasis = cast(ButtonEmphasis)ButtonEmphasisFilled}) != 0 {
frame.action = HABITS_COUNT_CLOSE
}
unused End(frame.session)
}
HabitsCountView :: (message: HabitsMessage) -> HabitsMessage {
frame = ReadHabitsUiHost()
CountDialog()
WriteHabitsUiHost(frame)
message.succeeded = true
return message
}
HabitsEditorView :: (message: HabitsMessage) -> HabitsMessage {
frame = ReadHabitsUiHost()
deleting := message.action == HABITS_DELETE_DIALOG
result := HabitEditorDialog(HabitEditorDialogProps.{
.session = frame.session, .deleting = deleting,
.title = HabitsLocaleHost(ifx deleting then "habit_delete_title" else "habit_unsaved_title"),
.message = HabitsLocaleHost(ifx deleting then "habit_delete_message" else "habit_unsaved_message"),
.keep_editing = HabitsLocaleHost("habit_keep_editing"),
.save = HabitsLocaleHost("save_button"),
.discard = HabitsLocaleHost("discard_button"),
.cancel = HabitsLocaleHost("cancel_button"),
.delete_label = HabitsLocaleHost("delete_button")})
frame.action = result.action
WriteHabitsUiHost(frame)
message.succeeded = true
return message
}
+239
View File
@@ -0,0 +1,239 @@
// A separate, read-only view of the persisted shop purchase history.
#import, file "shop_view.zi";
#import, file "../../src/apps/habits_types.zi";
#import, file "../../src/apps/habits_ui_types.zi";
Box :: #import "kryon/box";
Layout :: #import "kryon/layout";
Scroll :: #import "kryon/scroll";
Text :: #import "kryon/text";
#import "kryon/drawing_props"
#import "text_measure"
#import "text_align"
#import "kryon/tree"
#import "vec"
using Text.Wrap;
host_api :: #system_library "host_api";
ReadHabitsShopHost :: () -> HabitsShopFrame #foreign host_api;
WriteHabitsShopHost :: (frame: HabitsShopFrame) #foreign host_api;
ReadHabitRewardHost :: (index: s32) -> HabitsShopReward #foreign host_api;
PurchaseDate :: (date: s32) -> string {
month := (date / 100) % 100
day := date % 100
out: Vec(u8)
BuilderPrint(*out, "%-", date / 10000)
if month < 10 {
BuilderPrint(*out, "0")
}
BuilderPrint(*out, "%-", month)
if day < 10 {
BuilderPrint(*out, "0")
}
BuilderPrint(*out, "%", day)
return BuilderFinish(out)
}
RewardStatisticsText :: (reward: HabitsShopReward) -> string {
out: Vec(u8)
BuilderPrint(*out, "%: % · %: %", Locale("habit_shop_stats_purchases"),
reward.statistics.purchase_count, Locale("habit_shop_stats_month"),
reward.statistics.month_count)
return BuilderFinish(out)
}
RewardStatisticsHeight :: (reward: HabitsShopReward, width: s32) -> s32 {
inner := width - Scale(SHOP_CARD_PADDING * 2 + 10)
height := ParagraphHeight(RewardStatisticsText(reward), inner, shop.small_font)
if reward.statistics.purchase_count > 0 {
height += Scale(4) + ParagraphHeight(Filled(Locale("habit_shop_stats_last"),
PurchaseDate(reward.statistics.last_date)), inner, shop.small_font)
}
return height + Scale(14)
}
// Coins spent show in the coins' own color.
StatisticsColor :: (index: s32) -> Color {
colors: [4]Color = .[Color.{63, 137, 216, 255}, CoinColor(),
Color.{48, 159, 128, 255}, Color.{155, 104, 207, 255}]
return colors[index]
}
StatisticsLabel :: (index: s32) -> string {
keys: [4]string = .["habit_shop_stats_purchases", "habit_shop_stats_spent",
"habit_shop_stats_week", "habit_shop_stats_month"]
return Locale(keys[index])
}
StatisticsValue :: (index: s32) -> string {
values: [4]s64 = .[shop.statistics.purchase_count, shop.statistics.spent_coins,
shop.statistics.week_count, shop.statistics.month_count]
return Number(values[index])
}
StatisticsColumns :: (width: s32) -> s32 {
return ifx width >= Scale(280) then 2 else 1
}
StatisticsInnerWidth :: (width: s32) -> s32 {
return (width - Scale(8) * (StatisticsColumns(width) - 1)) /
StatisticsColumns(width) - Scale(32)
}
StatisticsNumberHeight :: (width: s32) -> s32 {
height := Scale(30)
for index: cast(s32)0..3 {
value_h := TextHeight(shop.session, Text.Props.{.text = StatisticsValue(index),
.size = shop.font + Scale(6),
.bounds = Bounds(0, 0, StatisticsInnerWidth(width), 0),
.wrap = cast(Text.Wrap)TextWrapAnywhere})
if value_h > height {
height = value_h
}
}
return height
}
StatisticsCardHeight :: (width: s32) -> s32 {
inner := StatisticsInnerWidth(width)
height: s32 = 0
for index: cast(s32)0..3 {
label_h := ParagraphHeight(StatisticsLabel(index), inner, shop.small_font)
if label_h > height {
height = label_h
}
}
return height + StatisticsNumberHeight(width) + Scale(34)
}
StatisticsHeight :: (width: s32) -> s32 {
title_h := SectionTitleHeight(Locale("habit_shop_stats_title"), width) + Scale(10)
if shop.statistics.purchase_count == 0 {
return title_h + ParagraphHeight(Locale("habit_shop_stats_empty"), width,
shop.small_font)
}
rows := 4 / StatisticsColumns(width)
last := Filled(Locale("habit_shop_stats_last"), PurchaseDate(shop.statistics.last_date))
return title_h + rows * StatisticsCardHeight(width) + rows * Scale(8) +
ParagraphHeight(last, width, shop.small_font)
}
Statistics :: (x: s32, y: s32, width: s32) {
y += SectionTitle(Locale("habit_shop_stats_title"), x, y, width) + Scale(10)
if shop.statistics.purchase_count == 0 {
text := Locale("habit_shop_stats_empty")
Text.Draw(shop.session, Text.Props.{.bounds = Bounds(x, y, width,
ParagraphHeight(text, width, shop.small_font)), .text = text,
.size = shop.small_font, .class_name = shop.muted_class,
.wrap = cast(Text.Wrap)TextWrapAuto})
return
}
columns := StatisticsColumns(width)
card_w := (width - Scale(8) * (columns - 1)) / columns
card_h := StatisticsCardHeight(width)
number_h := StatisticsNumberHeight(width)
for index: cast(s32)0..3 {
card_x := x + (index % columns) * (card_w + Scale(8))
card_y := y + (index / columns) * (card_h + Scale(8))
Card(Bounds(card_x, card_y, card_w, card_h), "")
Box.Draw(shop.session, Box.Props.{.bounds = Bounds(card_x, card_y + Scale(12),
Scale(4), card_h - Scale(24)), .fill = StatisticsColor(index)})
value := StatisticsValue(index)
strong: [1]Text.Range
strong[0] = Text.Range.{.start = 0, .end = cast(s32)value.count}
Text.Draw(shop.session, Text.Props.{.bounds = Bounds(card_x + Scale(16),
card_y + Scale(12), card_w - Scale(32), number_h),
.text = value, .size = shop.font + Scale(6), .strong = strong[:],
.wrap = cast(Text.Wrap)TextWrapAnywhere})
Text.Draw(shop.session, Text.Props.{.bounds = Bounds(card_x + Scale(16),
card_y + number_h + Scale(18), card_w - Scale(32), card_h - number_h - Scale(30)),
.text = StatisticsLabel(index), .size = shop.small_font,
.class_name = shop.muted_class, .wrap = cast(Text.Wrap)TextWrapAuto})
}
last := Filled(Locale("habit_shop_stats_last"), PurchaseDate(shop.statistics.last_date))
last_y := y + (4 / columns) * (card_h + Scale(8))
Text.Draw(shop.session, Text.Props.{.bounds = Bounds(x, last_y, width,
ParagraphHeight(last, width, shop.small_font)), .text = last,
.size = shop.small_font, .class_name = shop.muted_class,
.wrap = cast(Text.Wrap)TextWrapAuto})
}
StatisticsRewardHeight :: (index: s32, width: s32) -> s32 {
reward := ReadHabitRewardHost(index)
return ParagraphHeight(reward.name, width - Scale(32), shop.font) +
RewardStatisticsHeight(reward, width) + Scale(32)
}
StatisticsReward :: (index: s32, x: s32, y: s32, width: s32) -> s32 {
reward := ReadHabitRewardHost(index)
height := StatisticsRewardHeight(index, width)
Card(Bounds(x, y, width, height), "")
pad := Scale(16)
inner := width - pad * 2
name_h := ParagraphHeight(reward.name, inner, shop.font)
Text.Draw(shop.session, Text.Props.{.bounds = Bounds(x + pad, y + pad, inner, name_h),
.text = reward.name, .wrap = cast(Text.Wrap)TextWrapAuto})
text := RewardStatisticsText(reward)
text_h := ParagraphHeight(text, inner, shop.small_font)
line_y := y + pad + name_h + Scale(8)
Text.Draw(shop.session, Text.Props.{.bounds = Bounds(x + pad, line_y, inner, text_h),
.text = text, .size = shop.small_font, .wrap = cast(Text.Wrap)TextWrapAuto})
if reward.statistics.purchase_count > 0 {
last := Filled(Locale("habit_shop_stats_last"),
PurchaseDate(reward.statistics.last_date))
Text.Draw(shop.session, Text.Props.{.bounds = Bounds(x + pad,
line_y + text_h + Scale(4), inner,
ParagraphHeight(last, inner, shop.small_font)),
.text = last, .size = shop.small_font,
.class_name = shop.muted_class, .wrap = cast(Text.Wrap)TextWrapAuto})
}
return height
}
ShopStatisticsPage :: () {
bounds := shop.bounds
width := cast(s32)bounds.width
x := cast(s32)bounds.x
if width > Scale(SHOP_COLUMN_MAX) {
x += (width - Scale(SHOP_COLUMN_MAX)) / 2
width = Scale(SHOP_COLUMN_MAX)
}
top := PageHeader(x, cast(s32)bounds.y, width,
Locale("habit_shop_stats_title"), "")
if top < 0 {
shop.action = HABITS_SHOP_STATS_BACK
return
}
content_width := width - Scale(SHOP_SCROLLBAR_ROOM)
gap := Scale(SHOP_GAP)
content_h := StatisticsHeight(content_width) + gap
for index: cast(s32)0..shop.reward_count - 1 {
content_h += StatisticsRewardHeight(index, content_width) + gap
}
scrolled := Scroll.Draw(shop.session, Scroll.Props.{
.key = Layout.KeyHash("inbe/habits/shop/statistics"),
.bounds = Bounds(x, top, width,
cast(s32)(bounds.y + bounds.height) - top),
.content_height = content_h, .scroll_offset = shop.scroll})
shop.scroll = scrolled.scroll_offset
if !scrolled.opened {
return
}
y := cast(s32)scrolled.content.y
Statistics(x, y, content_width)
y += StatisticsHeight(content_width) + gap
for index: cast(s32)0..shop.reward_count - 1 {
y += StatisticsReward(index, x, y, content_width) + gap
}
unused End(shop.session)
}
HabitsShopStatisticsView :: (message: HabitsMessage) -> HabitsMessage {
shop = ReadHabitsShopHost()
shop.action = HABITS_SHOP_NONE
shop.clipboard_write = false
ShopStatisticsPage()
WriteHabitsShopHost(shop)
message.succeeded = true
return message
}
File diff suppressed because it is too large. Load diff
+81
View File
@@ -0,0 +1,81 @@
// The habit table has a name column and then up to seven day columns. The
// days share the width the name column leaves, within their limits, and the
// name column takes the rest.
HabitTableDayWidth :: (width: s32, name_min: s32, day_min: s32,
day_max: s32) -> s32 {
day := (width - name_min) / 7
if day > day_max {
day = day_max
}
if day < day_min {
day = day_min
}
return day
}
// Rows keep their order; only the rows below an open row move down by its
// details.
HabitRowOffset :: (position: s32, open: s32, row_height: s32,
detail_height: s32) -> s32 {
offset := position * row_height
if open >= 0 && position > open {
offset += detail_height
}
return offset
}
// The table's columns for its inner width.
HabitTableLayout :: struct {
// The column before the days: an icon and a name, or the icon alone.
name_width: s32
day_width: s32
// Today and the days before it that fit, at most seven.
days: s32
names: bool
}
// Four days are the smallest useful week: names stay visible while they fit,
// then give way to icons. Below that, the four days shrink only when the table
// itself is too narrow to hold their readable minimum.
HabitTableLayoutFor :: (width: s32, name_preferred: s32, name_min: s32,
icon_column: s32, day_min: s32, day_max: s32) -> HabitTableLayout {
layout: HabitTableLayout
layout.names = true
days: s32 = 7
while days > 4 && width - name_preferred < days * day_min {
days -= 1
}
layout.days = days
layout.day_width = (width - name_preferred) / days
if layout.day_width > day_max {
layout.day_width = day_max
}
if layout.day_width < day_min && width >= day_min * 4 {
layout.day_width = day_min
}
layout.name_width = width - layout.day_width * days
if layout.name_width >= name_min {
return layout
}
layout.names = false
space := width - icon_column
days = space / day_min
if days > 7 {
days = 7
}
if days < 4 {
days = 4
}
layout.days = days
layout.day_width = space / days
if layout.day_width > day_max {
layout.day_width = day_max
}
if layout.day_width < 1 {
layout.day_width = 1
}
layout.name_width = width - layout.day_width * days
return layout
}
+278
View File
@@ -0,0 +1,278 @@
# Changelog
## [Unreleased]
- Backspace and text corrections work again. Restore backups and add photos reliably.
- Read Tao Te Ching art on its own page. Find Photos and Radio in Apps, with clearer feedback and appearance controls.
- Desktop controls respond, translations keep clean line breaks, and account sync is called Mesh.
- Start the Chromium extension when opened and reuse tabs for repeated opens of the same page.
- Free the Chromium extension's WebAssembly memory when an idle Practices or Habits tab loses focus, and load it again on return.
- Use one modern appearance and a simpler About list with Core and app versions.
## [2.1.64] - 2026-11-05
- Bring Lumi 1.5.29, Habits 1.3.17, Practices 1.6.11, Lists 1.1.30, Diary 1.3.27 and Leaderboard 1.0.31 for Inner Breeze 2.1.63.
## [2.1.63] - 2026-11-02
- Bring Lumi 1.5.28, Habits 1.3.16, Practices 1.6.10, Lists 1.1.29, Diary 1.3.26 and Leaderboard 1.0.30 for Inner Breeze 2.1.62.
## [2.1.62] - 2026-10-29
- Bring Lumi 1.5.27, Habits 1.3.15, Practices 1.6.9, Lists 1.1.28, Diary 1.3.25 and Leaderboard 1.0.29 for Inner Breeze 2.1.61.
## [2.1.61] - 2026-10-29
- Bring Lumi 1.5.26, Habits 1.3.14, Practices 1.6.8, Lists 1.1.27, Diary 1.3.24 and Leaderboard 1.0.28 for Inner Breeze 2.1.60.
## [2.1.60] - 2026-10-28
- Bring Lumi 1.5.25, Habits 1.3.13, Practices 1.6.7, Lists 1.1.26, Diary 1.3.23 and Leaderboard 1.0.27 for Inner Breeze 2.1.59.
## [2.1.59] - 2026-10-28
- Bring Lumi 1.5.24, Habits 1.3.12, Practices 1.6.6, Lists 1.1.25, Diary 1.3.22 and Leaderboard 1.0.26 for Inner Breeze 2.1.58.
## [2.1.58] - 2026-10-28
- Bring Diary’s separate day gallery and attachment toolbar.
## [2.1.57] - 2026-10-28
- Bring Lumi 1.5.23, Habits 1.3.11, Practices 1.6.5, Lists 1.1.24, Diary 1.3.20 and Leaderboard 1.0.25 for Inner Breeze 2.1.56.
## [2.1.56] - 2026-10-28
- Keep Apps guide translations available to older installed wrappers after automatic package updates.
## [2.1.55] - 2026-10-27
- Bring Lumi 1.5.22, Habits 1.3.10, Practices 1.6.4, Lists 1.1.23, Diary 1.3.19 and Leaderboard 1.0.24 for Inner Breeze 2.1.55.
## [2.1.54] - 2026-10-27
- Bring Lumi 1.5.21, Habits 1.3.9, Practices 1.6.3, Lists 1.1.22, Diary 1.3.18 and Leaderboard 1.0.23 for Inner Breeze 2.1.54.
## [2.1.53] - 2026-10-27
- Bring Lumi 1.5.20, Habits 1.3.8, Practices 1.6.2, Lists 1.1.21, Diary 1.3.17 and Leaderboard 1.0.22 for Inner Breeze 2.1.53.
## [2.1.52] - 2026-10-27
- Bring Lumi 1.5.19, Habits 1.3.7, Practices 1.6.1, Lists 1.1.20, Diary 1.3.16 and Leaderboard 1.0.21 for Inner Breeze 2.1.52.
## [2.1.51] - 2026-10-26
- Bring Lumi 1.5.18, Habits 1.3.6, Practices 1.6.0, Lists 1.1.19, Diary 1.3.15 and Leaderboard 1.0.20 for Inner Breeze 2.1.51.
## [2.1.50] - 2026-10-26
- Bring Lumi 1.5.17, Habits 1.3.4, Practices 1.5.4, Lists 1.1.18, Diary 1.3.14 and Leaderboard 1.0.19 for Inner Breeze 2.1.50.
## [2.1.49] - 2026-10-25
- Bring Lumi 1.5.16, Habits 1.3.3, Practices 1.5.3, Lists 1.1.17, Diary 1.3.13 and Leaderboard 1.0.18 for Inner Breeze 2.1.49.
## [2.1.48] - 2026-10-25
- Bring Lumi 1.5.15, Habits 1.3.2, Practices 1.5.2, Lists 1.1.16, Diary 1.3.12 and Leaderboard 1.0.17 for Inner Breeze 2.1.48.
## [2.1.47] - 2026-10-25
- Bring Lumi 1.5.14, Habits 1.3.1, Practices 1.5.1, Lists 1.1.15, Diary 1.3.11 and Leaderboard 1.0.16 for Inner Breeze 2.1.47.
## [2.1.46] - 2026-10-24
- Bring Lumi 1.5.13, Habits 1.2.11, Practices 1.3.11, Lists 1.1.14, Diary 1.3.10 and Leaderboard 1.0.15 for Inner Breeze 2.1.46.
## [2.1.45] - 2026-10-23
- Bring Lumi 1.5.11, Habits 1.2.10, Practices 1.3.10, Lists 1.1.13, Diary 1.3.9 and Leaderboard 1.0.14 for Inner Breeze 2.1.45.
## [2.1.44] - 2026-10-23
- Bring Lumi 1.5.10, Habits 1.2.9, Practices 1.3.9, Lists 1.1.12, Diary 1.3.8 and Leaderboard 1.0.13 for Inner Breeze 2.1.44.
## [2.1.43] - 2026-10-23
- Bring Lumi 1.5.9, Habits 1.2.8, Practices 1.3.8, Lists 1.1.10, Diary 1.3.7 and Leaderboard 1.0.12 for Inner Breeze 2.1.43.
## [2.1.42] - 2026-10-22
- Bring Lumi 1.5.8, Habits 1.2.7, Practices 1.3.6, Lists 1.1.9, Diary 1.3.6 and Leaderboard 1.0.11 for Inner Breeze 2.1.42.
## [2.1.41] - 2026-10-22
- Bring Lumi 1.5.7, Habits 1.2.6, Practices 1.3.5, Lists 1.1.8, Diary 1.3.5 and Leaderboard 1.0.10 for Inner Breeze 2.1.41.
## [2.1.40] - 2026-10-22
- Bring Lumi 1.5.6, Habits 1.2.5, Practices 1.3.4, Lists 1.1.7, Diary 1.3.4 and Leaderboard 1.0.9 for Inner Breeze 2.1.40.
## [2.1.39] - 2026-10-22
- Bring Lumi 1.5.5, Habits 1.2.4, Practices 1.3.3, Lists 1.1.6, Diary 1.3.3 and Leaderboard 1.0.8 for Inner Breeze 2.1.39.
## [2.1.38] - 2026-10-21
- Show activity once, with a single Profile interface and distinct achievement icons.
- Bring Lumi 1.5.4, Habits 1.2.3, Practices 1.3.2, Lists 1.1.5, Diary 1.3.2 and Leaderboard 1.0.7 for Inner Breeze 2.1.38.
## [2.1.37] - 2026-10-20
- Bring Lumi 1.5.3, Habits 1.2.1, Practices 1.3.1, Lists 1.1.3, Diary 1.3.1 and Leaderboard 1.0.6 for Inner Breeze 2.1.37.
## [2.1.36] - 2026-10-18
- Bring Practices 1.3.0, with a separate Astral Projection download, for Inner Breeze 2.1.36.
## [2.1.35] - 2026-10-18
- Bring Lumi 1.5.2, Habits 1.1.2, Practices 1.2.2, Lists 1.1.2, Diary 1.3.0 and Leaderboard 1.0.5 for Inner Breeze 2.1.36.
## [2.1.34] - 2026-10-17
- Bring Diary 1.2.0, with Markdown entries and photos inside them, and Habits 1.1.0, with its count dialog, for Inner Breeze 2.1.35.
- Requires Inner Breeze 2.1.35 or later.
## [2.1.33] - 2026-10-17
- Bring Lumi 1.5.1, Habits 1.0.7, Practices 1.2.1, Lists 1.1.1, Diary 1.1.12 and Leaderboard 1.0.4 for Inner Breeze 2.1.35.
## [2.1.32] - 2026-10-15
- Bring Practices 1.2.0 with separate practice and language downloads.
- Requires Inner Breeze 2.1.34 or later.
## [2.1.31] - 2026-10-15
- Bring Lists 1.1.0 with friend invitations and shared task editing.
- Requires Inner Breeze 2.1.34 or later.
## [2.1.30] - 2026-10-13
- Bring Lumi 1.4.0, Habits 1.0.5, Practices 1.1.5, Lists 1.0.6, Diary 1.1.10 and Leaderboard 1.0.2.
- Requires Inner Breeze 2.1.33 or later.
## [2.1.29] - 2026-10-11
- Bring Lumi 1.3.9, Diary 1.1.9, Lists 1.0.5 and Leaderboard 1.0.1.
- Requires Inner Breeze 2.1.29 or later.
## [2.1.28] - 2026-10-11
- Bring Lumi's message selection with copy and delete.
- Requires Inner Breeze 2.1.29 or later.
## [2.1.27] - 2026-10-11
- Bring Lumi's chat that loads older messages as you scroll up.
- Requires Inner Breeze 2.1.29 or later.
## [2.1.26] - 2026-10-10
- Bring Diary's title bar, undo and redo, and spelling correction, and Lumi's typing dots.
- Requires Inner Breeze 2.1.29 or later.
## [2.1.25] - 2026-10-10
- Open Leaderboard as its own app.
- Requires Inner Breeze 2.1.28 or later.
## [2.1.24] - 2026-10-10
- Remove the text of practice window buttons that are no longer shown.
## [2.1.23] - 2026-10-10
- Translate the descriptions in Lumi's command list.
## [2.1.22] - 2026-10-10
- Say which app, device and system details Lumi feedback includes before you send it.
## [2.1.21] - 2026-10-10
- Explain when approved Lumi feedback is still waiting to send and when the developer inbox has received it.
## [2.1.20] - 2026-10-09
- Customize each app in Appearance using live KSS editing, inspection, undo, and reset to defaults.
- Ask Lumi to preview and save your appearance changes.
## [2.1.19] - 2026-10-08
- Deliver the updated Diary to existing Inbe installations with today as its latest date.
## [2.1.18] - 2026-10-08
- Keep Diary in the same account as Habits, including existing entries and photos.
- Limit Diary to today and earlier dates and open a blank editor without a writing prompt.
## [2.1.17] - 2026-10-07
- Find every app in a searchable library and keep up to two favorites in the compact dock.
- Preserve saved app data when changing favorites and keep Profile and Settings close by.
## [2.1.13] - 2026-10-07
- Show clean, colored sync changes with translated explanations and complete change symbols.
## [2.1.12] - 2026-10-07
- Keep all apps working with Lumi's bold formatting and offline feature suggestions.
## [2.1.11] - 2026-10-07
- Connect Lumi to online conversation and app actions without blocking the interface.
- Deliver saved app feedback and show developer replies in chat.
## [2.1.10] - 2026-10-06
- Preserve the selected page during upgrades and add hidden apps instantly offline.
- Keep the interface responsive when an app cannot reset its view.
- Open Lumi smoothly and distinguish Lists from Diary with a checkmark icon.
## [2.1.8] - 2026-10-06
- Call sidebar choices Apps in setup and settings, with shorter instructions.
## [2.1.7] - 2026-10-06
- Show Lumi alongside every other app in one compact, reorderable list.
- Include all apps for instant sidebar additions without a download.
## [2.1.6] - 2026-10-06
- Show a clearer firefly icon for Lumi and keep the bundled companion available when her shortcut is hidden.
- Keep every selected startup app in the sidebar and preserve cached packages for quick reinstallation.
- Provide app tools for changing themes, appearance and settings directly.
## [2.1.5] - 2026-10-06
- Use a standard app icon for Lumi and include translations for her habit and practice commands.
## [2.1.4] - 2026-10-06
- Recommend Lumi first in the app picker and open her chat as the default home.
- Keep the firefly helper available offline alongside Habits and Practices.
- Include every character used by the current translations in the shared fonts.
## [2.1.3] - 2026-10-06
- Use Apps consistently in the app picker and its independently delivered package.
## [2.1.2] - 2026-10-06
- Keep all app choices, the automatic update switch and the manual update button visible at normal desktop sizes.
## [2.1.1] - 2026-10-06
- The app picker and its update controls now travel with the app package, together with shared fonts, translations, styles and icons.
## [2.1.0] - 2026-10-06
- First independently versioned Inner Breeze module.
+22
View File
@@ -0,0 +1,22 @@
{
"achievement_self_active_1_title": "Osobní profil · 1 dnů",
"achievement_self_active_1_description": "Vykonejte tuto aktivitu v 1 různých dnech: smysluplná uložená aktivita.",
"achievement_self_active_3_title": "Osobní profil · 3 dnů",
"achievement_self_active_3_description": "Vykonejte tuto aktivitu v 3 různých dnech: smysluplná uložená aktivita.",
"achievement_self_active_7_title": "Osobní profil · 7 dnů",
"achievement_self_active_7_description": "Vykonejte tuto aktivitu v 7 různých dnech: smysluplná uložená aktivita.",
"achievement_self_active_14_title": "Osobní profil · 14 dnů",
"achievement_self_active_14_description": "Vykonejte tuto aktivitu v 14 různých dnech: smysluplná uložená aktivita.",
"achievement_self_active_30_title": "Osobní profil · 30 dnů",
"achievement_self_active_30_description": "Vykonejte tuto aktivitu v 30 různých dnech: smysluplná uložená aktivita.",
"achievement_self_active_60_title": "Osobní profil · 60 dnů",
"achievement_self_active_60_description": "Vykonejte tuto aktivitu v 60 různých dnech: smysluplná uložená aktivita.",
"achievement_self_active_100_title": "Osobní profil · 100 dnů",
"achievement_self_active_100_description": "Vykonejte tuto aktivitu v 100 různých dnech: smysluplná uložená aktivita.",
"achievement_self_active_180_title": "Osobní profil · 180 dnů",
"achievement_self_active_180_description": "Vykonejte tuto aktivitu v 180 různých dnech: smysluplná uložená aktivita.",
"achievement_self_active_365_title": "Osobní profil · 365 dnů",
"achievement_self_active_365_description": "Vykonejte tuto aktivitu v 365 různých dnech: smysluplná uložená aktivita.",
"achievement_self_return_14_title": "Osobní profil · 14 dnů přestávky",
"achievement_self_return_14_description": "Vraťte se po alespoň 14 celých dnech bez této aktivity: smysluplná uložená aktivita."
}
+22
View File
@@ -0,0 +1,22 @@
{
"achievement_self_active_1_title": "Persönliches Profil · 1 Tage",
"achievement_self_active_1_description": "Führe dies an 1 unterschiedlichen Tagen aus: eine sinnvolle gespeicherte Aktivität.",
"achievement_self_active_3_title": "Persönliches Profil · 3 Tage",
"achievement_self_active_3_description": "Führe dies an 3 unterschiedlichen Tagen aus: eine sinnvolle gespeicherte Aktivität.",
"achievement_self_active_7_title": "Persönliches Profil · 7 Tage",
"achievement_self_active_7_description": "Führe dies an 7 unterschiedlichen Tagen aus: eine sinnvolle gespeicherte Aktivität.",
"achievement_self_active_14_title": "Persönliches Profil · 14 Tage",
"achievement_self_active_14_description": "Führe dies an 14 unterschiedlichen Tagen aus: eine sinnvolle gespeicherte Aktivität.",
"achievement_self_active_30_title": "Persönliches Profil · 30 Tage",
"achievement_self_active_30_description": "Führe dies an 30 unterschiedlichen Tagen aus: eine sinnvolle gespeicherte Aktivität.",
"achievement_self_active_60_title": "Persönliches Profil · 60 Tage",
"achievement_self_active_60_description": "Führe dies an 60 unterschiedlichen Tagen aus: eine sinnvolle gespeicherte Aktivität.",
"achievement_self_active_100_title": "Persönliches Profil · 100 Tage",
"achievement_self_active_100_description": "Führe dies an 100 unterschiedlichen Tagen aus: eine sinnvolle gespeicherte Aktivität.",
"achievement_self_active_180_title": "Persönliches Profil · 180 Tage",
"achievement_self_active_180_description": "Führe dies an 180 unterschiedlichen Tagen aus: eine sinnvolle gespeicherte Aktivität.",
"achievement_self_active_365_title": "Persönliches Profil · 365 Tage",
"achievement_self_active_365_description": "Führe dies an 365 unterschiedlichen Tagen aus: eine sinnvolle gespeicherte Aktivität.",
"achievement_self_return_14_title": "Persönliches Profil · 14 Tage Pause",
"achievement_self_return_14_description": "Kehre nach mindestens 14 ganzen Tagen ohne diese Aktivität zurück: eine sinnvolle gespeicherte Aktivität."
}
+22
View File
@@ -0,0 +1,22 @@
{
"achievement_self_active_1_title": "A beginning",
"achievement_self_active_1_description": "Do this on 1 distinct dates: a meaningful saved activity.",
"achievement_self_active_3_title": "Three days for yourself",
"achievement_self_active_3_description": "Do this on 3 distinct dates: a meaningful saved activity.",
"achievement_self_active_7_title": "A week of moments",
"achievement_self_active_7_description": "Do this on 7 distinct dates: a meaningful saved activity.",
"achievement_self_active_14_title": "Fourteen moments",
"achievement_self_active_14_description": "Do this on 14 distinct dates: a meaningful saved activity.",
"achievement_self_active_30_title": "Thirty days for yourself",
"achievement_self_active_30_description": "Do this on 30 distinct dates: a meaningful saved activity.",
"achievement_self_active_60_title": "Sixty days of care",
"achievement_self_active_60_description": "Do this on 60 distinct dates: a meaningful saved activity.",
"achievement_self_active_100_title": "One hundred days",
"achievement_self_active_100_description": "Do this on 100 distinct dates: a meaningful saved activity.",
"achievement_self_active_180_title": "A growing history",
"achievement_self_active_180_description": "Do this on 180 distinct dates: a meaningful saved activity.",
"achievement_self_active_365_title": "A year of moments",
"achievement_self_active_365_description": "Do this on 365 distinct dates: a meaningful saved activity.",
"achievement_self_return_14_title": "Welcome back",
"achievement_self_return_14_description": "Return after at least 14 full days without this activity: a meaningful saved activity."
}
+22
View File
@@ -0,0 +1,22 @@
{
"achievement_self_active_1_title": "Perfil personal · 1 días",
"achievement_self_active_1_description": "Realiza esto en 1 fechas distintas: una actividad significativa guardada.",
"achievement_self_active_3_title": "Perfil personal · 3 días",
"achievement_self_active_3_description": "Realiza esto en 3 fechas distintas: una actividad significativa guardada.",
"achievement_self_active_7_title": "Perfil personal · 7 días",
"achievement_self_active_7_description": "Realiza esto en 7 fechas distintas: una actividad significativa guardada.",
"achievement_self_active_14_title": "Perfil personal · 14 días",
"achievement_self_active_14_description": "Realiza esto en 14 fechas distintas: una actividad significativa guardada.",
"achievement_self_active_30_title": "Perfil personal · 30 días",
"achievement_self_active_30_description": "Realiza esto en 30 fechas distintas: una actividad significativa guardada.",
"achievement_self_active_60_title": "Perfil personal · 60 días",
"achievement_self_active_60_description": "Realiza esto en 60 fechas distintas: una actividad significativa guardada.",
"achievement_self_active_100_title": "Perfil personal · 100 días",
"achievement_self_active_100_description": "Realiza esto en 100 fechas distintas: una actividad significativa guardada.",
"achievement_self_active_180_title": "Perfil personal · 180 días",
"achievement_self_active_180_description": "Realiza esto en 180 fechas distintas: una actividad significativa guardada.",
"achievement_self_active_365_title": "Perfil personal · 365 días",
"achievement_self_active_365_description": "Realiza esto en 365 fechas distintas: una actividad significativa guardada.",
"achievement_self_return_14_title": "Perfil personal · 14 días de pausa",
"achievement_self_return_14_description": "Vuelve después de al menos 14 días completos sin esta actividad: una actividad significativa guardada."
}
+22
View File
@@ -0,0 +1,22 @@
{
"achievement_self_active_1_title": "Profil personnel · 1 jours",
"achievement_self_active_1_description": "Faites ceci à 1 dates distinctes : une activité utile enregistrée.",
"achievement_self_active_3_title": "Profil personnel · 3 jours",
"achievement_self_active_3_description": "Faites ceci à 3 dates distinctes : une activité utile enregistrée.",
"achievement_self_active_7_title": "Profil personnel · 7 jours",
"achievement_self_active_7_description": "Faites ceci à 7 dates distinctes : une activité utile enregistrée.",
"achievement_self_active_14_title": "Profil personnel · 14 jours",
"achievement_self_active_14_description": "Faites ceci à 14 dates distinctes : une activité utile enregistrée.",
"achievement_self_active_30_title": "Profil personnel · 30 jours",
"achievement_self_active_30_description": "Faites ceci à 30 dates distinctes : une activité utile enregistrée.",
"achievement_self_active_60_title": "Profil personnel · 60 jours",
"achievement_self_active_60_description": "Faites ceci à 60 dates distinctes : une activité utile enregistrée.",
"achievement_self_active_100_title": "Profil personnel · 100 jours",
"achievement_self_active_100_description": "Faites ceci à 100 dates distinctes : une activité utile enregistrée.",
"achievement_self_active_180_title": "Profil personnel · 180 jours",
"achievement_self_active_180_description": "Faites ceci à 180 dates distinctes : une activité utile enregistrée.",
"achievement_self_active_365_title": "Profil personnel · 365 jours",
"achievement_self_active_365_description": "Faites ceci à 365 dates distinctes : une activité utile enregistrée.",
"achievement_self_return_14_title": "Profil personnel · 14 jours de pause",
"achievement_self_return_14_description": "Revenez après au moins 14 journées entières sans cette activité : une activité utile enregistrée."
}
+22
View File
@@ -0,0 +1,22 @@
{
"achievement_self_active_1_title": "自分のプロフィール · 1 日",
"achievement_self_active_1_description": "異なる1日で行う:意味のある保存済みの活動。",
"achievement_self_active_3_title": "自分のプロフィール · 3 日",
"achievement_self_active_3_description": "異なる3日で行う:意味のある保存済みの活動。",
"achievement_self_active_7_title": "自分のプロフィール · 7 日",
"achievement_self_active_7_description": "異なる7日で行う:意味のある保存済みの活動。",
"achievement_self_active_14_title": "自分のプロフィール · 14 日",
"achievement_self_active_14_description": "異なる14日で行う:意味のある保存済みの活動。",
"achievement_self_active_30_title": "自分のプロフィール · 30 日",
"achievement_self_active_30_description": "異なる30日で行う:意味のある保存済みの活動。",
"achievement_self_active_60_title": "自分のプロフィール · 60 日",
"achievement_self_active_60_description": "異なる60日で行う:意味のある保存済みの活動。",
"achievement_self_active_100_title": "自分のプロフィール · 100 日",
"achievement_self_active_100_description": "異なる100日で行う:意味のある保存済みの活動。",
"achievement_self_active_180_title": "自分のプロフィール · 180 日",
"achievement_self_active_180_description": "異なる180日で行う:意味のある保存済みの活動。",
"achievement_self_active_365_title": "自分のプロフィール · 365 日",
"achievement_self_active_365_description": "異なる365日で行う:意味のある保存済みの活動。",
"achievement_self_return_14_title": "自分のプロフィール · 14 日間の休止",
"achievement_self_return_14_description": "この活動をしない日が丸14日以上続いた後に再開する:意味のある保存済みの活動。"
}
+22
View File
@@ -0,0 +1,22 @@
{
"achievement_self_active_1_title": "내 프로필 · 1 일",
"achievement_self_active_1_description": "서로 다른 1일에 수행하세요: 의미 있는 저장된 활동.",
"achievement_self_active_3_title": "내 프로필 · 3 일",
"achievement_self_active_3_description": "서로 다른 3일에 수행하세요: 의미 있는 저장된 활동.",
"achievement_self_active_7_title": "내 프로필 · 7 일",
"achievement_self_active_7_description": "서로 다른 7일에 수행하세요: 의미 있는 저장된 활동.",
"achievement_self_active_14_title": "내 프로필 · 14 일",
"achievement_self_active_14_description": "서로 다른 14일에 수행하세요: 의미 있는 저장된 활동.",
"achievement_self_active_30_title": "내 프로필 · 30 일",
"achievement_self_active_30_description": "서로 다른 30일에 수행하세요: 의미 있는 저장된 활동.",
"achievement_self_active_60_title": "내 프로필 · 60 일",
"achievement_self_active_60_description": "서로 다른 60일에 수행하세요: 의미 있는 저장된 활동.",
"achievement_self_active_100_title": "내 프로필 · 100 일",
"achievement_self_active_100_description": "서로 다른 100일에 수행하세요: 의미 있는 저장된 활동.",
"achievement_self_active_180_title": "내 프로필 · 180 일",
"achievement_self_active_180_description": "서로 다른 180일에 수행하세요: 의미 있는 저장된 활동.",
"achievement_self_active_365_title": "내 프로필 · 365 일",
"achievement_self_active_365_description": "서로 다른 365일에 수행하세요: 의미 있는 저장된 활동.",
"achievement_self_return_14_title": "내 프로필 · 14 일의 휴식",
"achievement_self_return_14_description": "이 활동 없이 온전히 14일 이상 지난 뒤 돌아오세요: 의미 있는 저장된 활동."
}
Loaded 100 of 2541 files, more files were not shown because too many files have changed in this diff. Show more